:root {
            --primary: #f97316;
            --accent: #facc15;
            --bg: #1a1410;
            --text: #fff7ed;
            --card-bg: #2a211c;
            --line: #3a2e28;
            --muted: #b3a597;
            --radius: 8px;
            --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
            --font-title: 'Inter', sans-serif;
            --font-body: 'Inter', sans-serif;
            --font-mono: 'SF Mono', 'Fira Code', 'Courier New', monospace;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            background: var(--bg);
            color: var(--text);
            font-family: var(--font-body);
            overflow-x: hidden;
        }
        h1, h2, h3, h4, h5 {
            font-family: var(--font-title);
            font-weight: 800;
        }
        /* Navbar */
        .navbar {
            background: rgba(26, 20, 16, 0.9);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--line);
            padding: 12px 0;
            transition: background 0.3s ease;
            z-index: 1000;
        }
        .navbar.scrolled {
            background: rgba(26, 20, 16, 0.7);
        }
        .navbar-brand {
            font-weight: 900;
            font-size: 1.5rem;
            color: var(--primary) !important;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .navbar-nav .nav-link {
            color: var(--text) !important;
            font-weight: 500;
            padding: 8px 16px !important;
            transition: color 0.3s;
            font-size: 0.95rem;
        }
        .navbar-nav .nav-link:hover {
            color: var(--accent) !important;
        }
        .navbar-toggler {
            border-color: var(--primary);
            color: var(--primary);
        }
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23f97316' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }
        /* Hero */
        .hero {
            padding: 120px 0 60px;
            background: radial-gradient(ellipse at top, rgba(249, 115, 22, 0.15), transparent 60%);
        }
        .hero .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-bottom: 30px;
        }
        .hero .tag-cloud span {
            background: rgba(249, 115, 22, 0.1);
            border: 1px solid rgba(249, 115, 22, 0.3);
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 0.85rem;
            color: var(--accent);
            animation: float 3s ease-in-out infinite;
        }
        .hero h1 {
            font-size: 3.2rem;
            font-weight: 900;
            color: var(--text);
            margin-bottom: 16px;
            letter-spacing: -1px;
        }
        .hero h1 span {
            color: var(--primary);
        }
        .hero .subtitle {
            color: var(--muted);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-6px); }
        }
        /* Section */
        .section {
            padding: 50px 0;
        }
        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 28px;
            border-bottom: 1px solid var(--line);
            padding-bottom: 14px;
        }
        .section-title {
            font-size: 1.6rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .section-title i {
            color: var(--primary);
        }
        .section-more {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
        }
        .section-more:hover {
            color: var(--accent);
        }
        /* Cards */
        .movie-row {
            display: flex;
            gap: 18px;
            overflow-x: auto;
            padding-bottom: 16px;
            scrollbar-width: thin;
            scrollbar-color: var(--primary) var(--bg);
        }
        .movie-row::-webkit-scrollbar {
            height: 6px;
        }
        .movie-row::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 6px;
        }
        .movie-card {
            flex: 0 0 auto;
            width: 180px;
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            background: var(--card-bg);
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            border: 1px solid var(--line);
            scroll-snap-align: start;
        }
        .movie-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow);
            border-color: var(--primary);
        }
        .movie-card .poster-wrap {
            position: relative;
            aspect-ratio: 2 / 3;
            overflow: hidden;
        }
        .movie-card .poster-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.4s;
        }
        .movie-card:hover .poster-wrap img {
            transform: scale(1.05);
        }
        .movie-card .gradient {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(26, 20, 16, 0.9) 0%, transparent 60%);
        }
        .movie-card .play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.6);
            width: 48px;
            height: 48px;
            background: rgba(249, 115, 22, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
            color: white;
            font-size: 18px;
            border: none;
        }
        .movie-card:hover .play-btn {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
        .movie-card .info {
            padding: 10px;
        }
        .movie-card .info .name {
            font-weight: 700;
            font-size: 0.9rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 4px;
        }
        .movie-card .info .meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.75rem;
            color: var(--muted);
        }
        .movie-card .info .rating {
            color: var(--accent);
            font-weight: 700;
            font-family: var(--font-mono);
        }
        /* Rank List */
        .rank-list {
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(250, 204, 21, 0.03));
            border: 1px solid var(--line);
            border-radius: var(--radius);
            padding: 24px;
        }
        .rank-item {
            display: flex;
            align-items: center;
            padding: 14px 10px;
            border-bottom: 1px solid var(--line);
            cursor: pointer;
            transition: background 0.2s;
        }
        .rank-item:last-child {
            border-bottom: none;
        }
        .rank-item:hover {
            background: rgba(249, 115, 22, 0.08);
        }
        .rank-num {
            font-family: var(--font-mono);
            font-size: 1.4rem;
            font-weight: 900;
            width: 50px;
            color: var(--primary);
        }
        .rank-item:nth-child(-n+3) .rank-num {
            color: var(--accent);
        }
        .rank-info {
            flex: 1;
            padding: 0 14px;
        }
        .rank-info .name {
            font-weight: 600;
            font-size: 0.95rem;
        }
        .rank-info .desc {
            color: var(--muted);
            font-size: 0.8rem;
        }
        .rank-score {
            font-family: var(--font-mono);
            font-weight: 700;
            color: var(--accent);
            font-size: 1.1rem;
        }
        /* Steps */
        .steps-wrap {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin: 30px 0;
        }
        .step-item {
            text-align: center;
            padding: 20px;
            background: var(--card-bg);
            border-radius: var(--radius);
            border: 1px solid var(--line);
            flex: 1;
            max-width: 220px;
        }
        .step-num {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-family: var(--font-mono);
            margin-bottom: 12px;
        }
        .step-item h5 {
            font-size: 1rem;
            margin-bottom: 8px;
        }
        .step-item p {
            color: var(--muted);
            font-size: 0.85rem;
        }
        /* Upcoming */
        .upcoming-card {
            background: var(--card-bg);
            border: 1px solid var(--line);
            border-radius: var(--radius);
            overflow: hidden;
            transition: transform 0.3s;
            cursor: pointer;
        }
        .upcoming-card:hover {
            transform: translateY(-4px);
        }
        .upcoming-card .u-poster {
            aspect-ratio: 16/9;
            background: linear-gradient(45deg, rgba(249, 115, 22, 0.2), rgba(250, 204, 21, 0.1));
            position: relative;
            overflow: hidden;
        }
        .upcoming-card .u-poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .upcoming-card .u-info {
            padding: 16px;
        }
        .upcoming-card .u-tag {
            background: rgba(249, 115, 22, 0.15);
            color: var(--primary);
            padding: 4px 12px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 10px;
        }
        .upcoming-card h5 {
            font-size: 1rem;
            margin-bottom: 6px;
        }
        .upcoming-card p {
            color: var(--muted);
            font-size: 0.8rem;
        }
        /* FAQ */
        .faq-item {
            background: var(--card-bg);
            border: 1px solid var(--line);
            border-radius: var(--radius);
            padding: 20px;
            margin-bottom: 12px;
        }
        .faq-item h5 {
            color: var(--primary);
            margin-bottom: 8px;
            font-size: 1rem;
        }
        .faq-item p {
            color: var(--muted);
            font-size: 0.9rem;
        }
        /* Friends */
        .friends-links {
            background: var(--card-bg);
            border: 1px solid var(--line);
            border-radius: var(--radius);
            padding: 20px;
        }
        .friends-links a {
            color: var(--muted);
            text-decoration: none;
            margin-right: 16px;
            font-size: 0.9rem;
        }
        .friends-links a:hover {
            color: var(--accent);
        }
        /* Footer */
        footer {
            border-top: 1px solid var(--line);
            padding: 30px 0;
            margin-top: 40px;
            background: rgba(0, 0, 0, 0.2);
        }
        footer a {
            color: var(--muted);
            text-decoration: none;
            margin: 0 10px;
            font-size: 0.85rem;
        }
        footer a:hover {
            color: var(--primary);
        }
        /* Drawer Modal */
        .drawer-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 9999;
            display: none;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .drawer-overlay.show {
            display: block;
            opacity: 1;
        }
        .drawer-panel {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #241c16;
            border-radius: 20px 20px 0 0;
            padding: 30px 20px 40px;
            transform: translateY(100%);
            transition: transform 0.4s ease;
            z-index: 10000;
            max-height: 80vh;
            overflow-y: auto;
            border-top: 2px solid var(--primary);
        }
        .drawer-panel.open {
            transform: translateY(0);
        }
        .drawer-close {
            position: absolute;
            top: 14px;
            right: 14px;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            color: var(--text);
            font-size: 14px;
            cursor: pointer;
        }
        .drawer-title {
            font-size: 1.4rem;
            font-weight: 800;
            margin-bottom: 16px;
            color: var(--primary);
        }
        .drawer-body .detail-row {
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
            font-size: 0.9rem;
        }
        .drawer-body .detail-label {
            color: var(--muted);
            min-width: 60px;
            font-weight: 500;
        }
        .drawer-body .detail-value {
            color: var(--text);
        }
        .drawer-body .plot {
            margin-top: 14px;
            padding: 14px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: var(--radius);
            line-height: 1.6;
            font-size: 0.9rem;
        }
        /* Counter */
        .stat-number {
            font-family: var(--font-mono);
            font-weight: 800;
            color: var(--accent);
        }
        @media (max-width: 768px) {
            .hero h1 { font-size: 2.2rem; }
            .movie-card { width: 140px; }
            .rank-num { width: 36px; font-size: 1.1rem; }
            .section-title { font-size: 1.2rem; }
        }

