/* ============================================================
   104 GAMES LATER — UI KIT STYLES
   Self-contained recreation styles built on the design tokens.
   ============================================================ */

.app { min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--font-sans);
  display: grid; grid-template-rows: auto 1fr; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: var(--z-sticky); background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: var(--space-5); padding: 12px clamp(16px, 4vw, 40px); }
.brand { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.brand__mark { width: 38px; height: 38px; border-radius: var(--radius-md); background: var(--primary);
  color: var(--on-primary); display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 900; font-size: 18px; box-shadow: var(--glow-pitch); font-variant-numeric: tabular-nums; }
.brand__word { font-family: var(--font-display); font-weight: 900; font-size: 20px; line-height: .95; text-transform: lowercase; letter-spacing: -.01em; }
.brand__word b { color: var(--primary); }
.brand__sub { display: block; font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-subtle); }
.topbar__spacer { flex: 1; }
.topbar__nav { display: flex; gap: 4px; }

/* segmented tabs */
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-3); border-radius: var(--radius-pill); }
.seg__btn { appearance: none; border: 0; background: transparent; cursor: pointer; font-family: var(--font-display);
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; color: var(--text-muted);
  padding: 8px 18px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; gap: .5em;
  transition: color var(--dur-fast), background var(--dur-fast); white-space: nowrap; }
.seg__btn:hover { color: var(--text); }
.seg__btn[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.seg__btn[disabled] { opacity: .45; cursor: not-allowed; }
.seg__btn svg { width: 15px; height: 15px; }
.seg__count { font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: var(--radius-pill); background: var(--surface-3); color: var(--text-muted); }
.seg__btn[aria-selected="true"] .seg__count { background: var(--primary); color: var(--on-primary); }
/* main nav: all tabs share equal width (sized to the widest label) */
#nav { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
#nav .seg__btn { justify-content: center; }

/* icon button */
.iconbtn { width: 40px; height: 40px; border-radius: var(--radius-circle); border: 1px solid var(--border);
  background: var(--surface); color: var(--text); display: inline-grid; place-items: center; cursor: pointer;
  transition: background var(--dur-fast), border-color var(--dur-fast); }
.iconbtn:hover { background: var(--surface-2); border-color: var(--border-strong); }
.iconbtn svg { width: 19px; height: 19px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  border: 2px solid transparent; background: var(--primary); color: var(--on-primary); border-radius: var(--radius-pill);
  height: 44px; padding: 0 22px; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), box-shadow var(--dur-fast); }
.btn:hover { background: var(--primary-hover); }
.btn:active { transform: scale(var(--press-scale)); background: var(--primary-press); }
.btn svg { width: 17px; height: 17px; }
.btn--lg { height: 54px; padding: 0 30px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--secondary:hover { background: var(--surface-2); border-color: var(--text-subtle); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* badges */
.badge { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; font-size: 11px; line-height: 1; padding: 5px 9px;
  border-radius: var(--radius-pill); background: var(--surface-3); color: var(--text-muted); white-space: nowrap; }
.badge--live { background: var(--live-pulse); color: #fff; }
.badge--final { background: var(--neutral-900); color: #fff; }
.badge--solid { background: var(--primary); color: var(--on-primary); }
.badge--warning { background: var(--warning-bg); color: var(--warning-fg); }
.badge--outline { background: transparent; color: var(--text-muted); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--live .badge__dot { animation: glPulse 1.1s var(--ease-in-out) infinite; }
@keyframes glPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

/* flag crest */
.flag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em; color: var(--text); }
.flag img { width: 32px; height: 22px; object-fit: cover; border-radius: 3px; box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--border-hair); flex: none; background: var(--surface-3); }
.flag--sm img { width: 24px; height: 16px; } .flag--sm { font-size: 14px; }
.flag--lg img { width: 46px; height: 31px; } .flag--lg { font-size: 24px; }
.flag--reverse { flex-direction: row-reverse; }

/* page scaffold */
.page { width: 100%; max-width: var(--container-lg); margin: 0 auto; padding: clamp(20px, 4vw, 36px) clamp(16px, 4vw, 40px) 80px; }
.page__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.kick { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--primary); }
.h1 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(32px, 5vw, 52px); line-height: .95; margin: 4px 0 0; }
.muted { color: var(--text-muted); }

/* cards / lists */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: clip; }
.card--accent { border-top: 3px solid var(--primary); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.card__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 16px; }

