/* 深夜石板 · 拟物厚重风 */
        :root {
            --primary: #38bdf8;
            --accent: #a78bfa;
            --bg: #0f172a;
            --text: #e2e8f0;
            --card-bg: #1e293b;
            --shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
            --highlight: rgba(255, 255, 255, 0.08);
            --noise: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJNMCAwaDQwdjQwSDB6IiBmaWxsPSIjMGYxNzJhIiBmaWx0ZXI9InVybCgjZ3JhaW4pIi8+PGZpbHRlciBpZD0iZ3JhaW4iPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjgiIG51bU9jdGF2ZXM9IjMiIHJlc3VsdD0ibm9pc2UiLz48ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMSAwIDAgMCAwIDAgMSAwIDAgMCAwIDAgMSAwIDAgMCAwIDAgMC41IDAiLz48L2ZpbHRlcj48L3N2Zz4=');
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Inter', '思源黑体', 'Source Han Sans SC', sans-serif;
            background-image: var(--noise), linear-gradient(145deg, #0b1220 0%, #0f172a 80%);
            background-blend-mode: overlay, normal;
            min-height: 100vh;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* 标题思源宋体 */
        h1, h2, h3, .font-song, .navbar-brand, .display-3, .display-4, .hero-title, .card-title, .faq-question, .footer-brand {
            font-family: 'Source Han Serif SC', 'Songti SC', 'Noto Serif SC', 'SimSun', serif;
            font-weight: 700;
        }

        /* 滚动条 */
        ::-webkit-scrollbar { width: 10px; }
        ::-webkit-scrollbar-track { background: #1e293b; }
        ::-webkit-scrollbar-thumb { background: #38bdf8; border-radius: 8px; }

        /* 左侧固定侧栏 */
        .sidebar-left {
            position: fixed;
            top: 0;
            left: 0;
            width: 90px;
            height: 100vh;
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(4px);
            border-right: 2px solid #1e293b;
            box-shadow: 8px 0 30px rgba(0, 0, 0, 0.5);
            z-index: 1050;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 20px;
        }
        .sidebar-left .side-logo {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 25px;
            filter: drop-shadow(0 4px 6px #000);
        }
        .sidebar-left .nav-side {
            display: flex;
            flex-direction: column;
            gap: 20px;
            flex: 1;
        }
        .sidebar-left .nav-side a {
            color: var(--text);
            font-size: 1.4rem;
            transition: 0.2s;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 16px;
            background: rgba(30, 41, 59, 0.6);
            border: 1px solid rgba(255,255,255,0.02);
            box-shadow: inset 0 0 8px rgba(0,0,0,0.6), 0 5px 10px rgba(0,0,0,0.4);
        }
        .sidebar-left .nav-side a:hover { color: var(--primary); background: rgba(56, 189, 248, 0.1); }
        .sidebar-left .side-footer {
            color: #64748b;
            font-size: 0.8rem;
            padding-bottom: 15px;
            letter-spacing: 1px;
        }

        /* 右侧主内容偏移 */
        .main-wrapper {
            margin-left: 90px;
        }

        /* 顶部导航条 */
        .navbar-horizontal {
            background: rgba(15, 23, 42, 0.8);
            backdrop-filter: blur(8px);
            border-bottom: 1px solid #2d3a52;
            box-shadow: 0 10px 20px rgba(0,0,0,0.5);
            padding: 12px 0;
            position: sticky;
            top: 0;
            z-index: 1040;
        }
        .navbar-horizontal .container-fluid {
            padding-left: 30px;
            padding-right: 30px;
        }
        .navbar-horizontal .navbar-brand {
            font-size: 1.8rem;
            color: var(--primary) !important;
            font-weight: 700;
            text-shadow: 0 4px 8px rgba(0,0,0,0.6);
            letter-spacing: 1px;
        }
        .navbar-horizontal .nav-link {
            color: var(--text) !important;
            font-weight: 500;
            margin: 0 8px;
            padding: 8px 12px;
            border-radius: 30px;
            transition: all 0.2s;
            background: rgba(255,255,255,0.02);
            border: 1px solid transparent;
        }
        .navbar-horizontal .nav-link:hover {
            color: var(--primary) !important;
            background: rgba(56, 189, 248, 0.1);
            border-color: #38bdf840;
        }

        /* Hero 大数字领衔 */
        .hero-section {
            position: relative;
            padding: 3rem 2rem 4rem;
            text-align: center;
            background: radial-gradient(circle at 30% 20%, #1e2c44, #0f172a 90%);
            box-shadow: inset 0 -30px 50px rgba(0,0,0,0.6);
        }
        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 3rem;
            flex-wrap: wrap;
            margin-top: 30px;
        }
        .stat-item {
            background: rgba(30, 41, 59, 0.8);
            padding: 1rem 2rem;
            border-radius: 30px;
            box-shadow: 0 15px 25px rgba(0,0,0,0.7), inset 0 0 10px #38bdf830;
            border: 1px solid #2d3a52;
        }
        .stat-item .number {
            font-size: 3rem;
            font-weight: 900;
            color: var(--primary);
            text-shadow: 0 4px 10px rgba(56,189,248,0.3);
            line-height: 1.1;
        }
        .stat-item .label {
            color: #94a3b8;
            letter-spacing: 1px;
        }

        /* 区块通用 */
        .block-container {
            padding: 2.5rem 2rem;
        }
        .section-title {
            font-size: 2.5rem;
            border-left: 8px solid var(--primary);
            padding-left: 1rem;
            margin-bottom: 1.8rem;
            text-shadow: 0 5px 12px rgba(0,0,0,0.7);
        }
        .section-title i {
            color: var(--accent);
            margin-right: 12px;
            filter: drop-shadow(0 0 8px #a78bfa);
        }

        /* 使用说明手风琴 */
        .accordion-custom .accordion-item {
            background: #1e293b;
            border: 1px solid #334155;
            border-radius: 20px !important;
            margin-bottom: 16px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        }
        .accordion-custom .accordion-button {
            background: #1e293b;
            color: var(--text);
            font-weight: 600;
            font-size: 1.25rem;
            padding: 1.2rem 1.5rem;
            box-shadow: none;
            border: 0;
            background-image: linear-gradient(145deg, #1e293b, #182234);
        }
        .accordion-custom .accordion-button:not(.collapsed) {
            color: var(--primary);
            background-image: linear-gradient(145deg, #1c293f, #1e293b);
        }
        .accordion-custom .accordion-button::after {
            filter: invert(0.8) sepia(1) saturate(3) hue-rotate(160deg);
        }
        .accordion-custom .accordion-body {
            background: #162032;
            color: #cbd5e1;
        }

        /* 特色卡片区：单色描边图标 */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 20px;
        }
        .feature-card {
            background: #1e293b;
            border: 2px solid #334155;
            border-radius: 28px;
            padding: 1.5rem 1.2rem;
            box-shadow: 0 18px 30px rgba(0,0,0,0.5);
            transition: all 0.25s;
            text-align: center;
        }
        .feature-card i {
            font-size: 3rem;
            color: var(--accent);
            -webkit-text-stroke: 2px #a78bfa; /* 单色描边 */
            margin-bottom: 15px;
            filter: drop-shadow(0 6px 10px #000);
        }
        .feature-card h4 { margin-bottom: 10px; }

        /* 瀑布流卡片 */
        .waterfall-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
            gap: 24px;
            margin-top: 20px;
        }
        .water-card {
            background: var(--card-bg);
            border-radius: 24px;
            padding: 1.4rem;
            box-shadow: var(--shadow), inset 0 0 15px rgba(56,189,248,0.05);
            border: 1px solid #2b3a50;
            transition: transform 0.2s;
        }
        .water-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 40px rgba(0,0,0,0.8), 0 0 20px #38bdf830;
        }
        .water-card img {
            width: 100%;
            height: 160px;
            object-fit: cover;
            border-radius: 18px;
            background: #334155;
            box-shadow: 0 8px 16px rgba(0,0,0,0.5);
        }
        .water-card .card-title {
            font-size: 1.4rem;
            color: var(--primary);
        }
        .water-card .badge {
            background: #a78bfa;
            color: #0f172a;
            font-weight: 600;
            border-radius: 50px;
        }

        /* CTA 区块 */
        .cta-block {
            background: linear-gradient(120deg, #0f172a, #1e293b);
            border: 2px solid #38bdf8;
            border-radius: 50px;
            padding: 2.5rem;
            box-shadow: 0 25px 40px rgba(0,0,0,0.8);
        }

        /* 按钮渐变流动 */
        .btn-glow {
            background: linear-gradient(90deg, #38bdf8, #a78bfa, #38bdf8);
            background-size: 200% auto;
            border: none;
            color: #0f172a;
            font-weight: 700;
            border-radius: 60px;
            padding: 12px 32px;
            transition: all 0.4s;
            box-shadow: 0 10px 20px #00000066;
        }
        .btn-glow:hover {
            background-position: right center;
            color: #fff;
            transform: scale(1.02);
            box-shadow: 0 0 25px #38bdf8aa;
        }

        /* 滚动渐显 */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.8s;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .reveal.delay-1 { transition-delay: 0.1s; }
        .reveal.delay-2 { transition-delay: 0.2s; }
        .reveal.delay-3 { transition-delay: 0.3s; }
        .reveal.delay-4 { transition-delay: 0.4s; }

        /* 友情链接 */
        .friend-links {
            background: #1e293b;
            border-radius: 40px;
            padding: 1.5rem;
            margin: 2rem 0;
            text-align: center;
            border: 1px solid #334155;
        }

        footer {
            background: #0b1220;
            padding: 2rem 0 1rem;
            border-top: 3px solid #1e293b;
            color: #94a3b8;
        }
        footer a { color: var(--primary); text-decoration: none; }

        @media (max-width: 768px) {
            .sidebar-left { display: none; }
            .main-wrapper { margin-left: 0; }
            .hero-stats { gap: 1.5rem; }
        }

/* --- 子页面追加 --- */
/* 页面专属小样式，自动合并进站点CSS */
        .about-hero { padding: 4rem 0 2rem; }
.about-content { max-width: 900px; margin: 0 auto; }
.about-content h2 { color: var(--primary); font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.6rem; }
.about-content h2 i { margin-right: .6rem; color: var(--accent); }
.about-content p { color: var(--text); opacity: .88; line-height: 1.9; margin-bottom: 1.2rem; font-size: 1rem; }
.about-content .highlight-box { background: var(--card-bg); border-left: 4px solid var(--accent); padding: 1.2rem 1.5rem; border-radius: 0 12px 12px 0; margin: 1.5rem 0; box-shadow: var(--shadow); }
.about-content .highlight-box p { margin-bottom: .5rem; }
.about-content .highlight-box p:last-child { margin-bottom: 0; }
.about-content ul { color: var(--text); opacity: .9; padding-left: 1.5rem; margin-bottom: 1.5rem; }
.about-content ul li { margin-bottom: .6rem; line-height: 1.7; }
.about-content ul li i { color: var(--primary); margin-right: .5rem; }
.about-content .stat-band { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 2rem 0; }
.about-content .stat-band .stat-box { flex: 1; min-width: 140px; background: var(--card-bg); border-radius: 12px; padding: 1.2rem; text-align: center; border: 1px solid var(--highlight); }
.about-content .stat-band .stat-box .num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.about-content .stat-band .stat-box .label { font-size: .85rem; color: var(--text); opacity: .7; margin-top: .3rem; }
.about-content blockquote { border-left: 3px solid var(--primary); padding-left: 1.2rem; font-style: italic; color: var(--text); opacity: .85; margin: 1.5rem 0; }
.back-home { margin-top: 3rem; text-align: center; }

/* --- 子页面追加 --- */
/* 保证本页任何组件都不出现白底黑字 */
        .card, .card-body, .card-title, .card-text,
        .list-group-item, .accordion-item, .accordion-button,
        .form-control, .modal-content {
            background: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: rgba(255,255,255,0.12) !important;
        }
.list-group-item {
            background: transparent !important;
        }
/* 覆盖 bootstrap 的链接颜色 */
        a {
            color: var(--primary);
        }
/* 侧栏图标间距 */
        .sidebar-left .side-icon {
            margin-bottom: 0.8rem;
        }
/* 小标题装饰 */
        .disclaimer-section {
            border-left: 3px solid var(--accent);
            padding-left: 1.2rem;
            margin-top: 2.5rem;
        }
.disclaimer-section h2 {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }
.highlight-badge {
            background: rgba(167, 139, 250, 0.12);
            color: var(--accent);
            padding: 0.2rem 0.8rem;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 500;
            display: inline-block;
            margin-bottom: 1rem;
        }
/* 防止 bootstrap 把 h1 变白 */
        h1, h2, h3, h4 {
            color: var(--text);
        }
.footer-links a {
            margin: 0 0.8rem;
        }

/* --- 子页面追加 --- */
/* 页面专属微调——仅覆盖排行榜特有元素，主视觉沿用站点CSS变量 */
        .rank-hero {
            background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(167, 139, 250, 0.05) 100%);
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
.rank-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 0.8rem;
            margin-bottom: 2rem;
        }
.rank-tab {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text);
            opacity: 0.7;
            padding: 0.35rem 0.9rem;
            border-radius: 30px;
            background: var(--highlight);
            transition: all .2s ease;
            text-decoration: none;
            border: 1px solid transparent;
        }
.rank-tab:hover, .rank-tab.active {
            opacity: 1;
            color: var(--primary);
            border-color: rgba(56,189,248,0.4);
            background: rgba(56,189,248,0.1);
        }
.rank-card {
            background: var(--card-bg);
            border-radius: 18px;
            padding: 1.2rem 1.2rem 1.4rem;
            box-shadow: var(--shadow);
            border: 1px solid rgba(255,255,255,0.04);
            transition: transform .2s ease, box-shadow .3s;
            height: 100%;
            backdrop-filter: blur(4px);
        }
.rank-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 35px rgba(0,0,0,0.8);
        }
.rank-card .rank-icon {
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
        }
.rank-list-item {
            display: flex;
            align-items: center;
            padding: 0.8rem 0.4rem;
            border-bottom: 1px dashed rgba(255,255,255,0.08);
        }
.rank-list-item:last-child {
            border-bottom: none;
        }
.rank-badge {
            width: 2rem;
            height: 2rem;
            background: var(--highlight);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 0.9rem;
            color: var(--primary);
            margin-right: 1rem;
            flex-shrink: 0;
            border: 1px solid rgba(56,189,248,0.2);
        }
.rank-badge.top1 { background: rgba(255,193,7,0.2); color: #ffc107; border-color: rgba(255,193,7,0.4); }
.rank-badge.top2 { background: rgba(192,192,192,0.15); color: #c0c0c0; border-color: rgba(192,192,192,0.3); }
.rank-badge.top3 { background: rgba(205,127,50,0.2); color: #cd7f32; border-color: rgba(205,127,50,0.3); }
.rank-info {
            flex: 1;
        }
.rank-info .title {
            font-weight: 600;
            font-size: 1rem;
            line-height: 1.3;
        }
.rank-info .meta {
            font-size: 0.75rem;
            opacity: 0.6;
            margin-top: 0.2rem;
            letter-spacing: 0.02em;
        }
.rank-stat {
            font-size: 0.8rem;
            background: var(--highlight);
            padding: 0.2rem 0.7rem;
            border-radius: 30px;
            color: var(--text);
            font-weight: 500;
            white-space: nowrap;
        }
.big-number {
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            line-height: 1;
        }
/* 覆盖Bootstrap卡片背景（如使用）但优先使用自绘rank-card */
        .card, .card-body { background: transparent; color: var(--text); border: none; }
.table { --bs-table-bg: transparent; color: var(--text); }
.table-hover > tbody > tr:hover { --bs-table-hover-bg: rgba(56,189,248,0.05); }
.form-control, .form-select { background: rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.1); color: var(--text); }
.form-control:focus, .form-select:focus { background: rgba(0,0,0,0.4); color: var(--text); border-color: var(--primary); box-shadow: none; }
.navbar, .navbar-brand, .nav-link { color: var(--text); }

/* --- 子页面追加 --- */
/* 确保所有卡片/容器与深色主题一致，避免bootstrap默认白底 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .form-control, .form-select, .modal-content {
            background: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: var(--highlight) !important;
        }
.form-control::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }
.btn-outline-primary {
            border-color: var(--primary);
            color: var(--primary);
        }
.btn-outline-primary:hover {
            background: var(--primary);
            color: #0f172a;
        }
.guide-hero {
            background: radial-gradient(circle at 20% 20%, rgba(56,189,248,0.15), transparent 50%),
                        radial-gradient(circle at 80% 70%, rgba(167,139,250,0.1), transparent 50%);
        }
.guide-step-icon {
            color: var(--primary);
            background: rgba(56,189,248,0.15);
            width: 45px;
            height: 45px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
.insight-card {
            border-left: 3px solid var(--primary);
            padding: 1rem 1.2rem;
            background: var(--highlight);
            border-radius: 0 16px 16px 0;
            transition: transform .2s ease, border-color .2s;
        }
.insight-card:hover {
            transform: translateX(6px);
            border-color: var(--accent);
        }
.badge-soft {
            background: rgba(167,139,250,0.2);
            color: var(--accent);
            padding: .3rem .8rem;
            border-radius: 30px;
            font-weight: 600;
            font-size: .8rem;
        }

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