/* Slipcoin app styles — mobile-first. Brand colours come from --primary / --accent (set from Admin → Branding). */
:root {
  --primary: #6d28d9; --accent: #f59e0b; --bg: #f6f5fb; --card: #fff; --text: #17142b; --muted: #625e78;
  --line: #e6e3f0; --soft: #efeafd; --ok: #047857; --warn: #b45309; --bad: #b91c1c; --radius: 16px;
  --shadow: 0 1px 2px rgba(23,20,43,.06), 0 4px 16px rgba(23,20,43,.06);
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121019; --card: #1d1a28; --text: #f1eff8; --muted: #a7a2bd; --line: #2e2a3d; --soft: #2a2540; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--primary); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }
p { margin: 0 0 .75rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1:focus { outline: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--card); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; } .right { text-align: right; }
.error { color: var(--bad); } .plus { color: var(--ok); font-weight: 600; } .minus { color: var(--bad); font-weight: 600; }

#app { max-width: 560px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; position: relative; }
.boot { display: grid; place-items: center; min-height: 100vh; }
.spinner { width: 36px; height: 36px; border: 4px solid var(--soft); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.9s linear infinite; margin: 1rem auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: .5rem; padding: calc(.6rem + var(--safe-t)) 1rem .6rem; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
.top h1 { flex: 1; font-size: 1.15rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .logo { width: 32px; height: 32px; border-radius: 9px; object-fit: contain; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg, .tabs svg { width: 24px; height: 24px; }
.bell .dot { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--bad); color: #fff; font-size: .7rem; line-height: 18px; font-weight: 700; }
.netbar { background: #33313f; color: #fff; padding: .5rem 1rem; font-size: .9rem; }
.demo-bar { background: var(--accent); color: #1b1300; padding: .4rem 1rem; font-size: .85rem; text-align: center; font-weight: 600; }
.main { padding: .5rem 1rem calc(96px + var(--safe-b)); }

/* bottom tabs */
.tabs { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 560px; z-index: 20; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; background: var(--card); border-top: 1px solid var(--line); padding: .35rem .25rem calc(.35rem + var(--safe-b)); }
.tabs a { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 48px; justify-content: center; color: var(--muted); text-decoration: none; font-size: .72rem; border-radius: 12px; }
.tabs a.on { color: var(--primary); font-weight: 700; }
.tabs a.fab { color: #fff; }
.tabs a.fab svg { width: 56px; height: 56px; padding: 15px; margin-top: -26px; border-radius: 50%; background: var(--primary); box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 45%, transparent); }
.tabs a.fab span { color: var(--muted); }

/* cards, buttons, forms */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem; margin: 0 0 1rem; }
.card.hero { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, var(--accent))); color: #fff; }
.card.hero .muted { color: rgba(255,255,255,.85); }
.card.hero .bar { background: rgba(255,255,255,.25); } .card.hero .bar > i { background: #fff; }
.row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; } .row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; display: flex; flex-direction: column; } .end { margin-left: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: .6rem 1.1rem; border: 2px solid var(--primary); border-radius: 12px; background: var(--primary); color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--primary); }
.card.hero .btn.ghost { color: #fff; border-color: #fff; }
.btn.danger { background: var(--bad); border-color: var(--bad); }
.btn.small { min-height: 36px; padding: .3rem .8rem; font-size: .88rem; }
.btn.block { width: 100%; margin-top: .5rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn[aria-busy=true]::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.field { display: block; margin: 0 0 .8rem; }
.field > span { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .25rem; }
input, select, textarea { width: 100%; font: inherit; color: inherit; padding: .7rem .8rem; min-height: 46px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); }
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin: .5rem 0 .8rem; }
.check input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 1px; accent-color: var(--primary); }
.links { text-align: center; margin-top: 1rem; }
.legal { text-align: center; font-size: .85rem; } .legal a { margin: 0 .4rem; color: var(--muted); }
.lang { max-width: 220px; margin: 0 auto 1rem; display: block; }
.note { background: var(--soft); border-radius: 12px; padding: .7rem .9rem; font-size: .92rem; }

/* auth + onboarding */
.auth { padding: calc(2rem + var(--safe-t)) 1rem 2rem; }
.auth-brand { text-align: center; margin-bottom: 1.25rem; }
.auth-brand h1 { font-size: 1.8rem; margin-top: .5rem; }
.logo.big { width: 72px; height: 72px; border-radius: 20px; object-fit: contain; }
.card.demo { border: 2px dashed var(--accent); }
.onboard { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100dvh; padding: 2rem 1.5rem; text-align: center; }
.slide { margin-bottom: 2rem; }
.big-emoji { font-size: 5rem; margin-bottom: 1rem; }
.dots { display: flex; justify-content: center; gap: .4rem; margin: 1rem 0; }
.dots span { width: 8px; height: 8px; border-radius: 4px; background: var(--line); transition: width .2s; }
.dots span.on { width: 22px; background: var(--primary); }

/* home */
.balance { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.balance .big { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; }
.level { margin-top: .9rem; }
.bar { height: 10px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.bar.thin { height: 6px; }
.bar > i { display: block; height: 100%; background: var(--primary); border-radius: inherit; transition: width .4s; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 0 0 1rem; }
.q { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .7rem .2rem; background: var(--card); border-radius: 14px; box-shadow: var(--shadow); text-decoration: none; color: var(--text); font-size: .78rem; font-weight: 600; text-align: center; min-height: 72px; }
.q .emoji { width: 36px; height: 36px; font-size: 1.2rem; }
.sec { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; margin: 1.25rem 0 .6rem; }
.sec a { font-size: .88rem; font-weight: 600; }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
.hscroll > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.offer, .reward { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: .8rem; display: flex; flex-direction: column; gap: .3rem; }
.offer.locked { opacity: .65; }
.ot { font-weight: 700; font-size: .95rem; } .op { color: var(--primary); font-weight: 700; font-size: .9rem; }
.emoji { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 1.4rem; flex: none; }
.pills { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: .6rem; }
.pill { flex: none; border: 1.5px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px; padding: .4rem .9rem; font: inherit; font-size: .88rem; cursor: pointer; min-height: 38px; text-decoration: none; }
.pill.on, .pill[aria-pressed=true], .pill[aria-selected=true] { background: var(--primary); border-color: var(--primary); color: #fff; }

/* scan + receipts */
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; border: 2.5px dashed color-mix(in srgb, var(--primary) 55%, var(--line)); border-radius: var(--radius); padding: 2rem 1rem; text-align: center; cursor: pointer; background: var(--soft); min-height: 180px; font-weight: 700; }
.drop:focus-within { outline: 3px solid var(--accent); }
.drop .big-emoji { font-size: 3rem; margin: 0; }
.tips { padding-left: 1.2rem; margin: .4rem 0 0; } .tips li { margin: .25rem 0; }
.breakdown ul { list-style: none; margin: 0; padding: 0; }
.breakdown li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.total { padding-top: .6rem; }
.items { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.items li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid var(--line); }
.receipt-img { display: block; max-height: 420px; margin: 0 auto; border-radius: 12px; }
.copy { display: flex; gap: .5rem; } .copy input { font-family: ui-monospace, monospace; font-size: .85rem; }
.celebrate { text-align: center; padding: 1.5rem 1rem; }
.celebrate .big { font-size: 3rem; font-weight: 800; color: var(--primary); }
@media (prefers-reduced-motion: no-preference) { .celebrate .big { animation: pop .6s cubic-bezier(.2,1.6,.4,1); } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* lists */
.list { list-style: none; margin: 0 0 1rem; padding: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.list > li + li { border-top: 1px solid var(--line); }
.li { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; color: var(--text); text-decoration: none; min-height: 56px; }
a.li:hover { background: var(--soft); }
.li svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.li.unread { background: color-mix(in srgb, var(--primary) 7%, transparent); }
.li.unread strong::before { content: "● "; color: var(--primary); }
.badge { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--soft); color: var(--muted); white-space: nowrap; }
.s-approved, .s-fulfilled, .s-posted, .s-closed { background: #d1fae5; color: #065f46; }
.s-pending_review, .s-submitted, .s-pending, .s-open { background: #fef3c7; color: #92400e; }
.s-rejected, .s-failed, .s-cancelled, .s-reversed { background: #fee2e2; color: #991b1b; }
.avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--primary); font-weight: 800; flex: none; text-transform: uppercase; }
.lb { list-style: none; padding: 0; margin: 0; }
.lb li { display: flex; justify-content: space-between; padding: .5rem .25rem; border-bottom: 1px solid var(--line); }
.lb li.me { color: var(--primary); font-weight: 700; }
.like { border: 0; background: none; font: inherit; cursor: pointer; padding: .3rem .5rem; border-radius: 8px; color: var(--muted); min-height: 36px; }
.like.on, .like[aria-pressed=true] { color: var(--bad); }
.steps { display: flex; gap: .4rem; padding: 0; margin: .75rem 0 0; list-style: none; flex-wrap: wrap; }
.steps li { flex: 1; min-width: 70px; display: flex; flex-direction: column; align-items: center; padding: .5rem; border-radius: 10px; background: rgba(255,255,255,.18); font-size: .8rem; }
.steps li.on { background: #fff; color: var(--primary); }
.reply { margin: .4rem 0 0; padding: .5rem .7rem; border-left: 3px solid var(--primary); background: var(--soft); border-radius: 0 8px 8px 0; font-size: .92rem; }

/* spin wheel */
.wheel-wrap { position: relative; width: 280px; height: 280px; margin: 1rem auto; }
.wheel { width: 100%; height: 100%; border-radius: 50%; position: relative; border: 6px solid var(--card); box-shadow: var(--shadow); }
.wheel span { position: absolute; left: 50%; top: 50%; margin: -12px 0 0 -24px; width: 48px; text-align: center; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.pointer { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 1.6rem; color: var(--text); }

/* toast */
#toast { position: fixed; left: 50%; bottom: calc(92px + var(--safe-b)); transform: translateX(-50%) translateY(20px); max-width: min(92vw, 480px); background: #22202e; color: #fff; padding: .75rem 1rem; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.bad { background: var(--bad); }
.empty { text-align: center; padding: 2rem 1rem; color: var(--muted); }

@media (min-width: 600px) {
  .main { padding-left: 1.25rem; padding-right: 1.25rem; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hscroll { grid-auto-columns: 31%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) { .btn, .pill, .card { border: 1px solid CanvasText; } }

/* ===== v1.1 "Glow" theme: deep navy + violet/blue/cyan gradient, high contrast, colour-blind safe (status = icon + text). ===== */
:root, :root[style] { --bg: #0b0b1a; --card: #151530; --card2: #1c1c3d; --text: #f5f5ff; --muted: #c9c9e3; --line: rgba(255,255,255,.18); --line2: rgba(255,255,255,.5);
  --soft: #23234a; --hi: #9fd8ff; --ok: #3ee08f; --warn: #ffc24b; --bad: #ff6b6b; --radius: 18px;
  --grad: linear-gradient(90deg, var(--primary, #6d4dff), #1157d5 55%, #0fb7cc); --shadow: 0 10px 30px rgba(0,0,0,.35); color-scheme: dark; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 17px;
  background: radial-gradient(900px 500px at 0% -5%, rgba(124,92,255,.28), transparent 60%), radial-gradient(700px 500px at 100% 10%, rgba(20,210,230,.16), transparent 60%), var(--bg); background-attachment: fixed; }
a { color: var(--hi); text-underline-offset: 3px; }
h1, h2, h3 { color: #fff; font-weight: 800; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.skip { background: #fff; color: #000; font-weight: 700; }
.top { background: rgba(11,11,26,.82); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding-left: calc(1rem + env(safe-area-inset-left, 0px)); padding-right: calc(1rem + env(safe-area-inset-right, 0px)); }
.icon-btn { color: #fff; } .icon-btn:hover { background: var(--soft); }
.bell .dot { background: #fff; color: #000; border: 2px solid var(--bg); }
.main { padding-left: calc(1rem + env(safe-area-inset-left, 0px)); padding-right: calc(1rem + env(safe-area-inset-right, 0px)); }
.tabs { background: rgba(17,17,42,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line2); }
.tabs a { color: var(--muted); font-size: .75rem; font-weight: 600; min-height: 52px; }
.tabs a.on { color: #fff; } .tabs a.on:not(.fab) svg { stroke-width: 2.6; } .tabs a.on:not(.fab) span { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.tabs a.fab svg { background: var(--grad); box-shadow: 0 8px 24px rgba(17,87,213,.55); border: 2px solid #fff; }
.card, .offer, .reward, .q, .list { background: var(--card); border: 1px solid var(--line); box-shadow: none; }
.card.hero { background: var(--grad); border: 0; box-shadow: 0 14px 40px rgba(17,87,213,.45); }
.card.hero .muted { color: #fff; opacity: .92; }
.card.demo { border: 2px dashed var(--warn); }
.btn { background: var(--grad); border: 2px solid transparent; border-radius: 12px; min-height: 48px; box-shadow: 0 8px 24px rgba(17,87,213,.35); transition: transform .15s; }
.btn:hover { filter: none; transform: translateY(-1px); border-color: #fff; }
.btn.ghost { background: rgba(255,255,255,.04); border-color: var(--line2); color: #fff; box-shadow: none; }
.btn.ghost:hover { border-color: #fff; text-decoration: underline; }
.btn.danger { background: #b91c1c; border-color: #fff; }
.btn.small { min-height: 44px; }
input, select, textarea { background: #0f0f25; border: 2px solid var(--line2); color: #fff; font-size: 16px; }
input::placeholder, textarea::placeholder { color: #a9a9cc; }
input:focus, select:focus, textarea:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(159,216,255,.35); }
.note { background: var(--card2); border: 1px solid var(--line); border-left: 4px solid var(--hi); }
.pill { background: var(--card); border: 2px solid var(--line2); color: #fff; min-height: 44px; font-weight: 600; }
.pill.on, .pill[aria-pressed=true], .pill[aria-selected=true] { background: #fff; border-color: #fff; color: #0b0b1a; }
.pill.on::before, .pill[aria-selected=true]::before { content: "✓ "; }
.op, .celebrate .big, .lb li.me { color: var(--hi); }
.drop { background: var(--card2); border-color: var(--hi); }
.bar { background: rgba(255,255,255,.14); } .bar > i { background: var(--grad); }
.li { color: var(--text); min-height: 60px; } a.li:hover { background: var(--card2); }
.li.unread { background: rgba(159,216,255,.08); } .li.unread strong::before { color: var(--hi); }
.avatar { background: var(--grad); color: #fff; }
.badge { background: var(--soft); color: #fff; border: 1px solid var(--line2); }
.s-approved, .s-fulfilled, .s-posted, .s-closed { background: #0d3b2a; color: #b9ffd9; border-color: var(--ok); }
.s-pending_review, .s-submitted, .s-pending, .s-open { background: #3d2e05; color: #ffe7a8; border-color: var(--warn); }
.s-rejected, .s-failed, .s-cancelled, .s-reversed { background: #431414; color: #ffd0d0; border-color: var(--bad); }
.s-approved::before, .s-fulfilled::before, .s-posted::before, .s-closed::before { content: "✓ "; }
.s-pending_review::before, .s-submitted::before, .s-pending::before, .s-open::before { content: "⏳ "; }
.s-rejected::before, .s-failed::before, .s-cancelled::before, .s-reversed::before { content: "✕ "; }
.plus::before { content: ""; } .minus { color: #ffb4b4; }
.error { color: #ffb4b4; font-weight: 600; } .error::before { content: "⚠ "; }
.demo-bar { background: var(--warn); color: #1b1300; } .netbar { background: #2a2a55; }
#toast { background: #fff; color: #0b0b1a; font-weight: 600; border: 2px solid #0b0b1a; } #toast.bad { background: #ffd0d0; color: #3a0000; } #toast.bad::before { content: "⚠ "; }
.wheel { border-color: #fff; } .pointer { color: #fff; }
.reply { border-left-color: var(--hi); background: var(--card2); }
.steps li.on { color: #0b0b1a; }
.legal a { color: var(--muted); text-decoration: underline; }
.dots span.on { background: #fff; }
.auth { max-width: 460px; margin: 0 auto; }
/* ads + AI + near-me (v1.1) */
.ad-slot { margin: 1rem 0; padding: .5rem; border: 1px dashed var(--line2); border-radius: 12px; min-height: 60px; text-align: center; }
.ad-slot > .ad-label { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; }
.consent { position: fixed; left: .75rem; right: .75rem; bottom: calc(84px + var(--safe-b)); z-index: 60; max-width: 540px; margin: 0 auto; background: var(--card2); border: 2px solid var(--line2); border-radius: 14px; padding: .9rem; box-shadow: var(--shadow); }
.chat { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.msg { padding: .7rem .9rem; border-radius: 14px; max-width: 88%; white-space: pre-wrap; word-break: break-word; border: 1px solid var(--line); }
.msg.me { align-self: flex-end; background: var(--soft); } .msg.ai { align-self: flex-start; background: var(--card); }
.msg.ai::before { content: "✦ AI · "; font-weight: 700; color: var(--hi); }
.dist { display: inline-block; font-weight: 700; color: #fff; } .dist::before { content: "📍 "; }
@media (min-width: 900px) {
  #app { max-width: 980px; }
  .main { padding: 1rem 2rem 120px; }
  .tabs { max-width: 620px; bottom: 16px; border: 1px solid var(--line2); border-radius: 20px; padding-bottom: .35rem; }
  .grid { grid-template-columns: repeat(3, 1fr); } .hscroll { grid-auto-columns: 30%; }
  .quick { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 380px) { .quick { grid-template-columns: repeat(4, 1fr); gap: .35rem; } .q { font-size: .72rem; } .balance .big { font-size: 2.1rem; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.row.wrap { flex-wrap: wrap; gap: .5rem; } .pills { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; } .pills .pill { white-space: nowrap; display: inline-flex; align-items: center; }
.seg { border: 0; padding: 0; margin: 0 0 .75rem; }