.daygroup { margin-bottom: 30px; }
.daygroup__label { display: flex; align-items: center; gap: 10px; margin: 0 2px 12px; }
.daygroup__label .t { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.daygroup__rule { flex: 1; height: 1px; background: var(--border); }
.matchlist { display: grid; gap: 12px; }

/* match row */
.match { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 20px; position: relative;
  transition: border-color var(--dur-base), box-shadow var(--dur-base), transform var(--dur-base) var(--ease-out); }
.match--click { cursor: pointer; }
.match--click:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.match--live { border-color: color-mix(in oklab, var(--live-pulse) 45%, var(--border)); }
.match__side { display: flex; align-items: center; gap: 10px; min-width: 0; }
.match__side--home { justify-content: flex-end; }
.match__center { display: grid; justify-items: center; gap: 5px; min-width: 84px; }
.match__score { font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 8px; }
.match__score .sep { color: var(--text-subtle); font-size: 22px; }
.match__time { font-family: var(--font-display); font-weight: 800; font-size: 21px; font-variant-numeric: tabular-nums; }
.match__date { font-size: 11px; color: var(--text-subtle); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.match__pick { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 12px;
  font-weight: 600; color: var(--text-muted); border-top: 1px dashed var(--border); margin-top: 4px; padding-top: 11px; }
.match__pick b { color: var(--text); font-variant-numeric: tabular-nums; }
.pickres { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 11px; white-space: nowrap; }
.pickres--correct { background: var(--primary-soft); color: var(--primary-soft-ink); }
.pickres--wrong { background: var(--surface-3); color: var(--text-subtle); }
.match__cta { grid-column: 1 / -1; border-top: 1px dashed var(--border); margin-top: 4px; padding-top: 11px; display: flex; justify-content: center; }
.openchip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; font-size: 12px; color: var(--primary); }
.openchip svg { width: 15px; height: 15px; }

/* standings table */
.stand { width: 100%; }
.stand__head, .stand__row { display: grid; grid-template-columns: 30px 1fr 30px 30px 30px 30px 42px 46px; align-items: center; gap: 6px; padding: 0 18px; }
.stand__head { height: 36px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; color: var(--text-subtle); border-bottom: 1px solid var(--border); }
.stand__head span { text-align: center; } .stand__head .l { text-align: left; }
.stand__row { height: 54px; border-bottom: 1px solid var(--border); }
.stand__row:last-child { border-bottom: 0; }
.stand__row--you { background: var(--primary-soft); }
.stand__pos { display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--text-muted); background: var(--surface-3); }
.stand__row--qual .stand__pos { background: var(--primary); color: var(--on-primary); }
.stand__team { display: flex; align-items: center; gap: 9px; min-width: 0; font-weight: 600; font-size: 14px; }
.stand__n { text-align: center; font-variant-numeric: tabular-nums; font-size: 14px; color: var(--text-muted); }
.stand__gd--pos { color: var(--result-win); } .stand__gd--neg { color: var(--result-loss); }
.stand__pts { text-align: center; font-family: var(--font-display); font-weight: 900; font-size: 17px; font-variant-numeric: tabular-nums; }
.legend { display: flex; align-items: center; gap: 8px; padding: 12px 18px; font-size: 12px; color: var(--text-subtle); }
.legend .sw { width: 11px; height: 11px; border-radius: 3px; background: var(--primary); }

