:root {
        --main-color: #eab308;
        --accent-color: #f59e0b;
        --bg-dark: #18181b;
        --text-light: #fafafa;
        --border-light: rgba(234, 179, 8, 0.18);
        --card-bg: #1f1f23;
        --radius: 8px;
        --shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5);
    }

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

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

    /* 手写感标题字体 */
    h1, h2, h3, .brand-font, .hero-type {
        font-family: 'Kalam', 'Comic Neue', 'Segoe Script', 'PingFang SC', cursive;
        font-weight: 700;
        letter-spacing: 0.02em;
    }

    /* 吸顶导航 + 透明度变化 */
    .navbar-custom {
        background: rgba(24, 24, 27, 0.7);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-light);
        transition: background 0.3s ease, box-shadow 0.3s ease;
        padding: 12px 0;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    .navbar-custom.scrolled {
        background: rgba(24, 24, 27, 0.92);
        box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    }
    .navbar-brand {
        font-size: 1.8rem;
        color: var(--main-color) !important;
        font-weight: 800;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .navbar-brand i {
        color: var(--accent-color);
        font-size: 1.6rem;
    }
    .navbar-nav .nav-link {
        color: var(--text-light);
        margin: 0 0.4rem;
        font-weight: 500;
        border-radius: 20px;
        padding: 6px 14px;
        transition: all 0.2s;
    }
    .navbar-nav .nav-link:hover {
        color: var(--main-color);
        background: rgba(234, 179, 8, 0.1);
    }

    /* 打字机效果 */
    .typewriter {
        display: inline-block;
        overflow: hidden;
        white-space: nowrap;
        border-right: 3px solid var(--main-color);
        animation: blink-caret 0.7s step-end infinite;
        font-size: 3.5rem;
        color: var(--text-light);
        max-width: fit-content;
        margin-bottom: 0.2em;
    }
    @keyframes blink-caret {
        50% { border-color: transparent; }
    }

    /* Hero */
    .hero-section {
        padding: 6rem 0 4rem;
        background: radial-gradient(circle at 70% 20%, rgba(234,179,8,0.08), transparent 60%);
    }
    .hero-sub {
        font-size: 1.2rem;
        color: #d4d4d8;
        max-width: 600px;
    }

    /* Bento 网格 */
    .bento-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 18px;
        margin: 40px 0;
    }
    .bento-item {
        background: var(--card-bg);
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: var(--radius);
        padding: 24px 20px;
        transition: transform 0.2s ease, border-color 0.2s ease;
        box-shadow: var(--shadow);
    }
    .bento-item:hover {
        transform: scale(1.02);
        border-color: var(--main-color);
    }
    .col-span-2 { grid-column: span 2; }
    .col-span-3 { grid-column: span 3; }
    .col-span-4 { grid-column: span 4; }
    .col-span-6 { grid-column: span 6; }

    /* 时间线 */
    .timeline {
        position: relative;
        padding-left: 30px;
        margin: 20px 0;
    }
    .timeline::before {
        content: '';
        position: absolute;
        left: 8px;
        top: 8px;
        bottom: 8px;
        width: 2px;
        background: var(--main-color);
        opacity: 0.25;
    }
    .timeline-item {
        position: relative;
        margin-bottom: 22px;
        padding-left: 20px;
    }
    .timeline-item::before {
        content: '';
        position: absolute;
        left: -26px;
        top: 10px;
        width: 14px;
        height: 14px;
        background: var(--main-color);
        border-radius: 50%;
        border: 2px solid var(--bg-dark);
    }

    /* 对比表格 */
    .compare-table {
        background: var(--card-bg);
        border-radius: var(--radius);
        border: 1px solid rgba(255,255,255,0.06);
    }
    .compare-table .row {
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding: 14px 0;
        margin: 0;
        align-items: center;
    }
    .compare-table .row:last-child {
        border-bottom: none;
    }
    .brand-tag {
        color: var(--main-color);
        font-weight: 700;
    }

    /* FAQ */
    .faq-item {
        background: var(--card-bg);
        border-radius: var(--radius);
        border-left: 4px solid var(--main-color);
        padding: 18px 20px;
        margin-bottom: 16px;
    }

    /* 标签页特色 */
    .nav-pills-custom .nav-link {
        background: transparent;
        border: 1px solid var(--border-light);
        color: var(--text-light);
        border-radius: 30px;
        padding: 8px 20px;
        margin-right: 10px;
        transition: all 0.2s;
    }
    .nav-pills-custom .nav-link.active, .nav-pills-custom .nav-link:hover {
        background: var(--main-color);
        color: #18181b;
        border-color: var(--main-color);
        font-weight: 600;
    }
    .tab-pane {
        background: var(--card-bg);
        border-radius: var(--radius);
        padding: 24px;
        margin-top: 20px;
    }

    /* CTA */
    .cta-box {
        background: linear-gradient(135deg, rgba(234,179,8,0.12), rgba(245,158,11,0.05));
        border: 1px solid var(--border-light);
        border-radius: var(--radius);
        padding: 3rem 2rem;
    }

    /* 回到顶部 */
    #toTopBtn {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--main-color);
        color: #18181b;
        border: none;
        font-size: 1.4rem;
        box-shadow: 0 8px 20px rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 999;
        cursor: pointer;
    }
    #toTopBtn.show {
        opacity: 1;
        visibility: visible;
    }

    /* 页脚与友链 */
    .footer-links a {
        color: #a1a1aa;
        text-decoration: none;
        margin-right: 20px;
        transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--main-color); }
    .friend-links a {
        color: #a1a1aa;
        text-decoration: underline dotted;
        margin: 0 12px 0 0;
    }
    .friend-links a:hover { color: var(--main-color); }

    /* 通用小圆角边框 */
    .card, .bento-item, .faq-item, .tab-pane {
        border-radius: var(--radius);
    }

    /* 平滑滚动 */
    html { scroll-behavior: smooth; }

    @media (max-width: 768px) {
        .typewriter { font-size: 2.2rem; white-space: normal; border-right: none; }
        .bento-grid { grid-template-columns: 1fr; }
        .col-span-2, .col-span-3, .col-span-4, .col-span-6 { grid-column: span 1; }
        .hero-section { padding: 3rem 0; }
    }

