/* Hallmark · shape: app screen · genre: atmospheric · theme: custom · idea: "The market is a live wire you hold; the screen lights up only as hard as you're exposed." · vibe: "neon club, wet glass, held breath, explosive tape"
 * paper: oklch(13% 0.004 70) · accent: oklch(91% 0.2 108) · display: Tektur · body: Onest
 * nav: the trade screen's top bar (symbol drum back to the chart, balance over session PnL, venue chip) over a glass five-tab bar · signature: the friends list, each avatar ring burning at that friend's live lever detent · states: full, loading, empty
 * axes: dark/display-heavy/chromatic-yellow · posture: committed · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: P, off-lever screens risk reading as any stats app; kept them dim and let only live exposure glow (friends' rings, detent chips), so the idea holds off the chart */
/* Hallmark · waive 29 · zero-offset glow on avatar rings and detent chips · glow strength is the product's exposure signal: dim when flat, lit at plus or minus 50, blazing at plus or minus 100 */
/* Hallmark · dismissed 69 · balance and session PnL sit in the shared trade top bar on every phone frame; each phone is its own screen, so the chrome repeats by nature */
/* Hallmark · answered F7 · the pill is kept only on controls: the venue chip is a button and the segmented track holds buttons, matching the lever's rounded glass */
/* Hallmark · dismissed F4 · the selected segment is a glass puck marking state on a segmented control, echoing the lever thumb; the one filled primary is the Hold the lever button */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --radius-phone: 48px;
  --radius-soft: 8px;
  --tabbar-h: 76px;
  --control-h: 40px;
  --avatar: 40px;
  --avatar-lg: 56px;
  --color-dim: color-mix(in oklab, var(--color-ink) 4%, var(--color-paper));
  --color-loss: var(--color-ink-2);
  --glow-long-1: 0 0 0 2px var(--color-long), 0 0 10px var(--color-long-glow);
  --glow-long-2: 0 0 0 2px var(--color-long), 0 0 8px var(--color-long-glow), 0 0 26px var(--color-long-glow);
  --glow-short-1: 0 0 0 2px var(--color-short), 0 0 10px var(--color-short-glow);
  --glow-short-2: 0 0 0 2px var(--color-short), 0 0 8px var(--color-short-glow), 0 0 26px var(--color-short-glow);
  --color-short-on: var(--color-paper);
  --color-puck: color-mix(in oklab, var(--color-ink) 16%, var(--color-paper-2));
}

/* Sheet */
.sheet { padding-block: var(--space-2xl) var(--space-3xl); }
.sheet-head { display: grid; gap: var(--space-xs); margin-block-end: var(--space-xl); }
.sheet-head h1 { font-size: var(--text-display-s); font-weight: 700; letter-spacing: var(--tracking-display); line-height: 1.05; }
.sheet-head p { color: var(--color-muted); max-width: 52ch; }
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2xl) var(--space-xl); }
.frame { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); width: var(--phone-w); max-width: 100%; }
.frame figcaption { max-width: var(--phone-w); font-size: var(--text-sm); color: var(--color-muted); line-height: 1.45; }

/* Phone */
.phone { position: relative; isolation: isolate; width: 100%; height: var(--phone-h); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-phone); background: var(--color-paper); overflow: hidden; display: flex; flex-direction: column; font-size: var(--text-sm); line-height: 1.4; }

