:root {
    --primary: #f97316;
    --accent: #facc15;
    --bg: #1a1410;
    --text: #fff7ed;
    --card-bg: #2a211a;
    --card-border: #3a2f26;
    --shadow: rgba(0,0,0,0.4);
    --radius-card: 16px;
    --radius-pill: 100px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }
  * { margin:0; padding:0; box-sizing:border-box; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-family);
    line-height: 1.7;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  a:hover { color: var(--primary); }

  /* 滚动进度条 */
  #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 4px 4px 0;
    transition: width 0.1s ease;
  }

  /* 导航 */
  .navbar {
    background: rgba(26,20,16,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(249,115,22,0.2);
    padding: 0.75rem 0;
  }
  .navbar-brand {
    font-weight: 900;
    font-size: 1.35rem;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
  }
  .navbar-brand i { margin-right: 8px; }
  .nav-link {
    font-weight: 500;
    color: var(--text) !important;
    margin: 0 0.6rem;
    font-size: 0.95rem;
    border-radius: var(--radius-pill);
    padding: 0.4rem 1rem !important;
    transition: all 0.25s;
  }
  .nav-link:hover {
    background: rgba(249,115,22,0.15);
    color: var(--accent) !important;
  }
  .navbar-toggler {
    border-color: rgba(255,247,237,0.3);
    background: transparent;
  }
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,247,237,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  /* Hero */
  .hero {
    position: relative;
    padding: 5rem 0 4rem;
    background: radial-gradient(ellipse at 30% 20%, rgba(249,115,22,0.15), transparent 60%);
    text-align: center;
    border-bottom: 1px solid rgba(255,247,237,0.06);
  }
  .hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  .hero h1 span {
    color: var(--primary);
    position: relative;
  }
  .hero .lead {
    font-size: 1.1rem;
    color: rgba(255,247,237,0.75);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-weight: 400;
  }
  .btn-hero {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0.5rem;
    transition: all 0.3s;
  }
  .btn-primary-hero {
    background: var(--primary);
    color: #fff !important;
    border: 2px solid var(--primary);
  }
  .btn-primary-hero:hover { background: #ea580c; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(249,115,22,0.3); }
  .btn-outline-hero {
    background: transparent;
    color: var(--text) !important;
    border: 2px solid rgba(255,247,237,0.3);
  }
  .btn-outline-hero:hover { border-color: var(--accent); color: var(--accent) !important; }

  /* 区块 */
  .section-padding { padding: 3.5rem 0; }
  .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,247,237,0.08);
    padding-bottom: 0.75rem;
  }
  .section-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
  }
  .section-header h2 i {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 1.4rem;
  }
  .section-header .more-link {
    font-size: 0.9rem;
    color: rgba(255,247,237,0.6);
    transition: color 0.2s;
  }
  .section-header .more-link:hover { color: var(--accent); }

  /* 左侧筛选 + 右侧海报墙 */
  .category-layout {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .filter-sidebar {
    width: 200px;
    flex-shrink: 0;
    position: sticky;
    top: 90px;
    height: fit-content;
    background: rgba(255,247,237,0.03);
    border-radius: var(--radius-card);
    padding: 1.25rem;
    border: 1px solid rgba(255,247,237,0.06);
  }
  .filter-sidebar .filter-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 1rem;
  }
  .filter-list {
    list-style: none;
  }
  .filter-list li {
    margin-bottom: 0.4rem;
  }
  .filter-list a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    color: rgba(255,247,237,0.8);
    transition: all 0.2s;
    border: 1px solid transparent;
  }
  .filter-list a:hover, .filter-list a.active {
    background: rgba(249,115,22,0.15);
    color: var(--accent);
    border-color: rgba(249,115,22,0.3);
  }
  .poster-wall {
    flex: 1;
    min-width: 0;
  }

  /* 海报卡片 */
  .card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    cursor: pointer;
    position: relative;
  }
  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow);
  }
  .card-img-wrapper {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
  }
  .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }
  .card:hover .card-img-wrapper img { transform: scale(1.05); }
  .badge-ep {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(249,115,22,0.92);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(4px);
    z-index: 5;
  }
  .badge-heat {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .card-body {
    padding: 0.9rem 1rem;
  }
  .card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card-meta {
    font-size: 0.78rem;
    color: rgba(255,247,237,0.55);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .card-meta .stars {
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 1px;
  }
  .rating-num {
    color: var(--accent);
    font-weight: 600;
  }

  /* 横排海报 */
  .row-poster {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }
  @media (max-width: 1200px) { .row-poster { grid-template-columns: repeat(4, 1fr); } }
  @media (max-width: 768px) { .row-poster { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 480px) { .row-poster { grid-template-columns: repeat(2, 1fr); } }

  /* 榜单 */
  .rank-list {
    background: rgba(255,247,237,0.03);
    border-radius: var(--radius-card);
    border: 1px solid rgba(255,247,237,0.06);
    padding: 1.5rem;
  }
  .rank-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,247,237,0.05);
  }
  .rank-item:last-child { border-bottom: none; }
  .rank-num {
    font-size: 1.5rem;
    font-weight: 900;
    width: 60px;
    color: rgba(255,247,237,0.2);
  }
  .rank-item:first-child .rank-num { color: var(--primary); }
  .rank-item:nth-child(2) .rank-num { color: var(--accent); }
  .rank-item:nth-child(3) .rank-num { color: rgba(249,115,22,0.6); }
  .rank-info { flex: 1; }
  .rank-info .rank-name {
    font-weight: 600;
    font-size: 0.95rem;
  }
  .rank-info .rank-meta {
    font-size: 0.78rem;
    color: rgba(255,247,237,0.5);
  }
  .rank-heat {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  /* 精选片单 */
  .featured-item {
    display: flex;
    gap: 1rem;
    background: rgba(255,247,237,0.03);
    border-radius: var(--radius-card);
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary);
  }
  .featured-item .num { font-size: 1.2rem; font-weight: 800; color: var(--accent); }
  .featured-item .content p { margin: 0; font-size: 0.9rem; color: rgba(255,247,237,0.8); }

  /* 心情选片 */
  .mood-card {
    background: rgba(255,247,237,0.04);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid transparent;
  }
  .mood-card:hover {
    background: rgba(249,115,22,0.1);
    border-color: rgba(249,115,22,0.3);
    transform: translateY(-4px);
  }
  .mood-card .emoji { font-size: 2.5rem; margin-bottom: 0.5rem; }
  .mood-card .mood-title { font-weight: 700; margin-bottom: 0.3rem; }
  .mood-card .mood-desc { font-size: 0.82rem; color: rgba(255,247,237,0.6); }

  /* 对比表格 */
  .compare-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,247,237,0.02);
    border-radius: var(--radius-card);
    overflow: hidden;
  }
  .compare-table th, .compare-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,247,237,0.06);
  }
  .compare-table th {
    background: rgba(249,115,22,0.1);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .compare-table td { font-size: 0.9rem; }
  .compare-table tr:last-child td { border-bottom: none; }
  .compare-table .tag-yes { color: #22c55e; font-weight: 600; }
  .compare-table .tag-no { color: #ef4444; font-weight: 600; }

  /* 侧边弹窗 */
  .drawer-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .drawer-overlay.active { opacity: 1; visibility: visible; }
  .drawer {
    position: fixed;
    top: 0; right: -480px;
    width: 460px;
    max-width: 92vw;
    height: 100%;
    background: var(--bg);
    border-left: 1px solid rgba(255,247,237,0.15);
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }
  .drawer.active { right: 0; }
  .drawer-close {
    position: sticky;
    top: 10px;
    right: 10px;
    float: right;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,247,237,0.1);
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
  }
  .drawer-close:hover { background: rgba(249,115,22,0.3); }
  .drawer-poster {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--radius-card);
    margin-bottom: 1.5rem;
  }
  .drawer h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.75rem; }
  .drawer .detail-row {
    display: flex;
    gap: 0.75rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,247,237,0.05);
  }
  .drawer .detail-row .label {
    font-weight: 600;
    color: rgba(255,247,237,0.5);
    min-width: 50px;
  }
  .drawer .detail-plot {
    margin-top: 1.25rem;
    padding: 1rem;
    background: rgba(255,247,237,0.04);
    border-radius: var(--radius-card);
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* 数字滚动 */
  .count-stat {
    text-align: center;
    padding: 1rem;
  }
  .count-stat .number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
  }
  .count-stat .label {
    font-size: 0.85rem;
    color: rgba(255,247,237,0.6);
    margin-top: 0.2rem;
  }

  /* 友情链接 */
  .friend-links {
    background: rgba(255,247,237,0.03);
    border-radius: var(--radius-card);
    padding: 2rem;
    margin-top: 2rem;
  }
  .friend-links h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent);
  }

  /* 页脚 */
  footer {
    background: #120d0a;
    border-top: 1px solid rgba(255,247,237,0.06);
    padding: 2.5rem 0;
    margin-top: 3rem;
  }
  footer a { color: rgba(255,247,237,0.5); }
  footer a:hover { color: var(--primary); }

  /* 工具 */
  .section-subtitle {
    font-size: 1rem;
    color: rgba(255,247,237,0.6);
    margin-bottom: 1.5rem;
  }

  @media (max-width: 992px) {
    .filter-sidebar {
      position: static;
      width: 100%;
      margin-bottom: 1.5rem;
    }
    .filter-list {
      display: flex;
      flex-wrap: wrap;
      gap: 0.3rem;
    }
    .filter-list li { margin: 0; }
    .hero h1 { font-size: 2rem; }
    .hero .lead { font-size: 0.95rem; }
  }
  @media (max-width: 576px) {
    .section-header h2 { font-size: 1.2rem; }
    .btn-hero { display: block; width: 80%; margin: 0.5rem auto; }
  }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件不破坏深色主题 */
    .card, .card-body, .form-control, .list-group-item, .accordion-item, .accordion-button, .accordion-body, .modal-content, .dropdown-menu {
      background: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--card-border) !important;
    }
