/*! ZENX Hub — the app screen (Android app + phone browsers + website preview).
    © 2026 ZENX Network. All rights reserved. Licensed exclusively to ZENX Network.
    Same palette as site.css: violet = press, cyan = live chain data, gold = ZENX you hold. */
:root {
  --ink: #060814; --ink-2: #0a0d1d; --panel: #0d1124; --panel-2: #121731; --raise: #18203f;
  --line: rgba(141, 160, 255, .13); --line-2: rgba(141, 160, 255, .24);
  --text: #e9edff; --text-2: #c5cbea; --muted: #8d94bb; --faint: #5f668c;
  --violet: #8b6bff; --violet-2: #a993ff; --violet-soft: rgba(139, 107, 255, .14);
  --cyan: #4de1ff; --cyan-soft: rgba(77, 225, 255, .12); --gold: #f5c451;
  --ok: #3ee39a; --bad: #ff6b81; --warn: #ffb547;
  --cta: linear-gradient(115deg, #2f6bff 0%, #6a4cf5 55%, #8b5cf6 100%);
  --aurora: linear-gradient(115deg, #4de1ff 0%, #8b6bff 62%, #b78bff 100%);
  --r: 14px; --r-lg: 20px;
  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --tabs-h: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { background: var(--ink); color: var(--text); font: 400 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; }
button, input, output { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 8px; }

/* ── shell ── */
.app { max-width: 480px; margin: 0 auto; min-height: 100%; position: relative;
  background: radial-gradient(120% 50% at 50% -10%, rgba(139,107,255,.18), transparent 60%), var(--ink); }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: rgba(6, 8, 20, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: .02em; margin-right: auto; }
.brand span { font-size: 16px; }
.net-pill { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 10px 0 11px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--panel); font-size: 13px; font-weight: 500; white-space: nowrap; }
.net-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.net-pill .dot.ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.net-pill .dot.bsc { background: #f3ba2f; box-shadow: 0 0 10px #f3ba2f; }
.net-pill .dot.other { background: var(--warn); }
.acct { height: 34px; padding: 0 14px; border-radius: 99px; background: var(--cta); font-size: 13px; font-weight: 600; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.acct.is-on { background: var(--panel); border: 1px solid var(--line-2); font-family: var(--mono); font-weight: 500; display: flex; align-items: center; gap: 7px; }
.acct.is-on::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--aurora); flex: none; }

.screens { padding: 16px 16px calc(var(--tabs-h) + 28px + env(safe-area-inset-bottom)); }
.screen { display: none; animation: in .28s cubic-bezier(.2, .8, .2, 1); }
.screen.is-active { display: block; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.screen-h { margin: 6px 0 4px; font: 600 26px/1.15 var(--font); letter-spacing: -.02em; }
.screen-sub { margin: 0 0 16px; color: var(--muted); font-size: 14px; }

/* ── cards ── */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; margin-bottom: 14px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.card-h h2 { margin: 0; font-size: 15px; font-weight: 600; }
.hint { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

.hero-card { position: relative; overflow: hidden; border-radius: 24px; padding: 18px 18px 16px; margin-bottom: 14px;
  background: linear-gradient(150deg, rgba(77,225,255,.16), rgba(139,107,255,.22) 45%, rgba(13,17,36,.95) 80%), var(--panel);
  border: 1px solid var(--line-2); box-shadow: 0 30px 60px -40px rgba(139,107,255,.7); }
.hero-card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(77,225,255,.18), transparent 70%); pointer-events: none; }
.hero-row { display: flex; align-items: center; justify-content: space-between; }
.hero-label { color: var(--text-2); font-size: 13px; }
.hero-label em { font-style: normal; color: var(--muted); font-size: 11px; margin-left: 4px; }
.hero-total { font: 600 clamp(28px, 10vw, 38px)/1.1 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.03em; margin: 6px 0 6px; font-variant-numeric: tabular-nums; }
.hero-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.hero-sub b { color: var(--cyan); font-weight: 500; }
.hero-sub .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.ghost-sm { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--text-2); background: rgba(255,255,255,.04); }
.ghost-sm.spin svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; position: relative; z-index: 1; }
.quick button { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px 2px 9px; border-radius: 16px;
  background: rgba(6, 8, 20, .45); border: 1px solid var(--line); font-size: 12px; font-weight: 500; transition: transform .15s, background .15s; }