/* Shared top bar, same chrome as the trade screen */
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--space-xs); padding: var(--space-lg) var(--space-md) var(--space-xs); }
.wheel { justify-self: start; display: grid; justify-items: start; font-size: var(--text-md); line-height: 1; text-decoration: none; color: var(--color-ink); border-radius: var(--radius-soft); padding: var(--space-2xs); margin-inline-start: calc(var(--space-2xs) * -1); }
.wheel-prev, .wheel-next { font-family: var(--font-display); font-size: var(--text-md); color: var(--color-muted); }
.wheel-prev { transform: perspective(120px) rotateX(42deg) scale(0.8) translateY(4px); transform-origin: left bottom; }
.wheel-next { transform: perspective(120px) rotateX(-42deg) scale(0.8) translateY(-4px); transform-origin: left top; }
.wheel-now { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; letter-spacing: var(--tracking-display); padding-block: var(--space-3xs); }
.wheel:hover .wheel-now { color: var(--color-ink-2); }
.wheel:active { transform: scale(0.97); }
.purse { display: grid; justify-items: center; line-height: 1.15; }
.purse-bal { font-family: var(--font-outlier); font-size: var(--text-lg); font-weight: 600; }
.purse-pnl { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-cleared); }
.venue { justify-self: end; display: inline-flex; align-items: center; gap: var(--space-2xs); height: 32px; padding-inline: var(--space-sm) var(--space-xs); border: var(--rule-hair) solid var(--glass-edge); border-radius: var(--radius-pill); background: var(--glass-fill); box-shadow: inset 0 1px 0 var(--glass-shine); color: var(--color-ink); font-size: var(--text-xs); font-weight: 600; white-space: nowrap; cursor: pointer; }
.venue svg { width: 12px; height: 12px; }
.venue:hover { background: color-mix(in oklab, var(--glass-fill), var(--color-ink) 6%); }
.venue:active { transform: scale(0.97); }

/* Screen body */
.scr { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-xs) var(--space-md) calc(var(--tabbar-h) + var(--space-md)); overflow: hidden; }
.scr-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-sm); }
.scr-head h2 { font-size: var(--text-2xl); font-weight: 700; letter-spacing: var(--tracking-display); line-height: 1.1; }
.scr-head p { color: var(--color-muted); font-size: var(--text-xs); }
.group { display: grid; gap: var(--space-xs); }
.group h3 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); line-height: 1.3; }
.group-head { display: flex; align-items: baseline; gap: var(--space-xs); }
.note { font-size: var(--text-xs); color: var(--color-muted); }
.num { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
.up { color: var(--color-cleared); }
.down { color: var(--color-loss); }
.is-long { color: var(--color-long); }
.is-short { color: var(--color-short); }

/* Tab bar, glass like the lever */
.tabs { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: var(--z-raised); height: var(--tabbar-h); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: var(--space-xs) var(--space-xs) var(--space-md); border-top: var(--rule-hair) solid var(--glass-edge); background: color-mix(in oklab, var(--color-paper) 72%, transparent); backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur)); box-shadow: inset 0 1px 0 var(--glass-shine); }
.tabs a { display: grid; justify-items: center; align-content: center; gap: var(--space-3xs); color: var(--color-muted); text-decoration: none; font-size: var(--text-xs); border-radius: var(--radius-soft); }
.tabs svg { width: 22px; height: 22px; }
.tabs a:hover { color: var(--color-ink-2); }
.tabs a:active { transform: scale(0.95); }
.tabs a[aria-current="page"] { color: var(--color-ink); font-weight: 600; }

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs); height: var(--control-h); padding-inline: var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-sm); font-weight: 600; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-3); }
.btn:active { transform: scale(0.97); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn-sm { height: 32px; padding-inline: var(--space-sm); font-size: var(--text-xs); }
.btn-primary { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.btn-primary:hover { background: var(--color-ink-2); }
.btn-quiet { background: transparent; }
.btn svg { width: 14px; height: 14px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: var(--space-3xs); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper-2); }
.seg button { height: 34px; padding-inline: var(--space-2xs); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-2); font-size: var(--text-xs); font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out); }
.seg button:hover { background: var(--color-paper-3); }
.seg button:active { transform: scale(0.97); }
.seg button:disabled { opacity: 0.45; cursor: not-allowed; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--color-puck); color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--glass-edge), inset 0 1px 0 var(--glass-shine); }

.row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: 44px; }
.row-label { display: grid; line-height: 1.3; }
.row-label .note { font-size: var(--text-xs); }
.row-link { color: var(--color-ink); text-decoration: none; border-radius: var(--radius-soft); }
.row-link svg { width: 14px; height: 14px; flex: none; color: var(--color-muted); }
.row-link:hover svg { color: var(--color-ink); }
.row-link:active { transform: scale(0.99); }
.row-link + .row { border-top: var(--rule-hair) solid var(--color-rule); }