/* groups board (condensed) */
.groups-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; align-items: start; }
.group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: clip; }
.group__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.group__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; font-size: 18px; white-space: nowrap; }
/* compact standings */
.gstand__head, .gstand__row { display: grid; grid-template-columns: 22px 1fr 24px 38px 32px; align-items: center; gap: 5px; padding: 0 16px; }
.gstand__head { height: 28px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 10px; color: var(--text-subtle); }
.gstand__head span { text-align: center; } .gstand__head .l { text-align: left; }
.gstand__row { height: 42px; border-top: 1px solid var(--border); }
.gstand__row--you { background: var(--primary-soft); }
.gstand__pos { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: var(--radius-xs); font-family: var(--font-display); font-weight: 800; font-size: 12px; color: var(--text-muted); background: var(--surface-3); }
.gstand__row--qual .gstand__pos { background: var(--primary); color: var(--on-primary); }
.gstand__team { display: flex; align-items: center; gap: 8px; min-width: 0; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.gstand__team img { width: 26px; height: 17px; object-fit: cover; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--border-hair); flex: none; }
.gstand__team .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gstand__n { text-align: center; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--text-muted); }
.gstand__gd--pos { color: var(--result-win); } .gstand__gd--neg { color: var(--result-loss); }
.gstand__pts { text-align: center; font-family: var(--font-display); font-weight: 900; font-size: 16px; font-variant-numeric: tabular-nums; }
/* results strip */
.group__results { padding: 12px 16px 14px; background: var(--surface-2); border-top: 1px solid var(--border); }
.group__results .cap { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; color: var(--text-subtle); margin-bottom: 9px; }
.gres { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; }
.gres__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 700; font-size: 12.5px; }
.gres__t { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.gres__t img { width: 18px; height: 12px; object-fit: cover; border-radius: 1.5px; box-shadow: inset 0 0 0 1px var(--border-hair); flex: none; }
.gres__t--h { justify-content: flex-end; } .gres__t--h img { order: 2; }
.gres__sc { font-weight: 900; font-variant-numeric: tabular-nums; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xs); padding: 1px 7px; white-space: nowrap; }
.gstand__legend { display: flex; align-items: center; gap: 7px; padding: 9px 16px; font-size: 11px; color: var(--text-subtle); border-top: 1px solid var(--border); }
.gstand__legend .sw { width: 10px; height: 10px; border-radius: 3px; background: var(--primary); }

/* leaderboard */
.lead__row { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.lead__row:last-child { border-bottom: 0; }
.lead__row--you { background: var(--primary-soft); }
.lead__rank { font-family: var(--font-display); font-weight: 900; font-size: 20px; color: var(--text-subtle); text-align: center; font-variant-numeric: tabular-nums; }
.lead__rank--top { color: var(--primary); }
.lead__who { display: flex; align-items: center; gap: 11px; min-width: 0; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #fff; background: var(--green-600); box-shadow: inset 0 0 0 1px var(--border-hair); }
.lead__name { font-weight: 700; font-size: 15px; white-space: nowrap; } .lead__handle { font-size: 12px; color: var(--text-subtle); white-space: nowrap; }
.lead__stats { display: flex; align-items: center; gap: 18px; }
.lead__stat { text-align: right; } .lead__stat .v { font-family: var(--font-display); font-weight: 900; font-size: 18px; font-variant-numeric: tabular-nums; }
.lead__stat .k { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-subtle); font-weight: 700; }
.lead__pts { font-family: var(--font-display); font-weight: 900; font-size: 24px; color: var(--primary); font-variant-numeric: tabular-nums; min-width: 54px; text-align: right; }

/* group-stage lock countdown (Group Stage tab) — accented so it's unmissable */
.gs-countdown { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--primary-soft); border: 1px solid color-mix(in oklab, var(--primary) 35%, transparent);
  border-radius: var(--radius-lg); padding: 14px 18px; margin: 0 0 18px; }
.gs-countdown__cap { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--primary-soft-ink); }
.gs-countdown__cap svg { width: 18px; height: 18px; color: var(--primary); flex: none; }
.gs-countdown__cap b { color: var(--primary-soft-ink); font-weight: 800; white-space: nowrap; }

/* countdown */
.cd { display: inline-flex; align-items: flex-start; gap: 9px; font-family: var(--font-display); }
.cd__u { display: grid; justify-items: center; gap: 6px; }
.cd__n { min-width: 1.9em; padding: 10px 6px; border-radius: var(--radius-md); background: var(--primary); color: var(--on-primary);
  font-weight: 900; font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; text-align: center; box-shadow: var(--shadow-md); }
.cd--dark .cd__n { background: var(--neutral-950); color: #fff; }
.cd__l { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; color: var(--text-muted); }
.cd__s { font-weight: 900; font-size: 28px; color: var(--text-subtle); line-height: 1.6; }

/* lock overlay */
.lock { position: relative; border-radius: var(--radius-xl); overflow: clip; isolation: isolate; }
.lock__bg { filter: blur(9px) saturate(.85); transform: scale(1.04); pointer-events: none; user-select: none; }
.lock__veil { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; padding: 40px; background: var(--scrim); }
.lock__panel { display: grid; justify-items: center; gap: 18px; max-width: 480px; }
.lock__badge { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--neutral-950); color: #fff; box-shadow: var(--shadow-lg), var(--glow-pitch); }
.lock__badge svg { width: 44px; height: 44px; }
.lock__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; font-size: 38px; line-height: 1; }
.lock__msg { font-size: 15px; line-height: 1.55; color: var(--text-muted); max-width: 42ch; }
/* countdown block on the lockout */
.lock__cd { display: grid; justify-items: center; gap: 10px; }
.lock__cd-cap { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: var(--text-subtle); }

