:root {
      --primary: #f97316;
      --accent: #facc15;
      --bg: #1a1410;
      --text: #fff7ed;
      --card-bg: #261e18;
      --border: #3d322a;
      --shadow: 0 8px 20px rgba(0,0,0,0.4);
      --radius: 8px;
    }

    * { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

    body {
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.7;
    }

    /* 标题手写/圆体感 */
    h1, h2, h3, .navbar-brand, .display-6 {
      font-family: 'Trebuchet MS', 'Comic Sans MS', 'Segoe UI', cursive, sans-serif;
      letter-spacing: 0.03em;
    }

    /* 导航 */
    .navbar {
      background: #120c08 !important;
      border-bottom: 1px solid var(--border);
      box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    .navbar-brand {
      color: var(--primary) !important;
      font-weight: 800;
      font-size: 1.6rem;
      display: flex;
      align-items: center;
    }
    .navbar-brand i {
      margin-right: 8px;
      color: var(--accent);
    }
    .navbar-nav .nav-link {
      color: rgba(255, 247, 237, 0.85) !important;
      font-weight: 500;
      padding: 0.5rem 1rem;
      transition: all 0.2s;
      border-radius: var(--radius);
    }
    .navbar-nav .nav-link:hover {
      color: var(--primary) !important;
      background: rgba(249, 115, 22, 0.1);
    }
    .navbar-toggler {
      border-color: rgba(255, 247, 237, 0.3);
    }

    /* Hero 统计区 */
    .hero-stats {
      background: linear-gradient(145deg, #1f160f 0%, #1a1410 100%);
      border-bottom: 1px solid var(--border);
      padding: 3rem 0 2rem;
    }
    .hero-stats .display-4 {
      color: var(--accent);
      font-weight: 800;
      font-size: 3rem;
    }
    .stat-block {
      border-right: 1px solid var(--border);
      padding: 1rem;
    }
    .stat-block:last-child { border-right: none; }

    /* 通用标题 */
    .section-title {
      font-size: 1.9rem;
      font-weight: 700;
      color: var(--primary);
      border-left: 6px solid var(--primary);
      padding-left: 16px;
      margin-bottom: 1.5rem;
    }

    /* 海报卡片 */
    .movie-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
      gap: 1.3rem;
    }
    .movie-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      border: 1px solid var(--border);
      cursor: pointer;
      opacity: 0;
      animation: fadeSlideUp 0.6s forwards;
    }
    .movie-card:hover {
      transform: scale(1.03) translateY(-6px);
      box-shadow: 0 15px 25px rgba(0,0,0,0.6);
      border-color: var(--primary);
    }
    @keyframes fadeSlideUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .movie-card .poster {
      position: relative;
      aspect-ratio: 2/3;
      background: #120d09;
      overflow: hidden;
    }
    .movie-card .poster img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.3s;
    }
    .movie-card:hover .poster img {
      transform: scale(1.05);
    }
    .badge-quality {
      position: absolute;
      top: 8px;
      right: 8px;
      background: rgba(0,0,0,0.7);
      color: var(--accent);
      font-size: 0.7rem;
      padding: 3px 8px;
      border-radius: 30px;
      font-weight: 600;
      border: 1px solid rgba(250,204,21,0.3);
      z-index: 2;
    }
    .play-overlay {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.45);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.2s;
      z-index: 1;
    }
    .movie-card:hover .play-overlay {
      opacity: 1;
    }
    .play-overlay i {
      font-size: 2.8rem;
      color: #fff;
      text-shadow: 0 2px 10px var(--primary);
      background: rgba(249,115,22,0.5);
      border-radius: 50%;
      width: 60px; height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px solid rgba(255,255,255,0.5);
    }
    .movie-info {
      padding: 0.8rem;
    }
    .movie-title {
      font-weight: 600;
      font-size: 0.95rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .movie-meta {
      font-size: 0.78rem;
      color: rgba(255,247,237,0.6);
      display: flex;
      justify-content: space-between;
    }
    .rating {
      color: var(--accent);
      font-weight: 600;
    }

    /* 手风琴说明 */
    .accordion-item {
      background-color: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      margin-bottom: 12px;
      overflow: hidden;
    }
    .accordion-button {
      background: #2b221b;
      color: var(--text);
      font-weight: 500;
      box-shadow: none;
    }
    .accordion-button:not(.collapsed) {
      background: #332720;
      color: var(--primary);
    }
    .accordion-body {
      background: #211a14;
    }

    /* 榜单列表 */
    .rank-list {
      list-style: none;
      padding: 0;
    }
    .rank-item {
      display: flex;
      align-items: center;
      padding: 0.8rem 0;
      border-bottom: 1px dashed var(--border);
      background: var(--card-bg);
      border-radius: var(--radius);
      margin-bottom: 8px;
      padding-left: 10px;
    }
    .rank-number {
      font-weight: 800;
      color: var(--primary);
      width: 40px;
      font-size: 1.2rem;
    }
    .rank-title {
      flex: 1;
      font-weight: 500;
    }
    .rank-score {
      color: var(--accent);
      font-weight: 600;
    }

    /* 推荐组件 */
    .recommend-widget {
      background: linear-gradient(120deg, #201710, #1f1208);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      padding: 1.5rem;
      text-align: center;
    }
    .recommend-btn {
      background: var(--primary);
      border: none;
      padding: 12px 30px;
      border-radius: 40px;
      font-weight: 600;
      color: #fff;
      font-size: 1.1rem;
      box-shadow: 0 4px 15px rgba(249,115,22,0.4);
      transition: 0.2s;
    }
    .recommend-btn:hover {
      background: #ea6a0c;
      transform: scale(1.02);
    }

    /* 回到顶部 */
    #backTop {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 45px; height: 45px;
      background: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.3rem;
      box-shadow: var(--shadow);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
      z-index: 1000;
      cursor: pointer;
      border: none;
    }
    #backTop.show {
      opacity: 1;
      visibility: visible;
    }

    footer {
      background: #0d0906;
      padding: 2.5rem 0;
      border-top: 1px solid var(--border);
      color: rgba(255,247,237,0.5);
    }

    .footer-links a {
      color: var(--text);
      margin: 0 10px;
      text-decoration: none;
    }
    .footer-links a:hover { color: var(--primary); }

    .friendly-links {
      background: #211912;
      padding: 1.2rem;
      border-radius: var(--radius);
      margin: 2rem 0;
      border: 1px solid var(--border);
    }
    .friendly-links span {
      font-weight: 600;
      color: var(--accent);
    }

    /* 翻转卡片弹窗 */
    .movie-card .flip-detail {
      display: none;
    }
    .modal-flip-back {
      background: var(--card-bg);
      padding: 1.2rem;
      border-radius: var(--radius);
    }

    /* 移动端调整 */
    @media (max-width: 768px) {
      .hero-stats .stat-block { border-right: none; border-bottom: 1px solid var(--border); }
      .movie-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
      .section-title { font-size: 1.6rem; }
    }

