:root {
            --primary: #2563eb;
            --accent: #06b6d4;
            --bg: #f8fafc;
            --text: #0f172a;
            --card-bg: #ffffff;
            --shadow-soft: 8px 10px 24px rgba(37, 99, 235, 0.10);
            --shadow-heavy: 14px 18px 34px rgba(6, 182, 212, 0.18);
            --radius: 28px;
        }

        * {
            box-sizing: border-box;
        }

        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            overflow-x: hidden;
            line-height: 1.8;
        }

        /* 几何色块背景 (散布) */
        .geometric-bg {
            position: fixed;
            inset: 0;
            z-index: -2;
            pointer-events: none;
            overflow: hidden;
        }
        .geo-shape {
            position: absolute;
            opacity: 0.08;
            filter: blur(2px);
        }
        .circle {
            width: 380px; height: 380px;
            border-radius: 50%;
            background: var(--primary);
            top: 10%; left: -90px;
        }
        .square {
            width: 180px; height: 180px;
            background: var(--accent);
            bottom: 12%; right: 4%;
            transform: rotate(25deg);
            border-radius: 30px;
        }
        .triangle {
            width: 0; height: 0;
            border-left: 120px solid transparent;
            border-right: 120px solid transparent;
            border-bottom: 210px solid var(--primary);
            top: 65%; left: 8%;
            transform: rotate(10deg);
            border-radius: 10px;
        }
        .dot-grid {
            width: 300px; height: 300px;
            background-image: radial-gradient(var(--accent) 2.5px, transparent 2.5px);
            background-size: 26px 26px;
            top: 20%; right: 8%;
            opacity: 0.15;
        }

        /* 滚动进度条 */
        #scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 5px;
            width: 0%;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            z-index: 9999;
            border-radius: 0 10px 10px 0;
            box-shadow: 0 0 12px var(--accent);
        }

        /* 标题字体(手写/圆体感) */
        h1, h2, h3, .brand-font, .display-number {
            font-family: 'Comic Sans MS', 'Chalkboard SE', 'Segoe Print', 'Arial Rounded MT Bold', 'PingFang SC', sans-serif;
            font-weight: 800;
            letter-spacing: -0.02em;
        }

        /* 拟物厚重卡片 */
        .solid-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: 0 20px 25px -8px rgba(0,0,0,0.12), 0 8px 10px -6px rgba(37,99,235,0.12);
            padding: 2rem 1.8rem;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            border: 1px solid rgba(255,255,255,0.4);
            backdrop-filter: blur(2px);
            background: linear-gradient(145deg, #ffffff 30%, #f1f6ff);
        }
        .solid-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 32px 40px -10px rgba(37,99,235,0.25), 0 10px 15px -8px rgba(6,182,212,0.2);
        }

        /* 导航栏微调 */
        .navbar {
            backdrop-filter: blur(18px);
            background: rgba(248,250,252,0.75) !important;
            box-shadow: 0 4px 20px rgba(0,0,0,0.02);
            border-bottom: 1px solid rgba(37,99,235,0.1);
            padding: 0.8rem 0;
        }
        .navbar-brand {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary) !important;
            text-shadow: 2px 3px 0 rgba(6,182,212,0.15);
        }
        .nav-link {
            color: var(--text) !important;
            font-weight: 600;
            margin: 0 0.3rem;
            border-radius: 40px;
            transition: all 0.2s;
            padding: 0.5rem 1rem !important;
        }
        .nav-link:hover {
            background: rgba(37,99,235,0.08);
            color: var(--primary) !important;
        }

        /* 大数字统计 */
        .stat-number {
            font-size: 4.3rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-block;
            font-family: 'Inter', sans-serif;
            letter-spacing: -2px;
        }

        /* 时间线 */
        .timeline-item {
            position: relative;
            padding-left: 2.5rem;
            padding-bottom: 2.2rem;
            border-left: 3px solid rgba(37,99,235,0.2);
            margin-left: 0.8rem;
        }
        .timeline-item::before {
            content: '';
            position: absolute;
            left: -12px;
            top: 6px;
            width: 20px;
            height: 20px;
            background: var(--primary);
            border-radius: 50%;
            box-shadow: 0 0 0 5px rgba(37,99,235,0.15);
        }
        .timeline-item:last-child {
            border-left: 3px solid transparent;
        }

        /* 标签页定制 */
        .nav-tabs .nav-link {
            border: none;
            font-weight: 700;
            color: var(--text);
            border-radius: 40px;
            padding: 0.7rem 1.8rem;
            margin-right: 0.6rem;
            background: rgba(255,255,255,0.6);
            box-shadow: inset 0 1px 4px rgba(0,0,0,0.02);
        }
        .nav-tabs .nav-link.active {
            background: var(--primary);
            color: white !important;
            box-shadow: 0 8px 20px rgba(37,99,235,0.3);
        }
        .tab-pane {
            background: rgba(255,255,255,0.4);
            border-radius: 0 0 28px 28px;
            padding: 2rem 1.5rem;
        }

        /* 页脚 */
        footer {
            background: #ffffffcc;
            backdrop-filter: blur(12px);
            border-top: 1px solid rgba(37,99,235,0.2);
            padding: 2rem 0;
            margin-top: 3rem;
        }

        .friend-links {
            background: #ffffff;
            border-radius: 40px;
            padding: 1.8rem 2rem;
            box-shadow: 0 8px 22px rgba(0,0,0,0.04);
        }

        /* 通用节奏 */
        .section-padding {
            padding: 5rem 0;
        }

        .hero {
            padding: 6rem 0 3rem;
        }

        .btn-special {
            background: linear-gradient(145deg, var(--primary), var(--accent));
            border: none;
            padding: 0.9rem 2.5rem;
            border-radius: 60px;
            color: white;
            font-weight: 700;
            letter-spacing: 1px;
            box-shadow: 0 15px 30px rgba(37,99,235,0.3);
            transition: all 0.3s;
        }
        .btn-special:hover {
            transform: scale(1.02);
            box-shadow: 0 20px 35px rgba(6,182,212,0.4);
        }