/* --- 子页面追加 --- */
/* 确保卡片/列表组件贴合深色主题 (覆盖bootstrap默认白底) */
        .movie-card, .rank-item, .upcoming-card, .faq-item {
            background: var(--card-bg);
            color: var(--text);
            border: 1px solid var(--line);
            border-radius: var(--radius);
            transition: transform .2s ease, box-shadow .2s ease;
        }
.movie-card:hover, .rank-item:hover, .upcoming-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
            border-color: var(--primary);
        }
.text-muted-custom { color: var(--muted); }
.badge-accent {
            background: var(--accent);
            color: #1a1410;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 30px;
            font-size: .75rem;
        }
.btn-outline-custom {
            border: 1px solid var(--primary);
            color: var(--primary);
            padding: 6px 16px;
            border-radius: 30px;
            font-weight: 500;
            background: transparent;
            transition: .2s;
        }
.btn-outline-custom:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }
.divider-custom {
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--line), transparent);
            margin: 2rem 0;
        }
/* 片单网格卡片内部样式 */
        .mini-poster {
            width: 100%;
            aspect-ratio: 2 / 3;
            object-fit: cover;
            border-radius: 6px;
            background: #201a16;
        }
.movie-card .card-body {
            padding: 14px 4px 6px;
        }
.movie-card .card-title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 4px;
            color: var(--text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.movie-card .card-text {
            font-size: .82rem;
            color: var(--muted);
            display: flex;
            justify-content: space-between;
        }
.genre-tag {
            background: rgba(249, 115, 22, .15);
            color: var(--primary);
            padding: 2px 10px;
            border-radius: 20px;
            font-size: .7rem;
            font-weight: 500;
            display: inline-block;
        }
/* 页内锚点偏移 */
        .scroll-offset {
            scroll-margin-top: 80px;
        }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件类不会破坏深色风格 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
            background: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: var(--line) !important;
        }
