/* ==========================================================================
   囧次元官网 · 纯净静态单页面核心视觉与移动端优先样式引擎
   ========================================================================== */

:root {
  --jiong-cyan: #0891b2;
  --jiong-cyan-hover: #0e7490;
  --jiong-cyan-light: #e0f2fe;
  --jiong-teal: #0d9488;
  --jiong-coral: #f97316;
  --jiong-coral-hover: #ea580c;
  --jiong-coral-light: #fff7ed;
  --jiong-ink: #0f172a;
  --jiong-slate: #334155;
  --jiong-muted: #64748b;
  --jiong-border: #e2e8f0;
  --jiong-card-bg: #ffffff;
  --jiong-bg-warm: #fffaf0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px rgba(8, 145, 178, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

*, *::before, *::after {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--jiong-ink);
  background-color: #f0f9ff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden !important;
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease, opacity 0.15s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select {
  font-family: inherit;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 顶部粘性导航条 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--jiong-cyan);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 900;
  color: var(--jiong-cyan);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-slogan {
  font-size: 11px;
  color: var(--jiong-muted);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-item {
  font-size: 14px;
  font-weight: 700;
  color: var(--jiong-slate);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-item:hover, .nav-item.active {
  color: var(--jiong-cyan);
  background: var(--jiong-cyan-light);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--jiong-coral), var(--jiong-coral-hover));
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
  flex-shrink: 0;
  min-height: 44px;
}

.header-cta-btn:hover {
  background: var(--jiong-coral-hover);
}

/* 焦点展示区 (Hero) */
.hero-section {
  padding: 28px 0 36px;
  background: linear-gradient(135deg, #e0f2fe 0%, #fff7ed 50%, #ccfbf1 100%);
  border-bottom: 2px solid var(--jiong-border);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
  }
}

.hero-chip {
  display: inline-block;
  background: var(--jiong-coral);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.hero-h1 {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--jiong-ink);
  margin-bottom: 12px;
  word-break: break-word;
}

@media (min-width: 768px) {
  .hero-h1 {
    font-size: 32px;
  }
}

.ac-time-factor-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
  background: rgba(8, 145, 178, 0.08);
  color: var(--jiong-cyan);
  border: 1px solid rgba(8, 145, 178, 0.2);
}

.hero-desc {
  font-size: 14px;
  color: var(--jiong-slate);
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  min-height: 44px;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--jiong-cyan), var(--jiong-teal));
  color: #fff;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
}

.btn-primary:hover {
  background: var(--jiong-cyan-hover);
}

.btn-outline {
  background: #fff;
  color: var(--jiong-coral);
  border: 2px solid var(--jiong-coral);
}

.btn-outline:hover {
  background: var(--jiong-coral-light);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--jiong-ink);
  border: 1px solid var(--jiong-border);
}

.btn-ghost:hover {
  background: #fff;
}

/* 夸克首屏 Q&A 样式 */
.ac-quark-qa {
  margin: 16px 0 0;
  padding: 12px 16px;
  background: #ffffff;
  border-left: 4px solid var(--jiong-teal);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.ac-quark-qa dt {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--jiong-teal);
  margin-bottom: 4px;
}

.ac-quark-qa dd {
  font-size: 12.5px;
  color: var(--jiong-slate);
  line-height: 1.6;
}

/* 首屏主图大卡 */
.hero-card-frame {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid #fff;
}

.hero-banner-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(249, 115, 22, 0.95);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
}

.hero-card-meta {
  padding: 16px;
}

.meta-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.meta-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--jiong-ink);
}

.meta-tag {
  font-size: 11px;
  color: var(--jiong-coral);
  background: var(--jiong-coral-light);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}

.meta-brief {
  font-size: 12.5px;
  color: var(--jiong-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.meta-link {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--jiong-cyan);
}

/* 通用板块结构 */
.section-wrap {
  padding: 32px 0;
}

.bg-white {
  background: #ffffff;
}

.bg-warm {
  background: #fffaf0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--jiong-border);
  padding-bottom: 10px;
}

.sec-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--jiong-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sec-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--jiong-cyan);
  border-radius: 2px;
}

.sec-subtitle {
  font-size: 12.5px;
  color: var(--jiong-muted);
  margin-top: 3px;
}

.sec-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--jiong-coral);
}

