:root {
            --primary: #06b6d4;
            --accent: #ec4899;
            --bg-dark: #0c0a1a;
            --text-light: #e0f2fe;
            --radius: 8px;
            --shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            --font-title: 'Inter', sans-serif;
        }

        * { font-family: var(--font-title); }

        body {
            background-color: var(--bg-dark);
            color: var(--text-light);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* 阅读进度条 */
        #scrollProgress {
            position: fixed;
            top: 0; left: 0;
            height: 4px;
            width: 0%;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            z-index: 10000;
            transition: width 0.1s ease;
        }

        /* 顶部导航 */
        .navbar-custom {
            background: rgba(12, 10, 26, 0.85);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(6, 182, 212, 0.2);
        }
        .navbar-brand {
            font-weight: 900;
            font-size: 1.8rem;
            letter-spacing: -0.5px;
            color: white;
        }
        .navbar-brand i { color: var(--primary); margin-right: 5px; }
        .nav-link-custom {
            color: var(--text-light);
            font-weight: 500;
            margin: 0 12px;
            transition: 0.2s;
        }
        .nav-link-custom:hover { color: var(--primary); }

        /* Hero 区 */
        .hero-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 40px;
            align-items: center;
            padding: 40px 0 20px;
        }
        .hero-media {
            width: 100%;
            aspect-ratio: 16/10;
            object-fit: cover;
            border-radius: 16px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(255,255,255,0.1);
        }
        .eyebrow {
            color: var(--accent);
            font-weight: 700;
            letter-spacing: 2px;
            font-size: 1rem;
        }
        .display-hero {
            font-weight: 900;
            font-size: 3.6rem;
            line-height: 1.15;
            color: white;
            margin: 10px 0 20px;
        }
        .display-hero .brand-strong { color: var(--primary); }
        .hero-desc {
            color: #b4c9e0;
            max-width: 600px;
            font-size: 1.2rem;
            margin-bottom: 30px;
        }
        .signal-list {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin-top: 35px;
        }
        .signal-item {
            background: rgba(255,255,255,0.02);
            padding: 12px 8px;
            border-radius: 12px;
            border: 1px solid rgba(6,182,212,0.2);
            text-align: center;
        }
        .signal-item strong { font-size: 1.5rem; font-weight: 800; color: var(--primary); }

        /* 分区编号标题 */
        .section-number {
            display: flex;
            align-items: baseline;
            gap: 12px;
            margin: 40px 0 20px;
            border-bottom: 2px solid rgba(6,182,212,0.2);
            padding-bottom: 10px;
        }
        .section-number .num {
            font-size: 2.5rem;
            font-weight: 800;
            color: transparent;
            -webkit-text-stroke: 2px var(--accent);
            opacity: 0.7;
        }
        .section-number h2 {
            font-weight: 800;
            font-size: 2.2rem;
            color: white;
        }

        /* 卡片栅格 */
        .poster-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 20px;
            width: 100%;
        }
        @media (max-width: 1024px) { .poster-grid { grid-template-columns: repeat(4, 1fr); } }
        @media (max-width: 768px) { .poster-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 480px) { .poster-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

        .movie-card {
            background: #120f2a;
            border-radius: var(--radius);
            overflow: hidden;
            transition: 0.3s;
            border: 1px solid rgba(255,255,255,0.02);
            box-shadow: 0 5px 15px rgba(0,0,0,0.5);
            cursor: pointer;
            position: relative;
        }
        .movie-card:hover { transform: translateY(-6px); border-color: var(--primary); }
        .movie-card img {
            width: 100%;
            aspect-ratio: 2/3;
            object-fit: cover;
            display: block;
            background: #2a2745;
        }
        .card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
            display: flex;
            align-items: flex-end;
            justify-content: center;
            opacity: 0;
            transition: 0.3s;
        }
        .movie-card:hover .card-overlay { opacity: 1; }
        .play-icon {
            background: rgba(6,182,212,0.8);
            color: white;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            margin-bottom: 15px;
        }
        .movie-info {
            padding: 10px 8px;
        }
        .movie-info h3 {
            font-size: 1rem;
            font-weight: 700;
            color: white;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 4px;
        }
        .meta-badge {
            color: #8fb8d9;
            font-size: 0.8rem;
            display: flex;
            gap: 6px;
        }

        /* 侧滑弹窗 */
        .side-panel {
            position: fixed;
            top: 0; right: -420px;
            width: 380px;
            max-width: 90vw;
            height: 100vh;
            background: #0e0b22;
            z-index: 2000;
            box-shadow: -5px 0 30px rgba(0,0,0,0.6);
            transition: right 0.35s cubic-bezier(0.23, 1, 0.32, 1);
            padding: 25px;
            overflow-y: auto;
            border-left: 2px solid var(--primary);
        }
        .side-panel.active { right: 0; }
        .panel-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.6);
            z-index: 1999;
            visibility: hidden;
            opacity: 0;
            transition: 0.3s;
        }
        .panel-backdrop.active { visibility: visible; opacity: 1; }
        .close-panel {
            font-size: 2rem;
            color: var(--accent);
            background: none;
            border: none;
            float: right;
        }
        .panel-poster {
            width: 100%;
            aspect-ratio: 2/3;
            object-fit: cover;
            border-radius: 12px;
            margin-bottom: 15px;
        }
        .panel-field { margin: 8px 0; border-bottom: 1px dashed #2f2b4a; padding-bottom: 5px; }

        /* 表格等 */
        .compare-table td, .compare-table th { color: var(--text-light); }
        .list-numbered { list-style: none; counter-reset: steps; }
        .list-numbered li { counter-increment: steps; margin-bottom: 10px; }
        .list-numbered li::before { content: counter(steps) ". "; color: var(--accent); font-weight: bold; }

        .btn-glow {
            background: linear-gradient(145deg, var(--primary), #0a8ea8);
            color: white;
            border: none;
            border-radius: 40px;
            padding: 10px 24px;
            font-weight: 600;
            transition: background 0.3s, box-shadow 0.3s;
            box-shadow: 0 0 15px rgba(6,182,212,0.3);
        }
        .btn-glow:hover { box-shadow: 0 0 25px rgba(6,182,212,0.8); background: var(--accent); }

        footer a { color: #91a7c4; text-decoration: none; margin-right: 15px; }
        footer a:hover { color: var(--primary); }

        .card-article, .life-tip-card { background: #151230; border-radius: 16px; padding: 18px; border: 1px solid #2d2845; }
        .poster-grid .movie-card { animation: fadeSlideIn 0.5s ease forwards; opacity: 0; }
        @keyframes fadeSlideIn {
            0% { opacity: 0; transform: translateY(15px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        .poster-grid .movie-card:nth-child(1) { animation-delay: 0.05s; }
        .poster-grid .movie-card:nth-child(2) { animation-delay: 0.1s; }
        .poster-grid .movie-card:nth-child(3) { animation-delay: 0.15s; }
        .poster-grid .movie-card:nth-child(4) { animation-delay: 0.2s; }
        .poster-grid .movie-card:nth-child(5) { animation-delay: 0.25s; }
        .poster-grid .movie-card:nth-child(6) { animation-delay: 0.3s; }
        /* 其余依次 */
        .compare-table { background: #151230; border-radius: 12px; overflow: hidden; }
        .compare-table th { color: var(--primary); }

        @media (max-width: 768px) {
            .hero-grid { grid-template-columns: 1fr; }
            .display-hero { font-size: 2.4rem; }
            .signal-list { grid-template-columns: repeat(2, 1fr); }
        }

/* --- 子页面追加 --- */
/* 覆盖 bootstrap 组件白底黑字，统一为深色站点配色 */
        .card, .card-body, .card-header, .card-footer,
        .accordion-item, .accordion-button, .accordion-body,
        .form-control, .form-select, .modal-content {
            background: rgba(12, 10, 26, 0.9) !important;
            color: var(--text-light) !important;
            border-color: #1f2a44 !important;
        }
.card-title, .card-text, .accordion-button, .accordion-body, .form-label {
            color: var(--text-light) !important;
        }
.accordion-button:not(.collapsed) {
            background: rgba(6, 182, 212, 0.15) !important;
            color: var(--primary) !important;
            box-shadow: none;
        }
.accordion-button::after {
            filter: invert(1);
        }
.form-control::placeholder {
            color: rgba(224, 242, 254, 0.4) !important;
        }
.list-group-item {
            background: transparent !important;
            color: var(--text-light) !important;
            border-color: #1f2a44 !important;
        }
.nav-link-custom.active {
            color: var(--primary) !important;
            font-weight: 600;
        }
/* 本页特有排版增强 */
        .guide-hero {
            background: linear-gradient(145deg, rgba(6,182,212,0.12), transparent 40%);
            border-bottom: 1px solid rgba(6,182,212,0.2);
        }
.guide-section {
            background: rgba(20, 16, 40, 0.5);
            border-radius: var(--radius);
            padding: 2rem 1.8rem;
            border: 1px solid rgba(6,182,212,0.2);
            backdrop-filter: blur(2px);
            transition: transform .2s;
        }
.guide-section:hover {
            transform: translateY(-3px);
            border-color: var(--primary);
        }
.guide-icon {
            width: 48px;
            height: 48px;
            background: rgba(6,182,212,0.15);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
.code-inline {
            background: rgba(0,0,0,.35);
            padding: 0.2rem 0.5rem;
            border-radius: 6px;
            font-family: monospace;
            color: #7dd3fc;
            font-size: 0.9rem;
            border: 1px solid rgba(6,182,212,0.3);
        }
.table-guide td {
            background: transparent !important;
            color: var(--text-light) !important;
            border-color: #1f2a44;
            padding: 0.8rem 0.5rem;
        }
.badge-soft {
            background: rgba(236, 72, 153, 0.2);
            color: var(--accent);
            padding: 0.2rem 0.8rem;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 500;
        }
.guide-section {
                padding: 1.2rem;
            }

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