:root {
  --primary: #dc2626;
  --accent: #fb923c;
  --bg: #141013;
  --text: #fef2f2;
  --card-bg: #1e1719;
  --border-color: #3a2a2d;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--text); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent); }

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  width: 0%;
  transition: width 0.15s ease-out;
  border-radius: 0 2px 2px 0;
}

/* Navbar */
.navbar-custom {
  background: rgba(20, 16, 19, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--primary);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand-custom {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text) !important;
  letter-spacing: -0.5px;
}
.navbar-brand-custom i { color: var(--primary); margin-right: 8px; }
.nav-link-custom {
  font-weight: 600;
  color: var(--text) !important;
  margin: 0 0.5rem;
  padding: 0.5rem 0.75rem !important;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-radius: 0;
  transition: color 0.3s, background 0.3s;
}
.nav-link-custom:hover {
  color: var(--accent) !important;
  background: rgba(251, 146, 60, 0.1);
}
.navbar-toggler {
  border: 2px solid var(--text);
  border-radius: 0;
}
.navbar-toggler:focus { box-shadow: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1015 0%, #241218 50%, #1a1015 100%);
  border-bottom: 4px solid var(--primary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('{随机图片}');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  filter: grayscale(30%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 1rem;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -2px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero-title .highlight {
  color: var(--primary);
  font-weight: 900;
}
.hero-sub {
  font-size: 1.25rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 0.4rem 1.2rem;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-radius: 0;
  margin: 0 0.3rem;
  text-transform: uppercase;
}

/* Section styles */
.section {
  padding: 4rem 0;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 0.75rem;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title i {
  color: var(--primary);
  font-size: 1.5rem;
}
.section-more {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Movie Card */
.movie-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  height: 100%;
  position: relative;
  cursor: pointer;
}
.movie-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  border-color: var(--primary);
}
.movie-poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, #2a1f22 0%, #1a1015 100%);
}
.movie-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s;
  opacity: 0;
}
.movie-poster.loaded {
  opacity: 1;
}
.movie-card:hover .movie-poster {
  transform: scale(1.08);
}
.poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.movie-card:hover .poster-overlay {
  opacity: 1;
}
.overlay-text {
  font-size: 0.85rem;
  line-height: 1.5;
  transform: translateY(10px);
  transition: transform 0.3s;
}
.movie-card:hover .overlay-text {
  transform: translateY(0);
}
.quality-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  letter-spacing: 1px;
  z-index: 2;
}
.quality-tag.blue {
  background: #2563eb;
}
.quality-tag.green {
  background: #16a34a;
}
.movie-info {
  padding: 1rem;
}
.movie-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movie-meta {
  font-size: 0.8rem;
  color: #b0a0a0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rating {
  color: var(--accent);
  font-weight: 700;
}

