/* 思源宋体 / 黑体 fallback */
        @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@600;700&family=Noto+Sans+SC:wght@400;500;700&display=swap');

        :root {
            --main: #db2777;
            --accent: #f43f5e;
            --bg: #fff1f5;
            --text: #500724;
            --light-line: rgba(219, 39, 119, 0.12);
            --shadow-sm: 0 4px 12px rgba(219, 39, 119, 0.06);
            --shadow-hover: 0 12px 24px rgba(219, 39, 119, 0.12);
            --radius: 8px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Noto Sans SC', 'Inter', sans-serif;
            font-size: 15px;
            line-height: 1.6;
            overflow-x: hidden;
        }
        h1, h2, h3, h4, .font-serif {
            font-family: 'Noto Serif SC', 'Inter', serif;
            font-weight: 700;
        }
        a { text-decoration: none; color: var(--main); }

        /* 滚动进度条 */
        #progressBar {
            position: fixed;
            top: 0; left: 0;
            height: 4px;
            width: 0%;
            background: linear-gradient(90deg, var(--main), var(--accent));
            z-index: 9999;
            border-radius: 4px;
        }

        /* 布局：左侧固定侧栏 + 右侧内容 */
        .app-wrapper {
            display: flex;
            max-width: 1400px;
            margin: 0 auto;
            gap: 30px;
            padding: 0 20px;
        }
        .left-sidebar {
            flex: 0 0 200px;
            position: sticky;
            top: 20px;
            height: calc(100vh - 40px);
            overflow-y: auto;
            border-right: 1px solid var(--light-line);
            padding-right: 10px;
            background: transparent;
            z-index: 10;
        }
        .right-content {
            flex: 1;
            min-width: 0;
            padding-top: 20px;
        }

        /* 导航 (移动端折叠) */
        .side-nav {
            display: flex;
            flex-direction: column;
            gap: 6px;
            margin-top: 20px;
        }
        .side-nav a {
            padding: 8px 12px;
            border-radius: var(--radius);
            font-weight: 500;
            font-size: 14px;
            color: var(--text);
            transition: 0.2s;
            border-left: 3px solid transparent;
        }
        .side-nav a i { width: 24px; color: var(--main); margin-right: 4px; }
        .side-nav a:hover {
            background: rgba(219, 39, 119, 0.06);
            border-left-color: var(--main);
            color: var(--main);
        }
        .nav-logo {
            font-size: 22px;
            font-weight: 800;
            font-family: 'Noto Serif SC', serif;
            color: var(--main);
            padding: 10px 0;
            border-bottom: 1px solid var(--light-line);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* 移动端折叠菜单 (仅汉堡展示，使用Bootstrap collapse) */
        .mobile-nav-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 26px;
            color: var(--main);
            margin-bottom: 12px;
        }
        @media (max-width: 768px) {
            .app-wrapper { flex-direction: column; }
            .left-sidebar {
                position: relative;
                top: 0;
                width: 100%;
                height: auto;
                border-right: none;
                border-bottom: 1px solid var(--light-line);
                padding-bottom: 10px;
                display: none;
                background: var(--bg);
                z-index: 20;
            }
            .left-sidebar.open { display: block; }
            .mobile-nav-toggle { display: block; }
            .right-content { padding-top: 0; }
        }

        /* Hero 打字机 */
        .hero-typing {
            font-size: 2.6rem;
            font-weight: 800;
            min-height: 4.5rem;
            border-right: 3px solid var(--main);
            display: inline-block;
            white-space: nowrap;
            overflow: hidden;
            width: 100%;
            max-width: 800px;
            color: var(--main);
            font-family: 'Noto Serif SC', serif;
        }
        .hero-section {
            padding: 20px 0 20px;
            position: relative;
        }
        .gradient-blob {
            position: absolute;
            width: 250px; height: 250px;
            background: radial-gradient(circle, rgba(219,39,119,0.12), transparent 70%);
            border-radius: 50%;
            top: -30px; right: 0;
            filter: blur(30px);
            z-index: -1;
        }

        /* 卡片瀑布流样式 (使用CSS列) */
        .masonry-grid {
            column-count: 3;
            column-gap: 20px;
        }
        .masonry-grid .card {
            break-inside: avoid;
            margin-bottom: 20px;
            background: white;
            border-radius: var(--radius);
            padding: 16px;
            box-shadow: var(--shadow-sm);
            transition: all 0.25s ease;
            border: 1px solid rgba(219, 39, 119, 0.05);
        }
        .masonry-grid .card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(219, 39, 119, 0.2);
        }
        .card-img {
            width: 100%;
            height: auto;
            border-radius: 6px;
            background: #fce4ec;
            min-height: 120px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--main);
            font-size: 40px;
        }
        .card h3 { font-size: 1.2rem; margin-bottom: 6px; }
        .card p { font-size: 13px; color: #7a3a4a; }

        /* 使用说明步骤条 */
        .steps-row {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin: 20px 0;
        }
        .step-item {
            background: white;
            border-radius: var(--radius);
            padding: 18px 16px;
            flex: 1 1 180px;
            box-shadow: var(--shadow-sm);
            border-left: 6px solid var(--main);
        }
        .step-item .step-num {
            font-size: 24px;
            font-weight: 800;
            color: var(--main);
            opacity: 0.5;
        }

        /* 特色网格 */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 16px;
            margin: 20px 0;
        }
        .feature-grid .item {
            background: white;
            border-radius: var(--radius);
            padding: 16px 12px;
            box-shadow: var(--shadow-sm);
            border-top: 2px solid var(--accent);
            transition: all 0.2s;
        }
        .feature-grid .item:hover { transform: translateY(-4px); }

        /* 区块标题 */
        .section-title {
            font-size: 1.8rem;
            margin: 30px 0 15px;
            position: relative;
            padding-left: 16px;
            border-left: 6px solid var(--main);
        }
        .section-sub { color: #a04a62; margin-bottom: 16px; }

        /* CTA */
        .cta-box {
            background: linear-gradient(135deg, rgba(219,39,119,0.1), rgba(244,63,94,0.05));
            border-radius: var(--radius);
            padding: 40px 30px;
            text-align: center;
            border: 1px solid rgba(219,39,119,0.2);
            margin: 30px 0;
        }

        footer {
            border-top: 1px solid var(--light-line);
            padding: 24px 0 20px;
            margin-top: 30px;
            font-size: 14px;
            color: #a04a62;
        }
        .friend-links {
            background: white;
            border-radius: var(--radius);
            padding: 18px;
            margin: 25px 0 10px;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(219,39,119,0.05);
        }

        /* 数字滚动动画 */
        .count-num { font-weight: 800; color: var(--main); font-size: 1.6rem; }

        /* 动效辅助 */
        .fade-up { transition: all 0.4s; }

/* --- 子页面追加 --- */
/* 本页专属小样式 */
        .about-hero {
            padding: 60px 0 30px;
            text-align: center;
        }
.about-hero h1 {
            font-size: 2.4rem;
            font-weight: 800;
            margin-bottom: 16px;
        }
.about-hero p {
            font-size: 1.1rem;
            max-width: 720px;
            margin: 0 auto;
            opacity: 0.75;
        }
.about-section {
            background: rgba(255, 255, 255, 0.65);
            border-radius: var(--radius);
            padding: 36px 32px;
            margin-bottom: 28px;
            border: 1px solid var(--light-line);
            box-shadow: var(--shadow-sm);
        }
.about-section h2 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 18px;
            color: var(--main);
            display: flex;
            align-items: center;
            gap: 10px;
        }
