:root {
    --primary: #f97316;
    --accent: #facc15;
    --bg: #1a1410;
    --text: #fff7ed;
    --card-bg: #241d17;
    --muted: #b8a99a;
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow: 0 10px 30px rgba(0,0,0,0.45);
    --shadow-hover: 0 18px 45px rgba(249, 115, 22, 0.22);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* 滚动进度条 */
  #scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    border-radius: 0 2px 2px 0;
  }

  /* 导航栏 */
  .navbar {
    background: rgba(26, 20, 16, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(249, 115, 22, 0.15);
    padding: 16px 0;
  }
  .navbar-brand {
    font-weight: 900;
    font-size: 1.7rem;
    color: var(--text) !important;
    letter-spacing: -0.02em;
  }
  .navbar-brand i { color: var(--primary); margin-right: 6px; }
  .nav-link {
    font-weight: 600;
    color: var(--text) !important;
    margin: 0 6px;
    padding: 8px 16px !important;
    border-radius: 50px;
    transition: all .2s ease;
  }
  .nav-link:hover { background: rgba(249,115,22,.12); color: var(--accent) !important; }
  .nav-link.active { background: var(--primary); color: #1a1410 !important; }
  .navbar-toggler { border: none; font-size: 1.4rem; color: var(--text) !important; }
  .navbar-toggler:focus { box-shadow: none; }

  /* Hero */
  .hero-section {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1.15;
  }
  .hero-subtitle { font-size: 1.25rem; color: var(--muted); margin-top: 16px; font-weight: 400; }
  .floating-deco { position: absolute; font-size: 3rem; opacity: .15; animation: float 6s ease-in-out infinite; }
  .deco-1 { top: 20px; left: 8%; animation-delay: 0s; }
  .deco-2 { top: 60px; right: 12%; animation-delay: 1.5s; font-size: 4rem; }
  .deco-3 { bottom: 40px; left: 18%; animation-delay: 3s; font-size: 2.5rem; }
  @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

  /* 区块 */
  .section-block { padding: 48px 0; }
  .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
  .section-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-title i { color: var(--primary); font-size: 1.7rem; }
  .section-more { color: var(--muted); text-decoration: none; font-weight: 600; transition: color .2s; }
  .section-more:hover { color: var(--accent); }

  /* 海报行 */
  .poster-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 12px 4px 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
  }
  .poster-row::-webkit-scrollbar { height: 6px; }
  .poster-row::-webkit-scrollbar-track { background: transparent; }
  .poster-row::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

  .movie-card {
    flex: 0 0 auto;
    width: 170px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255,247,237,.06);
    text-decoration: none;
    color: var(--text);
    display: block;
  }
  .movie-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(249,115,22,.4);
  }
  .poster-wrap { position: relative; overflow: hidden; aspect-ratio: 2/3; background: #2a221b; }
  .poster-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
  .movie-card:hover .poster-wrap img { transform: scale(1.05); }
  .rating-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(26,20,16,.8);
    backdrop-filter: blur(6px);
    color: var(--accent);
    font-weight: 800;
    font-size: .85rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: 'Courier New', monospace;
    letter-spacing: -0.02em;
    z-index: 2;
  }
  .episode-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    z-index: 2;
  }
  .card-info { padding: 12px 12px 14px; }
  .card-title {
    font-weight: 800;
    font-size: .95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
  }
  .card-sub { color: var(--muted); font-size: .8rem; display: flex; justify-content: space-between; }

  /* 热播榜 */
  .trending-list { display: flex; flex-direction: column; gap: 12px; }
  .trending-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    transition: all .25s;
    border: 1px solid rgba(255,247,237,.05);
    cursor: pointer;
  }
  .trending-item:hover { background: #2d241c; border-color: var(--primary); transform: translateX(6px); }
  .trending-rank {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    width: 40px;
  }
  .trending-name { flex: 1; font-weight: 700; }
  .trending-name span { display: block; font-size: .75rem; color: var(--muted); font-weight: 400; }
  .trending-score { color: var(--accent); font-weight: 800; font-family: 'Courier New', monospace; }

  /* 手风琴 */
  .accordion-item {
    background: var(--card-bg);
    border: 1px solid rgba(255,247,237,.08);
    border-radius: var(--radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
  }
  .accordion-button {
    background: transparent;
    color: var(--text);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 18px 22px;
  }
  .accordion-button:not(.collapsed) { background: rgba(249,115,22,.1); color: var(--accent); }
  .accordion-button:focus { box-shadow: none; }
  .accordion-body { color: var(--muted); padding: 0 22px 20px; font-size: .95rem; }

  /* 列表图标 */
  .icon-list { list-style: none; padding: 0; }
  .icon-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(255,247,237,.08); font-size: .95rem; }
  .icon-list li i { color: var(--primary); font-size: 1.1rem; width: 22px; text-align: center; }
  .icon-list li:last-child { border-bottom: none; }

  /* 冷知识 */
  .tip-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 22px;
    height: 100%;
    border: 1px solid rgba(255,247,237,.06);
    transition: all .25s;
  }
  .tip-card:hover { border-color: var(--primary); transform: translateY(-4px); }
  .tip-card h5 { font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
  .tip-card h5 i { color: var(--primary); }

  /* 弹窗侧栏 */
  .detail-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity .35s ease;
  }
  .detail-overlay.show { display: block; opacity: 1; }
  .detail-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 92vw;
    height: 100vh;
    background: #241d17;
    z-index: 2001;
    overflow-y: auto;
    padding: 30px 28px;
    transition: right .45s cubic-bezier(.4,0,.2,1);
    box-shadow: -20px 0 50px rgba(0,0,0,.5);
    border-left: 2px solid var(--primary);
  }
  .detail-sidebar.open { right: 0; }
  .detail-sidebar img { width: 100%; border-radius: var(--radius-md); margin-bottom: 20px; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
  .detail-sidebar h3 { font-weight: 900; font-size: 1.6rem; margin-bottom: 6px; }
  .detail-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
  .detail-meta div { background: rgba(249,115,22,.08); padding: 10px 14px; border-radius: 12px; }
  .detail-meta label { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
  .detail-meta span { font-weight: 700; font-size: .95rem; }
  .close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,.1);
    border: none;
    color: var(--text);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all .2s;
    z-index: 10;
  }
  .close-btn:hover { background: var(--primary); color: #1a1410; transform: rotate(90deg); }

  /* 专题 */
  .featured-topic {
    background: linear-gradient(135deg, rgba(249,115,22,.15), rgba(250,204,21,.08));
    border: 1px solid rgba(249,115,22,.25);
    border-radius: var(--radius-lg);
    padding: 36px;
  }
  .featured-topic h3 { font-weight: 900; font-size: 1.8rem; }
  .featured-topic .lead { font-size: 1.05rem; color: var(--muted); }
  .btn-watch { background: var(--primary); color: #1a1410; font-weight: 800; border-radius: 50px; padding: 12px 28px; border: none; transition: all .2s; }
  .btn-watch:hover { background: var(--accent); transform: scale(1.03); }

  /* 随机推荐按钮 */
  .random-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #1a1410;
    font-weight: 800;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 1.05rem;
    transition: all .25s;
    box-shadow: 0 8px 25px rgba(249,115,22,.3);
  }
  .random-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 35px rgba(249,115,22,.4); }
  #random-result {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    margin-top: 18px;
    font-weight: 600;
    border-left: 4px solid var(--primary);
    display: none;
  }

  /* 页脚 */
  footer {
    background: #130f0c;
    border-top: 1px solid rgba(249,115,22,.15);
    padding: 40px 0 30px;
    margin-top: 40px;
  }
  .footer-brand { font-size: 1.5rem; font-weight: 900; }
  .footer-links a { color: var(--muted); text-decoration: none; margin: 0 14px; transition: color .2s; }
  .footer-links a:hover { color: var(--accent); }
  .copyright { color: #6b5d51; font-size: .85rem; margin-top: 18px; }

  /* 友链 */
  .friend-links {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 30px;
    border: 1px solid rgba(255,247,237,.05);
  }
  .friend-links h6 { font-weight: 800; margin-bottom: 12px; color: var(--accent); }
  .friend-links a { color: var(--muted); text-decoration: none; margin-right: 18px; transition: color .2s; }
  .friend-links a:hover { color: var(--primary); }

  /* 视口动画 */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
  }
  .reveal.active { opacity: 1; transform: translateY(0); }

  /* 分类海报矩阵网格 */
  .category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  @media (max-width: 991px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 767px) { .category-grid { grid-template-columns: repeat(2, 1fr); } .hero-title { font-size: 2.6rem; } }
  @media (max-width: 480px) { .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

  .list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  @media (max-width: 576px) { .list-grid { grid-template-columns: 1fr; } }

/* --- 子页面追加 --- */
/* 帮助页面专属样式 */
        .help-hero {
            background: linear-gradient(135deg, rgba(26, 20, 16, 0.95), rgba(36, 29, 23, 0.85));
            padding: 60px 0 40px;
            position: relative;
            overflow: hidden;
        }
.help-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
            border-radius: 50%;
        }