.list-group-item {
            background: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: var(--line) !important;
        }
.form-control, .form-select {
            background: rgba(0,0,0,0.35) !important;
            color: var(--text) !important;
            border-color: var(--line) !important;
        }
.form-control::placeholder {
            color: rgba(255,255,255,0.45) !important;
        }
/* 剧集卡片悬停效果 */
        .tv-card {
            background: var(--card-bg);
            border: 1px solid var(--line);
            border-radius: var(--radius);
            padding: 1rem;
            transition: transform 0.2s, box-shadow 0.2s;
            height: 100%;
        }
.tv-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
        }
.tv-card .card-img-top {
            border-radius: calc(var(--radius) - 2px);
            width: 100%;
            object-fit: cover;
            aspect-ratio: 16/9;
            background: #1e1712;
        }
.tv-card .badge-ep {
            background: var(--primary);
            color: #fff;
            font-size: 0.7rem;
            padding: 0.3em 0.7em;
            border-radius: 20px;
        }
.tv-card .progress {
            background: rgba(255,255,255,0.1);
            height: 6px;
        }
.tv-card .progress-bar {
            background: var(--accent);
        }
.tv-filter-bar {
            background: rgba(0,0,0,0.25);
            border: 1px solid var(--line);
            border-radius: var(--radius);
            padding: 0.8rem 1.2rem;
        }