.about-section h2 i {
            font-size: 1.2rem;
            color: var(--accent);
        }
.about-section p, .about-section li {
            line-height: 1.8;
            margin-bottom: 12px;
            color: var(--text);
            font-size: 0.98rem;
        }
.about-section ul {
            padding-left: 20px;
        }
.about-section ul li {
            list-style: disc;
        }
.stat-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin: 24px 0;
        }
.stat-item {
            flex: 1;
            min-width: 150px;
            text-align: center;
            padding: 20px 12px;
            background: linear-gradient(135deg, rgba(219, 39, 119, 0.08), rgba(244, 63, 94, 0.05));
            border-radius: var(--radius);
            border: 1px solid var(--light-line);
        }
.stat-item .count-num {
            font-size: 2rem;
            font-weight: 800;
            color: var(--main);
            display: block;
        }
.stat-item span:last-child {
            font-size: 0.9rem;
            opacity: 0.7;
            margin-top: 4px;
            display: block;
        }
.timeline-list {
            position: relative;
            padding-left: 24px;
        }
.timeline-list::before {
            content: '';
            position: absolute;
            left: 8px;
            top: 4px;
            bottom: 4px;
            width: 2px;
            background: var(--light-line);
        }
.timeline-list li {
            position: relative;
            list-style: none !important;
            padding-left: 16px;
            margin-bottom: 16px;
        }
.timeline-list li::before {
            content: '';
            position: absolute;
            left: -22px;
            top: 8px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--main);
            border: 2px solid #fff;
            box-shadow: 0 0 0 2px var(--main);
        }
.value-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 18px;
            margin-top: 16px;
        }
.value-item {
            padding: 20px;
            border-radius: var(--radius);
            border: 1px solid var(--light-line);
            background: rgba(255,255,255,0.5);
            transition: all 0.3s ease;
        }
.value-item:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(219, 39, 119, 0.3);
        }
.value-item i {
            font-size: 1.5rem;
            color: var(--accent);
            margin-bottom: 12px;
            display: inline-block;
        }
.value-item h4 {
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: 8px;
        }
.value-item p {
            font-size: 0.9rem;
            opacity: 0.75;
            margin-bottom: 0;
            line-height: 1.6;
        }
.about-hero h1 {
                font-size: 1.8rem;
            }
.about-section {
                padding: 24px 18px;
            }
.stat-item {
                min-width: 120px;
            }

