/* ====== 品牌主题变量 ====== */
        :root {
            --q-primary: #2563eb;
            --q-accent: #06b6d4;
            --q-bg: #f8fafc;
            --q-text: #0f172a;
            --q-light-border: #e2e8f0;
            --q-card-bg: #ffffff;
            --q-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
            --q-radius: 8px;
            --q-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            --q-font-display: 'Inter', 'Comic Sans MS', 'Chalkboard SE', 'Segoe UI Rounded', system-ui, sans-serif;
        }

        * {
            box-sizing: border-box;
        }

        body {
            background-color: var(--q-bg);
            color: var(--q-text);
            font-family: var(--q-font-body);
            font-size: 0.95rem;
            line-height: 1.5;
            letter-spacing: 0.01em;
            margin: 0;
        }

        h1, h2, h3, .navbar-brand, .display-hero {
            font-family: var(--q-font-display);
            font-weight: 700;
            letter-spacing: -0.02em;
        }

        /* 克制的小圆角与阴影 */
        .card, .btn, .accordion-item, .compare-table, .navbar, .hero-section {
            border-radius: var(--q-radius) !important;
        }
        .card {
            border: 1px solid var(--q-light-border);
            box-shadow: var(--q-shadow);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
        }

        /* 顶部导航 */
        .navbar-custom {
            background-color: rgba(255,255,255,0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--q-light-border);
            padding: 0.6rem 1rem;
        }
        .navbar-brand {
            font-weight: 800;
            font-size: 1.5rem;
            color: var(--q-primary) !important;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .navbar-brand i {
            color: var(--q-accent);
            font-size: 1.4rem;
        }
        .nav-link {
            font-weight: 500;
            color: var(--q-text);
            padding: 0.5rem 0.9rem !important;
            border-radius: 6px;
            transition: background 0.2s, color 0.2s;
        }
        .nav-link:hover {
            color: var(--q-primary);
            background: rgba(37, 99, 235, 0.06);
        }

        /* Hero区 - 打字机 + 视差 */
        .hero-section {
            position: relative;
            min-height: 82vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background: linear-gradient(145deg, #f0f5ff 0%, #f8fafc 100%);
            border-bottom: 1px solid var(--q-light-border);
            overflow: hidden;
            isolation: isolate;
            padding: 4rem 1.5rem;
        }
        .hero-bg-layer {
            position: absolute;
            inset: -10% -10% -10% -10%;
            background-image: radial-gradient(circle at 20% 40%, rgba(37,99,235,0.06) 0%, transparent 45%),
                              radial-gradient(circle at 80% 70%, rgba(6,182,212,0.06) 0%, transparent 40%);
            background-size: 50% 50%, 60% 60%;
            background-repeat: no-repeat;
            z-index: -1;
            will-change: transform;
            transform: translateY(0);
            animation: parallaxFloat 16s ease-in-out infinite alternate;
        }
        @keyframes parallaxFloat {
            0% { transform: translate3d(0, -20px, 0) scale(1.1); }
            100% { transform: translate3d(0, 30px, 0) scale(1.2); }
        }
        .hero-content {
            max-width: 900px;
            z-index: 2;
        }
        .hero-title {
            font-size: clamp(2.6rem, 9vw, 5rem);
            font-weight: 800;
            color: var(--q-text);
            line-height: 1.15;
            margin-bottom: 1.2rem;
        }
        .typing-line {
            display: inline-block;
            min-height: 2.5em;
            font-size: clamp(1.3rem, 4vw, 2.4rem);
            font-weight: 600;
            color: var(--q-primary);
            border-right: 3px solid var(--q-accent);
            padding-right: 8px;
            white-space: nowrap;
            overflow: hidden;
            max-width: 90%;
        }
        .hero-sub {
            color: #475569;
            margin-top: 1.8rem;
            font-size: 1.1rem;
            font-weight: 400;
        }
        .btn-primary-custom {
            background-color: var(--q-primary);
            border-color: var(--q-primary);
            border-radius: 8px;
            padding: 0.7rem 2.2rem;
            font-weight: 600;
            margin-top: 2rem;
            transition: all 0.15s;
        }
        .btn-primary-custom:hover {
            background-color: #1d4ed8;
            border-color: #1d4ed8;
            transform: translateY(-2px);
        }

        /* 区块通用 */
        .section-title {
            font-size: 1.75rem;
            font-weight: 700;
            margin: 2.2rem 0 1.5rem;
            letter-spacing: -0.02em;
        }
        .section-title small {
            font-size: 1rem;
            font-weight: 500;
            color: var(--q-accent);
            margin-left: 10px;
        }

        /* 对比表格 */
        .compare-table {
            background: white;
            border: 1px solid var(--q-light-border);
            border-radius: 8px;
            overflow: hidden;
            width: 100%;
            margin: 1.5rem 0;
            box-shadow: var(--q-shadow);
        }
        .compare-table th, .compare-table td {
            padding: 1rem 1.2rem;
            border-bottom: 1px solid var(--q-light-border);
            text-align: center;
        }
        .compare-table thead th {
            background: #f1f5f9;
            font-weight: 600;
            color: var(--q-text);
        }
        .compare-table .feature-col {
            text-align: left;
            font-weight: 600;
            background: #fcfdfe;
        }
        .compare-table i.fa-check {
            color: var(--q-primary);
        }
        .compare-table i.fa-xmark {
            color: #94a3b8;
        }

        /* 特色卡片 */
        .card-feature {
            border: 1px solid var(--q-light-border);
            background: var(--q-card-bg);
            border-radius: 8px;
            padding: 1.8rem 1.2rem;
            transition: all 0.25s;
            height: 100%;
        }
        .card-feature i {
            font-size: 2rem;
            color: var(--q-primary);
            margin-bottom: 1rem;
        }
        .card-feature h3 {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.7rem;
        }
        .card-feature p {
            color: #334155;
            font-size: 0.92rem;
        }

        /* 手风琴折叠 */
        .accordion-custom .accordion-item {
            border: 1px solid var(--q-light-border);
            background: white;
            margin-bottom: 10px;
            border-radius: 8px !important;
        }
        .accordion-custom .accordion-button {
            background: white;
            box-shadow: none;
            font-weight: 600;
            border-radius: 8px !important;
            padding: 1rem 1.2rem;
        }
        .accordion-custom .accordion-button:not(.collapsed) {
            color: var(--q-primary);
            background: #f0f7ff;
        }
        .accordion-custom .accordion-body {
            padding: 1rem 1.2rem;
            color: #334155;
        }

        /* 错落滚动渐显 */
        .scroll-animate {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
            transition-delay: calc(var(--delay, 0) * 1ms);
        }
        .scroll-animate.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* 页脚 */
        .footer-custom {
            background: white;
            border-top: 1px solid var(--q-light-border);
            padding: 3rem 0 2rem;
            margin-top: 4rem;
            color: #475569;
        }
        .footer-links a {
            color: var(--q-text);
            text-decoration: none;
            margin-right: 2rem;
            font-weight: 500;
        }
        .footer-links a:hover {
            color: var(--q-primary);
        }

        /* 友情链接区 */
        .friend-links {
            background: #f1f5f9;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 2.5rem 0 1rem;
        }
        .friend-links h6 {
            font-weight: 700;
            color: var(--q-text);
        }
        .friend-links .placeholder-link {
            color: #64748b;
            word-break: break-word;
        }

        /* 图片hover放大 */
        .img-zoom-wrapper {
            overflow: hidden;
            border-radius: 8px;
        }
        .img-zoom-wrapper img {
            transition: transform 0.4s ease;
            width: 100%;
            height: auto;
            display: block;
        }
        .img-zoom-wrapper:hover img {
            transform: scale(1.04);
        }
        .image-overlay-mask {
            position: relative;
        }
        .image-overlay-mask::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(37,99,235,0.12), transparent 60%);
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
        }
        .image-overlay-mask:hover::after {
            opacity: 1;
        }

