/* ==========================================================================
   微影 AI · V2 主题层
   登录体系改版 + 视觉升级：玻璃拟态 / 光晕 / 更紧凑的导航与工作台
   加载顺序在 app.css 之后，只做增强与覆盖
   ========================================================================== */

:root {
    --v2-radius: 18px;
    --v2-border: rgba(255, 255, 255, .08);
    --v2-glass: rgba(18, 18, 28, .62);
    --v2-glass-2: rgba(255, 255, 255, .045);
    --v2-grad: linear-gradient(120deg, #7c6cff 0%, #4f8bff 46%, #25e6d0 100%);
    --v2-grad-soft: linear-gradient(120deg, rgba(124, 108, 255, .18), rgba(37, 230, 208, .1));
}

html { scroll-padding-top: 92px; }

.skip-link {
    position: fixed;
    top: -60px;
    left: 16px;
    z-index: 999;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

body { letter-spacing: .002em; }

/* ---------- 顶部导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid var(--v2-border);
    background: rgba(8, 8, 14, .72);
    backdrop-filter: blur(18px) saturate(140%);
}
.header-inner { height: 66px; }
.brand-mark svg { border-radius: 10px; }
.brand-text strong { font-size: 15px; letter-spacing: .01em; }
.brand-text em { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

.main-nav { gap: 2px; }
.main-nav .nav-link {
    position: relative;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13.5px;
    color: var(--wm-text-2);
}
.main-nav .nav-link:hover { color: var(--wm-text); background: rgba(255, 255, 255, .05); }
.main-nav .nav-link.is-active {
    color: #fff;
    background: rgba(124, 108, 255, .16);
    box-shadow: inset 0 0 0 1px rgba(124, 108, 255, .28);
}
.main-nav .nav-link.is-active::after { display: none; }

/* 大字体模式 */
.font-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 11px;
    border-radius: 10px;
    border: 1px solid var(--v2-border);
    background: rgba(255, 255, 255, .04);
    color: var(--wm-text-2);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.font-toggle em { font-style: normal; font-size: 12.5px; font-weight: 600; }
.font-toggle .ft-a { display: inline-flex; align-items: baseline; }
.font-toggle sup { font-size: 9px; margin-left: 1px; position: relative; top: -.55em; }
@media (max-width: 1200px) {
    .font-toggle em { display: none; }
    .font-toggle { padding: 0 9px; }
}
.font-toggle:hover { color: #fff; border-color: rgba(124, 108, 255, .4); background: rgba(124, 108, 255, .12); }
.font-toggle[aria-pressed="true"] {
    color: #fff;
    border-color: rgba(124, 108, 255, .55);
    background: rgba(124, 108, 255, .22);
    box-shadow: 0 0 0 1px rgba(124, 108, 255, .25) inset;
}
.auth-font { position: fixed; top: 18px; right: 18px; z-index: 30; }
html[data-font="large"] body {
    zoom: 1.12;
    /* zoom 会把 100% 宽度一起放大，先缩回去，避免横向溢出 */
    width: calc(100% / 1.12);
}
@media (max-width: 900px) {
    html[data-font="large"] body {
        zoom: 1.08;
        width: calc(100% / 1.08);
    }
}

.header-side { gap: 10px; }
.pill-coupon {
    border: 1px solid rgba(251, 191, 36, .35);
    background: rgba(251, 191, 36, .1);
    color: #fbbf24;
    font-weight: 600;
}
.pill-coupon b { color: #fff; }

.pill-balance {
    border: 1px solid rgba(37, 230, 208, .35);
    background: rgba(37, 230, 208, .1);
    color: #25e6d0;
    font-weight: 600;
}
.pill-balance b { color: #fff; }

/* ---------- 账号余额 ---------- */
.account-balance {
    display: grid;
    gap: 2px;
    margin: 14px 0 8px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(37, 230, 208, .22);
    background: linear-gradient(135deg, rgba(37, 230, 208, .1), rgba(124, 108, 255, .08));
}
.account-balance span { font-size: 12px; color: var(--wm-text-3); }
.account-balance b { font-size: 26px; letter-spacing: -.02em; color: #fff; }
.account-balance em { font-style: normal; font-size: 12px; color: var(--wm-text-3); }
.account-balance-inline { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.account-balance-inline b { font-size: 24px; }

.text-err { color: #f87171; }
.text-ok { color: #25e6d0; }

/* ---------- 后台额度调整 ---------- */
.balance-table td { vertical-align: middle; }
.balance-table .balance { font-variant-numeric: tabular-nums; }
.inline-amount { display: flex; align-items: center; gap: 6px; }
.inline-amount input {
    width: 96px;
    height: 30px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid var(--v2-border);
    background: rgba(255, 255, 255, .04);
    color: var(--wm-text);
    font-size: 12.5px;
}
.inline-amount input:focus { border-color: rgba(124, 108, 255, .55); outline: none; }
.btn-xs { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.btn-plus {
    border: 1px solid rgba(251, 191, 36, .45);
    background: rgba(251, 191, 36, .14);
    color: #fbbf24;
    font-weight: 700;
}
.btn-plus:hover { border-color: rgba(251, 191, 36, .7); background: rgba(251, 191, 36, .22); color: #fde68a; }

.toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    z-index: 9999;
    max-width: min(92vw, 520px);
    padding: 11px 18px;
    border-radius: 12px;
    background: rgba(18, 18, 28, .97);
    border: 1px solid rgba(37, 230, 208, .4);
    color: #fff;
    font-size: 13.5px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .5);
    opacity: 0;
    transform: translate(-50%, 14px);
    transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast.is-err { border-color: rgba(248, 113, 113, .55); }

/* 用户菜单 */
.user-menu { position: relative; }
.user-menu > summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
    border: 1px solid var(--v2-border);
    background: var(--v2-glass-2);
    cursor: pointer;
    list-style: none;
    transition: border-color var(--t), background var(--t);
}
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu > summary:hover { border-color: rgba(124, 108, 255, .45); background: rgba(124, 108, 255, .1); }
.avatar {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--v2-grad);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: 0 6px 16px -8px rgba(124, 108, 255, .9);
}
.avatar-lg { width: 62px; height: 62px; font-size: 24px; }
.user-name { font-size: 13px; color: var(--wm-text); max-width: 108px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.key-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wm-text-3); box-shadow: 0 0 0 3px rgba(255, 255, 255, .06); }
.key-dot.key-own { background: var(--ok); }
.key-dot.key-platform { background: var(--warn); }
.key-dot.key-none { background: var(--err); }

.user-pop {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 224px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--v2-border);
    background: rgba(14, 14, 22, .96);
    box-shadow: 0 30px 70px -30px #000;
    backdrop-filter: blur(18px);
    display: grid;
    gap: 2px;
    z-index: 90;
}
.user-pop-head { padding: 10px 10px 12px; border-bottom: 1px solid var(--v2-border); margin-bottom: 6px; }
.user-pop-head strong { display: block; font-size: 14px; }
.user-pop-head em { display: block; margin-top: 2px; font-style: normal; font-size: 11.5px; color: var(--wm-text-3); }
.user-pop a {
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--wm-text-2);
}
.user-pop a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.user-pop .user-pop-out { color: #fca5a5; }
.user-pop .user-pop-out:hover { background: rgba(248, 113, 113, .12); }

/* ---------- 通用小件 ---------- */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: var(--sp-5);
}
.stat-cell {
    padding: 18px 20px;
    border-radius: var(--v2-radius);
    border: 1px solid var(--v2-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
    position: relative;
    overflow: hidden;
}
.stat-cell::after {
    content: "";
    position: absolute;
    inset: auto -30% -70% auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 108, 255, .28), transparent 68%);
    pointer-events: none;
}
.stat-cell strong { display: block; font-size: 26px; font-weight: 750; letter-spacing: -.02em; }
.stat-cell span { font-size: 12.5px; color: var(--wm-text-3); }
.stat-cell.is-hot { border-color: rgba(251, 191, 36, .35); }
.stat-cell.is-hot strong { color: #fbbf24; }

.chip-official { border-color: rgba(124, 108, 255, .38); background: rgba(124, 108, 255, .16); color: #c7c0ff; }
.chip-open { border-color: rgba(37, 230, 208, .35); background: rgba(37, 230, 208, .12); color: #7ff5e6; }
.chip-private { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: var(--wm-text-2); }
.chip-coupon { border-color: rgba(251, 191, 36, .38); background: rgba(251, 191, 36, .14); color: #fcd34d; }

.link-btn {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand-2);
    font-size: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.filter-label { font-size: 12.5px; color: var(--wm-text-3); }

/* 勾选项与说明文字对齐（后台开关） */
label.label-inline {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12.5px;
    color: var(--wm-text-2);
    line-height: 1.7;
    cursor: pointer;
}
label.label-inline input { margin-top: 2px; flex: none; accent-color: var(--brand); }

.empty-box {
    padding: 28px 22px;
    border-radius: var(--r-lg);
    border: 1px dashed rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .02);
    text-align: center;
}
.empty-box strong { display: block; font-size: 15px; margin-bottom: 6px; }
.empty-box p { color: var(--wm-text-2); font-size: 13px; max-width: 520px; margin: 0 auto; }

/* ---------- Hero V2 ---------- */
.hero-v2 { text-align: left; padding: calc(var(--sp-8) - 8px) 0 var(--sp-6); }
.hero-v2 .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hero-v2 .hero-title { margin-top: 20px; font-size: clamp(28px, 4.2vw, 50px); }
.hero-v2 .hero-sub { margin-top: 18px; max-width: 560px; font-size: 15px; }
.hero-v2 .hero-actions { justify-content: flex-start; margin-top: 24px; }
.hero-v2 .hero-search { margin-top: 22px; width: min(560px, 100%); }
.hero-v2 .hero-stats { grid-column: 1 / -1; margin-top: 34px; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-v2 .hero-tag { align-self: flex-start; }

.hero-key-tip {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 18px;
    padding: 11px 16px;
    border-radius: 14px;
    border: 1px solid rgba(248, 113, 113, .35);
    background: rgba(248, 113, 113, .08);
    font-size: 12.5px;
    transition: transform var(--t), border-color var(--t);
}
.hero-key-tip strong { font-size: 13px; color: #fca5a5; display: flex; align-items: center; gap: 6px; }
.hero-key-tip span { color: var(--wm-text-2); }
.hero-key-tip:hover { transform: translateY(-1px); border-color: rgba(248, 113, 113, .6); }
.hero-key-tip.is-warn { border-color: rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .08); }
.hero-key-tip.is-warn strong { color: #fcd34d; }
.hero-key-tip.is-ok { border-color: rgba(52, 211, 153, .32); background: rgba(52, 211, 153, .08); }
.hero-key-tip.is-ok strong { color: #6ee7b7; }

.hero-panel {
    position: relative;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: linear-gradient(160deg, rgba(30, 28, 52, .85), rgba(12, 12, 20, .9));
    box-shadow: 0 40px 90px -50px rgba(124, 108, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform .5s var(--ease);
}
.hero-panel:hover { transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-4px); }
.hero-panel-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--wm-text-2);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--v2-border);
}
.hero-panel-head em { margin-left: auto; font-style: normal; letter-spacing: .18em; font-size: 10px; color: var(--wm-text-3); }
.hero-panel-body { display: grid; gap: 10px; padding: 16px 0 6px; }
.hp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.hp-row span { color: var(--wm-text-3); }
.hp-row b { font-weight: 600; color: var(--wm-text); text-align: right; }
.hp-bar { margin-top: 8px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.hp-bar i { display: block; height: 100%; width: 42%; border-radius: inherit; background: var(--v2-grad); animation: hpPulse 2.4s var(--ease) infinite; }
@keyframes hpPulse { 0%, 100% { width: 34%; } 50% { width: 62%; } }
.hp-foot { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--wm-text-3); }
.hero-panel-glow {
    position: absolute;
    width: 220px; height: 220px; right: -70px; bottom: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 230, 208, .35), transparent 68%);
    filter: blur(20px);
    pointer-events: none;
}

/* ---------- 登录页 ---------- */
body.page-auth { background: #05050a; }
.auth-bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.auth-orb { position: absolute; border-radius: 50%; filter: blur(110px); }
.auth-orb-1 { width: 620px; height: 620px; top: -220px; left: -160px; background: radial-gradient(circle, rgba(124, 108, 255, .55), transparent 66%); }
.auth-orb-2 { width: 560px; height: 560px; right: -180px; bottom: -220px; background: radial-gradient(circle, rgba(37, 230, 208, .34), transparent 68%); }
.auth-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 80%);
}
.auth-scan {
    position: absolute; left: 0; right: 0; height: 1px; top: 30%;
    background: linear-gradient(90deg, transparent, rgba(124, 108, 255, .55), transparent);
    animation: authScan 9s linear infinite;
    opacity: .6;
}
@keyframes authScan { 0% { top: 8%; } 100% { top: 92%; } }

.auth-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 56px 28px;
}
.auth-story { min-width: 0; }
.auth-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 42px; }
.auth-brand .brand-text strong { font-size: 16px; }
.auth-brand .brand-text em { font-size: 11px; letter-spacing: .16em; color: var(--wm-text-3); }
.auth-title { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.24; font-weight: 800; letter-spacing: -.02em; }
.grad-text { background: var(--v2-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-sub { margin-top: 18px; max-width: 480px; color: var(--wm-text-2); font-size: 14.5px; line-height: 1.9; }
.auth-points { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.auth-points li {
    display: flex; align-items: baseline; gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--v2-border);
    background: rgba(255, 255, 255, .025);
}
.auth-points b { min-width: 62px; font-size: 12.5px; color: #c7c0ff; }
.auth-points span { font-size: 13px; color: var(--wm-text-2); }
.auth-stats { display: flex; gap: 34px; margin-top: 34px; }
.auth-stats div { display: flex; flex-direction: column; }
.auth-stats strong { font-size: 26px; font-weight: 750; background: var(--v2-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-stats span { font-size: 12px; color: var(--wm-text-3); }

.auth-card-wrap { display: flex; justify-content: flex-end; }
.auth-card {
    width: 100%;
    max-width: 430px;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: linear-gradient(180deg, rgba(24, 23, 40, .92), rgba(12, 12, 20, .96));
    box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .07);
    backdrop-filter: blur(20px);
}
.auth-card-head { margin-bottom: 24px; }
.auth-badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(124, 108, 255, .35);
    background: rgba(124, 108, 255, .12);
    font-size: 11.5px;
    color: #c7c0ff;
    letter-spacing: .04em;
}
.auth-card-head h2 { margin-top: 16px; font-size: 24px; font-weight: 700; }
.auth-card-head p { margin-top: 6px; font-size: 13px; color: var(--wm-text-3); }

.auth-alert {
    display: grid; gap: 4px;
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 12px;
    border: 1px solid rgba(248, 113, 113, .32);
    background: rgba(248, 113, 113, .08);
    font-size: 12.5px;
}
.auth-alert strong { color: #fca5a5; font-size: 12.5px; }
.auth-alert span { color: var(--wm-text-2); }
.auth-alert b { color: #fcd34d; }
.auth-alert-tip { border-color: rgba(251, 191, 36, .32); background: rgba(251, 191, 36, .08); }
.auth-alert-tip strong { color: #fcd34d; }

.auth-form { display: grid; gap: 16px; }
.auth-field { display: grid; gap: 8px; }
.auth-field > span { font-size: 12.5px; color: var(--wm-text-2); }
.auth-input {
    display: flex; align-items: center; gap: 10px;
    padding: 0 14px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .035);
    transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.auth-input:focus-within {
    border-color: rgba(124, 108, 255, .65);
    background: rgba(124, 108, 255, .06);
    box-shadow: 0 0 0 4px rgba(124, 108, 255, .12);
}
.auth-input i { color: var(--wm-text-3); display: grid; place-items: center; }
.auth-input input {
    flex: 1; min-width: 0;
    border: 0; background: none; outline: none;
    font-size: 15px; letter-spacing: .04em;
}
.auth-input input::placeholder { color: var(--wm-text-3); letter-spacing: 0; font-size: 13.5px; }
.auth-code-btn {
    flex: none;
    padding: 8px 12px;
    border-radius: 9px;
    border: 1px solid rgba(124, 108, 255, .4);
    background: rgba(124, 108, 255, .14);
    color: #c7c0ff;
    font-size: 12.5px;
    white-space: nowrap;
    transition: background var(--t), opacity var(--t);
}
.auth-code-btn:hover:not(:disabled) { background: rgba(124, 108, 255, .26); }
.auth-code-btn:disabled { opacity: .55; cursor: not-allowed; }
.auth-submit { height: 52px; border-radius: 14px; font-size: 15px; letter-spacing: .02em; }
.auth-agree { display: flex; gap: 9px; align-items: flex-start; font-size: 11.5px; color: var(--wm-text-3); line-height: 1.7; }
.auth-agree input { margin-top: 2px; accent-color: var(--brand); }
.auth-agree a {
    color: var(--brand-2);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.auth-agree a:hover { color: var(--brand); }
.auth-error {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(248, 113, 113, .35);
    background: rgba(248, 113, 113, .1);
    color: #fca5a5;
    font-size: 12.5px;
}
.auth-error.is-shake { animation: shake .38s var(--ease); }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.auth-foot {
    display: flex; flex-wrap: wrap; gap: 6px 12px;
    margin-top: 22px; padding-top: 18px;
    border-top: 1px solid var(--v2-border);
    font-size: 12px;
    color: var(--wm-text-3);
}
.auth-foot a { color: var(--brand-2); }

/* ---------- 账号设置 ---------- */
.account-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: var(--sp-5);
    align-items: start;
    padding-bottom: var(--sp-7);
}
.account-side { display: grid; gap: var(--sp-4); position: sticky; top: 90px; }
.account-profile { text-align: center; padding: 26px 20px; }
.account-profile .avatar { margin: 0 auto 12px; }
.account-profile h2 { font-size: 17px; }
.account-phone { margin-top: 4px; font-size: 12.5px; color: var(--wm-text-3); letter-spacing: .04em; }
.account-profile .status { margin-top: 12px; }
.account-facts { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--v2-border); display: grid; gap: 9px; text-align: left; }
.account-facts div { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.account-facts dt { color: var(--wm-text-3); }
.account-facts dd { margin: 0; color: var(--wm-text); }
.account-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 0; overflow: hidden; background: var(--v2-border); }
.account-metrics div { padding: 16px; background: var(--bg-2); display: flex; flex-direction: column; gap: 2px; }
.account-metrics strong { font-size: 20px; font-weight: 700; }
.account-metrics span { font-size: 11.5px; color: var(--wm-text-3); }
.account-main { display: grid; gap: var(--sp-4); min-width: 0; }
.account-hint { margin: 12px 0 18px; font-size: 13px; color: var(--wm-text-2); line-height: 1.8; }
.account-hint code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); }
.account-form { display: grid; gap: 16px; }
.key-row { display: flex; gap: 10px; }
.key-row input { flex: 1; min-width: 0; }
.key-row .btn { flex: none; }
.account-note {
    margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--v2-border);
    font-size: 12px; color: var(--wm-text-3); line-height: 1.8;
}
.account-note b { color: var(--wm-text-2); }

/* ---------- 兑换券 ---------- */
.coupon-list { display: grid; gap: 10px; }
.coupon-card {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(251, 191, 36, .22);
    background: linear-gradient(120deg, rgba(251, 191, 36, .1), rgba(255, 255, 255, .02));
    position: relative;
    overflow: hidden;
}
.coupon-card::before {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, #fbbf24, #f97316);
}
.coupon-main { display: grid; gap: 3px; min-width: 0; }
.coupon-code { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: #fbbf24; }
.coupon-main strong { font-size: 14px; }
.coupon-main em { font-style: normal; font-size: 12px; color: var(--wm-text-3); }
.coupon-side { display: grid; gap: 5px; justify-items: end; text-align: right; font-size: 11.5px; color: var(--wm-text-3); flex: none; }
.coupon-side b { color: #fcd34d; font-size: 12px; }
.coupon-list-sm .coupon-card { padding: 13px 15px; }

/* ---------- 模板管理 ---------- */
.use-cell { font-size: 12.5px; color: var(--wm-text-2); white-space: nowrap; }
.use-meter { display: block; width: 74px; height: 4px; margin-top: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.use-meter i { display: block; height: 100%; border-radius: inherit; background: var(--v2-grad); }

.open-switch {
    padding: 14px 15px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .028);
    margin-bottom: 14px;
    transition: border-color var(--t), background var(--t);
}
.open-switch.is-open { border-color: rgba(37, 230, 208, .35); background: rgba(37, 230, 208, .07); }
.open-switch-main { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.open-switch-main input { margin-top: 3px; width: 16px; height: 16px; accent-color: #25e6d0; }
.open-switch-text strong { display: block; font-size: 13.5px; }
.open-switch-text em { display: block; margin-top: 4px; font-style: normal; font-size: 11.5px; color: var(--wm-text-3); line-height: 1.75; }
.open-switch-text b { color: #fcd34d; }
.open-switch-stat { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 11.5px; color: var(--wm-text-3); }
.open-meter { flex: 1; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.open-meter i { display: block; height: 100%; border-radius: inherit; background: var(--v2-grad); }

/* ---------- 面板/按钮微调 ---------- */
.panel {
    border-radius: var(--v2-radius);
    border-color: var(--v2-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
}
.btn-primary { box-shadow: 0 12px 30px -16px rgba(124, 108, 255, .95); }
.btn-primary:hover { box-shadow: 0 16px 38px -16px rgba(124, 108, 255, 1); }
.page-head { padding-top: var(--sp-6); }
.page-title { letter-spacing: -.02em; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .hero-v2 .hero-inner { grid-template-columns: 1fr; }
    .hero-panel { display: none; }
    .hero-v2 .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .auth-shell { grid-template-columns: 1fr; min-height: auto; padding: 40px 22px 56px; }
    .auth-story { display: none; }
    .auth-card-wrap { justify-content: center; }
    .account-layout { grid-template-columns: 1fr; }
    .account-side { position: static; }
}

@media (max-width: 900px) {
    .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .main-nav { display: none; }
    .main-nav.is-open { display: flex; }
}

@media (max-width: 640px) {
    .hero-v2 { padding-top: var(--sp-6); }
    .hero-v2 .hero-title { font-size: clamp(25px, 7vw, 34px); }
    .hero-v2 .hero-actions .btn { flex: 1; justify-content: center; }
    .hero-v2 .hero-search { padding-left: 14px; }
    .auth-card { padding: 24px 20px; border-radius: 20px; }
    .coupon-card { flex-direction: column; align-items: flex-start; }
    .coupon-side { justify-items: start; text-align: left; }
    .stat-strip { gap: 8px; }
    .stat-cell { padding: 14px; }
    .stat-cell strong { font-size: 22px; }
    .key-row { flex-direction: column; }
    .hide-sm { display: none !important; }
}


/* =========================================================
   首页 · 高端版（保持原品牌色）
   ========================================================= */
.hx {
    --hx-line: rgba(255, 255, 255, .075);
    --hx-line-2: rgba(255, 255, 255, .15);
    --hx-ink: #f2f3fa;
    --hx-ink-2: #b7bbd0;
}

/* -------- Hero -------- */
.hx-hero { padding: calc(var(--sp-8) + 10px) 0 var(--sp-6); }
/* 背景是绝对定位的星空 / 极光，内容必须抬到上层 */
.hx-hero-grid, .hx-metrics { position: relative; z-index: 2; }
.hx-copy { position: relative; }
.hx-copy::before {
    content: "";
    position: absolute;
    inset: -40px -60px -24px -50px;
    z-index: -1;
    background: radial-gradient(58% 66% at 28% 46%, rgba(6, 6, 12, .78), transparent 74%);
    pointer-events: none;
}
.hx-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, .78fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
}
.hx-copy { min-width: 0; }
.hx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--wm-text-3);
}
.hx-eyebrow i {
    display: block;
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, rgba(124, 108, 255, .85), rgba(37, 230, 208, .45));
}
.hx-title {
    margin-top: 28px;
    font-size: clamp(34px, 4.5vw, 62px);
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 600;
    color: var(--hx-ink);
}
.hx-title > span { display: block; }
.hx-title-2 { margin-top: 8px; color: var(--hx-ink-2); }
.hx-title em {
    position: relative;
    font-style: normal;
    background: linear-gradient(100deg, #b3a6ff 0%, #7ba7e8 55%, #5ed6e6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hx-title em::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: linear-gradient(90deg, rgba(124, 108, 255, .7), rgba(37, 230, 208, .18));
}
.hx-lead {
    margin-top: 24px;
    max-width: 520px;
    color: #9ea3b8;
    font-size: 14.5px;
    line-height: 1.95;
}
.hx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hx-btn, .hx-btn-ghost { height: 48px; padding: 0 24px; border-radius: 10px; font-size: 13.5px; letter-spacing: .02em; }
.hx-btn-ghost { border-color: var(--hx-line-2); }

.hx-search-row { margin-top: 30px; max-width: 520px; }
.hx-search {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 6px 0 16px;
    border: 1px solid var(--hx-line-2);
    border-radius: 10px;
    background: rgba(255, 255, 255, .022);
    transition: border-color var(--t), background var(--t);
}
.hx-search:focus-within { border-color: rgba(124, 108, 255, .55); background: rgba(255, 255, 255, .04); }
.hx-search-icon { display: grid; place-items: center; color: var(--wm-text-3); }
.hx-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    background: none;
    font-size: 13.5px;
    outline: none;
}
.hx-search input::placeholder { color: var(--wm-text-3); }
.hx-search-btn {
    height: 38px;
    padding: 0 18px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--hx-line);
    color: var(--hx-ink);
    font-size: 12.5px;
    letter-spacing: .06em;
    transition: background var(--t), border-color var(--t);
}
.hx-search-btn:hover { background: rgba(124, 108, 255, .22); border-color: rgba(124, 108, 255, .45); }

.hx-credit {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--hx-line);
    font-size: 12px;
    color: var(--wm-text-3);
}
.hx-credit-label { letter-spacing: .18em; font-size: 10px; text-transform: uppercase; }
.hx-credit b { font-size: 19px; font-weight: 600; color: var(--hx-ink); letter-spacing: -.02em; }
.hx-credit-sub { color: var(--wm-text-2); }
.hx-credit-link {
    margin-left: auto;
    font-size: 12px;
    color: var(--wm-text-2);
    border-bottom: 1px solid var(--hx-line-2);
    padding-bottom: 1px;
}
.hx-credit-link:hover { color: var(--brand-2); border-color: rgba(37, 230, 208, .5); }

/* 作品卡 */
.hx-slate {
    position: relative;
    padding: 14px 14px 16px;
    border: 1px solid var(--hx-line);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(22, 21, 34, .72), rgba(8, 8, 14, .82));
    box-shadow: 0 70px 140px -70px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.hx-slate-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    font-size: 9.5px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--wm-text-3);
}
.hx-slate-top em { font-style: normal; color: var(--wm-text-2); }
.hx-frames {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 3px;
    background:
        radial-gradient(120% 90% at 20% 10%, rgba(124, 108, 255, .35), transparent 60%),
        radial-gradient(100% 80% at 85% 90%, rgba(37, 230, 208, .22), transparent 62%),
        #0b0b13;
}
.hx-frame {
    position: absolute;
    inset: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 3px;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity .7s var(--ease), transform 1.1s var(--ease);
    pointer-events: none;
}
.hx-frame.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hx-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.04); }
.hx-frame-grain {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: .35;
    mix-blend-mode: overlay;
    pointer-events: none;
}
.hx-frame-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(255, 255, 255, .5);
    opacity: .55;
}
.hx-frame-corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.hx-frame-corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.hx-frame-corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.hx-frame-corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.hx-frame figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 4px;
    padding: 42px 16px 14px;
    background: linear-gradient(180deg, transparent, rgba(6, 6, 11, .88));
}
.hx-frame figcaption span {
    font-size: 9.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}