/* --- 子页面追加 --- */
.ranking-section { background: var(--bg); }
.ranking-hero { background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%); border-radius: var(--radius); padding: 3rem 2rem; margin-bottom: 2.5rem; }
.ranking-hero h1 { color: var(--text); font-weight: 800; font-size: 2.2rem; }
.ranking-hero p { color: #475569; }
.ranking-card { background: var(--card-bg); border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow-soft); transition: transform .2s; height: 100%; }
.ranking-card:hover { transform: translateY(-4px); }
.rank-number { font-size: 2rem; font-weight: 900; color: var(--primary); }
.rank-number.silver { color: #94a3b8; }
.rank-number.bronze { color: #d97706; }
.rank-title { font-weight: 700; color: var(--text); font-size: 1.1rem; }
.rank-meta { color: #64748b; font-size: .9rem; }
.rank-score { color: var(--accent); font-weight: 700; }
.badge-new { background: var(--primary); color: white; font-size: .75rem; padding: 3px 10px; border-radius: 20px; }
.badge-hot { background: #f97316; color: white; font-size: .75rem; padding: 3px 10px; border-radius: 20px; }
.badge-trend { background: var(--accent); color: white; font-size: .75rem; padding: 3px 10px; border-radius: 20px; }
.rank-tabs .btn { border-radius: 30px; padding: .5rem 1.5rem; margin-right: .5rem; font-weight: 500; }
.rank-tabs .btn.active { background: var(--primary); color: white; }
.rank-tabs .btn:not(.active) { background: var(--card-bg); color: var(--text); border: 1px solid #e2e8f0; }
.rank-list-item { display: flex; align-items: center; padding: 1rem 1.2rem; background: var(--card-bg); border-radius: 16px; margin-bottom: .8rem; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.rank-list-item:hover { box-shadow: var(--shadow-soft); }
.rank-pos { width: 40px; font-weight: 800; color: var(--primary); font-size: 1.2rem; }
.rank-pos.silver { color: #94a3b8; }
.rank-pos.bronze { color: #d97706; }
.rank-cover { width: 48px; height: 64px; border-radius: 8px; object-fit: cover; margin-right: 1rem; }
.rank-info { flex: 1; }
.rank-info .title { font-weight: 600; color: var(--text); }
.rank-info .desc { font-size: .85rem; color: #64748b; }
.rank-actions i { color: var(--primary); font-size: 1.2rem; }
.score-badge { background: rgba(6,182,212,.1); color: var(--accent); padding: 4px 12px; border-radius: 20px; font-weight: 700; font-size: .9rem; }
.trend-up { color: #10b981; font-size: .8rem; }
.trend-down { color: #ef4444; font-size: .8rem; }
.trend-flat { color: #94a3b8; font-size: .8rem; }
.weekly-pick { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); border-radius: var(--radius); padding: 2rem; color: white; margin-top: 2rem; }
.weekly-pick h2 { color: white; font-weight: 800; }
.weekly-pick .card-inner { background: rgba(255,255,255,.15); backdrop-filter: blur(10px); border-radius: 16px; padding: 1.5rem; }
.weekly-pick .btn-light { background: white; color: var(--primary); border-radius: 30px; padding: .6rem 1.8rem; font-weight: 600; }
.weekly-pick .btn-light:hover { background: #e2e8f0; }
.ranking-hero { padding: 2rem 1rem; }
.ranking-hero h1 { font-size: 1.6rem; }
.rank-list-item { padding: .8rem; }
.rank-cover { width: 40px; height: 56px; }

/* --- 子页面追加 --- */
/* 本页专属微调 */
        .about-hero { padding: 4rem 0 2rem; }
.about-section { margin-bottom: 3rem; }
.about-section h2 { 
            color: var(--primary); 
            font-weight: 800; 
            margin-bottom: 1.2rem;
            font-size: 1.6rem;
            position: relative;
            padding-left: 1rem;
        }
.about-section h2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.2rem;
            width: 4px;
            height: 1.4rem;
            background: var(--accent);
            border-radius: 4px;
        }
.about-section p { 
            color: var(--text); 
            line-height: 1.8; 
            margin-bottom: 1rem;
            font-size: 0.95rem;
        }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; margin: 1.5rem 0; }
.stat-item { background: var(--card-bg); border-radius: var(--radius); padding: 1.5rem 1rem; text-align: center; box-shadow: var(--shadow-soft); }
.timeline-custom { position: relative; padding-left: 1.5rem; border-left: 3px solid var(--accent); margin-left: 0.5rem; }
.timeline-item h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.3rem; }
.timeline-item p { font-size: 0.9rem; margin-bottom: 0.3rem; }
.value-list { list-style: none; padding: 0; }
.value-list li { padding: 0.6rem 0; border-bottom: 1px dashed rgba(37,99,235,0.15); display: flex; align-items: center; gap: 0.6rem; }
.value-list li i { color: var(--accent); }
.nav-link.active-page { color: var(--accent) !important; font-weight: 700; }

/* --- 子页面追加 --- */
/* 针对免责声明页的微小补充，保持视觉统一 */
        .disclaimer-hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            padding: 3rem 0;
            margin-bottom: 2rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow-heavy);
        }
.disclaimer-hero h1 {
            color: #fff;
            font-weight: 800;
            letter-spacing: -0.01em;
            text-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
.disclaimer-hero p {
            color: rgba(255,255,255,0.9);
            font-size: 1.1rem;
            max-width: 700px;
        }
.legal-card {
            background: var(--card-bg);
            border-radius: calc(var(--radius) - 6px);
            padding: 1.8rem 1.8rem;
            box-shadow: var(--shadow-soft);
            margin-bottom: 1.8rem;
            border-left: 6px solid var(--primary);
            transition: box-shadow 0.2s ease;
        }
.legal-card:hover {
            box-shadow: var(--shadow-heavy);
        }
.legal-card h2, .legal-card h3 {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.4rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
.legal-card h2 i, .legal-card h3 i {
            color: var(--accent);
            font-size: 1.2rem;
        }
.legal-card p, .legal-card li {
            color: var(--text);
            line-height: 1.75;
            font-size: 0.98rem;
        }
.legal-card ul {
            padding-left: 1.2rem;
        }
.legal-card a {
            color: var(--primary);
            font-weight: 500;
            text-decoration: underline;
            text-underline-offset: 3px;
        }
.legal-card a:hover {
            color: var(--accent);
        }
.highlight-note {
            background: rgba(6, 182, 212, 0.08);
            border-radius: 18px;
            padding: 1rem 1.5rem;
            border: 1px dashed var(--accent);
            margin-top: 1.2rem;
        }

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