/* --- 子页面追加 --- */
/* 少量本页专属样式，保持与站点风格完全一致 */
        .about-hero {
            background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
            border-bottom: 1px solid var(--q-light-border);
            padding: 4rem 0 3.5rem;
        }
.about-hero .hero-title {
            color: var(--q-text);
            font-family: var(--q-font-display);
            font-weight: 800;
            letter-spacing: -0.01em;
        }
.about-hero .hero-sub {
            color: #334155;
            max-width: 720px;
            margin: 0.75rem auto 0;
        }
.story-section {
            padding: 4.5rem 0;
        }
.story-section .section-title {
            font-family: var(--q-font-display);
            font-weight: 700;
            color: var(--q-text);
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }
.story-section .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: var(--q-accent);
            border-radius: 4px;
            margin-top: 8px;
        }
.about-card {
            background: var(--q-card-bg);
            border: 1px solid var(--q-light-border);
            border-radius: var(--q-radius);
            padding: 1.75rem 1.5rem;
            box-shadow: var(--q-shadow);
            height: 100%;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
.about-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
        }
.about-card i {
            color: var(--q-primary);
            font-size: 2rem;
            margin-bottom: 1rem;
        }
.about-card h3 {
            font-family: var(--q-font-display);
            font-weight: 700;
            font-size: 1.3rem;
            color: var(--q-text);
            margin-bottom: 0.75rem;
        }
