:root {
      --main: #f472b6;
      --accent: #fbbf24;
      --bg: #fff5f7;
      --text: #4a2530;
      --border: #f0b4c8;
      --white: #ffffff;
      --font-title: 'Inter', sans-serif;
      --font-body: 'Inter', sans-serif;
      --font-mono: 'SF Mono', 'Fira Code', monospace;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: var(--font-body);
      line-height: 1.6;
      font-weight: 400;
    }
    h1, h2, h3, h4, .navbar-brand {
      font-family: var(--font-title);
      font-weight: 800;
      letter-spacing: -0.02em;
    }
    .display-data {
      font-family: var(--font-mono);
      font-weight: 500;
    }
    /* 纯描边，无阴影 */
    .no-shadow, .card, .poster-card, .section-box, .list-item, .accordion-item {
      box-shadow: none !important;
      border: 2px solid var(--border) !important;
    }
    .card, .poster-card {
      background: var(--white);
      border-radius: 0;
      transition: transform 0.25s ease, border-color 0.2s;
    }
    .poster-card:hover {
      transform: scale(1.02) translateY(-4px);
      border-color: var(--main) !important;
      box-shadow: 0 8px 20px rgba(244, 114, 182, 0.1) !important;
      z-index: 5;
    }
    .img-wrapper {
      overflow: hidden;
      position: relative;
      background: #f8e2ec;
    }
    .img-wrapper img {
      width: 100%;
      aspect-ratio: 2 / 3;
      object-fit: cover;
      display: block;
      transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
    }
    .poster-card:hover .img-wrapper img {
      transform: scale(1.08);
    }
    .badge-quality {
      position: absolute;
      top: 8px;
      right: 8px;
      background: rgba(0,0,0,0.7);
      color: var(--accent);
      font-family: var(--font-mono);
      font-size: 0.7rem;
      padding: 2px 8px;
      border: 1px solid var(--accent);
      z-index: 3;
      font-weight: 600;
    }
    /* 渐变遮罩 hover 文字层 */
    .poster-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(74, 37, 48, 0.85) 0%, rgba(74, 37, 48, 0.2) 60%, transparent 100%);
      opacity: 0;
      transition: opacity 0.3s;
      display: flex;
      align-items: flex-end;
      padding: 1rem;
      color: #fff;
      font-size: 0.9rem;
    }
    .poster-card:hover .poster-overlay {
      opacity: 1;
    }
    .section-title {
      font-size: 2rem;
      font-weight: 800;
      border-bottom: 3px solid var(--border);
      padding-bottom: 0.5rem;
      margin-bottom: 1.5rem;
      display: inline-block;
    }
    .navbar-custom {
      background: var(--bg);
      border-bottom: 2px solid var(--border);
      padding: 0.8rem 0;
    }
    .navbar-brand {
      font-weight: 800;
      font-size: 1.8rem;
      color: var(--main);
    }
    .navbar-brand i {
      color: var(--accent);
      margin-right: 5px;
    }
    .nav-link {
      color: var(--text);
      font-weight: 600;
      margin: 0 0.8rem;
      border-bottom: 2px solid transparent;
      border-radius: 0;
    }
    .nav-link:hover {
      border-bottom-color: var(--main);
      color: var(--main);
    }
    .hero-section {
      position: relative;
      background: linear-gradient(to bottom, rgba(74, 37, 48, 0.5), rgba(74, 37, 48, 0.8)), url('{随机图片}') no-repeat center center/cover;
      min-height: 60vh;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-align: center;
      border-bottom: 3px solid var(--border);
    }
    .hero-title {
      font-size: 3.8rem;
      font-weight: 900;
      letter-spacing: -0.03em;
      text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }
    .hero-sub {
      font-size: 1.3rem;
      max-width: 700px;
      margin: 1.2rem auto;
      opacity: 0.9;
    }
    .progress-container {
      position: sticky;
      top: 0;
      z-index: 1000;
      height: 5px;
      background: transparent;
    }
    .progress-bar-custom {
      height: 5px;
      width: 0%;
      background: linear-gradient(90deg, var(--main), var(--accent));
    }
    .stat-number {
      font-family: var(--font-mono);
      font-size: 2.2rem;
      font-weight: 500;
      color: var(--main);
    }
    .category-pill {
      background: var(--white);
      border: 2px solid var(--border);
      color: var(--text);
      padding: 0.3rem 1rem;
      margin-right: 0.5rem;
      font-weight: 500;
      transition: all 0.2s;
    }
    .category-pill:hover {
      background: var(--main);
      color: #fff;
      border-color: var(--main);
    }
    .accordion-button:not(.collapsed) {
      background: var(--bg);
      color: var(--main);
      border-color: var(--border);
    }
    .accordion-button:focus {
      box-shadow: none;
    }
    .footer-area {
      border-top: 3px solid var(--border);
      background: var(--bg);
    }
    .friend-links {
      border: 2px dashed var(--border);
      padding: 1.5rem;
      margin: 2rem 0;
      background: var(--white);
    }
    /* 侧边滑出详情栏 */
    .sidebar-detail {
      position: fixed;
      top: 0;
      right: -480px;
      width: 420px;
      max-width: 90vw;
      height: 100vh;
      background: var(--white);
      border-left: 3px solid var(--main);
      z-index: 2000;
      transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
      box-shadow: -8px 0 20px rgba(0,0,0,0.05);
      overflow-y: auto;
      padding: 2rem 1.5rem;
    }
    .sidebar-detail.open {
      right: 0;
    }
    .detail-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(74, 37, 48, 0.6);
      backdrop-filter: blur(2px);
      z-index: 1999;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }
    .detail-backdrop.show {
      opacity: 1;
      pointer-events: auto;
    }
    .detail-content img {
      width: 100%;
      max-height: 260px;
      object-fit: cover;
      border: 2px solid var(--border);
    }
    .close-btn {
      background: none;
      border: none;
      font-size: 1.8rem;
      line-height: 1;
      color: var(--text);
    }
    .list-unstyled li {
      margin-bottom: 0.5rem;
    }
    /* 数字滚动 */
    .stat-item .stat-number {
      display: inline-block;
    }
    @media (max-width: 768px) {
      .hero-title { font-size: 2.5rem; }
      .section-title { font-size: 1.6rem; }
    }