.tv-filter-bar .btn-filter {
            background: transparent;
            border: 1px solid var(--line);
            color: var(--muted);
            border-radius: 30px;
            padding: 0.25rem 1rem;
            font-size: 0.85rem;
            transition: all 0.2s;
        }
.tv-filter-bar .btn-filter:hover {
            border-color: var(--primary);
            color: var(--text);
        }
.tv-filter-bar .btn-filter.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }
.section-title-icon {
            color: var(--primary);
            margin-right: 8px;
        }
.text-muted-2 {
            color: var(--muted);
        }
.star-rating {
            color: var(--accent);
            font-size: 0.85rem;
            letter-spacing: 2px;
        }

/* --- 子页面追加 --- */
/* 本页专属小样式 */
        .variety-hero { background: linear-gradient(135deg, rgba(249,115,22,.15), transparent 60%), var(--bg); padding: 60px 0 30px; }
.variety-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.variety-hero p { color: var(--muted); max-width: 640px; }
.variety-cat { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.variety-cat a { display: inline-block; padding: 6px 18px; border-radius: 20px; font-size: .9rem; background: var(--card-bg); color: var(--text); text-decoration: none; border: 1px solid var(--line); transition: all .2s; }
.variety-cat a:hover, .variety-cat a.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.variety-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; transition: transform .3s, box-shadow .3s; height: 100%; }
.variety-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.variety-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.variety-thumb img { width: 100%; height: 100%; object-fit: cover; }
.variety-tag { position: absolute; top: 10px; left: 10px; background: rgba(249,115,22,.9); color: #fff; padding: 2px 10px; border-radius: 12px; font-size: .75rem; font-weight: 600; }
.variety-info { padding: 16px 18px 20px; }
.variety-info h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }
.variety-info .meta { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.variety-info .desc { font-size: .88rem; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.variety-update { font-size: .8rem; color: var(--accent); margin-top: 10px; }
.section-head { margin: 50px 0 24px; position: relative; }
.section-head h2 { font-size: 1.6rem; font-weight: 700; }
.section-head h2 span { color: var(--primary); }
.section-head::after { content: ''; display: block; width: 48px; height: 3px; background: var(--primary); margin-top: 8px; border-radius: 2px; }
.variety-hero h1 { font-size: 1.8rem; }
.variety-info { padding: 12px 14px 16px; }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .anime-hero {
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(250, 204, 21, 0.05) 50%, rgba(26, 20, 16, 0) 100%);
            padding: 60px 0 40px;
            border-bottom: 1px solid var(--line);
        }
.anime-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 20px;
            padding: 20px 0;
        }
.anime-item {
            background: var(--card-bg);
            border-radius: var(--radius);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid var(--line);
        }
.anime-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }
.anime-item img {
            width: 100%;
            aspect-ratio: 3/4;
            object-fit: cover;
            display: block;
        }
