:root {
            --primary: #f472b6;
            --accent: #fbbf24;
            --bg-soft: #fff5f7;
            --text-main: #4a2530;
            --radius: 8px;
            --shadow-sm: 0 4px 12px rgba(244, 114, 182, 0.12);
            --shadow-hover: 0 12px 24px rgba(74, 37, 48, 0.18);
            --border-light: #ffe4ec;
            --mono-font: 'SF Mono', 'Fira Code', 'Consolas', monospace;
        }
        body {
            background-color: var(--bg-soft);
            color: var(--text-main);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            letter-spacing: -0.01em;
        }
        h1,h2,h3,h4,.navbar-brand {
            font-weight: 900;
            letter-spacing: -0.03em;
        }
        /* 暗色影院风 hero */
        .cinema-hero {
            background: radial-gradient(circle at 70% 20%, #1f1016 0%, #3a1b2b 100%);
            color: #fff0f6;
            padding: 4rem 0 5rem;
            border-bottom: 1px solid #4a2a38;
        }
        .hero-badge {
            background: rgba(251, 191, 36, 0.2);
            border: 1px solid var(--accent);
            color: var(--accent);
            font-family: var(--mono-font);
            font-size: 0.8rem;
            letter-spacing: 0.5px;
        }
        .hero-title {
            font-size: calc(3.2rem + 1.2vw);
            font-weight: 900;
            line-height: 1.1;
            color: #fff;
            text-shadow: 0 4px 20px rgba(244, 114, 182, 0.5);
        }
        .hero-title .brand-underline {
            color: var(--primary);
            border-bottom: 3px solid var(--accent);
        }
        .btn-glow {
            position: relative;
            overflow: hidden;
            transition: transform .2s, box-shadow .2s;
            box-shadow: 0 6px 18px rgba(244, 114, 182, 0.3);
        }
        .btn-glow::after {
            content: '';
            position: absolute;
            top: 0; left: -150%;
            width: 100%; height: 100%;
            background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
            transform: skewX(-25deg);
            transition: left .5s;
        }
        .btn-glow:hover::after {
            left: 150%;
        }
        .btn-glow:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 26px rgba(251, 191, 36, 0.35);
        }
        /* 顶部导航 */
        .nav-blur {
            backdrop-filter: blur(12px);
            background: rgba(255, 245, 247, 0.7);
            border-bottom: 1px solid var(--border-light);
        }
        .navbar-brand {
            font-size: 1.8rem;
            color: var(--text-main) !important;
            font-weight: 900;
            letter-spacing: -0.5px;
        }
        .nav-link-custom {
            font-weight: 600;
            color: #7b4b5b;
            margin: 0 0.6rem;
            transition: 0.2s;
            border-radius: 20px;
            padding: 0.4rem 0.9rem !important;
        }
        .nav-link-custom:hover {
            background: var(--primary);
            color: #fff !important;
            transform: scale(0.98);
        }
        .section-title {
            font-size: 2rem;
            font-weight: 800;
            margin: 2rem 0 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .section-title i {
            color: var(--primary);
        }
        .movie-card {
            background: white;
            border-radius: var(--radius);
            overflow: hidden;
            transition: transform 0.2s, box-shadow 0.25s;
            border: 1px solid #ffe3ee;
            box-shadow: var(--shadow-sm);
            height: 100%;
            position: relative;
            cursor: pointer;
            opacity: 0;
            animation: cardFadeIn 0.6s forwards;
        }
        @keyframes cardFadeIn {
            0% { opacity: 0; transform: translateY(30px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        .movie-card:nth-child(1) { animation-delay: 0.05s; }
        .movie-card:nth-child(2) { animation-delay: 0.15s; }
        .movie-card:nth-child(3) { animation-delay: 0.25s; }
        .movie-card:nth-child(4) { animation-delay: 0.35s; }
        .movie-card:nth-child(5) { animation-delay: 0.45s; }
        .movie-card:nth-child(6) { animation-delay: 0.55s; }
        .movie-card:nth-child(7) { animation-delay: 0.65s; }
        .movie-card:nth-child(8) { animation-delay: 0.75s; }
        .movie-card:nth-child(9) { animation-delay: 0.85s; }
        .movie-card:nth-child(10) { animation-delay: 0.95s; }
        .movie-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }
        .poster-wrapper {
            position: relative;
            aspect-ratio: 2/3;
            overflow: hidden;
            background: #fad1e2;
        }
        .poster-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.4s;
            background: linear-gradient(135deg, #ffd1e5 0%, #f7b8d0 100%);
        }
        .movie-card:hover .poster-wrapper img {
            transform: scale(1.05);
        }
        .gradient-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(transparent 55%, rgba(20, 5, 12, 0.6));
        }
        .play-icon {
            position: absolute;
            top: 45%; left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(8px);
            border: 2px solid rgba(255,255,255,0.7);
            color: white;
            width: 46px; height: 46px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: 0.25s;
            font-size: 1.3rem;
            padding-left: 4px;
        }
        .movie-card:hover .play-icon {
            opacity: 1;
            background: var(--primary);
            border-color: var(--primary);
        }
        .movie-info {
            padding: 10px 8px 8px;
        }
        .movie-title {
            font-weight: 800;
            font-size: 1rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .movie-meta {
            font-family: var(--mono-font);
            font-size: 0.75rem;
            color: #aa7c8c;
            display: flex;
            gap: 8px;
        }
        .rating {
            background: var(--accent);
            color: #333;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 20px;
            font-size: 0.75rem;
        }
        /* 横向滚动 */
        .hscroll {
            display: flex;
            gap: 1.2rem;
            overflow-x: auto;
            padding-bottom: 1rem;
            scrollbar-width: thin;
            scrollbar-color: var(--primary) #ffe1ed;
        }
        .hscroll .movie-card {
            flex: 0 0 200px;
        }
        /* 分类海报矩阵 */
        .poster-matrix .movie-card {
            flex: 0 0 calc(20% - 1rem);
            min-width: 170px;
        }
        @media (max-width: 992px) {
            .poster-matrix .movie-card { flex: 0 0 30%; }
        }
        /* 榜单 */
        .rank-list {
            background: white;
            border-radius: 16px;
            padding: 1.5rem 1rem;
            border: 1px solid var(--border-light);
        }
        .rank-item {
            border-bottom: 1px dashed #f4cedd;
            padding: 0.7rem 0.2rem;
            font-weight: 500;
        }
        .rank-item i {
            color: var(--primary);
            width: 28px;
        }
        /* 抽屉弹窗 */
        .drawer-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.45);
            z-index: 1050;
            display: none;
            align-items: flex-end;
            justify-content: center;
        }
        .drawer-panel {
            background: #fffafc;
            width: 100%;
            max-width: 700px;
            max-height: 75vh;
            border-radius: 24px 24px 0 0;
            padding: 2rem 1.8rem 2.5rem;
            box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
            animation: slideUp 0.3s ease-out;
            overflow-y: auto;
        }
        @keyframes slideUp {
            from { transform: translateY(100%); }
            to { transform: translateY(0); }
        }
        .drawer-panel h4 {
            font-weight: 800;
        }
        .btn-close-drawer {
            background: transparent;
            border: none;
            font-size: 2rem;
            line-height: 1;
            color: var(--text-main);
        }
        /* 心情标签 */
        .mood-tag {
            background: #ffe2ef;
            border-radius: 50px;
            padding: 0.6rem 1.4rem;
            font-weight: 700;
            cursor: pointer;
            border: 1px solid var(--primary);
            transition: 0.2s;
        }
        .mood-tag:hover {
            background: var(--primary);
            color: white;
        }
        .footer-links {
            background: #2d1a22;
            color: #d9b6c3;
            padding: 3rem 0 2rem;
            border-radius: 32px 32px 0 0;
            margin-top: 3rem;
        }
        .footer-links a {
            color: #f2c7d8;
            text-decoration: none;
            margin: 0 0.5rem;
        }
        .footer-links a:hover { color: var(--accent); }
        .friend-links {
            border-top: 1px solid #59404b;
            padding-top: 1.5rem;
            margin-top: 2rem;
        }
        .mono {
            font-family: var(--mono-font);
        }
        .img-load-fade {
            animation: imgFade .6s;
        }
        @keyframes imgFade { from { opacity: 0; } }
        .brand-text {
            font-weight: 900;
            font-size: 1.3rem;
        }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 白底黑字组件，确保与站点融合 */
        .card, .card-body, .form-control, .list-group-item, .accordion-item, .accordion-button {
            background: var(--bg-soft);
            color: var(--text-main);
            border-color: var(--border-light);
        }
.form-control::placeholder {
            color: rgba(74, 37, 48, 0.4);
        }
.accordion-button:not(.collapsed) {
            background: rgba(244, 114, 182, 0.08);
            color: var(--text-main);
        }
.guide-card {
            background: var(--bg-soft);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 1.8rem 1.5rem;
            height: 100%;
            transition: box-shadow 0.25s, transform 0.2s;
            box-shadow: var(--shadow-sm);
        }
.guide-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }
.step-badge {
            background: var(--primary);
            color: white;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            margin-right: 12px;
            font-size: 0.95rem;
        }
