:root {
  --primary: #64748b;
  --accent: #94a3b8;
  --bg: #f1f5f9;
  --text: #1e293b;
  --card-bg: #ffffff;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 50px;
  --shadow-sm: 0 2px 12px rgba(100, 116, 139, 0.08);
  --shadow-md: 0 4px 20px rgba(100, 116, 139, 0.12);
  --shadow-lg: 0 8px 32px rgba(100, 116, 139, 0.16);
  --font-title: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
  --font-body: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== 滚动进度条 ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent), #cbd5e1);
  border-radius: 0 3px 3px 0;
  transition: width 0.1s linear;
}

/* ===== 几何装饰背景 ===== */
.deco-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.deco-shape {
  position: absolute;
  opacity: 0.18;
  animation: floatShape 8s ease-in-out infinite alternate;
}
.deco-circle {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--accent);
  top: 15%; left: -60px;
}
.deco-square {
  width: 140px; height: 140px;
  border-radius: 24px;
  background: var(--primary);
  bottom: 20%; right: -40px;
  animation-delay: 2s;
}
.deco-triangle {
  width: 0; height: 0;
  border-left: 90px solid transparent;
  border-right: 90px solid transparent;
  border-bottom: 150px solid var(--accent);
  top: 60%; left: 10%;
  transform: rotate(15deg);
  animation-delay: 4s;
}
.deco-dot {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--primary);
  top: 8%; right: 20%;
  opacity: 0.1;
  animation-delay: 3s;
}
@keyframes floatShape {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-30px) rotate(10deg); }
}

/* ===== 顶部导航 ===== */
.navbar-custom {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(100,116,139,0.08);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand-custom {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text) !important;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-brand-custom i {
  color: var(--primary);
  font-size: 1.8rem;
}
.nav-link-custom {
  color: var(--text) !important;
  font-weight: 500;
  margin: 0 10px;
  padding: 6px 16px !important;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  font-size: 0.95rem;
}
.nav-link-custom:hover {
  background: rgba(100,116,139,0.12);
  color: var(--primary) !important;
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* ===== Hero 区 ===== */
.hero-section {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -20% 0;
  background: linear-gradient(135deg, #e2e8f0 0%, var(--bg) 40%, #f8fafc 100%);
  z-index: -1;
  transform: translateY(0);
  will-change: transform;
}
.hero-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: 2px;
}
.hero-title span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}
.hero-title span::after {
  content: '';
  position: absolute;
  left: 0; bottom: 8px;
  width: 100%; height: 8px;
  background: rgba(100,116,139,0.2);
  border-radius: 4px;
  z-index: -1;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: #64748b;
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: 400;
}

/* 关键词标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  max-width: 700px;
}
.tag-pill {
  padding: 8px 22px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(100,116,139,0.15);
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  cursor: default;
  transition: all 0.3s ease;
  animation: tagFloat 3s ease-in-out infinite alternate;
}
.tag-pill:nth-child(odd) { animation-delay: 0.5s; }
.tag-pill:nth-child(3n) { animation-delay: 1s; }
@keyframes tagFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}
.tag-pill i {
  color: var(--primary);
  margin-right: 6px;
  font-size: 0.8rem;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-custom {
  padding: 14px 36px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}
.btn-custom::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left 0.5s ease;
  z-index: 2;
}
.btn-custom:hover::before {
  left: 100%;
}
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
}
.btn-primary-custom:hover {
  background: #55647a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(100,116,139,0.3);
}
.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== 侧栏布局 ===== */
.main-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 60px 0 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  padding: 24px;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(100,116,139,0.08);
  backdrop-filter: blur(10px);
}
.sidebar-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(100,116,139,0.15);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-title i {
  color: var(--primary);
}
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-links a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}
.sidebar-links a:hover {
  background: rgba(100,116,139,0.08);
  border-left-color: var(--primary);
  color: var(--primary);
}
.sidebar-links a.active {
  background: rgba(100,116,139,0.1);
  border-left-color: var(--primary);
  color: var(--primary);
}