/* Flip card for detail */
.flip-card {
  perspective: 1000px;
  height: 100%;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  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;
  -webkit-backface-visibility: hidden;
  border-radius: 0;
  border: 2px solid var(--border-color);
  background: var(--card-bg);
  overflow: hidden;
}
.flip-card-back {
  transform: rotateY(180deg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #241218, #1a1015);
  border-color: var(--primary);
}
.flip-card-back h4 {
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.flip-card-back p {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: #d0c0c0;
}
.flip-card-back .btn-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: none;
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
}

/* Modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
}
.modal-overlay.active {
  display: flex;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2001;
  line-height: 1;
  transition: color 0.3s;
}
.modal-close:hover {
  color: var(--accent);
}

/* Ranking list */
.rank-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  background: var(--card-bg);
  margin-bottom: 0.75rem;
  transition: all 0.3s;
  cursor: pointer;
}
.rank-item:hover {
  border-color: var(--primary);
  transform: translateX(8px);
}
.rank-num {
  font-size: 1.5rem;
  font-weight: 900;
  width: 50px;
  text-align: center;
  color: var(--primary);
}
.rank-num.gold { color: #fbbf24; }
.rank-num.silver { color: #94a3b8; }
.rank-num.bronze { color: #d97706; }
.rank-poster {
  width: 60px;
  height: 80px;
  object-fit: cover;
  margin-right: 1rem;
  background: #2a1f22;
}
.rank-info {
  flex: 1;
}
.rank-info h6 {
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.rank-info .rank-meta {
  font-size: 0.8rem;
  color: #b0a0a0;
}

/* Coming soon */
.coming-card {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: transform 0.3s, border-color 0.3s;
  cursor: pointer;
}
.coming-card:hover {
  transform: scale(1.03);
  border-color: var(--accent);
}
.coming-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.coming-card:hover img {
  opacity: 0.8;
}
.coming-date {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  padding: 1.5rem 0.75rem 0.75rem;
  text-align: center;
}
.coming-date .date-tag {
  background: var(--primary);
  color: #fff;
  padding: 0.2rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* Accordion */
.custom-accordion .accordion-item {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 0;
  margin-bottom: 0.75rem;
}
.custom-accordion .accordion-button {
  background: transparent;
  color: var(--text);
  font-weight: 600;
  padding: 1.25rem;
  border: none;
  box-shadow: none;
  font-size: 1rem;
}
.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--accent);
  background: rgba(220, 38, 38, 0.1);
}
.custom-accordion .accordion-button:focus {
  box-shadow: none;
}
.custom-accordion .accordion-body {
  padding: 1rem 1.25rem;
  color: #d0c0c0;
  border-top: 2px solid var(--border-color);
}

/* Icons list */
.icon-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--card-bg);
  border-left: 4px solid var(--primary);
}
.icon-feature i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 4px;
}
.icon-feature h5 {
  font-weight: 700;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}
.icon-feature p {
  font-size: 0.9rem;
  color: #b0a0a0;
  margin: 0;
}

/* Footer */
.footer {
  background: #0d0a0c;
  border-top: 3px solid var(--primary);
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}
.footer-brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text) !important;
}
.footer-links a {
  display: inline-block;
  margin: 0 0.75rem 0.5rem;
  font-size: 0.9rem;
  color: #b0a0a0;
}
.footer-links a:hover {
  color: var(--accent);
}
.copyright {
  border-top: 1px solid #2a1f22;
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #706060;
}

/* Friends links */
.friends-links {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  padding: 1.5rem;
  margin-top: 2rem;
}
.friends-links h5 {
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.friends-links a {
  display: inline-block;
  margin: 0.3rem 1rem 0.3rem 0;
  color: #b0a0a0;
  font-size: 0.9rem;
}
.friends-links a:hover {
  color: var(--accent);
}

/* Utility */
.text-accent { color: var(--accent); }
.text-primary-c { color: var(--primary); }
.bg-card { background: var(--card-bg); }
.border-c { border-color: var(--border-color); }
.img-placeholder {
  background: linear-gradient(135deg, #2a1f22 0%, #1a1015 100%);
  position: relative;
}
.img-placeholder::after {
  content: '🎬';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.2;
}
.no-radius { border-radius: 0 !important; }

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.4rem; }
  .rank-poster { width: 50px; height: 70px; }
}

/* --- 子页面追加 --- */
/* 页面专属样式 */
        .about-hero { background: linear-gradient(135deg, rgba(20,16,19,.95) 0%, rgba(30,23,25,.85) 100%); padding: 80px 0 60px; border-bottom: 1px solid var(--border-color); }