.hx-frame figcaption strong { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: #fff; }

.hx-spec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 14px 0 0;
    border-top: 1px solid var(--hx-line);
}
.hx-spec > div {
    padding: 11px 0 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
.hx-spec > div:nth-child(odd) { padding-right: 12px; }
.hx-spec > div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--hx-line); }
.hx-spec dt { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--wm-text-3); }
.hx-spec dd { margin: 0; font-size: 11.5px; color: var(--hx-ink-2); }
.hx-spec dd.is-live { display: inline-flex; align-items: center; gap: 6px; color: #6ee7b7; }
.hx-spec dd.is-live i { width: 5px; height: 5px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px rgba(52, 211, 153, .8); }
.hx-progress {
    margin-top: 14px;
    height: 2px;
    background: rgba(255, 255, 255, .07);
    overflow: hidden;
}
.hx-progress i {
    display: block;
    height: 100%;
    width: 42%;
    background: linear-gradient(90deg, rgba(124, 108, 255, .9), rgba(37, 230, 208, .8));
    animation: hxProgress 3.2s var(--ease) infinite;
}
@keyframes hxProgress { 0%, 100% { width: 36%; opacity: .7; } 50% { width: 68%; opacity: 1; } }

.hx-dots { display: flex; gap: 6px; margin-top: 12px; }
.hx-dot {
    width: 22px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, .22);
    cursor: pointer;
    transition: background .3s var(--ease);
}
.hx-dot:hover { background: rgba(255, 255, 255, .32); }
.hx-dot.is-on { background: linear-gradient(90deg, rgba(124, 108, 255, .9), rgba(37, 230, 208, .85)); }

