:root {
      --main: #dc2626;
      --accent: #fb923c;
      --bg: #141013;
      --text: #fef2f2;
      --card-bg: rgba(30, 20, 25, 0.8);
      --radius: 8px;
      --shadow: 0 8px 20px rgba(0,0,0,0.3);
    }
    * { box-sizing: border-box; }
    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      overflow-x: hidden;
    }
    h1,h2,h3,.brand-font {
      font-family: 'Inter', sans-serif;
      font-weight: 900;
      letter-spacing: 1px;
    }
    /* 手写圆体感标题 */
    .cursive-font {
      font-family: 'Comic Sans MS', 'Chalkboard SE', 'Inter', cursive;
      font-weight: 800;
    }
    /* 背景光晕 */
    body::before {
      content: '';
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: radial-gradient(circle at 30% 20%, rgba(220,38,38,0.2), transparent 40%),
                  radial-gradient(circle at 80% 60%, rgba(251,146,60,0.1), transparent 40%);
      pointer-events: none;
      z-index: 0;
    }
    .navbar, .hero-section, .section-block, footer { position: relative; z-index: 2; }
    a { color: var(--accent); text-decoration: none; }
    .btn-brand {
      background: linear-gradient(135deg, var(--main), var(--accent));
      border: none;
      color: white;
      border-radius: 50rem;
      padding: 8px 22px;
      font-weight: 600;
      background-size: 200% auto;
      transition: 0.4s;
      box-shadow: 0 4px 12px rgba(220,38,38,0.4);
    }
    .btn-brand:hover {
      background-position: right center;
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(220,38,38,0.6);
    }
    .nav-link { color: var(--text) !important; font-weight: 500; }
    .nav-link:hover { color: var(--accent) !important; }
    .navbar-brand { font-size: 1.8rem; font-weight: 800; color: var(--text) !important; }
    .navbar { background: rgba(20,16,19,0.85); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(251,146,60,0.2); }
    /* 标签云 */
    .tag-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin: 20px 0 30px;
    }
    .tag-cloud .badge {
      background: rgba(220,38,38,0.25);
      color: var(--text);
      padding: 8px 20px;
      border-radius: 50rem;
      border: 1px solid rgba(251,146,60,0.3);
      font-weight: 500;
      transition: 0.2s;
    }
    .tag-cloud .badge:hover { background: rgba(251,146,60,0.4); border-color: var(--accent); transform: scale(1.05); }
    /* 海报卡片 */
    .movie-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform 0.3s, box-shadow 0.3s;
      height: 100%;
      cursor: pointer;
      backdrop-filter: blur(2px);
      border: 1px solid rgba(255,255,255,0.06);
      opacity: 0;
      transform: translateY(30px);
      animation: fadeUp 0.6s forwards;
    }
    @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
    .movie-card:hover { transform: translateY(-6px); box-shadow: 0 18px 30px rgba(0,0,0,0.5); }
    .movie-card img {
      width: 100%;
      aspect-ratio: 2/3;
      object-fit: cover;
      background: #2a1f23;
      transition: transform 0.4s;
    }
    .movie-card:hover img { transform: scale(1.04); }
    .movie-info { padding: 12px; }
    .movie-title { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
    .movie-meta { font-size: 0.8rem; color: rgba(254,242,242,0.65); }
    .rating { color: var(--accent); font-weight: 800; font-size: 0.9rem; }
    /* 区块头 */
    .section-title {
      border-left: 6px solid var(--main);
      padding-left: 14px;
      margin-bottom: 24px;
      font-weight: 800;
      font-size: 1.8rem;
    }
    .section-title small { color: var(--accent); font-size: 0.9rem; font-weight: 400; margin-left: 10px; }
    /* 胶囊分类 */
    .cat-pill {
      background: transparent;
      border: 1px solid rgba(251,146,60,0.4);
      color: var(--text);
      padding: 6px 18px;
      border-radius: 50rem;
      font-weight: 500;
      transition: 0.2s;
      margin: 0 5px 10px 0;
      display: inline-block;
    }
    .cat-pill:hover, .cat-pill.active { background: var(--main); border-color: var(--main); color: #fff; }
    /* 排行榜金银铜 */
    .rank-badge {
      width: 28px; height: 28px; border-radius: 50%;
      display: inline-flex; align-items: center; justify-content: center;
      font-weight: 800; font-size: 0.85rem; margin-right: 8px;
    }
    .rank-1 { background: #ffd700; color: #1a1a1a; }
    .rank-2 { background: #c0c0c0; color: #1a1a1a; }
    .rank-3 { background: #cd7f32; color: #1a1a1a; }
    /* 时间线 */
    .timeline-list { position: relative; padding-left: 20px; }
    .timeline-item { position: relative; padding-bottom: 18px; padding-left: 15px; border-left: 2px solid var(--accent); }
    .timeline-item::before {
      content: ''; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px;
      background: var(--accent); border-radius: 50%;
    }
    /* 弹窗沉浸 */
    .custom-modal {
      position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px);
      display: none; align-items: center; justify-content: center; z-index: 9999;
    }
    .modal-content-box {
      background: rgba(20,16,19,0.9);
      border-radius: 16px;
      max-width: 600px;
      width: 90%;
      padding: 24px;
      border: 1px solid rgba(251,146,60,0.4);
      position: relative;
      color: white;
      box-shadow: 0 30px 60px rgba(0,0,0,0.7);
    }
    .modal-content-box h4 { color: var(--accent); }
    .close-btn { position: absolute; top: 12px; right: 16px; font-size: 28px; cursor: pointer; color: #aaa; }
    .close-btn:hover { color: white; }
    /* footer */
    .footer-link { color: rgba(254,242,242,0.7); }
    .footer-link:hover { color: var(--accent); }
    .friend-links { background: rgba(255,255,255,0.03); padding: 30px 0; margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.06); }
    /* 懒加载渐显 */
    img { opacity: 0; transition: opacity 0.4s; }
    img.loaded { opacity: 1; }
    /* 错落延迟 */
    .movie-card:nth-child(odd) { animation-delay: 0.1s; }
    .movie-card:nth-child(even) { animation-delay: 0.3s; }

/* --- 子页面追加 --- */
/* 仅用于本页个性化微调，所有变量继承自 :root */
        .about-hero {
            background: linear-gradient(145deg, rgba(20,16,19,0.9) 0%, rgba(44,20,25,0.95) 100%);
            border-bottom: 1px solid rgba(251,146,60,0.15);
            padding: 3rem 0 2.5rem;
        }
.about-hero h1 {
            font-weight: 800;
            letter-spacing: -0.02em;
        }
.about-hero .lead {
            color: rgba(254,242,242,0.85);
            max-width: 700px;
        }
.feature-emoji {
            font-size: 2rem;
            margin-right: 0.75rem;
            vertical-align: middle;
            filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
        }
.friend-badge {
            background: rgba(220,38,38,0.1);
            color: var(--accent);
            border: 1px solid rgba(251,146,60,0.3);
        }
.footer-link, .friend-links a {
            color: rgba(254,242,242,0.7);
        }
.footer-link:hover, .friend-links a:hover {
            color: var(--accent);
        }
/* Bootstrap 组件覆盖（navbar/卡片等，确保无白底） */
        .navbar, .navbar-brand, .navbar-nav .nav-link {
            background: transparent !important;
            color: var(--text) !important;
        }
.navbar-toggler {
            background: rgba(30,20,25,0.6);
        }
.card, .card-body, .card-header, .card-footer {
            background: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: rgba(220,38,38,0.2) !important;
        }
.form-control, .form-select {
            background: rgba(0,0,0,0.35) !important;
            color: var(--text) !important;
            border-color: rgba(220,38,38,0.2) !important;
        }
.form-control::placeholder {
            color: rgba(255,255,255,0.4) !important;
        }
.list-group-item {
            background: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: rgba(220,38,38,0.2) !important;
        }
/* 确保全局背景 */
        body {
            background: var(--bg);
            color: var(--text);
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
        }
.brand-font, .cursive-font {
            font-weight: 700;
        }
.navbar-brand i {
            color: var(--accent);
        }
.rank-badge, .rank-1, .rank-2, .rank-3 {
            background-color: rgba(220,38,38,0.15);
            color: var(--accent);
        }

/* --- 子页面追加 --- */
/* 排行榜专属微调 —— 复用站点变量，仅做少量定制 */
        .ranking-hero {
            padding: 2.2rem 0 1.2rem;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            margin-bottom: 2rem;
        }
.rank-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem 1.5rem;
            margin: 1.8rem 0 1.2rem;
            border-bottom: 1px solid rgba(220,38,38,0.25);
            padding-bottom: 0.8rem;
        }
.rank-tabs a {
            color: var(--text);
            opacity: 0.75;
            font-weight: 500;
            text-decoration: none;
            font-size: 1.1rem;
            padding: 0.2rem 0;
            border-bottom: 2px solid transparent;
            transition: 0.2s;
        }
.rank-tabs a:hover,
        .rank-tabs a.active {
            opacity: 1;
            border-bottom-color: var(--accent);
            color: var(--text);
        }
.rank-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 1.2rem 1.5rem;
            margin-bottom: 1.5rem;
            border-left: 3px solid var(--main);
            transition: 0.2s;
        }
.rank-card:hover {
            border-left-color: var(--accent);
            background: rgba(40, 25, 30, 0.85);
        }
.rank-number {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--accent);
            min-width: 55px;
            display: inline-block;
            letter-spacing: -0.5px;
        }
.rank-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text);
            line-height: 1.4;
        }