.card-title, .card-text, .form-label, .accordion-button, .dropdown-item {
      color: var(--text) !important;
    }
.form-control::placeholder {
      color: rgba(255, 247, 237, 0.5) !important;
    }
/* 本页微调 */
    .about-hero {
      background: radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.1), transparent 60%);
      border-bottom: 1px solid var(--card-border);
    }
.feature-icon {
      width: 48px;
      height: 48px;
      background: rgba(249, 115, 22, 0.15);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      color: var(--primary);
      margin-bottom: 14px;
    }
.about-section-title {
      font-weight: 700;
      letter-spacing: -0.02em;
      border-left: 4px solid var(--primary);
      padding-left: 16px;
      margin-bottom: 24px;
    }
.stats-grid .stat-item {
      background: rgba(249, 115, 22, 0.04);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-card);
      padding: 22px 16px;
      text-align: center;
      transition: 0.2s;
    }
.stats-grid .stat-item:hover {
      border-color: var(--primary);
      transform: translateY(-2px);
    }
.stat-number {
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--primary);
    }
.stat-label {
      color: var(--text);
      opacity: 0.75;
      font-size: 0.9rem;
      margin-top: 4px;
    }
.custom-list li {
      margin-bottom: 12px;
      padding-left: 26px;
      position: relative;
      list-style: none;
    }
