@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
}

:root {
  --bg-0: #040b11;
  --bg-1: #06121b;
  --bg-2: #0b1d29;
  --line: rgba(120, 220, 230, 0.12);
  --line-2: rgba(120, 220, 230, 0.22);
  --text: #e8f4f6;
  --muted: #7f9ba6;
  --dim: #4f6a75;

  --teal: #2ee6d6;
  --teal-2: #13a9c4;
  --lime: #a6ff5c;
  --lime-2: #4fcf3a;
  --amber: #ffc24b;
  --amber-2: #ff8d2e;
  --green: #2fe08a;
  --green-2: #11a865;
  --red: #ff4f6d;
  --red-2: #c9244a;

  --p0: var(--teal);
  --p1: var(--lime);

  --radius: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: radial-gradient(120% 80% at 50% 0%, #0a2230 0%, var(--bg-0) 60%) fixed, var(--bg-0);
  color: var(--text);
  font-family: var(--font);
  font-feature-settings: 'tnum' 1;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input { font: inherit; color: inherit; }
svg { display: block; }

.app {
  position: relative;
  max-width: 520px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg-1) 0%, #050e15 100%);
  box-shadow: 0 0 0 1px rgba(46, 230, 214, 0.06), 0 30px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 6px;
  padding-top: max(10px, env(safe-area-inset-top));
  gap: 10px;
  z-index: 3;
}
.brand { display: flex; align-items: center; min-width: 0; }
.brand-logo { display: block; height: 34px; width: auto; filter: drop-shadow(0 0 10px rgba(200, 120, 255, 0.25)); }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.balance {
  display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px 0 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  font-weight: 800; font-size: 16px;
}
.balance .coin {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 900; color: #06121b;
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
}
.balance.bump { animation: bump 0.45s ease; }
@keyframes bump { 30% { transform: scale(1.07); color: var(--green); } }
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: background 0.15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); }
.icon-btn svg { width: 20px; height: 20px; }
#btnSound .ico-off { display: none; }
#btnSound.muted .ico-on { display: none; }
#btnSound.muted .ico-off { display: block; color: var(--muted); }