/* --- 子页面追加 --- */
/* 本页专属样式 —— 关于页 */
        .about-hero {
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(250, 204, 21, 0.05) 100%);
            border-bottom: 1px solid var(--border);
            padding: 60px 0 40px;
        }
.about-hero h1 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text);
            line-height: 1.35;
        }
.about-hero h1 span {
            color: var(--primary);
        }
.about-hero .lead {
            color: rgba(255, 247, 237, 0.75);
            font-size: 1.1rem;
            max-width: 720px;
            margin: 16px auto 0;
            line-height: 1.7;
        }
.about-section {
            padding: 56px 0;
            border-bottom: 1px solid var(--border);
        }
.about-section:last-of-type {
            border-bottom: none;
        }
.about-section .section-title {
            margin-bottom: 24px;
        }
.about-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 28px;
            height: 100%;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }
.about-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
        }
.about-card .icon-circle {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            margin-bottom: 16px;
            background: rgba(249, 115, 22, 0.12);
            color: var(--primary);
        }
.about-card h4 {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 10px;
        }
.about-card p {
            font-size: 0.92rem;
            color: rgba(255, 247, 237, 0.7);
            line-height: 1.65;
            margin-bottom: 0;
        }
.about-text-block {
            font-size: 1rem;
            line-height: 1.85;
            color: rgba(255, 247, 237, 0.82);
        }