.about-card p, .about-card li {
            color: #334155;
            font-size: 0.98rem;
            line-height: 1.7;
        }
.about-card ul {
            padding-left: 1.2rem;
            margin-bottom: 0;
        }
.quote-block {
            background: #f1f5f9;
            border-left: 4px solid var(--q-accent);
            padding: 1.25rem 1.5rem;
            border-radius: 0 8px 8px 0;
            color: var(--q-text);
            font-style: italic;
            margin: 2.5rem 0;
            font-size: 1.05rem;
        }
.timeline-item {
            border-left: 2px dashed var(--q-light-border);
            padding-left: 1.5rem;
            margin-bottom: 2rem;
            position: relative;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -7px;
            top: 6px;
            width: 12px;
            height: 12px;
            background: var(--q-primary);
            border-radius: 50%;
            border: 2px solid white;
            box-shadow: 0 0 0 2px var(--q-primary);
        }
.timeline-item h4 {
            font-weight: 700;
            color: var(--q-text);
            margin-bottom: 0.4rem;
        }
.timeline-item span {
            font-size: 0.85rem;
            color: #64748b;
            letter-spacing: 0.3px;
        }
.timeline-item p {
            color: #334155;
            margin-top: 0.6rem;
        }
.footer-note {
            background: white;
            border-top: 1px solid var(--q-light-border);
        }
.btn-outline-custom {
            border: 1px solid var(--q-primary);
            color: var(--q-primary);
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
            transition: 0.2s;
            font-weight: 600;
        }
.btn-outline-custom:hover {
            background: var(--q-primary);
            color: white;
        }
.about-hero { padding: 2.5rem 0; }
.story-section { padding: 3rem 0; }

/* --- 子页面追加 --- */
/* 免责声明页专属样式 */
        .disclaimer-section {
            padding: 80px 0;
        }
.disclaimer-box {
            background: var(--q-card-bg);
            border-radius: var(--q-radius);
            box-shadow: var(--q-shadow);
            padding: 40px;
            margin-bottom: 30px;
            border-left: 4px solid var(--q-primary);
        }