.rank-meta {
            color: rgba(254,242,242,0.6);
            font-size: 0.95rem;
            margin: 0.25rem 0 0.6rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.3rem 1rem;
        }
.rank-meta i {
            color: var(--accent);
            margin-right: 4px;
            width: 16px;
        }
.rank-desc {
            color: rgba(254,242,242,0.75);
            font-size: 0.95rem;
            line-height: 1.6;
        }
.rank-badge.hot { background: var(--accent); color: #1a0f12; }
.rank-badge.up { background: #2a9d8f; }
.badge-group {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }
.section-title i {
            color: var(--accent);
            margin-right: 10px;
        }
.crown-icon {
            color: var(--accent);
            margin-right: 4px;
        }
/* 保持与首页一致 */
        .navbar-brand i {
            color: var(--accent);
        }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .disclaimer-hero {
            background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(251, 146, 60, 0.08) 100%);
            border: 1px solid rgba(220, 38, 38, 0.2);
            border-radius: var(--radius);
            padding: 3rem 2rem;
            margin-bottom: 3rem;
            text-align: center;
        }
.disclaimer-hero h1 {
            color: var(--text);
            font-weight: 800;
            font-size: 2.2rem;
            margin-bottom: 1rem;
        }
.disclaimer-hero p {
            color: rgba(254, 242, 242, 0.7);
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.05rem;
            line-height: 1.8;
        }
.section-box {
            background: var(--card-bg);
            border-radius: var(--radius);
            border: 1px solid rgba(220, 38, 38, 0.15);
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
        }
.section-box h2 {
            color: var(--accent);
            font-weight: 700;
            font-size: 1.4rem;
            margin-bottom: 1.2rem;
            padding-bottom: 0.8rem;
            border-bottom: 2px solid rgba(220, 38, 38, 0.3);
            position: relative;
        }
.section-box h2::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 60px;
            height: 2px;
            background: var(--accent);
        }