.code-inline {
            font-family: var(--mono-font);
            background: rgba(244, 114, 182, 0.08);
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 0.9em;
            color: #b8326e;
        }
.breadcrumb-links a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
        }
.breadcrumb-links a:hover {
            text-decoration: underline;
        }

/* --- 子页面追加 --- */
/* 页面专属微调——仅补充边距、细节，不破坏站内全局样式 */
        .disclaimer-section {
            padding: 3rem 0;
        }
.disclaimer-section h2 {
            font-size: 1.9rem;
            font-weight: 800;
            letter-spacing: -0.01em;
            margin-bottom: 1.2rem;
            color: var(--text-main);
            border-left: 5px solid var(--primary);
            padding-left: 1rem;
        }
.disclaimer-section h3 {
            font-size: 1.4rem;
            font-weight: 700;
            margin-top: 2rem;
            margin-bottom: 0.8rem;
            color: var(--text-main);
        }
.disclaimer-section p {
            color: #5d3640;
            line-height: 1.8;
            margin-bottom: 1rem;
        }
.disclaimer-section a {
            color: var(--primary);
            font-weight: 500;
            text-decoration: underline;
            text-underline-offset: 3px;
            transition: color .2s;
        }
.disclaimer-section a:hover {
            color: #e0528f;
        }
