:root {
        --main: #64748b;
        --accent: #94a3b8;
        --bg: #f1f5f9;
        --text: #1e293b;
        --white: #ffffff;
        --radius-lg: 24px;
        --radius-md: 18px;
        --shadow: 0 12px 40px rgba(100, 116, 139, 0.12);
        --shadow-hover: 0 20px 50px rgba(100, 116, 139, 0.22);
    }

    * { margin:0; padding:0; box-sizing:border-box; }
    body {
        background: var(--bg);
        color: var(--text);
        font-family: 'Source Sans SC', 'Inter', sans-serif;
        font-weight: 400;
        line-height: 1.6;
        scroll-behavior: smooth;
    }

    /* 标题用思源宋体 */
    h1, h2, h3, .serif-title {
        font-family: 'Source Serif SC', serif;
        font-weight: 600;
        letter-spacing: -0.01em;
    }

    /* 左侧固定侧栏 + 右侧瀑布流布局 */
    .app-container {
        display: flex;
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 20px 40px;
    }

    /* 固定侧栏 */
    .sidebar {
        width: 240px;
        flex-shrink: 0;
        position: sticky;
        top: 90px;
        align-self: flex-start;
        height: calc(100vh - 120px);
        overflow-y: auto;
        padding: 20px 10px 20px 0;
        margin-right: 20px;
        border-right: 2px solid #e2e8f0;
    }

    .sidebar .side-nav {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .sidebar .side-link {
        display: block;
        padding: 12px 18px;
        border-radius: 40px;
        font-weight: 500;
        color: var(--text);
        text-decoration: none;
        background: transparent;
        transition: all .25s ease;
        font-size: 1.02rem;
    }
    .sidebar .side-link i { margin-right: 10px; width: 20px; color: var(--main); }
    .sidebar .side-link:hover, .sidebar .side-link.active {
        background: var(--white);
        box-shadow: 0 4px 12px rgba(100,116,139,0.12);
        color: var(--main);
    }

    /* 右侧瀑布流主区域 */
    .main-content {
        flex: 1;
        min-width: 0;
    }

    /* 顶部导航（独立于侧栏） */
    .top-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 0 10px;
        margin-bottom: 30px;
        border-bottom: 1px solid #e2e8f0;
        background: var(--bg);
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    .brand { font-size: 1.8rem; font-weight: 700; font-family: 'Source Serif SC', serif; color: var(--text); }
    .brand i { color: var(--main); margin-right: 6px; }
    .nav-links { display: flex; gap: 28px; }
    .nav-links a { text-decoration: none; color: var(--text); font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; transition: .2s; }
    .nav-links a:hover { border-bottom-color: var(--main); color: var(--main); }

    /* Hero 主视觉 */
    .hero-section {
        position: relative;
        border-radius: var(--radius-lg);
        overflow: hidden;
        margin-bottom: 50px;
        min-height: 420px;
        background: url('{随机图片}') center/cover no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        isolation: isolate;
    }
    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(145deg, rgba(30,41,59,0.7) 0%, rgba(30,41,59,0.35) 100%);
        z-index: -1;
    }
    .hero-inner { padding: 50px 20px; color: white; }
    .hero-inner h1 { font-size: 3.5rem; font-weight: 700; text-shadow: 0 4px 20px rgba(0,0,0,0.3); margin-bottom: 20px; }
    .hero-inner p { font-size: 1.4rem; max-width: 700px; margin: 0 auto 30px; opacity: .95; font-weight: 300; }
    .btn-glossy {
        background: var(--main);
        color: white !important;
        border: none;
        padding: 14px 36px;
        border-radius: 60px;
        font-size: 1.2rem;
        font-weight: 600;
        position: relative;
        overflow: hidden;
        transition: all .3s;
        display: inline-block;
        text-decoration: none;
    }
    .btn-glossy::after {
        content: "";
        position: absolute;
        top: 0; left: -100%;
        width: 100%; height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
        transition: left .5s;
    }
    .btn-glossy:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(100,116,139,0.4); }
    .btn-glossy:hover::after { left: 100%; }

    /* 通用卡片区 */
    .block-title { font-size: 2.2rem; margin-bottom: 30px; position: relative; padding-bottom: 10px; }
    .block-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 80px; height: 4px; background: var(--main); border-radius: 10px; }

    /* 瀑布流卡片 */
    .masonry-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 28px;
        margin-top: 20px;
    }
    .card-item {
        background: var(--white);
        border-radius: var(--radius-lg);
        padding: 18px;
        box-shadow: var(--shadow);
        transition: transform .35s, box-shadow .35s;
        opacity: 0;
        animation: fadeUp .6s forwards;
        animation-delay: calc(var(--delay, 0) * 0.2s);
    }
    @keyframes fadeUp { from { opacity:0; transform: translateY(40px);} to {opacity:1; transform: translateY(0);} }
    .card-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
    .card-img { width: 100%; height: 200px; border-radius: var(--radius-md); overflow: hidden; background: #e9eef3; }
    .card-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(0px); transition: .5s; opacity: 0; transition: opacity .6s; }
    .card-img img.loaded { opacity: 1; }

    /* 对比表格 */
    .compare-table { width: 100%; background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
    .compare-table th, .compare-table td { padding: 18px 20px; border-bottom: 1px solid #edf2f7; }
    .compare-table th { background: var(--main); color: white; font-weight: 600; font-family: 'Source Serif SC', serif; }
    .compare-table td { vertical-align: middle; }
    .compare-table tr:last-child td { border-bottom: none; }

    /* 标签页切换 */
    .nav-tabs { border-bottom: 2px solid #e2e8f0; display: flex; gap: 16px; margin-bottom: 24px; }
    .nav-tabs button { background: none; border: none; font-weight: 500; padding: 10px 24px; border-radius: 40px; transition: .2s; color: var(--text); }
    .nav-tabs button.active { background: var(--main); color: white; }

    .tab-pane { display: none; }
    .tab-pane.show { display: block; animation: fadeIn .4s; }
    @keyframes fadeIn { from {opacity:0; transform: translateY(10px);} to {opacity:1; transform: none;} }

    /* 时间线 */
    .timeline { position: relative; padding-left: 30px; border-left: 3px solid var(--accent); margin-left: 10px; }
    .timeline-item { position: relative; padding-bottom: 30px; }
    .timeline-item::before { content: ''; position: absolute; left: -38px; top: 4px; width: 16px; height: 16px; background: var(--main); border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 2px var(--main); }

    /* CTA 区块 */
    .cta-section { background: var(--white); border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; box-shadow: var(--shadow); margin-top: 40px; }

    /* 友情链接 */
    .friend-links { margin-top: 50px; padding-top: 30px; border-top: 2px dashed #cbd5e1; }
    .friend-links h4 { font-family: 'Source Serif SC', serif; margin-bottom: 15px; }
    .friend-links .links { display: flex; flex-wrap: wrap; gap: 24px; }
    .friend-links a { color: var(--main); text-decoration: none; font-weight: 500; }
    .friend-links a:hover { text-decoration: underline; }

    footer { margin-top: 40px; padding: 30px 0; border-top: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; color: var(--text); }
    footer a { color: var(--main); text-decoration: none; margin-left: 15px; }

    /* 响应式 */
    @media (max-width: 992px) {
        .sidebar { display: none; }
        .app-container { flex-direction: column; }
        .top-nav { flex-wrap: wrap; }
    }
    @media (max-width: 600px) {
        .hero-inner h1 { font-size: 2.5rem; }
        .nav-links { gap: 10px; }
    }

/* --- 子页面追加 --- */
/* 本页专属小范围样式 */
        .about-hero {
            padding: 60px 0 40px;
            text-align: center;
        }
.about-hero h1 {
            font-size: 2.4rem;
            font-weight: 800;
            margin-bottom: 16px;
            color: var(--text);
        }
.about-hero p {
            font-size: 1.15rem;
            color: var(--main);
            max-width: 720px;
            margin: 0 auto;
            line-height: 1.8;
        }
.about-section {
            padding: 40px 0;
        }
.about-section h2 {
            font-size: 1.7rem;
            font-weight: 700;
            margin-bottom: 24px;
            color: var(--text);
            position: relative;
            padding-bottom: 12px;
        }
.about-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 48px;
            height: 3px;
            border-radius: 2px;
            background: var(--accent);
        }
.about-section p {
            font-size: 1.05rem;
            line-height: 1.9;
            color: var(--text);
            opacity: 0.9;
            margin-bottom: 16px;
        }
.feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 24px;
            margin-top: 20px;
        }
.feature-item {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 28px 24px;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.feature-item:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }
.feature-item i {
            font-size: 2rem;
            color: var(--main);
            margin-bottom: 14px;
        }
.feature-item h3 {
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text);
        }
.feature-item p {
            font-size: 0.95rem;
            line-height: 1.7;
            color: var(--text);
            opacity: 0.85;
        }
.timeline-about {
            margin-top: 20px;
        }
.timeline-about .timeline-item {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 20px 24px;
            margin-bottom: 16px;
            box-shadow: var(--shadow);
            border-left: 4px solid var(--main);
        }
.timeline-about .timeline-item h3 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
        }
