/* ============================================================
   Even Odds — design system
   Energetic-casino, crafted. Near-black base, cyan/gold/orange
   accents, gold reserved for money. No purple gradients, no glass.
   ============================================================ */

:root {
  /* Base surfaces */
  --bg:        #08090d;
  --bg-2:      #0d0f15;
  --surface:   #14161f;
  --surface-2: #1b1e2a;
  --surface-3: #232736;
  --hairline:  rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text:      #f3f5fa;
  --text-dim:  #aeb6c6;
  --text-mute: #6b7488;

  /* Brand / energy */
  --cyan:      #1fe3c2;
  --cyan-deep: #12a58c;
  --orange:    #ff8a3d;
  --magenta:   #ff3d8b;

  /* Money & semantics */
  --gold:      #ffc94d;
  --gold-deep: #ca9422;
  --win:       #2ad477;
  --win-deep:  #159c53;
  --lose:      #ff5468;
  --lose-deep: #c8324a;

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  --shadow:    0 14px 40px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);

  --ff: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-num: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --sidebar-w: 248px;
  --topbar-h: 68px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--ff);
  background:
    radial-gradient(1200px 700px at 82% -10%, rgba(31, 227, 194, 0.08), transparent 60%),
    radial-gradient(900px 600px at -5% 8%, rgba(255, 138, 61, 0.06), transparent 55%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ------------------------------------------------------------------ Layout */

.shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-right: 1px solid var(--hairline);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 8px 20px;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  font-weight: 800;
  color: #05221d;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  box-shadow: 0 6px 18px rgba(31, 227, 194, 0.35);
  font-size: 18px;
}
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.brand-name span { color: var(--cyan); }
.brand-sub { font-size: 11px; color: var(--text-mute); letter-spacing: 0.08em; text-transform: uppercase; }

.nav { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-weight: 600; font-size: 14.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
  user-select: none;
}
.nav-item:hover { background: var(--surface); color: var(--text); }
.nav-item.active {
  background: linear-gradient(90deg, rgba(31,227,194,0.16), rgba(31,227,194,0.03));
  color: var(--text);
  border-color: rgba(31, 227, 194, 0.30);
}
.nav-item .ic { width: 20px; height: 20px; flex: none; opacity: .9; }
.nav-item.active .ic { color: var(--cyan); }
.nav-badge {
  margin-left: auto;
  font-size: 11px; font-weight: 700;
  background: var(--orange); color: #2a1400;
  border-radius: 20px; padding: 1px 7px;
  font-variant-numeric: tabular-nums;
}

.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.rg-note {
  font-size: 11px; color: var(--text-mute);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 9px 11px; line-height: 1.4;
}
.rg-note b { color: var(--text-dim); }

/* ------------------------------------------------------------------ Main */

.main { display: flex; flex-direction: column; min-width: 0; }

.topbar {
  height: var(--topbar-h);
  border-bottom: 1px solid var(--hairline);
  display: flex; align-items: center; gap: 16px;
  padding: 0 26px;
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 9, 13, 0.82);
  backdrop-filter: blur(10px);
}
.topbar .page-title { font-size: 18px; font-weight: 750; }
.topbar .spacer { flex: 1; }

.wallet-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 7px 8px 7px 14px;
}
.wallet-chip .lbl { font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .07em; }
.wallet-chip .amt { font-family: var(--ff-num); font-weight: 700; color: var(--gold); font-size: 15px; }
.wallet-chip .avail { font-size: 11.5px; color: var(--text-mute); }

/* Account switcher */
.acct-switch { position: relative; }
.acct-btn {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 5px 12px 5px 5px; cursor: pointer;
  color: var(--text);
}
.acct-btn:hover { border-color: var(--hairline-strong); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
  color: #06121a; flex: none;
}
.acct-btn .who { text-align: left; line-height: 1.1; }
.acct-btn .who .n { font-size: 13.5px; font-weight: 700; }
.acct-btn .who .r { font-size: 11px; color: var(--text-mute); }
.acct-btn .caret { color: var(--text-mute); margin-left: 2px; }

.dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--surface-2); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius); box-shadow: var(--shadow);
  min-width: 262px; padding: 7px; z-index: 60;
}
.dropdown .dd-head { font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .07em; padding: 8px 10px 6px; }
.dd-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer;
}
.dd-item:hover { background: var(--surface-3); }
.dd-item .who .n { font-size: 14px; font-weight: 650; }
.dd-item .who .r { font-size: 11.5px; color: var(--text-mute); font-family: var(--ff-num); }
.dd-item .tick { margin-left: auto; color: var(--cyan); font-weight: 800; }
.dd-sep { height: 1px; background: var(--hairline); margin: 6px 4px; }

.content { padding: 28px 26px 60px; max-width: var(--maxw); width: 100%; }

/* ------------------------------------------------------------------ Cards */

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px;
}
.card.tinted { background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.card-title { font-size: 12px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 14px; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.row { display: flex; gap: 16px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 2px 14px; }
.section-head h2 { font-size: 20px; }
.section-head .hint { font-size: 12.5px; color: var(--text-mute); }

/* Stat tiles */
.stat { position: relative; overflow: hidden; }
.stat .k { font-size: 12px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.stat .v { font-family: var(--ff-num); font-size: 30px; font-weight: 800; margin-top: 8px; letter-spacing: -0.01em; }
.stat .sub { font-size: 12.5px; color: var(--text-dim); margin-top: 4px; }
.v.money { color: var(--gold); }
.v.win { color: var(--win); }
.v.lose { color: var(--lose); }
.stat .glow { position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; filter: blur(30px); opacity: .18; }

/* ------------------------------------------------------------------ Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--hairline-strong);
  background: var(--surface-2); color: var(--text);
  border-radius: var(--radius-sm); padding: 10px 16px;
  font-weight: 650; font-size: 14px; cursor: pointer;
  transition: transform .08s, background .15s, border-color .15s, opacity .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.sm { padding: 7px 12px; font-size: 13px; }
.btn.block { width: 100%; }
.btn.primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  color: #04211c; border-color: transparent; font-weight: 750;
  box-shadow: 0 8px 22px rgba(31, 227, 194, 0.28);
}
.btn.primary:hover { filter: brightness(1.06); background: linear-gradient(135deg, var(--cyan), var(--cyan-deep)); }
.btn.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #2b2100; border-color: transparent; font-weight: 750;
}
.btn.danger { color: var(--lose); border-color: rgba(255, 84, 104, 0.4); }
.btn.danger:hover { background: rgba(255, 84, 104, 0.12); }
.btn.ghost { background: transparent; }
.btn.accept {
  background: linear-gradient(135deg, var(--win), var(--win-deep));
  color: #042515; border-color: transparent; font-weight: 750;
}

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .04em;
}
.pill.open   { background: rgba(31,227,194,0.14); color: var(--cyan); }
.pill.locked { background: rgba(255,138,61,0.16); color: var(--orange); }
.pill.negot  { background: rgba(255,61,139,0.16); color: var(--magenta); }
.pill.live   { background: rgba(255,84,104,0.16); color: var(--lose); }
.pill.settled{ background: rgba(255,255,255,0.08); color: var(--text-dim); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.live .dot { animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.25;} }

/* ------------------------------------------------------------------ Forms */

label.field { display: block; margin-bottom: 14px; }
label.field .lab { font-size: 12.5px; color: var(--text-dim); font-weight: 650; margin-bottom: 7px; display: block; }
.input, textarea.input, select.input {
  width: 100%; background: var(--bg-2); color: var(--text);
  border: 1px solid var(--hairline-strong); border-radius: var(--radius-sm);
  padding: 11px 13px; font-size: 15px; font-family: inherit;
}
.input:focus, textarea.input:focus, select.input:focus { outline: none; border-color: var(--cyan); }
.input.num { font-family: var(--ff-num); }
textarea.input { resize: vertical; min-height: 62px; }
.amount-wrap { position: relative; }
.amount-wrap .cur { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-mute); font-family: var(--ff-num); font-weight: 700; }
.amount-wrap .input { padding-left: 30px; font-size: 20px; font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--hairline-strong); background: var(--bg-2);
  border-radius: 999px; padding: 7px 13px; font-size: 13px; cursor: pointer;
  color: var(--text-dim); font-family: var(--ff-num); font-weight: 650;
}
.chip:hover { border-color: var(--cyan); color: var(--text); }
.chip.active { background: rgba(31,227,194,0.16); border-color: var(--cyan); color: var(--text); }

.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.toggle .track { width: 42px; height: 24px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--hairline-strong); position: relative; transition: background .15s; flex: none; }
.toggle .knob { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--text-dim); transition: left .16s, background .16s; }
.toggle.on .track { background: rgba(31,227,194,0.30); border-color: var(--cyan); }
.toggle.on .knob { left: 20px; background: var(--cyan); }