.anime-item-info {
            padding: 12px;
        }
.anime-item-title {
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--text);
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.anime-item-meta {
            font-size: 0.75rem;
            color: var(--muted);
        }
.anime-tag {
            display: inline-block;
            background: rgba(249, 115, 22, 0.2);
            color: var(--primary);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.7rem;
            margin-right: 4px;
            margin-bottom: 4px;
        }
.section-block {
            padding: 50px 0;
            border-bottom: 1px solid var(--line);
        }
.section-block:last-child {
            border-bottom: none;
        }
.genre-chip {
            display: inline-block;
            background: var(--card-bg);
            border: 1px solid var(--line);
            color: var(--text);
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            margin: 0 8px 8px 0;
            cursor: pointer;
            transition: all 0.3s ease;
        }
.genre-chip:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }
.genre-chip.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }
.season-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            background: var(--primary);
            color: #fff;
            font-size: 0.7rem;
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: 600;
        }
.anime-item {
            position: relative;
        }
.rating-badge {
            position: absolute;
            bottom: 8px;
            left: 8px;
            background: rgba(0, 0, 0, 0.7);
            color: var(--accent);
            font-size: 0.75rem;
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: 600;
        }

/* --- 子页面追加 --- */
.rank-hero {
            background: linear-gradient(135deg, var(--bg) 0%, var(--card-bg) 100%);
            padding: 60px 0 40px;
            border-bottom: 1px solid var(--line);
            position: relative;
            overflow: hidden;
        }
.rank-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }
.rank-hero h1 {
            font-size: 2.8rem;
            font-weight: 900;
            color: var(--text);
            margin-bottom: 12px;
            letter-spacing: -0.02em;
        }
.rank-hero p {
            color: var(--muted);
            font-size: 1.05rem;
            max-width: 640px;
            line-height: 1.7;
        }
.rank-section {
            padding: 50px 0;
        }
.rank-section + .rank-section {
            border-top: 1px solid var(--line);
        }
.rank-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 30px;
        }
.rank-tab {
            padding: 8px 20px;
            border-radius: 50px;
            background: var(--card-bg);
            color: var(--muted);
            font-weight: 600;
            font-size: 0.9rem;
            border: 1px solid var(--line);
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
.rank-tab:hover, .rank-tab.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            text-decoration: none;
        }
.rank-tab i {
            font-size: 0.8rem;
        }
.rank-item-modern {
            display: flex;
            align-items: center;
            padding: 16px 20px;
            background: var(--card-bg);
            border-radius: var(--radius);
            margin-bottom: 12px;
            border: 1px solid var(--line);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            position: relative;
        }
.rank-item-modern:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow);
            border-color: rgba(249, 115, 22, 0.3);
        }
.rank-num-modern {
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--primary);
            width: 60px;
            text-align: center;
            font-family: var(--font-mono);
            margin-right: 20px;
            flex-shrink: 0;
        }
.rank-num-modern.top-1 {
            color: var(--accent);
            font-size: 2.2rem;
        }
.rank-num-modern.top-2 {
            color: #c0c0c0;
        }
.rank-num-modern.top-3 {
            color: #cd7f32;
        }
.rank-thumb {
            width: 80px;
            height: 100px;
            object-fit: cover;
            border-radius: 6px;
            margin-right: 20px;
            background: var(--line);
            flex-shrink: 0;
        }
.rank-info-modern {
            flex: 1;
            min-width: 0;
        }
.rank-info-modern h3 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.rank-info-modern .rank-tags {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-bottom: 6px;
        }
.rank-info-modern .rank-tags span {
            padding: 2px 10px;
            background: rgba(249, 115, 22, 0.1);
            color: var(--primary);
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
        }
.rank-info-modern .rank-desc {
            color: var(--muted);
            font-size: 0.85rem;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
.rank-score-modern {
            text-align: center;
            margin-left: 20px;
            flex-shrink: 0;
        }
.rank-score-modern .score {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--accent);
            font-family: var(--font-mono);
            line-height: 1;
        }