/* --- 子页面追加 --- */
/* 本页专属微调 —— 覆盖极少用到的Bootstrap默认白底，其余沿用站点style.css */
    .navbar-custom {
      background: var(--bg) !important;
      border-bottom: 1px solid var(--border);
    }
.navbar-brand, .nav-link {
      color: var(--text) !important;
    }
.nav-link.active, .nav-link:hover {
      color: var(--main) !important;
    }
.display-data, .card, .card-body {
      background: var(--white);
      color: var(--text);
      border-color: var(--border);
    }
/* 让“观影指南”高亮（当前页） */
    .nav-item .nav-link[href="/about.html"] {
      color: var(--main) !important;
      font-weight: 700;
    }
/* 步骤卡片悬停效果 */
    .step-card {
      transition: transform .2s ease, box-shadow .2s ease;
      border: 1px solid var(--border);
    }
.step-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(244, 114, 182, 0.15);
    }
/* 代码块/快捷键样式 */
    .shortcut-key {
      font-family: var(--font-mono);
      background: rgba(244, 114, 182, 0.1);
      border: 1px solid var(--border);
      padding: 2px 8px;
      border-radius: 6px;
      font-size: 0.9rem;
    }

/* --- 子页面追加 --- */
/* 本页专属样式 —— 免责声明内容排版 */
        .disclaimer-hero {
            background: linear-gradient(135deg, #fff5f7 0%, #fce7f0 100%);
            padding: 3.5rem 0 2.5rem;
            border-bottom: 1px solid var(--border);
        }
.disclaimer-hero h1 {
            font-weight: 800;
            color: var(--main);
            font-size: 2.2rem;
            letter-spacing: -0.02em;
        }
.disclaimer-hero .hero-sub {
            color: var(--text);
            opacity: 0.8;
            max-width: 720px;
            margin: 0.75rem auto 0;
            font-size: 1.05rem;
        }
.disclaimer-content {
            padding: 3rem 0 4rem;
        }
.disclaimer-section {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 2rem 2.2rem;
            margin-bottom: 1.8rem;
            box-shadow: 0 2px 12px rgba(244, 114, 182, 0.06);
            transition: box-shadow 0.25s ease;
        }
.disclaimer-section:hover {
            box-shadow: 0 6px 24px rgba(244, 114, 182, 0.12);
        }
.disclaimer-section h2 {
            font-weight: 700;
            color: var(--main);
            font-size: 1.45rem;
            margin-bottom: 1rem;
            padding-left: 1rem;
            border-left: 4px solid var(--accent);
            line-height: 1.4;
        }
.disclaimer-section p {
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 1rem;
            font-size: 0.98rem;
        }
.disclaimer-section ul {
            padding-left: 1.4rem;
            margin-bottom: 1rem;
        }
.disclaimer-section li {
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }
.disclaimer-section li strong {
            color: var(--main);
        }
.notice-box {
            background: rgba(251, 191, 36, 0.08);
            border-left: 4px solid var(--accent);
            padding: 1.2rem 1.5rem;
            border-radius: 10px;
            margin: 1.2rem 0;
        }
.notice-box p {
            margin-bottom: 0;
            font-weight: 500;
            color: #7a5b12;
        }
.update-date {
            display: inline-block;
            background: var(--main);
            color: #fff;
            padding: 0.3rem 1.2rem;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            margin-top: 1rem;
        }
.disclaimer-hero h1 {
                font-size: 1.6rem;
            }
.disclaimer-section {
                padding: 1.5rem 1.2rem;
            }
.disclaimer-section h2 {
                font-size: 1.2rem;
            }

/* --- 子页面追加 --- */
/* 本页专属微调，不覆盖全局变量，只针对排行榜细节 */
        .ranking-hero {
            background: linear-gradient(135deg, var(--bg) 0%, #ffe3ec 100%);
            border-bottom: 1px solid var(--border);
            padding: 2.5rem 0 1.8rem;
        }
.ranking-hero h1 {
            color: var(--main);
            font-weight: 800;
            letter-spacing: -0.02em;
        }
.ranking-sub {
            color: var(--text);
            opacity: 0.85;
            max-width: 620px;
            margin: 0.5rem auto 0;
        }
.rank-card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 1.2rem 1.2rem 1rem;
            margin-bottom: 1.2rem;
            transition: transform .15s ease, box-shadow .15s ease;
        }
.rank-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 24px -12px rgba(244, 114, 182, .25);
        }