.custom-list li::before {
      content: "🌸";
      position: absolute;
      left: 0;
      top: -2px;
      font-size: 16px;
      opacity: 0.8;
    }

/* --- 子页面追加 --- */
/* 本页专属样式 - 电影页特殊布局 */
        .movie-hero-banner {
            background: linear-gradient(135deg, rgba(249,115,22,0.15) 0%, rgba(250,204,21,0.08) 50%, rgba(26,20,16,0.9) 100%), var(--bg);
            padding: 3.5rem 0 2.5rem;
            border-bottom: 1px solid var(--card-border);
        }
.movie-filter-bar {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-card);
            padding: 1.25rem 1.5rem;
            margin-bottom: 2rem;
        }
.filter-btn-group {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
.filter-btn {
            background: rgba(255,255,255,0.06);
            color: var(--text);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-pill);
            padding: 0.4rem 1.1rem;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
        }
.filter-btn:hover, .filter-btn.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }
.movie-sort-select {
            background: rgba(0,0,0,0.35);
            color: var(--text);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-pill);
            padding: 0.4rem 1.2rem;
            font-size: 0.85rem;
            outline: none;
        }
.movie-sort-select option {
            background: var(--card-bg);
            color: var(--text);
        }
.movie-count-info {
            color: rgba(255,247,237,0.6);
            font-size: 0.85rem;
        }
.movie-count-info span {
            color: var(--accent);
            font-weight: 600;
        }