.section-box p {
            color: rgba(254, 242, 242, 0.8);
            line-height: 1.8;
            margin-bottom: 1rem;
            font-size: 0.95rem;
        }
.section-box ul {
            color: rgba(254, 242, 242, 0.8);
            line-height: 1.8;
            padding-left: 1.5rem;
            margin-bottom: 1rem;
        }
.section-box ul li {
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }
.section-box ul li strong {
            color: var(--accent);
        }
.highlight-box {
            background: rgba(220, 38, 38, 0.1);
            border-left: 4px solid var(--main);
            padding: 1rem 1.5rem;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 1.5rem 0;
        }
.highlight-box p {
            margin-bottom: 0;
            font-style: italic;
        }
.last-updated {
            color: rgba(254, 242, 242, 0.5);
            font-size: 0.85rem;
            text-align: right;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(220, 38, 38, 0.2);
        }
.notice-icon {
            color: var(--accent);
            margin-right: 0.5rem;
        }
.disclaimer-hero h1 {
                font-size: 1.6rem;
            }
.section-box {
                padding: 1.5rem;
            }
.section-box h2 {
                font-size: 1.2rem;
            }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件不破坏本站深色风格 */
    .card, .card-body, .card-title, .card-text, .list-group-item,
    .accordion-item, .accordion-button, .accordion-body, .modal-content,
    .form-control, .form-select, .input-group-text {
      background: var(--card-bg);
      color: var(--text);
      border-color: rgba(220, 38, 38, 0.25);
    }
.accordion-button:not(.collapsed) {
      background: rgba(220, 38, 38, 0.15);
      color: var(--text);
    }
.accordion-button::after {
      filter: invert(1) hue-rotate(15deg);
    }
/* 隐私页特有微调：让内容更清晰 */
    .privacy-block {
      background: var(--card-bg);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 1.5rem 1.8rem;
      border: 1px solid rgba(220, 38, 38, 0.2);
    }
.privacy-block h2, .privacy-block h3 {
      color: var(--accent);
      border-left: 4px solid var(--main);
      padding-left: 1rem;
      margin-top: 1.8rem;
      margin-bottom: 1rem;
      font-weight: 700;
    }
.privacy-block h2:first-of-type {
      margin-top: 0.5rem;
    }
.privacy-block p, .privacy-block li {
      color: var(--text);
      opacity: 0.92;
      line-height: 1.7;
    }
.privacy-block a {
      color: var(--accent);
      text-decoration: underline;
      text-underline-offset: 3px;
    }
.privacy-block a:hover {
      color: var(--main);
    }
.privacy-badge {
      background: rgba(220, 38, 38, 0.15);
      padding: 0.3rem 1rem;
      border-radius: 30px;
      display: inline-block;
      font-size: 0.85rem;
      color: var(--accent);
      border: 1px solid rgba(251, 146, 60, 0.4);
    }
/* 确保导航 active 状态 */
    .navbar .nav-link.active {
      color: var(--accent) !important;
      font-weight: 600;
    }