:root {
            --main: #2563eb;
            --accent: #06b6d4;
            --bg: #f4f8ff;
            --text: #0f1e3d;
            --border: #cbd5e1;
        }
        * { box-sizing: border-box; }
        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            margin: 0;
            padding: 0;
            scroll-behavior: smooth;
        }
        a { text-decoration: none; color: inherit; }
        .navbar-custom {
            background: rgba(244, 248, 255, 0.9);
            backdrop-filter: blur(8px);
            border-bottom: 2px solid var(--border);
            font-weight: 600;
            padding: 0.8rem 2rem;
        }
        .navbar-brand {
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--main);
            letter-spacing: -0.5px;
        }
        .nav-link {
            color: var(--text);
            margin-right: 1.2rem;
            font-weight: 500;
            transition: 0.2s;
        }
        .nav-link:hover { color: var(--main); }
        .btn-outline-main {
            border: 2px solid var(--main);
            color: var(--main);
            border-radius: 30px;
            padding: 0.4rem 1.2rem;
            font-weight: 600;
            background: transparent;
            transition: 0.2s;
        }
        .btn-outline-main:hover { background: var(--main); color: white; }
        .hero-section {
            padding: 5rem 0 4rem 0;
            border-bottom: 2px solid var(--border);
        }
        .hero-title {
            font-size: 3.5rem;
            font-weight: 900;
            line-height: 1.1;
            letter-spacing: -2px;
            color: var(--text);
            margin-bottom: 1.5rem;
        }
        .hero-sub {
            font-size: 1.2rem;
            font-weight: 400;
            color: #3a4b6b;
            max-width: 700px;
        }
        .btn-hero {
            background: var(--main);
            color: white;
            border: none;
            padding: 0.9rem 2.2rem;
            border-radius: 40px;
            font-weight: 700;
            margin-right: 1rem;
            box-shadow: none;
            border: 2px solid var(--main);
            transition: 0.2s;
        }
        .btn-hero-outline {
            background: transparent;
            border: 2px solid var(--text);
            color: var(--text);
            padding: 0.9rem 2.2rem;
            border-radius: 40px;
            font-weight: 600;
            transition: 0.2s;
        }
        .btn-hero-outline:hover { background: var(--text); color: white; }
        .section-title {
            font-size: 2rem;
            font-weight: 800;
            border-left: 6px solid var(--main);
            padding-left: 1rem;
            margin: 3rem 0 1.5rem 0;
            letter-spacing: -0.5px;
        }
        .film-card {
            background: white;
            border: 2px solid var(--border);
            border-radius: 0;
            overflow: hidden;
            transition: all 0.2s ease;
            position: relative;
            height: 100%;
            box-shadow: none;
        }
        .film-card:hover { border-color: var(--main); }
        .poster-wrapper {
            overflow: hidden;
            position: relative;
            aspect-ratio: 2/3;
            background: #eef2ff;
        }
        .poster-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .film-card:hover .poster-wrapper img { transform: scale(1.05); }
        .film-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(15,30,61,0.9), transparent);
            color: white;
            padding: 1rem 0.8rem 0.5rem;
            opacity: 0;
            transition: 0.3s;
            font-size: 0.8rem;
        }
        .film-card:hover .film-overlay { opacity: 1; }
        .badge-ep {
            position: absolute;
            top: 8px;
            left: 8px;
            background: var(--accent);
            color: white;
            font-weight: 700;
            font-size: 0.7rem;
            padding: 2px 8px;
            border-radius: 20px;
        }
        .rating-star {
            color: #fbbf24;
            margin-right: 2px;
        }
        .card-body-custom {
            padding: 0.9rem;
        }
        .film-title {
            font-weight: 700;
            font-size: 1rem;
            margin-bottom: 2px;
        }
        .meta-info {
            font-size: 0.8rem;
            color: #4a5b7a;
        }
        .horizontal-scroll {
            display: flex;
            overflow-x: auto;
            gap: 1rem;
            padding-bottom: 0.5rem;
            scrollbar-width: thin;
            scrollbar-color: var(--main) #e2e8f0;
        }
        .horizontal-scroll .film-card { flex: 0 0 180px; }
        .table-compare {
            background: white;
            border: 2px solid var(--border);
            font-size: 0.9rem;
        }
        .table-compare th, .table-compare td { padding: 1rem; border-bottom: 1px solid var(--border); }
        .table-compare th { background: #eef2ff; font-weight: 700; }
        .list-guide {
            counter-reset: step;
            list-style: none;
            padding-left: 0;
        }
        .list-guide li {
            counter-increment: step;
            margin-bottom: 0.8rem;
            font-weight: 500;
            border-bottom: 1px dashed var(--border);
            padding-bottom: 0.8rem;
        }
        .list-guide li::before {
            content: counter(step) ".";
            color: var(--main);
            font-weight: 800;
            margin-right: 1rem;
        }
        .faq-item {
            background: white;
            border: 2px solid var(--border);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border-left: 6px solid var(--main);
        }
        .faq-item h5 { font-weight: 800; }
        .footer-custom {
            border-top: 3px solid var(--border);
            padding: 2.5rem 0;
            background: #eef2ff;
            margin-top: 4rem;
        }
        .friend-links {
            border: 2px dashed var(--main);
            padding: 1.5rem;
            background: white;
        }
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--main);
            color: white;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: 0.3s;
            border: none;
            z-index: 99;
            box-shadow: 0 4px 12px rgba(37,99,235,0.3);
        }
        .back-to-top.show { opacity: 1; visibility: visible; }
        .fade-section { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
        .fade-section.visible { opacity: 1; transform: translateY(0); }
        /* modal custom */
        .modal-movie {
            display: none;
            position: fixed;
            top:0; left:0; width:100%; height:100%;
            background: rgba(15,30,61,0.7);
            backdrop-filter: blur(4px);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            padding: 1rem;
        }
        .modal-card {
            background: white;
            max-width: 750px;
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            border: 3px solid var(--main);
        }
        .modal-poster {
            flex: 0 0 200px;
            background: #ddd;
            min-height: 300px;
            background-size: cover;
            background-position: center;
        }
        .modal-info {
            flex: 1;
            padding: 1.5rem;
            position: relative;
        }
        .modal-close {
            position: absolute;
            top: 10px; right: 15px;
            font-size: 2rem;
            cursor: pointer;
            color: var(--text);
            line-height: 1;
        }
        @media (max-width: 768px) {
            .hero-title { font-size: 2.5rem; }
            .modal-poster { flex: 0 0 120px; min-height: 180px; }
        }

/* --- 子页面追加 --- */
/* 本页专属微调 — 仅补充排行榜细节，不覆盖全局变量 */
        .rank-hero {
            background: linear-gradient(135deg, #eef4ff 0%, #d9e9ff 100%);
            border-bottom: 1px solid var(--border);
        }
.rank-tabs {
            display: flex;
            gap: .5rem;
            flex-wrap: wrap;
            border-bottom: 2px solid var(--border);
            padding-bottom: .75rem;
            margin-bottom: 1.5rem;
        }
.rank-tab-item {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text);
            font-weight: 600;
            padding: .4rem 1rem;
            border-radius: 50rem;
            font-size: .9rem;
            cursor: default;
        }
.rank-tab-item.active {
            background: var(--main);
            border-color: var(--main);
            color: #fff;
        }
.rank-table {
            background: #fff;
            border-radius: 1.25rem;
            box-shadow: 0 8px 20px rgba(37, 99, 235, .06);
            overflow: hidden;
        }
.rank-row {
            display: flex;
            align-items: center;
            padding: 1rem 1.25rem;
            border-bottom: 1px solid #eef2f7;
            transition: background .2s;
        }
.rank-row:last-child { border-bottom: none; }
.rank-row:hover { background: #f8fbff; }
.rank-number {
            font-weight: 800;
            font-size: 1.2rem;
            width: 2.5rem;
            color: var(--main);
            opacity: .8;
        }
.rank-poster {
            width: 48px;
            height: 68px;
            background: var(--border);
            border-radius: 8px;
            flex-shrink: 0;
            overflow: hidden;
            margin-right: 1rem;
            background-size: cover;
            background-position: center;
        }
.rank-info {
            flex: 1;
            min-width: 0;
        }
.rank-title {
            font-weight: 700;
            color: var(--text);
            margin-bottom: .15rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.rank-meta {
            font-size: .8rem;
            color: #6c7a99;
            display: flex;
            gap: .75rem;
            flex-wrap: wrap;
        }
.rank-score {
            font-weight: 800;
            color: var(--accent);
            margin-left: .75rem;
            white-space: nowrap;
        }
.rank-badge {
            background: var(--accent);
            color: #fff;
            font-size: .7rem;
            font-weight: 700;
            padding: .2rem .6rem;
            border-radius: 30px;
            letter-spacing: .3px;
        }
.rank-badge.hot {
            background: #ff6b6b;
        }
.rank-badge.rise {
            background: #f59e0b;
        }
.section-heading {
            font-weight: 800;
            color: var(--text);
            margin-top: 2rem;
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            gap: .5rem;
        }
.section-heading i {
            color: var(--main);
            font-size: 1.4rem;
        }
.friend-links a {
            color: var(--text);
            opacity: .7;
        }
.rank-row { flex-wrap: wrap; }
.rank-poster { margin-right: .5rem; }
.rank-score { margin-left: auto; }

/* --- 子页面追加 --- */
/* 本页专属样式：关于页特有的时间线、数值卡片等 */
        .about-hero {
            background: linear-gradient(135deg, var(--bg) 0%, #e0edff 100%);
            border-bottom: 1px solid var(--border);
            padding: 70px 0 50px;
        }
.about-hero h1 {
            font-size: 2.4rem;
            font-weight: 800;
            color: var(--text);
        }
.about-hero .lead {
            color: #334155;
            max-width: 700px;
            margin: 0 auto;
        }
.stat-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 28px 16px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
            transition: transform .2s;
        }
.stat-card:hover {
            transform: translateY(-4px);
        }
.stat-card .num {
            font-size: 2.2rem;
            font-weight: 900;
            color: var(--main);
        }
.stat-card .label {
            color: #475569;
            font-size: .9rem;
            margin-top: 6px;
        }
.timeline {
            position: relative;
            padding-left: 28px;
            border-left: 3px solid var(--main);
        }
.timeline-item {
            position: relative;
            margin-bottom: 28px;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -36px;
            top: 6px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--accent);
            border: 2px solid #fff;
            box-shadow: 0 0 0 2px var(--main);
        }
.timeline-item h5 {
            font-weight: 700;
            color: var(--text);
            margin-bottom: 4px;
        }
.timeline-item p {
            color: #475569;
            margin-bottom: 0;
        }
.value-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            background: rgba(37, 99, 235, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            color: var(--main);
            margin-bottom: 14px;
        }
.section-title-about {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 12px;
        }
.section-title-about::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 48px;
            height: 3px;
            border-radius: 3px;
            background: var(--accent);
        }
.content-block p {
            color: #334155;
            line-height: 1.85;
            font-size: .98rem;
        }
.list-guide li i {
            color: var(--main);
            margin-right: 8px;
        }

/* --- 子页面追加 --- */
/* 本页专属的细微修饰——不改变站点原配色，仅用于列表/图标对齐 */
        .legal-list { list-style: none; padding-left: 0.25rem; }
.legal-list li { padding-left: 1.6rem; position: relative; margin-bottom: 0.6rem; }
.legal-list li::before { 
            content: "\f058"; 
            font-family: "Font Awesome 6 Free"; 
            font-weight: 900; 
            color: var(--main); 
            position: absolute; 
            left: 0; 
            top: 0.15rem; 
            font-size: 0.9rem; 
        }
.legal-list li strong { color: var(--text); }
.legal-highlight { background: rgba(37, 99, 235, 0.04); border-left: 4px solid var(--main); padding: 1rem 1.2rem; border-radius: 0.5rem; }
.legal-highlight p { margin-bottom: 0.4rem; }
.small-meta { font-size: 0.8rem; color: #64748b; }
/* 保持所有标题与站内一致 (color 变量) */
        h2.section-title { border-bottom: 2px solid var(--border); padding-bottom: 0.6rem; }
.footer-custom a { color: var(--accent); }

/* --- 子页面追加 --- */
/* 本页专属小范围补充样式 */
        .sitemap-section { background: #ffffff; border-radius: 12px; padding: 1.8rem 2rem; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06); }
.sitemap-section h3 { color: var(--main); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.4rem; }
.sitemap-section h3 i { color: var(--accent); }
.sitemap-section ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.sitemap-section li { padding: 0.4rem 0; border-bottom: 1px dashed var(--border); display: flex; align-items: center; gap: 0.5rem; }
.sitemap-section li:last-child { border-bottom: none; }
.sitemap-section li i { color: var(--accent); width: 18px; font-size: 0.85rem; }
.sitemap-section li a { color: var(--text); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.sitemap-section li a:hover { color: var(--main); }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1.2rem; }
.sitemap-desc { color: #64748b; font-size: 0.9rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.sitemap-hero { background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.06)); border-radius: 16px; padding: 2.5rem 2rem; margin-bottom: 2rem; }
.sitemap-hero h1 { font-weight: 800; color: var(--text); }
.sitemap-hero h1 span { color: var(--main); }
.sitemap-hero p { color: #475569; max-width: 720px; margin: 0.8rem auto 0; font-size: 1.05rem; }

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