/* ------------------------------------------------------------------ Bet cards */

.betlist { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.bet {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 16px 17px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .15s, transform .1s;
}
.bet:hover { border-color: var(--hairline-strong); }
.bet.mine { border-color: rgba(255,201,77,0.35); }
.bet-top { display: flex; align-items: center; gap: 11px; }
.bet-top .who { min-width: 0; }
.bet-top .who .n { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bet-top .who .t { font-size: 11.5px; color: var(--text-mute); }
.bet-amt { margin-left: auto; text-align: right; }
.bet-amt .a { font-family: var(--ff-num); font-size: 22px; font-weight: 800; color: var(--gold); }
.bet-amt .win { font-size: 11px; color: var(--text-mute); }
.bet-comment { font-size: 13.5px; color: var(--text-dim); background: var(--bg-2); border-radius: var(--radius-sm); padding: 9px 11px; border: 1px solid var(--hairline); }
.bet-foot { display: flex; align-items: center; gap: 10px; }
.bet-foot .meta { font-size: 12px; color: var(--text-mute); display: flex; align-items: center; gap: 6px; }
.bet-foot .btn { margin-left: auto; }
.countdown { font-family: var(--ff-num); font-weight: 700; }
.countdown.warn { color: var(--orange); }

/* ------------------------------------------------------------------ Tables */

table.tbl { width: 100%; border-collapse: collapse; }
table.tbl th { text-align: left; font-size: 11.5px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
table.tbl td { padding: 12px; border-bottom: 1px solid var(--hairline); font-size: 14px; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl td.num, table.tbl th.num { font-family: var(--ff-num); text-align: right; }
.tag-you { font-size: 10px; font-weight: 800; color: var(--cyan); border: 1px solid rgba(31,227,194,0.4); border-radius: 5px; padding: 1px 5px; margin-left: 7px; vertical-align: middle; }
.rank { font-family: var(--ff-num); font-weight: 800; color: var(--text-mute); width: 34px; }
.rank.top1 { color: var(--gold); }
.rank.top2 { color: #cfd6e3; }
.rank.top3 { color: var(--orange); }

.txn-pos { color: var(--win); }
.txn-neg { color: var(--lose); }

/* ------------------------------------------------------------------ Modal */

#modal-root:empty { display: none; }
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(3, 4, 7, 0.72);
  display: grid; place-items: center; z-index: 100; padding: 20px;
  animation: fade .15s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--surface-2); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  width: 100%; max-width: 460px; padding: 24px; animation: pop .18s ease;
}
.modal.wide { max-width: 620px; }
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h3 { font-size: 20px; margin-bottom: 8px; }
.modal p { color: var(--text-dim); font-size: 14.5px; margin: 0 0 16px; }
.modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.modal-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.modal-icon.warn { background: rgba(255,138,61,0.16); color: var(--orange); }
.modal-icon.danger { background: rgba(255,84,104,0.16); color: var(--lose); }

/* ------------------------------------------------------------------ Toast */

#toast-root { position: fixed; right: 22px; bottom: 22px; z-index: 120; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.toast {
  background: var(--surface-2); border: 1px solid var(--hairline-strong);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm); padding: 12px 15px; box-shadow: var(--shadow-sm);
  font-size: 13.5px; max-width: 340px; animation: slidein .2s ease;
}
.toast.win { border-left-color: var(--win); }
.toast.lose { border-left-color: var(--lose); }
.toast.gold { border-left-color: var(--gold); }
.toast .tt { font-weight: 700; margin-bottom: 2px; }
.toast .td { color: var(--text-dim); }
@keyframes slidein { from { transform: translateX(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ------------------------------------------------------------------ Coin / match */

.match-stage { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 0 4px; }
.vs-row { display: flex; align-items: center; justify-content: center; gap: 26px; width: 100%; margin: 6px 0 18px; }
.vs-side { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: .55; transition: opacity .3s, transform .3s; }
.vs-side.winner { opacity: 1; transform: scale(1.06); }
.vs-side.loser { opacity: .35; }
.vs-side .avatar { width: 58px; height: 58px; font-size: 22px; }
.vs-side .nm { font-weight: 750; font-size: 15px; }
.vs-side .role { font-size: 11.5px; color: var(--text-mute); }
.vs-side .outcome { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.vs-side.winner .outcome { color: var(--win); }
.vs-side.loser .outcome { color: var(--lose); }
.vs-badge { font-family: var(--ff-num); font-weight: 800; color: var(--text-mute); font-size: 15px; }

.coin {
  width: 128px; height: 128px; border-radius: 50%;
  position: relative; transform-style: preserve-3d;
  margin: 6px 0 4px;
}
.coin .face {
  position: absolute; inset: 0; border-radius: 50%;
  display: grid; place-items: center; font-weight: 900; font-size: 40px;
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 5px rgba(0,0,0,0.15), var(--shadow);
}
.coin .heads { background: radial-gradient(circle at 35% 30%, #ffe9a8, var(--gold) 55%, var(--gold-deep)); color: #4a3600; }
.coin .tails { background: radial-gradient(circle at 35% 30%, #b9fff2, var(--cyan) 55%, var(--cyan-deep)); color: #04322b; transform: rotateY(180deg); }
.coin.flipping { animation: flip 1.1s cubic-bezier(.3,.1,.2,1) infinite; }
@keyframes flip { 0% { transform: rotateY(0); } 100% { transform: rotateY(1800deg); } }
.coin.result-heads { transform: rotateY(1440deg); transition: transform 1s cubic-bezier(.15,.7,.2,1); }
.coin.result-tails { transform: rotateY(1620deg); transition: transform 1s cubic-bezier(.15,.7,.2,1); }

.payout {
  width: 100%; max-width: 380px; margin-top: 6px;
  background: var(--bg-2); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 4px 16px;
}
.payout .line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.payout .line:last-child { border-bottom: none; }
.payout .line .val { font-family: var(--ff-num); font-weight: 700; }
.payout .line.total .val { color: var(--gold); font-size: 17px; }
.payout .line .rake { color: var(--text-mute); }

.fairness {
  width: 100%; max-width: 560px; margin-top: 14px;
  border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden;
}
.fairness summary { cursor: pointer; padding: 12px 16px; font-size: 13px; font-weight: 650; color: var(--text-dim); background: var(--surface); list-style: none; }
.fairness summary::-webkit-details-marker { display: none; }
.fairness .body { padding: 14px 16px; font-size: 12.5px; }
.fairness .kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; }
.fairness .kv dt { color: var(--text-mute); }
.fairness .kv dd { margin: 0; font-family: var(--ff-num); word-break: break-all; color: var(--text-dim); font-size: 11.5px; }
.fairness .verify-ok { color: var(--win); font-weight: 700; }
.fairness .verify-bad { color: var(--lose); font-weight: 700; }

/* ------------------------------------------------------------------ Misc */

.empty { text-align: center; color: var(--text-mute); padding: 40px 20px; font-size: 14px; }
.empty .big { font-size: 40px; margin-bottom: 10px; opacity: .5; }
.muted { color: var(--text-mute); }
.dim { color: var(--text-dim); }
.mono { font-family: var(--ff-num); }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.right { text-align: right; } .center { text-align: center; }
.flex { display: flex; } .items-center { align-items: center; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.hidden { display: none !important; }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 130; overflow: hidden; }
.confetti i { position: absolute; width: 9px; height: 14px; top: -20px; opacity: .9; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: 0; } }

.demo-banner {
  background: linear-gradient(90deg, rgba(255,138,61,0.14), rgba(255,61,139,0.08));
  border: 1px solid rgba(255,138,61,0.3);
  color: var(--text-dim); font-size: 12.5px; font-weight: 600;
  border-radius: var(--radius-sm); padding: 9px 14px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 9px;
}
.demo-banner b { color: var(--orange); }

/* ------------------------------------------------------------------ Responsive */

@media (max-width: 900px) {
  :root { --sidebar-w: 76px; }
  .brand-name, .brand-sub, .nav-item span.lbl, .rg-note { display: none; }
  .nav-item { justify-content: center; }
  .grid-3, .grid-2, .betlist { grid-template-columns: 1fr; }
  .vs-row { gap: 14px; }
}
@media (max-width: 620px) {
  .content { padding: 18px 14px 50px; }
  .topbar { padding: 0 14px; gap: 10px; }
  .wallet-chip .avail { display: none; }
  .acct-btn .who { display: none; }
}