.help-hero .help-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 12px;
            position: relative;
            z-index: 1;
        }
.help-hero .help-subtitle {
            font-size: 1.1rem;
            color: var(--muted);
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
.help-section {
            padding: 50px 0;
        }
.help-section:nth-child(even) {
            background: rgba(36, 29, 23, 0.4);
        }
.help-card {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 28px;
            height: 100%;
            border: 1px solid rgba(249, 115, 22, 0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.help-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }
.help-card .help-card-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(250, 204, 21, 0.15));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
            color: var(--accent);
            font-size: 1.4rem;
        }
.help-card h3 {
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 10px;
        }
.help-card p {
            font-size: 0.9rem;
            color: var(--muted);
            line-height: 1.7;
            margin-bottom: 0;
        }
.faq-item {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 22px 26px;
            margin-bottom: 12px;
            border: 1px solid rgba(249, 115, 22, 0.1);
            transition: border-color 0.3s ease;
        }
.faq-item:hover {
            border-color: rgba(249, 115, 22, 0.3);
        }
.faq-item h4 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.faq-item h4 i {
            color: var(--primary);
            font-size: 0.85rem;
        }
.faq-item p {
            font-size: 0.9rem;
            color: var(--muted);
            line-height: 1.7;
            padding-left: 26px;
            margin-bottom: 0;
        }
