:root {
  --primary: #e50914;
  --accent: #f5c518;
  --bg: #0b0b0f;
  --text: #f5f5f7;
  --card-bg: #14141a;
  --border-color: #2a2a33;
  --shadow: 8px 8px 0 rgba(0,0,0,0.5);
  --font-head: 'Inter', sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
* { border-radius: 0 !important; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.8;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.navbar {
  border-bottom: 3px solid var(--border-color);
  transition: all 0.4s ease;
  padding-top: 12px;
  padding-bottom: 12px;
}
.navbar.scrolled {
  background: rgba(11, 11, 15, 0.9) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.navbar-brand {
  font-size: 1.8rem;
  color: var(--text) !important;
  font-weight: 900;
  text-transform: uppercase;
}
.navbar-brand i {
  color: var(--accent);
  margin-right: 8px;
}
.nav-link {
  color: var(--text) !important;
  font-weight: 500;
  margin: 0 12px;
  position: relative;
  transition: color 0.3s;
}
.nav-link:hover { color: var(--accent) !important; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }
.navbar-toggler {
  border: 2px solid var(--border-color);
  color: var(--text);
}
.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  padding-left: 16px;
  border-left: 6px solid var(--primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}
.section-title i {
  color: var(--accent);
  margin-right: 10px;
}
/* Hero */
.hero-section {
  position: relative;
  height: 75vh;
  min-height: 480px;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.3), rgba(11, 11, 15, 0.9)), url('{随机图片}') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 3px solid var(--border-color);
}
.hero-content {
  padding: 40px;
  background: rgba(11, 11, 15, 0.7);
  border: 3px solid var(--accent);
  box-shadow: var(--shadow);
  max-width: 800px;
}
.hero-content h1 {
  font-size: 3rem;
  color: var(--text);
  margin-bottom: 16px;
}
.hero-content p {
  font-size: 1.2rem;
  color: rgba(245, 245, 247, 0.9);
}
/* 横向滑动海报区 */
.movie-scroll-section {
  padding: 60px 0;
}
.scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 16px 4px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg);
}
.scroll-container::-webkit-scrollbar { height: 6px; }
.scroll-container::-webkit-scrollbar-track { background: var(--bg); }
.scroll-container::-webkit-scrollbar-thumb { background: var(--primary); }
.movie-card {
  flex: 0 0 220px;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  scroll-snap-align: start;
  position: relative;
}
.movie-card:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 10px 10px 0 rgba(229, 9, 20, 0.2);
  border-color: var(--accent);
}
.movie-card .poster-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.movie-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.movie-card:hover img { transform: scale(1.05); }
.quality-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border: 1px solid #fff;
  z-index: 2;
}
.quality-badge.hd { background: var(--accent); color: #000; }
.movie-info {
  padding: 12px;
}
.movie-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movie-meta {
  font-size: 0.75rem;
  color: rgba(245, 245, 247, 0.7);
}
.rating-star {
  color: var(--accent);
  font-size: 0.8rem;
}
/* 周榜 */
.rank-list {
  list-style: none;
  padding: 0;
}
.rank-item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  background: var(--card-bg);
  margin-bottom: 12px;
  transition: all 0.3s;
  cursor: pointer;
}
.rank-item:hover {
  border-color: var(--accent);
  transform: translateX(6px);
  box-shadow: 4px 4px 0 rgba(245, 197, 24, 0.2);
}
.rank-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  width: 60px;
  text-align: center;
  font-style: italic;
}
.rank-item:nth-child(1) .rank-num { color: var(--primary); }
.rank-info { flex: 1; padding: 0 16px; }
.rank-title { font-weight: 700; }
.rank-score { color: var(--accent); }
.rank-thumb {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border: 2px solid var(--border-color);
}
/* 折叠手风琴 */
.accordion-custom .accordion-item {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  margin-bottom: 12px;
}
.accordion-custom .accordion-button {
  background: var(--card-bg);
  color: var(--text);
  font-weight: 700;
  box-shadow: none;
  border-bottom: 1px solid var(--border-color);
}
.accordion-custom .accordion-button:not(.collapsed) {
  background: rgba(229, 9, 20, 0.2);
  color: var(--text);
}
.accordion-custom .accordion-body {
  color: rgba(245, 245, 247, 0.85);
  line-height: 1.8;
}
/* 翻转卡片弹窗 */
.flip-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.flip-modal.show { display: flex; }
.flip-card {
  width: 90%;
  max-width: 380px;
  min-height: 520px;
  perspective: 1200px;
  cursor: pointer;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s;
  transform-style: preserve-3d;
}
.flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flip-card-back {
  background: var(--card-bg);
  transform: rotateY(180deg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.flip-card-back h3 {
  color: var(--accent);
  margin-bottom: 12px;
}
.flip-card-back .detail-row {
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.flip-card-back .detail-label {
  color: var(--accent);
  font-weight: 700;
  margin-right: 6px;
}
.close-flip {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}
/* 特色图标列表 */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.feature-item {
  text-align: center;
  padding: 24px;
  border: 2px solid var(--border-color);
  background: var(--card-bg);
  transition: all 0.3s;
}
.feature-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.feature-item i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-item h4 { font-size: 1.1rem; }
/* 即将上线 */
.coming-card {
  background: var(--card-bg);
  border: 2px dashed var(--border-color);
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
}
.coming-card:hover { border-color: var(--accent); }
.coming-date {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
/* 页脚 */
.footer {
  background: #050508;
  border-top: 3px solid var(--border-color);
  padding: 48px 0 24px;
  margin-top: 60px;
}
.footer a {
  color: rgba(245, 245, 247, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}
.footer a:hover { color: var(--accent); }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}
.copyright {
  text-align: center;
  color: rgba(245, 245, 247, 0.5);
  font-size: 0.85rem;
}
/* 友链 */
.friend-links {
  padding: 32px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--card-bg);
}
.friend-links h3 {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 16px;
  text-align: center;
}
.friend-links .links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.friend-links a {
  color: rgba(245, 245, 247, 0.7);
  text-decoration: none;
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  transition: all 0.3s;
}
.friend-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
/* 区块淡入 */
.fade-up-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up-section.visible {
  opacity: 1;
  transform: translateY(0);
}
/* 推荐按钮 */
.recommend-btn {
  background: var(--primary);
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}
.recommend-btn:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
}
#recommendResult {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--accent);
  min-height: 40px;
}
/* 响应式 */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .section-title { font-size: 1.3rem; }
  .movie-card { flex: 0 0 180px; }
  .movie-card .poster-wrap { height: 250px; }
}