.rank-score-modern .score-label {
            font-size: 0.7rem;
            color: var(--muted);
            margin-top: 4px;
        }
.rank-trend {
            font-size: 0.75rem;
            color: #4ade80;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-top: 4px;
        }
.rank-trend.down {
            color: #f87171;
        }
.rank-note {
            background: rgba(250, 204, 21, 0.05);
            border: 1px solid rgba(250, 204, 21, 0.2);
            border-radius: var(--radius);
            padding: 16px 20px;
            margin-top: 30px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }
.rank-note i {
            color: var(--accent);
            font-size: 1.1rem;
            margin-top: 2px;
        }
.rank-note p {
            color: var(--muted);
            font-size: 0.85rem;
            margin: 0;
            line-height: 1.6;
        }
.rank-filter-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
            margin-bottom: 24px;
            padding: 12px 16px;
            background: rgba(42, 33, 28, 0.5);
            border-radius: var(--radius);
            border: 1px solid var(--line);
        }
.rank-filter-bar .filter-label {
            color: var(--muted);
            font-size: 0.85rem;
            font-weight: 600;
            margin-right: 4px;
        }
.filter-btn {
            padding: 4px 14px;
            border-radius: 50px;
            background: transparent;
            color: var(--muted);
            font-size: 0.8rem;
            font-weight: 600;
            border: 1px solid var(--line);
            transition: all 0.2s ease;
            cursor: pointer;
        }
.filter-btn:hover, .filter-btn.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }
.rank-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.7rem;
            font-weight: 700;
            background: rgba(250, 204, 21, 0.15);
            color: var(--accent);
            margin-left: 8px;
            vertical-align: middle;
        }
.rank-badge.hot {
            background: rgba(249, 115, 22, 0.15);
            color: var(--primary);
        }
.rank-hero h1 {
                font-size: 2rem;
            }
.rank-item-modern {
                flex-wrap: wrap;
                padding: 14px;
            }
.rank-thumb {
                width: 64px;
                height: 84px;
                margin-right: 14px;
            }
.rank-num-modern {
                font-size: 1.4rem;
                width: 40px;
                margin-right: 14px;
            }
.rank-score-modern {
                margin-left: 0;
                margin-top: 8px;
                width: 100%;
                text-align: left;
                display: flex;
                align-items: center;
                gap: 8px;
            }
.rank-score-modern .score {
                font-size: 1.2rem;
            }
.rank-score-modern .score-label {
                margin-top: 0;
            }
.rank-info-modern .rank-desc {
                -webkit-line-clamp: 1;
            }
.rank-tab {
                font-size: 0.8rem;
                padding: 6px 14px;
            }

/* --- 子页面追加 --- */
/* 本页专属微调，保持整体风格 */
        .about-hero {
            padding: 2.5rem 0 1.5rem;
            border-bottom: 1px solid var(--line);
        }
.about-hero h1 {
            font-size: 2.2rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: var(--text);
        }
.about-hero .lead {
            color: var(--muted);
            max-width: 720px;
            margin-top: .5rem;
        }
.about-section {
            padding: 3rem 0;
            border-bottom: 1px solid var(--line);
        }
.about-section:last-of-type {
            border-bottom: none;
        }
.about-section h2 {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            gap: .5rem;
        }
.about-section h2 i {
            color: var(--accent);
            font-size: 1.3rem;
        }
.about-section p {
            color: var(--text);
            line-height: 1.8;
            font-size: 0.98rem;
        }
.about-section .highlight {
            color: var(--accent);
            font-weight: 600;
        }
.feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
        }
.feature-item {
            background: var(--card-bg);
            border: 1px solid var(--line);
            border-radius: var(--radius);
            padding: 1.5rem 1.2rem;
            box-shadow: var(--shadow);
        }
.feature-item i {
            font-size: 1.8rem;
            color: var(--primary);
            margin-bottom: .8rem;
        }
