:root {
      --primary: #06b6d4;
      --accent: #ec4899;
      --bg: #0c0a1a;
      --text: #e0f2fe;
      --card-bg: #1a1830;
      --radius-lg: 24px;
      --radius-md: 18px;
      --shadow: 0 10px 30px -5px rgba(6, 182, 212, 0.15);
    }
    * { box-sizing: border-box; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Inter', system-ui, sans-serif;
      line-height: 1.7;
      scroll-behavior: smooth;
    }
    /* 滚动进度条 */
    #scrollProgress {
      position: fixed; top: 0; left: 0;
      height: 4px; width: 0%;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      z-index: 9999; border-radius: 4px;
    }
    /* 导航 */
    .navbar-custom {
      background: rgba(12, 10, 26, 0.8);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(6,182,212,0.15);
      border-radius: 0;
    }
    .navbar-brand {
      font-weight: 800;
      font-size: 1.8rem;
      color: var(--text) !important;
      letter-spacing: 1px;
    }
    .navbar-brand i { color: var(--primary); margin-right: 6px; }
    .nav-link {
      color: #b6c9e0 !important;
      margin: 0 12px;
      font-weight: 500;
    }
    .nav-link:hover { color: var(--primary) !important; }
    .btn-gradient {
      background: linear-gradient(145deg, var(--primary), var(--accent));
      border: none; color: #fff; font-weight: 600;
      padding: 8px 20px; border-radius: 50px;
      position: relative; overflow: hidden;
      transition: 0.3s;
    }
    .btn-gradient::after {
      content: ''; position: absolute; top: 0; left: -100%;
      width: 100%; height: 100%;
      background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
      animation: shimmer 3s infinite;
    }
    @keyframes shimmer { 100% { left: 100%; } }
    .btn-gradient:hover { transform: scale(1.05); color: white; box-shadow: 0 8px 25px rgba(236,72,153,0.3); }

    /* Hero 区块 */
    .hero-stats {
      display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
      padding: 3rem 0 1rem;
    }
    .stat-item { text-align: center; }
    .stat-number {
      font-size: 3.2rem; font-weight: 800;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .stat-label { color: #9bb8d9; letter-spacing: 1px; }

    /* 海报卡片 */
    .poster-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
      gap: 1.8rem; margin-top: 2rem;
    }
    .poster-card {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform 0.3s, box-shadow 0.3s;
      cursor: pointer;
      border: 1px solid rgba(6,182,212,0.2);
      position: relative;
      transform-style: preserve-3d;
      transition: transform 0.5s;
      min-height: 280px;
    }
    .poster-card-inner {
      transition: transform 0.6s;
      transform-style: preserve-3d;
      position: relative;
      width: 100%; height: 100%;
    }
    .poster-card:hover .poster-card-inner { transform: rotateY(180deg); }
    .poster-front, .poster-back {
      backface-visibility: hidden;
      width: 100%; height: 100%;
      border-radius: var(--radius-lg);
      position: relative;
    }
    .poster-back {
      position: absolute; top: 0; left: 0;
      transform: rotateY(180deg);
      background: #1b1a33;
      padding: 1rem;
      display: flex; flex-direction: column; justify-content: center;
    }
    .poster-front img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
    .badge-ep {
      position: absolute; top: 10px; left: 10px;
      background: rgba(236,72,153,0.85); color: #fff;
      font-size: 0.7rem; font-weight: 700; padding: 2px 8px;
      border-radius: 20px; backdrop-filter: blur(2px);
    }
    .rating-badge {
      position: absolute; bottom: 8px; right: 8px;
      background: rgba(6,182,212,0.9); color: #fff;
      border-radius: 30px; padding: 2px 8px;
      font-size: 0.75rem; font-weight: 700;
      display: flex; align-items: center; gap: 4px;
    }
    .card-title {
      font-weight: 700; font-size: 0.95rem; margin-top: 8px;
      color: var(--text); padding: 0 6px 8px;
    }

    /* 区块标题 */
    .section-title {
      font-weight: 800; font-size: 1.6rem;
      border-left: 6px solid var(--primary);
      padding-left: 14px; margin: 2.5rem 0 1.5rem;
      letter-spacing: 0.5px;
    }
    .section-title i { color: var(--accent); margin-right: 8px; }

    /* 手风琴/折叠 */
    .accordion-item {
      background: #15122b;
      border: 1px solid #2c2950;
      border-radius: 18px !important;
      margin-bottom: 12px;
      overflow: hidden;
    }
    .accordion-button:not(.collapsed) {
      background: #1f1b38; color: var(--primary);
    }
    .accordion-button { background: #15122b; color: var(--text); }

    /* 分类导航 */
    .category-pill {
      display: inline-block; padding: 6px 18px;
      background: #1b1834; color: #b9cfec;
      border-radius: 40px; margin: 0 8px 12px 0;
      border: 1px solid #2e2a52;
      font-weight: 500; transition: 0.2s;
    }
    .category-pill:hover { background: var(--primary); color: #0c0a1a; border-color: var(--primary); }

    /* footer 友链 */
    .friend-links {
      background: #100e22;
      border-radius: var(--radius-lg);
      padding: 2rem; margin-top: 4rem;
    }
    footer { border-top: 1px solid #29264a; padding-top: 2rem; }

    /* 特色图标列表 */
    .feature-icon-list i { color: var(--primary); font-size: 1.4rem; width: 28px; }
    .feature-icon-list li { margin-bottom: 0.8rem; }

    /* 通用圆角 */
    .rounded-custom { border-radius: var(--radius-lg); }

    /* 数字滚动 */
    .stat-number { display: inline-block; }

/* --- 子页面追加 --- */
.rank-header {
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
            border: 1px solid rgba(6, 182, 212, 0.2);
            border-radius: var(--radius-lg);
            padding: 3rem 2rem;
            margin-bottom: 3rem;
            text-align: center;
        }
.rank-header h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 1rem;
        }
.rank-header p {
            color: rgba(224, 242, 254, 0.7);
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.1rem;
        }
.rank-tabs {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-bottom: 2.5rem;
            flex-wrap: wrap;
        }
.rank-tab-btn {
            background: var(--card-bg);
            border: 1px solid rgba(6, 182, 212, 0.3);
            color: var(--text);
            padding: 0.7rem 1.8rem;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
.rank-tab-btn:hover, .rank-tab-btn.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
        }
.rank-section {
            display: none;
        }
.rank-section.active {
            display: block;
        }
.rank-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.rank-item {
            background: var(--card-bg);
            border: 1px solid rgba(6, 182, 212, 0.15);
            border-radius: var(--radius-md);
            padding: 1.2rem 1.5rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 1.5rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
.rank-item:hover {
            border-color: var(--primary);
            transform: translateX(5px);
            box-shadow: var(--shadow);
        }
.rank-number {
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--primary);
            min-width: 60px;
            text-align: center;
            position: relative;
        }
.rank-item:nth-child(1) .rank-number {
            color: #ffd700;
            font-size: 2.2rem;
        }
.rank-item:nth-child(2) .rank-number {
            color: #c0c0c0;
            font-size: 2rem;
        }
.rank-item:nth-child(3) .rank-number {
            color: #cd7f32;
            font-size: 1.9rem;
        }
.rank-item .rank-cover {
            width: 60px;
            height: 85px;
            border-radius: 8px;
            object-fit: cover;
            background: linear-gradient(135deg, var(--primary), var(--accent));
        }
.rank-info {
            flex: 1;
        }
.rank-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.3rem;
        }
.rank-meta {
            font-size: 0.85rem;
            color: rgba(224, 242, 254, 0.6);
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }
.rank-meta span {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
.rank-meta i {
            color: var(--primary);
        }
.rank-score {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-weight: 700;
            font-size: 1rem;
            color: #fff;
            min-width: 70px;
            text-align: center;
        }
.rank-trend {
            color: #10b981;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.2rem;
        }
.rank-trend.down {
            color: #ef4444;
        }
.update-info {
            background: var(--card-bg);
            border: 1px solid rgba(6, 182, 212, 0.2);
            border-radius: var(--radius-md);
            padding: 1rem 1.5rem;
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            color: var(--text);
            font-size: 0.95rem;
        }
.update-info i {
            color: var(--primary);
            font-size: 1.2rem;
        }
.ranking-note {
            background: rgba(6, 182, 212, 0.05);
            border-left: 3px solid var(--primary);
            padding: 1rem 1.5rem;
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            margin: 2rem 0;
            color: rgba(224, 242, 254, 0.8);
            font-size: 0.95rem;
        }
.ranking-note i {
            color: var(--primary);
            margin-right: 0.5rem;
        }
.rank-header h1 {
                font-size: 1.8rem;
            }
.rank-item {
                padding: 1rem;
                gap: 1rem;
            }
.rank-number {
                font-size: 1.4rem;
                min-width: 40px;
            }
.rank-score {
                min-width: 60px;
                font-size: 0.9rem;
            }

/* --- 子页面追加 --- */
/* 少量本页专属补充样式（自动合并） */
    .about-hero {
      background: radial-gradient(circle at 20% 30%, rgba(6,182,212,.15), transparent 50%);
      border-bottom: 1px solid rgba(255,255,255,.04);
    }
.feature-icon {
      font-size: 2rem;
      color: var(--primary);
      background: rgba(6,182,212,.12);
      width: 64px; height: 64px;
      border-radius: 20px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 1rem;
    }
.values-list li {
      background: rgba(255,255,255,.02);
      border-radius: 16px;
      padding: 1rem 1.25rem;
      margin-bottom: .8rem;
      border-left: 4px solid var(--primary);
      transition: background .2s;
    }
.values-list li:hover { background: rgba(6,182,212,.08); }
.stat-pill {
      background: var(--card-bg);
      border: 1px solid rgba(255,255,255,.06);
      border-radius: 50px;
      padding: .5rem 1.2rem;
      font-weight: 600;
      color: var(--text);
    }
.stat-pill i { color: var(--accent); margin-right: .4rem; }
.about-card {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 2rem;
      height: 100%;
      border: 1px solid rgba(255,255,255,.04);
      box-shadow: var(--shadow);
    }
.section-title::after {
      content: "";
      display: block;
      width: 60%;
      height: 4px;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      border-radius: 4px;
      margin-top: .4rem;
    }
.text-muted-soft { color: rgba(224,242,254,.7) !important; }
.nav-link.active-page {
      color: var(--primary) !important;
      font-weight: 600;
      position: relative;
    }
.nav-link.active-page::after {
      content: "";
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 2px;
      background: var(--accent);
      border-radius: 2px;
    }

/* --- 子页面追加 --- */
/* 确保隐私条款页的卡片、表单、列表等组件继承深色主题 */
        .privacy-card, .privacy-list-group-item, .privacy-accordion-item {
            background: var(--card-bg);
            color: var(--text);
            border: 1px solid rgba(6, 182, 212, 0.2);
            border-radius: var(--radius-md);
        }
.privacy-card-body, .privacy-accordion-body {
            background: var(--card-bg);
            color: var(--text);
        }
.privacy-accordion-button {
            background: var(--card-bg);
            color: var(--text);
            border: none;
            box-shadow: none;
            font-weight: 600;
        }
.privacy-accordion-button:not(.collapsed) {
            background: rgba(6, 182, 212, 0.1);
            color: var(--primary);
        }
.privacy-accordion-button:focus {
            box-shadow: 0 0 0 0.2rem rgba(6, 182, 212, 0.15);
        }
.privacy-list-group-item {
            background: var(--card-bg);
            color: var(--text);
            border-color: rgba(6, 182, 212, 0.15);
        }
/* 调整导航高亮 (当前页) */
        .navbar-custom .nav-link.active-privacy {
            color: var(--accent) !important;
            font-weight: 700;
        }
/* 小标题样式更贴合品牌 */
        .section-title-sm {
            color: var(--primary);
            border-left: 4px solid var(--accent);
            padding-left: 15px;
            margin-top: 2.5rem;
            margin-bottom: 1.5rem;
            font-weight: 700;
            letter-spacing: -0.01em;
        }
.text-muted-custom {
            color: rgba(224, 242, 254, 0.7);
        }
.policy-highlight {
            background: rgba(6, 182, 212, 0.08);
            padding: 1rem 1.25rem;
            border-radius: var(--radius-md);
            border-left: 3px solid var(--primary);
        }
a:hover {
            color: var(--accent);
        }

/* --- 子页面追加 --- */
.disclaimer-hero {
      padding: 60px 0 30px;
      background: linear-gradient(135deg, rgba(6,182,212,.08) 0%, rgba(236,72,153,.08) 100%);
      border-bottom: 1px solid rgba(6,182,212,.15);
    }
.disclaimer-container {
      max-width: 860px;
      margin: 0 auto;
      padding: 40px 20px;
    }
.disclaimer-section {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 32px;
      margin-bottom: 24px;
      border: 1px solid rgba(6,182,212,.12);
      box-shadow: var(--shadow);
    }
.disclaimer-section h2 {
      color: var(--primary);
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 18px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
.disclaimer-section h2 i {
      color: var(--accent);
    }
.disclaimer-section p, .disclaimer-section li {
      color: var(--text);
      opacity: .9;
      line-height: 1.8;
      font-size: .95rem;
    }
.disclaimer-section ul {
      padding-left: 20px;
    }
.disclaimer-section li {
      margin-bottom: 8px;
    }
.highlight-box {
      background: rgba(6,182,212,.1);
      border-left: 4px solid var(--primary);
      padding: 16px 20px;
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      margin: 16px 0;
    }
.highlight-box p {
      margin: 0;
    }
.accent-text {
      color: var(--accent);
      font-weight: 600;
    }
.last-updated {
      color: rgba(224,242,254,.5);
      font-size: .85rem;
      text-align: center;
      margin-top: 30px;
    }
.disclaimer-section {
        padding: 24px;
      }

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