/* 数据条 */
.hx-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(36px, 5vw, 64px);
    border-top: 1px solid var(--hx-line);
}
.hx-metric { padding: 20px 22px 0 0; }
.hx-metric + .hx-metric { padding-left: 24px; border-left: 1px solid var(--hx-line); }
.hx-metric strong {
    display: block;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 300;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--hx-ink);
    font-variant-numeric: tabular-nums;
}
.hx-metric span {
    display: block;
    margin-top: 10px;
    font-size: 9.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--wm-text-3);
}

/* -------- 章节 -------- */
.hx-section { padding: var(--sp-7) 0; }
.hx-head {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 22px;
    align-items: start;
    padding-top: 24px;
    border-top: 1px solid var(--hx-line);
}
.hx-no {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .3);
    letter-spacing: .02em;
}
.hx-kicker { font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--wm-text-3); }
.hx-h2 { margin-top: 10px; font-size: clamp(23px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; color: var(--hx-ink); }
.hx-sub { margin-top: 8px; font-size: 12.5px; color: var(--wm-text-2); }
.hx-link {
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--wm-text-2);
    padding-bottom: 2px;
    border-bottom: 1px solid var(--hx-line-2);
    white-space: nowrap;
    transition: color var(--t), border-color var(--t);
}
.hx-link span { font-size: 11px; margin-left: 4px; }
.hx-link:hover { color: var(--hx-ink); border-color: rgba(37, 230, 208, .55); }

/* 行业选集 */
.hx-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
    margin-top: 26px;
    border-top: 1px solid var(--hx-line);
    border-left: 1px solid var(--hx-line);
}
.hx-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 16px;
    border-right: 1px solid var(--hx-line);
    border-bottom: 1px solid var(--hx-line);
    font-size: 12.5px;
    color: var(--wm-text-2);
    transition: background var(--t), color var(--t);
}
.hx-cat i {
    font-style: normal;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 10px;
    color: var(--wm-text-3);
    min-width: 24px;
}
.hx-cat b { font-weight: 500; color: #e8e9f2; }
.hx-cat em { margin-left: auto; font-style: normal; font-size: 10.5px; color: var(--wm-text-3); }
.hx-cat:hover { background: rgba(124, 108, 255, .08); }
.hx-cat:hover b { color: #fff; }
.hx-cat.is-on { background: rgba(124, 108, 255, .1); }
.hx-cat.is-on i, .hx-cat.is-on b { color: #cfc9ff; }

/* 模板网格留白 */
.hx-grid { margin-top: 26px; }

/* 流程 */
.hx-steps { margin-top: 24px; border-top: 1px solid var(--hx-line); }
.hx-step {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 26px 0;
    border-bottom: 1px solid var(--hx-line);
}
.hx-step-no {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .26);
}
.hx-step h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--hx-ink); }
.hx-step p { margin-top: 6px; font-size: 12.5px; color: var(--wm-text-2); max-width: 680px; }
.hx-step-en { font-size: 9.5px; letter-spacing: .3em; color: var(--wm-text-3); }