.about-text-block strong {
            color: var(--accent);
            font-weight: 600;
        }
.about-text-block em {
            color: var(--primary);
            font-style: normal;
            font-weight: 600;
        }
.about-highlight-box {
            background: rgba(249, 115, 22, 0.07);
            border-left: 3px solid var(--primary);
            padding: 16px 20px;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 24px 0;
            font-size: 0.95rem;
            color: rgba(255, 247, 237, 0.85);
        }
.about-highlight-box i {
            color: var(--primary);
            margin-right: 8px;
        }
.about-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            margin-top: 28px;
        }
.about-stat-item {
            flex: 1;
            min-width: 120px;
            text-align: center;
            padding: 16px 8px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
        }
.about-stat-item .num {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--primary);
        }
.about-stat-item .label {
            font-size: 0.82rem;
            color: rgba(255, 247, 237, 0.6);
            margin-top: 4px;
        }
.about-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.about-list li {
            padding: 10px 0;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-size: 0.95rem;
            color: rgba(255, 247, 237, 0.82);
            line-height: 1.6;
        }
.about-list li:last-child {
            border-bottom: none;
        }
.about-list li i {
            color: var(--primary);
            margin-top: 4px;
            font-size: 0.85rem;
        }
.about-hero h1 {
                font-size: 1.6rem;
            }
.about-hero {
                padding: 40px 0 30px;
            }
.about-section {
                padding: 40px 0;
            }
.about-card {
                padding: 20px;
            }
.about-stats {
                gap: 12px;
            }

/* --- 子页面追加 --- */
/* 免责声明页面专属样式 - 自动合并进站点CSS */
        .disclaimer-section {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.disclaimer-section:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 28px rgba(0,0,0,0.5);
        }
.disclaimer-section h2 {
            color: var(--primary);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1.2rem;
            padding-bottom: 0.8rem;
            border-bottom: 2px solid var(--primary);
            display: inline-block;
        }
.disclaimer-section h3 {
            color: var(--accent);
            font-size: 1.2rem;
            font-weight: 600;
            margin-top: 1.5rem;
            margin-bottom: 0.8rem;
        }
.disclaimer-section p {
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 1rem;
            font-size: 0.95rem;
        }
.disclaimer-section ul, .disclaimer-section ol {
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 1rem;
            padding-left: 1.5rem;
        }
.disclaimer-section li {
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }
.disclaimer-section strong {
            color: var(--accent);
        }
.disclaimer-section .highlight-box {
            background: rgba(249, 115, 22, 0.1);
            border-left: 4px solid var(--primary);
            padding: 1rem 1.5rem;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 1.5rem 0;
        }
.disclaimer-section .highlight-box p {
            margin-bottom: 0.5rem;
        }
.disclaimer-section .highlight-box p:last-child {
            margin-bottom: 0;
        }
.disclaimer-section .icon-list {
            list-style: none;
            padding-left: 0;
        }
.disclaimer-section .icon-list li {
            padding-left: 1.8rem;
            position: relative;
        }
.disclaimer-section .icon-list li::before {
            content: "\f058";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            color: var(--primary);
        }
.disclaimer-update {
            text-align: center;
            color: var(--text);
            opacity: 0.7;
            font-size: 0.9rem;
            margin-top: 3rem;
            padding: 1rem;
            border-top: 1px solid var(--border);
        }
.page-header {
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(250, 204, 21, 0.1) 100%);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 2.5rem 2rem;
            margin-bottom: 2.5rem;
            text-align: center;
            box-shadow: var(--shadow);
        }
.page-header h1 {
            color: var(--primary);
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
        }
.page-header p {
            color: var(--text);
            opacity: 0.8;
            font-size: 1rem;
        }
.disclaimer-section {
                padding: 1.5rem;
            }
.page-header {
                padding: 1.5rem;
            }
.page-header h1 {
                font-size: 1.5rem;
            }

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