:root {
      --primary: #f97316;
      --accent: #facc15;
      --bg: #1a1410;
      --text: #fff7ed;
      --card-bg: #2a211b;
      --radius-lg: 24px;
      --radius-md: 18px;
      --shadow: 0 20px 30px -12px rgba(0,0,0,0.5);
      --font-title: 'Inter', system-ui, sans-serif;
    }
    * { box-sizing: border-box; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      line-height: 1.7;
      padding-top: 70px;
    }
    /* 滚动进度条 */
    #scrollProgress {
      position: fixed;
      top: 0;
      left: 0;
      height: 4px;
      width: 0%;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      z-index: 9999;
      transition: width 0.1s;
    }
    /* 导航 */
    .navbar {
      background: rgba(26, 20, 16, 0.9);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid rgba(249, 115, 22, 0.2);
      padding: 12px 24px;
    }
    .navbar-brand {
      font-weight: 800;
      font-size: 1.8rem;
      color: var(--primary) !important;
      letter-spacing: 2px;
    }
    .navbar-nav .nav-link {
      color: var(--text);
      font-weight: 500;
      margin: 0 10px;
      border-radius: 30px;
      padding: 8px 16px !important;
      transition: 0.3s;
    }
    .navbar-nav .nav-link:hover {
      background: rgba(249, 115, 22, 0.15);
      color: var(--accent);
    }
    .navbar-toggler {
      border-color: var(--primary);
    }
    /* 全局标题风格 */
    .section-title {
      font-family: var(--font-title);
      font-weight: 800;
      font-size: 2rem;
      color: var(--accent);
      margin-bottom: 24px;
      position: relative;
      padding-left: 18px;
    }
    .section-title::before {
      content: '';
      position: absolute;
      left: 0;
      top: 10%;
      width: 8px;
      height: 70%;
      background: var(--primary);
      border-radius: 8px;
    }
    /* 大圆角卡片 */
    .movie-card {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform 0.3s ease, box-shadow 0.3s;
      cursor: pointer;
      border: 1px solid rgba(250, 204, 21, 0.08);
      height: 100%;
    }
    .movie-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 25px 40px -10px rgba(249, 115, 22, 0.25);
    }
    .poster-wrapper {
      position: relative;
      overflow: hidden;
      aspect-ratio: 2/3;
      background: #2e251f;
    }
    .poster-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s;
    }
    .movie-card:hover .poster-wrapper img {
      transform: scale(1.05);
    }
    .badge-ep {
      position: absolute;
      top: 10px;
      left: 10px;
      background: rgba(0,0,0,0.7);
      color: var(--accent);
      padding: 4px 10px;
      border-radius: 30px;
      font-size: 0.75rem;
      backdrop-filter: blur(4px);
    }
    .badge-score {
      position: absolute;
      top: 10px;
      right: 10px;
      background: var(--primary);
      color: #fff;
      padding: 4px 10px;
      border-radius: 30px;
      font-weight: 700;
      font-size: 0.85rem;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .movie-info {
      padding: 14px;
    }
    .movie-title {
      font-weight: 700;
      font-size: 1.1rem;
      margin-bottom: 6px;
      color: var(--text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .movie-meta {
      font-size: 0.85rem;
      color: #c9b8a8;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    /* 分类侧栏 */
    .filter-sidebar {
      background: rgba(255,255,255,0.02);
      border-radius: var(--radius-lg);
      padding: 20px;
      border: 1px solid rgba(249,115,22,0.1);
    }
    .filter-sidebar .list-group-item {
      background: transparent;
      color: var(--text);
      border: none;
      padding: 10px 16px;
      border-radius: 30px !important;
      margin-bottom: 4px;
      cursor: pointer;
      font-weight: 500;
      transition: 0.2s;
    }
    .filter-sidebar .list-group-item:hover {
      background: rgba(249,115,22,0.2);
      color: var(--accent);
    }
    /* 大数字hero */
    .hero-stats {
      background: linear-gradient(145deg, #211913, #2a1e16);
      border-radius: var(--radius-lg);
      padding: 30px;
      margin: 30px 0;
      display: flex;
      justify-content: space-around;
      text-align: center;
      border: 1px solid #f9731630;
    }
    .hero-stats .stat-num {
      font-size: 2.5rem;
      font-weight: 900;
      color: var(--primary);
    }
    .hero-stats .stat-label {
      color: #e8d8c8;
    }
    /* 侧滑弹窗 */
    .drawer-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      z-index: 1050;
      opacity: 0;
      pointer-events: none;
      transition: 0.3s;
    }
    .drawer-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }
    .detail-drawer {
      position: fixed;
      top: 0;
      right: -420px;
      width: 380px;
      max-width: 90vw;
      height: 100vh;
      background: #251e18;
      z-index: 1060;
      transition: right 0.35s ease;
      box-shadow: -10px 0 40px rgba(0,0,0,0.6);
      border-radius: 24px 0 0 24px;
      padding: 24px;
      overflow-y: auto;
    }
    .detail-drawer.open {
      right: 0;
    }
    .detail-poster {
      border-radius: var(--radius-md);
      overflow: hidden;
      margin-bottom: 18px;
      width: 100%;
      aspect-ratio: 2/3;
      background: #333;
    }
    .detail-poster img {
      width: 100%; height: 100%; object-fit: cover;
    }
    .drawer-close {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 1.8rem;
      color: var(--text);
      background: none;
      border: none;
      cursor: pointer;
    }
    .detail-field {
      margin-bottom: 12px;
      border-bottom: 1px dashed #453a30;
      padding-bottom: 8px;
    }
    /* 表格 */
    .compare-table {
      background: rgba(255,255,255,0.02);
      border-radius: var(--radius-lg);
      padding: 10px;
    }
    .compare-table table {
      color: var(--text);
      margin: 0;
    }
    /* 列表编号 */
    .steps-list {
      padding-left: 0;
      list-style: none;
      counter-reset: step;
    }
    .steps-list li {
      counter-increment: step;
      margin-bottom: 16px;
      position: relative;
      padding-left: 44px;
    }
    .steps-list li::before {
      content: counter(step);
      position: absolute;
      left: 0;
      width: 30px;
      height: 30px;
      background: var(--primary);
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
    }
    .footer {
      border-top: 1px solid #3a2d23;
      padding: 30px 0;
      margin-top: 40px;
      color: #ab9b8b;
    }
    .friend-links {
      background: rgba(255,255,255,0.03);
      border-radius: var(--radius-lg);
      padding: 24px;
      margin: 40px 0 20px;
    }

/* --- 子页面追加 --- */
.about-hero {
            background: linear-gradient(135deg, rgba(249,115,22,0.15) 0%, rgba(250,204,21,0.08) 100%);
            border: 1px solid var(--border-color, #3a2f28);
            border-radius: var(--radius-lg);
            padding: 3rem 2rem;
            margin-bottom: 2.5rem;
        }
.about-hero h1 {
            font-size: clamp(1.8rem, 4vw, 2.8rem);
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 1rem;
        }
.about-section {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 2rem 1.8rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
            border-left: 4px solid var(--primary);
        }
.about-section h2 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
.about-section p {
            color: var(--text);
            opacity: 0.9;
            line-height: 1.9;
            margin-bottom: 1rem;
        }
.about-section ul {
            padding-left: 1.2rem;
            color: var(--text);
            opacity: 0.9;
            line-height: 2;
        }
.about-section li::marker {
            color: var(--primary);
        }
.value-badge {
            display: inline-block;
            background: rgba(249,115,22,0.15);
            color: var(--primary);
            border: 1px solid rgba(249,115,22,0.3);
            border-radius: 50px;
            padding: 0.3rem 1rem;
            font-size: 0.85rem;
            font-weight: 600;
            margin: 0.25rem 0.5rem 0.25rem 0;
        }
.timeline-item {
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 1.2rem;
            border-left: 2px solid var(--primary);
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -7px;
            top: 6px;
            width: 12px;
            height: 12px;
            background: var(--primary);
            border-radius: 50%;
        }
.timeline-year {
            font-weight: 700;
            color: var(--accent);
            font-size: 0.95rem;
        }
.timeline-text {
            color: var(--text);
            opacity: 0.85;
            font-size: 0.95rem;
            line-height: 1.7;
        }
.highlight-box {
            background: rgba(250,204,21,0.08);
            border: 1px dashed var(--accent);
            border-radius: var(--radius-md);
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
.highlight-box h3 {
            color: var(--accent);
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.8rem;
        }
.highlight-box p {
            color: var(--text);
            opacity: 0.85;
            font-size: 0.95rem;
            line-height: 1.8;
        }
.team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1.2rem;
            margin-top: 1.5rem;
        }
.team-member {
            background: rgba(0,0,0,0.2);
            border-radius: var(--radius-md);
            padding: 1.2rem;
            text-align: center;
            border: 1px solid rgba(255,255,255,0.08);
        }
.team-member i {
            font-size: 2.2rem;
            color: var(--primary);
            margin-bottom: 0.8rem;
        }
.team-member h4 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.3rem;
        }
.team-member p {
            font-size: 0.85rem;
            opacity: 0.7;
            margin-bottom: 0;
        }

/* --- 子页面追加 --- */
/* 本页专属样式 - 免责声明页 */
        .disclaimer-page {
            padding: 60px 0 80px;
        }
.disclaimer-hero {
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(250, 204, 21, 0.08) 100%);
            border-radius: var(--radius-lg);
            padding: 40px 50px;
            margin-bottom: 50px;
            border: 1px solid rgba(249, 115, 22, 0.2);
            position: relative;
            overflow: hidden;
        }
.disclaimer-hero::before {
            content: '';
            position: absolute;
            top: -40px;
            right: -40px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
            z-index: 0;
        }
.disclaimer-hero h1 {
            font-size: 2.6rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }
.disclaimer-hero h1 i {
            color: var(--primary);
            margin-right: 10px;
        }
.disclaimer-hero p {
            color: rgba(255, 247, 237, 0.75);
            font-size: 1.05rem;
            max-width: 700px;
            line-height: 1.7;
            position: relative;
            z-index: 1;
        }
.disclaimer-section {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 35px 40px;
            margin-bottom: 30px;
            border: 1px solid rgba(249, 115, 22, 0.08);
            transition: border-color 0.3s ease;
        }
.disclaimer-section:hover {
            border-color: rgba(249, 115, 22, 0.25);
        }
.disclaimer-section h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.disclaimer-section h2 i {
            font-size: 1.2rem;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(249, 115, 22, 0.15);
            border-radius: 8px;
            flex-shrink: 0;
        }
.disclaimer-section h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text);
            margin: 20px 0 12px;
        }