/* ===== 瀑布流卡片 ===== */
.waterfall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  align-items: start;
}
.card-manga {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  border: 1px solid rgba(100,116,139,0.05);
  position: relative;
}
.card-manga:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-manga__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  position: relative;
  overflow: hidden;
}
.card-manga__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,41,59,0.4) 0%, transparent 50%);
}
.card-manga__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
}
.card-manga__info {
  padding: 16px;
}
.card-manga__title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-manga__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--accent);
}
.card-manga__meta i {
  margin-right: 4px;
  color: var(--primary);
}
.card-manga__rating {
  background: rgba(100,116,139,0.1);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  color: var(--primary);
}

/* ===== 对比表格 ===== */
.comparison-section {
  padding: 80px 0;
}
.section-title-wrap {
  margin-bottom: 48px;
}
.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.section-desc {
  color: #64748b;
  margin-top: 12px;
  max-width: 600px;
}
.comparison-table {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(100,116,139,0.06);
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table th,
.comparison-table td {
  padding: 20px 28px;
  text-align: center;
  border-bottom: 1px solid rgba(100,116,139,0.08);
}
.comparison-table th {
  background: rgba(100,116,139,0.06);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.comparison-table td {
  color: #64748b;
  font-size: 0.9rem;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table .highlight-col {
  background: rgba(100,116,139,0.04);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  color: var(--text) !important;
  font-weight: 500;
}
.comparison-check {
  color: var(--primary);
  font-size: 1.2rem;
}
.comparison-cross {
  color: #cbd5e1;
  font-size: 1.2rem;
}

/* ===== 特色卡片 ===== */
.features-section {
  padding: 80px 0;
}
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  height: 100%;
  border: 1px solid rgba(100,116,139,0.04);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 0 0 0 100%;
  background: rgba(100,116,139,0.04);
  transition: all 0.4s ease;
}
.feature-card:hover::after {
  transform: scale(1.6);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(100,116,139,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--primary);
}
.feature-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

/* ===== 介绍/步骤条 ===== */
.intro-section {
  padding: 80px 0;
  background: rgba(255,255,255,0.4);
}
.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.step-item {
  text-align: center;
  position: relative;
  padding: 0 20px;
}
.step-item:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -20px; top: 40px;
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.4;
}
.step-number {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(100,116,139,0.25);
  position: relative;
  z-index: 2;
}
.step-item:nth-child(even) .step-number {
  background: var(--accent);
}
.step-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 80px 0;
}
.accordion-custom .accordion-item {
  background: var(--card-bg);
  border-radius: 16px !important;
  margin-bottom: 16px;
  border: 1px solid rgba(100,116,139,0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.accordion-custom .accordion-button {
  background: var(--card-bg);
  color: var(--text);
  font-weight: 600;
  padding: 20px 24px;
  font-size: 1rem;
  box-shadow: none !important;
  border-radius: 16px !important;
  transition: all 0.3s ease;
}
.accordion-custom .accordion-button:not(.collapsed) {
  background: rgba(100,116,139,0.04);
  color: var(--primary);
}
.accordion-custom .accordion-button::after {
  color: var(--primary);
}
.accordion-custom .accordion-body {
  padding: 0 24px 24px;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(100,116,139,0.04) 0%, rgba(148,163,184,0.08) 100%);
  border-radius: 0;
  position: relative;
}
.cta-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}
.cta-desc {
  color: #64748b;
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ===== 友情链接 ===== */
.friend-links {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(100,116,139,0.08);
  margin-top: 40px;
  background: rgba(255,255,255,0.3);
}
.friend-links-title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.friend-links-title i {
  color: var(--primary);
}
.friend-links-content {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 2;
}

/* ===== 页脚 ===== */
.footer-custom {
  background: rgba(30,41,59,0.95);
  color: #cbd5e1;
  padding: 40px 0 24px;
  font-size: 0.85rem;
}
.footer-brand {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand i {
  color: var(--accent);
}
.footer-links {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0;
  margin: 16px 0;
}
.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  margin-top: 24px;
  text-align: center;
  color: #94a3b8;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .main-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sidebar {
    position: static;
    width: 100%;
  }
  .sidebar-links {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-links a {
    border-left: none;
    border-bottom: 2px solid transparent;
  }
  .sidebar-links a:hover {
    border-left: none;
    border-bottom-color: var(--primary);
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .step-item::after {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 60px 0 50px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .waterfall-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .card-manga__info {
    padding: 12px;
  }
  .btn-custom {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 14px 12px;
    font-size: 0.75rem;
  }
}

/* --- 子页面追加 --- */
.about-hero {
      position: relative;
      padding: 100px 0 60px;
      background: var(--bg);
      overflow: hidden;
    }
.about-hero .container {
      position: relative;
      z-index: 2;
    }
.about-hero h1 {
      font-family: var(--font-title);
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 16px;
      line-height: 1.3;
    }
.about-hero .lead {
      font-size: 1.15rem;
      color: #64748b;
      max-width: 720px;
      line-height: 1.8;
    }
.about-section {
      padding: 70px 0;
    }
.about-section.alt {
      background: #fff;
    }
.about-section h2 {
      font-family: var(--font-title);
      font-size: 2rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 24px;
      position: relative;
      padding-bottom: 12px;
    }
.about-section h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 48px;
      height: 3px;
      background: var(--primary);
      border-radius: 3px;
    }
.about-section p {
      color: #475569;
      line-height: 1.9;
      margin-bottom: 16px;
      font-size: 1rem;
    }
.feature-card-custom {
      background: var(--card-bg);
      border-radius: var(--radius-md);
      padding: 28px 24px;
      box-shadow: var(--shadow-sm);
      transition: transform 0.3s, box-shadow 0.3s;
      height: 100%;
      border: 1px solid #e2e8f0;
    }
.feature-card-custom:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
.feature-card-custom .icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 16px;
      color: #fff;
    }
.feature-card-custom h3 {
      font-size: 1.15rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 10px;
    }
.feature-card-custom p {
      font-size: 0.9rem;
      color: #64748b;
      line-height: 1.7;
      margin-bottom: 0;
    }
.about-hero .deco-circle {
      position: absolute;
      width: 260px;
      height: 260px;
      border-radius: 50%;
      background: linear-gradient(135deg, rgba(100,116,139,0.12), rgba(148,163,184,0.08));
      top: -80px;
      right: -60px;
      z-index: 1;
    }
.about-hero .deco-square {
      position: absolute;
      width: 120px;
      height: 120px;
      border-radius: 24px;
      background: rgba(100,116,139,0.06);
      bottom: 40px;
      left: 40px;
      transform: rotate(15deg);
      z-index: 1;
    }
.about-hero .deco-dot {
      position: absolute;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--accent);
      top: 120px;
      left: 25%;
      opacity: 0.4;
      z-index: 1;
    }