/* bracket preview (blurred behind lock) — a full Round-of-32 shell (32 teams) */
.bracket { display: flex; gap: 24px; padding: 26px; background: var(--surface-2); min-height: 560px; align-items: stretch; }
.bracket__col { display: flex; flex-direction: column; justify-content: space-between; gap: 7px; flex: 1; min-width: 0; }
.bracket__tie { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 8px; display: grid; gap: 4px; }
.bracket__slot { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; }
.bracket__slot .dot { width: 14px; height: 10px; border-radius: 2px; background: var(--surface-3); flex: none; }

/* predict screen */
.predict { max-width: var(--container-md); margin: 0 auto; }
.predict__board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 30px clamp(12px,3vw,30px); }
.predict__team { display: grid; justify-items: center; gap: 12px; }
.predict__team .flag { flex-direction: column; gap: 10px; font-size: 18px; }
.predict__team .flag img { width: 72px; height: 48px; border-radius: var(--radius-sm); }
.predict__vs { font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--text-subtle); }
.stepper { display: inline-grid; justify-items: center; gap: 10px; }
.stepper__n { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: .9; font-variant-numeric: tabular-nums; min-width: 1.2ch; text-align: center; }
.stepper__btns { display: flex; gap: 10px; }
.stepbtn { width: 52px; height: 52px; border-radius: 50%; cursor: pointer; border: 2px solid var(--border-strong); background: var(--surface);
  color: var(--text); font-family: var(--font-display); font-weight: 900; font-size: 26px; display: grid; place-items: center;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.stepbtn:hover { border-color: var(--primary); color: var(--primary); }
.stepbtn:active { transform: scale(.9); }
.stepbtn--plus { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.stepbtn--plus:hover { background: var(--primary-hover); color: var(--on-primary); }
.stepbtn[disabled] { opacity: .35; pointer-events: none; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { font-family: var(--font-sans); font-size: 13px; font-weight: 700; color: var(--text-muted); background: var(--surface-2);
  border: 1px solid var(--border); padding: 7px 13px; border-radius: var(--radius-pill); cursor: pointer; font-variant-numeric: tabular-nums;
  transition: all var(--dur-fast); }
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip--on { background: var(--primary-soft); color: var(--primary-soft-ink); border-color: color-mix(in oklab, var(--primary) 40%, transparent); }

/* match detail */
.detail { max-width: var(--container-md); margin: 0 auto; }
.detail__hero { background: var(--neutral-950); border-radius: var(--radius-xl); padding: 30px; color: #fff; }
.detail__board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.detail__team { display: grid; justify-items: center; gap: 12px; color: #fff; }
.detail__team .flag { flex-direction: column; gap: 10px; color: #fff; font-size: 20px; }
.detail__team .flag img { width: 76px; height: 51px; border-radius: var(--radius-sm); }
.detail__score { font-family: var(--font-display); font-weight: 900; font-size: 76px; line-height: .85; font-variant-numeric: tabular-nums; display: flex; gap: 14px; }
.detail__score .sep { color: var(--green-400); }
.detail__meta { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 22px; color: var(--text-muted); font-size: 13px; }
.detail__meta span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } .detail__meta svg { width: 15px; height: 15px; }
.statline { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 12px 0; }
.statline .bar { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.statline .bar > i { display: block; height: 100%; background: var(--primary); border-radius: 4px; }
.statline .lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); text-align: center; min-width: 92px; }
.statline .v { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; }

/* misc */
.back { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .05em; font-size: 13px; color: var(--text-muted); cursor: pointer; background: none; border: 0; padding: 0; margin-bottom: 16px; }
.back:hover { color: var(--text); } .back svg { width: 16px; height: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 860px) { .grid2 { grid-template-columns: 1.4fr 1fr; } }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: var(--z-toast);
  background: var(--neutral-950); color: #fff; padding: 13px 20px; border-radius: var(--radius-pill); box-shadow: var(--shadow-xl);
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; animation: toastIn .3s var(--ease-spring); }
.toast svg { width: 18px; height: 18px; color: var(--green-400); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }
