:root {
  --primary: #2563eb;
  --accent: #06b6d4;
  --bg: #f8fafc;
  --text: #0f172a;
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  letter-spacing: 0.01em;
}
.bg-dot {
  background-image: radial-gradient(circle, #cbd5e1 1px, transparent 1px);
  background-size: 24px 24px;
}
.navbar-custom {
  background: rgba(248,250,252,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-brand i { color: var(--accent); }
.navbar-brand:hover { color: var(--primary); }
.nav-link-custom {
  font-weight: 600;
  color: #334155 !important;
  margin: 0 12px;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-link-custom:hover { color: var(--primary) !important; }
.navbar-toggler { border: 1px solid #cbd5e1; }

/* Layout */
.sidebar-col {
  padding-left: 0;
}
.main-col {
  padding-right: 0;
}
.sidebar-sticky {
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  overflow-y: auto;
  border-right: 1px solid #e2e8f0;
  padding: 32px 20px;
  background: var(--bg);
}
.sidebar-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.sidebar-link {
  display: block;
  padding: 8px 0;
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  border-bottom: 1px solid #f1f5f9;
  transition: color 0.2s, padding-left 0.2s;
}
.sidebar-link:hover { color: var(--primary); padding-left: 6px; }
.sidebar-link i { width: 20px; color: var(--accent); margin-right: 8px; }

/* Hero */
.hero-section {
  padding: 72px 0 48px;
  position: relative;
  overflow: hidden;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.1rem;
  color: #475569;
  max-width: 560px;
  font-weight: 400;
  line-height: 1.7;
}
.float-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
.hero-tag {
  display: inline-block;
  background: #eef2ff;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
  border: 1px solid #c7d2fe;
}

/* Cards */
.comic-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 24px;
}
.comic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(2,6,23,0.08);
}
.comic-thumb {
  height: 260px;
  background: linear-gradient(145deg, #dbeafe, #cffafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid #e2e8f0;
}
.comic-info {
  padding: 16px;
}
.comic-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text);
}
.comic-meta {
  font-size: 0.82rem;
  color: #64748b;
}
.comic-badge {
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
}

/* Stats */
.stat-section {
  padding: 48px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}
.stat-label {
  color: #64748b;
  font-weight: 500;
  margin-top: 8px;
  font-size: 0.95rem;
}

/* Section titles */
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin-top: 8px;
  border-radius: 4px;
}
.section-sub {
  color: #64748b;
  margin-bottom: 32px;
  font-weight: 400;
}

/* Accordion */
.accordion-custom .accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px !important;
  margin-bottom: 12px;
  background: #fff;
}
.accordion-custom .accordion-button {
  font-weight: 600;
  color: var(--text);
  background: #fff;
  padding: 18px 20px;
}
.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: #f8fafc;
  box-shadow: none;
}
.accordion-custom .accordion-button:focus {
  box-shadow: none;
  border-color: #cbd5e1;
}
.accordion-custom .accordion-body {
  padding: 16px 20px;
  color: #475569;
  background: #fafbfc;
  border-top: 1px dashed #e2e8f0;
}

/* Features */
.feature-card {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  transition: all 0.3s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(2,6,23,0.05);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
  font-size: 1.5rem;
}
.feature-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.feature-desc {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* FAQ */
.faq-section {
  padding: 48px 0;
}
.faq-list .card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 12px;
  background: #fff;
}
.faq-q {
  font-weight: 600;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q i { color: var(--primary); }
.faq-a {
  padding: 0 20px 18px;
  color: #475569;
  border-top: 1px dashed #e2e8f0;
  padding-top: 14px;
  margin: 0 20px 0;
  padding-left: 0;
  padding-right: 0;
  font-size: 0.95rem;
}

/* CTA */
.cta-section {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  text-align: center;
}
.cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 28px;
}
.btn-cta {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  color: var(--primary);
}