.switch { position: relative; flex: none; width: 48px; height: 28px; padding: 0; border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-paper-3); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.switch::before { content: ""; position: absolute; inset: -8px; }
.switch::after { content: ""; position: absolute; inset-block: 3px; inset-inline-start: 3px; width: 20px; border-radius: 50%; background: var(--color-ink-2); transition: transform var(--dur-short) var(--ease-out); }
.switch:hover { border-color: var(--color-ink-2); }
.switch:active::after { transform: scale(0.9); }
.switch:disabled { opacity: 0.45; cursor: not-allowed; }
.switch[aria-checked="true"] { background: var(--color-ink); border-color: var(--color-ink); }
.switch[aria-checked="true"]::after { transform: translateX(20px); background: var(--color-paper); }

.range { display: grid; grid-template-columns: minmax(0, 1fr) 3.5rem; align-items: center; gap: var(--space-sm); }
.range input { width: 100%; height: 32px; margin: 0; accent-color: var(--color-ink); cursor: pointer; }
.range input:disabled { opacity: 0.45; cursor: not-allowed; }
.range output { text-align: end; font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-ink-2); }

.field { display: flex; gap: var(--space-xs); }
.input { flex: 1; min-width: 0; display: flex; align-items: center; height: var(--control-h); padding-inline: var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-paper-2); }
.input span { color: var(--color-muted); }
.input input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: transparent; color: var(--color-ink); outline: none; }
.input input::placeholder { color: var(--color-muted); }
.input:focus-within { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.input input:disabled { cursor: not-allowed; }

.stepper { display: inline-flex; align-items: center; gap: var(--space-2xs); }
.stepper button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: 50%; background: var(--color-paper-2); color: var(--color-ink); cursor: pointer; }
.stepper button svg { width: 12px; height: 12px; }
.stepper button:hover { background: var(--color-paper-3); }
.stepper button:active { transform: scale(0.94); }
.stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper output { min-width: 3rem; text-align: center; font-family: var(--font-outlier); font-weight: 600; }

/* Avatars: the ring is the state */
.avatar { flex: none; display: grid; place-items: center; width: var(--avatar); height: var(--avatar); border-radius: 50%; background: var(--color-paper-3); color: var(--color-ink-2); font-size: var(--text-xs); font-weight: 600; box-shadow: 0 0 0 1px var(--color-rule); }
.avatar-lg { width: var(--avatar-lg); height: var(--avatar-lg); font-size: var(--text-md); color: var(--color-ink); }
.avatar-sm { --avatar: 28px; font-size: var(--text-xs); }
.ring-online { box-shadow: 0 0 0 2px var(--color-ink-2); color: var(--color-ink); }
.ring-off { color: var(--color-muted); background: var(--color-dim); }
.ring-long-1 { box-shadow: var(--glow-long-1); color: var(--color-ink); }
.ring-long-2 { box-shadow: var(--glow-long-2); color: var(--color-ink); }
.ring-short-1 { box-shadow: var(--glow-short-1); color: var(--color-ink); }
.ring-short-2 { box-shadow: var(--glow-short-2); color: var(--color-ink); }

/* Detent chips: glow by detent */
.detent { display: inline-grid; place-items: center; min-width: 3.25rem; height: 22px; padding-inline: var(--space-2xs); border-radius: var(--radius-soft); font-family: var(--font-outlier); font-size: var(--text-xs); font-weight: 700; line-height: 1; }
.d-long-1 { color: var(--color-long); box-shadow: inset 0 0 0 1px var(--color-long), 0 0 8px var(--color-long-glow); }
.d-long-2 { color: var(--color-long-ink); background: var(--color-long); box-shadow: 0 0 6px var(--color-long-glow), 0 0 18px var(--color-long-glow); }
.d-short-1 { color: var(--color-short); box-shadow: inset 0 0 0 1px var(--color-short), 0 0 8px var(--color-short-glow); }
.d-short-2 { color: var(--color-short-on); background: var(--color-short); box-shadow: 0 0 6px var(--color-short-glow), 0 0 18px var(--color-short-glow); }