.about-hero h1 { color: var(--text); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.5px; }
.about-hero h1 span { color: var(--primary); }
.about-hero p { color: rgba(254,242,242,.75); font-size: 1.15rem; max-width: 720px; margin: 16px auto 0; }
.about-section { padding: 60px 0; border-bottom: 1px solid var(--border-color); }
.about-section:last-of-type { border-bottom: none; }
.about-section .section-tag { color: var(--accent); font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.about-section h2 { color: var(--text); font-weight: 800; font-size: 1.9rem; margin-bottom: 20px; }
.about-section h2 i { color: var(--primary); margin-right: 8px; }
.about-section p, .about-section li { color: rgba(254,242,242,.8); line-height: 1.8; }
.about-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; height: 100%; transition: transform .3s ease; }
.about-card:hover { transform: translateY(-4px); }
.about-card .icon { font-size: 2rem; color: var(--accent); margin-bottom: 16px; }
.about-card h3 { color: var(--text); font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.about-card p { font-size: .95rem; }
.values-list { list-style: none; padding: 0; }
.values-list li { padding: 8px 0; border-bottom: 1px dashed rgba(58,42,45,.6); }
.values-list li:last-child { border-bottom: none; }
.values-list i { color: var(--accent); margin-right: 10px; }
.num-box { text-align: center; padding: 20px; }
.num-box .num { font-size: 2.8rem; font-weight: 900; color: var(--primary); line-height: 1; }
.num-box .label { color: rgba(254,242,242,.7); font-size: .9rem; margin-top: 8px; }
.about-cta { background: linear-gradient(135deg, rgba(220,38,38,.15) 0%, rgba(251,146,60,.1) 100%); border: 1px solid var(--border-color); border-radius: 16px; padding: 40px 30px; text-align: center; margin: 40px 0 0; }
.about-cta h3 { color: var(--text); font-weight: 800; margin-bottom: 12px; }
.about-cta p { color: rgba(254,242,242,.7); margin-bottom: 20px; }
.btn-custom { background: var(--primary); color: #fff; padding: 10px 30px; border-radius: 30px; font-weight: 600; text-decoration: none; transition: all .3s; border: none; }
.btn-custom:hover { background: var(--accent); color: #141013; transform: scale(1.03); }

/* --- 子页面追加 --- */
/* 确保页面底色与站点一致 */
        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }
/* 覆盖 Bootstrap 默认白底卡片/文本, 完全融入本站深色风格 */
        .card, .card-body, .card-header, .card-footer {
            background-color: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: var(--border-color) !important;
        }
.card-title, .card-text {
            color: var(--text) !important;
        }
.accordion-item, .accordion-button, .accordion-body {
            background-color: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: var(--border-color) !important;
        }
.list-group-item {
            background-color: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: var(--border-color) !important;
        }
.modal-content, .modal-header, .modal-body {
            background-color: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: var(--border-color) !important;
        }
/* 导航栏高亮当前页 */
        .nav-link-custom.active {
            color: var(--accent) !important;
            font-weight: 600;
        }
/* 小标题风格与首页一致 */
        .disclaimer-title {
            color: var(--accent);
            border-left: 4px solid var(--primary);
            padding-left: 0.75rem;
            margin-top: 2.5rem;
            margin-bottom: 1.5rem;
            font-weight: 700;
            letter-spacing: -0.01em;
        }
/* 正文段落样式 */
        .legal-text {
            color: rgba(254, 242, 242, 0.85);
            line-height: 1.8;
            font-size: 0.98rem;
        }
.legal-text strong {
            color: var(--text);
        }
/* 链接高亮 */
        .legal-text a {
            color: var(--accent);
            text-decoration: underline;
            text-underline-offset: 3px;
            text-decoration-color: rgba(251, 146, 60, 0.4);
        }
.legal-text a:hover {
            color: var(--primary);
        }
/* 列表样式 */
        .legal-list {
            padding-left: 1.25rem;
            color: rgba(254, 242, 242, 0.8);
        }
.legal-list li {
            margin-bottom: 0.5rem;
        }
.legal-list li::marker {
            color: var(--accent);
        }
/* 免责声明强调块 */
        .notice-box {
            background: rgba(220, 38, 38, 0.08);
            border: 1px solid rgba(220, 38, 38, 0.25);
            border-radius: 12px;
            padding: 1.25rem 1.5rem;
            margin: 2rem 0;
        }
.notice-box i {
            color: var(--primary);
            margin-right: 0.5rem;
        }

/* --- 子页面追加 --- */
.guide-hero { background: linear-gradient(135deg, rgba(220,38,38,.15) 0%, rgba(251,146,60,.1) 50%, rgba(20,16,19,.9) 100%); padding: 60px 0 30px; }
.guide-section { padding: 40px 0; border-bottom: 1px solid rgba(58,42,45,.4); }
.guide-section:last-child { border-bottom: none; }
.guide-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 28px; margin-bottom: 20px; transition: transform .3s ease, box-shadow .3s ease; }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.guide-card .step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.guide-card i { font-size: 28px; color: var(--accent); margin-bottom: 12px; }
.guide-card h3 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.guide-card p { font-size: 14px; line-height: 1.8; color: rgba(254,242,242,.75); margin-bottom: 0; }
.tip-box { background: rgba(251,146,60,.08); border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 20px 0; }
.tip-box p { color: rgba(254,242,242,.85); font-size: 14px; line-height: 1.8; margin-bottom: 0; }
.tip-box i { color: var(--accent); margin-right: 8px; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 10px; padding: 20px 24px; margin-bottom: 14px; }
.faq-item h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.faq-item h4 i { color: var(--primary); margin-right: 8px; }
.faq-item p { font-size: 14px; line-height: 1.8; color: rgba(254,242,242,.75); margin-bottom: 0; }
.quality-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.quality-table th, .quality-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(58,42,45,.4); font-size: 14px; }
.quality-table th { background: rgba(220,38,38,.1); color: var(--text); font-weight: 600; }
.quality-table td { color: rgba(254,242,242,.75); }
.quality-table tr:hover td { background: rgba(220,38,38,.05); }
.badge-tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; margin-right: 6px; }
.badge-tag.bd-primary { background: rgba(220,38,38,.15); color: var(--primary); border: 1px solid rgba(220,38,38,.3); }
.badge-tag.bd-accent { background: rgba(251,146,60,.15); color: var(--accent); border: 1px solid rgba(251,146,60,.3); }
.badge-tag.bd-default { background: rgba(255,255,255,.08); color: rgba(254,242,242,.8); border: 1px solid rgba(255,255,255,.15); }
.btn-guide { display: inline-block; padding: 10px 24px; background: var(--primary); color: #fff; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .3s ease; border: none; }
.btn-guide:hover { background: #b91c1c; color: #fff; }
.section-heading { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.section-heading span { color: var(--primary); }
.section-subtitle { font-size: 15px; color: rgba(254,242,242,.6); margin-bottom: 32px; }
.guide-hero { padding: 40px 0 20px; }
.guide-card { padding: 20px; }
.section-heading { font-size: 22px; }

/* --- 子页面追加 --- */
/* 排行榜页专属，完全沿用站点配色变量 */
    .rank-hero {
      background: linear-gradient(145deg, var(--bg) 0%, #1f1215 100%);
      border-bottom: 1px solid var(--border-color);
      padding: 2.5rem 0 1.8rem;
    }
.rank-hero .hero-badge {
      background: rgba(220,38,38,.15);
      color: var(--accent);
      border: 1px solid rgba(251,146,60,.3);
    }
.rank-title {
      font-size: 2.2rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text);
    }
.rank-sub {
      color: rgba(254,242,242,.75);
      font-size: 1rem;
      max-width: 720px;
    }
.rank-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: .5rem;
      margin: 1.8rem 0 1rem;
      border-bottom: 1px solid var(--border-color);
      padding-bottom: .75rem;
    }
.rank-tab {
      background: transparent;
      border: 1px solid var(--border-color);
      color: rgba(254,242,242,.7);
      padding: .4rem 1.2rem;
      border-radius: 30px;
      font-size: .85rem;
      font-weight: 500;
      transition: .2s;
      cursor: default;
    }
.rank-tab.active {
      background: var(--primary);
      border-color: var(--primary);
      color: #fff;
      font-weight: 600;
    }
.rank-tab i {
      margin-right: 6px;
      font-size: .8rem;
    }
.rank-card {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 1rem 1rem 1rem 1.2rem;
      margin-bottom: .8rem;
      transition: .15s;
      display: flex;
      align-items: center;
      gap: 1rem;
    }
.rank-card:hover {
      border-color: var(--accent);
      background: #251a1d;
    }
.rank-number {
      font-size: 1.6rem;
      font-weight: 900;
      width: 3rem;
      text-align: center;
      color: var(--accent);
      opacity: .9;
      flex-shrink: 0;
      letter-spacing: -0.02em;
    }
.rank-number.top1 {
      color: #fbbf24;
      font-size: 2rem;
    }
.rank-number.top2 {
      color: #cbd5e1;
      font-size: 1.8rem;
    }
.rank-number.top3 {
      color: #cd7f32;
      font-size: 1.7rem;
    }
.rank-name {
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--text);
      margin-bottom: .2rem;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
.rank-name .quality-tag {
      background: rgba(220,38,38,.25);
      color: var(--accent);
      font-size: .7rem;
      padding: .15rem .5rem;
      border-radius: 30px;
      font-weight: 600;
      flex-shrink: 0;
    }
.rank-meta i {
      font-size: .7rem;
      margin-right: 4px;
      color: var(--accent);
    }
.rank-score {
      background: var(--primary);
      color: #fff;
      font-weight: 700;
      padding: .25rem .8rem;
      border-radius: 30px;
      font-size: .9rem;
      min-width: 4rem;
      text-align: center;
      letter-spacing: .03em;
      flex-shrink: 0;
    }
.rank-progress {
      height: 4px;
      background: rgba(255,255,255,.08);
      border-radius: 10px;
      margin-top: .5rem;
      width: 100%;
      overflow: hidden;
    }
.rank-progress-bar {
      height: 100%;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      border-radius: 10px;
    }
.rank-badge-group {
      display: flex;
      gap: .5rem;
      flex-wrap: wrap;
      margin: 2rem 0 1.5rem;
    }
.rank-badge-item {
      background: rgba(30,23,25,.8);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: .6rem 1rem;
      font-size: .85rem;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: 8px;
    }
.rank-badge-item i {
      color: var(--accent);
    }
.ranking-section-title {
      font-size: 1.5rem;
      font-weight: 800;
      margin: 2rem 0 1.2rem;
      border-left: 5px solid var(--primary);
      padding-left: 1rem;
      letter-spacing: -0.01em;
    }
.ranking-section-title span {
      color: var(--accent);
    }
.footer-note {
      border-top: 1px solid var(--border-color);
      margin-top: 3rem;
      padding-top: 1.5rem;
      font-size: .9rem;
      color: rgba(254,242,242,.5);
    }
/* 覆盖 Bootstrap 卡片/列表默认白底，本页用到 card 的地方 */
    .card, .card-body {
      background: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--border-color) !important;
    }

/* --- 子页面追加 --- */
/* 本页专有样式（极少量，用于补充站点CSS未覆盖的细节） */
        .privacy-content { padding: 60px 0; }
.privacy-content h1 { font-weight: 800; font-size: 2.4rem; margin-bottom: 1.2rem; }
.privacy-content h2 { font-weight: 700; font-size: 1.6rem; margin-top: 2.2rem; margin-bottom: 1rem; }
.privacy-content h3 { font-weight: 600; font-size: 1.3rem; margin-top: 1.5rem; margin-bottom: 0.7rem; }
.privacy-content p, .privacy-content li { line-height: 1.8; color: rgba(254, 242, 242, 0.9); }
.privacy-content ul { padding-left: 1.3rem; }
.privacy-content strong { color: var(--accent); }
.privacy-content a { color: var(--accent); text-decoration: underline; }
.privacy-content a:hover { color: #fff; }
.privacy-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 30px; margin-bottom: 24px; }
.privacy-card h3 { margin-top: 0; color: var(--text); }
.privacy-badge { display: inline-block; background: rgba(220, 38, 38, 0.2); border: 1px solid var(--primary); color: var(--accent); padding: 4px 12px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; margin-bottom: 15px; }
.list-styled { list-style: none; padding-left: 0; }
.list-styled li { padding-left: 1.5rem; position: relative; margin-bottom: 0.6rem; }
.list-styled li::before { content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent); position: absolute; left: 0; top: 2px; font-size: 0.9rem; }
.divider { border-top: 1px solid var(--border-color); margin: 2rem 0; }
.privacy-content { padding: 40px 0; }
.privacy-content h1 { font-size: 2rem; }
.privacy-card { padding: 20px; }
/* 确保bootstrap组件不破坏配色（仅用了栅格，但以防万一） */
        .card, .card-body { background: var(--card-bg) !important; color: var(--text) !important; border-color: var(--border-color) !important; }

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