.hx-recent { margin-top: 26px; }

/* 品牌收束 */
.hx-sign {
    margin-top: var(--sp-7);
    padding: 54px 0;
    border-top: 1px solid var(--hx-line);
    border-bottom: 1px solid var(--hx-line);
    display: grid;
    gap: 18px;
}
.hx-sign-title {
    font-size: clamp(24px, 3.2vw, 42px);
    line-height: 1.42;
    font-weight: 500;
    letter-spacing: -.03em;
    color: var(--hx-ink);
}
.hx-sign-title em { font-style: normal; color: #8f95ad; }
.hx-sign-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 9.5px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--wm-text-3);
}
.hx-sign-foot a {
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--hx-ink-2);
    border-bottom: 1px solid var(--hx-line-2);
    padding-bottom: 3px;
}
.hx-sign-foot a span { margin-left: 4px; }
.hx-sign-foot a:hover { color: #fff; border-color: rgba(37, 230, 208, .5); }

@media (max-width: 1100px) {
    .hx-hero-grid { grid-template-columns: 1fr; }
    .hx-slate { max-width: 400px; justify-self: start; }
    .hx-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-metric:nth-child(3) { padding-left: 0; border-left: 0; }
    .hx-metric:nth-child(n+3) { margin-top: 18px; border-top: 1px solid var(--hx-line); padding-top: 18px; }
    .hx-head { grid-template-columns: 48px 1fr; }
    .hx-link { grid-column: 2; justify-self: start; }
}

@media (max-width: 720px) {
    .hx-hero { padding-top: var(--sp-7); }
    .hx-title { font-size: clamp(30px, 8.6vw, 40px); }
    .hx-slate { display: none; }
    .hx-metrics { grid-template-columns: 1fr 1fr; }
    .hx-head { grid-template-columns: 1fr; gap: 12px; }
    .hx-no { font-size: 22px; }
    .hx-link { grid-column: 1; }
    .hx-step { grid-template-columns: 52px 1fr; gap: 16px; }
    .hx-step-en { display: none; }
    .hx-step-no { font-size: 26px; }
    .hx-credit { gap: 8px; }
    .hx-credit-link { margin-left: 0; }
}

/* =========================================================
   余额充值 · 支付宝当面付
   ========================================================= */
.recharge-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }

.recharge-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(5, 5, 12, .72);
    backdrop-filter: blur(6px);
}
.recharge-modal[hidden] { display: none; }
.recharge-card {
    position: relative;
    width: min(420px, 100%);
    padding: 28px 26px 24px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: #12121e;
    box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9);
}
.recharge-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--wm-text-2);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.recharge-close:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.recharge-title { font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: #f2f3fa; }
.recharge-sub { margin-top: 6px; font-size: 12.5px; color: var(--wm-text-2); }

.recharge-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.recharge-amounts button {
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .03);
    color: #e8e9f2;
    font-size: 13px;
    cursor: pointer;
    transition: border-color var(--t), background var(--t);
}
.recharge-amounts button:hover { border-color: rgba(124, 108, 255, .5); }
.recharge-amounts button.is-on { border-color: rgba(124, 108, 255, .7); background: rgba(124, 108, 255, .16); }

.recharge-custom { display: flex; gap: 8px; margin-top: 12px; }
.recharge-custom input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .03);
    color: #f2f3fa;
    font-size: 13px;
    outline: none;
}
.recharge-custom input:focus { border-color: rgba(124, 108, 255, .55); }

.recharge-qr { margin-top: 18px; text-align: center; }
.recharge-qr-frame {
    display: inline-grid;
    place-items: center;
    padding: 12px;
    border-radius: 10px;
    background: #fff;
}
.recharge-qr-frame img { display: block; }
.recharge-qr-amount { margin-top: 12px; font-size: 14px; color: #f2f3fa; }
.recharge-qr-amount b { color: #5ee6e6; }
.recharge-wait { margin-top: 6px; font-size: 12.5px; color: var(--wm-text-2); }
.recharge-wait.is-ok { color: #6ee7b7; }