.feature-item h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: .4rem;
        }
.feature-item p {
            font-size: .9rem;
            color: var(--muted);
            line-height: 1.6;
        }
.stats-row {
            display: flex;
            flex-wrap: wrap;
            gap: 2.5rem;
            margin: 2rem 0 0;
            padding: 1.5rem 0;
            border-top: 1px solid var(--line);
            border-bottom: 1px solid var(--line);
        }
.stats-row .stat {
            text-align: center;
        }
.stats-row .stat .num {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary);
            font-family: var(--font-mono);
        }
.stats-row .stat .label {
            color: var(--muted);
            font-size: .9rem;
            letter-spacing: .5px;
            margin-top: .2rem;
        }
.team-note {
            background: rgba(249, 115, 22, 0.08);
            border-left: 4px solid var(--primary);
            padding: 1rem 1.5rem;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 1.8rem 0 0;
            color: var(--text);
        }
.team-note i {
            color: var(--accent);
            margin-right: .5rem;
        }
/* 确保任何bootstrap卡片等组件不出现白底（本页实际未用.card类） */
        .list-unstyled {
            color: var(--text);
        }

/* --- 子页面追加 --- */
/* 确保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(--card-bg);
            color: var(--text);
            border-color: var(--line);
        }
/* 覆盖导航高亮 (当前页面) */
        .navbar .nav-item .nav-link.active {
            color: var(--accent) !important;
        }
/* 让说明区块更透气 */
        .disclaimer-section {
            background: var(--card-bg);
            border: 1px solid var(--line);
            border-radius: var(--radius);
            padding: 2rem 1.8rem;
            margin-bottom: 1.8rem;
            box-shadow: var(--shadow);
        }
.disclaimer-section h2 {
            font-family: var(--font-title);
            color: var(--primary);
            font-weight: 800;
            letter-spacing: -0.01em;
            margin-bottom: 1.2rem;
            font-size: 1.5rem;
            border-left: 4px solid var(--accent);
            padding-left: 1rem;
        }
.disclaimer-section p, .disclaimer-section li {
            color: var(--text);
            line-height: 1.75;
        }
.disclaimer-section a {
            color: var(--accent);
            text-decoration: underline;
            text-underline-offset: 3px;
        }
.muted-extra {
            color: var(--muted);
            font-size: 0.95rem;
        }
.contact-block {
            background: rgba(0,0,0,0.2);
            border-radius: var(--radius);
            padding: 1rem 1.5rem;
            border: 1px dashed var(--line);
            margin-top: 1.2rem;
        }

/* --- 子页面追加 --- */
.guide-hero { background: linear-gradient(135deg, rgba(249,115,22,0.15) 0%, rgba(250,204,21,0.08) 50%, rgba(26,20,16,0.9) 100%); padding: 80px 0 40px; border-bottom: 1px solid var(--line); }
.guide-section { padding: 50px 0; }
.guide-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; transition: transform .3s, box-shadow .3s; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card h3 { color: var(--primary); font-size: 1.35rem; font-weight: 700; margin-bottom: 14px; }
.guide-card p { color: var(--muted); line-height: 1.8; }
.guide-card ul { padding-left: 20px; color: var(--muted); line-height: 2; }
.guide-step { display: flex; gap: 18px; margin-bottom: 20px; }
.guide-step-num { width: 42px; height: 42px; min-width: 42px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }
.guide-tip { background: rgba(250, 204, 21, 0.08); border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0; }
.guide-tip p { color: var(--text); margin: 0; }
.faq-qa { margin-bottom: 20px; }
.faq-qa h4 { color: var(--text); font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; }
.faq-qa p { color: var(--muted); line-height: 1.8; }
.shortcut-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.shortcut-item { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.shortcut-item i { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.shortcut-item h5 { color: var(--text); font-size: .95rem; font-weight: 600; margin-bottom: 6px; }
.shortcut-item p { color: var(--muted); font-size: .85rem; margin: 0; }