﻿
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
            background: #f0f2f8;   /* 2026-09-02 紫色渐变 → 灰白 */
            min-height: 100vh;
            padding: 30px 16px 40px;
            color: #333;
        }
        .container { max-width: 460px; margin: 0 auto; }

.header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 0 4px; }
.logo { width: 48px; height: 48px; background: #fff; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.12); flex-shrink: 0; }
.header .title-block { flex: 1; min-width: 0; }
        .header h1 { color: #222; font-size: 22px; font-weight: 600; }
        .header p  { color: #98a1b3; font-size: 12px; margin-top: 2px; }
        .login-entry-wrap {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 4px;
            flex-shrink: 0;
            max-width: 148px;
        }
        .login-entry-btn {
            -webkit-appearance: none;
            appearance: none;
            border: 1.5px solid #667eea;
            border-radius: 6px;
            background: #fff;
            color: #667eea;
            cursor: pointer;
            flex-shrink: 0;
            padding: 6px 12px;
            font-size: 12px;
            font-weight: 600;
            font-family: inherit;
            line-height: 1.2;
            white-space: nowrap;
            transition: background .15s, color .15s;
        }
        .login-entry-btn:hover { background: #667eea; color: #fff; }
        .login-entry-tip {
            font-size: 11px;
            line-height: 1.35;
            color: #667eea;
            text-align: right;
            cursor: default;
            user-select: none;
            text-decoration: none;
            pointer-events: none;
        }
        .login-benefit-tip {
            background: #f0f3ff;
            border: 1px solid #d8def8;
            color: #4a5bb8;
            font-size: 12px;
            line-height: 1.5;
            border-radius: 8px;
            padding: 9px 12px;
            margin-bottom: 14px;
        }
        .rentals-foot a { color: #667eea; text-decoration: none; font-weight: 600; }
        .rentals-foot a:hover { text-decoration: underline; }

        .card { background: #fff; border-radius: 16px; padding: 20px 18px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); margin-bottom: 14px; }

        .kami-marquee-card {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 14px;
            margin-bottom: 14px;
            overflow: hidden;
            background: #f5f6ff;
            border: 1px solid #e4e7fb;
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.08);
        }
        .kami-marquee-card[hidden] { display: none !important; }
        .kami-marquee-ic {
            flex: 0 0 28px;
            width: 28px;
            height: 28px;
            border-radius: 8px;
            background: #eef0fc;
            color: #667eea;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .kami-marquee-ic svg {
            width: 16px;
            height: 16px;
        }
        .kami-marquee-viewport {
            flex: 1;
            min-width: 0;
            overflow: hidden;
            height: 22px;
            display: flex;
            align-items: center;
        }
        .kami-marquee-track {
            display: inline-flex;
            align-items: center;
            gap: 48px;
            white-space: nowrap;
            will-change: transform;
            animation: kamiMarqueeRtl 22s linear infinite;
            animation-delay: 1.5s;
        }
        .kami-marquee-text {
            color: #4f5fd6;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.2px;
            line-height: 22px;
        }
        @keyframes kamiMarqueeRtl {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        @media (prefers-reduced-motion: reduce) {
            .kami-marquee-track { animation: none; transform: none; }
            .kami-marquee-text:nth-child(2) { display: none; }
        }

        .ad-promo-card {
            padding: 0;
            overflow: hidden;
        }
        .ad-promo-card[hidden] {
            display: none !important;
        }
        .kami-banner {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 7;
            background: #eef1f6;
        }
        .kami-banner-track {
            position: absolute;
            inset: 0;
        }
        .kami-banner-slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity .45s ease;
            pointer-events: none;
        }
        .kami-banner-slide[hidden] {
            display: none !important;
        }
        .kami-banner-slide.is-active {
            opacity: 1;
            pointer-events: auto;
            z-index: 1;
        }
        .kami-banner-link {
            display: block;
            width: 100%;
            height: 100%;
        }
        .kami-banner-link img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .kami-banner-dots {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 8px;
            z-index: 2;
            display: flex;
            justify-content: center;
            gap: 6px;
            pointer-events: none;
        }
        .kami-banner-dot {
            pointer-events: auto;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            border: none;
            padding: 0;
            background: rgba(255,255,255,.55);
            box-shadow: 0 1px 3px rgba(0,0,0,.25);
            cursor: pointer;
        }
        .kami-banner-dot.is-active {
            background: #fff;
            width: 16px;
            border-radius: 999px;
        }

        .form-group { margin-bottom: 14px; }
        .form-group label { display: block; font-size: 13px; font-weight: 500; color: #444; margin-bottom: 6px; }

        /* ===== 问号帮助图标（hover 显示说明） ===== */
        .help-icon {
            display: inline-flex; align-items: center; justify-content: center;
            width: 15px; height: 15px; border-radius: 50%;
            background: #c3c9d1; color: #fff; font-size: 11px; font-weight: 700;
            margin-left: 5px; cursor: help; vertical-align: middle; line-height: 1;
            position: relative;
        }
        .help-icon:hover { background: #667eea; }
        .help-icon .help-tip {
            position: absolute; bottom: 160%; left: 0;
            background: #3a3f4b; color: #fff; font-size: 12px; line-height: 1.7;
            padding: 9px 12px; border-radius: 8px; width: 240px;
            white-space: normal; text-align: left; font-weight: 400;
            box-shadow: 0 4px 16px rgba(0,0,0,0.22);
            opacity: 0; visibility: hidden; pointer-events: none;
            transition: opacity .18s ease, visibility .18s ease;
            z-index: 999;
        }
        .help-icon:hover .help-tip { opacity: 1; visibility: visible; }
        .form-group input { width: 100%; padding: 12px 14px; border: 1.5px solid #e8ecf1; border-radius: 10px; font-size: 15px; outline: none; background: #f8f9fb; color: #222; }
        .form-group input:focus { border-color: #667eea; background: #fff; }
        .clearable-input { position: relative; }
        .clearable-input > input { padding-right: 40px; }
        .input-clear-btn {
            position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
            width: 22px; height: 22px; border: none; border-radius: 50%;
            background: #d8dde8; color: #fff; font-size: 15px; line-height: 1;
            display: inline-flex; align-items: center; justify-content: center;
            cursor: pointer; padding: 0; z-index: 2;
        }
        .input-clear-btn:hover { background: #667eea; }
        .input-clear-btn[hidden] { display: none !important; }
        .custom-row { display: flex; align-items: stretch; gap: 8px; }
        .custom-row .custom-input-wrap { flex: 1; min-width: 0; }
        .custom-input-wrap { position: relative; }
        .custom-input-wrap > input { width: 100%; height: 100%; padding: 12px 108px 12px 14px; border: 1.5px solid #e8ecf1; border-radius: 10px; font-size: 15px; outline: none; background: #f8f9fb; color: #222; box-sizing: border-box; }
        .custom-input-wrap > input:focus { border-color: #667eea; background: #fff; }
        .history-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 3px; border: 1.5px solid #667eea; background: #fff; color: #667eea; cursor: pointer; font-size: 12px; border-radius: 6px; padding: 5px 8px; white-space: nowrap; }
        .history-toggle:hover { background: #667eea; color: #fff; }
        .history-toggle .ht-arrow { font-size: 13px; line-height: 1; }
        .history-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid #e8ecf1; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); max-height: 300px; overflow-y: auto; z-index: 60; display: none; }
        .history-dropdown.show { display: block; }
        .history-dropdown .hd-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid #f0f1f5; background: #fafbfd; border-radius: 10px 10px 0 0; position: sticky; top: 0; }
        .history-dropdown .hd-title { font-size: 13px; font-weight: 600; color: #333; }
        .history-dropdown .hd-sub { font-size: 13px; font-weight: 600; color: #333; }
        .history-dropdown .hd-empty { color: #999; font-size: 12px; padding: 14px; text-align: center; }
        .history-dropdown .hd-foot { padding: 8px 12px; border-top: 1px solid #f0f1f5; font-size: 13px; font-weight: 600; color: #333; text-align: center; background: #fafbfd; border-radius: 0 0 10px 10px; }
        .history-dropdown .history-item { margin: 2px 6px; }

        .btn-primary { width: 100%; padding: 14px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border: none; border-radius: 10px; font-size: 19px; font-weight: 600; cursor: pointer; letter-spacing: 2px; transition: transform .15s ease; }
        .btn-primary:hover { transform: scale(1.04); }
        .btn-primary:active { transform: scale(0.98); }

        .result-empty { text-align: center; color: #b0b8c1; font-size: 13px; padding: 10px 0 4px; }

        .presale-notice-card {
            margin-top: 12px;
            padding: 14px 14px 12px;
            border-radius: 12px;
            background: linear-gradient(180deg, #f7f8ff 0%, #f3f5fc 100%);
            border: 1px solid #e4e7fb;
        }
        .presale-notice-badge {
            display: inline-flex;
            align-items: center;
            margin-left: 8px;
            padding: 1px 7px;
            border-radius: 999px;
            background: #667eea;
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.04em;
            vertical-align: 2px;
            line-height: 1.4;
        }
        .presale-notice-rows {
            background: #fff;
            border: 1px solid #e8ebfa;
            border-radius: 10px;
            padding: 4px 12px;
            overflow: hidden;
        }
        .presale-notice-row {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid #f0f2fa;
        }
        .presale-notice-row:last-child { border-bottom: none; }
        .presale-k {
            flex: 0 0 64px;
            font-size: 12px;
            color: #98a1b3;
            line-height: 1.5;
            padding-top: 1px;
        }
        .presale-v {
            flex: 1;
            min-width: 0;
            font-size: 14px;
            font-weight: 700;
            color: #222;
            line-height: 1.45;
            word-break: break-word;
        }
        .presale-v-date {
            color: #4f5fd6;
            font-size: 15px;
            letter-spacing: 0.02em;
        }
        .presale-notice-tip {
            margin-top: 12px;
            font-size: 14px;
            font-weight: 700;
            color: #e11d48;
            line-height: 1.55;
            text-align: center;
        }
        .presale-notice-sub {
            margin-top: 4px;
            font-size: 13px;
            font-weight: 400;
            color: #98a1b3;
            line-height: 1.5;
            text-align: center;
        }

        .result-tip {
            display: flex; align-items: flex-start; gap: 10px;
            margin-top: 12px; padding: 12px 14px;
            background: #f5f6ff; border: 1px solid #d4d9f8; border-radius: 10px;
            color: #4a56b8; font-size: 13px; line-height: 1.55; font-weight: 500;
            animation: resultFade .28s ease-out;
        }
        .result-tip.err {
            background: #f7f5fb; border-color: #ddd4ef; color: #5c4d86;
        }
        .result-tip.info {
            background: #f5f6ff; border-color: #d4d9f8; color: #5563c1;
        }
        .result-tip-icon {
            flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
            display: inline-flex; align-items: center; justify-content: center;
            background: #667eea; color: #fff; margin-top: 1px;
        }
        .result-tip.err .result-tip-icon { background: linear-gradient(135deg, #667eea, #764ba2); }
        .result-tip-icon svg { width: 13px; height: 13px; display: block; }
        .result-tip-text { flex: 1; min-width: 0; padding-top: 1px; }
        /* 账号/密码用宋体：区分 I/l/1 更清晰（2026-09-02，仅兑换结果区） */
        .copy-input.song { font-family: 'SimSun', 'Songti SC', serif; letter-spacing: .5px; }
        /* 兑换结果入场动画（2026-09-02 纯视觉增强：淡入 + 轻微上浮，告别突然刷新感） */
        .result-anim { animation: resultFade .45s ease-out; }
        @keyframes resultFade {
            from { opacity: 0; transform: translateY(10px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        /* ===== 兑换结果 ===== */
        .success-msg { font-size: 15px; font-weight: 600; color: #27ae60; padding: 10px 0 6px; }
        .error { color: #e74c3c; font-weight: 500; padding: 6px 0; }
        .info  { color: #3498db; font-size: 13px; padding: 4px 0; }
        .warning { color: #f39c12; font-size: 13px; padding: 4px 0; }

        .info-block { background: #f8f9fb; border-radius: 10px; padding: 12px 14px; margin: 10px 0; }

        /* 下载号独立卡片 */
        .dl-card {
            background: linear-gradient(180deg, #f7f8ff 0%, #f8f9fb 100%);
            border: 1.5px solid #d9def7;
            border-radius: 14px;
            padding: 16px 14px 22px;
            margin: 10px 0 4px;
            overflow: visible;
        }
        .dl-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
        .dl-badge {
            display: inline-block; font-size: 11px; font-weight: 700; color: #fff;
            background: #667eea; border-radius: 999px; padding: 2px 8px; letter-spacing: 0.02em;
            flex-shrink: 0;
        }
        .dl-badge-play {
            background: #e67e22;
        }
        .dl-game { font-size: 15px; font-weight: 700; color: #222; }
        .dl-step {
            background: #fff;
            border: 1.5px solid #e8ecf1;
            border-radius: 12px;
            padding: 12px 12px 18px;
            margin-bottom: 14px;
            overflow: visible;
        }
        .dl-step.is-open { border-color: #c7d2fe; box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.08); }
        .dl-step-play { border-color: #f3d9a8; background: linear-gradient(180deg, #fffdf8 0%, #fff 100%); }
        .dl-step-hd { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
        .dl-step-num {
            flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
            display: inline-flex; align-items: center; justify-content: center;
            font-size: 12px; font-weight: 800; color: #fff; background: #667eea;
            margin-top: 1px;
        }
        .dl-step-num-play { background: #e67e22; }
        .dl-step-hd-txt { min-width: 0; flex: 1; }
        .dl-step-title {
            font-size: 14px; font-weight: 700; color: #222; line-height: 1.35;
            display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
        }
        .dl-step-tag {
            display: inline-block; font-size: 11px; font-weight: 700;
            color: #4338ca; background: #eef2ff; border-radius: 999px; padding: 1px 7px;
        }
        .dl-step-tag-play { color: #9a3412; background: #ffedd5; }
        .dl-step-desc { margin-top: 4px; font-size: 12px; color: #6b7280; line-height: 1.5; }
        .dl-step-play.is-locked {
            position: relative;
            border-color: #e5e7eb;
            background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
        }
        .dl-step-play.is-locked .dl-step-hd {
            opacity: 0.55;
            filter: grayscale(0.15);
            margin-bottom: 8px;
        }
        .dl-step-locked-wrap {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            min-height: 108px;
        }
        .dl-step-locked-ghost {
            pointer-events: none;
            user-select: none;
            filter: blur(2.5px);
            opacity: 0.35;
            transform: scale(0.98);
            transform-origin: top center;
        }
        .dl-step-locked-ghost .dl-btn-wrap { margin-bottom: 0; }
        .dl-step-locked-mask {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 14px 12px;
            background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(248,250,252,0.92) 100%);
            backdrop-filter: blur(1.5px);
            -webkit-backdrop-filter: blur(1.5px);
            text-align: center;
            z-index: 2;
        }
        .dl-step-locked-mask .presale-notice-tip {
            margin-top: 0;
            margin-bottom: 6px;
        }
        .dl-step-locked-date {
            font-size: 15px;
            font-weight: 800;
            color: #4f5fd6;
            letter-spacing: 0.02em;
            line-height: 1.45;
        }
        .dl-step-locked-mask .presale-notice-sub {
            margin-top: 6px;
        }
        .dl-btn-wrap {
            position: relative;
            width: 100%;
            overflow: visible;
            margin-bottom: 20px;
        }
        /* 原样显示 GIF，不做混合（screen 会把粉红冲成透明） */
        .dl-click-hand {
            position: absolute;
            right: -6px;
            bottom: -30px;
            width: 68px;
            height: 68px;
            object-fit: contain;
            pointer-events: none;
            z-index: 9;
            mix-blend-mode: normal !important;
            background: transparent;
            border: 0;
            border-radius: 0;
            box-shadow: none;
            filter: none;
        }
        .dl-step-play .dl-btn-wrap {
            margin-bottom: 24px;
        }
        .dl-step-toggle {
            width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
            border: 1.5px solid #667eea; border-radius: 10px; padding: 11px 12px;
            background: #fff; color: #667eea; font-size: 14px; font-weight: 700; cursor: pointer;
        }
        .dl-step-toggle:hover { background: #667eea; color: #fff; }
        .dl-step-toggle.is-open {
            background: #667eea; color: #fff; border-color: #667eea;
            border-bottom-left-radius: 0; border-bottom-right-radius: 0;
        }
        .dl-step-chevron {
            font-size: 11px; line-height: 1; transition: transform .18s ease;
        }
        .dl-step-toggle.is-open .dl-step-chevron { transform: rotate(180deg); }
        .dl-step-body {
            border: 1.5px solid #667eea; border-top: none;
            border-radius: 0 0 10px 10px;
            padding: 12px 10px 10px;
            background: #f8f9ff;
            margin-top: -1px;
        }
        .dl-step-body[hidden] { display: none !important; }
        .dl-hint {
            font-size: 12px; color: #5b6475; line-height: 1.55;
            background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px;
            border: 1px solid #e8ecf1;
        }
        .dl-row {
            display: grid; grid-template-columns: auto minmax(0, 1fr) 64px; gap: 8px; align-items: center;
            margin-bottom: 8px;
        }
        .dl-label { font-size: 12px; color: #667; white-space: nowrap; }
        .dl-val {
            padding: 8px 10px; background: #fff; border: 1.5px solid #e8ecf1;
            border-radius: 8px; font-size: 15px; color: #222;
            overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        }
        .dl-copy {
            background: #fff; color: #667eea; border: 1.5px solid #667eea;
            border-radius: 8px; padding: 8px 0; font-size: 13px; cursor: pointer; width: 100%;
        }
        .dl-copy:hover, .dl-copy-all:hover { background: #667eea; color: #fff; }
        .dl-copy-all {
            flex: 1; min-width: 0; margin: 0;
            background: #fff; color: #667eea; border: 1.5px solid #667eea;
            border-radius: 10px; padding: 10px 6px; font-size: 12px; font-weight: 600; cursor: pointer;
            white-space: nowrap;
        }
        .dl-action-row {
            display: flex; gap: 8px; margin-top: 4px; margin-bottom: 8px;
        }
        .dl-action-row-pair { margin-bottom: 0; }
        .dl-switch-btn {
            flex: 1; min-width: 0;
            background: #fff; color: #764ba2; border: 1.5px solid #764ba2;
            border-radius: 10px; padding: 10px 6px; font-size: 12px; font-weight: 600; cursor: pointer;
            white-space: nowrap;
        }
        .dl-switch-btn:hover { background: #764ba2; color: #fff; }
        .dl-switch-btn.is-used,
        .dl-switch-btn:disabled {
            color: #98a1b3; border-color: #dfe3ea; background: #f3f4f6; cursor: not-allowed;
        }
        .dl-guide-btn {
            flex: 1; min-width: 0;
            display: inline-flex; align-items: center; justify-content: center;
            box-sizing: border-box; text-decoration: none;
            background: #fff; color: #e67e22; border: 1.5px solid #e67e22;
            border-radius: 10px; padding: 10px 6px; font-size: 12px; font-weight: 700; cursor: pointer;
            white-space: nowrap;
        }
        .dl-guide-btn:hover { background: #e67e22; color: #fff; }
        .dl-guide-note {
            margin: -2px 0 2px;
            padding: 0 2px;
            font-size: 12px;
            font-weight: 600;
            line-height: 1.5;
            color: #c2410c;
            text-align: center;
        }
        .dl-claim-tip {
            display: inline-block; margin-left: 6px; vertical-align: 1px;
            pointer-events: none; white-space: nowrap;
            padding: 2px 8px; border-radius: 20px;
            font-size: 11px; font-weight: 800; line-height: 1.4; letter-spacing: 0.02em;
            color: #4338ca;
            background: #eef2ff;
            border: 1px solid #c7d2fe;
            box-shadow: none;
        }
        .dl-claim-btn {
            width: 100%; border-radius: 10px; padding: 12px 0;
            border: 1.5px solid #667eea;
            background: #fff;
            color: #667eea; font-size: 15px; font-weight: 700; cursor: pointer;
        }
        .dl-claim-btn:hover {
            background: #667eea;
            color: #fff;
        }
        .dl-claim-btn:hover .dl-claim-tip {
            color: #4338ca;
            background: #fff;
            border-color: #e0e7ff;
        }
        .dl-claim-btn.dl-claim-inline {
            width: auto; flex: 1; min-width: 0;
            padding: 10px 6px; font-size: 12px;
        }
        .dl-claim-btn:disabled { opacity: 0.65; cursor: not-allowed; }
        .dl-foot { margin-top: 10px; text-align: center; font-size: 11px; color: #98a1b3; }
        .dl-big-tip {
            margin: 10px 0 12px;
            padding: 14px 12px;
            border-radius: 12px;
            border: 2px solid #dc2626;
            background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%);
            box-shadow: 0 4px 14px rgba(220, 38, 38, .18);
            text-align: center;
        }
        .dl-big-tip-title {
            font-size: 13px;
            font-weight: 800;
            color: #fff;
            display: inline-block;
            background: #dc2626;
            border-radius: 999px;
            padding: 3px 12px;
            margin-bottom: 10px;
            letter-spacing: .06em;
        }
        .dl-big-tip-text {
            font-size: 16px;
            font-weight: 800;
            line-height: 1.65;
            color: #b91c1c;
        }

        .copy-row { display: grid; grid-template-columns: auto minmax(0, 1fr) 64px; align-items: center; gap: 6px; margin-bottom: 8px; }
        .copy-row .btn-group { display: flex; gap: 6px; }
        .copy-row.code-row { grid-template-columns: 1fr; }
        .code-btn-pair { display: flex; gap: 6px; width: 100%; max-width: 100%; margin: 0 auto; justify-content: center; }
        .code-btn-pair .copy-btn { flex: 1; min-width: 0; font-size: 12px; padding: 8px 4px; white-space: nowrap; }
        .extra-link-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 8px;
            margin: 10px 0 4px;
        }
        .extra-link-row.is-pair {
            grid-template-columns: 1fr 1fr;
        }
        .extra-link-row .dual-platform-bar,
        .extra-link-row .offline-guide-bar {
            margin: 0;
            min-width: 0;
        }
        .extra-link-row.is-pair .dual-platform-bar,
        .extra-link-row.is-pair .offline-guide-bar {
            padding: 10px 10px;
            gap: 8px;
        }
        .extra-link-row.is-pair .dual-platform-bar-txt b,
        .extra-link-row.is-pair .offline-guide-bar-txt b {
            font-size: 12px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .extra-link-row.is-pair .offline-guide-bar-txt small .offline-must-see {
            font-size: 9px;
            padding: 0 4px;
            margin-left: 3px;
            margin-right: 0;
        }
        .extra-link-row.is-pair .dual-platform-bar-txt small,
        .extra-link-row.is-pair .offline-guide-bar-txt small {
            font-size: 10px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .dual-platform-bar {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 10px 0 4px;
            padding: 12px 14px;
            border-radius: 12px;
            text-decoration: none;
            color: #9a3412;
            background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
            border: 1.5px solid #fdba74;
            box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
            transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
        }
        .dual-platform-bar:hover {
            transform: translateY(-1px);
            border-color: #fb923c;
            box-shadow: 0 6px 16px rgba(234, 88, 12, 0.12);
            color: #7c2d12;
        }
        .dual-platform-bar-ic {
            flex: 0 0 34px;
            width: 34px;
            height: 34px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #ea580c;
            color: #fff;
        }
        .dual-platform-bar-ic svg {
            width: 18px;
            height: 18px;
        }
        .dual-platform-bar-txt {
            flex: 1 1 auto;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .dual-platform-bar-txt b {
            font-size: 14px;
            font-weight: 650;
            line-height: 1.25;
        }
        .dual-platform-bar-txt small {
            font-size: 11px;
            color: #c2410c;
            opacity: 0.85;
        }
        .dual-platform-bar-go {
            flex: 0 0 auto;
            font-size: 22px;
            line-height: 1;
            color: #ea580c;
            font-weight: 500;
        }
        .offline-guide-bar {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 10px 0 4px;
            padding: 12px 14px;
            border-radius: 12px;
            text-decoration: none;
            color: #1e3a8a;
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            border: 1.5px solid #93c5fd;
            transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
        }
        .offline-guide-bar:hover {
            transform: translateY(-1px);
            border-color: #60a5fa;
            box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
            color: #1e40af;
        }
        .offline-guide-bar-ic {
            flex: 0 0 34px;
            width: 34px;
            height: 34px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #2563eb;
            color: #fff;
        }
        .offline-guide-bar-ic svg { width: 18px; height: 18px; }
        .offline-guide-bar-txt {
            flex: 1 1 auto;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .offline-guide-bar-txt b { font-size: 14px; font-weight: 650; line-height: 1.25; }
        .offline-guide-bar-txt small .offline-must-see {
            display: inline-block;
            margin-left: 5px;
            margin-right: 0;
            padding: 1px 6px;
            border-radius: 20px;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.04em;
            line-height: 1.4;
            color: #7c1d1d;
            background: linear-gradient(135deg, #fde047 0%, #fb923c 55%, #f97316 100%);
            vertical-align: 1px;
            animation: afWiggle 1.4s ease-in-out infinite;
            transform-origin: center;
            box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.35), 0 2px 8px rgba(249, 115, 22, 0.45);
        }
        .offline-guide-bar-txt small { font-size: 11px; color: #1d4ed8; opacity: 0.85; }
        .offline-guide-bar-go {
            flex: 0 0 auto;
            font-size: 22px;
            line-height: 1;
            color: #2563eb;
            font-weight: 500;
        }
        .dual-platform-tip {
            margin: 2px 2px 6px;
            padding: 0 2px;
            font-size: 12px;
            line-height: 1.4;
            color: #c2410c;
            text-align: center;
            font-weight: 600;
        }
        .modifier-dl-bar {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            margin: 8px 0 4px;
            padding: 12px 14px;
            border-radius: 12px;
            border: 1.5px solid #86efac;
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            color: #166534;
            text-align: left;
            cursor: pointer;
            font: inherit;
            box-sizing: border-box;
            transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
        }
        .modifier-dl-bar:hover {
            transform: translateY(-1px);
            border-color: #4ade80;
            box-shadow: 0 6px 16px rgba(22, 163, 74, 0.12);
            color: #14532d;
        }
        .modifier-dl-bar-ic {
            flex: 0 0 34px;
            width: 34px;
            height: 34px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #16a34a;
            color: #fff;
        }
        .modifier-dl-bar-ic svg { width: 18px; height: 18px; }
        .modifier-dl-bar-txt {
            flex: 1 1 auto;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .modifier-dl-bar-txt b { font-size: 14px; font-weight: 650; line-height: 1.25; }
        .modifier-dl-bar-txt .modifier-gift-note {
            margin-left: 4px;
            font-size: 12px;
            font-weight: 500;
            color: #15803d;
            opacity: 0.9;
        }
        .modifier-dl-bar-txt small { font-size: 11px; color: #15803d; opacity: 0.85; }
        .modifier-dl-bar-go {
            flex: 0 0 auto;
            font-size: 22px;
            line-height: 1;
            color: #16a34a;
            font-weight: 500;
        }
        .faq-promo-card {
            padding: 16px 14px 12px;
            background: #fff;
        }
        .faq-promo-card[hidden] {
            display: none !important;
        }
        .faq-block-hd {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 15px;
            font-weight: 700;
            color: #222;
            margin-bottom: 12px;
            letter-spacing: 0.02em;
        }
        .faq-block-hd::before {
            content: '';
            width: 4px;
            height: 16px;
            border-radius: 4px;
            background: linear-gradient(180deg, #667eea, #764ba2);
            flex-shrink: 0;
        }
        .faq-block-list {
            display: flex;
            flex-direction: column;
            gap: 0;
            border-radius: 12px;
            border: 1.5px solid #e8ecf1;
            background: #fafbfd;
            overflow: hidden;
        }
        a.kami-faq-link,
        button.kami-faq-link {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 12px;
            text-decoration: none;
            color: #1f2937;
            background: transparent;
            border: none;
            border-bottom: 1px solid #eef1f6;
            transition: background .15s ease;
            width: 100%;
            box-sizing: border-box;
            font: inherit;
            text-align: left;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
        }
        a.kami-faq-link:last-child,
        .kami-faq-item:last-child > .kami-faq-link {
            border-bottom: none;
        }
        a.kami-faq-link:hover,
        button.kami-faq-link:hover {
            background: #f0f3ff;
        }
        a.kami-faq-link:active,
        button.kami-faq-link:active {
            background: #e8ecff;
        }
        .kami-faq-item {
            border-bottom: 1px solid #eef1f6;
        }
        .kami-faq-item:last-child {
            border-bottom: none;
        }
        .kami-faq-item > .kami-faq-link {
            border-bottom: none;
        }
        .kami-faq-body {
            display: none;
            padding: 0 12px 12px;
            font-size: 13px;
            line-height: 1.65;
            color: #4b5563;
            white-space: normal;
            word-break: break-word;
        }
        .kami-faq-item.is-open .kami-faq-body {
            display: block;
        }
        .kami-faq-item.is-open .kami-faq-chevron {
            transform: rotate(90deg);
            background: #667eea;
            color: #fff;
        }
        .kami-faq-chevron {
            transition: transform .15s ease, background .15s ease, color .15s ease;
        }
        .kami-faq-ic {
            flex: 0 0 34px;
            width: 34px;
            height: 34px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #eef1ff 0%, #e4e9ff 100%);
            color: #667eea;
        }
        .kami-faq-ic svg {
            width: 16px;
            height: 16px;
            display: block;
        }
        .kami-faq-txt {
            flex: 1 1 auto;
            min-width: 0;
            font-size: 14px;
            font-weight: 600;
            line-height: 1.35;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .kami-faq-go {
            flex: 0 0 auto;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #eef1f6;
            color: #8b93a7;
            font-size: 14px;
            line-height: 1;
            transition: background .15s ease, color .15s ease, transform .15s ease;
        }
        a.kami-faq-link:hover .kami-faq-go,
        button.kami-faq-link:hover .kami-faq-go {
            background: #667eea;
            color: #fff;
        }
        .modifier-modal {
            max-width: 420px;
            overflow: hidden;
        }
        .modifier-modal-body {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 12px;
            padding-top: 4px;
            min-width: 0;
            max-width: 100%;
            box-sizing: border-box;
        }
        .modifier-modal-links {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 10px;
            width: 100%;
            min-width: 0;
        }
        .modifier-modal-links .modifier-dl-link {
            flex: 1 1 calc(50% - 5px);
            min-width: 0;
        }
        .modifier-modal-links .modifier-dl-link.modifier-dl-alone {
            flex: 1 1 100%;
        }
        .modifier-modal-links .modifier-empty {
            flex: 1 1 100%;
        }
        button.modifier-modal-img,
        .modifier-modal-img {
            display: block;
            width: 100%;
            max-width: 100%;
            height: auto;
            aspect-ratio: 16 / 9;
            max-height: 180px;
            padding: 0;
            margin: 0;
            border-radius: 12px;
            overflow: hidden;
            background: #f3f4f6;
            border: 1px solid #e5e7eb;
            position: relative;
            cursor: zoom-in;
            box-sizing: border-box;
            font: inherit;
            appearance: none;
            -webkit-appearance: none;
            flex: none;
        }
        button.modifier-modal-img[hidden],
        .modifier-modal-img[hidden] {
            display: none !important;
        }
        .modifier-modal-img img {
            width: 100% !important;
            height: 100% !important;
            max-width: 100% !important;
            max-height: 100% !important;
            object-fit: cover;
            display: block;
            pointer-events: none;
        }
        .modifier-modal-img-tip {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 6px 0;
            background: rgba(15, 23, 42, 0.55);
            color: #fff;
            font-size: 12px;
            line-height: 1.2;
            text-align: center;
            pointer-events: none;
        }
        .modifier-zoom-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 1200;
            background: rgba(0, 0, 0, 0.78);
            align-items: center;
            justify-content: center;
            padding: 24px 16px;
            box-sizing: border-box;
            backdrop-filter: blur(2px);
        }
        .modifier-zoom-overlay.show {
            display: flex;
        }
        .modifier-zoom-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            border: none;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.18);
            color: #fff;
            font-size: 18px;
            cursor: pointer;
            line-height: 1;
        }
        .modifier-zoom-img {
            max-width: min(92vw, 720px);
            max-height: 82vh;
            width: auto;
            height: auto;
            object-fit: contain;
            border-radius: 12px;
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
            background: #111;
        }
        .modifier-dl-link {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 14px;
            border-radius: 12px;
            text-decoration: none;
            color: #1e3a8a;
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            border: 1.5px solid #93c5fd;
            box-sizing: border-box;
            width: 100%;
            min-height: 58px;
        }
        .modifier-dl-link.is-quark {
            color: #7c2d12;
            background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
            border-color: #fdba74;
        }
        .modifier-dl-ic {
            flex: 0 0 34px;
            width: 34px;
            height: 34px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #2563eb;
            color: #fff;
            font-size: 13px;
            font-weight: 700;
        }
        .modifier-dl-link.is-quark .modifier-dl-ic { background: #ea580c; }
        .modifier-dl-txt {
            flex: 1 1 auto;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .modifier-dl-txt b { font-size: 14px; font-weight: 650; }
        .modifier-dl-txt small { font-size: 11px; opacity: 0.85; }
        .modifier-dl-go {
            flex: 0 0 auto;
            font-size: 22px;
            line-height: 1;
            font-weight: 500;
        }
        .modifier-empty {
            text-align: center;
            color: #9ca3af;
            font-size: 13px;
            padding: 18px 8px;
        }
        .copy-row:last-child { margin-bottom: 0; }
        .copy-label { font-size: 12px; color: #222; white-space: nowrap; line-height: 1.2; }
        .copy-input { min-width: 0; padding: 6px 10px; background: #fff; border: 1.5px solid #e8ecf1; border-radius: 8px; font-size: 15px; color: #222; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .copy-btn { background: #fff; color: #667eea; border: 1.5px solid #667eea; padding: 8px 0; border-radius: 8px; cursor: pointer; font-size: 13px; width: 100%; }
        .speak-all-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #667eea; border: 1.5px solid #667eea; padding: 5px 12px; border-radius: 8px; cursor: pointer; font-size: 13px; flex-shrink: 0; }
        .speak-all-btn:hover { background: #667eea; color: #fff; }
        .sound-icon { width: 16px; height: 16px; flex-shrink: 0; }
        .sound-icon .arc { transform-box: fill-box; transform-origin: 0% 50%; }
        .sound-icon.playing .arc { animation: sound-pulse 0.7s ease-in-out infinite; }
        .sound-icon.playing .arc.d2 { animation-delay: 0.18s; }
        @keyframes sound-pulse {
            0%, 100% { transform: scale(0.6); opacity: 0.3; }
            50% { transform: scale(1); opacity: 1; }
        }
        .copy-btn:hover { background: #667eea; color: #fff; border-color: #667eea; }
        .copy-btn.copied { background: #27ae60 !important; color: #fff !important; border-color: #27ae60 !important; }

        .countdown-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: stretch; position: relative; margin-top: 6px; }
        .cd-wrap { min-width: 0; display: flex; flex-direction: column; gap: 4px; height: 100%; }
        .cd-label { font-size: 12px; color: #98a1b3; text-align: center; line-height: 1.2; flex-shrink: 0; }
        .cd-cell { background: #f8f9fb; padding: 8px 12px; border-radius: 10px; min-width: 0; flex: 1; display: flex; align-items: center; justify-content: center; border: 1.5px solid #e8ecf1; }
        .cd-cell .t-val { font-size: 15px; font-weight: 600; color: #4669e0; white-space: nowrap; letter-spacing: 0.2px; }
        /* 续租成功「+X小时」气泡：倒计时上方，出现快 → 停留 → 缓慢淡出上浮（2026-09-02 替代文本提示） */
        .renew-float-tip { position: absolute; left: 50%; transform: translateX(-50%) translateY(6px); bottom: calc(100% + 8px);
            background: #27ae60; color: #fff; font-size: 13px; font-weight: 700; padding: 3px 14px; border-radius: 14px;
            white-space: nowrap; opacity: 0; pointer-events: none; box-shadow: 0 4px 12px rgba(39,174,96,.35); transition: opacity .3s, transform .3s; z-index: 3; }
        .renew-float-tip.show { opacity: 1; transform: translateX(-50%) translateY(0); }
        .renew-float-tip.hide { opacity: 0; transform: translateX(-50%) translateY(-16px); transition: opacity 1.4s ease, transform 1.4s ease; }

        .renew-btn {
            padding: 12px; border: none; border-radius: 10px; width: 100%;
            background: linear-gradient(135deg, #5fc88a, #27ae60);
            color: #fff; font-size: 19px; font-weight: 600; cursor: pointer; letter-spacing: 2px;
            transition: transform .15s ease;
        }
        .renew-btn:hover { opacity: 0.92; transform: scale(1.02); }
        .renew-tip { font-size: 15px; color: #555; padding: 4px 0 2px 0; }

        .code-btn {
            background: #fff1f2;
            color: #e11d48;
            border-color: #fecdd3;
            font-weight: 700;
        }
        .code-btn:hover {
            background: #ffe4e6;
            color: #be123c;
            border-color: #fda4af;
        }
        .code-btn:disabled { opacity: 0.5; cursor: not-allowed; }
        .code-result { color: #4669e0; font-weight: bold; font-size: 18px; letter-spacing: 2px; }

        .footer-links { display: flex; justify-content: center; gap: 8px; padding-top: 10px; margin-top: 10px; align-items: flex-start; }
        .footer-links a { padding: 9px 0; border: 1.5px solid #667eea; border-radius: 8px; color: #667eea; background: #fff; font-size: 14px; font-weight: 500; text-decoration: none; flex: 1; text-align: center; transition: .15s; }
        .footer-links a:hover { background: #667eea; color: #fff; }

        /* ===== 历史 ===== */
        .history-section { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); margin-bottom: 14px; }
        .history-section h4 { margin: 0 0 10px 0; color: #555; font-size: 14px; font-weight: 600; }
.history-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin: 4px 0; background: #f8f9fb; border-radius: 8px; cursor: pointer; transition: .15s; flex-wrap: wrap; }
.history-item:hover { background: #eef0ff; }
.history-item .hi-game { color: #667eea; font-size: 12px; font-weight: 500; }
.history-item .hi-account { color: #222; font-size: 13px; }
.history-item .hi-card { color: #888; font-size: 11px; }
.history-item .hi-time { color: #999; font-size: 11px; margin-left: auto; }
.history-item .hi-expired { color: #e74c3c; font-size: 11px; margin-left: auto; }

        /* ===== 续租弹窗 ===== */
        .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.45); z-index: 999; justify-content: center; align-items: center; padding: 16px; }
        .modal-overlay.show { display: flex; }
        .modal { background: #fff; border-radius: 16px; padding: 24px 22px; max-width: 420px; width: 100%; box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
        .modal-head { display: flex; justify-content: space-between; align-items: center; font-size: 17px; font-weight: 600; color: #222; margin-bottom: 12px; }
        .modal-time { font-size: 15px; font-weight: 600; color: #4669e0; }

        .modal .form-group { margin-bottom: 14px; }
        .modal .form-group label { color: #555; font-size: 13px; display: block; margin-bottom: 4px; }
        .modal .form-group input { width: 100%; padding: 11px 12px; background: #f8f9fb; border: 1.5px solid #e8ecf1; border-radius: 8px; color: #222; font-size: 14px; }

        .modal .btn-row { display: flex; gap: 10px; margin-top: 12px; }
        .modal .btn-row button { flex: 1; padding: 12px; border: none; border-radius: 10px; cursor: pointer; font-size: 15px; font-weight: 600; letter-spacing: 0; }
        .modal .btn-confirm { background: #27ae60; color: #fff; }
        .modal .btn-confirm:hover { background: #229954; }
        .modal .btn-confirm:disabled { background: #bdc3c7; cursor: not-allowed; }
        .modal .btn-primary { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; transition: transform .15s ease, box-shadow .15s ease; }
        .modal .btn-primary:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(102,126,234,0.4); }
        .modal .btn-cancel  { background: #ecf0f1; color: #666; }
        .modal .btn-cancel:hover { background: #d5dbdb; }
        .modal .busy-wait { background: #f0f0f0; color: #888; }
        .modal .busy-wait:hover { background: #e0e0e0; }

        .modal-msg { padding: 10px 12px; border-radius: 8px; margin-top: 10px; font-size: 14px; display: none; }
        .modal-msg.error   { background: #fdecea; color: #c0392b; display: block; }
        .modal-msg.success { background: #e8f8f0; color: #27ae60; display: block; }
        .modal-msg.info    { background: #eaf4fc; color: #2980b9; display: block; }

        /* ===== 加好友弹窗 ===== */
        .add-friend-btn { display: block; width: 100%; margin-top: 12px; background: #fff; color: #667eea; border: 1.5px solid #667eea; padding: 10px 14px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; text-align: center; }
        .add-friend-btn:hover { background: #667eea; color: #fff; }
        .af-log { background: #f8f9fa; border-radius: 8px; padding: 10px; margin-top: 10px; font-size: 12px; max-height: 200px; overflow-y: auto; white-space: pre-wrap; display: none; }
        .af-err { display: none; color: #e74c3c; font-size: 12px; margin-top: 5px; line-height: 1.4; }
        .af-err.show { display: block; }
        .form-group input.af-input-err { border-color: #e74c3c; background: #fdf3f2; }
        .form-group input.af-input-ok { border-color: #27ae60; background: #f2fbf6; }
        .af-spinner { width: 40px; height: 40px; margin: 0 auto; border: 4px solid #e8ecf1; border-top-color: #667eea; border-radius: 50%; animation: afSpin 0.9s linear infinite; }
        @keyframes afSpin { to { transform: rotate(360deg); } }
        .af-result-icon { width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; animation: afPop .3s ease; }
        .af-result-icon.success { background: #27ae60; }
        .af-result-icon.success::before { content: '✓'; }
        .af-result-icon.fail { background: #e74c3c; }
        .af-result-icon.fail::before { content: '✕'; }
        @keyframes afPop { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

        /* ===== 加好友触发按钮（兑换页底部） ===== */
        .af-trigger-btn { display: flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid #667eea; border-radius: 8px; color: #667eea; background: #fff; font-size: 14px; font-weight: 500; padding: 9px 0; cursor: pointer; width: 100%; transition: .15s; }
        .af-trigger-btn:hover { background: #667eea; color: #fff; }
        .af-trigger-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
        .af-new-tag { background: #22c55e; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 20px; line-height: 1.4; animation: afWiggle 1.4s ease-in-out infinite; transform-origin: center; }
        @keyframes afWiggle { 0%,100% { transform: rotate(0deg); } 15% { transform: rotate(-12deg); } 30% { transform: rotate(10deg); } 45% { transform: rotate(-8deg); } 60% { transform: rotate(6deg); } 75% { transform: rotate(-4deg); } }

        /* ===== 续租弹窗辅助样式 ===== */
        .rm-sub { background: #f8f9fb; border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; font-size: 13px; }
        .rm-tips { font-size: 12px; color: #f39c12; margin: 8px 0 14px 0; padding: 8px 10px; background: #fef5e7; border-radius: 8px; }

        /* ===== 兑换成功弹窗 ===== */
        .ok-icon { width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; background: #27ae60; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
        .ok-title { font-size: 19px; font-weight: 700; color: #222; margin-top: 12px; }
        .ok-remind { background: linear-gradient(135deg, #fef5e7, #fdf0dc); border: 1.5px solid #f5c26b; border-radius: 10px; padding: 13px 14px; margin-top: 16px; }
        .ok-remind[hidden] { display: none !important; }
        .ok-remind .ok-t { font-size: 15px; font-weight: 700; color: #e67e22; line-height: 1.6; }

        /* ===== 兑换确认弹窗 ===== */
        .modal-close { width: 26px; height: 26px; border: none; background: #f0f2f5; border-radius: 50%; color: #888; font-size: 14px; cursor: pointer; line-height: 1; }

        /* ===== 滑动验证（2026-09-02 替代图形验证码） ===== */
        .slide-track { position: relative; height: 48px; border-radius: 24px; overflow: hidden; user-select: none; -webkit-user-select: none;
            background: linear-gradient(180deg, #f3f5f9, #eef1f6); border: 1.5px solid #e3e7ef;
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.06); transition: background .35s, border-color .35s, box-shadow .35s; }
        .slide-fill { position: absolute; top: 0; left: 0; bottom: 0; width: 0; border-radius: 24px;
            background: linear-gradient(90deg, #8fa8ff, #667eea); opacity: 0; transition: opacity .15s; }
        .slide-tip { position: absolute; top: 0; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center;
            font-size: 13.5px; color: #8a93a6; font-weight: 500; letter-spacing: .5px; pointer-events: none; transition: opacity .25s, color .3s; }
        .slide-btn { position: absolute; top: 3px; left: 3px; width: 42px; height: 42px; border-radius: 50%;
            background: linear-gradient(180deg, #fff, #f2f4f9); box-shadow: 0 2px 6px rgba(0,0,0,0.16), 0 1px 2px rgba(0,0,0,0.08);
            cursor: grab; z-index: 2; display: flex; align-items: center; justify-content: center;
            transition: transform .12s, box-shadow .25s, background .35s; touch-action: none; }
        .slide-btn:active, .slide-btn.dragging { cursor: grabbing; transform: scale(1.05); box-shadow: 0 4px 14px rgba(0,0,0,0.24); }
        .slide-btn .ic-arrow { color: #667eea; font-size: 17px; transition: opacity .2s; line-height: 1; }
        .slide-btn .ic-check { position: absolute; width: 24px; height: 24px; opacity: 0; }
        .slide-btn .ic-check path { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .4s ease .15s; }
        .slide-track.success { background: linear-gradient(180deg, #2ecc71, #27ae60); border-color: #27ae60;
            box-shadow: 0 4px 18px rgba(39,174,96,0.4), inset 0 1px 2px rgba(0,0,0,0.08); }
        .slide-track.success .slide-btn { background: #fff; cursor: default; box-shadow: 0 2px 10px rgba(0,0,0,0.22); }
        .slide-track.success .slide-btn .ic-arrow { opacity: 0; }
        .slide-track.success .slide-btn .ic-check { opacity: 1; }
        .slide-track.success .slide-btn .ic-check path { stroke-dashoffset: 0; }
        .slide-track.success .slide-tip { color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,0.15); }
        .slide-track.fail { border-color: #f0a8a0; animation: slide-shake .35s; }
        @keyframes slide-shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
        .slide-hint { min-height: 16px; font-size: 11.5px; color: #98a1b3; margin-top: 6px; transition: color .2s; }
        .slide-hint.ok { color: #27ae60; font-weight: 600; }
        .slide-hint.err { color: #e74c3c; }
        /* 登录态用户菜单（个人中心 / 退出登录） */
        .user-menu { position: fixed; background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.15);
            z-index: 1002; min-width: 138px; overflow: hidden; padding: 6px; display: none; }
        .user-menu .um-item { padding: 10px 14px; font-size: 13px; color: #333; cursor: pointer; border-radius: 8px;
            display: flex; align-items: center; gap: 8px; user-select: none; }
        .user-menu .um-item:hover { background: #f0f2f7; }
        .user-menu .um-logout { color: #e74c3c; }
        .login-remember { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #555; margin: 2px 0 14px; cursor: pointer; user-select: none; }
        .login-remember input { width: 15px; height: 15px; accent-color: #667eea; cursor: pointer; }
        .login-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12px; }
        .login-foot a { color: #667eea; text-decoration: none; font-weight: 600; }
        .login-foot .hint { color: #98a1b3; }
        .login-submit { width: 100%; padding: 12px; border: none; border-radius: 10px;
            background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; font-size: 15px; font-weight: 600;
            cursor: pointer; letter-spacing: 2px; box-shadow: 0 6px 18px rgba(102,126,234,0.35); }
        .login-submit:disabled { opacity: 0.6; cursor: not-allowed; }
        .toast {
            position: fixed; top: 50%; left: 50%;
            transform: translate(-50%, -50%) scale(0.94);
            opacity: 0; visibility: hidden; pointer-events: none;
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            gap: 10px;
            background: #f5f6ff; color: #5563c1;
            padding: 18px 22px 16px;
            border-radius: 8px;
            box-shadow: 0 10px 32px rgba(102, 126, 234, 0.22);
            font-size: 13px; line-height: 1.55; font-weight: 500;
            z-index: 1000; border: 1px solid #d4d9f8;
            max-width: min(86vw, 300px); min-width: 160px;
            text-align: center;
            transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
        }
        .toast.show {
            opacity: 1; visibility: visible;
            transform: translate(-50%, -50%) scale(1);
        }
        .toast.ok {
            background: #f4f7ff; border-color: #c9d2f8; color: #3d4db8;
            box-shadow: 0 10px 32px rgba(102, 126, 234, 0.18);
        }
        .toast.err {
            background: #f7f5fb; border-color: #ddd4ef; color: #5c4d86;
            box-shadow: 0 10px 32px rgba(118, 75, 162, 0.16);
        }
        .toast-icon {
            flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
            display: inline-flex; align-items: center; justify-content: center;
            background: linear-gradient(135deg, #667eea, #764ba2); color: #fff;
            margin: 0;
        }
        .toast-icon svg { width: 18px; height: 18px; display: block; }
        .toast-text { width: 100%; padding: 0; text-align: center; }
        .confirm-info-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed #eef0f3; font-size: 14px; }
        .confirm-info-row:last-child { border-bottom: none; }
        .confirm-info-row .k { color: #888; font-size: 13px; }
        .confirm-info-row .v { color: #222; font-weight: 600; }
        .confirm-duration-tag { display: inline-block; background: #e8f8f0; color: #27ae60; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
        .confirm-offline-box {
            margin: 14px 0 4px;
            padding: 14px 14px 14px 16px;
            border-radius: 12px;
            background: #f5f3ff;
            border: 1px solid #e4ddff;
            border-left: 3px solid #7c6cf0;
            box-shadow: 0 1px 2px rgba(102, 126, 234, 0.06);
        }
        .confirm-offline-box-hd {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
        }
        .confirm-offline-box-ic {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            line-height: 18px;
            text-align: center;
            flex-shrink: 0;
        }
        .confirm-offline-box-title {
            font-size: 13px;
            font-weight: 700;
            color: #4338ca;
            letter-spacing: 0.02em;
        }
        .confirm-offline-box-body {
            font-size: 12.5px;
            line-height: 1.7;
            color: #4b5563;
            font-weight: 450;
        }
        .confirm-claim-tip {
            margin-top: 10px;
            padding: 10px 12px;
            background: #fff8f0;
            border: 1px solid #f5d9b8;
            border-radius: 8px;
            color: #8a5a2b;
            font-size: 13px;
            line-height: 1.5;
        }
        .btn-sub { display: block; border: 1.5px solid #333; border-radius: 10px; background: #333; color: #fff; width: 100%; padding: 12px; font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 10px; }
        .btn-sub-right { width: 33.33%; margin-top: 10px; margin-left: auto; padding: 10px; }
        .btn-sub-inline {
            width: auto;
            flex-shrink: 0;
            margin-top: 0;
            padding: 0 12px;
            font-size: 13px;
            white-space: nowrap;
            border-radius: 10px;
        }
        .input-err { border-color: #e74c3c !important; background: #fdf3f2 !important; }
        .custom-err { display: none; color: #e74c3c; font-size: 12px; margin-top: 6px; text-align: right; }
        .custom-err.show { display: block; }

        .game-tag { display: inline-block; padding: 4px 10px; margin: 3px 4px 3px 0; background: #f0f2f5; border-radius: 6px; font-size: 12px; color: #555; }
        .game-tag .count { color: #888; margin-left: 6px; }

        .link-btn { display: inline-block; padding: 8px 18px; border-radius: 8px; border: 1px solid #ddd; color: #666; text-decoration: none; font-size: 13px; background: #f8f9fb; }
        .link-btn:hover { background: #fff; color: #667eea; border-color: #667eea; }

        .tutorial-glow { animation: glow 2.5s ease-in-out infinite; }
        @keyframes glow { 0%,100% { box-shadow: 0 0 4px rgba(102,126,234,0.4); transform: scale(1); }
                          50% { box-shadow: 0 0 20px rgba(102,126,234,0.8), 0 0 40px rgba(102,126,234,0.3); transform: scale(1.03); } }

        /* ===== 我的租用模块 ===== */
        .rentals-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
        .rentals-head .rt-title { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; color: #222; }
        .rentals-head .rt-title svg { width: 18px; height: 18px; }
        .rentals-count { background: #667eea; color: #fff; font-size: 12px; font-weight: 600; border-radius: 10px; padding: 1px 9px; line-height: 18px; }
        /* 我的租用：约 5 条高度，超出内部滚动 */
        #rentalsList {
            --rental-slot: 158px; /* 单卡约高（含间距），约可见 3 条 */
            max-height: none;
        }
        #rentalsList.is-scrollable {
            max-height: calc(var(--rental-slot) * 3 + 10px);
            overflow-y: auto;
            overscroll-behavior: contain;
            -webkit-overflow-scrolling: touch;
            /* 「当前/已过期」角标 top:-9px，不加顶距会被裁切，看起来像拖不到顶 */
            padding-top: 10px;
            padding-right: 4px;
            margin-right: -2px;
            scrollbar-width: thin;
            scrollbar-color: #c5cad8 transparent;
        }
        #rentalsList.is-scrollable::-webkit-scrollbar { width: 5px; }
        #rentalsList.is-scrollable::-webkit-scrollbar-track { background: transparent; }
        #rentalsList.is-scrollable::-webkit-scrollbar-thumb {
            background: #c5cad8;
            border-radius: 999px;
        }
        #rentalsList.is-scrollable .rental-item:last-child { margin-bottom: 2px; }
        /* ===== 我的租用 V2 卡片（2026-09-02：一行信息 + 续租链 + 右下角按钮） ===== */
        .rental-item { border: 1.5px solid #e8ecf1; border-radius: 14px; padding: 13px 14px; margin-bottom: 11px; position: relative; transition: border-color .15s, background .15s; }
        .rental-item.is-current { border-color: #667eea; box-shadow: 0 0 0 3px rgba(102,126,234,0.10); }
        .ri-top { display: flex; align-items: flex-start; gap: 8px; }
        .ri-icon { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; background: linear-gradient(135deg, #667eea, #764ba2); display: flex; align-items: center; justify-content: center; font-size: 17px; color: #fff; margin-top: 1px; }
        .ri-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; padding-right: 22px; }
        .ri-game { font-size: 13px; font-weight: 700; color: #222; }
        .ri-offline-tag { color: #667eea; font-weight: 650; margin-left: 2px; }
        .ri-game-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .ri-expire b { font-weight: 600; }
        .ri-kv { font-size: 12px; color: #98a1b3; line-height: 1.45; word-break: break-all; }
        .ri-kv b { color: #444; font-weight: 600; }
        .ri-kv .cd { color: #444; font-weight: 700; letter-spacing: .5px; }
        .ri-row-acc { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
        .ri-row-acc .ri-kv { word-break: normal; }
        .ri-expire { font-weight: 400; flex-shrink: 0; white-space: nowrap; color: #98a1b3; }
        .ri-expire b { font-weight: 600; }
        .ri-expire.ri-service { white-space: normal; text-align: right; }
        .ri-expire.ri-time--ok b { color: #2a7a4a; }
        .ri-expire.ri-time--urgent b { color: #e5484d; }
        .ri-expire.ri-time--expired b { color: #aab2c0; }
        .ri-right { margin-left: auto; text-align: right; flex-shrink: 0; }
        .ri-time { font-size: 12px; font-weight: 600; white-space: nowrap; }
        .ri-time--ok { color: #2a7a4a; }
        .ri-time--urgent { color: #e5484d; }
        .ri-time--expired { color: #aab2c0; }
        /* 过期：只灰内容（信息行/续租链），按钮保持亮色可点 */
        .rental-item.is-expired .ri-top,
        .rental-item.is-expired .ri-renew-row { opacity: .58; }
        .ri-current-tag, .ri-expired-tag { position: absolute; top: -9px; left: 12px; color: #fff; font-size: 10px; font-weight: 600; border-radius: 8px; padding: 1px 8px; line-height: 16px; }
        .ri-current-tag { background: #667eea; }
        .ri-expired-tag { background: #b0b4c0; }
        /* 删除记录（右上角垃圾桶）：经典线性 SVG 图标 + 大点击区（2026-09-02 修偏移） */
        .ri-del { position: absolute; top: 4px; right: 6px; width: 30px; height: 30px; padding: 0; border: none; background: transparent;
            color: #c3c9d1; cursor: pointer; border-radius: 8px; display: flex; align-items: center; justify-content: center; z-index: 2; }
        .ri-del svg { width: 16px; height: 16px; display: block; }
        .ri-del:hover { background: #fdecea; color: #e5484d; }
        /* 续租链横排：卡密=黑底白字 / 支付宝=蓝底白字 / 微信=绿底白字（品牌特征色） */
        .ri-renew-row { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 9px; border-top: 1px dashed #eef0f5; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
        .ri-renew-row::-webkit-scrollbar { display: none; }
        .rr-label { font-size: 11px; color: #98a1b3; flex-shrink: 0; }
        .rr-chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; background: #2b2f36; border-radius: 12px; padding: 2px 9px; font-size: 11px; color: #fff; }
        .rr-chip b { color: #fff; font-weight: 700; }
        .rr-chip .hh { color: #ffffff; font-weight: 600; opacity: .92; }
        .rr-chip.rr-alipay { background: #1677ff; }
        .rr-chip.rr-alipay .hh { color: #ffffff; }
        .rr-chip.rr-wechat { background: #07c160; }
        .rr-chip.rr-wechat .hh { color: #ffffff; }
        /* 右下角按钮：续租=绿（同兑换页）、查看=黑底白字、再次兑换=蓝紫；倒计时在续租按钮左侧 */
        .ri-btns { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 11px; }
        .btn-ri { border-radius: 9px; padding: 7px 18px; font-size: 13px; font-weight: 700; cursor: pointer; border: none; text-align: center; transition: .15s; color: #fff; }
        .btn-ri:active { transform: scale(.97); }
        .btn-ri-renew { background: linear-gradient(135deg, #5fc88a, #27ae60); box-shadow: 0 3px 10px rgba(39,174,96,0.3); }
        .btn-ri-view { background: #2b2f36; box-shadow: 0 3px 10px rgba(43,47,54,0.25); }
        .btn-ri-again { background: linear-gradient(135deg, #667eea, #764ba2); box-shadow: 0 3px 10px rgba(102,126,234,0.35); }
        .btn-ri-again.btn-ri-busy {
            flex: 1;
            background: #c5cad6;
            box-shadow: none;
            color: #fff;
            cursor: not-allowed;
        }
        .btn-ri-again-refresh {
            flex: 0 0 auto;
            min-width: 88px;
            background: #fff;
            color: #667eea;
            border: 1.5px solid #667eea;
            box-shadow: none;
        }
        .btn-ri:disabled { opacity: .6; cursor: not-allowed; }
        /* 再次兑换弹窗 */
        .rer-status { display: flex; align-items: center; gap: 8px; background: #e8f8f0; border: 1.5px solid #b5e7cb; border-radius: 10px; padding: 11px 13px; margin-bottom: 13px; }
        .rer-status .ic { width: 26px; height: 26px; border-radius: 50%; background: #27ae60; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
        .rer-status .t1 { font-size: 14px; font-weight: 700; color: #1e8e4a; }
        .rer-status .t2 { font-size: 12px; color: #4a9b6d; margin-top: 1px; }
        .rer-status.is-busy { background: #fff4f0; border-color: #f5c2b3; }
        .rer-status.is-busy .ic { background: #e74c3c; }
        .rer-status.is-busy .t1 { color: #c0392b; }
        .rer-status.is-busy .t2 { color: #d47868; }
        .rer-status.is-loading .t1 { color: #667eea; }
        .rer-status.is-loading .t2 { color: #8b95b0; }
        .rer-status.is-loading { background: #f3f5fc; border-color: #d5dbf0; }
        .rer-status.is-loading .ic { background: #667eea; }
        .rer-acc { font-size: 12px; color: #98a1b3; margin-bottom: 14px; line-height: 1.7; }
        .rer-acc b { color: #4669e0; }
        .rentals-foot { font-size: 11px; color: #b0b4c0; text-align: center; margin-top: 11px; line-height: 1.6; }
        .rentals-empty { text-align: center; padding: 14px 0 6px; color: #b0b4c0; font-size: 13px; }
        .rentals-empty .e-ic { font-size: 26px; margin-bottom: 6px; }

        /* ===== 验证码倒计时进度条 ===== */
        .vc-progress-wrap { margin: 14px auto 4px; max-width: 220px; }
        .vc-progress-track {
            height: 6px; border-radius: 999px; background: #eef0f5; overflow: hidden;
        }
        .vc-progress-bar {
            height: 100%; width: 100%; border-radius: 999px;
            background: linear-gradient(90deg, #667eea, #27ae60);
            transition: width .25s linear, background .3s;
        }
        .vc-progress-bar.is-urgent {
            background: linear-gradient(90deg, #f39c12, #e74c3c);
        }
        .vc-progress-meta {
            margin-top: 8px; font-size: 12px; color: #98a1b3; font-weight: 500;
        }

        /* ===== 常见问题入口 + 弹窗 ===== */
        .redeem-label-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 6px;
        }
        .redeem-label-row label { margin-bottom: 0; }
        .faq-entry-btn {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            border: 1.5px solid #d9dff5;
            background: #f4f6ff;
            color: #667eea;
            border-radius: 999px;
            padding: 4px 10px 4px 7px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            font-family: inherit;
            line-height: 1;
            transition: background .15s, border-color .15s, transform .12s;
        }
        .faq-entry-btn svg { width: 14px; height: 14px; }
        .faq-entry-btn:hover {
            background: #667eea;
            border-color: #667eea;
            color: #fff;
        }
        .faq-entry-btn:active { transform: scale(0.96); }

        .faq-modal {
            max-width: 440px;
            max-height: min(82vh, 640px);
            padding: 18px 16px 14px;
            display: flex;
            flex-direction: column;
        }
        .faq-modal-title {
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }
        .faq-modal-title svg { width: 18px; height: 18px; }
        .faq-list { display: flex; flex-direction: column; gap: 8px; }
        .faq-list-modal {
            overflow-y: auto;
            overscroll-behavior: contain;
            -webkit-overflow-scrolling: touch;
            padding-right: 2px;
            margin-right: -2px;
            scrollbar-width: thin;
            scrollbar-color: #c5cad8 transparent;
        }
        .faq-item {
            border: 1.5px solid #e8ecf1;
            border-radius: 14px;
            background: #fff;
            overflow: hidden;
            transition: border-color .18s, box-shadow .18s;
        }
        .faq-item.is-open {
            border-color: #c7d0f5;
            box-shadow: 0 0 0 3px rgba(102,126,234,0.08);
        }
        .faq-q {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 12px 12px 10px;
            border: none;
            background: transparent;
            cursor: pointer;
            text-align: left;
            font-family: inherit;
        }
        .faq-q:active { background: #f8f9fc; }
        .faq-ic {
            flex: 0 0 36px;
            width: 36px; height: 36px;
            border-radius: 11px;
            background: var(--faq-bg, #eef1ff);
            color: var(--faq-fg, #667eea);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .faq-ic svg { width: 18px; height: 18px; }
        .faq-qt {
            flex: 1;
            min-width: 0;
            font-size: 14px;
            font-weight: 600;
            color: #2a2f3a;
            line-height: 1.35;
        }
        .faq-arrow {
            flex: 0 0 18px;
            width: 18px; height: 18px;
            position: relative;
            opacity: .45;
            transition: transform .22s ease, opacity .18s;
        }
        .faq-arrow::before {
            content: '';
            position: absolute;
            left: 4px; top: 6px;
            width: 8px; height: 8px;
            border-right: 2px solid #667eea;
            border-bottom: 2px solid #667eea;
            transform: rotate(45deg);
            box-sizing: border-box;
        }
        .faq-item.is-open .faq-arrow {
            opacity: .9;
            transform: rotate(180deg);
        }
        .faq-a {
            display: none;
            padding: 0 14px 13px 56px;
            color: #6b7280;
            font-size: 13px;
            line-height: 1.7;
        }
        .faq-item.is-open .faq-a { display: block; }
        .faq-a p { margin: 0; }
        .faq-a code {
            display: inline-block;
            padding: 1px 6px;
            border-radius: 6px;
            background: #f0f2f8;
            color: #5660a8;
            font-size: 12px;
            font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        }
        .faq-a strong { color: #374151; font-weight: 600; }

        @media (max-width: 420px) {
            .faq-a { padding-left: 14px; }
            .faq-entry-btn span { display: none; }
            .faq-entry-btn { padding: 6px; border-radius: 50%; }
        }
    