/* --- 子页面追加 --- */
/* 本页专属小范围样式 */
        .about-hero {
            background: linear-gradient(135deg, rgba(229, 9, 20, .15) 0%, rgba(11, 11, 15, 0) 60%);
            padding: 70px 0 40px;
        }
.about-section {
            padding: 50px 0;
            border-bottom: 1px solid var(--border-color);
        }
.about-section:last-of-type {
            border-bottom: none;
        }
.about-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 28px 24px;
            height: 100%;
            transition: transform .3s ease, box-shadow .3s ease;
        }
.about-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
        }
.about-icon {
            font-size: 2rem;
            color: var(--accent);
            margin-bottom: 14px;
        }
.about-card h3 {
            font-family: var(--font-head);
            font-weight: 700;
            font-size: 1.15rem;
            color: var(--text);
            margin-bottom: 10px;
        }
.about-card p {
            font-size: .92rem;
            color: rgba(245, 245, 247, .75);
            line-height: 1.7;
            margin: 0;
        }
.timeline {
            position: relative;
            padding-left: 28px;
        }
.timeline::before {
            content: '';
            position: absolute;
            left: 8px;
            top: 4px;
            bottom: 4px;
            width: 2px;
            background: var(--primary);
        }
.timeline-item {
            position: relative;
            margin-bottom: 26px;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -24px;
            top: 6px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--accent);
            border: 2px solid var(--bg);
        }
.timeline-year {
            font-family: var(--font-head);
            font-weight: 800;
            font-size: 1rem;
            color: var(--accent);
            margin-bottom: 4px;
        }
.timeline-text {
            font-size: .92rem;
            color: rgba(245, 245, 247, .8);
            line-height: 1.7;
        }
.stat-number {
            font-family: var(--font-head);
            font-weight: 900;
            font-size: 2.2rem;
            color: var(--primary);
        }
.stat-label {
            font-size: .85rem;
            color: rgba(245, 245, 247, .6);
            margin-top: 4px;
        }
.feature-list li {
            margin-bottom: 10px;
            font-size: .95rem;
            color: rgba(245, 245, 247, .8);
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
.feature-list i {
            color: var(--accent);
            margin-top: 4px;
            font-size: .9rem;
        }
.about-hero {
                padding: 40px 0 20px;
            }
.about-section {
                padding: 36px 0;
            }
.stat-number {
                font-size: 1.6rem;
            }

/* --- 子页面追加 --- */
.privacy-section {
      padding: 60px 0;
    }
.privacy-content {
      max-width: 900px;
      margin: 0 auto;
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 50px;
      box-shadow: var(--shadow);
    }
.privacy-content h2 {
      color: var(--accent);
      font-size: 1.5rem;
      font-weight: 700;
      margin-top: 40px;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--border-color);
      font-family: var(--font-head);
    }
