:root {
  --primary: #b45309;
  --accent: #ca8a04;
  --bg: #fefce8;
  --text: #451a03;
  --light-accent: #fef3c7;
  --white: #ffffff;
  --shadow-soft: 0 8px 30px rgba(180, 83, 9, 0.08);
  --shadow-hover: 0 16px 40px rgba(180, 83, 9, 0.15);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Trebuchet MS', 'Comic Sans MS', 'Segoe Script', cursive;
  font-weight: 700;
  letter-spacing: 0.5px;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* 自定义导航栏 */
.navbar-custom {
  background-color: rgba(254, 252, 232, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(180, 83, 9, 0.1);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}
.navbar-brand {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary) !important;
  font-family: 'Trebuchet MS', cursive;
  letter-spacing: 2px;
}
.navbar-brand i { color: var(--accent); margin-right: 8px; }
.nav-link {
  color: var(--text) !important;
  font-weight: 500;
  margin: 0 12px;
  position: relative;
  font-size: 1rem;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.3s;
}
.nav-link:hover::after { width: 70%; }
.navbar-toggler { border: 2px solid var(--primary); }

/* Hero 区域 */
.hero-section {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
  position: relative;
}
.hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 20px;
  min-height: 4.5rem;
  display: inline-block;
}
.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text);
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.8;
}
.hero-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
}
.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* 时间线 */
.timeline-section {
  padding: 80px 0;
}
.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 4px;
  margin: 15px auto 0;
}
.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 3px;
}
.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 50%;
  padding: 0 40px;
}
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}
.timeline-dot {
  position: absolute;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--primary);
}
.timeline-item:nth-child(odd) .timeline-dot { right: -8px; }
.timeline-item:nth-child(even) .timeline-dot { left: -8px; }
.timeline-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s, border-color 0.3s;
  border: 2px solid transparent;
}
.timeline-card:hover {
  transform: scale(1.02);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}
.timeline-card h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.timeline-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.7;
}

/* 长文介绍 */
.intro-section {
  padding: 80px 0;
  background: var(--white);
}
.intro-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text);
  opacity: 0.9;
}
.intro-text strong {
  color: var(--primary);
  font-weight: 700;
}

/* 对比表格 */
.compare-section {
  padding: 80px 0;
}
.table-custom {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--white);
  border: none;
}
.table-custom thead {
  background: var(--primary);
  color: #fff;
}
.table-custom thead th {
  padding: 18px;
  font-size: 1.1rem;
  border: none;
  font-family: 'Trebuchet MS', cursive;
}
.table-custom tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--light-accent);
  font-size: 0.95rem;
  vertical-align: middle;
}
.table-custom tbody tr:last-child td { border-bottom: none; }
.table-custom tbody tr:hover td { background: var(--bg); }
.badge-feature {
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* 手风琴折叠 */
.faq-section {
  padding: 80px 0;
  background: var(--white);
}
.accordion-custom {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.accordion-item {
  background: var(--bg);
  border: none;
  border-bottom: 2px solid var(--light-accent);
}
.accordion-item:last-child { border-bottom: none; }
.accordion-button {
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
  padding: 20px 25px;
  font-size: 1.05rem;
  border: none;
}
.accordion-button:not(.collapsed) {
  background: var(--bg);
  color: var(--primary);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
  border: none;
}
.accordion-body {
  padding: 0 25px 20px;
  color: var(--text);
  opacity: 0.85;
  line-height: 1.8;
}

/* 特色图标列表 */
.features-section {
  padding: 80px 0;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
  border: 2px solid transparent;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}
.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}
.feature-card h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
}

/* CTA 区域 */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  text-align: center;
  color: #fff;
}
.cta-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.cta-subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 30px;
}
.cta-button {
  background: #fff;
  color: var(--primary);
  border: none;
  padding: 16px 50px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: all 0.3s;
}
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* 友情链接 */
.friend-links {
  padding: 50px 0;
  background: var(--bg);
  text-align: center;
  border-top: 1px solid var(--light-accent);
}
.friend-links h5 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}
.friend-links a {
  color: var(--text);
  opacity: 0.8;
  margin: 0 10px;
  font-size: 0.9rem;
}
.friend-links a:hover {
  color: var(--primary);
  opacity: 1;
}

/* 页脚 */
.footer-custom {
  background: var(--text);
  color: #fff;
  padding: 30px 0;
  text-align: center;
}
.footer-custom p {
  margin-bottom: 5px;
  opacity: 0.8;
  font-size: 0.9rem;
}
.footer-custom a {
  color: var(--accent);
}

/* 回到顶部 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s;
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* 图片懒加载 */
.lazy-image {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.lazy-image.loaded {
  opacity: 1;
}

/* 打字机光标 */
.typewriter-cursor {
  display: inline-block;
  width: 4px;
  height: 1em;
  background: var(--primary);
  margin-left: 4px;
  animation: blink 0.8s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .timeline-wrapper::before { left: 20px; }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 60px;
    padding-right: 20px;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 12px;
    right: auto;
  }
  .section-title { font-size: 2rem; }
  .cta-title { font-size: 2rem; }
}

/* --- 子页面追加 --- */
/* 确保品牌名连续 */
    .navbar-brand, .footer-brand {
      white-space: nowrap;
    }
/* 注册表单覆盖bootstrap默认白底 */
    .register-card, .form-control, .form-select {
      background: var(--light-accent);
      color: var(--text);
      border-color: rgba(180, 83, 9, 0.25);
    }
.register-card {
      background: var(--white);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-soft);
      transition: box-shadow 0.3s ease;
    }
.register-card:hover {
      box-shadow: var(--shadow-hover);
    }
.form-control:focus, .form-select:focus {
      background: var(--white);
      color: var(--text);
      border-color: var(--primary);
      box-shadow: 0 0 0 0.2rem rgba(180, 83, 9, 0.15);
    }
.form-label {
      color: var(--text);
      font-weight: 600;
    }
.btn-register {
      background: var(--primary);
      border: none;
      color: #fff;
      font-weight: 700;
      border-radius: 50px;
      padding: 12px 30px;
      transition: all 0.3s;
    }
.btn-register:hover {
      background: var(--accent);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(202, 138, 4, 0.3);
    }
.register-note {
      color: var(--text);
      opacity: 0.75;
    }
.benefit-icon {
      color: var(--primary);
      font-size: 1.6rem;
    }
.list-unstyled li {
      margin-bottom: 10px;
    }
/* 小标题都带上品牌名 */
    .section-title-sm {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--text);
      position: relative;
      padding-bottom: 0.5rem;
    }
.section-title-sm::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 50px;
      height: 3px;
      background: var(--primary);
      border-radius: 3px;
    }
.bg-soft {
      background: var(--light-accent);
    }
.link-custom {
      color: var(--primary);
      font-weight: 600;
      text-decoration: none;
    }
.link-custom:hover {
      color: var(--accent);
    }
.faq-block {
      background: var(--light-accent);
      border-radius: var(--radius-md);
      padding: 1.5rem;
    }

/* --- 子页面追加 --- */
/* 页面专属小样式 */
        .about-hero {
            background: linear-gradient(135deg, rgba(180,83,9,0.08) 0%, rgba(254,252,232,1) 100%);
            padding: 80px 0 60px;
            border-bottom: 1px solid rgba(180,83,9,0.1);
        }
.about-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 24px;
            margin: 40px 0;
        }
.stat-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 24px;
            text-align: center;
            box-shadow: var(--shadow-soft);
            transition: all 0.3s ease;
        }
.stat-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
.stat-number {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 8px;
        }
.stat-label {
            color: var(--text);
            font-size: 0.95rem;
            opacity: 0.8;
        }
.values-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin: 32px 0;
        }
.value-item {
            background: var(--light-accent);
            border-radius: var(--radius-md);
            padding: 24px;
            border-left: 4px solid var(--primary);
            transition: all 0.3s ease;
        }
.value-item:hover {
            background: var(--white);
            box-shadow: var(--shadow-soft);
            transform: translateX(4px);
        }
.value-item h4 {
            color: var(--primary);
            margin-bottom: 12px;
            font-weight: 700;
        }
.value-item p {
            margin: 0;
            font-size: 0.95rem;
            line-height: 1.7;
        }
.about-feature-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 24px;
            box-shadow: var(--shadow-soft);
            transition: all 0.3s ease;
            height: 100%;
        }
.about-feature-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
.about-feature-card .icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 16px;
        }
.about-feature-card h4 {
            color: var(--text);
            font-weight: 700;
            margin-bottom: 12px;
        }