/* Footer */
.footer {
  border-top: 1px solid #e2e8f0;
  padding: 40px 0 24px;
  background: #fff;
}
.footer-brand {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
}
.footer-links a {
  color: #64748b;
  text-decoration: none;
  margin-right: 20px;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-copy {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .sidebar-col {
    display: none;
  }
  .main-col {
    padding-right: 0;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .stat-number {
    font-size: 2rem;
  }
}

/* --- 子页面追加 --- */
/* 本页专属样式 —— 关于页 */
    .about-hero { padding: 60px 0 30px; text-align: center; position: relative; }
.about-hero .hero-badge { display: inline-block; background: rgba(37, 99, 235, 0.1); color: var(--primary); border: 1px solid rgba(37, 99, 235, 0.2); padding: 6px 16px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; letter-spacing: 0.5px; }
.about-hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 16px; color: var(--text); }
.about-hero h1 span { color: var(--primary); }
.about-hero .lead { color: #475569; max-width: 680px; margin: 0 auto; font-size: 1.1rem; line-height: 1.7; }
.about-section { padding: 40px 0; }
.about-section .section-title { font-size: 1.7rem; font-weight: 700; margin-bottom: 24px; color: var(--text); }
.about-section .section-title i { color: var(--primary); margin-right: 10px; }
.about-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px; height: 100%; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.about-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06); }
.about-card .icon-box { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.about-card .icon-box.blue { background: rgba(37, 99, 235, 0.1); color: var(--primary); }
.about-card .icon-box.cyan { background: rgba(6, 182, 212, 0.1); color: var(--accent); }
.about-card .icon-box.green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.about-card .icon-box.purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.about-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.about-card p { color: #475569; font-size: 0.95rem; line-height: 1.7; margin-bottom: 0; }
.about-card p a { color: var(--primary); font-weight: 600; }
.story-block { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px; margin-bottom: 24px; }
.story-block .story-text { color: #334155; font-size: 1rem; line-height: 1.9; }
.story-block .story-text strong { color: var(--text); }
.story-block .story-text i { color: var(--primary); font-style: normal; font-weight: 600; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding-left: 28px; padding-bottom: 24px; border-left: 2px solid #e2e8f0; margin-left: 10px; }
.timeline li:last-child { border-left: 2px solid transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3); }
.timeline li .time { font-size: 0.85rem; font-weight: 600; color: var(--primary); display: block; margin-bottom: 4px; }
.timeline li .desc { color: #475569; font-size: 0.95rem; line-height: 1.6; }
.stat-band { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); border-radius: 20px; padding: 40px 30px; margin: 40px 0; color: #fff; }
.stat-band .stat-num { font-size: 2.2rem; font-weight: 800; }
.stat-band .stat-label { font-size: 0.95rem; opacity: 0.9; }
.faq-list .faq-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px 24px; margin-bottom: 12px; }
.faq-list .faq-item h5 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.faq-list .faq-item p { color: #475569; font-size: 0.92rem; line-height: 1.7; margin-bottom: 0; }
.about-hero h1 { font-size: 1.8rem; }
.about-section .section-title { font-size: 1.4rem; }
.stat-band .stat-num { font-size: 1.6rem; }
.story-block { padding: 20px; }

/* --- 子页面追加 --- */
.rank-number {
      font-weight: 800;
      font-size: 1.4rem;
      min-width: 2.5rem;
      text-align: center;
      color: var(--primary);
    }
.rank-number.top {
      color: #f59e0b;
    }
.rank-card {
      background: #fff;
      border: 1px solid rgba(15, 23, 42, .08);
      border-radius: 16px;
      padding: 1.25rem;
      margin-bottom: 1rem;
      transition: all .2s ease;
    }
.rank-card:hover {
      box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
      transform: translateY(-2px);
    }
.rank-thumb {
      width: 64px;
      height: 88px;
      object-fit: cover;
      border-radius: 8px;
      background: #e2e8f0;
    }
.rank-title {
      font-weight: 700;
      font-size: 1.05rem;
      color: var(--text);
      margin-bottom: 2px;
    }
.rank-desc {
      font-size: .88rem;
      color: #64748b;
      line-height: 1.5;
    }
.rank-meta {
      font-size: .8rem;
      color: #94a3b8;
    }
.rank-tag {
      background: rgba(37, 99, 235, .1);
      color: var(--primary);
      font-size: .72rem;
      font-weight: 600;
      padding: 2px 10px;
      border-radius: 20px;
      display: inline-block;
    }
.rank-tag.gold {
      background: rgba(245, 158, 11, .15);
      color: #b45309;
    }
.trend-up { color: #10b981; font-size: .8rem; font-weight: 600; }
.trend-down { color: #ef4444; font-size: .8rem; font-weight: 600; }
.trend-flat { color: #94a3b8; font-size: .8rem; font-weight: 600; }
.section-heading {
      font-weight: 800;
      color: var(--text);
      margin-bottom: 1.5rem;
      font-size: 1.5rem;
    }
.section-heading i { color: var(--primary); }
.tab-pill {
      display: inline-block;
      padding: 6px 20px;
      border-radius: 30px;
      font-weight: 600;
      font-size: .9rem;
      background: #fff;
      border: 1px solid rgba(15,23,42,.1);
      color: var(--text);
      cursor: pointer;
      transition: all .2s;
      text-decoration: none;
    }
.tab-pill:hover, .tab-pill.active {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
    }

/* --- 子页面追加 --- */
/* 本页专属样式(程序会自动合并进站点 CSS) */
        .update-page { padding: 60px 0 80px; }
.update-hero { background: linear-gradient(135deg, rgba(37,99,235,.08) 0%, rgba(6,182,212,.08) 100%); border-radius: 20px; padding: 40px 30px; margin-bottom: 50px; position: relative; overflow: hidden; }
.update-hero::before { content: ''; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(37,99,235,.05); }
.update-hero::after { content: ''; position: absolute; bottom: -40px; left: 30%; width: 120px; height: 120px; border-radius: 50%; background: rgba(6,182,212,.05); }
.update-hero h1 { font-size: 2.2rem; font-weight: 800; color: var(--text); margin-bottom: 15px; position: relative; z-index: 1; }
.update-hero p { font-size: 1.05rem; color: #475569; max-width: 700px; position: relative; z-index: 1; }
.timeline-item { position: relative; padding: 0 0 40px 50px; border-left: 3px solid rgba(37,99,235,.15); margin-left: 20px; }
.timeline-item:last-child { border-left-color: transparent; padding-bottom: 10px; }
.timeline-item::before { content: ''; position: absolute; left: -8px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.timeline-item:nth-child(even)::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(6,182,212,.15); }
.version-card { background: #fff; border-radius: 14px; padding: 24px 28px; box-shadow: 0 2px 12px rgba(15,23,42,.05); transition: box-shadow .3s ease; }
.version-card:hover { box-shadow: 0 4px 20px rgba(15,23,42,.08); }
.version-header { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.version-tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: .78rem; font-weight: 600; letter-spacing: .5px; }
.version-tag.major { background: rgba(37,99,235,.1); color: var(--primary); }
.version-tag.minor { background: rgba(6,182,212,.1); color: var(--accent); }
.version-tag.patch { background: rgba(100,116,139,.1); color: #475569; }
.version-date { font-size: .85rem; color: #94a3b8; margin-left: auto; }
.version-title { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.version-list { list-style: none; padding: 0; margin: 0; }
.version-list li { padding: 6px 0 6px 26px; position: relative; color: #334155; font-size: .95rem; line-height: 1.6; }
.version-list li::before { content: '▸'; position: absolute; left: 4px; color: var(--primary); font-weight: 600; }
.version-list li span.tag { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: .75rem; font-weight: 500; margin-right: 6px; vertical-align: 1px; }
.tag-new { background: rgba(16,185,129,.1); color: #059669; }
.tag-fix { background: rgba(239,68,68,.1); color: #dc2626; }
.tag-opt { background: rgba(37,99,235,.1); color: var(--primary); }
.tag-feat { background: rgba(6,182,212,.1); color: #0891b2; }
.update-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin: 50px 0 60px; }
.stat-mini { background: #fff; border-radius: 14px; padding: 22px 18px; text-align: center; box-shadow: 0 2px 12px rgba(15,23,42,.05); }
.stat-mini .num { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat-mini .lbl { font-size: .88rem; color: #64748b; margin-top: 6px; }
.stat-mini:nth-child(2) .num { color: var(--accent); }
.stat-mini:nth-child(3) .num { color: #059669; }
.stat-mini:nth-child(4) .num { color: #d97706; }
.upcoming-box { background: linear-gradient(135deg, rgba(37,99,235,.04) 0%, rgba(6,182,212,.04) 100%); border: 1px dashed rgba(37,99,235,.2); border-radius: 14px; padding: 30px; margin-top: 50px; }
.upcoming-box h3 { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 15px; }
.upcoming-box ul { list-style: none; padding: 0; margin: 0; }
.upcoming-box ul li { padding: 8px 0 8px 26px; position: relative; color: #334155; font-size: .95rem; }
.upcoming-box ul li::before { content: '→'; position: absolute; left: 4px; color: var(--accent); font-weight: 600; }
.update-hero { padding: 30px 20px; }
.update-hero h1 { font-size: 1.6rem; }
.timeline-item { padding-left: 35px; margin-left: 12px; }
.version-card { padding: 20px; }
.version-header { flex-direction: column; align-items: flex-start; gap: 8px; }
.version-date { margin-left: 0; }
.update-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }

/* --- 子页面追加 --- */
/* 本页专属样式 */
    .disclaimer-hero {
      padding: 80px 0 40px;
      position: relative;
      overflow: hidden;
    }
.disclaimer-title {
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 12px;
    }
.disclaimer-sub {
      font-size: 1.05rem;
      color: #475569;
      max-width: 720px;
      line-height: 1.7;
    }
.disclaimer-section {
      background: #ffffff;
      border-radius: 12px;
      padding: 28px 30px;
      margin-bottom: 24px;
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
      border: 1px solid #e2e8f0;
    }
.disclaimer-section h2 {
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
.disclaimer-section h2 i {
      color: var(--accent);
      font-size: 1.1rem;
    }
.disclaimer-section p {
      color: #334155;
      line-height: 1.8;
      margin-bottom: 12px;
      font-size: 0.95rem;
    }
.disclaimer-section ul {
      padding-left: 20px;
      color: #334155;
      line-height: 1.9;
      font-size: 0.95rem;
    }
.disclaimer-section li {
      margin-bottom: 6px;
    }
.disclaimer-section strong {
      color: var(--text);
      font-weight: 600;
    }
.highlight-box {
      background: rgba(6, 182, 212, 0.08);
      border-left: 4px solid var(--accent);
      padding: 14px 18px;
      border-radius: 0 8px 8px 0;
      margin: 16px 0;
      font-size: 0.95rem;
      color: #334155;
    }
.update-date {
      display: inline-block;
      background: var(--primary);
      color: #fff;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 500;
      margin-top: 8px;
    }

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