.privacy-content h2:first-child {
      margin-top: 0;
    }
.privacy-content p {
      color: var(--text);
      line-height: 1.8;
      margin-bottom: 16px;
      font-size: 0.95rem;
    }
.privacy-content ul {
      color: var(--text);
      padding-left: 20px;
      margin-bottom: 16px;
    }
.privacy-content ul li {
      margin-bottom: 8px;
      line-height: 1.7;
      font-size: 0.95rem;
    }
.privacy-content strong {
      color: var(--accent);
    }
.privacy-content a {
      color: var(--primary);
      text-decoration: none;
    }
.privacy-content a:hover {
      text-decoration: underline;
    }
.privacy-hero {
      background: linear-gradient(135deg, rgba(229,9,20,0.1) 0%, rgba(245,197,24,0.05) 100%);
      border-bottom: 1px solid var(--border-color);
      padding: 60px 0 40px;
      text-align: center;
    }
.privacy-hero h1 {
      color: var(--text);
      font-size: 2.2rem;
      font-weight: 800;
      margin-bottom: 16px;
      font-family: var(--font-head);
    }
.privacy-hero p {
      color: rgba(245,245,247,0.7);
      font-size: 1.1rem;
      max-width: 700px;
      margin: 0 auto;
    }
.last-updated {
      display: inline-block;
      background: var(--primary);
      color: #fff;
      padding: 4px 16px;
      border-radius: 20px;
      font-size: 0.85rem;
      margin-top: 20px;
    }
.privacy-content {
        padding: 30px 20px;
        margin: 0 15px;
      }
.privacy-hero h1 {
        font-size: 1.8rem;
      }
.privacy-hero {
        padding: 40px 0 30px;
      }

/* --- 子页面追加 --- */
/* 本页专属样式 —— 联系页面 */
        .contact-hero {
            padding: 80px 0 40px;
            text-align: center;
            background: radial-gradient(ellipse at 50% 0%, rgba(229, 9, 20, 0.15) 0%, transparent 70%);
        }
.contact-hero h1 {
            font-family: var(--font-head);
            font-size: 2.8rem;
            font-weight: 900;
            color: var(--text);
            margin-bottom: 15px;
            letter-spacing: -0.5px;
        }
.contact-hero h1 span {
            color: var(--primary);
        }
.contact-hero p {
            color: rgba(245, 245, 247, 0.7);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.8;
        }
.contact-section {
            padding: 50px 0;
        }
.contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
.contact-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 30px 25px;
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
            overflow: hidden;
        }
.contact-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--primary);
            opacity: 0;
            transition: opacity 0.3s;
        }
.contact-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }
.contact-card:hover::before {
            opacity: 1;
        }
.contact-card-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(229, 9, 20, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 1.6rem;
            color: var(--primary);
        }
.contact-card h3 {
            font-family: var(--font-head);
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 12px;
        }
.contact-card p {
            color: rgba(245, 245, 247, 0.65);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 15px;
        }
.contact-card a {
            color: var(--accent);
            text-decoration: none;
            font-weight: 500;
            word-break: break-all;
            transition: color 0.3s;
        }
.contact-card a:hover {
            color: var(--primary);
        }
.contact-detail-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.contact-detail-list li {
            padding: 8px 0;
            color: rgba(245, 245, 247, 0.75);
            font-size: 0.95rem;
            border-bottom: 1px solid rgba(42, 42, 51, 0.5);
            display: flex;
            align-items: center;
            gap: 10px;
        }
.contact-detail-list li:last-child {
            border-bottom: none;
        }
.contact-detail-list i {
            color: var(--primary);
            width: 20px;
            text-align: center;
            font-size: 0.9rem;
        }
.feedback-section {
            padding: 60px 0;
            background: rgba(20, 20, 26, 0.5);
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }
.feedback-container {
            max-width: 700px;
            margin: 0 auto;
            padding: 0 20px;
        }
.feedback-container h2 {
            font-family: var(--font-head);
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 10px;
            text-align: center;
        }
.feedback-container h2 span {
            color: var(--primary);
        }
.feedback-container > p {
            text-align: center;
            color: rgba(245, 245, 247, 0.6);
            margin-bottom: 40px;
        }
