/* 全局与设计变量 — 暖橙放映厅(深色) */
        :root {
            --main: #f97316;
            --accent: #facc15;
            --bg: #1a1410;
            --text: #fff7ed;
            --border-thick: 3px solid #f97316;
            --shadow-hard: 8px 8px 0px 0px #000000;
            --font-head: 'Inter', 'Impact', sans-serif;
            --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }

        * {
            border-radius: 0 !important; /* 全直角 */
            box-sizing: border-box;
        }

        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: var(--font-body);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, .display-title {
            font-family: var(--font-head);
            font-weight: 900;
            letter-spacing: 1px;
        }

        /* 吸顶导航 */
        .navbar-peach {
            background: rgba(26, 20, 16, 0.9);
            backdrop-filter: blur(6px);
            border-bottom: 2px solid var(--main);
            transition: background 0.3s ease;
            z-index: 1000;
        }

        .navbar-peach .navbar-brand,
        .navbar-peach .nav-link {
            color: var(--text) !important;
            font-weight: 600;
            transition: color 0.2s;
        }

        .navbar-peach .nav-link:hover {
            color: var(--accent) !important;
        }

        /* 通用卡片风格: 直角硬边 + 硬阴影 */
        .hard-card {
            background: #2a211b;
            border: 2px solid #f97316;
            box-shadow: 6px 6px 0 0 #000000;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .hard-card:hover {
            transform: translate(-2px, -2px);
            box-shadow: 10px 10px 0 0 #000000;
        }

        /* 海报卡片 */
        .poster-card {
            position: relative;
            min-width: 180px;
            max-width: 220px;
            background: #221a14;
            border: 2px solid var(--main);
            overflow: hidden;
            transition: all 0.2s;
            cursor: pointer;
            flex-shrink: 0;
            box-shadow: 6px 6px 0 0 #000;
        }

        .poster-card img {
            width: 100%;
            aspect-ratio: 2 / 3;
            object-fit: cover;
            display: block;
            transition: transform 0.4s ease;
        }

        .poster-card:hover img {
            transform: scale(1.08);
        }

        .poster-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent);
            padding: 12px 8px 8px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .poster-card:hover .poster-info {
            opacity: 1;
        }

        .poster-info .title {
            font-weight: 800;
            font-size: 1rem;
            color: white;
            margin-bottom: 2px;
        }

        .poster-info .meta {
            font-size: 0.75rem;
            color: #fcd34d;
        }

        /* 播放按钮浮层 */
        .play-overlay {
            position: absolute;
            top: 40%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(249, 115, 22, 0.8);
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 0;
            border: 2px solid #fff;
            opacity: 0;
            transition: 0.2s;
            pointer-events: none;
        }

        .poster-card:hover .play-overlay {
            opacity: 1;
        }

        /* 分区标题 */
        .section-title {
            border-left: 8px solid var(--main);
            padding-left: 1rem;
            font-size: 2rem;
            font-weight: 800;
            margin: 2.5rem 0 1.5rem;
            text-transform: uppercase;
        }

        .section-title i {
            color: var(--accent);
            margin-right: 8px;
        }

        /* 横向滚动 */
        .poster-row {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            padding: 10px 2px 20px;
            scroll-snap-type: x mandatory;
        }

        .poster-row > * {
            scroll-snap-align: start;
        }

        /* Hero 大图压暗 */
        .hero-section {
            position: relative;
            background-image: url('{随机图片}'); /* 占位符, 主视觉背景 */
            background-size: cover;
            background-position: center;
            min-height: 65vh;
            display: flex;
            align-items: center;
            justify-content: center;
            border-bottom: 4px solid var(--main);
        }

        .hero-overlay {
            background: rgba(0, 0, 0, 0.7);
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 2rem;
        }

        .hero-overlay h1 {
            font-size: clamp(2.5rem, 7vw, 5rem);
            color: white;
            text-shadow: 6px 6px 0 var(--main);
        }

        /* 榜单样式 */
        .rank-list {
            background: #221b15;
            border: 2px solid var(--accent);
            box-shadow: 8px 8px 0 #000;
        }

        .rank-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 12px 18px;
            border-bottom: 1px dashed #4a3a2c;
        }

        .rank-number {
            font-size: 2rem;
            font-weight: 900;
            color: var(--main);
            width: 40px;
        }

        /* 分类入口块 */
        .cat-block {
            background: #262019;
            border: 2px solid var(--main);
            padding: 0.8rem;
            text-align: center;
            font-weight: 700;
            transition: all 0.2s;
            box-shadow: 4px 4px 0 #000;
        }

        .cat-block i {
            font-size: 1.8rem;
            color: var(--accent);
            margin-bottom: 8px;
        }

        /* 抽屉弹窗 */
        .drawer-modal {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #2d241e;
            border-top: 4px solid var(--main);
            transform: translateY(100%);
            transition: transform 0.4s ease;
            z-index: 2000;
            max-height: 70vh;
            overflow-y: auto;
            padding: 2rem 1.5rem 1.5rem;
            box-shadow: 0 -10px 30px rgba(0,0,0,0.7);
        }

        .drawer-modal.show {
            transform: translateY(0);
        }

        .drawer-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.6);
            z-index: 1999;
            opacity: 0;
            pointer-events: none;
            transition: 0.3s;
        }

        .drawer-backdrop.show {
            opacity: 1;
            pointer-events: auto;
        }

        /* 手风琴 */
        .accordion-peach .accordion-item {
            background: transparent;
            border: 2px solid var(--main);
            margin-bottom: 15px;
        }

        .accordion-peach .accordion-button {
            background: #1f1813;
            color: var(--text);
            font-weight: 600;
            box-shadow: none;
            border-bottom: 2px solid var(--main);
        }

        .accordion-peach .accordion-body {
            background: #241c16;
            color: #e5d5c5;
        }

        footer {
            border-top: 3px solid var(--main);
            background: #14100c;
            padding: 2rem 0;
        }

        /* 数字滚动特效 */
        .countup {
            font-weight: 900;
            color: var(--accent);
        }

        /* 动态吸顶 */
        .scrolled {
            background: rgba(10, 5, 2, 0.95) !important;
            box-shadow: 0 4px 15px rgba(0,0,0,0.8);
        }

        /* 工具 */
        .no-wrap { white-space: nowrap; }
        .text-accent { color: var(--accent); }
        .border-hard { border: 2px solid var(--main); }
        .bg-soft { background: #241c16; }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件默认白底黑字，保持站点深色风格 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
            background: var(--card-bg, #241b14);
            color: var(--text, #fff7ed);
            border-color: var(--border-color, #f97316);
        }
.form-control, .form-select {
            background: rgba(0,0,0,.35);
            color: var(--text, #fff7ed);
            border-color: var(--border-color, #f97316);
        }
.form-control::placeholder {
            color: rgba(255,255,255,.45);
        }
.list-group-item {
            background: #241b14;
            color: var(--text, #fff7ed);
            border-color: #f97316;
        }
.accordion-item, .accordion-button {
            background: #241b14;
            color: var(--text, #fff7ed);
            border-color: #f97316;
        }
.accordion-button:not(.collapsed) {
            background: #3a2c20;
            color: #fff7ed;
        }
.modal-content {
            background: #241b14;
            color: #fff7ed;
        }
.dropdown-menu {
            background: #241b14;
            color: #fff7ed;
        }
.dropdown-item {
            background: #241b14;
            color: #fff7ed;
        }
.dropdown-item:hover {
            background: #3a2c20;
            color: #fff7ed;
        }
/* 额外辅助 */
        .guide-section {
            background: #1f1812;
            border: 2px solid #f97316;
            box-shadow: var(--shadow-hard);
            padding: 2rem;
            margin-bottom: 2.5rem;
        }
.guide-section h2 {
            font-family: var(--font-head);
            color: var(--main);
            border-bottom: 2px dashed var(--main);
            padding-bottom: .5rem;
            margin-bottom: 1.5rem;
        }
.guide-section h3 {
            color: var(--accent);
            font-family: var(--font-head);
        }
.step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--main);
            color: #000;
            font-weight: 800;
            width: 2rem;
            height: 2rem;
            margin-right: .5rem;
            border: 2px solid #000;
            box-shadow: 2px 2px 0 #000;
        }
.search-tip {
            background: #2a1e15;
            border-left: 4px solid var(--main);
            padding: .75rem 1rem;
            margin: 1rem 0;
        }
.badge-peach {
            background: var(--main);
            color: #000;
            font-weight: 700;
            padding: .25rem .6rem;
            border-radius: 0;
            border: 1px solid #000;
        }
.faq-item {
            background: #241b14;
            border: 1px solid #f97316;
            padding: 1rem 1.5rem;
            margin-bottom: 1rem;
        }
/* 覆盖 nav-link 激活色 */
        .navbar-peach .nav-link.active {
            color: var(--main) !important;
            font-weight: 700;
        }

/* --- 子页面追加 --- */
/* 确保卡片/表格等组件适配暗色，覆盖bootstrap默认白底 */
        .disclaimer-card, .disclaimer-card .card-body {
            background: rgba(0,0,0,0.25);
            border: 1px solid rgba(249,115,22,0.25);
            border-left: 4px solid var(--main);
            color: var(--text);
            border-radius: 0.5rem;
        }
.disclaimer-card .card-title {
            color: var(--accent);
            font-weight: 700;
        }
.disclaimer-card .card-text, .disclaimer-card li {
            color: rgba(255,247,237,0.9);
        }
.list-group-item-custom {
            background: transparent;
            border: none;
            padding-left: 0.25rem;
            color: var(--text);
        }
.list-group-item-custom i {
            color: var(--main);
            margin-right: 0.5rem;
        }
hr {
            border-color: rgba(249,115,22,0.3);
            opacity: 0.6;
        }
a:hover {
            color: var(--main);
        }
/* 覆盖bootstrap navbar-link颜色，与首页保持一致 */
        .navbar-nav .nav-link {
            color: var(--text) !important;
        }
.navbar-nav .nav-link.active {
            color: var(--accent) !important;
            font-weight: 600;
        }
.navbar-brand {
            color: var(--text) !important;
        }
/* 确保图标与文字对比度 */
        .fa-clapperboard {
            color: var(--main);
        }

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