:root {
            --main: #f472b6;
            --accent: #fbbf24;
            --bg: #fff5f7;
            --text: #4a2530;
            --border: #f9d5e5;
            --muted: #a96f82;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", Helvetica, Arial, sans-serif;
            line-height: 1.6;
            font-weight: 400;
            letter-spacing: 0.01em;
        }
        /* 无阴影，纯描边，留白 */
        .border-soft { border: 1px solid var(--border); }
        .section-title {
            font-weight: 800;
            font-size: 2rem;
            letter-spacing: -0.02em;
            border-bottom: 2px solid var(--text);
            padding-bottom: 0.4rem;
            display: inline-block;
            margin-bottom: 1.8rem;
        }
        .section-title small { font-weight: 400; font-size: 1rem; color: var(--muted); margin-left: 12px; }
        .navbar-custom {
            background: var(--bg) !important;
            border-bottom: 1px solid var(--border);
            padding: 0.8rem 0;
        }
        .navbar-brand {
            font-weight: 900;
            font-size: 1.8rem;
            color: var(--text) !important;
            letter-spacing: -0.5px;
        }
        .navbar-brand i { color: var(--main); margin-right: 6px; }
        .nav-link {
            color: var(--text) !important;
            font-weight: 600;
            margin: 0 1rem;
            font-size: 1rem;
        }
        .nav-link:hover { color: var(--main) !important; }
        .btn-outline-main {
            border: 2px solid var(--text);
            color: var(--text);
            font-weight: 700;
            padding: 0.6rem 1.8rem;
            border-radius: 40px;
            transition: 0.2s;
        }
        .btn-outline-main:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
        .btn-solid-main { background: var(--main); border: none; color: white; font-weight: 700; padding: 0.6rem 2rem; border-radius: 40px; }
        .btn-solid-main:hover { background: #e05ba5; }

        /* Hero */
        .hero-section {
            padding: 5rem 0 4rem 0;
            background-image: linear-gradient(160deg, #ffe6f0 0%, var(--bg) 80%);
            border-bottom: 1px solid var(--border);
            background-size: cover;
        }
        .hero-title { font-size: 3.6rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
        .hero-sub { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin: 1.2rem 0 2rem; }

        /* 影片卡片 */
        .movie-card {
            background: white;
            border: 1px solid var(--border);
            border-radius: 0;
            overflow: hidden;
            transition: all 0.2s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
            cursor: pointer;
        }
        .movie-card .poster-wrap {
            position: relative;
            aspect-ratio: 2/3;
            background: #f0e4e8;
            overflow: hidden;
        }
        .movie-card .poster-wrap img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform 0.5s ease;
        }
        .movie-card:hover .poster-wrap img { transform: scale(1.08); }
        .movie-card .grad-overlay {
            position: absolute; bottom: 0; left: 0; right: 0;
            background: linear-gradient(to top, rgba(74,37,48,0.8), transparent);
            color: white; padding: 1rem 0.8rem 0.6rem;
            opacity: 0; transition: 0.3s;
            display: flex; align-items: end; justify-content: space-between;
        }
        .movie-card:hover .grad-overlay { opacity: 1; }
        .movie-card .card-body { padding: 0.8rem; }
        .movie-card .film-title { font-weight: 700; font-size: 1rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .movie-card .meta { font-size: 0.8rem; color: var(--muted); display: flex; justify-content: space-between; }
        .rating-badge { font-weight: 800; color: var(--accent); font-size: 1rem; }
        .capsule-tag {
            background: var(--bg); border: 1px solid var(--border); color: var(--text);
            padding: 0.2rem 0.8rem; border-radius: 30px; font-size: 0.75rem; font-weight: 600;
        }
        /* 奖牌 */
        .medal { font-size: 1.2rem; width: 2rem; text-align: center; font-weight: 800; }
        .gold { color: #fbbf24; } .silver { color: #94a3b8; } .bronze { color: #b45309; }

        /* 时间线 */
        .timeline {
            border-left: 3px solid var(--main);
            padding-left: 1.5rem;
            margin-left: 0.5rem;
        }
        .timeline-item { position: relative; margin-bottom: 2rem; }
        .timeline-item::before {
            content: ""; position: absolute; left: -1.9rem; top: 0.5rem;
            width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
            border: 2px solid white; box-shadow: 0 0 0 3px var(--accent);
        }
        .timeline-item h5 { font-weight: 700; }

        /* 标签切换 */
        .nav-tabs-custom .nav-link { border: 1px solid var(--border); background: white; color: var(--text); margin-right: 6px; border-radius: 30px !important; padding: 0.3rem 1.2rem; font-weight: 600; }
        .nav-tabs-custom .nav-link.active { background: var(--text); color: var(--bg); border-color: var(--text); }
        .tab-pane { padding-top: 1.5rem; }

        /* 页脚 */
        .footer-custom { border-top: 2px solid var(--border); padding: 2.5rem 0; margin-top: 4rem; background: white; }
        .footer-links a { color: var(--text); text-decoration: none; margin-right: 1.5rem; font-weight: 500; }
        .footer-links a:hover { color: var(--main); }
        .friends-link { border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: 2rem; font-size: 0.9rem; color: var(--muted); }
        .friends-link a { color: var(--muted); }

        /* 弹窗 */
        .modal-overlay { position: fixed; inset: 0; background: rgba(74,37,48,0.6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 2000; }
        .modal-overlay.show { display: flex; }
        .modal-card { background: white; max-width: 780px; width: 92%; display: flex; border: 1px solid var(--border); }
        .modal-left { width: 40%; background: #f6e5ea; }
        .modal-left img { width: 100%; height: 100%; object-fit: cover; }
        .modal-right { padding: 1.5rem; width: 60%; position: relative; }
        .close-btn { position: absolute; right: 15px; top: 10px; font-size: 2rem; line-height: 1; background: none; border: none; cursor: pointer; color: var(--text); }
        .modal-right h3 { font-weight: 800; margin-bottom: 0.5rem; }
        .modal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0.7rem 0; }
        .modal-plot { font-size: 0.95rem; color: #492b36; }
        @media (max-width: 600px) { .modal-card { flex-direction: column; } .modal-left { width: 100%; } .modal-right { width: 100%; } }

        .lazy-fade { background: #ffe5f0; animation: fadeGlow 1.2s infinite alternate; }
        @keyframes fadeGlow { from { opacity: 0.5; } to { opacity: 1; } }
        /* 随机种子装饰 */
        .parallax-bg { background-attachment: fixed; background-position: center; }

/* --- 子页面追加 --- */
/* 排行榜专用样式 —— 沿用站点配色变量 */
        .rank-hero {
            background: linear-gradient(145deg, var(--bg) 0%, #ffe4ef 100%);
            border-bottom: 2px solid var(--border);
            padding: 3.5rem 0 2rem;
        }
.rank-hero h1 {
            font-weight: 900;
            color: var(--text);
            letter-spacing: -0.02em;
        }
.rank-hero .lead {
            color: var(--muted);
            font-weight: 500;
        }
.ranking-tabs {
            display: flex;
            gap: .75rem;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }
.ranking-tabs .tab-btn {
            background: transparent;
            border: 1.5px solid var(--border);
            color: var(--text);
            padding: .4rem 1.2rem;
            border-radius: 40px;
            font-weight: 600;
            font-size: .9rem;
            transition: all .2s;
        }
.ranking-tabs .tab-btn.active,
        .ranking-tabs .tab-btn:hover {
            background: var(--main);
            border-color: var(--main);
            color: #fff;
            box-shadow: 0 6px 14px rgba(244, 114, 182, .25);
        }
.rank-card {
            background: rgba(255,255,255,.7);
            backdrop-filter: blur(2px);
            border: 1px solid var(--border);
            border-radius: 24px;
            padding: 1.2rem 1.5rem;
            margin-bottom: 1rem;
            transition: transform .2s, box-shadow .2s;
        }
.rank-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 24px rgba(244, 114, 182, .12);
        }
.rank-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            background: var(--accent);
            color: #3d1a24;
            font-weight: 800;
            font-size: 1.1rem;
            margin-right: 1rem;
            flex-shrink: 0;
        }
.rank-badge.gold {
            background: #fbbf24;
            color: #2a1a1e;
        }
.rank-badge.silver {
            background: #d7dde4;
            color: #2e2e3a;
        }
.rank-badge.bronze {
            background: #d9a066;
            color: #2b1a10;
        }
.rank-info {
            flex: 1;
        }
.rank-title {
            font-weight: 700;
            color: var(--text);
            font-size: 1.15rem;
            line-height: 1.4;
        }
.rank-meta {
            font-size: .85rem;
            color: var(--muted);
            display: flex;
            flex-wrap: wrap;
            gap: .75rem;
            margin-top: .3rem;
        }
.rank-meta i {
            color: var(--main);
            width: 16px;
        }
.score {
            font-weight: 800;
            font-size: 1.3rem;
            color: var(--main);
            letter-spacing: -0.02em;
            margin-left: .75rem;
        }
.score small {
            font-size: .8rem;
            font-weight: 500;
            color: var(--muted);
            margin-left: 3px;
        }
.section-title i {
            color: var(--main);
        }
/* 页脚 & 导航沿用站点样式, 此处仅覆盖bootstrap可能带来的白色背景 */
        .navbar-custom, .navbar-custom .navbar-brand, .navbar-custom .nav-link {
            color: var(--text) !important;
        }
.navbar-custom .nav-link.active {
            color: var(--main) !important;
            font-weight: 700;
        }
.footer-custom a {
            color: var(--muted);
            text-decoration: none;
        }
.footer-custom a:hover {
            color: var(--main);
        }
/* 确保Bootstrap的卡片不会白底 */
        .card, .card-body {
            background: transparent;
            color: var(--text);
            border-color: var(--border);
        }
.form-control {
            background: rgba(255,255,255,.6);
            border-color: var(--border);
            color: var(--text);
        }
.form-control::placeholder {
            color: var(--muted);
            opacity: .7;
        }

/* --- 子页面追加 --- */
/* 本页少量专属样式：覆盖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-* {
            background: var(--bg, #fff5f7);
            color: var(--text, #4a2530);
            border-color: var(--border, #f9d5e5);
        }
.about-section {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 2rem 1.8rem;
            margin-bottom: 2.5rem;
        }
.about-section h2 {
            font-size: 1.65rem;
            font-weight: 800;
            color: var(--main);
            margin-bottom: 1.2rem;
            letter-spacing: -0.01em;
        }
.about-section p {
            font-size: 1rem;
            line-height: 1.8;
            color: var(--text);
        }
.about-highlight {
            background: rgba(244, 114, 182, 0.06);
            border-left: 4px solid var(--main);
            padding: 1.2rem 1.5rem;
            border-radius: 0 16px 16px 0;
            margin: 1.5rem 0;
        }
.about-badge {
            display: inline-block;
            background: var(--accent);
            color: #fff;
            font-size: 0.75rem;
            font-weight: 700;
            padding: 0.2rem 0.9rem;
            border-radius: 30px;
            letter-spacing: 0.3px;
            margin-right: 0.5rem;
        }
.friends-link a:hover {
            color: var(--main);
        }
.about-section {
                padding: 1.5rem 1.2rem;
            }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 潜在白底，确保与本站配色一致 */
        .card, .card-body, .card-header, .card-footer,
        .form-control, .form-select, .accordion-item, .accordion-button, .accordion-body,
        .list-group-item, .modal-content, .modal-header, .modal-body {
            background: var(--bg);
            color: var(--text);
            border-color: var(--border);
        }
.accordion-button:not(.collapsed) {
            background: var(--border);
            color: var(--text);
        }
/* 页面内小标题微调 */
        .section-title {
            color: var(--main);
            font-weight: 700;
        }
.disclaimer-box {
            background: rgba(255,255,255,0.6);
            border-left: 5px solid var(--main);
            border-radius: 0 12px 12px 0;
            padding: 1.2rem 1.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 2px 8px rgba(244,114,182,0.08);
        }
.text-muted-custom {
            color: var(--muted);
        }
.footer-custom .friends-link a {
            color: var(--muted);
        }
.footer-custom .friends-link a:hover {
            color: var(--main);
        }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 卡片/表单等不破坏深色柔和配色 */
        .card, .card-body, .card-header, .card-footer {
            background: var(--bg);
            color: var(--text);
            border-color: var(--border);
        }
.form-control, .form-select {
            background: rgba(255,255,255,.6);
            color: var(--text);
            border-color: var(--border);
        }
.accordion-item, .accordion-button {
            background: var(--bg);
            color: var(--text);
            border-color: var(--border);
        }
.list-group-item {
            background: var(--bg);
            color: var(--text);
            border-color: var(--border);
        }
.table {
            --bs-table-bg: var(--bg);
            color: var(--text);
            border-color: var(--border);
        }
.nav-link, .navbar-brand {
            color: var(--text);
        }
.nav-link:hover, .navbar-brand:hover {
            color: var(--main);
        }
/* 指南页特有排版 */
        .guide-hero {
            background: linear-gradient(145deg, var(--bg) 0%, #ffeef4 100%);
            border-bottom: 2px solid var(--border);
        }
.step-icon {
            width: 48px;
            height: 48px;
            background: var(--main);
            color: #fff;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.2rem;
            box-shadow: 0 4px 10px rgba(244, 114, 182, .3);
        }
.tip-box {
            background: rgba(251, 191, 36, .08);
            border-left: 5px solid var(--accent);
            padding: 1rem 1.25rem;
            border-radius: 0 12px 12px 0;
        }
.shortcut-card {
            transition: transform .2s, box-shadow .2s;
            border: 1px solid var(--border);
            background: #fff;
            border-radius: 16px;
            padding: 1.25rem;
            height: 100%;
        }
.shortcut-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 20px rgba(244,114,182,.12);
        }
.shortcut-card i {
            color: var(--main);
            font-size: 1.8rem;
            margin-bottom: .75rem;
        }
.shortcut-card h5 {
            color: var(--text);
            font-weight: 600;
        }
.shortcut-card p {
            color: var(--muted);
            font-size: .9rem;
            margin-bottom: 0;
        }
.table-guide {
            border-radius: 16px;
            overflow: hidden;
        }
.table-guide th {
            background: var(--main);
            color: white;
            font-weight: 500;
        }
.table-guide td {
            background: #fff;
            border-bottom: 1px solid var(--border);
        }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-header { background:transparent !important; }