.featured-movie-card {
            position: relative;
            border-radius: var(--radius-card);
            overflow: hidden;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.featured-movie-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px var(--shadow);
        }
.featured-movie-img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            display: block;
        }
.featured-movie-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(26,20,16,0.95) 0%, rgba(26,20,16,0.3) 60%, transparent 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 1.25rem;
        }
.featured-movie-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 0.25rem;
        }
.featured-movie-meta {
            font-size: 0.8rem;
            color: rgba(255,255,255,0.7);
        }
.movie-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-card);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
        }
.movie-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px var(--shadow);
        }
.movie-card-img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            display: block;
        }
.movie-card-body {
            padding: 1rem;
        }
.movie-card-title {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 0.35rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.movie-card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
        }
.movie-rating {
            color: var(--accent);
            font-weight: 600;
        }
.movie-year {
            color: rgba(255,247,237,0.5);
        }
.badge-quality {
            background: rgba(249,115,22,0.2);
            color: var(--primary);
            border-radius: 4px;
            padding: 0.15rem 0.5rem;
            font-size: 0.7rem;
            font-weight: 600;
        }
.pagination-nav {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 2.5rem;
        }
.page-link-custom {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            color: var(--text);
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s ease;
            text-decoration: none;
        }
.page-link-custom:hover, .page-link-custom.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }
.section-title-movie {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--text);
            position: relative;
            padding-bottom: 0.75rem;
            margin-bottom: 1.5rem;
        }
.section-title-movie::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }
.section-title-movie .highlight {
            color: var(--primary);
        }
.text-muted-custom {
            color: rgba(255,247,237,0.6);
        }

/* --- 子页面追加 --- */
/* 本页少量专属样式：针对剧集页的微调，延续樱花站深色暖调 */
        .tv-hero-banner {
            background: linear-gradient(135deg, var(--bg) 0%, #2a211a 100%);
            border-bottom: 1px solid var(--card-border);
            padding: 2.2rem 0 1.8rem;
        }
.tv-hero-banner h1 {
            color: var(--accent);
            font-weight: 800;
            letter-spacing: -0.02em;
        }
.tv-hero-banner .lead {
            color: var(--text);
            opacity: 0.9;
        }
.tv-section-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--primary);
            border-left: 6px solid var(--accent);
            padding-left: 0.9rem;
            margin: 2.2rem 0 1.4rem;
        }
.tv-section-title i {
            color: var(--accent);
            margin-right: 0.5rem;
        }
.filter-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin-bottom: 1.8rem;
        }
.filter-pills .pill {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            color: var(--text);
            padding: 0.35rem 1.1rem;
            border-radius: var(--radius-pill);
            font-size: 0.9rem;
            font-weight: 500;
            transition: all .2s;
        }
.filter-pills .pill:hover {
            border-color: var(--primary);
            color: var(--accent);
            background: #33281f;
        }
.filter-pills .pill.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #1a1410;
            font-weight: 600;
        }
.tv-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-card);
            overflow: hidden;
            transition: transform .2s, box-shadow .2s;
            height: 100%;
        }
.tv-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px var(--shadow);
        }
.tv-card .card-img-wrapper {
            position: relative;
            background: #1f1a15;
            aspect-ratio: 2/3;
        }
.tv-card .card-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.85;
        }
.tv-card .card-body {
            padding: 0.9rem 1rem 1rem;
        }
.tv-card .card-title {
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 0.3rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.tv-card .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: rgba(255, 247, 237, 0.65);
            font-size: 0.85rem;
        }
.tv-card .rating-num {
            color: var(--accent);
            font-weight: 700;
            font-size: 0.95rem;
        }
.tv-card .rating-num i {
            color: var(--accent);
            margin-right: 2px;
        }
.trending-list .rank-list {
            background: var(--card-bg);
            border-radius: 14px;
            padding: 0.8rem 1rem;
            border: 1px solid var(--card-border);
            margin-bottom: 0.8rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }
.trending-list .rank-list .rank-num {
            font-weight: 800;
            color: var(--primary);
            font-size: 1.4rem;
            min-width: 2.2rem;
            text-align: center;
        }
.trending-list .rank-list .rank-info {
            flex: 1;
        }