.about-feature-card p {
            color: var(--text);
            opacity: 0.8;
            font-size: 0.95rem;
            line-height: 1.7;
            margin: 0;
        }
.nav-link.active {
            color: var(--primary);
            font-weight: 700;
        }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件配色，确保与首页深暖色调一致 */
    .card, .card-body, .card-header, .card-footer {
      background: var(--white);
      color: var(--text);
      border-color: rgba(180, 83, 9, 0.2);
    }
.card-title, .card-text { color: var(--text); }
.list-group-item {
      background: var(--white);
      color: var(--text);
      border-color: rgba(180, 83, 9, 0.15);
    }
.accordion-item, .accordion-button, .accordion-body {
      background: var(--white);
      color: var(--text);
      border-color: rgba(180, 83, 9, 0.2);
    }
.form-control::placeholder { color: rgba(69, 26, 3, 0.5); }
.nav-link, .navbar-brand, .navbar { color: var(--text); }
/* 页面专属微调 */
    .disclaimer-hero {
      background: var(--light-accent);
      border-radius: var(--radius-lg);
      padding: 3rem 2rem;
      margin-bottom: 3rem;
      border-left: 8px solid var(--primary);
    }
.disclaimer-icon {
      color: var(--primary);
      margin-right: 0.5rem;
    }
.section-block {
      background: var(--white);
      border-radius: var(--radius-md);
      padding: 2rem 1.8rem;
      box-shadow: var(--shadow-soft);
      margin-bottom: 2rem;
      border: 1px solid rgba(180, 83, 9, 0.1);
    }
.section-block h2 {
      color: var(--primary);
      font-weight: 800;
      margin-bottom: 1.5rem;
      border-bottom: 2px dashed var(--accent);
      padding-bottom: 0.8rem;
    }
.section-block h3 {
      color: var(--primary);
      font-weight: 700;
      margin-top: 1.8rem;
    }
.text-muted-custom {
      color: rgba(69, 26, 3, 0.7);
    }
.badge-disclaimer {
      background: var(--light-accent);
      color: var(--primary);
      font-weight: 600;
      padding: 0.3em 0.8em;
      border-radius: 30px;
      font-size: 0.8rem;
      border: 1px solid rgba(202, 138, 4, 0.3);
    }
.disclaimer-hero { padding: 2rem 1.2rem; }
.section-block { padding: 1.5rem; }

/* --- 子页面追加 --- */
.privacy-section {
      padding: 4rem 0;
      background: var(--bg);
    }
.privacy-card {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 2.5rem;
      margin-bottom: 1.5rem;
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(180, 83, 9, 0.08);
      transition: box-shadow 0.3s ease, transform 0.3s ease;
    }
.privacy-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-3px);
    }
.privacy-card h2 {
      color: var(--primary);
      font-weight: 700;
      font-size: 1.6rem;
      margin-bottom: 1.2rem;
      padding-bottom: 0.8rem;
      border-bottom: 2px solid var(--light-accent);
    }
.privacy-card h2 i {
      margin-right: 0.6rem;
      color: var(--accent);
    }
.privacy-card p {
      color: var(--text);
      line-height: 1.9;
      font-size: 1rem;
      margin-bottom: 1rem;
    }
.privacy-card ul {
      padding-left: 1.5rem;
      margin-bottom: 1rem;
    }
.privacy-card ul li {
      color: var(--text);
      line-height: 1.9;
      margin-bottom: 0.5rem;
      position: relative;
    }
.privacy-card ul li::before {
      content: "\f105";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      color: var(--accent);
      position: absolute;
      left: -1.2rem;
    }
.privacy-highlight-box {
      background: var(--light-accent);
      border-left: 4px solid var(--primary);
      border-radius: var(--radius-sm);
      padding: 1.2rem 1.5rem;
      margin: 1.5rem 0;
    }
.privacy-highlight-box p {
      margin-bottom: 0.5rem;
      color: var(--text);
    }
.privacy-highlight-box p:last-child {
      margin-bottom: 0;
    }
.privacy-badge {
      display: inline-block;
      background: var(--primary);
      color: var(--white);
      padding: 0.3rem 0.8rem;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }
.privacy-contact {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 2.5rem;
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(180, 83, 9, 0.08);
    }