.quick button:active { transform: scale(.95); background: rgba(139,107,255,.2); }
.qi { width: 36px; height: 36px; border-radius: 12px; background: var(--cta) center / 20px no-repeat; }
.qi-buy { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.qi-recv { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v13M6 11l6 6 6-6M5 20h14'/%3E%3C/svg%3E"); }
.qi-play { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5.5v13l10.5-6.5z'/%3E%3C/svg%3E"); }
.qi-net { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M4 12h16M12 4c2.5 2.6 2.5 13.4 0 16M12 4c-2.5 2.6-2.5 13.4 0 16'/%3E%3C/svg%3E"); }

/* ── setup checklist ── */
.prog { font-size: 12px; color: var(--cyan); font-family: var(--mono); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps li > div { flex: 1; min-width: 0; }
.steps b { display: block; font-size: 14px; font-weight: 500; }
.steps small { color: var(--muted); font-size: 12px; }
.tick { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; }
.steps li.done .tick { background: var(--ok); border-color: var(--ok); }
.steps li.done .tick::after { content: ""; width: 10px; height: 6px; border: solid #062014; border-width: 0 0 2.4px 2.4px; transform: rotate(-45deg) translate(1px, -1px); }
.steps li.done b { color: var(--text-2); }
.step-btn { height: 32px; padding: 0 14px; border-radius: 99px; background: var(--violet-soft); color: var(--violet-2); font-size: 13px; font-weight: 600; border: 1px solid rgba(139,107,255,.35); }
.steps li.done .step-btn { display: none; }
.setup.all-done { display: none; }

/* ── segmented ── */
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); gap: 2px; }
.seg button { padding: 6px 12px; border-radius: 9px; font-size: 13px; color: var(--muted); font-weight: 500; transition: background .15s, color .15s; }
.seg button.is-on { background: var(--raise); color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }
.seg-sm button { padding: 5px 9px; font-size: 12px; }
.seg-xs { padding: 2px; border-radius: 9px; }
.seg-xs button { padding: 3px 8px; font-size: 12px; border-radius: 7px; }
.seg-wide { display: flex; margin-bottom: 14px; }
.seg-wide button { flex: 1; padding: 9px; }

/* ── tokens ── */
.tokens { list-style: none; margin: 0; padding: 0; }
.tokens li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.tokens li:first-child { border-top: 0; }
.tokens img { width: 36px; height: 36px; border-radius: 50%; background: var(--raise); }
.tokens .tk { flex: 1; min-width: 0; }
.tokens .tk b { display: block; font-weight: 500; }
.tokens .tk small { color: var(--muted); font-size: 12px; }
.tokens .amt { text-align: right; font-variant-numeric: tabular-nums; }
.tokens .amt b { display: block; font-weight: 500; }
.tokens .amt small { color: var(--muted); font-size: 12px; }
.skel { display: inline-block; width: 64px; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--raise), var(--panel-2), var(--raise)); background-size: 200% 100%; animation: sh 1.2s infinite; }
@keyframes sh { to { background-position: -200% 0; } }

/* ── buy ── */
.route-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.route { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px; border-radius: 16px; background: var(--panel); border: 1.5px solid var(--line); transition: border-color .15s, background .15s; }
.route img { border-radius: 50%; flex: none; }
.route b { display: block; font-size: 14px; font-weight: 600; }
.route small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.route.is-on { border-color: var(--violet); background: linear-gradient(160deg, rgba(139,107,255,.16), var(--panel)); }

.flow { list-style: none; display: flex; margin: 0 0 16px; padding: 0; gap: 6px; }
.flow li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11.5px; color: var(--faint); position: relative; text-align: center; }
.flow li::before { content: ""; position: absolute; top: 13px; left: calc(-50% + 16px); right: calc(50% + 16px); height: 2px; background: var(--line-2); border-radius: 2px; }
.flow li:first-child::before { display: none; }
.flow i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 12px; border: 1.5px solid var(--line-2); background: var(--ink-2); position: relative; z-index: 1; }
.flow li.now { color: var(--text); }
.flow li.now i { border-color: var(--violet); color: var(--violet-2); box-shadow: 0 0 0 4px var(--violet-soft); }
.flow li.done { color: var(--text-2); }
.flow li.done i { background: var(--ok); border-color: var(--ok); color: #062014; }
.flow li.done::before, .flow li.now::before { background: var(--ok); }
.flow li.skip { opacity: .45; }

.field { background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.field:focus-within { border-color: var(--line-2); }
.field-h { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); }
.field-h em { font-style: normal; color: var(--faint); }
.link-sm { font-size: 12.5px; color: var(--violet-2); }
.muted-sm { font-size: 12.5px; }
.field-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.field-row input, .field-row .out { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 28px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; padding: 0; }
.field-row input::placeholder { color: var(--faint); }
.field-row .out { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tok-btn, .tok-static { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 10px 0 6px; border-radius: 99px; background: var(--raise); border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; flex: none; }
.tok-static { padding-right: 12px; }
.tok-btn img, .tok-static img { border-radius: 50%; }
.chips { display: flex; gap: 6px; margin-top: 10px; }
.chips button { flex: 1; height: 28px; border-radius: 9px; font-size: 12px; font-weight: 500; color: var(--text-2); background: var(--panel-2); border: 1px solid var(--line); }
.chips button:active { background: var(--violet-soft); }
.arrow-down { width: 34px; height: 34px; margin: -8px auto; position: relative; z-index: 2; display: grid; place-items: center; border-radius: 12px; background: var(--raise); border: 3px solid var(--panel); color: var(--text-2); font-size: 16px; }
.flip { width: 38px; height: 38px; margin: -10px auto; position: relative; z-index: 2; display: grid; place-items: center; border-radius: 12px; background: var(--raise); border: 3px solid var(--panel); color: var(--text-2); transition: transform .25s; }
.flip:active { transform: rotate(180deg); }
.quote { margin: 14px 2px 4px; display: grid; gap: 8px; font-size: 13px; }
.quote > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.quote dt { color: var(--muted); }
.quote dd { margin: 0; color: var(--text-2); text-align: right; font-variant-numeric: tabular-nums; }
.warn { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255,181,71,.1); border: 1px solid rgba(255,181,71,.3); color: #ffd28f; font-size: 13px; }
.cta { width: 100%; height: 54px; margin-top: 14px; border-radius: 16px; background: var(--cta); font-size: 16px; font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 14px 30px -14px rgba(106,76,245,.9); transition: transform .12s, filter .15s, opacity .15s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.cta:active { transform: scale(.98); }
.cta:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.cta.busy::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.4px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.status { min-height: 18px; margin: 10px 2px 0; font-size: 13px; color: var(--muted); text-align: center; }
.status.ok { color: var(--ok); } .status.bad { color: var(--bad); }
.mini-links { display: grid; gap: 2px; padding: 6px; }
.mini-links a { display: block; padding: 10px 12px; border-radius: 12px; }
.mini-links a:active { background: var(--panel-2); }
.mini-links b { display: block; font-size: 14px; font-weight: 500; }
.mini-links small { color: var(--muted); font-size: 12px; }
.mini-links a::after { content: "›"; float: right; margin-top: -30px; color: var(--faint); font-size: 22px; }

/* ── receive ── */
.recv { text-align: center; }
.qr { width: 236px; height: 236px; margin: 6px auto 14px; border-radius: 20px; background: #fff; display: grid; place-items: center; padding: 14px; position: relative; }
.qr img, .qr svg { width: 100%; height: 100%; image-rendering: pixelated; }
.qr .qr-logo { position: absolute; width: 46px; height: 46px; border-radius: 12px; background: #fff; padding: 4px; inset: 0; margin: auto; }
.qr-empty { color: #5f668c; font-size: 13px; padding: 20px; }
.addr { font-size: 13px; word-break: break-all; color: var(--text-2); padding: 10px 12px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); }
.recv-actions, .acct-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.acct-actions { grid-template-columns: 1fr; }
.btn2 { height: 46px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.btn2:active { background: var(--raise); }
.btn2.danger { color: var(--bad); }
.note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.note b { color: var(--text-2); font-weight: 500; }
.watch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.watch button { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); font-size: 13px; font-weight: 500; text-align: left; }
.watch img { width: 24px; height: 24px; border-radius: 50%; }
.watch small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 400; }

/* ── play ── */
.player { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--aurora); display: grid; place-items: center; font-weight: 700; color: #0a0d1d; flex: none; }
.avatar.lg { width: 52px; height: 52px; }
.pinfo { flex: 1; min-width: 0; }
.pinfo b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pinfo small { color: var(--muted); font-size: 12.5px; }
.player .btn2 { height: 38px; padding: 0 16px; }
.player.signed .btn2 { display: none; }
.games { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.game { position: relative; display: flex; flex-direction: column; padding: 12px; min-height: 172px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); transition: transform .15s; }
.game:active { transform: scale(.97); }
.g-art { height: 84px; margin: -12px -12px 10px; background-size: cover; background-position: center; position: relative; }
.game b { font-size: 15px; font-weight: 600; }
.game small { color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.game em { position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: rgba(6,8,20,.6); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.g-tanks .g-art { background: radial-gradient(circle at 30% 60%, #3ee39a 0 10px, transparent 11px), radial-gradient(circle at 72% 40%, #ff6b81 0 10px, transparent 11px), repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 16px), repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 16px), linear-gradient(140deg, #13402f, #0d1124); }
.g-bomb .g-art { background: radial-gradient(circle at 50% 55%, #ffb547 0 12px, #ff6b81 13px 16px, transparent 17px), repeating-conic-gradient(rgba(255,255,255,.07) 0 25%, transparent 0 50%) 0 0 / 24px 24px, linear-gradient(140deg, #4a1f3a, #0d1124); }
.g-ludo .g-art { background: conic-gradient(from 45deg at 50% 50%, #ff6b81 0 25%, #4de1ff 0 50%, #3ee39a 0 75%, #f5c451 0) center / 70px 70px no-repeat, linear-gradient(140deg, #1d2450, #0d1124); }
.g-dash .g-art { background: radial-gradient(circle at 25% 50%, #f5c451 0 7px, transparent 8px), radial-gradient(circle at 50% 50%, #f5c451 0 7px, transparent 8px), radial-gradient(circle at 75% 50%, #f5c451 0 7px, transparent 8px), linear-gradient(180deg, transparent 70%, rgba(139,107,255,.5) 70% 72%, transparent 72%), linear-gradient(140deg, #2a1e5c, #0d1124); }
.wide-link { display: block; }
.wide-link b { display: block; font-weight: 600; }
.wide-link small { color: var(--muted); font-size: 12.5px; }

/* ── tab bar ── */
.tabs { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px;
  display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--tabs-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(10, 13, 29, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 500; color: var(--faint); position: relative; }
.tabs svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs button.is-on { color: var(--text); }
.tabs button.is-on svg { stroke: var(--violet-2); }
.tabs button.is-on::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--aurora); }

/* ── sheets ── */
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(2, 3, 10, .6); backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
.sheet[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.sheet-in { width: 100%; max-width: 480px; max-height: 88vh; overflow: auto; background: var(--panel); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 26px 26px 0 0;
  padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); animation: up .3s cubic-bezier(.2, .9, .2, 1); }
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
.sheet-in.center { text-align: center; }
.grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 0 auto 14px; }
.sheet h2 { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.sheet-sub { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; }
.sheet-foot { margin: 16px 0 0; color: var(--muted); font-size: 12.5px; text-align: center; }
.sheet-foot a { color: var(--violet-2); }
.wallets, .nets { display: grid; gap: 8px; }
.wallet, .net-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line); text-align: left; transition: border-color .15s, background .15s; }
.wallet:active, .net-opt:active { background: var(--raise); }
.wallet img, .net-opt img { width: 40px; height: 40px; border-radius: 11px; flex: none; background: var(--raise); }
.net-opt img { border-radius: 50%; width: 32px; height: 32px; }
.wallet span, .net-opt span { flex: 1; min-width: 0; }
.wallet b, .net-opt b { display: block; font-weight: 600; font-size: 15px; }
.wallet small, .net-opt small { display: block; color: var(--muted); font-size: 12px; }
.wallet .tag { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: var(--cyan-soft); color: var(--cyan); white-space: nowrap; }
.wallet .tag.rec { background: var(--violet-soft); color: var(--violet-2); }
.wallet.off { opacity: .5; }
.chk { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; }
.net-opt.is-on { border-color: var(--violet); }
.net-opt.is-on .chk { background: var(--violet); border-color: var(--violet); box-shadow: inset 0 0 0 4px var(--panel-2); }
.acct-box { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); }
.acct-box b { display: block; font-size: 13px; word-break: break-all; font-weight: 500; }
.acct-box small { color: var(--muted); font-size: 12px; }
.done-badge { width: 68px; height: 68px; margin: 8px auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #062014; box-shadow: 0 0 0 10px rgba(62,227,154,.12); animation: pop .4s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(.4); } }

.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--tabs-h) + 16px + env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: calc(100% - 32px); width: max-content;
  padding: 11px 16px; border-radius: 14px; background: #1c2449; border: 1px solid var(--line-2); font-size: 13.5px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.8); animation: up .25s; }
.toast.bad { border-color: rgba(255,107,129,.5); }

@media (min-width: 520px) {
  .app { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.quote dd.ok { color: var(--ok); } .quote dd.warn { color: var(--warn); } .quote dd.bad { color: var(--bad); font-weight: 600; }

/* inside the website's phone frame: room for the drawn notch, no desktop scrollbars */
html.embedded { scrollbar-width: none; }
html.embedded::-webkit-scrollbar { display: none; }
html.embedded .top { padding-top: 44px; }
@media (max-width: 350px) {
  .brand span { display: none; }
  .top { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .net-pill { padding: 0 8px; }
  .acct { padding: 0 12px; }
}