/* --- 子页面追加 --- */
.legal-page { padding: 120px 0 60px; position: relative; z-index: 1; }
.legal-hero { background: var(--gradient-pink); padding: 40px; border-radius: 20px; margin-bottom: 40px; position: relative; overflow: hidden; }
.legal-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.legal-hero p { opacity: .85; font-size: 1.1rem; }
.legal-box { background: var(--card-bg); border-radius: 16px; padding: 32px; margin-bottom: 24px; border: 1px solid var(--light-line); box-shadow: var(--shadow-sm); transition: transform .3s; }
.legal-box:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.legal-box h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; color: var(--main); display: flex; align-items: center; gap: 12px; }
.legal-box h2 i { font-size: 1.2rem; }
.legal-box h3 { font-size: 1.1rem; font-weight: 600; margin-top: 20px; margin-bottom: 10px; }
.legal-box p { line-height: 1.9; margin-bottom: 12px; }
.legal-box ul { padding-left: 20px; margin-bottom: 12px; }
.legal-box ul li { margin-bottom: 8px; line-height: 1.7; }
.legal-box a { color: var(--accent); text-decoration: underline; }
.last-update { font-size: .9rem; opacity: .7; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--light-line); }

/* --- 子页面追加 --- */
/* 本页专属微调——保持与首页同源 */
        .rank-hero {
            position: relative;
            padding: 2.8rem 0 1.8rem;
        }
.rank-hero .rank-badge {
            display: inline-block;
            background: var(--accent);
            color: #fff;
            font-size: 0.85rem;
            font-weight: 600;
            padding: 0.3rem 1rem;
            border-radius: 30px;
            letter-spacing: 0.3px;
            margin-bottom: 1rem;
            box-shadow: var(--shadow-sm);
        }
.rank-hero h1 {
            font-weight: 800;
            font-size: 2.6rem;
            line-height: 1.2;
            color: var(--text);
        }
.rank-hero h1 span {
            color: var(--main);
        }
.rank-hero .sub-line {
            color: var(--text);
            opacity: 0.75;
            font-size: 1.1rem;
            max-width: 600px;
            margin-top: 0.6rem;
        }
.rank-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 0.7rem 1.2rem;
            margin: 2rem 0 2.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--light-line);
        }
.rank-tab {
            font-weight: 600;
            font-size: 1rem;
            color: var(--text);
            opacity: 0.65;
            padding: 0.35rem 0.2rem;
            border-bottom: 3px solid transparent;
            transition: all 0.2s;
            cursor: default;
            letter-spacing: 0.2px;
        }
.rank-tab.active {
            opacity: 1;
            color: var(--main);
            border-bottom-color: var(--main);
        }
.rank-tab i {
            margin-right: 6px;
        }
.rank-card {
            background: rgba(255,255,255,0.7);
            backdrop-filter: blur(2px);
            border-radius: var(--radius);
            padding: 1.2rem 1.2rem 1.2rem 1.2rem;
            margin-bottom: 1.1rem;
            border: 1px solid var(--light-line);
            box-shadow: var(--shadow-sm);
            transition: box-shadow 0.2s, transform 0.2s;
        }
.rank-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-2px);
        }
.rank-num {
            font-size: 1.8rem;
            font-weight: 900;
            line-height: 1;
            color: var(--main);
            min-width: 2.2rem;
            margin-right: 0.8rem;
            opacity: 0.9;
        }
.rank-info {
            flex: 1;
        }
.rank-title {
            font-weight: 700;
            font-size: 1.15rem;
            color: var(--text);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.4rem 0.8rem;
        }
.rank-tag {
            background: rgba(219, 39, 119, 0.1);
            color: var(--main);
            font-size: 0.7rem;
            font-weight: 600;
            padding: 0.2rem 0.7rem;
            border-radius: 30px;
            letter-spacing: 0.2px;
        }
.rank-desc {
            color: var(--text);
            opacity: 0.7;
            font-size: 0.9rem;
            margin-top: 0.2rem;
        }
.rank-meta {
            display: flex;
            gap: 1rem;
            font-size: 0.8rem;
            color: var(--text);
            opacity: 0.6;
            margin-top: 0.3rem;
        }
.rank-meta i {
            margin-right: 4px;
        }
.rank-card .rank-extra {
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
.rank-score {
            background: var(--bg);
            padding: 0.2rem 0.7rem;
            border-radius: 30px;
            font-weight: 700;
            font-size: 0.85rem;
            color: var(--main);
            border: 1px solid var(--light-line);
        }
.section-title--rank {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text);
            margin: 2.4rem 0 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
.section-title--rank i {
            color: var(--main);
        }
.rank-note {
            background: rgba(219, 39, 119, 0.03);
            padding: 1rem 1.2rem;
            border-left: 4px solid var(--main);
            border-radius: 0 var(--radius) var(--radius) 0;
            color: var(--text);
            font-size: 0.9rem;
            margin: 2rem 0 0.8rem;
        }
/* 深色覆盖 (如有必要) */
        .rank-card, .rank-card * {
            border-color: var(--light-line);
        }
.form-control, .form-select {
            background: rgba(255,255,255,0.6);
            color: var(--text);
        }

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