:root {
      --main: #06b6d4;
      --accent: #ec4899;
      --bg: #0c0a1a;
      --text: #e0f2fe;
      --card-bg: #151229;
      --border-line: rgba(6, 182, 212, 0.2);
      --radius: 8px;
      --shadow: 0 4px 20px rgba(0,0,0,0.45);
    }
    * { 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.5;
      font-size: 15px;
    }
    /* 滚动进度条 */
    #scrollProgress {
      position: fixed; top: 0; left: 0;
      height: 3px; width: 0%;
      background: linear-gradient(90deg, var(--main), var(--accent));
      z-index: 9999;
      transition: width 0.1s;
    }
    /* 导航 */
    .navbar-daily {
      background: rgba(12, 10, 26, 0.85);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border-line);
      padding: 0.6rem 1rem;
      z-index: 1040;
    }
    .navbar-brand-daily {
      font-weight: 800;
      font-size: 1.4rem;
      color: var(--text) !important;
      letter-spacing: -0.02em;
    }
    .navbar-brand-daily i { color: var(--accent); margin-right: 6px; }
    .nav-link-custom {
      color: var(--text) !important;
      font-weight: 500;
      margin: 0 0.8rem;
      font-size: 0.95rem;
      transition: 0.2s;
    }
    .nav-link-custom:hover { color: var(--main) !important; }
    .btn-hamburger { border: 1px solid var(--border-line); }
    /* hero 关键词云 */
    .hero-tags {
      background: linear-gradient(145deg, #110d2b 0%, #1a1537 100%);
      padding: 2.2rem 1rem 1.8rem;
      text-align: center;
      border-bottom: 1px solid var(--border-line);
    }
    .hero-tags .tag-cloud {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem 1.5rem;
      max-width: 900px;
      margin: 0 auto;
    }
    .hero-tags span {
      background: rgba(6, 182, 212, 0.08);
      border: 1px solid var(--border-line);
      padding: 0.3rem 1rem;
      border-radius: 30px;
      font-weight: 500;
      font-size: 1rem;
      color: var(--text);
      letter-spacing: 0.02em;
    }
    .hero-tags .highlight-tag { color: var(--accent); border-color: rgba(236,72,153,0.4); }
    /* 区块通用 */
    .section-title {
      font-weight: 800;
      font-size: 1.5rem;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      border-left: 5px solid var(--accent);
      padding-left: 0.8rem;
    }
    .section-title i { color: var(--main); }
    .section-sub { color: #8b9bb4; font-size: 0.9rem; }
    .card-film {
      background: var(--card-bg);
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.06);
      transition: all 0.2s ease;
      cursor: pointer;
      height: 100%;
    }
    .card-film:hover {
      transform: scale(1.02);
      border-color: var(--main);
      box-shadow: var(--shadow);
    }
    .card-film img {
      width: 100%;
      aspect-ratio: 2/3;
      object-fit: cover;
      background: #1c1833;
    }
    .card-film .info {
      padding: 0.6rem 0.8rem 0.8rem;
    }
    .card-film .title { font-weight: 700; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .card-film .meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: #8b9bb4; margin-top: 0.2rem; }
    .badge-score { background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 30px; font-size: 0.7rem; }
    /* 奖牌 */
    .gold-medal { background: #fbbf24; color: #0c0a1a; }
    .silver-medal { background: #cbd5e1; color: #0c0a1a; }
    .bronze-medal { background: #d97706; color: #fff; }
    .medal {
      display: inline-flex; align-items: center; justify-content: center;
      width: 24px; height: 24px; border-radius: 50%;
      font-weight: 800; font-size: 0.8rem; margin-right: 6px;
    }
    /* 对比表格 */
    .compare-table {
      background: var(--card-bg);
      border-radius: var(--radius);
      padding: 1rem;
      font-size: 0.9rem;
      border: 1px solid var(--border-line);
    }
    .compare-table .row-compare {
      display: flex; justify-content: space-between;
      border-bottom: 1px dashed rgba(255,255,255,0.1);
      padding: 0.5rem 0;
    }
    .compare-table .row-compare:last-child { border-bottom: none; }
    /* 编号清单 */
    .tips-list {
      list-style: none; padding-left: 0;
    }
    .tips-list li {
      margin-bottom: 0.8rem;
      display: flex; gap: 10px;
    }
    .tips-list li::before {
      content: counter(my-counter) ".";
      counter-increment: my-counter;
      color: var(--main);
      font-weight: 700;
    }
    ol.tips-list { counter-reset: my-counter; }
    /* 弹窗 */
    .modal-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.7);
      display: none; align-items: center; justify-content: center; z-index: 2000;
      backdrop-filter: blur(3px);
    }
    .modal-card {
      background: #1b1732;
      width: min(90%, 700px);
      border-radius: 16px;
      padding: 1.2rem;
      display: flex; gap: 1.2rem;
      position: relative;
      color: var(--text);
      max-height: 90vh;
      overflow-y: auto;
    }
    .modal-card img { width: 160px; height: 220px; object-fit: cover; border-radius: 8px; }
    .modal-close { position: absolute; top: 10px; right: 15px; font-size: 1.8rem; color: #aaa; cursor: pointer; }
    .modal-close:hover { color: #fff; }
    .modal-info h3 { font-weight: 700; }
    .modal-info p { font-size: 0.9rem; }
    @media (max-width: 576px) {
      .modal-card { flex-direction: column; align-items: center; text-align: center; }
      .modal-card img { width: 120px; height: 180px; }
    }
    /* 数字滚动 */
    .stat-number { font-weight: 800; font-size: 2rem; color: var(--main); }
    /* 底部友链 */
    .friend-links {
      background: #120f24;
      border-top: 1px solid var(--border-line);
      padding: 2rem 0;
    }
    .footer-links a { color: #8b9bb4; text-decoration: none; margin-right: 1rem; }
    .footer-links a:hover { color: var(--main); }
    .small-note { font-size: 0.8rem; color: #6c7a96; }

/* --- 子页面追加 --- */
/* 保证所有卡片、表格背景深色，文字浅色 */
    .card, .card-body, .card-header, .card-footer,
    .list-group-item, .accordion-item, .accordion-button,
    .form-control, .form-select, .modal-content, .modal-header, .modal-body, .dropdown-menu {
      background-color: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--border-line) !important;
    }
.accordion-button:not(.collapsed) {
      background-color: rgba(6, 182, 212, 0.1) !important;
      color: var(--main) !important;
    }
.accordion-button::after {
      filter: invert(1) hue-rotate(180deg); /* 让箭头在深色下可见 */
    }
.table {
      --bs-table-bg: transparent;
      --bs-table-color: var(--text);
      --bs-table-border-color: var(--border-line);
    }
.table-hover > tbody > tr:hover > * {
      background-color: rgba(6, 182, 212, 0.08);
      color: var(--text);
    }
.btn-outline-cyan {
      border-color: var(--main);
      color: var(--main);
    }
.btn-outline-cyan:hover {
      background-color: var(--main);
      color: #fff;
    }
/* 指南页自定义小标题强调 */
    .guide-highlight {
      color: var(--accent);
    }
.step-number {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background-color: var(--main);
      color: #0c0a1a;
      font-weight: 700;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      margin-right: 8px;
    }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .disclaimer-hero {
            padding: 100px 0 50px;
            background: linear-gradient(135deg, rgba(6,182,212,0.05) 0%, rgba(236,72,153,0.03) 100%);
        }
.disclaimer-section {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: var(--radius);
            padding: 30px;
            margin-bottom: 24px;
            box-shadow: var(--shadow);
        }
.disclaimer-section h2 {
            color: var(--main);
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 16px;
            border-left: 4px solid var(--main);
            padding-left: 14px;
        }
.disclaimer-section h3 {
            color: var(--text);
            font-size: 1.1rem;
            font-weight: 600;
            margin: 20px 0 10px;
        }
.disclaimer-section p {
            color: rgba(224, 242, 254, 0.85);
            line-height: 1.8;
            font-size: 0.95rem;
            margin-bottom: 12px;
        }
.disclaimer-section ul, .disclaimer-section ol {
            color: rgba(224, 242, 254, 0.85);
            padding-left: 20px;
            margin-bottom: 15px;
        }
.disclaimer-section li {
            margin-bottom: 8px;
            line-height: 1.7;
            font-size: 0.95rem;
        }
.disclaimer-section strong {
            color: var(--text);
        }
.disclaimer-section a {
            color: var(--main);
            text-decoration: none;
            border-bottom: 1px dashed var(--main);
        }
.disclaimer-section a:hover {
            color: var(--accent);
            border-bottom-color: var(--accent);
        }
.notice-box {
            background: rgba(6, 182, 212, 0.08);
            border: 1px solid var(--border-line);
            border-radius: 8px;
            padding: 18px 20px;
            margin: 20px 0;
            border-left: 4px solid var(--main);
        }
.notice-box p {
            margin-bottom: 6px;
            color: rgba(224, 242, 254, 0.9);
        }
.warning-box {
            background: rgba(236, 72, 153, 0.06);
            border: 1px solid rgba(236, 72, 153, 0.2);
            border-radius: 8px;
            padding: 18px 20px;
            margin: 20px 0;
            border-left: 4px solid var(--accent);
        }
.warning-box p {
            margin-bottom: 6px;
            color: rgba(224, 242, 254, 0.9);
        }
.disclaimer-footer-note {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid var(--border-line);
            color: rgba(224, 242, 254, 0.5);
            font-size: 0.85rem;
        }

/* --- 子页面追加 --- */
.ranking-hero { padding: 40px 0 20px; }
.ranking-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.ranking-hero .subtitle { color: var(--text); opacity: 0.8; font-size: 0.95rem; }
.rank-section { margin-bottom: 45px; }
.rank-section .section-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.rank-section .section-header i { color: var(--main); font-size: 1.2rem; }
.rank-table { width: 100%; border-collapse: collapse; }
.rank-table th { text-align: left; padding: 12px 15px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); opacity: 0.7; border-bottom: 1px solid var(--border-line); }
.rank-table td { padding: 14px 15px; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
.rank-table tr:hover td { background: rgba(6,182,212,0.03); }
.rank-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px; font-weight: 700; font-size: 0.9rem; background: rgba(255,255,255,0.06); color: var(--text); }
.rank-num.gold { background: linear-gradient(135deg, #f6c945, #e8a020); color: #0c0a1a; }
.rank-num.silver { background: linear-gradient(135deg, #c0c0c0, #8e8e8e); color: #0c0a1a; }
.rank-num.bronze { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #0c0a1a; }
.rank-title { font-weight: 600; color: var(--text); display: block; font-size: 0.95rem; }
.rank-meta { font-size: 0.8rem; color: var(--text); opacity: 0.6; margin-top: 2px; }
.rank-score { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--accent); font-size: 0.95rem; }
.rank-tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; background: rgba(6,182,212,0.12); color: var(--main); }
.rank-tag.hot { background: rgba(236,72,153,0.12); color: var(--accent); }
.trend-up { color: #22c55e; font-size: 0.75rem; }
.trend-down { color: #ef4444; font-size: 0.75rem; }
.trend-flat { color: var(--text); opacity: 0.5; font-size: 0.75rem; }
.badge-score i { font-size: 0.7rem; }
.tips-box { background: var(--card-bg); border: 1px solid var(--border-line); border-radius: var(--radius); padding: 20px 25px; margin: 30px 0; }
.tips-box h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.tips-box p { font-size: 0.9rem; color: var(--text); opacity: 0.8; line-height: 1.8; }
.tips-box p i { color: var(--main); margin-right: 6px; }
.rank-table th, .rank-table td { padding: 10px 8px; }
.rank-title { font-size: 0.85rem; }
.rank-meta { font-size: 0.75rem; }
.ranking-hero h1 { font-size: 1.6rem; }

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