.about-hero .deco-dot2 {
      position: absolute;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--primary);
      bottom: 80px;
      right: 20%;
      opacity: 0.3;
      z-index: 1;
    }
.about-hero .deco-triangle {
      position: absolute;
      width: 0;
      height: 0;
      border-left: 50px solid transparent;
      border-right: 50px solid transparent;
      border-bottom: 86px solid rgba(100,116,139,0.08);
      bottom: 60px;
      right: 15%;
      transform: rotate(20deg);
      z-index: 1;
    }
.timeline-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
.timeline-list li {
      position: relative;
      padding: 0 0 32px 32px;
      border-left: 2px solid #cbd5e1;
      margin-left: 8px;
    }
.timeline-list li:last-child {
      border-left-color: transparent;
      padding-bottom: 0;
    }
.timeline-list li::before {
      content: '';
      position: absolute;
      left: -8px;
      top: 2px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--primary);
      border: 3px solid #fff;
      box-shadow: 0 0 0 2px var(--primary);
    }
.timeline-list .year {
      font-weight: 700;
      color: var(--primary);
      font-size: 0.95rem;
      margin-bottom: 4px;
    }
.timeline-list .desc {
      color: #475569;
      line-height: 1.7;
      font-size: 0.95rem;
    }
.value-list {
      padding: 0;
      list-style: none;
      margin: 0;
    }