/* 分类卡片网格 */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 500px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.cat-card {
  background: #fff;
  border: 1.5px solid var(--jiong-border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 48px;
}

.cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--jiong-cyan);
  box-shadow: var(--shadow-md);
}

.cat-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: var(--jiong-cyan-light);
}

.cat-orange { background: #ffedd5; }
.cat-pink { background: #ffe4e6; }
.cat-teal { background: #ccfbf1; }
.cat-amber { background: #fef3c7; }
.cat-slate { background: #e2e8f0; }
.cat-yellow { background: #fef9c3; }
.cat-cyan { background: #e0f2fe; }
.cat-emerald { background: #d1fae5; }
.cat-green { background: #dcfce7; }
.cat-rose { background: #ffe4e6; }
.cat-brown { background: #fed7aa; }
.cat-purple { background: #f3e8ff; }

.cat-info {
  display: flex;
  flex-direction: column;
}

.cat-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--jiong-ink);
}

.cat-count {
  font-size: 11px;
  color: var(--jiong-muted);
}

/* 搜索大盘面板 */
.search-panel {
  background: var(--jiong-cyan-light);
  border: 2px solid var(--jiong-cyan);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .search-form {
    grid-template-columns: 2.5fr 1fr 1fr 1fr auto;
    align-items: flex-end;
  }
}

.search-label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--jiong-ink);
  margin-bottom: 4px;
}

.search-input, .search-select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--jiong-cyan);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 13.5px;
  outline: none;
}

.search-input:focus, .search-select:focus {
  border-color: var(--jiong-coral);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.btn-search {
  background: var(--jiong-cyan);
  color: #fff;
  height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

.btn-search:hover {
  background: var(--jiong-cyan-hover);
}

.search-feedback {
  margin-top: 12px;
  padding: 8px 12px;
  background: #fff;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--jiong-teal);
  border: 1px solid var(--jiong-teal);
}

.search-tags-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tags-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--jiong-slate);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-chip {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--jiong-border);
  color: var(--jiong-slate);
}

.tag-chip.active {
  background: var(--jiong-coral-light);
  border-color: var(--jiong-coral);
  color: var(--jiong-coral);
  font-weight: 700;
}

/* 热门推荐动漫海报网格 (标准位图 + 宽高) */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: stretch;
}

@media (min-width: 550px) {
  .poster-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 800px) {
  .poster-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1050px) {
  .poster-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.anime-card {
  background: #fff;
  border: 1.5px solid var(--jiong-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.anime-card:hover {
  transform: translateY(-3px);
  border-color: var(--jiong-cyan);
  box-shadow: var(--shadow-md);
}

.poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0f172a;
}

.anime-poster-img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.poster-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}

.poster-badge.hot { background: #ef4444; }
.poster-badge.new { background: var(--jiong-coral); }

.poster-score {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.75);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}

.anime-info {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  box-sizing: border-box;
}

.anime-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 4px 0;
}

.anime-meta {
  font-size: 11px;
  color: var(--jiong-muted);
  line-height: 1.45;
  height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 8px 0;
}

.anime-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  color: var(--jiong-slate);
  margin-top: auto;
  padding-top: 4px;
}

.badge-pill {
  background: var(--jiong-cyan-light);
  color: var(--jiong-cyan);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* 今日更新时刻表 */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 768px) {
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.schedule-card {
  background: #fff;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.sch-time {
  font-size: 18px;
  font-weight: 900;
  color: var(--jiong-coral);
  width: 54px;
  flex-shrink: 0;
  text-align: center;
}

.sch-detail {
  flex: 1;
  min-width: 0;
}

.sch-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--jiong-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sch-desc {
  font-size: 11.5px;
  color: var(--jiong-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sch-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--jiong-cyan-light);
  color: var(--jiong-cyan);
  flex-shrink: 0;
}

.sch-badge.hot { background: #fee2e2; color: #ef4444; }
.sch-badge.new { background: #ffedd5; color: var(--jiong-coral); }

.update-pulse-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--jiong-coral);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulseAnim 1.5s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* 排行榜专区 */
.rank-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 900px) {
  .rank-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rank-panel {
  background: #fff;
  border: 1.5px solid var(--jiong-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.rank-panel-head {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

.rank-red { background: linear-gradient(135deg, #f97316, #ef4444); }
.rank-teal { background: linear-gradient(135deg, #0d9488, #0891b2); }
.rank-cyan { background: linear-gradient(135deg, #0284c7, #38bdf8); }

.rank-h3 {
  font-size: 15px;
  font-weight: 800;
}

.rank-period {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
}

.rank-list {
  list-style: none;
  padding: 8px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-bottom: 1px dashed var(--jiong-border);
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-num {
  font-size: 15px;
  font-weight: 900;
  width: 22px;
  text-align: center;
  color: var(--jiong-muted);
}

.num-1 { color: #ef4444; }
.num-2 { color: #f97316; }
.num-3 { color: #f59e0b; }

.rank-thumb {
  width: 44px;
  height: 58px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.rank-detail {
  flex: 1;
  min-width: 0;
}

.rank-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--jiong-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.rank-info-text {
  font-size: 11px;
  color: var(--jiong-muted);
  margin-top: 2px;
  display: block;
}

.rank-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--jiong-muted);
}

.tag-hot { color: #ef4444; font-weight: 800; }
.tag-up { color: #10b981; font-weight: 800; }
.rank-score-val { color: #f59e0b; font-weight: 900; font-size: 13.5px; }
.rank-fav-count { color: var(--jiong-cyan); font-weight: 800; font-size: 12.5px; }

/* 表格横向平滑滚动容器 */
.table-responsive {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--jiong-border);
}

.bangumi-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 13px;
}

.bangumi-table th, .bangumi-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--jiong-border);
}

.bangumi-table th {
  background: var(--jiong-cyan-light);
  color: var(--jiong-ink);
  font-weight: 800;
  font-size: 13px;
}

.bangumi-table tr:last-child td {
  border-bottom: none;
}

.cat-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.pill-orange { background: #ffedd5; color: #ea580c; }
.pill-teal { background: #ccfbf1; color: #0d9488; }
.pill-cyan { background: #e0f2fe; color: #0284c7; }
.pill-pink { background: #ffe4e6; color: #e11d48; }
.pill-amber { background: #fef3c7; color: #d97706; }

.table-link {
  font-weight: 800;
  color: var(--jiong-cyan);
}

/* 官方客户端 CTA 下载区 */
.bg-gradient-cta {
  background: linear-gradient(135deg, #0891b2 0%, #0d9488 50%, #065f46 100%);
  color: #fff;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 850px) {
  .cta-inner {
    grid-template-columns: 1.4fr 0.6fr;
  }
}

.cta-badge {
  display: inline-block;
  background: var(--jiong-coral);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.cta-title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 10px;
}

.cta-desc {
  font-size: 13.5px;
  color: #e0f2fe;
  line-height: 1.6;
  margin-bottom: 20px;
}

.app-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.app-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: var(--radius-sm);
}

.feat-icon {
  font-size: 18px;
  line-height: 1;
}

.app-feat-item strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.app-feat-item p {
  font-size: 11px;
  color: #ccfbf1;
  margin: 0;
}

.cta-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-download-android {
  background: #ffffff;
  color: var(--jiong-cyan);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-download-android:hover {
  background: #f8fafc;
}

.btn-download-ios {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-download-ios:hover {
  background: rgba(255, 255, 255, 0.25);
}

.mockup-phone {
  display: flex;
  justify-content: center;
}

.phone-screen {
  width: 180px;
  height: 260px;
  background: #0f172a;
  border: 4px solid #fff;
  border-radius: 28px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
}

.phone-app-logo {
  border-radius: 16px;
  margin-bottom: 8px;
}

.phone-app-name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.phone-app-ver {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.phone-app-badge {
  margin-top: 14px;
  background: var(--jiong-coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

/* 8维权威实体档案表与排错 */
.ac-authority-section {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 24px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--jiong-cyan);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .ac-authority-section {
    padding: 16px 12px;
  }
}

.ac-auth-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1.5px solid var(--jiong-border);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.ac-auth-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--jiong-ink);
}

.ac-auth-rating {
  font-size: 13.5px;
  color: var(--jiong-coral);
  font-weight: 700;
}

.ac-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .ac-specs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ac-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid var(--jiong-border);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
}

.ac-spec-k {
  color: var(--jiong-muted);
}

.ac-spec-v {
  font-weight: 700;
  color: var(--jiong-ink);
}

.ac-changelog-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.ac-changelog-title {
  font-size: 14px;
  font-weight: 800;
  color: #166534;
  margin-bottom: 8px;
}

.ac-changelog-list {
  padding-left: 18px;
  font-size: 12.5px;
  color: #1e293b;
  line-height: 1.8;
}

.ac-trouble-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--jiong-ink);
  margin-bottom: 10px;
}

.ac-trouble-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .ac-trouble-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ac-trouble-card {
  background: #f8fafc;
  border: 1px solid var(--jiong-border);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.ac-trouble-brand {
  font-size: 13px;
  font-weight: 800;
  color: var(--jiong-ink);
  margin-bottom: 4px;
}

.ac-trouble-desc {
  font-size: 11.5px;
  color: var(--jiong-slate);
  line-height: 1.5;
}

.ac-safety-cert-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--jiong-teal);
  padding-top: 12px;
  border-top: 1px solid var(--jiong-border);
}

/* 社区卡片 */
.community-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .community-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.comm-card {
  background: #fff;
  border: 1.5px solid var(--jiong-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.comm-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--jiong-cyan);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.user-meta {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--jiong-ink);
}

.comm-time {
  font-size: 11px;
  color: var(--jiong-muted);
}

.comm-text {
  font-size: 12.5px;
  color: var(--jiong-slate);
  line-height: 1.6;
  margin-bottom: 12px;
}

.comm-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--jiong-muted);
  font-weight: 600;
}

/* FAQ 列表 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #f8fafc;
  border: 1.5px solid var(--jiong-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.faq-q {
  font-size: 14px;
  font-weight: 800;
  color: var(--jiong-cyan);
  cursor: pointer;
  outline: none;
}

.faq-a {
  font-size: 12.5px;
  color: var(--jiong-slate);
  margin-top: 8px;
  line-height: 1.6;
}

/* 关于我们说明卡 */
.about-card {
  background: #fff;
  border: 1.5px solid var(--jiong-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.about-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--jiong-ink);
  margin-bottom: 10px;
}

.about-text {
  font-size: 12.5px;
  color: var(--jiong-slate);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* 6 站跨站轮链矩阵 (自免防死链) */
.ac-matrix-nav {
  background: #e2e8f0;
  padding: 12px 0;
  border-top: 1px solid #cbd5e1;
}

.matrix-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ac-matrix-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--jiong-ink);
}

.ac-matrix-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ac-matrix-item {
  font-size: 12px;
  color: var(--jiong-cyan);
  background: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-weight: 600;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}

.ac-matrix-active {
  background: var(--jiong-cyan);
  color: #fff;
  border-color: var(--jiong-cyan);
}

/* 页脚 */
.site-footer {
  background: var(--jiong-ink);
  color: #94a3b8;
  padding: 24px 0 16px;
  border-top: 3px solid var(--jiong-coral);
  font-size: 12px;
}

.footer-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  border-radius: 6px;
}

.footer-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.footer-icp a {
  color: #cbd5e1;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 6px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #fff;
}

/* 冰桶算法 5.0 合规吸底微浮窗 (高度 50px <= 52px，带关闭按钮) */
.ac-mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  height: 50px;
  max-height: 52px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid #fed7aa;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  padding: 0 14px env(safe-area-inset-bottom, 0px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ac-dock-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ac-dock-logo {
  border-radius: 6px;
}

.ac-dock-info {
  display: flex;
  flex-direction: column;
}

.ac-dock-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--jiong-ink);
  line-height: 1.2;
}

.ac-dock-sub {
  font-size: 10px;
  color: var(--jiong-muted);
}

.ac-dock-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ac-dock-btn {
  height: 32px;
  padding: 0 12px;
  background: linear-gradient(135deg, var(--jiong-coral), var(--jiong-coral-hover));
  color: #fff;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ac-dock-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--jiong-border);
  background: #f1f5f9;
  color: var(--jiong-muted);
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .ac-mobile-dock {
    display: none;
  }
}


/* === 极速 0.3s 渲染优化：视口外区块跳过初次排版绘制 === */
.ac-authority-section,
.sec-section:not(#jiong-featured),
.faq-section,
.community-section,
.bangumi-section,
.rank-section,
.footer-wrap {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}


/* === 全局字体高清渲染与抗锯齿增强规范 === */
html, body {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}