.trending-list .rank-list .rank-info h5 {
            font-size: 1rem;
            font-weight: 600;
            margin: 0;
            color: var(--text);
        }
.trending-list .rank-list .rank-info span {
            font-size: 0.8rem;
            color: rgba(255,247,237,0.6);
        }
.tv-cta-banner {
            background: linear-gradient(145deg, #2a211a, #3a2a1d);
            border: 1px solid var(--card-border);
            border-radius: 20px;
            padding: 2rem 2rem;
            margin: 2rem 0 1rem;
        }
.tv-cta-banner h3 {
            color: var(--accent);
            font-weight: 700;
        }

/* --- 子页面追加 --- */
/* 本页小范围覆盖,确保Bootstrap组件不破坏深色风格 */
    .card, .card-body, .card-footer, .card-header {
      background: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--card-border) !important;
    }
.form-control, .form-select {
      background: rgba(0,0,0,0.35) !important;
      color: var(--text) !important;
      border-color: var(--card-border) !important;
    }
.list-group-item {
      background: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--card-border) !important;
    }
.accordion-item, .accordion-button {
      background: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--card-border) !important;
    }
.accordion-button:not(.collapsed) {
      background: rgba(249,115,22,0.15) !important;
      color: var(--text) !important;
    }
.dropdown-item:hover {
      background: rgba(249,115,22,0.1) !important;
    }
.nav-link.active {
      color: var(--primary) !important;
      font-weight: 600;
    }
/* 综艺页特有卡片悬浮 */
    .card {
      transition: transform 0.2s ease, border-color 0.2s;
      border: 1px solid var(--card-border);
    }
/* 综艺小标签 */
    .genre-tag {
      background: rgba(249,115,22,0.2);
      color: var(--accent);
      padding: 0.2rem 0.6rem;
      border-radius: var(--radius-pill);
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.02em;
    }
/* 排行装饰 */
    .rank-number {
      background: linear-gradient(145deg, var(--primary), #b45309);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      font-weight: 800;
      font-size: 2rem;
      line-height: 1;
    }
/* 精选头图 */
    .featured-badge {
      background: var(--primary);
      color: #1a1410;
      font-weight: 700;
      padding: 0.3rem 0.9rem;
      border-radius: var(--radius-pill);
      display: inline-block;
      font-size: 0.8rem;
      letter-spacing: 0.04em;
    }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件不会破坏深色风格 —— 本页尽量少用组件类，但以防万一覆盖 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .form-control, .form-select, .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .modal-content, .dropdown-menu, .dropdown-item, .nav-link, .navbar, .btn-light, .btn-outline-* {
            background: var(--card-bg);
            color: var(--text);
            border-color: var(--card-border);
        }
.navbar-brand, .nav-link { color: var(--text) !important; }
/* 页面内自定义卡片样式 (完全自绘，不使用 .card 组件以避免白底) */
        .anime-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-card);
            overflow: hidden;
            transition: transform .2s ease, box-shadow .2s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
.anime-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px var(--shadow);
        }
.anime-card .card-img-wrapper {
            position: relative;
            aspect-ratio: 3/4;
            background: #241b15;
            overflow: hidden;
        }
.anime-card .card-img-wrapper img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform .4s;
        }
