:root {
      --primary: #2563eb;
      --accent: #06b6d4;
      --bg: #f4f8ff;
      --text: #0f1e3d;
      --card-bg: #ffffff;
      --radius-card: 16px;
      --shadow-card: 0 8px 24px rgba(15, 30, 61, 0.08);
      --shadow-hover: 0 16px 36px rgba(37, 99, 235, 0.15);
    }

    * { box-sizing: border-box; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
      line-height: 1.6;
    }

    /* 思源宋体/黑体模拟: 用本地fallback */
    h1, h2, h3, .font-serif { font-family: 'Times New Roman', 'Songti SC', 'SimSun', serif; font-weight: 700; }
    body, p, a, li, span { font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif; }

    .navbar {
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid #eef2f9;
    }

    .navbar-brand {
      font-weight: 800;
      color: var(--primary) !important;
      font-size: 1.6rem;
      letter-spacing: -0.5px;
    }
    .navbar-brand i { color: var(--accent); margin-right: 6px; }

    .nav-link {
      font-weight: 500;
      color: var(--text) !important;
      margin: 0 8px;
      border-radius: 30px;
      padding: 6px 16px !important;
    }
    .nav-link:hover { background: rgba(37, 99, 235, 0.06); color: var(--primary) !important; }

    .btn-round { border-radius: 50px !important; }
    .btn-primary-custom {
      background: var(--primary);
      border: none;
      padding: 10px 28px;
      font-weight: 600;
    }
    .btn-outline-custom {
      border: 2px solid var(--primary);
      color: var(--primary);
      background: transparent;
      padding: 8px 26px;
      font-weight: 600;
    }
    .btn-outline-custom:hover { background: var(--primary); color: #fff; }

    .hero-title {
      font-size: 3.2rem;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -1px;
    }
    .hero-sub {
      font-size: 1.2rem;
      color: #4a5a7a;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 700;
      border-left: 6px solid var(--accent);
      padding-left: 16px;
      margin: 32px 0 20px;
    }

    .card-movie {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      transition: all 0.25s ease;
      border: 1px solid #eef2f9;
      overflow: hidden;
      cursor: pointer;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .card-movie:hover {
      transform: scale(1.02) translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: var(--primary);
    }

    .poster-wrapper {
      position: relative;
      aspect-ratio: 2 / 3;
      background: #e9effa;
      overflow: hidden;
    }
    .poster-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: opacity 0.3s;
    }
    .badge-quality {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(15,30,61,0.7);
      color: white;
      padding: 4px 8px;
      border-radius: 12px;
      font-size: 0.7rem;
      font-weight: 700;
      backdrop-filter: blur(4px);
    }
    .card-movie .card-body {
      padding: 12px;
      flex: 1;
    }
    .card-movie .card-title {
      font-weight: 700;
      font-size: 1rem;
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .meta-info {
      font-size: 0.8rem;
      color: #6b7a99;
    }

    .score {
      color: var(--primary);
      font-weight: 700;
    }

    .carousel-placeholder { 
      background: linear-gradient(145deg, #e6efff, #f4f8ff);
      border-radius: 32px;
      padding: 48px 32px;
      text-align: center;
    }

    .footer {
      background: #ffffff;
      border-top: 1px solid #eef2f9;
      padding: 40px 0 20px;
      color: #5a6a8a;
    }
    .footer a { color: var(--primary); text-decoration: none; }

    .accordion-button:not(.collapsed) {
      background-color: rgba(37,99,235,0.05);
      color: var(--primary);
    }

    .friend-links a {
      margin-right: 20px;
      color: var(--text);
      opacity: 0.7;
      font-size: 0.9rem;
      text-decoration: none;
    }
    .friend-links a:hover { opacity: 1; color: var(--primary); }

    /* 抽屉弹窗 */
    .drawer-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15,30,61,0.5);
      z-index: 1090;
      display: none;
      align-items: flex-end;
      justify-content: center;
      backdrop-filter: blur(3px);
    }
    .drawer-panel {
      background: white;
      width: 100%;
      max-width: 700px;
      border-radius: 24px 24px 0 0;
      padding: 28px 24px 32px;
      box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
      animation: slideUp 0.3s ease;
      margin: 0 auto;
      position: relative;
    }
    @keyframes slideUp {
      from { transform: translateY(100%); }
      to { transform: translateY(0); }
    }
    .drawer-close {
      position: absolute;
      top: 16px;
      right: 20px;
      background: none;
      border: none;
      font-size: 1.8rem;
      line-height: 1;
      color: #0f1e3d;
      cursor: pointer;
    }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件不出现白底黑字破坏深色/浅色视觉 */
        .card, .card-body, .card-header, .card-footer {
            background: var(--card-bg, #ffffff);
            color: var(--text, #0f1e3d);
            border-color: rgba(37, 99, 235, 0.12);
        }
.list-group-item {
            background: var(--card-bg, #ffffff);
            color: var(--text, #0f1e3d);
            border-color: rgba(37, 99, 235, 0.1);
        }
.form-control, .form-select {
            background: rgba(255, 255, 255, 0.8);
            color: var(--text, #0f1e3d);
            border-color: rgba(37, 99, 235, 0.2);
        }
.form-control::placeholder {
            color: rgba(15, 30, 61, 0.5);
        }
/* 排行榜徽章、卡片细节 */
        .rank-badge {
            background: var(--primary);
            color: #fff;
            font-weight: 700;
            border-radius: 10px;
            padding: 0.25rem 0.8rem;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
        }
.rank-item {
            background: var(--card-bg);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
            transition: transform .2s, box-shadow .2s;
            border: 1px solid rgba(37, 99, 235, 0.08);
        }
.rank-item:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
.rank-number {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1;
            min-width: 3rem;
        }
.trend-up { color: #10b981; font-weight: 600; }
.trend-down { color: #ef4444; font-weight: 600; }
.trend-flat { color: #6b7280; font-weight: 500; }
.badge-cat {
            background: rgba(6, 182, 212, 0.12);
            color: var(--accent);
            font-weight: 600;
            padding: 0.3rem 0.8rem;
            border-radius: 30px;
            font-size: 0.75rem;
            letter-spacing: 0.3px;
        }
.section-title-extra {
            border-left: 5px solid var(--primary);
            padding-left: 0.75rem;
            font-weight: 700;
            letter-spacing: -0.3px;
        }
.navbar .nav-link.active {
            font-weight: 600;
            color: var(--primary) !important;
        }
footer a:hover { opacity: 1; }

/* --- 子页面追加 --- */
/* 关于页面专属样式 */
        .about-hero {
            padding: 80px 0 60px;
            background: linear-gradient(135deg, var(--bg) 0%, rgba(37, 99, 235, 0.08) 100%);
        }
.about-card {
            background: var(--card-bg);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
            padding: 40px;
            margin-bottom: 30px;
            transition: box-shadow 0.3s ease;
        }
.about-card:hover {
            box-shadow: var(--shadow-hover);
        }
.about-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #fff;
            margin-bottom: 20px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
        }
.about-tag {
            display: inline-block;
            padding: 6px 16px;
            background: rgba(37, 99, 235, 0.1);
            color: var(--primary);
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            margin: 4px 8px 4px 0;
        }
.feature-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.feature-list li {
            padding: 8px 0;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            color: var(--text);
            font-size: 15px;
            line-height: 1.6;
        }
.feature-list li i {
            color: var(--primary);
            margin-top: 4px;
            font-size: 14px;
        }
.timeline {
            position: relative;
            padding-left: 24px;
            border-left: 2px solid rgba(37, 99, 235, 0.2);
        }
.timeline-item {
            position: relative;
            margin-bottom: 24px;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -31px;
            top: 6px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--primary);
            border: 2px solid var(--bg);
        }
.timeline-item h4 {
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 4px;
        }
.timeline-item p {
            font-size: 14px;
            color: rgba(15, 30, 61, 0.7);
            line-height: 1.6;
            margin: 0;
        }
.stat-box {
            text-align: center;
            padding: 24px 16px;
            background: var(--card-bg);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
        }
.stat-number {
            font-size: 32px;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
        }
.stat-label {
            font-size: 14px;
            color: rgba(15, 30, 61, 0.6);
            margin-top: 8px;
        }
.update-schedule {
            background: rgba(37, 99, 235, 0.04);
            border-radius: 12px;
            padding: 16px 20px;
            margin-top: 16px;
        }
.update-schedule span {
            display: inline-block;
            padding: 4px 12px;
            background: var(--card-bg);
            border-radius: 16px;
            font-size: 13px;
            font-weight: 600;
            color: var(--primary);
            margin: 4px;
            box-shadow: 0 2px 8px rgba(15, 30, 61, 0.06);
        }
.about-card {
                padding: 24px;
            }
.stat-number {
                font-size: 24px;
            }
.about-hero {
                padding: 50px 0 40px;
            }

/* --- 子页面追加 --- */
/* 本页专属样式 - 免责声明页 */
        .disclaimer-hero {
            padding: 70px 0 40px;
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.05) 100%);
            border-bottom: 1px solid rgba(37, 99, 235, 0.1);
        }
.disclaimer-hero h1 {
            font-weight: 800;
            color: var(--text);
            font-size: 2.2rem;
            margin-bottom: 12px;
        }
.disclaimer-hero p {
            color: rgba(15, 30, 61, 0.65);
            font-size: 1.05rem;
            max-width: 720px;
            margin: 0 auto;
        }
.disclaimer-content {
            padding: 50px 0 70px;
        }
.disclaimer-section {
            background: var(--card-bg);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
            padding: 32px 36px;
            margin-bottom: 28px;
            transition: box-shadow 0.3s ease;
        }
.disclaimer-section:hover {
            box-shadow: var(--shadow-hover);
        }
.disclaimer-section h2 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.disclaimer-section h2 i {
            color: var(--accent);
            font-size: 1.1rem;
        }
.disclaimer-section p, .disclaimer-section li {
            color: rgba(15, 30, 61, 0.8);
            line-height: 1.8;
            font-size: 0.95rem;
        }
.disclaimer-section ul {
            padding-left: 20px;
        }
.disclaimer-section li {
            margin-bottom: 8px;
        }
.highlight-box {
            background: rgba(37, 99, 235, 0.05);
            border-left: 4px solid var(--primary);
            padding: 16px 20px;
            border-radius: 8px;
            margin: 18px 0;
        }
.highlight-box p {
            margin-bottom: 0;
            color: var(--text);
        }
.last-updated {
            text-align: center;
            color: rgba(15, 30, 61, 0.5);
            font-size: 0.85rem;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid rgba(37, 99, 235, 0.1);
        }
.disclaimer-hero h1 {
                font-size: 1.6rem;
            }
.disclaimer-section {
                padding: 24px 20px;
            }
.disclaimer-section h2 {
                font-size: 1.15rem;
            }

/* --- 子页面追加 --- */
/* 本页专属微调 —— 复用站点CSS变量，仅做布局与间距微调 */
    .privacy-hero {
      background: linear-gradient(145deg, rgba(37,99,235,0.06) 0%, rgba(6,182,212,0.04) 100%);
      border-radius: var(--radius-card);
      padding: 2.5rem 2rem;
      margin: 2rem 0 2.5rem;
      box-shadow: var(--shadow-card);
    }
.privacy-hero h1 {
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text);
    }
.privacy-hero .lead {
      color: #334155;
      max-width: 720px;
    }
.section-title--privacy {
      font-size: 1.75rem;
      font-weight: 700;
      margin-top: 3rem;
      margin-bottom: 1.25rem;
      border-left: 4px solid var(--primary);
      padding-left: 1rem;
      color: var(--text);
    }
.privacy-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      padding: 1.75rem 1.75rem 1.5rem;
      margin-bottom: 1.5rem;
      border: 1px solid rgba(15, 30, 61, 0.04);
      transition: box-shadow 0.2s ease;
    }
.privacy-card:hover {
      box-shadow: var(--shadow-hover);
    }
.privacy-card h3 {
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 0.75rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
.privacy-card p, .privacy-card ul {
      color: #1e293b;
      font-size: 0.98rem;
      line-height: 1.7;
    }
.privacy-card ul {
      padding-left: 1.2rem;
    }
.privacy-card li {
      margin-bottom: 0.4rem;
    }
.privacy-card i {
      color: var(--accent);
      width: 1.6rem;
      text-align: center;
    }
.privacy-card .highlight {
      background: rgba(6, 182, 212, 0.08);
      padding: 0.2rem 0.5rem;
      border-radius: 6px;
      font-weight: 500;
    }
.table-consent {
      background: transparent;
      border-collapse: separate;
      border-spacing: 0 0.4rem;
    }
.table-consent td {
      border: none;
      padding: 0.75rem 0.2rem;
      vertical-align: middle;
    }
.table-consent .status-badge {
      display: inline-block;
      background: rgba(37, 99, 235, 0.12);
      color: var(--primary);
      padding: 0.2rem 0.8rem;
      border-radius: 30px;
      font-size: 0.8rem;
      font-weight: 600;
    }
.table-consent .status-badge.opt-out {
      background: rgba(100, 116, 139, 0.1);
      color: #475569;
    }
.footer-links a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      margin-right: 1.2rem;
      transition: color 0.2s;
    }
.footer-links a:hover {
      color: #fff;
      text-decoration: underline;
    }
/* 导航高亮隐私页 */
    .nav-link.active {
      color: var(--primary) !important;
      font-weight: 600;
    }