.feedback-form {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 35px;
        }
.form-group {
            margin-bottom: 22px;
        }
.form-group label {
            display: block;
            color: var(--text);
            font-size: 0.95rem;
            font-weight: 500;
            margin-bottom: 8px;
        }
.form-group label i {
            color: var(--primary);
            margin-right: 8px;
        }
.form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            background: rgba(0, 0, 0, 0.35);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text);
            padding: 12px 15px;
            font-size: 0.95rem;
            font-family: var(--font-body);
            transition: border-color 0.3s;
            outline: none;
        }
.form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: var(--primary);
        }
.form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.35);
        }
.form-group select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f5f5f7' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 15px center;
            cursor: pointer;
        }
.form-group select option {
            background: var(--card-bg);
            color: var(--text);
        }
.form-group textarea {
            min-height: 140px;
            resize: vertical;
        }
.submit-btn {
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 14px 40px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            width: 100%;
            font-family: var(--font-head);
        }
.submit-btn:hover {
            background: #b8070f;
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(229, 9, 20, 0.3);
        }
.faq-section {
            padding: 60px 0;
        }
.faq-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }
.faq-container h2 {
            font-family: var(--font-head);
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 40px;
            text-align: center;
        }
.faq-container h2 span {
            color: var(--primary);
        }
.faq-item {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            margin-bottom: 15px;
            overflow: hidden;
        }
.faq-question {
            padding: 18px 22px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: background 0.3s;
        }
.faq-question:hover {
            background: rgba(229, 9, 20, 0.05);
        }
.faq-question h4 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            margin: 0;
            font-family: var(--font-head);
        }
.faq-question i {
            color: var(--primary);
            transition: transform 0.3s;
            font-size: 0.9rem;
        }
.faq-answer {
            padding: 0 22px 18px;
            color: rgba(245, 245, 247, 0.7);
            font-size: 0.95rem;
            line-height: 1.7;
            display: none;
        }
.faq-item.open .faq-question i {
            transform: rotate(180deg);
        }
.faq-item.open .faq-answer {
            display: block;
        }
.response-time {
            text-align: center;
            padding: 30px;
            background: rgba(245, 197, 24, 0.1);
            border: 1px solid rgba(245, 197, 24, 0.3);
            border-radius: 10px;
            margin-top: 30px;
        }
.response-time i {
            color: var(--accent);
            font-size: 1.5rem;
            margin-bottom: 10px;
            display: block;
        }
.response-time p {
            color: var(--text);
            font-size: 1rem;
            margin: 0;
            font-weight: 500;
        }
.contact-hero h1 {
                font-size: 2rem;
            }
.contact-hero {
                padding: 50px 0 30px;
            }
.feedback-form {
                padding: 25px 20px;
            }
.contact-grid {
                gap: 20px;
            }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件类与本页暗色主题一致 (覆盖自带白底) */
    .card, .card-body, .card-header, .card-footer,
    .list-group-item, .accordion-item, .accordion-button, .accordion-body,
    .form-control, .form-select {
      background-color: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--border-color) !important;
    }
.form-control::placeholder, .form-select {
      color: rgba(245, 245, 247, 0.6) !important;
    }
.modal-content {
      background-color: var(--card-bg) !important;
      color: var(--text) !important;
      border: 1px solid var(--border-color) !important;
    }
.dropdown-menu, .dropdown-item {
      background-color: var(--card-bg) !important;
      color: var(--text) !important;
    }
.dropdown-item:hover {
      background-color: rgba(229, 9, 20, 0.2) !important;
      color: #fff !important;
    }
.btn-outline-light {
      border-color: var(--border-color);
      color: var(--text);
    }
.btn-outline-light:hover {
      background-color: var(--primary);
      border-color: var(--primary);
      color: #fff;
    }
/* 排行榜专用卡片阴影与动效 */
    .rank-card {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      box-shadow: var(--shadow);
      transition: transform 0.2s ease, border-color 0.2s;
    }
.rank-card:hover {
      transform: translateY(-4px);
      border-color: var(--accent);
    }
.rank-thumb img {
      width: 100%;
      aspect-ratio: 2 / 3;
      object-fit: cover;
      display: block;
    }
.badge-rank {
      background: var(--primary);
      color: white;
      font-weight: 700;
      font-size: 1.1rem;
      padding: .2em .6em;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(229, 9, 20, .3);
    }
.rating-stars i {
      color: var(--accent);
      letter-spacing: 2px;
    }
.section-subhead {
      border-left: 4px solid var(--primary);
      padding-left: 0.75rem;
    }

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