.privacy-contact h3 {
      color: var(--primary);
      font-weight: 700;
      font-size: 1.3rem;
      margin-bottom: 1rem;
    }
.privacy-contact .contact-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem;
      background: var(--bg);
      border-radius: var(--radius-md);
      margin-bottom: 1rem;
    }
.privacy-contact .contact-item i {
      font-size: 1.5rem;
      color: var(--primary);
      width: 2.5rem;
      height: 2.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--light-accent);
      border-radius: 50%;
    }
.privacy-contact .contact-item span {
      color: var(--text);
      font-size: 0.95rem;
    }
.privacy-updated {
      text-align: center;
      color: var(--accent);
      font-size: 0.9rem;
      margin-bottom: 2rem;
      font-weight: 500;
    }
.privacy-page-title {
      text-align: center;
      padding: 4rem 0 2rem;
      background: linear-gradient(135deg, var(--light-accent) 0%, var(--bg) 50%, var(--light-accent) 100%);
    }
.privacy-page-title h1 {
      color: var(--primary);
      font-weight: 800;
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
.privacy-page-title p {
      color: var(--text);
      font-size: 1.1rem;
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.8;
    }
.privacy-page-title h1 {
        font-size: 1.8rem;
      }
.privacy-card,
      .privacy-contact {
        padding: 1.5rem;
      }
.privacy-card h2 {
        font-size: 1.3rem;
      }

/* --- 子页面追加 --- */
/* 排行榜页面专属样式 */
        .ranking-hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: var(--white);
            padding: 80px 0 60px;
            border-radius: 0 0 40px 40px;
            margin-bottom: 40px;
        }
.ranking-hero h1 {
            font-size: 2.8rem;
            font-weight: 900;
            color: var(--white);
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }
.ranking-hero p {
            font-size: 1.1rem;
            opacity: 0.95;
            max-width: 600px;
            margin: 15px auto 0;
        }
.ranking-section {
            padding: 50px 0;
        }
.ranking-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 25px;
            margin-bottom: 20px;
            box-shadow: var(--shadow-soft);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-left: 5px solid var(--primary);
            position: relative;
        }
.ranking-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }
.ranking-card .rank-number {
            font-size: 2.5rem;
            font-weight: 900;
            color: var(--primary);
            line-height: 1;
            margin-right: 20px;
            min-width: 60px;
            text-align: center;
        }
.ranking-card .rank-number.top-1 {
            color: #f59e0b;
            font-size: 3rem;
        }
.ranking-card .rank-number.top-2 {
            color: #94a3b8;
            font-size: 2.8rem;
        }
.ranking-card .rank-number.top-3 {
            color: #d97706;
            font-size: 2.6rem;
        }
.ranking-card .comic-info h3 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
        }
.ranking-card .comic-info p {
            color: #6b7280;
            font-size: 0.95rem;
            margin-bottom: 10px;
        }
.ranking-card .comic-meta {
            display: flex;
            gap: 20px;
            font-size: 0.9rem;
            color: var(--primary);
            font-weight: 500;
        }
.ranking-card .comic-meta i {
            margin-right: 5px;
        }
.ranking-badge {
            display: inline-block;
            background: var(--light-accent);
            color: var(--primary);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-left: 10px;
        }
.ranking-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
.ranking-tab {
            background: var(--light-accent);
            border: 2px solid var(--light-accent);
            color: var(--text);
            padding: 8px 20px;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }
.ranking-tab:hover, .ranking-tab.active {
            background: var(--primary);
            color: var(--white);
            border-color: var(--primary);
        }
.ranking-trend {
            background: var(--light-accent);
            border-radius: var(--radius-sm);
            padding: 4px 10px;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--primary);
        }
.ranking-trend.up {
            color: #059669;
        }
.ranking-trend.down {
            color: #dc2626;
        }
.ranking-hero h1 {
                font-size: 2rem;
            }
.ranking-card {
                padding: 20px;
                flex-direction: column;
                text-align: center;
            }
.ranking-card .rank-number {
                margin-right: 0;
                margin-bottom: 15px;
            }
.ranking-card .comic-meta {
                justify-content: center;
            }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.table { color:#451a03 !important; border-color:rgba(0,0,0,.12) !important; --bs-table-bg:transparent !important; --bs-table-color:#451a03 !important; }
.accordion-header { background:transparent !important; }