.value-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px dashed #e2e8f0;
      color: #475569;
      line-height: 1.7;
      font-size: 0.98rem;
    }
.value-list li:last-child {
      border-bottom: none;
    }
.value-list li i {
      color: var(--primary);
      margin-top: 5px;
      font-size: 0.9rem;
    }
.about-stat {
      text-align: center;
      padding: 24px 16px;
      background: var(--card-bg);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
      border: 1px solid #e2e8f0;
    }
.about-stat .number {
      font-family: var(--font-title);
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 4px;
    }
.about-stat .label {
      color: #64748b;
      font-size: 0.9rem;
    }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 的 nav-toggler 颜色，避免白块 */
    .navbar-toggler {
      border-color: var(--primary);
    }
.navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(100, 116, 139, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
/* 确保卡片风格统一（如果用到 .card 则覆盖，这里我们几乎不用，但保险） */
    .card, .card-body {
      background: var(--card-bg);
      color: var(--text);
      border-color: var(--primary);
    }
/* 自定义小标题图标对齐 */
    .disclaimer-section h2 i {
      color: var(--primary);
      margin-right: 8px;
    }
.disclaimer-section h2 {
      font-family: var(--font-title);
      font-weight: 700;
      letter-spacing: 0.02em;
    }
.disclaimer-section p, .disclaimer-section li {
      font-family: var(--font-body);
      color: var(--text);
      line-height: 1.8;
    }
.disclaimer-section a {
      color: var(--primary);
      font-weight: 500;
      text-decoration: underline;
      text-underline-offset: 2px;
    }
.disclaimer-section a:hover {
      color: var(--accent);
    }

/* --- 子页面追加 --- */
/* 排行榜页面专属样式 */
        .rank-hero {
            background: linear-gradient(135deg, rgba(100,116,139,0.1) 0%, rgba(148,163,184,0.05) 50%, rgba(241,245,249,0) 100%);
            padding: 80px 0 60px;
            position: relative;
            overflow: hidden;
        }
.rank-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(100,116,139,0.08) 0%, transparent 70%);
        }
.rank-section {
            padding: 60px 0;
        }
.rank-card {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            padding: 32px;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
        }
.rank-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
.rank-tabs {
            display: flex;
            gap: 12px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }
.rank-tab {
            padding: 10px 24px;
            border-radius: var(--radius-full);
            background: rgba(100,116,139,0.08);
            color: var(--text);
            font-weight: 500;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            font-size: 15px;
        }
.rank-tab:hover {
            background: rgba(100,116,139,0.15);
            transform: translateY(-2px);
        }
.rank-tab.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            box-shadow: var(--shadow-sm);
        }
.rank-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.rank-item {
            display: flex;
            align-items: center;
            padding: 20px 24px;
            border-radius: var(--radius-md);
            margin-bottom: 12px;
            background: rgba(241,245,249,0.5);
            border: 1px solid rgba(100,116,139,0.1);
            transition: all 0.3s ease;
            position: relative;
        }
.rank-item:hover {
            background: var(--card-bg);
            box-shadow: var(--shadow-sm);
            transform: translateX(4px);
        }
.rank-number {
            width: 48px;
            height: 48px;
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 20px;
            background: rgba(100,116,139,0.1);
            color: var(--primary);
            margin-right: 20px;
            flex-shrink: 0;
            font-family: var(--font-title);
        }