/* ---------- history ---------- */
.history {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px 6px 14px;
  z-index: 4;
}
.history-track {
  flex: 1; display: flex; gap: 6px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.pill {
  flex: none;
  padding: 4px 9px; border-radius: 999px;
  font-size: 12.5px; font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.pill.lo { color: #6fb6ff; }
.pill.mid { color: var(--teal); }
.pill.hi { color: var(--amber); background: rgba(255, 194, 75, 0.08); }
.history-track .pill:first-child { animation: pillIn 0.4s ease; }
@keyframes pillIn { from { transform: translateX(-20px); opacity: 0; } }
.history-more {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2);
}
.history-more svg { width: 18px; height: 18px; transition: transform 0.2s; }
.history-more.open svg { transform: rotate(180deg); }
.history-drop {
  position: absolute; left: 10px; right: 10px; top: 100%;
  padding: 12px; border-radius: var(--radius);
  background: rgba(8, 24, 34, 0.97);
  border: 1px solid var(--line-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}
.history-drop-head { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.history-grid { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- stage ---------- */
.stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 240px;
  overflow: hidden;
}
#scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hud {
  position: absolute; left: 0; right: 0; top: 64%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center;
  pointer-events: none;
}
.hud-status {
  height: 22px;
  font-size: 15px; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red);
  text-shadow: 0 0 18px rgba(255, 79, 109, 0.6);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}
.hud-status.show { opacity: 1; transform: none; }
.mult {
  font-size: clamp(56px, 17vw, 92px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #b9d5dc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 24px rgba(46, 230, 214, 0.25));
  transition: opacity 0.2s;
}
.mult.crashed {
  background: linear-gradient(180deg, #ff8aa0 0%, var(--red) 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 4px 24px rgba(255, 79, 109, 0.4));
}
.mult.pulse { animation: multPulse 0.5s ease; }
@keyframes multPulse { 40% { transform: scale(1.12); } }
.mult.hidden { visibility: hidden; }

.wing-mults { display: flex; gap: 8px; margin-top: 10px; min-height: 30px; }
.wing-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 11px 5px 7px; border-radius: 999px;
  background: rgba(4, 14, 20, 0.75);
  border: 1px solid currentColor;
  font-weight: 900; font-size: 15px;
  animation: chipIn 0.3s ease;
}
.wing-chip i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.wing-chip.p0 { color: var(--p0); }
.wing-chip.p1 { color: var(--p1); }
.wing-chip.igniting { opacity: 0.6; }
@keyframes chipIn { from { transform: scale(0.6); opacity: 0; } }

.countdown {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(240px, 70%);
  text-align: center;
  visibility: hidden;
}
.countdown.show { visibility: visible; }
.countdown-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.countdown-label b { color: var(--text); font-size: 15px; }
.countdown-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.countdown-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; transform-origin: left; background: linear-gradient(90deg, var(--teal), var(--amber)); box-shadow: 0 0 12px rgba(46, 230, 214, 0.6); }

.launch-hint {
  position: absolute; left: 50%; bottom: 46px; transform: translate(-50%, 8px);
  padding: 7px 14px; border-radius: 999px;
  font-size: 12.5px; color: var(--muted); white-space: nowrap;
  background: rgba(4, 14, 20, 0.8); border: 1px solid rgba(46, 230, 214, 0.25);
  opacity: 0; transition: opacity 0.3s, transform 0.3s; pointer-events: none;
}
.launch-hint b { color: var(--teal); }
.launch-hint.show { opacity: 1; transform: translate(-50%, 0); }

.stage-foot {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  font-size: 11.5px; font-weight: 700; color: var(--muted);
}
.stage-foot svg { width: 14px; height: 14px; }
.foot-left, .foot-right { display: flex; align-items: center; gap: 5px; flex: 1; }
.foot-right { justify-content: flex-end; }
.foot-left .dot { opacity: 0.5; }
.bets-pill {
  padding: 6px 14px; border-radius: 999px;
  background: rgba(4, 14, 20, 0.85);
  border: 1px solid var(--line-2);
  color: var(--text); font-size: 13px;
}

/* toasts */
.toasts {
  position: absolute; top: 8px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  pointer-events: none; z-index: 5;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
  background: rgba(6, 30, 24, 0.94);
  border: 1px solid rgba(47, 224, 138, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(47, 224, 138, 0.15);
  animation: toastIn 0.3s ease, toastOut 0.35s ease 2.6s forwards;
}
.toast .tx-mult { color: var(--muted); font-weight: 600; }
.toast .tx-win {
  padding: 5px 11px; border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-2)); color: #03160d; font-weight: 900;
}
.toast.err {
  padding: 9px 16px;
  background: rgba(40, 8, 16, 0.94); border-color: rgba(255, 79, 109, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.toast.info { padding: 9px 16px; background: rgba(8, 24, 34, 0.94); border-color: var(--line-2); }
@keyframes toastIn { from { transform: translateY(-12px) scale(0.95); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(-8px); opacity: 0; } }

/* ---------- panels ---------- */
.panels {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  margin: 0 10px 10px;
  margin-bottom: max(10px, env(safe-area-inset-bottom));
  padding: 12px 0;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 48, 62, 0.75), rgba(10, 26, 36, 0.9));
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 -10px 40px rgba(0, 0, 0, 0.35);
}
.panels::before {
  content: ''; position: absolute; left: 50%; top: 14px; bottom: 14px; width: 1px;
  background: var(--line-2);
}
.panel {
  --acc: var(--p0);
  display: flex; flex-direction: column; gap: 8px;
  padding: 0 12px;
  min-width: 0;
}
.panel[data-i='1'] { --acc: var(--p1); }

.panel-top { display: flex; align-items: center; gap: 6px; min-height: 28px; }
.switch { display: flex; align-items: center; gap: 7px; cursor: pointer; min-width: 0; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch-track {
  position: relative; flex: none;
  width: 32px; height: 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}
.switch-thumb {
  position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%;
  background: #9fb5bd; transition: transform 0.2s, background 0.2s;
}
.switch input:checked + .switch-track { background: color-mix(in srgb, var(--acc, var(--teal)) 45%, transparent); }
.switch input:checked + .switch-track .switch-thumb { transform: translateX(14px); background: var(--acc, var(--teal)); }
.switch input:disabled + .switch-track { opacity: 0.5; }
.switch-label { font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auto-field {
  display: none; align-items: center; gap: 1px;
  height: 26px; padding: 0 8px; border-radius: 8px;
  background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 800; color: var(--acc);
}
.auto-field input { width: 44px; border: 0; background: none; outline: none; text-align: right; font-weight: 800; color: var(--text); padding: 0; }
.panel.auto .auto-field { display: flex; }
.panel.auto .switch-label { display: none; }
.auto-field:focus-within { border-color: var(--acc); }
.autobet {
  margin-left: auto; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.autobet svg { width: 18px; height: 18px; }
.autobet.on { color: #06121b; background: var(--acc); box-shadow: 0 0 14px color-mix(in srgb, var(--acc) 60%, transparent); }
.autobet.on svg { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.stepper {
  display: flex; align-items: center;
  height: 38px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.32); border: 1px solid rgba(255, 255, 255, 0.07);
}
.step {
  flex: none; width: 30px; height: 30px; margin: 0 4px; border-radius: 50%;
  font-size: 20px; font-weight: 500; line-height: 1;
  display: grid; place-items: center;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}
.step:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.amount {
  flex: 1; min-width: 0; width: 100%;
  border: 0; outline: none; background: none;
  text-align: center; font-size: 17px; font-weight: 800;
}
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.chips button {
  height: 28px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--muted);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s, color 0.15s;
}
.chips button:hover { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.panel.locked .stepper, .panel.locked .chips { opacity: 0.45; pointer-events: none; }
.panel.locked-auto .switch, .panel.locked-auto .auto-field { opacity: 0.55; pointer-events: none; }

.action {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 74px; margin-top: 2px; border-radius: 16px;
  color: #04140c;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 8px 24px rgba(47, 224, 138, 0.25);
  transition: transform 0.08s, filter 0.15s, box-shadow 0.2s, background 0.2s;
  overflow: hidden;
}
.action:active { transform: scale(0.97); }
.action:hover { filter: brightness(1.06); }
.action-amt { font-size: 19px; font-weight: 900; letter-spacing: -0.01em; }
.action-label { font-size: 13px; font-weight: 700; opacity: 0.8; margin-top: 2px; }
.action.cancel {
  color: #fff;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -3px 0 rgba(0, 0, 0, 0.2), 0 8px 24px rgba(255, 79, 109, 0.25);
}
.action.cashout {
  color: #1d0e00;
  background: linear-gradient(180deg, #ffd56e 0%, var(--amber-2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 8px 26px rgba(255, 170, 60, 0.35);
}
.action.cashout .action-amt { font-size: 21px; }
.action.cashout.wait { filter: saturate(0.4) brightness(0.8); }
.action.launch {
  color: #021417;
  background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 92%, #fff) 0%, color-mix(in srgb, var(--acc) 70%, #064) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 8px 24px color-mix(in srgb, var(--acc) 35%, transparent);
}
.action.launch::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: sheen 2.2s ease-in-out infinite;
}
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.action.idle {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  cursor: default;
}
.action.idle:active { transform: none; }

/* ---------- sheets / modals ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 20;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0, 6, 10, 0.6);
  backdrop-filter: blur(4px);
  animation: fade 0.2s ease;
}
.sheet-backdrop[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.sheet {
  width: 100%; max-width: 520px;
  max-height: 86vh; display: flex; flex-direction: column;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, #0e2533, #08161f);
  border: 1px solid var(--line-2); border-bottom: 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
  padding-bottom: env(safe-area-inset-bottom);
  animation: sheetUp 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.sheet.tall { height: 86vh; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px; }
.sheet-head h2 { margin: 0; font-size: 18px; font-weight: 800; }
.sheet-body { overflow-y: auto; padding: 0 18px 24px; user-select: text; -webkit-user-select: text; }
.menu-list { padding: 0 10px 16px; display: flex; flex-direction: column; }
.menu-row {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 8px; text-align: left;
  font-size: 15px; font-weight: 600;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.menu-row:last-child { border-bottom: 0; }
.menu-row .chev { color: var(--muted); font-size: 22px; line-height: 1; }

.rules h3 { margin: 20px 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal); }
.rules p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: #bcd0d6; }
.rules p.lead { font-size: 15px; color: var(--text); }
.rules p.fine { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.limits { width: 100%; border-collapse: collapse; font-size: 14px; }
.limits td { padding: 8px 0; border-bottom: 1px solid var(--line); color: #bcd0d6; }
.limits td:last-child { text-align: right; font-weight: 800; color: var(--text); }

.mybets { width: 100%; border-collapse: collapse; font-size: 13px; }
.mybets th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; padding: 6px 4px; border-bottom: 1px solid var(--line-2); }
.mybets td { padding: 9px 4px; border-bottom: 1px solid var(--line); }
.mybets td.r, .mybets th.r { text-align: right; }
.mybets .won { color: var(--green); font-weight: 800; }
.mybets .lost { color: var(--dim); }
.tag { display: inline-block; padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 800; background: rgba(255, 255, 255, 0.06); }
.tag.p0 { color: var(--p0); }
.tag.p1 { color: var(--p1); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- online play ---------- */
.action.busy { filter: saturate(0.5) brightness(0.85); pointer-events: none; }
.bets-pill { cursor: pointer; font: inherit; font-size: 13px; }
.bets-pill:hover { border-color: var(--teal); }
.history .pill[data-round] { cursor: pointer; }
.app.offline .panels { opacity: 0.6; pointer-events: none; transition: opacity 0.3s; }

.freebet {
  display: flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 10px; border-radius: 9px;
  font-size: 12px; font-weight: 700; color: var(--amber);
  background: rgba(255, 194, 75, 0.07);
  border: 1px dashed rgba(255, 194, 75, 0.45);
  min-width: 0;
}
.freebet[hidden] { display: none; }
.freebet svg { width: 16px; height: 16px; flex: none; }
.freebet .fb-l { flex: none; }
.freebet .fb-v { color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.freebet.on { color: #1d1203; background: linear-gradient(135deg, var(--amber), var(--amber-2)); border: 1px solid transparent; }
.freebet.on .fb-v { color: rgba(29, 18, 3, 0.75); }
/* a free bet fixes the stake: the stake controls step aside, the free bet button stays usable */
.panel.fb-on .stepper, .panel.fb-on .chips { opacity: 0.35; pointer-events: none; }

.live-head { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.live-head b { color: var(--text); }
.mybets.live tr.active td:first-child { color: var(--text); }
.mybets.live tr.won td { background: rgba(47, 224, 138, 0.05); }
.wing-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 6px var(--teal); vertical-align: middle; margin-left: 4px; }

.fair { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.fair td { padding: 8px 0; border-bottom: 1px solid var(--line); color: #bcd0d6; vertical-align: top; }
.fair td:first-child { width: 72px; color: var(--muted); }
.fair td.mono { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: 12px; word-break: break-all; color: var(--text); }

@media (max-width: 380px) {
  .panel { padding: 0 8px; gap: 7px; }
  .switch-label { font-size: 11px; }
  .action { height: 66px; }
  .action-amt { font-size: 17px; }
  .brand-logo { height: 28px; }
  .balance { font-size: 14px; }
}
@media (max-height: 640px) {
  .action { height: 60px; }
  .chips button { height: 25px; }
  .stepper { height: 34px; }
}
@media (min-width: 560px) {
  .app { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