.step-list {
            list-style: none;
            padding: 0;
            margin: 0;
            counter-reset: step;
        }
.step-list li {
            counter-increment: step;
            position: relative;
            padding-left: 48px;
            padding-bottom: 20px;
            font-size: 0.92rem;
            color: var(--muted);
            line-height: 1.7;
        }
.step-list li::before {
            content: counter(step);
            position: absolute;
            left: 0;
            top: 0;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #1a1410;
            font-weight: 700;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }
.step-list li:last-child {
            padding-bottom: 0;
        }
.contact-box {
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(250, 204, 21, 0.05));
            border: 1px solid rgba(249, 115, 22, 0.2);
            border-radius: var(--radius-lg);
            padding: 30px;
        }
.contact-box h3 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 12px;
        }
.contact-box p {
            font-size: 0.92rem;
            color: var(--muted);
            line-height: 1.7;
        }
.contact-box .contact-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 0;
            color: var(--text);
            font-size: 0.92rem;
        }
.contact-box .contact-item i {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: rgba(249, 115, 22, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 0.9rem;
        }
.tip-box {
            background: rgba(250, 204, 21, 0.06);
            border-left: 3px solid var(--accent);
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            padding: 16px 20px;
            margin: 16px 0;
            font-size: 0.9rem;
            color: var(--muted);
            line-height: 1.7;
        }
.tip-box strong {
            color: var(--accent);
        }
.help-hero .help-title {
                font-size: 1.8rem;
            }
.help-hero .help-subtitle {
                font-size: 1rem;
            }
.help-section {
                padding: 35px 0;
            }
.help-card {
                padding: 20px;
                margin-bottom: 16px;
            }

/* --- 子页面追加 --- */
/* 本页专属样式 —— 在站点全局样式基础上补充 */
        .movie-page-hero {
            background: linear-gradient(135deg, rgba(26,20,16,.92) 0%, rgba(36,29,23,.88) 55%, rgba(249,115,22,.18) 100%);
            position: relative;
            overflow: hidden;
        }
.movie-page-hero::before {
            content: '';
            position: absolute;
            top: -60%;
            right: -20%;
            width: 700px;
            height: 700px;
            background: radial-gradient(circle, rgba(249,115,22,.15) 0%, transparent 65%);
            border-radius: 50%;
            pointer-events: none;
        }
.movie-page-hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(250,204,21,.1) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
.movie-hero-content {
            position: relative;
            z-index: 2;
        }
.genre-pill {
            display: inline-block;
            padding: 6px 18px;
            background: rgba(249,115,22,.12);
            border: 1px solid rgba(249,115,22,.35);
            color: var(--accent);
            border-radius: 50px;
            font-size: .82rem;
            font-weight: 600;
            letter-spacing: .3px;
            margin-right: 8px;
            margin-bottom: 8px;
            transition: all .3s ease;
            cursor: pointer;
        }
.genre-pill:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }
.movie-stat-card {
            background: var(--card-bg);
            border: 1px solid rgba(255,247,237,.08);
            border-radius: var(--radius-md);
            padding: 20px 18px;
            text-align: center;
            transition: transform .3s ease, box-shadow .3s ease;
            height: 100%;
        }
.movie-stat-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
.stat-number {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
        }
.stat-label {
            font-size: .88rem;
            color: var(--muted);
            margin-top: 6px;
        }
.movie-feature-card {
            background: var(--card-bg);
            border: 1px solid rgba(255,247,237,.07);
            border-radius: var(--radius-md);
            padding: 28px 24px;
            transition: all .3s ease;
            height: 100%;
        }
.movie-feature-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(249,115,22,.3);
        }
.feature-icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 16px;
            display: inline-block;
        }
.movie-editor-pick {
            border-radius: var(--radius-lg);
            background: linear-gradient(135deg, rgba(249,115,22,.12) 0%, rgba(36,29,23,.9) 100%);
            border: 1px solid rgba(249,115,22,.2);
            padding: 28px;
            position: relative;
            overflow: hidden;
        }
.movie-editor-pick::after {
            content: '\f005';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            bottom: -30px;
            right: -10px;
            font-size: 130px;
            color: rgba(249,115,22,.06);
            transform: rotate(-15deg);
        }
.watchlist-btn {
            background: var(--primary);
            color: #fff;
            border: none;
            padding: 8px 22px;
            border-radius: 50px;
            font-weight: 600;
            font-size: .9rem;
            transition: all .3s ease;
        }
.watchlist-btn:hover {
            background: var(--accent);
            color: var(--bg);
            transform: translateY(-2px);
        }
.badge-tag {
            display: inline-block;
            background: rgba(250,204,21,.15);
            color: var(--accent);
            font-size: .75rem;
            font-weight: 600;
            padding: 3px 12px;
            border-radius: 50px;
            border: 1px solid rgba(250,204,21,.25);
            margin-bottom: 10px;
        }
.section-sub-muted {
            color: var(--muted);
            font-size: .95rem;
        }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .tv-hero { background: linear-gradient(135deg, rgba(249,115,22,0.12) 0%, rgba(250,204,21,0.08) 100%); padding: 80px 0; }
