:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f6f6f7;--surface:#fff;--text:#333;--muted:#909090;--hint:#b1b2b7;--line:#eaebee;--card:#f6f6f7;--primary:#303943;--on-primary:#fff;--danger:#de0000;--ok:#1ac891;--header-start:#303943;--header-end:#3b5778;--shadow:0 10px 30px #3039431f;font-family:Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#111113;--surface:#1c1c1e;--text:#e6e6e6;--muted:#a8a8a8;--hint:#9a9ba0;--line:#3a3a3c;--card:#2c2c2e;--primary:#5b8cff;--on-primary:#fff;--danger:#ff6b6b;--ok:#2dd4a0;--header-start:#3d4854;--header-end:#4a6a8a;--shadow:0 10px 30px #00000059}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg);color:var(--text);overflow-x:clip}button,input{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}:focus-visible{outline:2px solid var(--primary);outline-offset:2px}img,svg,input,button{max-width:100%}.app{width:min(1080px,100%);margin:0 auto;padding:16px 16px 32px}.topbar,.top-actions,.card-actions,.action-bar,.row-head,.nets{align-items:center;gap:8px;display:flex}.topbar{justify-content:space-between}.brand,.top-actions button,.icon-button,.text-button{background:0 0;border:0;min-height:40px}.brand{padding:0;font-size:18px;font-weight:700}.top-actions button,.btn.ghost{background:var(--card);border-radius:999px;padding:8px 14px}.safety,.lead,.note,.baseline,.badge{color:var(--muted)}.safety{background:var(--card);border-radius:12px;margin:8px 0 16px;padding:10px 12px}.lead{margin-top:0}.cards,.stage{gap:16px;display:grid}.card,.coach,.phone{background:var(--surface);box-shadow:var(--shadow);border-radius:20px}.card,.coach{padding:16px}.card header,.coin-line,.detail-balance,.asset-row,.tx-row,.fee-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.card h2,.coach h2,.toolbar h2{margin:0;font-size:18px}.card header span,.eyebrow{color:var(--hint);font-size:13px}.badge{margin:0}.btn{background:var(--card);border:0;border-radius:24px;min-height:48px;padding:0 18px}.btn.primary{background:var(--primary);color:var(--on-primary);font-weight:700}.btn.wide,.field input{width:100%}.card-actions,.action-bar{flex-wrap:wrap;margin-top:12px}.action-bar{padding:0 16px 16px}.action-bar .btn{flex:1;min-width:0}@media (width<=959px){.action-bar .btn{padding:0 8px}}.phone{justify-self:center;width:min(100%,420px);height:min(760px,100dvh - 250px);min-height:520px;position:relative;overflow:hidden}.phone-scroll{overscroll-behavior:contain;height:100%;overflow:hidden auto}.wallet,.setup,.send,.receive,.detail,.status{min-width:0;max-width:100%}.ring{border:2px solid var(--primary);pointer-events:none;z-index:5;box-shadow:0 0 0 6px color-mix(in srgb, var(--primary) 18%, transparent);border-radius:14px;position:absolute}.wallet{background:var(--surface);flex-direction:column;min-height:100%;display:flex}.hero{background:linear-gradient(90deg, var(--header-start), var(--header-end));color:#fff;text-align:center;padding:28px 16px 56px}.hero-total{font-size:32px;font-weight:700}.hero-total span,.detail-balance span{margin-left:6px;font-size:14px}.address-chip,.address-panel,.copy-box,.kv,.field,.fee-row{background:var(--card);border-radius:12px}.address-chip{margin-top:8px;padding:4px 10px;font-size:12px;display:inline-block}.sheet-card{background:var(--surface);border-radius:20px 20px 0 0;min-height:360px;margin-top:-28px;padding:16px}.row-head h3,.muted-title{margin:0;font-size:16px}.nets{color:var(--hint);margin-left:auto;font-size:12px}.dot{background:var(--ok);border-radius:50%;width:7px;height:7px;display:inline-block}.asset-list,.tx-list{margin:12px 0 0;padding:0;list-style:none}.asset-row,.tx-row,.copy-box button,.sheet button{text-align:left;background:0 0;border:0;width:100%;min-height:56px}.fee-row{text-align:left;background:0 0;border:0;width:calc(100% - 32px);max-width:calc(100% - 32px);min-height:56px}.asset-row svg,.coin-line svg,.detail-balance svg{flex:none;width:36px;height:36px}.asset-row span,.tx-row{flex-direction:column;display:flex}.asset-row{flex-direction:row;align-items:center}.asset-row small,.asset-balance small,.fee-row small,time{color:var(--muted);font-size:12px}.asset-balance,.tx-row{text-align:right;align-items:flex-end;margin-left:auto}.tx-row{flex-direction:row;align-items:center}.in{color:var(--ok)}.out{color:var(--danger)}.toolbar{grid-template-columns:48px 1fr 48px;align-items:center;min-height:56px;padding:0 8px;display:grid}.toolbar h2{text-align:center}.icon-button{width:48px;height:48px;font-size:28px}.icon-spacer{width:48px}.detail,.receive,.send,.status{padding-bottom:24px}.detail-balance,.coin-line{padding:12px 20px}.detail-balance strong,.coin-line strong{font-size:28px}.address-panel,.copy-box,.kv,.field,.fee-row{margin:8px 16px;padding:12px}.address-chip,.address-panel,.selectable{overflow-wrap:anywhere}.selectable{-webkit-user-select:text;user-select:text}.copy-box{align-items:center;gap:8px;display:flex}.copy-box button{width:auto;min-height:40px;color:var(--primary);font-weight:700}.kv{grid-template-columns:auto 1fr;align-items:center;gap:8px 12px;display:grid}.kv span{color:var(--hint)}.kv strong,.sheet p,.fee-row strong,.fee-row small{overflow-wrap:anywhere;min-width:0}.qr{width:200px;height:200px;margin:16px auto;display:block}.qr-fallback{white-space:pre-wrap;overflow-wrap:anywhere;margin:16px}.note,.form-error,.empty,.fiat-line{margin:8px 16px}.form-error{color:var(--danger)}.field{grid-template-columns:1fr auto;align-items:center;gap:8px;display:grid}.field input{background:0 0;border:0;grid-column:1/-1;min-width:0;padding:8px 0;font-size:24px}.available{color:var(--hint);font-size:13px}.text-button{min-height:48px}.fee-row{grid-template-columns:1fr auto;display:grid}.fee-row small{grid-column:1/-1}.sheet{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);z-index:4;border-radius:16px;margin:12px;padding:12px;position:sticky;bottom:0}.sheet p{justify-content:space-between;gap:12px;margin:8px 0;display:flex}.status{text-align:center}.status-mark{background:var(--ok);color:#fff;border-radius:50%;place-items:center;width:64px;height:64px;margin:24px auto 8px;font-size:32px;display:grid}.detail-list{text-align:left}.word-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 16px;display:grid}.word-grid label{color:var(--hint);flex-direction:column;gap:4px;font-size:12px;display:flex}.word-grid input,.field textarea{background:var(--card);border:0;border-radius:8px;width:100%;min-width:0;padding:8px}.field textarea{grid-column:1/-1;min-height:96px}.setup{flex-direction:column;gap:12px;min-width:0;max-width:100%;padding:24px 16px;display:flex}.setup>.toolbar{margin:-8px -16px 0}.setup h2{margin:0;font-size:18px}.setup .btn{width:100%;max-width:100%;margin:0}.setup .note,.setup .form-error,.setup .field,.setup .word-grid,.setup .secret{margin-left:0;margin-right:0}.secret{background:var(--card);border-radius:12px;margin:16px;padding:12px}.modal{z-index:20;background:#00000073;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal div{background:var(--surface);width:min(420px,100%);color:var(--text);border-radius:16px;padding:16px}@media (width>=960px){.stage{grid-template-columns:420px 380px;justify-content:center;align-items:start}.phone{height:min(844px,100dvh - 150px)}.coach{position:sticky;top:16px}}@media (width<=959px){.app:has(.stage){flex-direction:column;height:100dvh;min-height:0;padding-bottom:8px;display:flex;overflow:hidden}.app:has(.stage) .baseline{margin:0;font-size:12px}.stage{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex}.phone{flex:48%;width:100%;height:auto;min-height:240px}.coach{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;flex:0 auto;max-height:min(44dvh,360px);overflow:hidden auto}.coach h2{font-size:16px}.coach [data-testid=coach-message],.coach [data-testid=coach-hint]{overflow-wrap:anywhere;margin:6px 0}.coach .card-actions{margin-top:8px}}@media (width<=380px){.coach{max-height:min(48dvh,380px);padding:12px}.coach .btn{min-height:44px;padding:0 12px}}