.rank-item:nth-child(1) .rank-number {
            background: linear-gradient(135deg, #f59e0b, #fbbf24);
            color: #fff;
            box-shadow: 0 4px 12px rgba(245,158,11,0.3);
        }
.rank-item:nth-child(2) .rank-number {
            background: linear-gradient(135deg, #94a3b8, #cbd5e1);
            color: #fff;
            box-shadow: 0 4px 12px rgba(148,163,184,0.3);
        }
.rank-item:nth-child(3) .rank-number {
            background: linear-gradient(135deg, #d97706, #f59e0b);
            color: #fff;
            box-shadow: 0 4px 12px rgba(217,119,6,0.3);
        }
.rank-info {
            flex: 1;
            min-width: 0;
        }
.rank-title {
            font-family: var(--font-title);
            font-weight: 700;
            font-size: 18px;
            color: var(--text);
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.rank-meta {
            font-size: 14px;
            color: var(--accent);
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }
.rank-meta span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
.rank-meta i {
            font-size: 12px;
            color: var(--primary);
        }
.rank-score {
            font-weight: 700;
            color: var(--primary);
            font-size: 20px;
            margin-left: 20px;
            flex-shrink: 0;
            font-family: var(--font-title);
        }
.rank-tag {
            display: inline-block;
            padding: 4px 12px;
            border-radius: var(--radius-full);
            font-size: 12px;
            font-weight: 500;
            background: rgba(100,116,139,0.1);
            color: var(--primary);
            margin-right: 8px;
        }
.rank-tag.hot {
            background: rgba(239,68,68,0.1);
            color: #ef4444;
        }
.rank-tag.new {
            background: rgba(16,185,129,0.1);
            color: #10b981;
        }
.rank-tag.up {
            background: rgba(59,130,246,0.1);
            color: #3b82f6;
        }
.rank-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 12px;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: var(--radius-full);
            background: rgba(239,68,68,0.1);
            color: #ef4444;
        }
.rank-badge i {
            font-size: 10px;
        }
.editor-pick {
            background: linear-gradient(135deg, rgba(100,116,139,0.05) 0%, rgba(148,163,184,0.1) 100%);
            border-radius: var(--radius-lg);
            padding: 32px;
            margin-top: 60px;
            border: 1px solid rgba(100,116,139,0.1);
        }
.editor-pick-title {
            font-family: var(--font-title);
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.editor-pick-title i {
            color: var(--primary);
        }
.trending-up {
            color: #10b981;
            font-size: 13px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
.trending-down {
            color: #ef4444;
            font-size: 13px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
.rank-section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 32px;
            flex-wrap: wrap;
            gap: 16px;
        }
.rank-section-title {
            font-family: var(--font-title);
            font-size: 28px;
            font-weight: 900;
            color: var(--text);
            position: relative;
            padding-left: 20px;
        }
.rank-section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 24px;
            border-radius: 4px;
            background: var(--primary);
        }
.rank-update-info {
            font-size: 14px;
            color: var(--accent);
            display: flex;
            align-items: center;
            gap: 8px;
        }
.rank-update-info i {
            color: var(--primary);
        }
.pagination-wrap {
            display: flex;
            justify-content: center;
            margin-top: 40px;
            gap: 8px;
        }
.pagination-btn {
            width: 40px;
            height: 40px;
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(100,116,139,0.08);
            color: var(--text);
            font-weight: 500;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }
.pagination-btn:hover {
            background: rgba(100,116,139,0.2);
            transform: translateY(-2px);
        }
.pagination-btn.active {
            background: var(--primary);
            color: #fff;
        }
.rank-hero {
                padding: 60px 0 40px;
            }
.rank-card {
                padding: 20px;
            }
.rank-item {
                padding: 16px;
                flex-wrap: wrap;
            }
.rank-number {
                width: 40px;
                height: 40px;
                font-size: 16px;
                margin-right: 14px;
            }
.rank-score {
                margin-left: 0;
                margin-top: 8px;
                width: 100%;
                padding-left: 54px;
            }
.rank-title {
                font-size: 16px;
            }
.rank-meta {
                font-size: 12px;
                gap: 8px;
            }
.rank-section-title {
                font-size: 22px;
            }
.rank-tabs {
                gap: 8px;
            }
.rank-tab {
                padding: 8px 16px;
                font-size: 13px;
            }
.editor-pick {
                padding: 20px;
            }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-header { background:transparent !important; }