/* 1. Profile */
.me { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-sm); }
.me h2 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 700; }
.me p { font-size: var(--text-xs); color: var(--color-muted); }
.alltime { display: grid; gap: var(--space-3xs); }
.alltime p:first-child { font-size: var(--text-xs); color: var(--color-muted); }
.big { font-family: var(--font-display); font-size: var(--text-display); font-weight: 700; letter-spacing: var(--tracking-display); line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: break-word; min-width: 0; color: var(--color-cleared); }
.spark { margin: 0; display: grid; gap: var(--space-2xs); }
.spark svg { width: 100%; height: auto; overflow: visible; }
.spark-line { fill: none; stroke: var(--color-cleared); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.spark-zero { stroke: var(--color-rule); stroke-width: 1; stroke-dasharray: 3 4; }
.spark-end { fill: var(--color-cleared); }
.spark figcaption { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--color-muted); }
.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-block: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-sm); }
.tally div { display: grid; gap: var(--space-3xs); }
.tally div + div { padding-inline-start: var(--space-sm); border-inline-start: var(--rule-hair) solid var(--color-rule); }
.tally dt, .records dt { font-size: var(--text-xs); color: var(--color-muted); }
.tally dd, .records dd { margin: 0; }
.tally dd { font-family: var(--font-outlier); font-size: var(--text-lg); font-weight: 600; font-variant-numeric: tabular-nums; }
.records { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); margin: 0; }
.records div { display: grid; align-content: start; gap: var(--space-3xs); }
.records .fig { font-family: var(--font-outlier); font-size: var(--text-md); font-weight: 600; font-variant-numeric: tabular-nums; }
.records .sub { font-size: var(--text-xs); color: var(--color-muted); line-height: 1.3; }
.split { display: grid; gap: var(--space-2xs); }
.split-row { display: grid; grid-template-columns: 5.75rem minmax(0, 1fr) 5.5rem; align-items: center; gap: var(--space-sm); min-height: 28px; }
.split-row .name { font-weight: 600; }
.share { display: grid; gap: var(--space-3xs); font-size: var(--text-xs); color: var(--color-muted); }
.share i { display: block; height: 4px; border-radius: var(--radius-soft); background: var(--color-paper-3); }
.share i::after { content: ""; display: block; width: var(--share); height: 100%; border-radius: inherit; background: var(--color-ink-2); }
.split + .split { border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-xs); }
.split-row .pnl { text-align: end; font-family: var(--font-outlier); font-weight: 600; }

/* 2. Leaderboard */
.board { width: 100%; border-collapse: collapse; table-layout: fixed; }
.board col.c-rank { width: 3rem; }
.board col.c-win { width: 3.25rem; }
.board col.c-pnl { width: 6.25rem; }
.board th { padding-block-end: var(--space-2xs); font-size: var(--text-xs); font-weight: 400; color: var(--color-muted); text-align: start; }
.board th.r, .board td.r { text-align: end; }
.board td { padding-block: var(--space-xs); border-block-start: var(--rule-hair) solid var(--color-rule); vertical-align: middle; }
.board .rank { font-family: var(--font-outlier); color: var(--color-muted); }
.board .who { display: flex; align-items: center; gap: var(--space-xs); min-width: 0; }
.board .who b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .who small { font-size: var(--text-xs); color: var(--color-muted); }
.board td.num { font-size: var(--text-sm); }
.board tr:first-child td { border-block-start-color: var(--color-muted); }
.pin { position: absolute; inset-inline: 0; inset-block-end: var(--tabbar-h); z-index: var(--z-raised); padding: var(--space-2xs) var(--space-md); border-top: var(--rule-hair) solid var(--glass-edge); background: color-mix(in oklab, var(--color-paper-2) 86%, transparent); backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur)); box-shadow: inset 0 1px 0 var(--glass-shine); }
.pin .board td { border: 0; }
.pin .rank { color: var(--color-ink); }

/* 3. Friends */
.invite { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-sm); }
.invite code { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.people { list-style: none; margin: 0; padding: 0; display: grid; }
.person { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-sm); padding-block: var(--space-xs); }
.person + .person { border-top: var(--rule-hair) solid var(--color-rule); }
.person b { display: block; font-weight: 600; }
.person .state { font-size: var(--text-xs); color: var(--color-muted); }
.person .state strong { font-weight: 600; }
.count { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-muted); font-weight: 400; }