.anime-card:hover .card-img-wrapper img { transform: scale(1.05); }
.anime-card .card-body {
            padding: 1rem 1rem 1.25rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
.card-meta i { color: var(--primary); width: 14px; margin-right: 4px; }
.anime-desc {
            font-size: 0.85rem;
            color: rgba(255, 247, 237, 0.7);
            margin-top: 6px;
            flex: 1;
        }
.btn-anime {
            background: var(--primary);
            color: #1a1410;
            border: none;
            border-radius: var(--radius-pill);
            padding: 6px 16px;
            font-weight: 600;
            font-size: 0.85rem;
            transition: .2s;
            align-self: flex-start;
            margin-top: 12px;
        }
.btn-anime:hover { background: var(--accent); color: #1a1410; }
/* 小标签页或分类filter (自绘) */
        .anime-tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 2rem;
        }
.anime-tag {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            color: var(--text);
            border-radius: var(--radius-pill);
            padding: 6px 16px;
            font-size: 0.85rem;
            font-weight: 500;
            cursor: default;
            transition: .2s;
        }
.anime-tag.active {
            background: var(--primary);
            color: #1a1410;
            border-color: var(--primary);
            font-weight: 600;
        }
.section-header p {
            color: rgba(255,247,237,0.6);
        }
/* 页脚等已在全局样式定义，这里可补充 */
        .footer-links a {
            color: rgba(255,247,237,0.6);
            margin-right: 20px;
            text-decoration: none;
        }
.footer-links a:hover { color: var(--primary); }

/* --- 子页面追加 --- */
/* 页面专属微调 — 仅针对纪录片页卡片描述换行等，沿用主站变量 */
    .docu-hero-tag {
      background: rgba(249, 115, 22, 0.15);
      border: 1px solid var(--primary);
      color: var(--accent);
      padding: 0.4rem 1.2rem;
      border-radius: var(--radius-pill);
      font-size: 0.85rem;
      letter-spacing: 0.02em;
      display: inline-block;
    }
.docu-card-title {
      line-height: 1.4;
      min-height: 2.8em;
    }
.docu-desc {
      font-size: 0.9rem;
      opacity: 0.8;
      line-height: 1.6;
    }
.docu-stat i {
      color: var(--primary);
      margin-right: 0.3rem;
    }
.docu-section-border {
      border-top: 1px solid var(--card-border);
    }
/* 覆盖bootstrap默认卡片背景（若有使用.card，强制走站点变量） */
    .card, .card-body, .card-title, .card-text {
      background: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--card-border) !important;
    }

/* --- 子页面追加 --- */
/* 本页专属样式 - 短剧特色 */
        .short-hero {
            background: linear-gradient(135deg, var(--primary) 0%, #c2410c 50%, var(--bg) 100%);
            padding: 60px 0;
            position: relative;
            overflow: hidden;
        }
.short-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
            border-radius: 50%;
        }
.short-hero .hero-badge {
            display: inline-block;
            background: rgba(0,0,0,0.3);
            border: 1px solid rgba(255,255,255,0.2);
            color: var(--accent);
            padding: 6px 16px;
            border-radius: var(--radius-pill);
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 16px;
        }
.short-hero h1 {
            font-size: 2.8rem;
            font-weight: 900;
            color: #fff;
            margin-bottom: 16px;
            line-height: 1.2;
        }
.short-hero h1 span {
            color: var(--accent);
        }
.short-hero p {
            font-size: 1.1rem;
            color: rgba(255,255,255,0.85);
            max-width: 650px;
            line-height: 1.7;
            margin-bottom: 24px;
        }
.short-hero .btn-short {
            background: var(--accent);
            color: #1a1410;
            border: none;
            padding: 12px 32px;
            border-radius: var(--radius-pill);
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
.short-hero .btn-short:hover {
            background: #fff;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        }
.short-hero .btn-outline-short {
            background: transparent;
            color: #fff;
            border: 2px solid rgba(255,255,255,0.6);
            padding: 12px 32px;
            border-radius: var(--radius-pill);
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            margin-left: 12px;
        }
.short-hero .btn-outline-short:hover {
            background: rgba(255,255,255,0.1);
            border-color: #fff;
        }
.short-stats {
            display: flex;
            gap: 30px;
            margin-top: 30px;
        }
.short-stats .stat-item {
            text-align: center;
        }
.short-stats .stat-num {
            font-size: 2rem;
            font-weight: 800;
            color: #fff;
        }
.short-stats .stat-label {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.7);
        }
.section-tag {
            display: inline-block;
            background: rgba(249, 115, 22, 0.15);
            color: var(--primary);
            padding: 4px 14px;
            border-radius: var(--radius-pill);
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 12px;
        }
.short-feature-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-card);
            padding: 30px 24px;
            text-align: center;
            transition: all 0.3s ease;
            height: 100%;
        }
.short-feature-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            box-shadow: 0 10px 30px var(--shadow);
        }
.short-feature-card .feature-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 16px;
            display: block;
        }
.short-feature-card h3 {
            color: var(--text);
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 12px;
        }
.short-feature-card p {
            color: rgba(255, 247, 237, 0.7);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 0;
        }
.short-cat-btn {
            background: transparent;
            border: 1px solid var(--card-border);
            color: var(--text);
            padding: 8px 20px;
            border-radius: var(--radius-pill);
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
            margin: 4px;
            display: inline-block;
        }