.rank-badge {
            font-weight: 800;
            font-size: 1.4rem;
            color: var(--accent);
            min-width: 42px;
            text-shadow: 0 2px 6px rgba(251, 191, 36, .2);
        }
.rank-title {
            font-weight: 700;
            color: var(--text);
            font-size: 1.1rem;
            line-height: 1.4;
        }
.rank-meta {
            font-size: .85rem;
            color: var(--text);
            opacity: .7;
            display: flex;
            gap: .75rem;
            flex-wrap: wrap;
            margin-top: 4px;
        }
.rank-meta i {
            color: var(--main);
            margin-right: 4px;
        }
.rank-desc {
            font-size: .9rem;
            color: var(--text);
            opacity: .9;
            border-left: 3px solid var(--main);
            padding-left: .8rem;
            margin-top: .5rem;
        }
.trend-tag {
            background: var(--bg);
            border: 1px solid var(--border);
            color: var(--main);
            font-weight: 600;
            font-size: .7rem;
            padding: .2rem .7rem;
            border-radius: 30px;
            letter-spacing: .3px;
        }
.category-pill.small-pill {
            padding: .3rem .8rem;
            font-size: .75rem;
        }
.ranking-section-title {
            color: var(--main);
            font-weight: 800;
            border-bottom: 3px solid var(--accent);
            padding-bottom: .4rem;
            display: inline-block;
            margin-bottom: 1.5rem;
            letter-spacing: -.01em;
        }
.top-three {
            background: #fff0f5;
            border-radius: 28px;
            padding: 1.8rem 1.5rem 1.2rem;
            border: 1px solid var(--border);
        }
.top-three .rank-badge {
            font-size: 2.2rem;
            color: var(--accent);
            text-shadow: 0 4px 12px rgba(251,191,36,.4);
        }
.footer-area .friend-links a {
            margin-right: 1.2rem;
        }
.navbar-custom .nav-link.active {
            color: var(--main);
            font-weight: 700;
        }
/* 兼容Bootstrap导航toggler颜色 */
        .navbar-toggler {
            border-color: var(--border);
        }
.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(244,114,182,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }
/* 本页的少量卡片覆盖，确保bootstrap无白底干扰 */
        .card, .card-body {
            background: var(--white);
            color: var(--text);
            border-color: var(--border);
        }
.list-group-item {
            background: var(--white);
            color: var(--text);
            border-color: var(--border);
        }
.form-control {
            background: var(--white);
            color: var(--text);
            border-color: var(--border);
        }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.card-title { color:#4a2530 !important; }
.table { color:#4a2530 !important; border-color:rgba(0,0,0,.12) !important; --bs-table-bg:transparent !important; --bs-table-color:#4a2530 !important; }
.accordion-body { background:transparent !important; color:#4a2530 !important; }
.accordion-header { background:transparent !important; }