.disclaimer-section p {
            color: rgba(255, 247, 237, 0.8);
            line-height: 1.8;
            margin-bottom: 15px;
        }
.disclaimer-section ul {
            padding-left: 20px;
            margin-bottom: 15px;
        }
.disclaimer-section ul li {
            color: rgba(255, 247, 237, 0.8);
            line-height: 1.8;
            margin-bottom: 8px;
            position: relative;
            padding-left: 5px;
        }
.disclaimer-section ul li::marker {
            color: var(--primary);
        }
.notice-box {
            background: rgba(249, 115, 22, 0.08);
            border-left: 4px solid var(--primary);
            padding: 20px 25px;
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            margin: 20px 0;
        }
.notice-box p {
            margin-bottom: 0;
            font-style: italic;
        }
.update-date {
            text-align: center;
            margin-top: 40px;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 247, 237, 0.1);
            color: rgba(255, 247, 237, 0.5);
            font-size: 0.9rem;
        }
.update-date i {
            color: var(--primary);
            margin-right: 6px;
        }
.disclaimer-hero {
                padding: 30px 25px;
            }
.disclaimer-hero h1 {
                font-size: 1.8rem;
            }
.disclaimer-section {
                padding: 25px 20px;
            }
.disclaimer-section h2 {
                font-size: 1.2rem;
            }