.tv-section-title { color: var(--text); font-weight: 700; margin-bottom: 1.2rem; position: relative; padding-left: 16px; }
.tv-section-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 22px; background: var(--primary); border-radius: 2px; }
.tv-tag { display: inline-block; background: rgba(249,115,22,0.15); color: var(--accent); border: 1px solid rgba(249,115,22,0.3); padding: 4px 14px; border-radius: 20px; font-size: 0.85rem; margin-right: 8px; margin-bottom: 8px; }
.tv-tag:hover { background: rgba(249,115,22,0.25); color: var(--accent); }
.tv-card { background: var(--card-bg); border-radius: var(--radius-md); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; height: 100%; border: 1px solid rgba(255,255,255,0.06); }
.tv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.tv-card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.tv-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tv-card:hover .tv-card-img img { transform: scale(1.05); }
.tv-card-body { padding: 16px; }
.tv-card-title { color: var(--text); font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; }
.tv-card-meta { color: var(--muted); font-size: 0.85rem; display: flex; align-items: center; gap: 12px; }
.tv-card-desc { color: var(--muted); font-size: 0.9rem; margin-top: 8px; line-height: 1.5; }
.tv-badge { background: var(--primary); color: #fff; font-size: 0.75rem; padding: 2px 10px; border-radius: 12px; position: absolute; top: 10px; left: 10px; }
.tv-episode { background: rgba(0,0,0,0.7); color: #fff; font-size: 0.75rem; padding: 2px 10px; border-radius: 12px; position: absolute; bottom: 10px; right: 10px; }
.tv-list-item { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); align-items: center; }
.tv-list-item:last-child { border-bottom: none; }
.tv-list-num { font-size: 1.3rem; font-weight: 800; color: var(--primary); width: 36px; text-align: center; flex-shrink: 0; }
.tv-list-info { flex: 1; min-width: 0; }
.tv-list-name { color: var(--text); font-weight: 500; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-list-score { color: var(--accent); font-weight: 600; font-size: 0.9rem; flex-shrink: 0; }
.tv-side-card { background: var(--card-bg); border-radius: var(--radius-md); padding: 20px; margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.06); }
.tv-side-title { color: var(--text); font-weight: 600; font-size: 1rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.tv-side-title i { color: var(--primary); }
.tv-genre-tag { display: inline-block; padding: 4px 12px; margin: 3px; background: rgba(255,255,255,0.06); color: var(--muted); border-radius: 15px; font-size: 0.8rem; cursor: pointer; transition: all 0.2s; }
.tv-genre-tag:hover { background: var(--primary); color: #fff; }
.tv-update-item { padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.06); }
.tv-update-item:last-child { border-bottom: none; }
.tv-update-name { color: var(--text); font-size: 0.9rem; display: block; }
.tv-update-date { color: var(--muted); font-size: 0.75rem; }
.tv-pagination .page-link { background: var(--card-bg); color: var(--text); border-color: rgba(255,255,255,0.08); }
.tv-pagination .page-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.tv-pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }
.tv-hero { padding: 50px 0; }
.tv-card-title { font-size: 0.95rem; }

/* --- 子页面追加 --- */
/* 排行榜页面专属样式 */
        .rank-hero {
            background: linear-gradient(135deg, rgba(249,115,22,0.15) 0%, transparent 50%), linear-gradient(to bottom, rgba(26,20,16,0.3), rgba(26,20,16,0.9));
            padding: 80px 0 60px;
            position: relative;
            overflow: hidden;
        }
.rank-hero .container { position: relative; z-index: 2; }
.rank-hero h1 {
            font-size: 2.8rem;
            font-weight: 900;
            color: var(--text);
            margin-bottom: 12px;
            letter-spacing: -0.5px;
        }
.rank-hero h1 .accent-text { color: var(--primary); }
.rank-hero p.lead {
            color: var(--muted);
            font-size: 1.1rem;
            max-width: 720px;
            line-height: 1.7;
        }
.rank-tabs {
            margin-top: 28px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
.rank-tabs a {
            padding: 8px 20px;
            border-radius: 50px;
            background: rgba(255,255,255,0.06);
            color: var(--muted);
            font-size: 0.9rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid rgba(255,255,255,0.08);
        }
.rank-tabs a:hover, .rank-tabs a.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }
.rank-section { padding: 50px 0; }
.rank-section:nth-child(even) { background: rgba(255,255,255,0.02); }
.rank-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
.rank-item {
            display: flex;
            align-items: center;
            gap: 18px;
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 16px 20px;
            transition: all 0.3s ease;
            border: 1px solid rgba(255,255,255,0.04);
        }
.rank-item:hover {
            transform: translateX(8px);
            box-shadow: var(--shadow);
            border-color: rgba(249,115,22,0.3);
        }
.rank-number {
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--primary);
            min-width: 60px;
            text-align: center;
            opacity: 0.9;
        }