/* 4 and 5. Settings */
.settings { gap: var(--space-sm); }
.settings .group + .group { border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-xs); }
.caps { list-style: none; margin: 0; padding: 0; display: grid; }
.caps li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; align-items: center; gap: var(--space-sm); min-height: 44px; }
.caps li + li { border-top: var(--rule-hair) solid var(--color-rule); }
.caps b { font-weight: 600; }
.tracks { list-style: none; margin: 0; padding: 0; display: grid; }
.track { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-sm); min-height: 48px; }
.track + .track { border-top: var(--rule-hair) solid var(--color-rule); }
.track .play { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: 50%; background: var(--color-paper-2); color: var(--color-ink); cursor: pointer; }
.track .play svg { width: 12px; height: 12px; }
.track .play:hover { background: var(--color-paper-3); }
.track .play:active { transform: scale(0.94); }
.track .play:disabled { opacity: 0.4; cursor: not-allowed; }
.track .play[aria-pressed="true"] { background: var(--color-puck); border-color: var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-shine); }
.track .tname { display: grid; line-height: 1.3; min-width: 0; }
.track .tname b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track .tname span { font-size: var(--text-xs); color: var(--color-muted); }
.track .len { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-muted); }
.check { width: 20px; height: 20px; margin: 0; accent-color: var(--color-ink); cursor: pointer; }
.check:disabled { cursor: not-allowed; }
.preview { display: block; height: 2px; margin-block-start: var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-paper-3); }
.preview::after { content: ""; display: block; width: 38%; height: 100%; border-radius: inherit; background: var(--color-ink); }

/* 6 to 8. Rounds */
.rounds { list-style: none; margin: 0; padding: 0; display: grid; }
.round { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr) auto; grid-template-areas: "time mkt pnl" "hold side fee"; align-items: center; column-gap: var(--space-sm); row-gap: var(--space-3xs); padding-block: var(--space-xs); }
.round + .round { border-top: var(--rule-hair) solid var(--color-rule); }
.round .time { grid-area: time; font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-ink-2); }
.round .mkt { grid-area: mkt; display: flex; align-items: center; gap: var(--space-xs); font-weight: 600; }
.round .pnl { grid-area: pnl; text-align: end; font-family: var(--font-outlier); font-weight: 600; font-size: var(--text-md); }
.round .hold { grid-area: hold; font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-muted); }
.round .side { grid-area: side; font-size: var(--text-xs); color: var(--color-muted); }
.round .fee { grid-area: fee; text-align: end; font-size: var(--text-xs); color: var(--color-muted); }
.sk { display: block; height: 12px; border-radius: var(--radius-soft); background: var(--color-paper-3); animation: sk-pulse 1.4s var(--ease-in-out) infinite alternate; }
.sk-a { grid-area: time; width: 3.75rem; }
.sk-b { grid-area: mkt; width: 6rem; height: 18px; }
.sk-c { grid-area: pnl; width: 4.5rem; height: 16px; justify-self: end; }
.sk-d { grid-area: hold; width: 2.5rem; height: 10px; }
.sk-e { grid-area: side; width: 3rem; height: 10px; }
.sk-f { grid-area: fee; width: 3.5rem; height: 10px; justify-self: end; }
.round:nth-child(2) .sk { animation-delay: 120ms; }
.round:nth-child(3) .sk { animation-delay: 240ms; }
.round:nth-child(4) .sk { animation-delay: 360ms; }
@keyframes sk-pulse { from { opacity: 0.45; } to { opacity: 1; } }
.empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: var(--space-md); text-align: center; padding-block-end: var(--space-2xl); }
.empty svg { width: 44px; height: 96px; }
.empty h3 { font-size: var(--text-xl); font-weight: 700; }
.empty p { max-width: 30ch; color: var(--color-ink-2); }
.lever-track { fill: var(--glass-fill); stroke: var(--glass-edge); }
.lever-tick { stroke: var(--color-muted); stroke-width: 1; }
.lever-puck { fill: var(--color-paper-3); stroke: var(--color-ink-2); stroke-width: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .sk { animation: none; opacity: 0.7; }
  .btn, .seg button, .switch, .switch::after { transition: none; }
}