/* --- 子页面追加 --- */
/* 确保Bootstrap组件与本站深色主题一致 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
            background: var(--card-bg);
            color: var(--text-light);
            border-color: var(--border-light);
        }
.form-control, .form-select {
            background: rgba(0,0,0,0.35);
            color: var(--text-light);
            border-color: var(--border-light);
        }
.form-control::placeholder {
            color: rgba(255,255,255,0.45);
        }
/* 覆盖导航激活状态 */
        .navbar-nav .nav-link.active {
            color: var(--main-color) !important;
        }
/* 关于页专用样式 */
        .about-hero {
            padding: 3rem 0 2rem;
            border-bottom: 1px solid var(--border-light);
        }
.about-section {
            padding: 2.5rem 0;
            border-bottom: 1px solid rgba(255,255,255,0.04);
        }
.about-section:last-of-type {
            border-bottom: none;
        }
.about-section h2 {
            color: var(--main-color);
            font-weight: 700;
            font-size: 1.8rem;
            margin-bottom: 1.2rem;
            letter-spacing: -0.02em;
        }
.about-section h3 {
            color: var(--text-light);
            font-weight: 600;
            font-size: 1.3rem;
            margin: 1.5rem 0 0.8rem;
        }
.about-section p {
            color: rgba(250,250,250,0.85);
            line-height: 1.8;
            margin-bottom: 1rem;
        }
.about-section strong {
            color: var(--main-color);
        }
.value-card {
            background: var(--card-bg);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 1.5rem;
            height: 100%;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
.value-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
        }
.value-card i {
            color: var(--main-color);
            font-size: 2rem;
            margin-bottom: 1rem;
        }
.value-card h4 {
            color: var(--text-light);
            font-weight: 600;
            font-size: 1.2rem;
            margin-bottom: 0.8rem;
        }
.value-card p {
            color: rgba(250,250,250,0.75);
            font-size: 0.95rem;
            line-height: 1.6;
        }
.timeline-custom {
            position: relative;
            padding-left: 2rem;
            border-left: 2px solid var(--main-color);
            margin-left: 1rem;
        }
.timeline-custom .timeline-item {
            position: relative;
            margin-bottom: 2rem;
        }
.timeline-custom .timeline-item::before {
            content: '';
            position: absolute;
            left: -2.4rem;
            top: 0.2rem;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--main-color);
            border: 2px solid var(--bg-dark);
        }