.disclaimer-box h2 {
            font-family: var(--q-font-display);
            color: var(--q-text);
            font-weight: 800;
            font-size: 1.6rem;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.disclaimer-box h2 i {
            color: var(--q-primary);
        }
.disclaimer-box p, .disclaimer-box li {
            color: var(--q-text);
            line-height: 1.8;
            font-size: 0.95rem;
        }
.disclaimer-box ul {
            padding-left: 20px;
        }
.disclaimer-box li {
            margin-bottom: 10px;
        }
.highlight-text {
            background: rgba(37, 99, 235, 0.08);
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: 600;
        }
.last-updated {
            display: inline-block;
            background: var(--q-primary);
            color: #fff;
            padding: 4px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            margin-bottom: 30px;
        }
.disclaimer-section {
                padding: 50px 0;
            }
.disclaimer-box {
                padding: 25px;
            }

/* --- 子页面追加 --- */
/* 保证任何 bootstrap 组件不出现白底黑字异常 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .form-control, .form-select, .list-group-item, .accordion-item, .accordion-button,
        .accordion-body, .modal-content, .modal-header, .modal-body, .dropdown-menu,
        .dropdown-item, .navbar, .navbar-brand, .nav-link, .btn-light {
            background: transparent;
            color: var(--q-text);
            border-color: var(--q-light-border);
        }
/* 覆盖 bootstrap 默认白色背景 */
        body {
            background-color: var(--q-bg);
            color: var(--q-text);
            font-family: var(--q-font-body);
        }
/* 隐私政策专用排版 */
        .privacy-prose h2 {
            font-family: var(--q-font-display);
            font-weight: 700;
            font-size: 1.6rem;
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            color: var(--q-text);
            border-left: 4px solid var(--q-primary);
            padding-left: 1rem;
        }
.privacy-prose h3 {
            font-weight: 600;
            font-size: 1.2rem;
            margin-top: 1.8rem;
            color: var(--q-primary);
        }
.privacy-prose p, .privacy-prose li {
            line-height: 1.75;
            color: #1e293b;
        }
.privacy-card {
            background: var(--q-card-bg);
            border-radius: var(--q-radius);
            box-shadow: var(--q-shadow);
            padding: 2rem 1.8rem;
            margin-bottom: 2rem;
            border: 1px solid var(--q-light-border);
        }
.badge-privacy {
            background: rgba(37, 99, 235, 0.08);
            color: var(--q-primary);
            padding: 0.3rem 0.9rem;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 0.5rem;
        }
.footer-custom a {
            color: #94a3b8;
            text-decoration: none;
        }
.footer-custom a:hover {
            color: #fff;
        }
.friend-links a {
            color: #7e8b9c;
        }
/* 导航 active 状态 */
        .navbar-nav .nav-link.active {
            color: var(--q-primary) !important;
            font-weight: 600;
        }
/* 让 bootstrap 图标与导航对齐 */
        .navbar-brand i {
            color: var(--q-primary);
        }
.text-muted-soft {
            color: #475569;
        }
.list-unstyled li {
            margin-bottom: 0.5rem;
        }
hr {
            border-color: var(--q-light-border);
            opacity: 0.5;
        }

/* --- 子页面追加 --- */
.ranking-header {
            background: linear-gradient(135deg, var(--q-primary) 0%, var(--q-accent) 100%);
            padding: 60px 0 40px;
            color: #fff;
            border-radius: 0 0 20px 20px;
        }
.ranking-header h1 {
            font-family: var(--q-font-display);
            font-weight: 800;
            font-size: 2.4rem;
            margin-bottom: 8px;
        }
.ranking-header p {
            opacity: 0.9;
            margin-bottom: 0;
            font-size: 1.05rem;
        }
.rank-tabs {
            margin-top: 30px;
            border-bottom: 2px solid rgba(255,255,255,0.2);
            padding-bottom: 0;
        }
.rank-tabs .nav-link {
            color: rgba(255,255,255,0.7);
            font-weight: 600;
            border: none;
            padding: 10px 20px;
            border-radius: 8px 8px 0 0;
            transition: all 0.3s;
        }
.rank-tabs .nav-link:hover,
        .rank-tabs .nav-link.active {
            color: #fff;
            background: rgba(255,255,255,0.15);
        }
.rank-section {
            margin-top: 30px;
        }
.rank-card {
            display: flex;
            align-items: center;
            gap: 20px;
            background: var(--q-card-bg);
            border: 1px solid var(--q-light-border);
            border-radius: var(--q-radius);
            box-shadow: var(--q-shadow);
            padding: 20px;
            margin-bottom: 16px;
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
            overflow: hidden;
        }
.rank-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
        }
