:root {
  --primary: #06b6d4;
  --accent: #ec4899;
  --bg: #0c0a1a;
  --text: #e0f2fe;
  --text-muted: rgba(224, 242, 254, 0.65);
  --card-bg: rgba(255, 255, 255, 0.04);
  --border-color: rgba(255, 255, 255, 0.08);
  --radius: 8px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 12px 32px rgba(6, 182, 212, 0.15);
  --mono: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
}
* { scrollbar-width: thin; scrollbar-color: var(--primary) var(--bg); }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* Scroll progress bar */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* Navbar */
.navbar-custom {
  background: rgba(12, 10, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}
.navbar-custom .navbar-brand {
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--text);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-custom .navbar-brand .brand-icon {
  font-size: 1.6rem;
  color: var(--primary);
}
.navbar-custom .navbar-nav .nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: all 0.2s ease;
}
.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link.active {
  color: var(--text);
  background: rgba(6, 182, 212, 0.12);
}
.navbar-toggler {
  border-color: var(--border-color);
  color: var(--text);
}
.navbar-toggler:focus { box-shadow: none; }
.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(224,242,254,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero */
.hero-section {
  padding: 5rem 0 3rem;
  background: radial-gradient(ellipse at 30% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(236, 72, 153, 0.12) 0%, transparent 50%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-title .highlight {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 2rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero-stat-item {
  text-align: left;
}
.hero-stat-number {
  font-family: var(--mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Titles */
.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.section-title-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
}
.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
}
.section-title small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 0.5rem;
  letter-spacing: 0;
}

/* Cards */
.movie-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  height: 100%;
  position: relative;
}
.movie-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: rgba(6, 182, 212, 0.4);
}
.movie-card-poster {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.movie-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.movie-card:hover .movie-card-poster img {
  transform: scale(1.06);
}
.movie-card-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(12, 10, 26, 0.8);
  backdrop-filter: blur(8px);
  color: var(--text);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.movie-card-rating {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(236, 72, 153, 0.9);
  color: #fff;
  font-weight: 700;
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.movie-card-info {
  padding: 0.75rem 0.9rem 0.9rem;
}
.movie-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}
.movie-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.movie-card-meta .category-tag {
  background: rgba(6, 182, 212, 0.15);
  color: var(--primary);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 500;
}

/* Sidebar filters */
.filter-sidebar {
  position: sticky;
  top: 80px;
}
.filter-group {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.filter-group-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pill {
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.pill:hover, .pill.active {
  background: rgba(6, 182, 212, 0.15);
  color: var(--primary);
  border-color: rgba(6, 182, 212, 0.3);
}

/* Ranking */
.rank-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s;
}
.rank-item:hover { background: rgba(255, 255, 255, 0.04); }
.rank-num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}
.rank-num.gold { background: linear-gradient(135deg, #f5a623, #f7e8a0); color: #0c0a1a; }
.rank-num.silver { background: linear-gradient(135deg, #a8a8a8, #d8d8d8); color: #0c0a1a; }
.rank-num.bronze { background: linear-gradient(135deg, #cd7f32, #e8a87c); color: #0c0a1a; }
.rank-num.other { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }
.rank-title {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.rank-score {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

/* Modal */
.movie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.movie-modal.active { display: flex; }
.modal-backdrop-custom {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal-content-custom {
  position: relative;
  background: rgba(12, 10, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  max-width: 680px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  max-height: 85vh;
  overflow-y: auto;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.modal-movie-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  padding-right: 2.5rem;
}
.modal-movie-year {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.modal-movie-score {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-weight: 800;
  font-family: var(--mono);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.modal-movie-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}
.modal-detail-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
}
.modal-detail-label {
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.1rem;
}
.modal-detail-value { font-weight: 500; }
.modal-movie-plot {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}
.modal-actions {
  display: flex;
  gap: 0.75rem;
}
.btn-play {
  background: linear-gradient(135deg, var(--primary), #0891b2);
  border: none;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-play:hover { background: linear-gradient(135deg, #0891b2, var(--primary)); color: #fff; transform: translateY(-1px); }

/* Steps */
.steps-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.step-card {
  flex: 1;
  min-width: 200px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.step-num {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.step-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.step-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Mood Picker */
.mood-section {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(236, 72, 153, 0.08));
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
}
.mood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.mood-tag {
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s;
  color: var(--text-muted);
}
.mood-tag:hover, .mood-tag.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
}
.mood-result-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mood-movies {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}
.mood-movie-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.6rem;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.mood-movie-item:hover { border-color: var(--primary); transform: translateY(-2px); }
.mood-movie-poster {
  width: 100%;
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(236, 72, 153, 0.2));
  border-radius: 4px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.mood-movie-title {
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Related */
.related-section {
  margin: 3rem 0;
}
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.related-link {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.related-link:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0 1.5rem;
  margin-top: 3rem;
  background: rgba(0, 0, 0, 0.2);
}
.footer-brand {
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-text {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.7;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-divider {
  border-top: 1px solid var(--border-color);
  margin: 1.5rem 0 1rem;
}

/* Friend Links */
.friend-links {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 3rem 0 1rem;
}
.friend-links-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.friend-links-content {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.8;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 0 2rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-number { font-size: 1.6rem; }
  .section-title { font-size: 1.3rem; }
  .modal-content-custom { padding: 1.5rem; }
  .modal-movie-details { grid-template-columns: 1fr; }
}

/* --- 子页面追加 --- */
/* 本页微调，不影响全局 */
    .about-hero {
      background: linear-gradient(135deg, rgba(6,182,212,0.08) 0%, rgba(236,72,153,0.05) 100%);
      border-bottom: 1px solid var(--border-color);
    }
.about-section {
      padding: 60px 0;
      border-bottom: 1px solid rgba(255,255,255,0.03);
    }
.about-section:last-of-type {
      border-bottom: none;
    }
.about-card {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 28px 24px;
      height: 100%;
      transition: box-shadow .25s ease;
    }
.about-card:hover {
      box-shadow: var(--shadow-hover);
    }
.about-card i {
      color: var(--primary);
      font-size: 1.8rem;
      margin-bottom: 16px;
    }
.about-card h3 {
      color: var(--text);
      font-size: 1.35rem;
      font-weight: 700;
      letter-spacing: -0.2px;
      margin-bottom: 12px;
    }
.about-card p {
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.7;
      margin-bottom: 0;
    }
.about-highlight {
      color: var(--primary);
      font-weight: 600;
    }
.about-quote {
      border-left: 3px solid var(--accent);
      background: rgba(236,72,153,0.04);
      padding: 20px 24px;
      border-radius: 0 var(--radius) var(--radius) 0;
      color: var(--text-muted);
      font-style: italic;
      margin: 30px 0;
    }
.about-list {
      list-style: none;
      padding-left: 0;
    }
.about-list li {
      padding: 10px 0;
      border-bottom: 1px dashed rgba(255,255,255,0.06);
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--text-muted);
    }
.about-list li i {
      color: var(--primary);
      width: 20px;
      text-align: center;
    }
.about-list li:last-child {
      border-bottom: none;
    }
.about-mono {
      font-family: var(--mono);
      background: rgba(6,182,212,0.08);
      padding: 3px 8px;
      border-radius: 4px;
      color: var(--primary);
      font-size: 0.85rem;
    }
.about-section {
        padding: 40px 0;
      }
.about-card {
        padding: 20px 18px;
      }

/* --- 子页面追加 --- */
/* 本页专属微调，不破坏整体风格 */
    .disclaimer-hero {
      padding: 3.5rem 0 1.5rem;
      border-bottom: 1px solid var(--border-color);
    }
.disclaimer-hero .section-title {
      margin-bottom: 0.5rem;
    }
.legal-section {
      margin-top: 2.2rem;
    }
.legal-section h2 {
      font-weight: 700;
      font-size: 1.75rem;
      letter-spacing: -0.01em;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      color: var(--text);
      border-left: 4px solid var(--primary);
      padding-left: 1rem;
      margin-bottom: 1.5rem;
    }
.legal-section h2 i {
      color: var(--primary);
      font-size: 1.6rem;
    }
.legal-card {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 1.8rem 1.8rem 1.6rem;
      margin-bottom: 1.5rem;
      box-shadow: var(--shadow);
      transition: box-shadow 0.2s;
    }
.legal-card:hover {
      box-shadow: var(--shadow-hover);
    }
.legal-card h3 {
      font-size: 1.3rem;
      font-weight: 600;
      color: var(--primary);
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
.legal-card p, .legal-card li {
      color: var(--text-muted);
      line-height: 1.7;
      font-size: 0.98rem;
    }
.legal-card strong {
      color: var(--text);
    }
.legal-card ul {
      padding-left: 1.2rem;
    }
.legal-card li {
      margin-bottom: 0.5rem;
    }
.legal-note {
      background: rgba(6, 182, 212, 0.06);
      border-left: 4px solid var(--accent);
      padding: 1.2rem 1.5rem;
      border-radius: 0 var(--radius) var(--radius) 0;
      margin-top: 1.8rem;
      color: var(--text-muted);
    }
.legal-note i {
      color: var(--accent);
      margin-right: 0.4rem;
    }
/* 覆盖bootstrap卡片背景（以防万一） */
    .legal-card, .legal-card * {
      background: transparent;
      border-color: var(--border-color);
      color: var(--text-muted);
    }

/* --- 子页面追加 --- */
.guide-hero {
            padding: 5rem 0 3rem;
            background: radial-gradient(ellipse at 50% 0%, rgba(6, 182, 212, 0.15), transparent 60%);
        }
.guide-section {
            padding: 3rem 0;
        }
.guide-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 1.5rem;
            height: 100%;
            transition: box-shadow 0.3s ease, transform 0.3s ease;
        }
.guide-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }
.guide-card h3 {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.15rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
.guide-card h3 i {
            color: var(--accent);
        }
.guide-card p, .guide-card li {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.7;
        }
.guide-card ul {
            padding-left: 1.2rem;
            margin-bottom: 0;
        }
.guide-card li {
            margin-bottom: 0.5rem;
        }
.step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            font-weight: 700;
            font-size: 0.85rem;
            margin-right: 0.5rem;
            flex-shrink: 0;
        }
.tip-box {
            background: rgba(6, 182, 212, 0.08);
            border-left: 3px solid var(--primary);
            padding: 1rem 1.25rem;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 1.5rem 0;
        }
.tip-box p {
            color: var(--text);
            margin: 0;
            font-size: 0.95rem;
        }
.tip-box strong {
            color: var(--primary);
        }
.section-divider {
            border: none;
            border-top: 1px solid var(--border-color);
            margin: 0;
            opacity: 1;
        }

/* --- 子页面追加 --- */
/* 排行榜页专用:卡片列表、排名徽章等 (基于站点CSS变量,不覆盖bootstrap组件) */
    .rank-section {
      margin-bottom: 3rem;
    }
.rank-list {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }
.rank-number {
      font-family: var(--mono);
      font-size: 1.5rem;
      font-weight: 800;
      min-width: 2.2rem;
      text-align: center;
      color: var(--primary);
      text-shadow: 0 0 12px rgba(6,182,212,.4);
    }
.rank-item:nth-child(1) .rank-number,
    .rank-item:nth-child(2) .rank-number,
    .rank-item:nth-child(3) .rank-number {
      color: var(--accent);
      text-shadow: 0 0 16px rgba(236,72,153,.5);
    }
.rank-poster {
      width: 52px;
      height: 72px;
      object-fit: cover;
      border-radius: 6px;
      background: #1a1a2e;
      border: 1px solid var(--border-color);
    }
.rank-info {
      flex: 1;
      min-width: 0;
    }
.rank-meta {
      font-size: 0.8rem;
      color: var(--text-muted);
      display: flex;
      gap: 0.8rem;
      flex-wrap: wrap;
    }
.rank-meta i {
      margin-right: 0.2rem;
      color: var(--primary);
    }
.rank-tag {
      background: rgba(6,182,212,.15);
      color: var(--primary);
      border-radius: 30px;
      padding: 0.1rem 0.7rem;
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: .3px;
      border: 1px solid rgba(6,182,212,.2);
      white-space: nowrap;
    }
.rank-tag.accent {
      background: rgba(236,72,153,.15);
      color: var(--accent);
      border-color: rgba(236,72,153,.2);
    }
.rank-trend {
      font-family: var(--mono);
      font-size: 0.8rem;
      color: var(--text-muted);
      text-align: right;
      min-width: 48px;
    }
.rank-trend .up { color: #34d399; }
.rank-trend .down { color: #f87171; }
.rank-trend .flat { color: #a1a1aa; }
.rank-section-header {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 1.2rem;
      border-bottom: 1px solid var(--border-color);
      padding-bottom: 0.5rem;
    }
.rank-section-header i {
      color: var(--primary);
      font-size: 1.3rem;
    }
.rank-section-header h2 {
      font-size: 1.35rem;
      font-weight: 700;
      margin: 0;
      color: var(--text);
      letter-spacing: -0.02em;
    }
.rank-section-header small {
      color: var(--text-muted);
      margin-left: auto;
      font-size: 0.8rem;
      font-weight: 400;
    }
/* 电影卡片复用站点 movie-card 但排行榜页以列表为主,故不多用 */
    .badge-daily {
      background: var(--accent);
      color: #fff;
      font-size: 0.7rem;
      padding: 0.2rem 0.7rem;
      border-radius: 30px;
    }
/* 更新说明 */
    .rank-update-note {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(6,182,212,0.08);
      border: 1px dashed rgba(6,182,212,.3);
      padding: 0.4rem 1rem;
      border-radius: 40px;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

/* --- 子页面追加 --- */
/* 强制覆盖 Bootstrap 白底，保证视觉统一 */
        .card, .card-body, .card-header, .card-footer,
        .accordion-item, .accordion-button, .accordion-body,
        .list-group-item, .modal-content {
            background: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: var(--border-color) !important;
        }
.accordion-button:not(.collapsed) {
            background: rgba(6, 182, 212, 0.12) !important;
            color: var(--primary) !important;
        }
.accordion-button::after {
            filter: invert(1) hue-rotate(180deg) saturate(3);
        }
.accordion-button:focus {
            box-shadow: 0 0 0 0.2rem rgba(6, 182, 212, 0.2);
        }
.faq-hero {
            padding: 3rem 0 2.5rem;
            border-bottom: 1px solid var(--border-color);
        }
.faq-section-title {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1.8rem;
        }
.faq-section-title i {
            color: var(--primary);
            font-size: 1.6rem;
        }
.faq-section-title h2 {
            font-size: 1.65rem;
            font-weight: 700;
            margin: 0;
            letter-spacing: -0.01em;
        }
.faq-item {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 1.2rem 1.5rem;
            margin-bottom: 1rem;
            transition: box-shadow 0.2s ease, transform 0.2s ease;
        }
.faq-item:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-2px);
        }
.faq-item h3 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text);
            display: flex;
            align-items: baseline;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }
.faq-item h3 i {
            color: var(--accent);
            font-size: 1rem;
            width: 1.4rem;
            text-align: center;
        }
.faq-item p {
            color: var(--text-muted);
            margin: 0.25rem 0 0 1.9rem;
            line-height: 1.7;
            font-size: 0.95rem;
        }
.help-card {
            background: rgba(6, 182, 212, 0.06);
            border: 1px dashed var(--primary);
            border-radius: var(--radius);
            padding: 1.5rem 1.8rem;
            margin-top: 2rem;
        }
.help-card i {
            color: var(--primary);
        }
.help-card a {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            border-bottom: 1px dashed var(--primary);
        }
.help-card a:hover {
            color: var(--accent);
            border-bottom-color: var(--accent);
        }
/* 列表装饰 */
        .faq-tip-list {
            list-style: none;
            padding-left: 0;
            margin: 0.5rem 0 0 1.9rem;
        }
.faq-tip-list li {
            color: var(--text-muted);
            margin-bottom: 0.4rem;
            display: flex;
            gap: 0.6rem;
        }
.faq-tip-list li i {
            color: var(--primary);
            font-size: 0.8rem;
            margin-top: 0.35rem;
        }