    * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
    html { scroll-behavior: smooth; }
    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
        background: #f4f7fb; color: #172033; min-height: 100vh;
        background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59,130,246,.1), transparent);
    }
    .wrap { max-width: 960px; margin: 0 auto; padding: 0 16px calc(40px + env(safe-area-inset-bottom)); }

    /* ===== 吸顶 Header ===== */
    .recharge-header {
        position: sticky; top: 0; z-index: 1000;
        display: flex; justify-content: space-between; align-items: center;
        padding: 12px 24px; margin: 0 -16px 10px;
        background: rgba(255,255,255,.9);
        backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 5px 18px rgba(15,23,42,.055);
    }
    .header-game { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #172033; min-width: 0; }
    .game-logo {
        width: 40px; height: 40px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
        background: #eef2f7; display: flex; align-items: center; justify-content: center;
    }
    .game-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .header-copy { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
    .header-copy strong { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .header-copy small { font-size: 11px; color: #8b98ad; margin-top: 2px; }
    .header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
    .header-action {
        display: inline-flex; align-items: center; justify-content: center;
        text-decoration: none; font-size: 13px; font-weight: 700;
        padding: 8px 14px; border-radius: 10px; transition: transform .15s, opacity .15s;
    }
    .header-action:active { transform: scale(.96); }
    .header-action.back-game {
        color: #475569; background: #f8fafc; border: 1px solid #dbe3ee;
    }
    .header-action.back-game:hover { color: #1d4ed8; background: #eff6ff; border-color: #93c5fd; }
    .header-action.recharge-now {
        color: #fff; background: linear-gradient(135deg,#1dd1a1,#10ac84);
        box-shadow: 0 4px 12px rgba(16,172,132,.35);
        border: none; cursor: pointer; font-family: inherit;
    }
    .header-action.recharge-now:hover { opacity: .92; }
    /* 小屏：隐藏小字，Header 保持小巧 */
    @media (max-width: 520px) {
        .recharge-header { padding: 10px 14px; }
        .game-logo { width: 34px; height: 34px; }
        .header-copy small { display: none; }
        .header-action { padding: 7px 11px; font-size: 12.5px; }
    }

    /* ===== Layout ===== */
    .layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; margin-top: 14px; align-items: start; }
    @media (max-width: 760px) { .layout { grid-template-columns: 1fr; } }

    /* ===== TOC sidebar (desktop) ===== */
    .toc {
        position: sticky; top: 80px;
        background: #fff; border: 1px solid #e2e8f0;
        border-radius: 16px; padding: 14px 10px;
        box-shadow: 0 10px 28px rgba(15,23,42,.055);
    }
    .toc-title { font-size: 13px; font-weight: 700; color: #64748b; padding: 4px 10px 10px; letter-spacing: 1px; }
    .toc a {
        display: flex; align-items: center; gap: 8px; text-decoration: none; color: #475569;
        font-size: 14px; padding: 9px 10px; border-radius: 10px; border-left: 3px solid transparent;
        transition: background .2s, color .2s, border-color .2s;
    }
    .toc a:hover { background: #f8fafc; color: #172033; }
    .toc a.active { background: #eff6ff; color: #2563eb; border-left-color: #3b82f6; font-weight: 700; }
    .toc a .toc-icon { font-size: 15px; }

    /* ===== Mobile top TOC：吸顶横向滑动导航栏（方案 B） ===== */
    .toc-mobile { display: none; }
    @media (max-width: 768px) {
        .toc { display: none; }
        .toc-mobile {
            position: sticky; top: 54px; z-index: 900;   /* 54px = 移动端吸顶 Header 高度，错开不被遮挡 */
            display: flex; flex-direction: row; flex-wrap: nowrap;
            overflow-x: auto; -webkit-overflow-scrolling: touch;
            gap: 8px; padding: 10px 14px; margin: 0 -16px 12px;
            background: rgba(255,255,255,.94);
            backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid #e2e8f0;
            scrollbar-width: none; -ms-overflow-style: none;
        }
        .toc-mobile::-webkit-scrollbar { display: none; }
        .toc-mobile a {
            flex-shrink: 0; text-decoration: none; color: #475569; font-size: 13px;
            padding: 7px 14px; border-radius: 999px; white-space: nowrap;
            background: #f8fafc; border: 1px solid #dbe3ee;
            transition: all .2s;
        }
        .toc-mobile a.active {
            background: #eff6ff; color: #2563eb;
            border-color: #93c5fd; font-weight: 700;
        }
    }

    /* ===== Content ===== */
    .main { min-width: 0; }
    .card {
        margin-top: 16px; background: #fff; border: 1px solid #e2e8f0;
        border-radius: 18px; padding: 20px; scroll-margin-top: 84px;
        box-shadow: 0 10px 28px rgba(15,23,42,.055);
    }
    .card-head { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #edf1f6; }
    .card-head .ci { font-size: 20px; }

    /* ===== Register/Download（动态动作链接） ===== */
    .dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    @media (max-width: 520px) { .dl-grid { grid-template-columns: 1fr; } }
    .dl-btn,
    .action-card {
        display: flex; align-items: center; justify-content: flex-start; gap: 12px;
        padding: 12px 16px; color: #334155; text-decoration: none;
        font-size: 15px; font-weight: 700;
        background: #fff; border: 1px solid #f0f2f5; border-radius: 12px;
        box-shadow: 0 3px 10px rgba(0,0,0,.03);
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }
    .dl-btn:hover,
    .action-card:hover {
        transform: translateY(-1px);
        border-color: #e2e8f0;
        box-shadow: 0 8px 20px rgba(15,23,42,.07);
    }
    .dl-btn:active,
    .action-card:active { transform: scale(.98); }
    .dl-btn::after,
    .action-card::after {
        content: '›'; margin-left: auto; flex-shrink: 0;
        color: #d1d5db; font-size: 24px; font-weight: 400; line-height: 1;
    }
    .dl-btn svg,
    .action-icon-box svg { width: 22px; height: 22px; fill: currentColor; }
    .dl-default .dl-emoji,
    .dl-default .action-icon-box { color: #475569; background: #f1f5f9; }
    .dl-default .dl-txt b { color: #475569; }
    .dl-btn.disabled { opacity: .45; pointer-events: none; filter: grayscale(.6); }
    /* 动态卡片（图标 + 主标题 + 副标题） */
    .dl-card { justify-content: flex-start; gap: 12px; padding: 12px 16px; }
    .dl-emoji,
    .action-icon-box {
        width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
        display: flex; align-items: center; justify-content: center;
        font-size: 22px; background: #f1f5f9;
        position: relative; overflow: hidden;
    }
    .dl-emoji-img {
        position: absolute; left: 50%; top: 50%; width: 22px; height: 22px;
        transform: translate(-50%,-50%); object-fit: contain;
        z-index: 2; opacity: 0; transition: opacity .15s ease;
    }
    .dl-emoji-img.loaded { opacity: 1; }
    .dl-txt { display: flex; flex: 1; flex-direction: column; align-items: flex-start; line-height: 1.3; min-width: 0; }
    .dl-txt b { color: #334155; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
    .dl-txt small { color: #6b7280; font-size: 12px; font-weight: 400; opacity: 1; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

    /* 动作类型配色：仅图标底框与主标题着色，卡片主体保持纯白 */
    .dl-register .dl-emoji, .btn-register .action-icon-box { color: #2563eb; background: #eef4ff; }
    .dl-register .dl-txt b, .btn-register .dl-txt b { color: #2563eb; }
    .dl-download .dl-emoji, .btn-download .action-icon-box { color: #16a34a; background: #f0fdf4; }
    .dl-download .dl-txt b, .btn-download .dl-txt b { color: #16a34a; }
    .dl-benefit .dl-emoji, .btn-welfare .action-icon-box { color: #d97706; background: #fffbee; }
    .dl-benefit .dl-txt b, .btn-welfare .dl-txt b { color: #d97706; }
    .dl-cdk .dl-emoji, .btn-cdk .action-icon-box { color: #dc2626; background: #fef2f2; }
    .dl-cdk .dl-txt b, .btn-cdk .dl-txt b { color: #dc2626; }
    .dl-recharge .dl-emoji, .btn-recharge .action-icon-box { color: #ca8a04; background: #fefce8; }
    .dl-recharge .dl-txt b, .btn-recharge .dl-txt b { color: #ca8a04; }
    .dl-qq .dl-emoji, .btn-service .action-icon-box { color: #7c3aed; background: #f5f3ff; }
    .dl-qq .dl-txt b, .btn-service .dl-txt b { color: #7c3aed; }
    .dl-faq .dl-emoji, .btn-faq .action-icon-box { color: #0891b2; background: #ecfeff; }
    .dl-faq .dl-txt b, .btn-faq .dl-txt b { color: #0891b2; }
    .dl-bei1 .dl-emoji, .dl-bei2 .dl-emoji, .dl-bei3 .dl-emoji,
    .btn-backup .action-icon-box { color: #475569; background: #f1f5f9; }
    .dl-bei1 .dl-txt b, .dl-bei2 .dl-txt b, .dl-bei3 .dl-txt b,
    .btn-backup .dl-txt b { color: #475569; }

    /* ===== Benefits ===== */
    .benefit-list li { list-style: none; position: relative; padding: 8px 0 8px 26px; line-height: 1.7; font-size: 14.5px; color: #475569; }
    .benefit-list li::before { content: '🎁'; position: absolute; left: 0; top: 8px; font-size: 14px; }

    /* ===== 充值介绍板块（page-section / store-action / image-peek） ===== */
    .page-section {
        margin-top: 16px; background: #fff; border: 1px solid #e2e8f0;
        border-radius: 18px; padding: 20px; scroll-margin-top: 84px;
        box-shadow: 0 10px 28px rgba(15,23,42,.055);
    }
    .section-heading h2 { font-size: 17px; font-weight: 800; }
    .section-heading .section-note { margin-top: 6px; font-size: 13px; color: #64748b; line-height: 1.6; }
    /* 充值卡片按钮（无固定高度，内容自然撑开；无副标题时自动变矮） */
    .store-blocks { margin-top: 14px; }
    .store-action-list { display: flex; flex-direction: column; gap: 10px; }
    .store-action-item {
        display: flex; align-items: center; gap: 12px; text-decoration: none;
        padding: 10px 16px; border-radius: 13px; transition: transform .15s, box-shadow .15s;
        min-height: 0;
    }
    .store-action-item:active { transform: scale(.98); }
    .store-action-item.is-recharge {
        background: linear-gradient(135deg,#f1c40f,#d68910);
        box-shadow: 0 6px 16px rgba(214,137,16,.35); color: #fff;
    }
    .store-action-icon {
        width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
        background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
        font-size: 18px; position: relative; overflow: hidden;
    }
    .store-action-icon::before { content: '💳'; }
    .store-action-icon-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
    .store-action-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
    .store-action-copy b { font-size: 14.5px; font-weight: 800; }
    .store-action-copy small { font-size: 12px; font-weight: 400; opacity: .85; margin-top: 2px; }
    .store-action-arrow { font-size: 22px; font-weight: 700; flex-shrink: 0; line-height: 1; }
    /* 长图展柜（页内折叠/展开，无弹窗） */
    .image-gallery { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 14px; }
    .image-peek {
        position: relative; margin: 0;
        background: #ffffff; border-radius: 12px; overflow: hidden; border: 1px solid #eaeaea;
    }
    /* 默认折叠状态（限高 320px） */
    .image-peek-frame {
        max-height: 320px; overflow: hidden; position: relative;
        transition: max-height .3s cubic-bezier(.4,0,.2,1);
    }
    .image-peek-frame img { width: 100%; display: block; }
    /* 底部渐变遮罩 */
    .image-peek-fade {
        position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%);
        pointer-events: none; transition: opacity .2s;
    }
    /* 展开状态样式 */
    .image-peek.is-expanded .image-peek-frame { max-height: 5000px; }
    .image-peek.is-expanded .image-peek-fade { opacity: 0; }
    /* 按钮居中悬浮样式 */
    .image-peek-action { text-align: center; padding: 12px 0 16px; }
    .image-peek-button {
        background: #f3f4f6; border: 1px solid #d1d5db; color: #374151;
        padding: 8px 24px; border-radius: 20px; font-size: 14px; font-weight: 600;
        cursor: pointer; transition: all .2s;
    }
    .image-peek-button:hover { background: #e5e7eb; }

    /* ===== FAQ 手风琴（原生 details/summary + grid 嵌套动画） ===== */
    .faq-acc { display: flex; flex-direction: column; }
    .faq-details {
        background: #ffffff;
        border-radius: 8px;
        margin-bottom: 8px;
        border: 1px solid #eaeaea;
        list-style: none;                 /* 移除浏览器自带三角 */
        box-shadow: 0 2px 10px rgba(15,22,38,.06);
    }
    .faq-summary {
        padding: 16px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-weight: bold;
        user-select: none;
        color: #222;
        list-style: none;                 /* 移除 summary 默认三角（标准） */
    }
    .faq-summary::-webkit-details-marker { display: none; }  /* 移除默认三角（WebKit） */
    .faq-summary:hover { background: #f9fafb; }
    .faq-title { flex: 1; min-width: 0; font-size: 15px; color: #111827; line-height: 1.5; }
    .faq-icon-status {
        flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
        background: #eef3fb; color: #0066ff; font-style: normal;
        display: flex; align-items: center; justify-content: center;
        font-size: 16px; font-weight: 700; line-height: 1;
    }
    /* 图标：content 只能作用于伪元素，用 ::after 承载，[open] 状态自动切换 + / - */
    .faq-icon-status::after { content: '+'; }
    .faq-details[open] .faq-icon-status::after { content: '-'; color: #0066ff; }
    /* 答案内容：纯原生渲染，details 收起时不占空间，无需任何动画容器 */
    .faq-answer-content {
        padding: 0 20px 16px 20px;
        border-top: 1px dashed #eee;      /* 展开后与标题之间的虚线分割 */
        color: #666;
        font-size: 14px;
        line-height: 1.6;
        word-break: break-word;
    }

    /* ===== 下载注册引导弹窗（像素级复刻：绿图标 + 黄底警示卡 + 毛玻璃遮罩） ===== */
    .download-register-modal {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px); /* 高级毛玻璃背景 */
        display: flex; align-items: center; justify-content: center;
        z-index: 9999; padding: 20px;
        opacity: 0; visibility: hidden;
        transition: opacity .2s ease, visibility .2s ease;
    }
    /* 激活状态：整体淡入 */
    .download-register-modal.is-active {
        opacity: 1; visibility: visible;
    }
    .download-register-dialog {
        background: #ffffff; width: 100%; max-width: 360px;
        border-radius: 24px; padding: 28px 24px 20px;
        box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
        text-align: center;
        transform: scale(0.9) translateY(10px);
        transition: transform .2s cubic-bezier(.16,1,.3,1);
    }
    /* 激活状态下：弹窗容器放大归位 */
    .download-register-modal.is-active .download-register-dialog {
        transform: scale(1) translateY(0);
    }
    .download-register-icon {
        width: 48px; height: 48px;
        background: #e6f4ea; color: #137333;
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        margin: 0 auto 12px;
    }
    .download-register-icon svg { width: 24px; height: 24px; }
    #download-register-title {
        font-size: 20px; font-weight: 700; color: #1f2937;
        margin: 0 0 16px 0;
    }
    .download-register-message {
        background: #fffbeb; border: 1px solid #fde68a;
        border-radius: 14px; padding: 14px 16px; margin: 0 0 20px 0;
        display: flex; flex-direction: column; gap: 4px;
    }
    .download-register-message span {
        font-size: 14px; font-weight: 600; color: #92400e; line-height: 1.4;
    }
    .download-register-actions {
        display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
        align-items: center; margin-bottom: 16px;
    }
    .download-register-action.is-primary {
        background: #15803d; color: #ffffff; font-weight: 700; font-size: 15px;
        padding: 12px 0; border-radius: 12px; text-decoration: none;
        display: inline-block; box-shadow: 0 2px 4px rgba(21,128,61,.2);
        transition: background .15s;
    }
    .download-register-action.is-primary:hover { background: #166534; }
    .download-register-action.is-secondary {
        background: transparent; border: none;
        color: #15803d; font-weight: 700; font-size: 15px;
        cursor: pointer; padding: 12px 0;
    }
    .download-register-countdown { font-size: 12px; color: #6b7280; margin: 0; }
    .download-register-countdown strong { color: #d97706; font-size: 14px; font-weight: 700; }

    /* ===== 邀请码一键复制弹窗 ===== */
    .register-invite-dialog { position: relative; }
    .register-invite-close {
        position: absolute; top: 12px; right: 12px; width: 30px; height: 30px;
        border: none; background: rgba(0,0,0,.05); color: #6b7280;
        font-size: 20px; line-height: 1; border-radius: 50%; cursor: pointer;
        transition: background .15s, color .15s;
    }
    .register-invite-close:hover { background: rgba(0,0,0,.1); color: #111; }
    .register-invite-icon { background: #eff6ff; color: #3b82f6; }
    .register-invite-code {
        display: block;
        background: #eff6ff; border: 1.5px dashed #3b82f6;
        color: #1d4ed8; font-size: 28px; font-weight: 800;
        padding: 16px; border-radius: 12px; margin: 16px 0;
        letter-spacing: 3px;
    }
    .register-invite-dialog .download-register-actions { grid-template-columns: 1fr; }
    .register-invite-dialog .download-register-action.is-primary { width: 100%; }
    .register-invite-dialog #register-invite-message {
        margin: 0;
        color: #111827;      /* 标准黑色，避免白底上看不清 */
        font-size: 15px; font-weight: 700;
    }

    /* ===== Bottom CTA ===== */
    .bottom-cta { margin-top: 22px; text-align: center; }
    .btn-landing {
        display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff;
        background: linear-gradient(135deg,#ff6b6b,#ee5a24); font-size: 16px; font-weight: 800;
        padding: 15px 38px; border-radius: 14px; box-shadow: 0 8px 24px rgba(238,90,36,.35);
        transition: transform .15s, box-shadow .15s;
    }
    .btn-landing:active { transform: scale(.96); }
    .btn-landing svg { width: 20px; height: 20px; fill: currentColor; }

    .footer { margin-top: 34px; text-align: center; font-size: 12px; color: #6b7a90; line-height: 1.8; }