.rank-item:nth-child(1) .rank-number { color: var(--accent); 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-poster {
            width: 70px;
            height: 100px;
            border-radius: 12px;
            overflow: hidden;
            flex-shrink: 0;
            background: rgba(255,255,255,0.05);
            display: flex;
            align-items: center;
            justify-content: center;
        }
.rank-poster img { width: 100%; height: 100%; object-fit: cover; }
.rank-info { flex: 1; min-width: 0; }
.rank-info h3 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.rank-info .meta {
            font-size: 0.85rem;
            color: var(--muted);
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
.rank-info .meta i { color: var(--primary); margin-right: 3px; }
.rank-score {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--accent);
            text-align: right;
            min-width: 70px;
        }
.rank-trend {
            font-size: 0.8rem;
            color: var(--muted);
            text-align: right;
            min-width: 50px;
        }
.rank-trend .up { color: #4ade80; }
.rank-trend .down { color: #f87171; }
.rank-trend .same { color: var(--muted); }
.section-header h2 {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text);
            margin: 0;
            position: relative;
            padding-left: 18px;
        }
.section-header h2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 5px;
            height: 28px;
            background: var(--primary);
            border-radius: 3px;
        }
.section-header .section-more {
            color: var(--muted);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 600;
            transition: color 0.3s;
        }
.section-header .section-more:hover { color: var(--primary); }
.rank-note {
            background: rgba(249,115,22,0.08);
            border: 1px solid rgba(249,115,22,0.2);
            border-radius: var(--radius-md);
            padding: 18px 22px;
            margin-top: 40px;
            display: flex;
            gap: 14px;
            align-items: flex-start;
        }
.rank-note i { color: var(--primary); font-size: 1.3rem; margin-top: 3px; }
.rank-note p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin: 0; }
.rank-note strong { color: var(--text); }
.rank-hero h1 { font-size: 2rem; }
.rank-item { padding: 12px 14px; gap: 12px; }
.rank-poster { width: 55px; height: 80px; }
.rank-score { font-size: 1.1rem; min-width: 55px; }
.rank-trend { display: none; }
.rank-number { font-size: 1.4rem; min-width: 40px; }
.rank-item:nth-child(1) .rank-number { font-size: 1.7rem; }
.rank-item:nth-child(2) .rank-number { font-size: 1.6rem; }
.rank-item:nth-child(3) .rank-number { font-size: 1.5rem; }
.rank-info h3 { font-size: 0.95rem; }
.rank-info .meta { font-size: 0.75rem; gap: 8px; }

/* --- 子页面追加 --- */
/* 确保 bootstrap 卡片/表单等组件不使用默认白底，如出现则覆盖为本站配色 */
    .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
    .form-control, .form-select, .form-label, .input-group-text,
    .table, .list-group-item, .accordion-item, .accordion-button, .accordion-body,
    .modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item,
    .nav-link, .navbar, .navbar-brand, .btn-light, .btn-outline-light {
      background-color: var(--card-bg);
      color: var(--text);
      border-color: #3a2e24;
    }
.btn-outline-light {
      border-color: var(--accent);
      color: var(--accent);
    }
.btn-outline-light:hover {
      background-color: var(--primary);
      color: #fff;
      border-color: var(--primary);
    }
/* 页面微调 */
    .legal-section {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 2rem 1.8rem;
      box-shadow: var(--shadow);
      margin-bottom: 2rem;
      border: 1px solid rgba(250, 204, 21, 0.08);
    }
.legal-section h2 {
      font-weight: 700;
      font-size: 1.7rem;
      margin-bottom: 1.5rem;
      color: var(--primary);
      border-left: 5px solid var(--accent);
      padding-left: 1rem;
    }
.legal-section h3 {
      font-weight: 600;
      font-size: 1.3rem;
      margin: 1.5rem 0 0.8rem;
      color: var(--text);
    }
.legal-section p, .legal-section li {
      color: var(--muted);
      line-height: 1.8;
    }
.legal-section ul {
      padding-left: 1.4rem;
    }
.legal-section a {
      color: var(--accent);
      text-decoration: underline;
      text-underline-offset: 3px;
    }
.legal-section a:hover {
      color: var(--primary);
    }
.footnote {
      font-size: 0.9rem;
      color: var(--muted);
      border-top: 1px dashed #4a3a2e;
      margin-top: 2rem;
      padding-top: 1.2rem;
    }

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