.timeline-about .timeline-item p {
            font-size: 0.95rem;
            color: var(--text);
            opacity: 0.85;
            margin: 0;
        }
.highlight-box {
            background: linear-gradient(135deg, var(--main), var(--accent));
            border-radius: var(--radius-lg);
            padding: 32px 28px;
            margin-top: 24px;
            color: #fff;
        }
.highlight-box h3 {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 12px;
        }
.highlight-box p {
            font-size: 1rem;
            line-height: 1.8;
            opacity: 0.95;
            margin: 0;
        }

/* --- 子页面追加 --- */
/* 本页专属微调 */
        .rank-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            font-weight: 700;
            font-size: 0.9rem;
            background: var(--accent);
            color: var(--white);
            flex-shrink: 0;
        }
.rank-badge.top-1 { background: #f59e0b; }
.rank-badge.top-2 { background: #94a3b8; }
.rank-badge.top-3 { background: #b45309; }
.rank-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 20px;
            background: var(--white);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow);
            margin-bottom: 12px;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
.rank-item:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }
.rank-info {
            flex: 1;
            min-width: 0;
        }
.rank-title {
            font-weight: 600;
            color: var(--text);
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.rank-meta {
            font-size: 0.85rem;
            color: var(--accent);
        }
.rank-stats {
            display: flex;
            gap: 12px;
            align-items: center;
            color: var(--accent);
            font-size: 0.85rem;
            white-space: nowrap;
        }
.trend-up { color: #10b981; }
.trend-down { color: #ef4444; }
.trend-flat { color: #94a3b8; }
.rank-section-title {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 40px 0 20px;
            font-weight: 700;
            color: var(--text);
            font-size: 1.4rem;
        }
.rank-section-title i {
            color: var(--accent);
            font-size: 1.2rem;
        }
.category-pills {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 24px;
        }
.pill {
            padding: 8px 18px;
            border-radius: 50px;
            background: var(--white);
            color: var(--text);
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            border: 1px solid transparent;
            transition: all 0.2s ease;
            box-shadow: var(--shadow);
        }
.pill:hover, .pill.active {
            background: var(--main);
            color: var(--white);
            border-color: var(--main);
        }
.update-note {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            color: var(--accent);
            margin-bottom: 20px;
            padding: 8px 16px;
            background: var(--white);
            border-radius: 50px;
            box-shadow: var(--shadow);
        }
.update-note i {
            color: #10b981;
        }
.rank-item {
                padding: 12px 14px;
                gap: 12px;
            }
.rank-stats {
                display: none;
            }
.rank-badge {
                width: 28px;
                height: 28px;
                font-size: 0.8rem;
            }

/* --- 子页面追加 --- */
/* 本页专属样式 - 免责声明页面 */
        .disclaimer-hero {
            background: linear-gradient(135deg, var(--bg) 0%, #e2e8f0 100%);
            padding: 60px 0 40px;
            border-bottom: 1px solid rgba(100, 116, 139, 0.15);
        }
.disclaimer-hero h1 {
            color: var(--text);
            font-size: 2.2rem;
            font-weight: 800;
            margin-bottom: 12px;
        }
.disclaimer-hero p {
            color: var(--main);
            font-size: 1.1rem;
            max-width: 700px;
        }
.disclaimer-section {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 30px;
            margin-bottom: 24px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(100, 116, 139, 0.1);
        }
.disclaimer-section h2 {
            color: var(--text);
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.disclaimer-section h2 i {
            color: var(--accent);
        }
.disclaimer-section p {
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 12px;
            font-size: 0.95rem;
        }
.disclaimer-section ul {
            padding-left: 20px;
            margin-bottom: 12px;
        }
.disclaimer-section li {
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 8px;
            font-size: 0.95rem;
        }
.update-time {
            color: var(--main);
            font-size: 0.85rem;
            font-style: italic;
        }
.contact-block {
            background: var(--bg);
            border-radius: var(--radius-md);
            padding: 20px;
            margin-top: 20px;
            border-left: 4px solid var(--main);
        }
.contact-block h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 10px;
        }
.contact-block p {
            margin-bottom: 5px;
        }
.important-note {
            background: rgba(148, 163, 184, 0.15);
            border-radius: var(--radius-md);
            padding: 16px 20px;
            margin: 16px 0;
            border: 1px dashed var(--main);
        }
.important-note strong {
            color: var(--main);
        }
.disclaimer-hero h1 {
                font-size: 1.7rem;
            }
.disclaimer-section {
                padding: 20px;
            }

/* --- 子页面追加 --- */
/* 地图页专属样式 */
        .sitemap-hero {
            padding: 80px 0 40px;
            text-align: center;
        }
.sitemap-hero h1 {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--main);
            margin-bottom: 12px;
        }
.sitemap-hero p {
            color: var(--accent);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }
.sitemap-section {
            margin-bottom: 40px;
        }
.sitemap-section .block-title {
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--accent);
            display: flex;
            align-items: center;
            gap: 10px;
        }
.sitemap-section .block-title i {
            color: var(--main);
        }
.sitemap-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 16px;
        }
.sitemap-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 20px 24px;
            box-shadow: var(--shadow);
            transition: transform 0.3s, box-shadow 0.3s;
            border-left: 4px solid var(--main);
        }
.sitemap-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
.sitemap-card h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--main);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
.sitemap-card h3 i {
            font-size: 1rem;
            color: var(--accent);
        }
.sitemap-card p {
            font-size: 0.9rem;
            color: var(--text);
            margin-bottom: 12px;
            line-height: 1.6;
        }
.sitemap-card a {
            font-size: 0.85rem;
            color: var(--main);
            text-decoration: none;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: color 0.3s;
        }
.sitemap-card a:hover {
            color: var(--accent);
        }
.sitemap-card a i {
            font-size: 0.8rem;
        }
.sitemap-tips {
            background: var(--bg);
            border-radius: var(--radius-lg);
            padding: 32px;
            margin-top: 40px;
            border: 1px solid rgba(100, 116, 139, 0.15);
        }
.sitemap-tips h2 {
            color: var(--main);
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.sitemap-tips ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.sitemap-tips ul li {
            padding: 8px 0;
            color: var(--text);
            font-size: 0.95rem;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
.sitemap-tips ul li i {
            color: var(--main);
            margin-top: 4px;
            font-size: 0.85rem;
        }
.sitemap-hero h1 {
                font-size: 1.8rem;
            }
.sitemap-grid {
                grid-template-columns: 1fr;
            }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-item { background:rgba(0,0,0,.03) !important; color:#1e293b !important; border-color:rgba(0,0,0,.12) !important; }
.accordion-button { background:rgba(0,0,0,.03) !important; color:#1e293b !important; }
.accordion-body { background:transparent !important; color:#1e293b !important; }
.accordion-header { background:transparent !important; }