/* --- 子页面追加 --- */
/* 本页专属微调 —— 确保与樱花动漫风格完全一致 */
        .ranking-hero {
            background: linear-gradient(145deg, #2a211b 0%, #1f1813 100%);
            border: 1px solid rgba(249, 115, 22, 0.2);
            border-radius: var(--radius-lg);
            padding: 2rem 1.5rem;
            box-shadow: var(--shadow);
            margin-top: 1.5rem;
        }
.rank-tab {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 2rem;
        }
.rank-tab .btn-rank {
            background: var(--card-bg);
            border: 1px solid #3d322a;
            color: var(--text);
            border-radius: 50rem;
            padding: 0.4rem 1.2rem;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.2s;
        }
.rank-tab .btn-rank:hover,
        .rank-tab .btn-rank.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #1a1410;
        }
.rank-list {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }
.rank-item {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 0.8rem 1rem;
            border: 1px solid #3d322a;
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: transform 0.2s, border-color 0.2s;
        }
.rank-item:hover {
            border-color: var(--primary);
            transform: translateX(4px);
        }
.rank-number {
            font-weight: 900;
            font-size: 1.6rem;
            color: var(--primary);
            min-width: 2.2rem;
            text-align: center;
            font-family: var(--font-title);
        }
.rank-info {
            flex: 1;
        }
.rank-title {
            font-weight: 700;
            font-size: 1.05rem;
            color: var(--text);
            margin-bottom: 0.2rem;
        }
.rank-meta {
            font-size: 0.85rem;
            color: rgba(255, 247, 237, 0.6);
            display: flex;
            gap: 1rem;
        }
.rank-score {
            color: var(--accent);
            font-weight: 600;
        }
.rank-tag {
            background: rgba(249, 115, 22, 0.15);
            color: var(--primary);
            border-radius: 30px;
            padding: 0.1rem 0.7rem;
            font-size: 0.75rem;
            font-weight: 600;
            display: inline-block;
            margin-right: 0.5rem;
        }
.section-heading {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            margin: 2.2rem 0 1.2rem;
        }
.section-heading i {
            color: var(--primary);
            font-size: 1.6rem;
        }
.section-heading h2 {
            font-weight: 800;
            font-size: 1.6rem;
            margin: 0;
            color: var(--text);
        }
.badge-up {
            background: #1f8b4c;
            color: white;
            padding: 0.1rem 0.5rem;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            margin-left: 0.3rem;
        }
.badge-down {
            background: #b03a3a;
            color: white;
            padding: 0.1rem 0.5rem;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            margin-left: 0.3rem;
        }
/* 确保 bootstrap 不污染 */
        .card, .card-body, .list-group-item, .form-control {
            background: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: #3d322a !important;
        }
.navbar, .navbar-brand, .nav-link {
            color: var(--text) !important;
        }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.table { color:#fff7ed !important; border-color:rgba(255,255,255,.12) !important; --bs-table-bg:transparent !important; --bs-table-color:#fff7ed !important; }
