:root {
  --bg: #0A1020; --bg2: #0E1730; --surface: #151F38; --surface2: #1C2847; --line: #2A3A60;
  --ink: #F7F2E7; --ink2: #C9CFDD; --muted: #8C97B2;
  --gold: #E8B84A; --gold-d: #B0841F; --silver: #CDD5E0; --ok: #3DDC97; --bad: #FF8080; --warn: #FFC857;
  --head: "Space Grotesk", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.15; letter-spacing: -.2px; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--np-ring); outline-offset: 2px; }

/* ============ stage: phone frame on desktop, full screen on phones ============ */
.stage { min-height: 100dvh; }
.device { position: relative; }
.screen { position: relative; background: var(--bg); }
.layer { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
.layer > * { pointer-events: auto; }
.side { display: none; }

@media (min-width: 960px) {
  .stage.framed { display: grid; grid-template-columns: minmax(260px, 340px) 410px; gap: 56px; justify-content: center; align-items: start; padding: 36px 24px 48px; background: radial-gradient(1200px 600px at 70% -10%, #18264A 0%, var(--bg) 60%); }
  .stage.framed .side { display: block; position: sticky; top: 36px; }
  .stage.framed .device { width: 410px; height: min(864px, calc(100dvh - 72px)); min-height: 640px; padding: 10px; border-radius: 52px; background: #04070E; box-shadow: 0 0 0 2px #1D2A48, 0 0 0 9px #0C1322, 0 40px 90px rgba(0,0,0,.55); }
  .stage.framed .device::before { content: ""; position: absolute; top: 20px; left: 50%; width: 112px; height: 30px; margin-left: -56px; border-radius: 20px; background: #000; z-index: 60; }
  .stage.framed .screen { height: 100%; border-radius: 42px; overflow: hidden auto; scrollbar-width: none; }
  .stage.framed .screen::-webkit-scrollbar { display: none; }
  .stage.framed .layer { position: absolute; inset: 10px; border-radius: 42px; overflow: hidden; }
  .stage.framed .scr { min-height: 100%; }
  .stage.framed .scr-head { padding-top: 54px; }
}

/* side panel (desktop only) */
.side .crumb svg { width: 16px; height: 16px; }
.side .crumb { display: inline-flex; white-space: nowrap; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; text-decoration: none; margin-bottom: 18px; }
.side h2 { font-size: 26px; margin-bottom: 6px; }
.side .sub { color: var(--ink2); font-size: 14px; margin-bottom: 20px; }
.side ol { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 4px; }
.side ol a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; color: var(--ink2); text-decoration: none; font-size: 14px; border-radius: 3px 0 0 0; }
.side ol a:hover { background: #121C35; color: var(--ink); }
.side ol a.on { background: #1C2847; color: var(--ink); box-shadow: inset 3px 0 0 var(--gold); }
.side ol a .n { width: 22px; height: 22px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: #22305A; color: var(--ink2); }
.side ol a.on .n { background: var(--gold); color: #1A1405; }
.side .demo { padding: 14px; background: #0F182E; box-shadow: inset 0 0 0 1px #24345A; margin-top: 8px; }
.side .demo h4 { font-family: var(--body); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.side .demo .row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.side .note { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.side .note b { color: var(--ink2); }
.mini { min-height: 32px; padding: 0 10px; border: 0; background: #1C2847; color: var(--ink2); font: 600 12.5px/1 var(--body); cursor: pointer; box-shadow: inset 0 0 0 1px #34467A; border-radius: 2px 0 0 0; }
.mini[aria-pressed="true"] { background: var(--gold); color: #1A1405; box-shadow: 2px 2px 0 #7D5C12; }

/* ============ screen scaffold ============ */
.scr { display: flex; flex-direction: column; min-height: 100dvh; }
.scr-head { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(10,16,32,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.scr-head .ttl { flex: 1; font: 600 15px/1.3 var(--body); text-align: center; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 3px; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:active { background: #16213C; }
.progress { height: 4px; background: #1A2543; margin: 0 16px; }
.progress > i { display: block; height: 100%; background: var(--gold); transition: width .3s ease; }
.scr-body { flex: 1; padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 18px; }
.scr-foot { position: sticky; bottom: 0; z-index: 5; padding: 12px 20px calc(16px + var(--safe-b)); background: linear-gradient(to top, var(--bg) 70%, rgba(10,16,32,0)); display: grid; gap: 10px; }
.scr-foot .hint { text-align: center; color: var(--muted); font-size: 12.5px; }

.eyebrow { font: 700 12px/1.2 var(--body); letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); }
.h1 { font: 700 28px/1.12 var(--head); }
.h2 { font: 700 21px/1.2 var(--head); }
.lead { color: var(--ink2); font-size: 15px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.gold { color: var(--gold); }
.ok { color: var(--ok); }
.bad { color: var(--bad); }
.row { display: flex; align-items: center; gap: 10px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack { display: grid; gap: 10px; }
.wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.hr { height: 1px; background: #22305A; margin: 4px 0; }

/* fields */
.field { display: grid; gap: 6px; }
.field label { font: 600 13px/1.3 var(--body); color: var(--ink2); }
.input { display: flex; align-items: center; min-height: 54px; background: #0F182E; box-shadow: inset 0 0 0 1.5px #2D3E66; border-radius: 3px 0 0 0; padding: 0 14px; gap: 8px; }
.input:focus-within { box-shadow: inset 0 0 0 2px var(--gold); }
.input.err { box-shadow: inset 0 0 0 2px var(--bad); }
.input input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; color: var(--ink); font: 600 18px/1 var(--body); outline: none; }
.input input::placeholder { color: #55618A; font-weight: 500; }
.input .pre { color: var(--ink2); font-weight: 600; font-size: 17px; }
.input .suf { color: var(--muted); font-size: 13px; white-space: nowrap; }
.err-msg { color: var(--bad); font-size: 13px; min-height: 18px; }
.help { color: var(--muted); font-size: 12.5px; }
.amount-input { min-height: 72px; }
.amount-input input { font: 700 36px/1 var(--head); height: 70px; }
.amount-input .pre { font: 700 30px/1 var(--head); color: var(--gold); }
.otp-input input { letter-spacing: 14px; font: 700 28px/1 var(--head); text-align: center; padding-left: 14px; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--ink2); }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--gold); flex: none; }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; background: #2A3A60; border-radius: 2px 0 0 0; transition: background .15s; }
.switch i::after { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; background: var(--ink); transition: transform .15s; box-shadow: 2px 2px 0 #8C8269; }
.switch input:checked + i { background: var(--gold); }
.switch input:checked + i::after { transform: translateX(20px); background: #1A1405; box-shadow: none; }
.switch input:focus-visible + i { outline: 2px solid var(--np-ring); outline-offset: 2px; }

/* meters */
.meter { height: 12px; background: #0F182E; box-shadow: inset 0 0 0 1px #2D3E66; position: relative; overflow: hidden; }
.meter > i { position: absolute; inset: 0 auto 0 0; background: repeating-linear-gradient(135deg, #E8B84A 0 10px, #F2CB6B 10px 20px); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.meter.silver > i { background: repeating-linear-gradient(135deg, #CDD5E0 0 10px, #E6EBF2 10px 20px); }

.kv { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 600; }

/* list rows */
.opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 14px; border: 0; background: #121C35; color: var(--ink); text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1px #26365E; font: 600 15px/1.3 var(--body); border-radius: 3px 0 0 0; }
.opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--gold); background: #1A2240; }
.opt .av { width: 40px; height: 40px; flex: none; display: grid; place-items: center; font: 700 15px var(--head); color: #121A2E; border-radius: 2px 0 0 0; }
.opt .radio { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px #4A5D8C; flex: none; }
.opt[aria-checked="true"] .radio { box-shadow: inset 0 0 0 7px var(--gold); }

/* coin art */
.coin { --s: 120px; width: var(--s); height: var(--s); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #FFE7A3, #E8B84A 45%, #9C7417 100%); box-shadow: inset 0 0 0 6px rgba(255,255,255,.18), inset 0 -8px 16px rgba(0,0,0,.25), 6px 6px 0 #7D5C12; color: #5A410A; font: 700 calc(var(--s) * .2)/1 var(--head); }
.coin.silver { background: radial-gradient(circle at 35% 30%, #FFFFFF, #CDD5E0 45%, #7E8899 100%); box-shadow: inset 0 0 0 6px rgba(255,255,255,.3), inset 0 -8px 16px rgba(0,0,0,.2), 6px 6px 0 #5E6878; color: #4B5466; }
.coin.spin { animation: coin-spin 1.4s cubic-bezier(.2,.8,.2,1) 1; }
@keyframes coin-spin { 0% { transform: rotateY(0) scale(.6); opacity: 0; } 60% { transform: rotateY(540deg) scale(1.05); opacity: 1; } 100% { transform: rotateY(720deg) scale(1); } }
.coins { display: flex; align-items: center; justify-content: center; gap: 0; }
.coins .coin + .coin { margin-left: -28px; }

/* ============ overlay: sheet, toast ============ */
.scrim { position: absolute; inset: 0; background: rgba(3,6,14,.62); opacity: 0; transition: opacity .2s; }
.scrim.in { opacity: 1; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88%; overflow: auto; background: #111A30; padding: 10px 20px calc(20px + var(--safe-b)); transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); border-top: 2px solid var(--gold); box-shadow: 0 -20px 60px rgba(0,0,0,.45); }
.sheet.in { transform: none; }
.sheet .grab { width: 44px; height: 4px; background: #34467A; margin: 0 auto 14px; }
.sheet h3 { font: 700 22px/1.2 var(--head); margin: 10px 0 8px; }
.sheet .body { color: var(--ink2); font-size: 15px; display: grid; gap: 12px; }
.sheet .acts { display: grid; gap: 12px; margin-top: 20px; }
.toast { position: absolute; left: 16px; right: 16px; bottom: calc(96px + var(--safe-b)); padding: 14px 16px; background: #F7F2E7; color: #121A2E; font-weight: 600; font-size: 14px; box-shadow: 4px 4px 0 #8C8269; transform: translateY(20px); opacity: 0; transition: all .25s; display: flex; gap: 10px; align-items: center; }
.toast.in { transform: none; opacity: 1; }
.toast svg { width: 18px; height: 18px; color: #1F8F5D; flex: none; }

/* event log (developer view) */
.events { position: fixed; left: 12px; bottom: 12px; width: 300px; max-height: 46vh; overflow: auto; background: rgba(6,10,20,.94); box-shadow: inset 0 0 0 1px #2A3A60; z-index: 90; font: 12px/1.4 ui-monospace, Menlo, monospace; color: #B8C2DA; }
.events header { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; background: #0E1730; color: var(--gold); font-weight: 700; }
.events header button { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; }
.events ol { list-style: none; margin: 0; padding: 6px 10px 10px; display: grid; gap: 6px; }
.events li b { color: #F7F2E7; }
.events li span { color: #6D7898; }

/* ============ hub ============ */
.hub { max-width: 1120px; margin: 0 auto; padding: 40px 24px 80px; }
.hub-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--head); letter-spacing: .5px; color: var(--ink); text-decoration: none; }
.brand .mk { width: 30px; height: 30px; display: grid; place-items: center; background: var(--gold); color: #1A1405; font-size: 17px; box-shadow: 3px 3px 0 #7D5C12; border-radius: 2px 0 0 0; }
.hub h1 { font: 700 clamp(30px, 4.4vw, 50px)/1.05 var(--head); margin: 18px 0 12px; max-width: 760px; }
.hub .lead { max-width: 680px; font-size: 16px; }
.flows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 22px 20px; margin-top: 28px; }
.flow h3 { font-size: 21px; margin: 12px 0 6px; }
.flow p { color: var(--ink2); font-size: 14px; }
.flow ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.flow li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 12px; background: #0F182E; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; box-shadow: inset 0 0 0 1px #24345A; border-radius: 2px 0 0 0; }
.flow li a:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.flow li a svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.flow.soon { opacity: .62; }
.flow .num { font: 700 13px/1 var(--head); color: var(--muted); }
.settings { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.settings h4 { font-family: var(--body); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.settings p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.foot-note { margin-top: 40px; color: var(--muted); font-size: 13px; max-width: 820px; }

/* ============ web home (augmont.com SIP-first) ============ */
.web { min-height: 100dvh; background: var(--bg); }
.web-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px clamp(16px, 5vw, 64px); background: rgba(10,16,32,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #18233F; }
.web-nav nav { display: flex; gap: 22px; flex: 1; }
.web-nav nav a { color: var(--ink2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.web-nav nav a.on { color: var(--ink); box-shadow: 0 2px 0 var(--gold); }
.web-nav .acts { display: flex; gap: 12px; align-items: center; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 6vw, 72px) clamp(16px, 5vw, 64px) 40px; max-width: 1280px; margin: 0 auto; }
.hero h1 { font: 700 clamp(36px, 5.2vw, 66px)/1.02 var(--head); letter-spacing: -1px; margin: 16px 0 16px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: clamp(16px, 1.4vw, 19px); max-width: 520px; }
.hero .bul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.hero .bul li { display: flex; gap: 10px; align-items: center; color: var(--ink2); }
.hero .bul svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.calc { padding: 22px; }
.calc .res { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 18px; }
.calc .res > div { background: #0F182E; padding: 12px; box-shadow: inset 0 0 0 1px #24345A; }
.calc .res b { display: block; font: 700 22px/1.15 var(--head); margin-top: 4px; }
.calc .res .silv b { color: var(--silver); }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1280px; margin: 0 auto; padding: 12px clamp(16px, 5vw, 64px) 40px; }
.strip > div { padding: 16px; background: #0F182E; box-shadow: inset 0 0 0 1px #1F2D52; }
.strip b { display: block; font: 700 17px/1.2 var(--head); margin-bottom: 4px; }
.strip span { color: var(--muted); font-size: 13.5px; }
.sec { max-width: 1280px; margin: 0 auto; padding: 48px clamp(16px, 5vw, 64px); }
.sec h2 { font: 700 clamp(26px, 3vw, 38px)/1.1 var(--head); margin: 10px 0 24px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps3 .np-card h3 { font-size: 19px; margin: 10px 0 6px; }
.steps3 .np-card p { color: var(--ink2); font-size: 14.5px; }
.steps3 .big { font: 700 40px/1 var(--head); color: var(--gold); }
.goals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.goals button.np-card { padding: 18px; }
.goals .g-t { font: 700 18px/1.2 var(--head); margin-top: 10px; }
.goals .g-s { color: var(--ink2); font-size: 13.5px; margin-top: 4px; }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #0F182E; box-shadow: inset 0 0 0 1px #22305A; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--gold); font: 700 20px/1 var(--head); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; color: var(--ink2); font-size: 14.5px; }
.web-foot { border-top: 1px solid #18233F; padding: 28px clamp(16px, 5vw, 64px) 110px; color: var(--muted); font-size: 12.5px; max-width: 1280px; margin: 0 auto; display: grid; gap: 10px; }
.resume { max-width: 1280px; margin: 16px auto 0; padding: 0 clamp(16px, 5vw, 64px); }
.resume .np-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.mob-cta { display: none; }

@media (max-width: 900px) {
  .web-nav nav { display: none; }
  .web-nav { gap: 12px; justify-content: space-between; }
  .web-nav .acts .np-btn { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .strip, .steps3 { grid-template-columns: 1fr 1fr; }
  .goals { grid-template-columns: 1fr 1fr; }
  .mob-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(14px + var(--safe-b)); background: linear-gradient(to top, var(--bg) 75%, rgba(10,16,32,0)); }
}
@media (max-width: 560px) {
  .strip, .steps3 { grid-template-columns: 1fr; }
  .calc .res b { font-size: 19px; }
}

/* ============ WhatsApp-style chat (own styling) ============ */
.chat-scr { background: #0B1424; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #13213B; position: sticky; top: 0; z-index: 5; }
.chat-head .av { width: 40px; height: 40px; display: grid; place-items: center; background: var(--gold); color: #1A1405; font: 700 18px var(--head); border-radius: 50%; }
.chat-head .who b { display: block; font-size: 15.5px; }
.chat-head .who span { font-size: 12px; color: var(--muted); }
.chat-body { flex: 1; padding: 14px 12px 8px; display: flex; flex-direction: column; gap: 8px; background-image: radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px); background-size: 18px 18px; }
.day { align-self: center; font-size: 11.5px; color: var(--ink2); background: #18263F; padding: 4px 10px; margin: 6px 0; }
.bub { max-width: 84%; padding: 9px 11px 6px; font-size: 14.5px; line-height: 1.42; position: relative; white-space: pre-line; }
.bub .tm { display: block; text-align: right; font-size: 10.5px; color: rgba(247,242,231,.55); margin-top: 3px; }
.bub.bot { align-self: flex-start; background: #1B2A47; border-radius: 0 8px 8px 8px; }
.bub.me { align-self: flex-end; background: #2C5641; border-radius: 8px 0 8px 8px; }
.bub .btns { display: grid; gap: 1px; margin: 8px -11px -6px; border-top: 1px solid #2A3B5E; }
.bub .btns button { min-height: 42px; border: 0; background: #1B2A47; color: #7FD4FF; font: 600 14.5px var(--body); cursor: pointer; border-top: 1px solid #24365A; }
.bub .btns button:first-child { border-top: 0; }
.bub .btns button:disabled { color: #5B6A88; cursor: default; }
.bub .btns button:not(:disabled):active { background: #22345A; }
.typing { align-self: flex-start; background: #1B2A47; padding: 10px 14px; border-radius: 0 8px 8px 8px; display: flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8C97B2; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-input { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 8px 10px calc(10px + var(--safe-b)); background: #0B1424; }
.chat-input input { flex: 1; min-width: 0; height: 46px; border: 0; padding: 0 16px; background: #1B2A47; color: var(--ink); font: 15px var(--body); border-radius: 23px; outline: none; }
.chat-input input:focus { box-shadow: inset 0 0 0 1.5px var(--gold); }
.chat-input button { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--gold); color: #1A1405; display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-input button svg { width: 20px; height: 20px; }
.chat-tools { display: flex; gap: 6px; padding: 0 10px 6px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .coin.spin, .typing i { animation: none; }
  .sheet, .toast, .scrim, .meter > i { transition: none; }
}

/* ============ Flow 2: app screens ============ */
.tabbar { position: sticky; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(3, 1fr); background: #0D162B; border-top: 1px solid #1F2D52; padding-bottom: var(--safe-b); }
.tabbar a { display: grid; justify-items: center; gap: 3px; padding: 9px 0 10px; color: var(--muted); text-decoration: none; font-size: 11.5px; font-weight: 600; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.on { color: var(--gold); }
.hello { display: flex; align-items: center; gap: 10px; flex: 1; }
.hello .av { width: 38px; height: 38px; display: grid; place-items: center; background: #22305A; color: var(--ink); font: 700 15px var(--head); border-radius: 2px 0 0 0; }
.hello b { display: block; font-size: 15px; } .hello span { font-size: 12px; color: var(--muted); }
.bal { padding: 18px; }
.bal .big { font: 700 34px/1 var(--head); margin: 8px 0 4px; }
.bal .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.bal .row2 > div { background: #141A2E; padding: 10px; box-shadow: inset 0 0 0 1px #2E2A1A; }
.bal .row2 b { display: block; font: 700 16px/1.2 var(--head); margin-top: 2px; }
.banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: linear-gradient(90deg, #3A2D0B, #2A2210); box-shadow: inset 0 0 0 1px rgba(232,184,74,.5); color: var(--ink); text-decoration: none; border-radius: 3px 0 0 0; border: 0; width: 100%; text-align: left; cursor: pointer; font: inherit; }
.banner .t1 { font-weight: 700; } .banner .t2 { font-size: 12.5px; color: #E9D9AE; }
.banner svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.banner .go { margin-left: auto; }
.dots { display: flex; gap: 6px; margin-top: 10px; }
.dots i { flex: 1; height: 26px; background: #0F182E; box-shadow: inset 0 0 0 1px #2D3E66; display: grid; place-items: center; font: 600 10.5px var(--body); font-style: normal; color: var(--muted); }
.dots i.on { background: var(--gold); color: #1A1405; box-shadow: 2px 2px 0 #7D5C12; }
.dots i.miss { background: #2A1A22; box-shadow: inset 0 0 0 1px #6B3040; color: var(--bad); }
.act-list { display: grid; gap: 0; }
.act-list > div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid #1C2847; font-size: 14px; }
.act-list .s { color: var(--muted); font-size: 12px; }
.chip-st { display: inline-block; padding: 2px 8px; font: 700 11px/16px var(--body); letter-spacing: .5px; text-transform: uppercase; background: #1D3B30; color: var(--ok); }
.chip-st.paused { background: #3A3216; color: var(--warn); }
.chip-st.stopped { background: #3A1E26; color: var(--bad); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; padding: 8px 6px; border-bottom: 1px solid #22305A; }
.tbl td { padding: 9px 6px; border-bottom: 1px solid #1A2543; }
.strike { text-decoration: line-through; color: var(--muted); }
.pill-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: #3A2D0B; color: var(--gold); font: 700 12.5px var(--body); box-shadow: inset 0 0 0 1px rgba(232,184,74,.5); }
.mini:disabled { opacity: .45; cursor: not-allowed; }