.short-cat-btn:hover,
        .short-cat-btn.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }
.short-tip-box {
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(250, 204, 21, 0.05) 100%);
            border: 1px solid rgba(249, 115, 22, 0.3);
            border-radius: var(--radius-card);
            padding: 24px;
            margin: 20px 0;
        }
.short-tip-box h4 {
            color: var(--primary);
            font-weight: 700;
            margin-bottom: 8px;
            font-size: 1.05rem;
        }
.short-tip-box p {
            color: rgba(255, 247, 237, 0.8);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 0;
        }
.short-cta-box {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-card);
            padding: 40px;
            text-align: center;
            margin: 40px 0;
        }
.short-cta-box h3 {
            color: var(--text);
            font-size: 1.6rem;
            font-weight: 800;
            margin-bottom: 12px;
        }
.short-cta-box p {
            color: rgba(255, 247, 237, 0.7);
            max-width: 600px;
            margin: 0 auto 24px;
            line-height: 1.7;
        }
.short-hero h1 {
                font-size: 2rem;
            }
.short-stats {
                gap: 20px;
                flex-wrap: wrap;
            }
.short-hero .btn-outline-short {
                margin-left: 0;
                margin-top: 10px;
            }
.short-cta-box {
                padding: 24px;
            }

/* --- 子页面追加 --- */
/* 本页专属样式 - 免责声明页面 */
        .legal-hero {
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(250, 204, 21, 0.08) 100%);
            border-bottom: 1px solid var(--card-border);
            padding: 4rem 0 3rem;
            position: relative;
            overflow: hidden;
        }
.legal-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
            border-radius: 50%;
        }
.legal-hero .container {
            position: relative;
            z-index: 2;
        }
.legal-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 0.5rem;
            letter-spacing: -0.5px;
        }
.legal-hero h1 span {
            color: var(--primary);
        }
.legal-hero p {
            color: rgba(255, 247, 237, 0.7);
            font-size: 1.1rem;
            max-width: 650px;
        }
.legal-section {
            padding: 3rem 0;
        }
.legal-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-card);
            padding: 2rem 2.5rem;
            margin-bottom: 1.5rem;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }
.legal-card:hover {
            border-color: rgba(249, 115, 22, 0.5);
            box-shadow: 0 8px 30px var(--shadow);
        }
.legal-card h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
.legal-card h2 i {
            font-size: 1.3rem;
            color: var(--accent);
        }
.legal-card p, .legal-card li {
            color: rgba(255, 247, 237, 0.85);
            line-height: 1.8;
            font-size: 0.95rem;
        }
.legal-card ul {
            padding-left: 1.2rem;
            margin-bottom: 0;
        }
.legal-card ul li {
            margin-bottom: 0.5rem;
        }
.legal-card ul li::marker {
            color: var(--primary);
        }
.legal-highlight {
            background: rgba(249, 115, 22, 0.1);
            border-left: 3px solid var(--primary);
            padding: 1rem 1.5rem;
            border-radius: 0 var(--radius-card) var(--radius-card) 0;
            margin: 1.5rem 0;
        }
.legal-highlight p {
            margin-bottom: 0;
            font-weight: 500;
        }
.legal-updated {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(250, 204, 21, 0.15);
            color: var(--accent);
            padding: 0.4rem 1.2rem;
            border-radius: var(--radius-pill);
            font-size: 0.85rem;
            font-weight: 600;
            margin-top: 1rem;
        }
.legal-updated i {
            font-size: 0.8rem;
        }
.contact-note {
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(250, 204, 21, 0.05) 100%);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-card);
            padding: 2rem;
            text-align: center;
            margin-top: 2rem;
        }
.contact-note h3 {
            color: var(--text);
            font-weight: 700;
            margin-bottom: 0.8rem;
        }
.contact-note p {
            color: rgba(255, 247, 237, 0.7);
            margin-bottom: 1.2rem;
        }
.contact-note .btn-contact {
            background: var(--primary);
            color: #fff;
            border: none;
            padding: 0.6rem 2rem;
            border-radius: var(--radius-pill);
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
        }
.contact-note .btn-contact:hover {
            background: #ea580c;
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(249, 115, 22, 0.3);
            color: #fff;
        }
.legal-hero h1 {
                font-size: 2rem;
            }
.legal-card {
                padding: 1.5rem;
            }