/* [FORMATTING] Golf Swindle — modern app styling (DECISIONS.md T9).
   Ink-navy header, white rounded cards on a cool grey canvas, indigo primary, lime "live/leader" accent.
   Sized for one-handed use outdoors: 48px+ targets, 30px score digits, strong contrast. */
:root {
  --bg: #F3F5F9; --surface: #FFFFFF; --ink: #0F172A; --ink-2: #334155; --muted: #5B6B82; --line: #E2E8F0; --line-2: #EEF1F6;
  --brand: #4F46E5; --brand-600: #4338CA; --brand-50: #EEF2FF; --brand-100: #E0E7FF;
  --night: #0B1324; --night-2: #1E1B4B;
  --lime: #A3E635; --lime-ink: #1A2E05; --lime-50: #F3FCE4;
  --red: #DC2626; --green: #16A34A; --amber: #F59E0B;
  --r: 14px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 6px 20px rgba(15, 23, 42, .06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
button:disabled { cursor: default; opacity: .4; }
input, select, textarea { font: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 2px; }

/* ---------- utilities ---------- */
.ic { flex-shrink: 0; vertical-align: middle; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; }
.row.gap { gap: 10px; } .row.between { justify-content: space-between; gap: 10px; } .row.wrap { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.center { text-align: center; } .r { text-align: right; } .c { text-align: center; }
.block { display: block; width: 100%; }
.mt { margin-top: 12px; } .mt-s { margin-top: 6px; }
.pad { padding: 14px 16px; } .pad-x { padding: 0 16px; margin: 12px 0; } .pad-b { padding-bottom: 14px; } .pad-y { padding: 8px 0; }
.self-c { align-self: center; margin-right: 14px; }
.num { font-variant-numeric: tabular-nums; }
.strong { font-weight: 650; } .small { font-size: 13px; } .big { font-size: 21px; font-weight: 750; }
.muted { color: var(--muted); } .gold { color: var(--brand); } .green { color: var(--green); }
.under, .under-cell { color: var(--red); } .over, .over-cell { color: var(--ink-2); }
.light { color: rgba(255, 255, 255, .78); }
.serif { font-weight: 800; }
.empty { padding: 24px 16px; color: var(--muted); text-align: center; margin: 0; }
.note { font-size: 12.5px; color: var(--muted); padding: 0 16px 14px; margin: 6px 0 0; }

/* ---------- type ---------- */
.eyebrow { font-weight: 650; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.label { font-weight: 600; font-size: 11.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.display { font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 0; color: var(--ink); }

/* ---------- shell ---------- */
.demo-bar { background: var(--lime); color: var(--lime-ink); text-align: center; font-size: 12.5px; padding: 6px 10px; font-weight: 650; }
.shell { min-height: 100vh; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.top { background: var(--night); color: #fff; }
.top.desktop { display: none; }
.top-row { display: flex; align-items: center; justify-content: space-between; padding: max(14px, env(safe-area-inset-top)) 16px 12px; }
.bell { color: rgba(255, 255, 255, .75); display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.section-title { padding: 0 16px 14px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-logo { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: -.01em; opacity: .9; }
.brand.compact .brand-name { font-size: 16px; opacity: 1; }
main { max-width: 1100px; margin: 0 auto; }
.top.slim .slim-row { display: flex; align-items: center; justify-content: space-between; padding: max(12px, env(safe-area-inset-top)) 16px 12px; }
.slim-brand { font-weight: 700; color: #fff; font-size: 15px; }
.slim-title { padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }

.bottom-nav { position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; background: rgba(11, 19, 36, .96); border-radius: 22px; box-shadow: 0 10px 30px rgba(15, 23, 42, .25); backdrop-filter: blur(8px); }
.bottom-nav ul { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 520px; margin: 0 auto; padding: 6px; list-style: none; }
.bottom-nav a { height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: rgba(255, 255, 255, .62); font-size: 11px; font-weight: 600; border-radius: 16px; }
.bottom-nav a.on { color: var(--lime-ink); background: var(--lime); }

.banner { padding: 12px 12px 0; }
.banner-in { max-width: 760px; margin: 0 auto; display: flex; gap: 12px; align-items: flex-start; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--r); padding: 12px 14px; }
.banner .eyebrow { font-size: 11px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px; color: var(--muted); border-radius: 10px; min-width: 40px; min-height: 40px; }
.icon-btn.round { width: 40px; height: 40px; border-radius: 50%; background: var(--line-2); color: var(--ink); }

@media (min-width: 1024px) {
  .top.mobile, .bottom-nav { display: none; }
  .top.desktop { display: block; }
  .top-desk { max-width: 1100px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; gap: 28px; }
  .top-desk nav { display: flex; gap: 6px; flex: 1; }
  .nav-link { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); padding: 8px 14px; border-radius: 999px; }
  .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
  .nav-link.on { color: var(--lime-ink); background: var(--lime); }
  .shell { padding-bottom: 40px; }
  .page { padding: 24px 32px; }
}

/* ---------- layout & cards ---------- */
.page { padding-bottom: 24px; }
.page.narrow { max-width: 680px; margin: 0 auto; }
@media (min-width: 1024px) { .home { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; } .col-side .panel:first-child { margin-top: 0; } }
.panel { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); margin: 14px 12px 0; overflow: hidden; }
@media (min-width: 1024px) { .panel { margin: 16px 0 0; } .pad-x { padding: 0; } }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px; }
.panel-head h2 { font-size: 16px; font-weight: 750; letter-spacing: -.01em; margin: 0; }
.panel-foot { border-top: 1px solid var(--line-2); padding: 12px 16px; text-align: right; }
.panel-foot .eyebrow, .panel-head .eyebrow { color: var(--brand); text-transform: none; letter-spacing: 0; font-size: 14px; }
.list { display: flex; flex-direction: column; }
.grid3, .grid4 { display: grid; gap: 10px; margin: 12px 12px 0; }
.grid3 { grid-template-columns: repeat(3, 1fr); } .grid4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .grid3, .grid4 { margin: 16px 0 0; } }
.grid3 > div, .grid4 > div { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 14px; }
dd { margin: 4px 0 0; }
.stat-row { display: flex; gap: 8px; padding: 12px; background: var(--line-2); }
.stat-row > div { flex: 1; background: var(--surface); border-radius: var(--r-sm); text-align: center; padding: 10px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.scroll-x { overflow-x: auto; }

/* hero: a gradient card, not a photo */
.hero { margin: 12px 12px 0; border-radius: 20px; background: radial-gradient(120% 140% at 100% 0%, #4F46E5 0%, var(--night-2) 45%, var(--night) 100%); color: #fff; overflow: hidden; position: relative; }
.hero::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(163, 230, 53, .35), transparent 65%); }
.hero-in { padding: 20px 20px 22px; position: relative; z-index: 1; }
.hero-title { color: #fff; font-size: 28px; margin: 6px 0 4px; }
.hero .eyebrow { color: var(--lime); }
.hero .eyebrow.light { color: rgba(255, 255, 255, .75); }
@media (min-width: 1024px) { .hero { margin: 0; } .hero-in { padding: 28px; } .hero-title { font-size: 36px; } }
.player-hero .back { position: absolute; left: 12px; top: 12px; z-index: 2; background: rgba(255, 255, 255, .14); color: #fff; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.player-hero .hero-in { padding-top: 64px; }

/* ---------- buttons & inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; padding: 12px 18px; min-height: 48px; font-size: 15px; font-weight: 650; border-radius: 12px; text-align: center; box-shadow: 0 1px 2px rgba(79, 70, 229, .3); }
.btn:hover { background: var(--brand-600); }
.btn.light { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.light:hover { background: var(--line-2); }
.btn.gold { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.btn.small { padding: 8px 12px; min-height: 40px; font-size: 13.5px; border-radius: 10px; }
.btn.block { display: flex; width: 100%; }
.btn.ghost-light { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.big-btn { min-height: 56px; font-size: 16px; border-radius: 14px; }
.btn.mt-m, .mt-m { margin: 14px 12px 0; width: calc(100% - 24px); }
@media (min-width: 1024px) { .btn.mt-m, .mt-m { margin: 0 0 16px; width: 100%; } }
.input { width: 100%; border: 1.5px solid var(--line); background: var(--surface); padding: 11px 12px; border-radius: 10px; font-size: 16px; color: var(--ink); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.input.tiny { width: 68px; padding: 8px; text-align: center; }
.field { display: flex; flex-direction: column; gap: 6px; }
.mini { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }

/* ---------- chips & badges ---------- */
.chip { display: inline-block; font-size: 11.5px; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); vertical-align: middle; }
.chip.outline { background: none; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.chip.gold { background: var(--lime); color: var(--lime-ink); }
.live-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--lime); color: var(--lime-ink); font-size: 11.5px; font-weight: 750; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-ink); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.pos-cell .mv { display: flex; width: max-content; margin: 3px 0 0; }
.mv { display: inline-flex; align-items: center; margin-left: 6px; font-size: 11.5px; font-weight: 750; padding: 1px 6px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.mv.up { color: #166534; background: #DCFCE7; } .mv.down { color: #991B1B; background: #FEE2E2; }
.hcp-change { font-weight: 750; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.hcp-change.cut { background: #FEE2E2; color: #991B1B; } .hcp-change.back { background: #DCFCE7; color: #166534; }
.hcp-panel { box-shadow: var(--shadow), inset 4px 0 0 var(--brand); }
.sugg { flex-wrap: wrap; }

/* ---------- tables ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th { white-space: nowrap; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); padding: 10px 6px; border-bottom: 1px solid var(--line-2); text-align: left; }
.table th.r, .table td.r { text-align: right; } .table th.c, .table td.c { text-align: center; }
.table td { padding: 10px 6px; border-top: 1px solid var(--line-2); font-size: 15px; }
.table tr:first-child td { border-top: 0; }
.table th:first-child, .table td:first-child { padding-left: 16px; } .table th:last-child, .table td:last-child { padding-right: 16px; }
.table.tight td, .table.tight th { padding: 6px 4px; }
.table tr.lead td { background: var(--lime-50); }
.table tr.lead td:first-child { box-shadow: inset 4px 0 0 var(--lime); }
.lb td { padding-top: 12px; padding-bottom: 12px; }
.big-cell { font-size: 18px; }
.w-pos { width: 52px; }
.lb .player-cell span { overflow-wrap: anywhere; }
.player-cell { display: flex; align-items: center; gap: 10px; text-align: left; min-height: 36px; }
.avatar { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; overflow: hidden; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); font-weight: 700; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.ring { box-shadow: 0 0 0 3px rgba(255, 255, 255, .9); }

/* ---------- lists ---------- */
.game-card { display: flex; align-items: stretch; margin-top: 10px; }
.date-box { width: 72px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--brand-50); color: var(--brand-600); padding: 12px 0; }
.date-box .serif { font-size: 26px; line-height: 1.05; color: var(--brand-600); }
.date-box .label { color: var(--brand-600); }
.game-card > .grow { padding: 14px 14px 14px 16px; }
.game-card h3 { font-size: 17px; margin-top: 6px; }
.people, .rows { list-style: none; margin: 14px 12px 0; padding: 0; }
.rows { margin: 0; }
.people li, .rows li { border-top: 1px solid var(--line-2); }
.people li:first-child, .rows li:first-child { border-top: 0; }
.people a, .rows a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.rows li.row, .rows li.edit-row { padding: 12px 16px; }
.people .block { display: block; }
.links a { display: flex; justify-content: space-between; align-items: center; padding: 15px 16px; border-top: 1px solid var(--line-2); font-weight: 550; }
.links a:first-child { border-top: 0; }
.groups { list-style: none; margin: 0; padding: 0; }
.groups > li { padding: 12px 16px; border-top: 1px solid var(--line-2); }
.groups > li:first-child { border-top: 0; }
.groups ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 8px; }
.install { display: flex; align-items: center; gap: 12px; padding: 14px; }
.tabs { display: flex; gap: 4px; margin: 14px 12px 0; padding: 4px; background: #E6EAF1; border-radius: 12px; }
@media (min-width: 1024px) { .tabs { margin: 16px 0 0; } }
.tabs.scroll { overflow-x: auto; }
.tabs button { flex: 1; min-height: 40px; padding: 8px 14px; font-size: 14px; font-weight: 650; color: var(--muted); border-radius: 9px; white-space: nowrap; }
.tabs button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }

/* ---------- new-round wizard ---------- */
.steps { display: flex; gap: 6px; padding: 14px 12px 0; }
.steps span { flex: 1; text-align: center; padding: 9px 4px; font-size: 12.5px; font-weight: 650; background: #E6EAF1; color: var(--muted); border-radius: 999px; }
.steps span.on { background: var(--brand); color: #fff; }
.steps span.done { background: var(--lime); color: var(--lime-ink); }
.pick-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 14px 16px; min-height: 58px; }
.pick-row.on { background: var(--brand-50); }
.pick-player { padding: 8px 16px; min-height: 58px; }
.tap { min-height: 48px; cursor: pointer; }
.big-check { width: 24px; height: 24px; accent-color: var(--brand); }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; }
.choice.on { border-color: var(--brand); background: var(--brand-50); }
.choice input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--brand); }
.seg { display: flex; gap: 4px; padding: 4px; background: #E6EAF1; border-radius: 12px; }
.seg button { flex: 1; min-height: 44px; font-weight: 700; font-size: 15px; color: var(--ink-2); border-radius: 9px; }
.seg button.on { background: var(--brand); color: #fff; }
.par-list { list-style: none; margin: 0; padding: 0 12px 14px; display: grid; gap: 8px; }
@media (min-width: 640px) { .par-list { grid-template-columns: 1fr 1fr; column-gap: 16px; } }
.par-list li { display: flex; align-items: center; gap: 10px; }
.hole-no { width: 28px; text-align: right; font-size: 16px; color: var(--muted); }
.par-seg { flex: 1; }
.par-seg button { min-height: 48px; font-size: 18px; }

/* ---------- live scoring ---------- */
.score-top { background: var(--night); padding: 0 16px 12px; }
.score-top .eyebrow { color: rgba(255, 255, 255, .8); text-transform: none; letter-spacing: 0; font-size: 14px; }
.group-pick { display: flex; gap: 6px; overflow-x: auto; padding: 12px 12px 0; }
.group-pick button { min-height: 44px; padding: 8px 16px; font-weight: 650; font-size: 14px; background: #E6EAF1; color: var(--ink-2); border-radius: 999px; white-space: nowrap; }
.group-pick button.on { background: var(--brand); color: #fff; }
.hole-head { display: flex; align-items: center; justify-content: space-between; margin: 12px 12px 0; padding: 10px 6px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.nav-arrow { width: 56px; height: 56px; border-radius: 14px; color: var(--brand); background: var(--brand-50); }
.hole-title { font-size: 30px; }
.par-label { font-size: 14px; color: var(--muted); text-transform: none; letter-spacing: 0; }
.hole-strip { display: flex; gap: 6px; overflow-x: auto; padding: 12px; }
.hole-strip button { flex-shrink: 0; width: 44px; height: 44px; font-weight: 700; font-size: 15px; background: var(--surface); color: var(--muted); border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); }
.hole-strip button.part { color: var(--ink); box-shadow: inset 0 0 0 2px var(--amber); }
.hole-strip button.done { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.hole-strip button.cur { background: var(--brand); color: #fff; box-shadow: none; }
.view-only { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 0 12px; padding: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: #FEF3C7; border-radius: var(--r-sm); }
.score-list { list-style: none; margin: 12px 12px 0; padding: 0; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.score-row { padding: 14px 14px 16px; border-top: 1px solid var(--line-2); }
.score-row:first-child { border-top: 0; }
.score-row .small { font-size: 14px; color: var(--ink-2); }
.name-lg { font-size: 17px; margin: 0; }
.step { width: 56px; height: 56px; font-size: 28px; font-weight: 600; line-height: 1; border-radius: 14px; background: var(--surface); color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.step.plus { background: var(--brand); color: #fff; box-shadow: none; }
.score-val { width: 54px; text-align: center; font-size: 32px; font-weight: 800; }
.quick { display: flex; gap: 6px; margin-top: 10px; }
.quick button { flex: 1; min-height: 48px; font-size: 17px; font-weight: 700; background: #EEF1F6; color: var(--ink); border-radius: 12px; }
.quick button.on { background: var(--ink); color: #fff; }
.quick .clear { font-size: 12.5px; color: var(--muted); }
.sync { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 12px 12px 0; padding: 12px; background: #DCFCE7; color: #166534; font-size: 14px; font-weight: 650; border-radius: var(--r-sm); }
.sync.syncing { background: var(--brand-50); color: var(--brand-600); }
.sync.offline { background: #FEF3C7; color: #92400E; }
.spin { animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(11, 19, 36, .7); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 640px) { .modal { align-items: center; } }
.sheet { width: 100%; max-width: 480px; max-height: 92dvh; overflow-y: auto; background: var(--surface); border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 640px) { .sheet { border-radius: 22px; } }
.sheet-head { position: sticky; top: 0; background: var(--surface); display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line-2); z-index: 1; }

/* ---------- sign-in ---------- */
.auth { min-height: 100vh; background: radial-gradient(140% 90% at 100% 0%, #312E81 0%, var(--night) 60%); color: #fff; display: flex; flex-direction: column; align-items: center; padding: 48px 16px; }
.auth .brand { flex-direction: column; gap: 12px; }
.auth .brand-logo { width: 64px; height: 64px; border-radius: 18px; }
.auth .brand-name { font-size: 22px; font-weight: 800; opacity: 1; }
.auth-card { width: 100%; max-width: 380px; margin-top: 28px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 22px 18px; }
.auth-card .eyebrow { color: var(--lime); }
.auth-foot { margin-top: auto; padding-top: 40px; font-size: 11.5px; letter-spacing: .04em; color: rgba(255, 255, 255, .45); font-weight: 600; }
.dark-input { width: 100%; border: 1.5px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; padding: 13px 14px; font-size: 16px; border-radius: 12px; }
.dark-input::placeholder { color: rgba(255, 255, 255, .5); }
.dark-input:focus { outline: none; border-color: var(--lime); }
.light-note { color: rgba(255, 255, 255, .75); font-size: 13.5px; text-align: center; }
.link-light { display: block; width: 100%; margin-top: 14px; color: rgba(255, 255, 255, .7); text-decoration: underline; font-size: 13.5px; text-align: center; min-height: 36px; }
.msg { font-size: 13.5px; text-align: center; margin-top: 12px; } .msg.err { color: #FCA5A5; } .msg.ok { color: var(--lime); }
.claim-list { list-style: none; padding: 0; margin: 18px 0 0; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .05); }
.claim-list li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.claim-list button { display: flex; width: 100%; justify-content: space-between; padding: 14px 16px; color: #fff; text-align: left; min-height: 52px; }
.claim-list button:hover:not(:disabled) { background: rgba(255, 255, 255, .08); }

/* ---------- toasts ---------- */
#toaster { position: fixed; top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 400px); }
.toast { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); box-shadow: 0 10px 30px rgba(15, 23, 42, .18); padding: 12px 14px; border-radius: 14px; }
.toast.ok { box-shadow: 0 10px 30px rgba(15, 23, 42, .18), inset 4px 0 0 var(--green); } .toast.err { box-shadow: 0 10px 30px rgba(15, 23, 42, .18), inset 4px 0 0 var(--red); }
.toast-title { margin: 0; font-weight: 650; font-size: 14.5px; } .toast-body { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- sign-in codes, chips (D17–D21) ---------- */
.code-input { font-size: 26px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.demo-code { background: rgba(163, 230, 53, .15); border-radius: 10px; padding: 8px; color: var(--lime); }
.chip.outline-light { background: rgba(255, 255, 255, .12); color: #fff; }
.retire { margin-left: 4px; }