.timeline-custom .timeline-item .timeline-date {
            color: var(--main-color);
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
.timeline-custom .timeline-item .timeline-title {
            color: var(--text-light);
            font-weight: 600;
            font-size: 1.2rem;
            margin: 0.3rem 0 0.5rem;
        }
.timeline-custom .timeline-item p {
            margin-bottom: 0;
            color: rgba(250,250,250,0.8);
        }
.cta-box h3 {
            color: var(--main-color);
            font-weight: 700;
            font-size: 1.6rem;
            margin-bottom: 0.8rem;
        }
.cta-box p {
            color: rgba(250,250,250,0.8);
            margin-bottom: 1.5rem;
        }
.btn-main {
            background: var(--main-color);
            color: #18181b;
            font-weight: 600;
            border: none;
            padding: 0.7rem 2rem;
            border-radius: 30px;
            text-decoration: none;
            display: inline-block;
            transition: all 0.2s ease;
        }
.btn-main:hover {
            background: var(--accent-color);
            color: #18181b;
            transform: scale(1.02);
        }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件白底，统一使用布卡漫画深色风格 */
    .card, .card-body, .card-header, .card-footer,
    .list-group-item, .accordion-item, .accordion-button,
    .modal-content, .modal-header, .modal-body {
      background: var(--card-bg) !important;
      color: var(--text-light) !important;
      border-color: var(--border-light) !important;
    }
.accordion-button:not(.collapsed) {
      background: rgba(234, 179, 8, 0.08) !important;
      color: var(--main-color) !important;
    }
.accordion-button::after {
      filter: invert(0.8) sepia(1) saturate(3) hue-rotate(5deg);
    }
.navbar-toggler {
      border-color: var(--main-color) !important;
    }
/* 链接统一金色 */
    a {
      color: var(--main-color);
      text-decoration: none;
    }
.disclaimer-section {
      padding: 2rem 0;
    }
.disclaimer-title {
      font-size: 2.2rem;
      font-weight: 800;
      letter-spacing: -0.02em;
    }
.disclaimer-sub {
      font-size: 1.1rem;
      color: rgba(250, 250, 250, 0.75);
      border-left: 3px solid var(--main-color);
      padding-left: 1rem;
      margin: 1.5rem 0 2rem;
    }
.disclaimer-block {
      background: rgba(0, 0, 0, 0.2);
      border-radius: var(--radius);
      padding: 1.5rem 1.8rem;
      border: 1px solid var(--border-light);
      margin-bottom: 2rem;
    }
.disclaimer-block h2 {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--main-color);
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
.disclaimer-block h2 i {
      font-size: 1.2rem;
      color: var(--accent-color);
    }
.disclaimer-block p, .disclaimer-block li {
      line-height: 1.8;
      color: rgba(250, 250, 250, 0.88);
    }
.disclaimer-block ul {
      padding-left: 1.4rem;
    }
.highlight-text {
      color: var(--main-color);
      font-weight: 500;
    }
hr {
      border-color: var(--border-light);
      opacity: 0.4;
    }

/* --- 子页面追加 --- */
background: linear-gradient(135deg, rgba(24,24,27,0.9) 0%, rgba(24,24,27,0.6) 100%), url(' {随机图片}
.ranking-tabs {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            justify-content: center;
            margin-bottom: 40px;
        }
.ranking-tab {
            padding: 10px 24px;
            border: 1px solid var(--border-light);
            border-radius: 30px;
            background: transparent;
            color: var(--text-light);
            font-weight: 500;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
.ranking-tab:hover, .ranking-tab.active {
            background: var(--main-color);
            color: #18181b;
            border-color: var(--main-color);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(234, 179, 8, 0.3);
        }
.rank-card {
            background: var(--card-bg);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 20px;
            margin-bottom: 16px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
.rank-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
            border-color: var(--main-color);
        }
.rank-number {
            font-size: 2.2rem;
            font-weight: 900;
            color: var(--main-color);
            line-height: 1;
            min-width: 60px;
            text-align: center;
            font-style: italic;
        }
.rank-number.top-1 {
            font-size: 3rem;
            background: linear-gradient(135deg, #fbbf24, #f59e0b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
.rank-number.top-2 {
            font-size: 2.6rem;
            color: #94a3b8;
        }
.rank-number.top-3 {
            font-size: 2.4rem;
            color: #b45309;
        }
.rank-card .card-title {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 6px;
            color: var(--text-light);
        }
.rank-card .card-desc {
            color: rgba(250, 250, 250, 0.75);
            font-size: 0.9rem;
            line-height: 1.6;
        }
.rank-badge {
            display: inline-block;
            padding: 3px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            background: rgba(234, 179, 8, 0.15);
            color: var(--main-color);
            border: 1px solid var(--border-light);
            margin-top: 8px;
        }
.trend-up {
            color: #34d399;
            font-size: 0.8rem;
            font-weight: 600;
        }
.trend-down {
            color: #f87171;
            font-size: 0.8rem;
            font-weight: 600;
        }
.trend-flat {
            color: #a3a3a3;
            font-size: 0.8rem;
            font-weight: 600;
        }
.section-title {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-light);
            margin-bottom: 8px;
            text-align: center;
        }
.section-subtitle {
            color: rgba(250, 250, 250, 0.6);
            text-align: center;
            margin-bottom: 40px;
            font-size: 1rem;
        }
.rank-filter-bar {
            display: flex;
            justify-content: center;
            gap: 16px;
            margin-bottom: 32px;
            flex-wrap: wrap;
        }
.rank-filter-btn {
            padding: 8px 20px;
            border: 1px solid var(--border-light);
            border-radius: 8px;
            background: transparent;
            color: var(--text-light);
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
.rank-filter-btn:hover, .rank-filter-btn.active {
            background: var(--main-color);
            color: #18181b;
            border-color: var(--main-color);
        }
.bento-item.rank-feature {
            background: var(--card-bg);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 24px;
            transition: all 0.3s ease;
        }
.bento-item.rank-feature:hover {
            border-color: var(--main-color);
            transform: translateY(-3px);
        }
.bento-item.rank-feature i {
            color: var(--main-color);
            font-size: 2rem;
            margin-bottom: 16px;
        }
.bento-item.rank-feature h3 {
            color: var(--text-light);
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 12px;
        }
.bento-item.rank-feature p {
            color: rgba(250, 250, 250, 0.7);
            font-size: 0.9rem;
            line-height: 1.6;
            margin: 0;
        }
.ranking-note {
            background: rgba(234, 179, 8, 0.05);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 24px;
            margin-top: 40px;
            text-align: center;
        }
.ranking-note p {
            color: rgba(250, 250, 250, 0.7);
            font-size: 0.9rem;
            margin: 0;
        }
.ranking-note i {
            color: var(--main-color);
            margin-right: 8px;
        }

/* --- 子页面追加 --- */
/* 子页面专属微调 —— 仅补充guide页特有样式,不覆盖主站变量 */
        .guide-hero { background: radial-gradient(circle at 20% 30%, rgba(234,179,8,0.12), transparent 60%); }
.step-card { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 1.8rem 1.5rem; transition: transform .2s ease, box-shadow .2s; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num { font-size: 2.2rem; font-weight: 800; color: var(--main-color); opacity: .8; line-height: 1; }
.guide-section-title { border-left: 5px solid var(--main-color); padding-left: 1rem; margin: 3rem 0 2rem; font-weight: 800; letter-spacing: -.5px; }
.guide-list { list-style: none; padding-left: 0; }
.guide-list li { padding: .4rem 0 .4rem 1.8rem; position: relative; border-bottom: 1px dashed rgba(234,179,8,0.15); }
.guide-list li::before { content: "◆"; position: absolute; left: 0; color: var(--accent-color); font-size: .8rem; top: .65rem; }
.tag-inline { display: inline-block; background: rgba(234,179,8,0.12); color: var(--main-color); border-radius: 20px; padding: .2rem .8rem; font-size: .8rem; font-weight: 600; margin-right: .5rem; border: 1px solid rgba(234,179,8,0.2); }
.keycap { background: #2a2a2f; border: 1px solid #3f3f46; border-radius: 4px; padding: .1rem .5rem; font-family: monospace; color: var(--main-color); font-size: .85rem; }
.table-wrap { overflow-x: auto; }
.table-guide { width: 100%; border-collapse: collapse; background: var(--card-bg); border-radius: var(--radius); overflow: hidden; }
.table-guide th { background: rgba(234,179,8,0.15); color: var(--main-color); font-weight: 600; padding: .9rem 1rem; border-bottom: 2px solid rgba(234,179,8,0.3); }
.table-guide td { padding: .8rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--text-light); }
.table-guide tr:last-child td { border-bottom: none; }
.table-guide td:first-child { font-weight: 600; color: var(--accent-color); }
.accordion-item-custom { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: var(--radius); margin-bottom: 1rem; padding: 1rem 1.2rem; }
.faq-q { font-weight: 700; color: var(--main-color); margin-bottom: .4rem; }
.faq-a { color: rgba(250,250,250,.85); line-height: 1.7; }
.cta-inner { background: linear-gradient(135deg, rgba(234,179,8,0.1) 0%, rgba(245,158,11,0.05) 100%); border: 1px solid var(--border-light); border-radius: calc(var(--radius)*2); padding: 2.5rem 2rem; }
.btn-brand { background: var(--main-color); border: none; color: #18181b; font-weight: 700; padding: .8rem 2rem; border-radius: 50px; transition: all .2s; }
.btn-brand:hover { background: var(--accent-color); transform: scale(1.02); color: #18181b; }
.navbar-custom .nav-link { color: var(--text-light) !important; font-weight: 500; padding-right: 1.2rem !important; padding-left: 1.2rem !important; }
.navbar-custom .nav-link.active { color: var(--main-color) !important; font-weight: 700; }
.navbar-custom .nav-link:hover { color: var(--main-color) !important; }
footer a { color: rgba(250,250,250,.7); text-decoration: none; margin-right: 1rem; }
footer a:hover { color: var(--main-color); }
.footer-inner { border-top: 1px solid var(--border-light); padding: 2.5rem 0 2rem; }