.disclaimer-card {
            background: var(--bg-soft);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 1.8rem 2rem;
            box-shadow: var(--shadow-sm);
            margin-bottom: 2rem;
        }
.disclaimer-card p:last-child {
            margin-bottom: 0;
        }
.btn-back-home {
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 50px;
            padding: 0.7rem 1.8rem;
            font-weight: 600;
            font-size: 0.95rem;
            transition: background .2s, transform .1s;
            display: inline-block;
        }
.btn-back-home:hover {
            background: #e0528f;
            color: #fff;
            transform: translateY(-2px);
        }

/* --- 子页面追加 --- */
/* 排行榜页专属微调 */
        .ranking-hero {
            background: linear-gradient(135deg, #fff5f7 0%, #ffe4ec 100%);
            border-bottom: 1px solid var(--border-light);
        }
.rank-tabs {
            border-bottom: 2px solid var(--border-light);
        }
.rank-tabs .nav-link-custom {
            border: none;
            border-bottom: 3px solid transparent;
            border-radius: 0;
            font-weight: 600;
            padding: .8rem 1.2rem;
            color: var(--text-main);
            background: transparent;
        }
.rank-tabs .nav-link-custom.active {
            border-bottom-color: var(--primary);
            color: var(--primary);
            background: transparent;
        }
.rank-tabs .nav-link-custom:hover {
            border-bottom-color: var(--accent);
            color: var(--primary);
        }
.rank-item:hover {
            box-shadow: var(--shadow-hover);
        }
.rank-number {
            width: 3rem;
            font-family: var(--mono-font);
            font-weight: 800;
            font-size: 1.6rem;
            color: var(--primary);
            opacity: .8;
        }
.rank-info {
            flex: 1;
            padding: 0 1rem;
        }
.rank-title {
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: .2rem;
        }
.rank-meta {
            font-size: .9rem;
            color: #a17b87;
        }
.rank-score {
            font-family: var(--mono-font);
            background: var(--bg-soft);
            padding: .3rem .8rem;
            border-radius: 20px;
            color: var(--primary);
            font-weight: 700;
            font-size: 1rem;
        }
.movie-card .poster-wrapper {
            background: #f8e8ee;
        }
.badge-soft {
            background: var(--bg-soft);
            color: var(--primary);
            font-weight: 600;
            padding: .3rem .8rem;
            border-radius: 20px;
            font-size: .8rem;
        }
.trend-up { color: #e11d48; }
.trend-down { color: #64748b; }
/* 覆盖Bootstrap组件默认白底 */
        .list-group-item {
            background: transparent;
            color: var(--text-main);
            border-color: var(--border-light);
        }

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