.rank-number {
            font-size: 2.2rem;
            font-weight: 900;
            font-family: var(--q-font-display);
            min-width: 60px;
            text-align: center;
            color: var(--q-light-border);
            line-height: 1;
        }
.rank-card:nth-child(1) .rank-number,
        .rank-card:nth-child(2) .rank-number,
        .rank-card:nth-child(3) .rank-number {
            color: #f59e0b;
        }
.rank-thumb {
            width: 70px;
            height: 95px;
            border-radius: 6px;
            background: linear-gradient(135deg, var(--q-primary), var(--q-accent));
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            color: #fff;
            font-weight: 700;
            font-family: var(--q-font-display);
        }
.rank-info {
            flex: 1;
        }
.rank-info h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--q-text);
            margin-bottom: 4px;
            font-family: var(--q-font-display);
        }
.rank-meta {
            font-size: 0.85rem;
            color: #64748b;
            margin-bottom: 6px;
        }
.rank-meta i {
            color: var(--q-primary);
            margin-right: 4px;
        }
.rank-desc {
            font-size: 0.9rem;
            color: #475569;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
.rank-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: #ef4444;
            color: #fff;
            font-size: 0.7rem;
            padding: 3px 10px;
            border-radius: 20px;
            font-weight: 600;
        }
.rank-badge.hot {
            background: linear-gradient(135deg, #f59e0b, #ef4444);
        }
.rank-badge.new {
            background: #10b981;
        }
.rank-badge.up {
            background: var(--q-primary);
        }
.rank-badge.down {
            background: #64748b;
        }
.section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 28px;
            background: linear-gradient(135deg, var(--q-primary), var(--q-accent));
            border-radius: 3px;
        }
.editor-pick-card {
            background: var(--q-card-bg);
            border: 1px solid var(--q-light-border);
            border-radius: var(--q-radius);
            box-shadow: var(--q-shadow);
            padding: 24px;
            height: 100%;
            transition: transform 0.3s;
        }
.editor-pick-card:hover {
            transform: translateY(-4px);
        }
.editor-pick-card .pick-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--q-primary), var(--q-accent));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: #fff;
            margin-bottom: 16px;
        }
.editor-pick-card h3 {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--q-text);
            margin-bottom: 8px;
            font-family: var(--q-font-display);
        }
.editor-pick-card p {
            font-size: 0.9rem;
            color: #475569;
            line-height: 1.6;
            margin-bottom: 12px;
        }
.editor-pick-card .pick-tag {
            display: inline-block;
            background: rgba(37, 99, 235, 0.1);
            color: var(--q-primary);
            font-size: 0.75rem;
            padding: 3px 10px;
            border-radius: 20px;
            font-weight: 600;
            margin-right: 6px;
            margin-bottom: 4px;
        }
.note-box {
            background: rgba(37, 99, 235, 0.05);
            border-left: 4px solid var(--q-primary);
            padding: 16px 20px;
            border-radius: 0 var(--q-radius) var(--q-radius) 0;
            margin-top: 30px;
        }
.note-box p {
            font-size: 0.9rem;
            color: #475569;
            margin-bottom: 0;
        }
.note-box p i {
            color: var(--q-primary);
            margin-right: 8px;
        }
.ranking-header h1 {
                font-size: 1.8rem;
            }
.rank-card {
                flex-wrap: wrap;
                gap: 12px;
            }
.rank-number {
                font-size: 1.8rem;
                min-width: 40px;
            }
.rank-thumb {
                width: 60px;
                height: 80px;
                font-size: 1.2rem;
            }
.rank-info {
                flex: 1 1 calc(100% - 130px);
            }

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