:root {
  --ice: #EAF1F5; --ice-2: #DCE6EC; --surface: #FFFFFF; --ink: #0E1217; --soft: #4A5663; --steel: #8693A1; --line: rgba(14,18,23,.1);
  --red: #D3202A; --red-glow: rgba(211,32,42,.35); --board: #0B0F14; --good: #1F9D57; --gold: #E2B13C;
  --bar: rgba(234,241,245,.82); --tab: rgba(255,255,255,.86);
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif; --body: 'Archivo', system-ui, sans-serif; --mono: 'Martian Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2,.8,.1,1); --spring: cubic-bezier(.2,1.1,.3,1);
  --bin: #34C759; --bwait: #F5A524; --bout: #FF453A; --bunk: #8E8E93;
  --top: env(safe-area-inset-top); --bottom: env(safe-area-inset-bottom); --tabh: 58px;
  color-scheme: light;
}
html[data-theme="dark"] {
  --ice: #080B10; --ice-2: #111821; --surface: #131A23; --ink: #EEF3F7; --soft: #9AA7B4; --steel: #5F6D7B; --line: rgba(238,243,247,.09);
  --red: #F0323C; --red-glow: rgba(240,50,60,.45); --board: #05070A; --good: #3DD07E;
  --bar: rgba(8,11,16,.8); --tab: rgba(14,19,26,.88);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; min-height: 100vh; background: var(--ice); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
body { position: fixed; top: 0; left: 0; right: 0; height: 100vh; overflow: hidden; user-select: none; -webkit-user-select: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; user-select: text; -webkit-user-select: text; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- shell ---------- */
.ax { position: absolute; top: 0; left: 0; right: 0; height: 100vh; }
html.sx-app body::before { display: none !important; }
.ax-tab { position: absolute; inset: 0; visibility: hidden; }
.ax-tab.is-on { visibility: visible; }
.ax-view { position: absolute; inset: 0; background: var(--ice); display: flex; flex-direction: column; will-change: transform; transition: transform .45s var(--ease), filter .45s; }
.ax-view.is-under { transform: translateX(-28%); filter: brightness(.82); }
.ax-view.is-in { transform: translateX(100%); }
.ax-view.is-drag { transition: none; }
.ax-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; padding: calc(var(--top) + 52px) 0 calc(var(--tabh) + var(--bottom) + 28px); }
.ax-view.is-pushed .ax-scroll { padding-bottom: calc(var(--tabh) + var(--bottom) + 28px); }
.ax-view.is-pushed { box-shadow: -20px 0 40px -20px rgba(0,0,0,.4); }

/* nav bar: large title that collapses into a slim bar */
.ax-bar { position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: calc(var(--top) + 48px); padding: var(--top) 8px 0; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; background: var(--ice); transition: box-shadow .25s; }
.ax-view.is-collapsed .ax-bar { box-shadow: 0 1px 0 var(--line); }
.ax-bar__t { text-align: center; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-view.is-collapsed .ax-bar__t, .ax-view.no-large .ax-bar__t { opacity: 1; transform: none; }
.ax-back { display: inline-flex; align-items: center; gap: 2px; height: 40px; padding: 0 8px 0 2px; color: var(--red); font-weight: 600; font-size: 16px; }
.ax-back svg { width: 26px; height: 26px; }
.ax-bar__r { justify-self: end; display: flex; gap: 4px; }
.ax-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.ax-icon svg { width: 22px; height: 22px; }
.ax-head { padding: 4px 18px 10px; }
.ax-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ax-large { margin: 0; font-family: var(--display); font-weight: 900; font-size: 44px; line-height: .9; letter-spacing: -.005em; text-transform: uppercase; transform-origin: left bottom; transition: opacity .2s; }
.ax-sub { margin: 6px 0 0; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.ax-view.is-collapsed .ax-large { opacity: 0; }

/* A team / B team */
.ax-team { flex-shrink: 0; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--ice-2); }
.ax-team button { padding: 7px 11px; border-radius: 999px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--soft); transition: background-color .25s, color .25s; }
.ax-team button[aria-pressed="true"] { background: var(--red); color: #fff; box-shadow: 0 6px 14px -6px var(--red-glow); }

/* tab bar */
.ax-tabbar { position: absolute; z-index: 50; left: 0; right: 0; bottom: 0; height: calc(var(--tabh) + var(--bottom)); padding: 6px 6px var(--bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); box-shadow: 0 -1px 0 var(--line); transition: transform .35s var(--ease); }
.ax-tabbar.is-hidden { transform: translateY(110%); }
.ax-tabbar button { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; color: var(--steel); font-size: 10px; font-weight: 600; letter-spacing: .02em; transition: color .2s; }
.ax-tabbar button svg { width: 25px; height: 25px; transition: transform .3s var(--spring); }
.ax-tabbar button.is-on { color: var(--red); }
.ax-tabbar button.is-on svg { transform: translateY(-1px) scale(1.06); }
.ax-tabbar button:active svg { transform: scale(.86); }
.ax-dot { position: absolute; top: 4px; left: calc(50% + 9px); width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--tab); }

/* press feel */
.ax-press { transition: transform .18s var(--ease), background-color .2s, opacity .2s; }
.ax-press:active { transform: scale(.97); }

/* ---------- content blocks ---------- */
.ax-sec { padding: 0 16px; margin-top: 22px; }
.ax-sec > h2 { margin: 0 4px 10px; font-family: var(--display); font-weight: 900; font-size: 22px; text-transform: uppercase; display: flex; justify-content: space-between; align-items: baseline; }
.ax-sec > h2 small { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--steel); }
.ax-card { position: relative; overflow: hidden; border-radius: 22px; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(0,0,0,.35); }
.ax-card + .ax-card { margin-top: 10px; }
.ax-pad { padding: 16px; }
.ax-dark { background: var(--board); color: #fff; }
.ax-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.4px); background-size: 7px 7px; }
.ax-dark > * { position: relative; }
.ax-k { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.ax-dark .ax-k { color: #FF6B5B; }
.ax-muted { color: var(--soft); font-size: 13px; line-height: 1.45; }
.ax-dark .ax-muted { color: #9AA7B4; }
.ax-big { font-family: var(--display); font-weight: 900; line-height: .85; text-transform: uppercase; }

/* lists (grouped cells) */
.ax-list { border-radius: 20px; background: var(--surface); overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.ax-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; width: 100%; min-height: 58px; padding: 10px 14px; text-align: left; position: relative; }
.ax-row + .ax-row::before { content: ""; position: absolute; top: 0; right: 0; left: 62px; height: 1px; background: var(--line); }
.ax-row.no-ico + .ax-row.no-ico::before { left: 14px; }
.ax-row:active { background: var(--ice-2); }
.ax-row__t { min-width: 0; }
.ax-row__t b { display: block; font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.05; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-row__t span { display: block; margin-top: 2px; font-size: 12px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-row__r { text-align: right; display: flex; align-items: center; gap: 8px; }
.ax-row__r b { font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1; }
.ax-row__r small { display: block; font-family: var(--mono); font-size: 8px; letter-spacing: .12em; color: var(--steel); }
.ax-chev { width: 16px; height: 16px; color: var(--steel); flex-shrink: 0; }
.ax-num { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--ice); font-family: var(--display); font-weight: 900; font-size: 17px; flex-shrink: 0; }
.ax-num.red { background: var(--red); color: #fff; }
.ax-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; flex-shrink: 0; }
.ax-ico svg { width: 19px; height: 19px; }
.ax-star { color: var(--gold); }
.ax-row.is-fav { background: linear-gradient(90deg, rgba(226,177,60,.12), transparent 60%); }

/* segmented / chips */
.ax-seg { display: flex; gap: 6px; overflow-x: auto; padding: 2px 16px 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.ax-seg::-webkit-scrollbar { display: none; }
.ax-seg button { flex-shrink: 0; scroll-snap-align: start; padding: 9px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; color: var(--soft); transition: background-color .2s, color .2s; }
.ax-seg button[aria-pressed="true"] { background: var(--ink); color: var(--ice); box-shadow: none; }
.ax-seg.sm button { padding: 7px 11px; font-size: 13px; }
.ax-search { margin: 4px 16px 0; display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 42px; border-radius: 14px; background: var(--ice-2); color: var(--soft); }
.ax-search svg { width: 17px; height: 17px; flex-shrink: 0; }
.ax-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16px; color: var(--ink); }

/* stat tiles */
.ax-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ax-tile { padding: 12px 10px; border-radius: 16px; background: var(--surface); box-shadow: 0 1px 0 var(--line); text-align: center; }
.ax-tile b { display: block; font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; }
.ax-tile span { display: block; margin-top: 4px; font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.ax-tile small { display: block; margin-top: 3px; font-size: 11px; color: var(--soft); }
.ax-tile.red b { color: var(--red); }

/* next game */
.ax-next { padding: 18px; }
.ax-next__vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 12px 0 14px; text-align: center; }
.ax-next__vs b { font-family: var(--display); font-weight: 900; font-size: 24px; line-height: .95; text-transform: uppercase; }
.ax-next__vs small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: #8C99A6; }
.ax-next__vs i { font-style: normal; font-family: var(--display); font-weight: 900; font-size: 15px; color: #FF6B5B; }
.ax-clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ax-clock div { padding: 10px 0 8px; border-radius: 14px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); text-align: center; }
.ax-clock b { display: block; font-family: var(--display); font-weight: 900; font-size: 32px; line-height: 1; color: #FF4B4B; font-variant-numeric: tabular-nums; }
.ax-clock span { font-family: var(--mono); font-size: 8px; letter-spacing: .16em; color: #8C99A6; }
.ax-next__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ax-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ax-pill.go { background: var(--red); }
.ax-pill svg { width: 14px; height: 14px; }

/* result chip */
.ax-res { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-family: var(--display); font-weight: 900; font-size: 17px; flex-shrink: 0; }
.ax-res.W { background: var(--red); color: #fff; } .ax-res.L { background: var(--ink); color: var(--ice); } .ax-res.T { box-shadow: inset 0 0 0 2px var(--steel); color: var(--soft); }
.ax-date { width: 44px; text-align: center; flex-shrink: 0; }
.ax-date b { display: block; font-family: var(--display); font-weight: 900; font-size: 22px; line-height: .9; }
.ax-date span { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .1em; color: var(--red); }

/* bars */
.ax-meter { display: grid; grid-template-columns: 62px 1fr 30px; gap: 10px; align-items: center; margin: 6px 0; }
.ax-meter span { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .12em; color: var(--steel); }
.ax-meter i { height: 8px; border-radius: 99px; background: var(--ice-2); overflow: hidden; }
.ax-meter i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red), #FF8A5B); }
.ax-meter strong { font-family: var(--display); font-weight: 900; font-size: 17px; text-align: right; }

/* badges */
.ax-bdgs { display: flex; flex-wrap: wrap; gap: 5px; }
.ax-bdg { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px 5px 6px; border-radius: 999px; background: var(--ice-2); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ax-bdg i { width: 11px; height: 11px; border-radius: 50%; background: var(--steel); }
.ax-bdg.gold i { background: #E2B13C; } .ax-bdg.silver i { background: #A7B3BF; } .ax-bdg.bronze i { background: #C47B43; } .ax-bdg.fun i { background: linear-gradient(135deg, #A78BFA, #7C3AED); }
.ax-bdg.fun { background: rgba(124,58,237,.12); color: #7C3AED; }
html[data-theme="dark"] .ax-bdg.fun { color: #C4B5FD; }

/* bottom sheet */
.ax-scrim { position: absolute; inset: 0; z-index: 80; background: rgba(4,6,9,.5); opacity: 0; pointer-events: none; transition: opacity .35s; }
.ax-scrim.is-on { opacity: 1; pointer-events: auto; }
.ax-sheet { position: absolute; z-index: 90; left: 0; right: 0; bottom: 0; max-height: calc(100% - var(--top) - 16px); display: flex; flex-direction: column; border-radius: 26px 26px 0 0; background: var(--ice); box-shadow: 0 -20px 50px -10px rgba(0,0,0,.4); transform: translateY(105%); transition: transform .5s var(--spring); }
.ax-sheet.is-on { transform: none; }
.ax-sheet.is-drag { transition: none; }
.ax-sheet__grab { flex-shrink: 0; height: 26px; display: grid; place-items: center; cursor: grab; }
.ax-sheet__grab::before { content: ""; width: 40px; height: 5px; border-radius: 3px; background: var(--steel); opacity: .5; }
.ax-sheet__x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ice-2); color: var(--soft); }
.ax-sheet__x svg { width: 16px; height: 16px; }
.ax-sheet__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 0 0 calc(var(--bottom) + 24px); }

/* player sheet */
.ax-ph { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 4px 18px 0; }
.ax-ph .ax-num { width: 64px; height: 64px; border-radius: 20px; font-size: 30px; background: var(--red); color: #fff; }
.ax-ph h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 30px; line-height: .92; text-transform: uppercase; }
.ax-ph p { margin: 4px 0 0; font-size: 13px; color: var(--soft); }
.ax-actions { display: flex; gap: 8px; padding: 14px 18px 0; }
.ax-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
.ax-btn svg { width: 18px; height: 18px; }
.ax-btn.red { background: var(--red); color: #fff; box-shadow: 0 10px 22px -12px var(--red-glow); }
.ax-btn.on { background: var(--gold); color: #3A2A16; box-shadow: none; }
.ax-line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 14px 18px 0; }
.ax-line div { padding: 10px 0; border-radius: 14px; background: var(--surface); text-align: center; box-shadow: 0 1px 0 var(--line); }
.ax-line b { display: block; font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1; }
.ax-line span { font-family: var(--mono); font-size: 8px; letter-spacing: .12em; color: var(--steel); }
.ax-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.ax-tbl th { padding: 8px 6px; text-align: right; font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .12em; color: var(--steel); }
.ax-tbl th:first-child, .ax-tbl td:first-child { text-align: left; }
.ax-tbl td { padding: 9px 6px; text-align: right; border-top: 1px solid var(--line); }
.ax-tbl td small { display: block; font-size: 11px; color: var(--soft); }
.ax-tbl td b { font-family: var(--display); font-size: 16px; }

/* goals timeline */
.ax-goal { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.ax-goal:first-child { border-top: 0; }
.ax-goal time { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--steel); }
.ax-goal b { font-weight: 700; }
.ax-goal.them { color: var(--soft); }
.ax-goal.us b { color: var(--red); }
.ax-score { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 6px 18px 0; text-align: center; }
.ax-score b { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: .85; }
.ax-score span { display: block; font-family: var(--display); font-weight: 800; font-size: 16px; text-transform: uppercase; }
.ax-score i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--steel); }

/* toggles (Me) */
.ax-switch { position: relative; width: 50px; height: 30px; flex-shrink: 0; }
.ax-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.ax-switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--ice-2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s; }
.ax-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .3s var(--spring); }
.ax-switch input:checked + i { background: var(--good); }
.ax-switch input:checked + i::after { transform: translateX(20px); }

/* pull to refresh */
.ax-ptr { position: absolute; z-index: 4; left: 50%; top: calc(var(--top) + 54px); width: 36px; height: 36px; margin-left: -18px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); opacity: 0; transform: translateY(-30px) scale(.6); transition: opacity .2s, transform .2s; pointer-events: none; }
.ax-ptr svg { width: 20px; height: 20px; color: var(--red); }
.ax-ptr.is-spin svg { animation: ax-spin .8s linear infinite; }
@keyframes ax-spin { to { transform: rotate(360deg); } }

/* skeletons */
.ax-skel { border-radius: 18px; background: linear-gradient(100deg, var(--ice-2) 30%, var(--surface) 50%, var(--ice-2) 70%); background-size: 300% 100%; animation: ax-shimmer 1.4s linear infinite; }
@keyframes ax-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* lock */
.ax-lock { padding: 22px; text-align: center; }
.ax-lock__i { width: 60px; height: 60px; margin: 0 auto; display: grid; place-items: center; border-radius: 18px; background: var(--red); color: #fff; box-shadow: 0 14px 30px -12px var(--red-glow); }
.ax-lock__i svg { width: 28px; height: 28px; }
.ax-lock h3 { margin: 16px 0 6px; font-family: var(--display); font-weight: 900; font-size: 30px; text-transform: uppercase; }
.ax-lock form { display: flex; gap: 8px; margin-top: 16px; }
.ax-lock input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: 16px; }
.ax-lock .ax-btn { flex: 0 0 auto; }
.ax-lock__err { min-height: 20px; margin-top: 10px; font-size: 13px; color: var(--red); }
.ax-shake { animation: ax-shake .4s; }
@keyframes ax-shake { 25% { transform: translateX(-8px); } 50% { transform: translateX(8px); } 75% { transform: translateX(-4px); } }

/* embedded page */
.ax-frame { position: absolute; inset: calc(var(--top) + 48px) 0 0 0; width: 100%; height: calc(100% - var(--top) - 48px); border: 0; background: var(--ice); }

/* misc */
.ax-empty { padding: 26px 18px; text-align: center; color: var(--soft); font-size: 14px; line-height: 1.5; }
.ax-toast { position: absolute; z-index: 120; left: 50%; bottom: calc(var(--tabh) + var(--bottom) + 14px); transform: translate(-50%, 20px); opacity: 0; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--ice); font-weight: 600; font-size: 14px; transition: opacity .25s, transform .35s var(--spring); pointer-events: none; white-space: nowrap; }
.ax-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.ax-fix { padding: 14px 16px; border-left: 4px solid var(--red); }
.ax-fix + .ax-fix { border-top: 1px solid var(--line); }
.ax-fix h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 19px; text-transform: uppercase; }
.ax-fix b { display: inline-block; margin-top: 5px; padding: 3px 8px; border-radius: 999px; background: rgba(211,32,42,.12); color: var(--red); font-family: var(--mono); font-size: 10px; }
.ax-fix p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--soft); }
.ax-fix .try { padding: 8px 10px; border-radius: 10px; background: var(--ice-2); color: var(--ink); }
.ax-fix.good { border-left-color: var(--good); }
.ax-fix.good b { background: rgba(31,157,87,.12); color: var(--good); }
.ax-ban { display: flex; gap: 10px; overflow-x: auto; padding: 4px 16px 10px; scrollbar-width: none; }
.ax-ban::-webkit-scrollbar { display: none; }
.ax-ban div { flex-shrink: 0; width: 120px; padding: 14px 10px 24px; text-align: center; color: #fff; background: linear-gradient(180deg, #D3202A, #8A0A1F); clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%); }
.ax-ban b { display: block; font-family: var(--display); font-weight: 900; font-size: 18px; text-transform: uppercase; }
.ax-ban span { font-family: var(--mono); font-size: 10px; }
.ax-trow { display: grid; grid-template-columns: 86px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13px; }
.ax-trow:first-child { border-top: 0; }
.ax-trow time { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--soft); }
.ax-trow b { font-family: var(--display); font-weight: 800; font-size: 16px; text-transform: uppercase; }
.ax-trow em { font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 700; }
.ax-thead { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; padding: 14px; background: radial-gradient(120% 140% at 0 0, #2A2214, #0B0F14 60%); color: #fff; }
.ax-thead img { width: 54px; height: 64px; object-fit: contain; }
.ax-thead b { font-family: var(--display); font-weight: 900; font-size: 20px; color: #F6D57A; text-transform: uppercase; line-height: .95; }
.ax-thead p { margin: 4px 0 0; font-size: 12px; color: #C9BFA8; line-height: 1.4; }
.ax-wn { padding: 0 18px; }
.ax-wn article { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.ax-wn__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; }
.ax-wn__ic svg { width: 21px; height: 21px; }
.ax-wn__go { display: inline-flex; align-items: center; gap: 2px; margin-top: 10px; color: var(--red); font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.ax-wn__go svg { width: 16px; height: 16px; }
.ax-wn article:first-child { border-top: 0; }
.ax-wn h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 22px; text-transform: uppercase; }
.ax-wn p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--soft); }
@media (prefers-reduced-motion: reduce) { .ax-view, .ax-sheet, .ax-tabbar { transition-duration: .01s !important; } .ax-skel { animation: none; } }
@media (min-width: 700px) { .ax { max-width: 520px; margin: 0 auto; box-shadow: 0 0 0 1px var(--line); } }

/* pwa.js prompts sit above the tab bar */
.sx-pwa { bottom: calc(var(--tabh) + env(safe-area-inset-bottom) + 12px) !important; }
.sx-off { top: calc(env(safe-area-inset-top) + 54px) !important; }
.ax-rv summary::-webkit-details-marker { display: none; }
.ax-rv[open] summary { background: var(--ice-2); }

/* ---------- season picker ---------- */
.ax-sp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ax-sp__pick { position: relative; flex: 1; display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ax-sp__pick span { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .16em; color: var(--steel); }
.ax-sp__pick select { flex: 1; appearance: none; -webkit-appearance: none; border: 0; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: var(--ice); font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; }
.ax-sp.is-past .ax-sp__pick { box-shadow: inset 0 0 0 2px var(--red); }
.ax-sp.is-past .ax-sp__pick select { background: var(--red); color: #fff; }
.ax-sp__back { display: block; margin-top: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(211,32,42,.1); font-size: 13px; text-align: left; width: 100%; }
.ax-sp__back u { color: var(--red); font-weight: 700; text-underline-offset: 3px; }

/* ---------- player cards (same as the website) ---------- */
.ax-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 10px; }
.ax-pc { display: grid; gap: 10px; align-content: start; padding: 12px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: left; min-width: 0; }
.ax-pc.is-fav { box-shadow: inset 0 0 0 2px var(--gold); }
.ax-pc__head { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: center; }
.ax-pc__num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--ice); font-family: var(--display); font-weight: 900; font-size: 20px; }
.ax-pc.is-top .ax-pc__num { background: var(--red); color: #fff; }
.ax-pc__name { min-width: 0; font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.ax-pc__name small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 8px; font-weight: 500; letter-spacing: .06em; color: var(--soft); text-transform: none; }
.ax-pc__rank { font-family: var(--mono); font-size: 7px; color: var(--soft); text-align: right; letter-spacing: .04em; }
.ax-pc__rank b { display: block; font-family: var(--display); font-size: 16px; color: var(--ink); }
.ax-pc__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.ax-pc__stats div { padding: 7px 0; border-radius: 9px; background: var(--ice); text-align: center; min-width: 0; }
.ax-pc__stats b { display: block; font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1; white-space: nowrap; }
.ax-pc__stats span { font-family: var(--mono); font-size: 7px; letter-spacing: .1em; color: var(--soft); }
.ax-pc__meters { display: grid; gap: 4px; }
.ax-pc__meters div { display: grid; grid-template-columns: 46px 1fr 20px; gap: 6px; align-items: center; }
.ax-pc__meters span { font-family: var(--mono); font-size: 7px; font-weight: 700; letter-spacing: .1em; color: var(--steel); }
.ax-pc__meters i { height: 5px; border-radius: 99px; background: var(--ice-2); overflow: hidden; }
.ax-pc__meters i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2346B8, var(--red)); }
.ax-pc__meters i b.c { background: linear-gradient(90deg, #E2B13C, var(--red)); }
.ax-pc__meters strong { font-family: var(--display); font-weight: 900; font-size: 13px; text-align: right; }
.ax-pc__bdgs { gap: 3px; }
.ax-pc__bdgs .ax-bdg { padding: 3px 7px 3px 4px; font-size: 7px; }
.ax-pc__bdgs .ax-bdg i { width: 8px; height: 8px; }
.ax-bdg.more { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--soft); }
.ax-pc__past { display: flex; justify-content: space-between; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 8px; color: var(--soft); }
.ax-pc__past span:first-child { color: var(--red); font-weight: 700; }

/* ---------- awards cabinet ---------- */
.ax-cab { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 4px; scrollbar-width: none; }
.ax-cab::-webkit-scrollbar { display: none; }
.ax-cab button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: left; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.05; }
.ax-cab button i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--ice-2); }
.ax-cab button i svg { width: 16px; height: 16px; }
.ax-cab button small { display: block; font-family: var(--mono); font-size: 8px; font-weight: 500; letter-spacing: .04em; color: var(--soft); margin-top: 2px; }
.ax-cab button[aria-pressed="true"] { background: #1B1408; color: #F6D57A; box-shadow: inset 0 0 0 1px #C9962E; }
.ax-cab button[aria-pressed="true"] i { background: linear-gradient(140deg, #F6D57A, #C9962E); color: #1B1408; }
.ax-cab button[aria-pressed="true"] small { color: #C9A85A; }
.ax-stage { overflow: hidden; border-radius: 24px; padding: 4px 10px; background: radial-gradient(90% 40% at 50% 0%, #1E2733, #0A0D12 70%); color: #EDE6D6; }
.ax-pod { position: relative; padding: 26px 0 22px; text-align: center; }
.ax-pod + .ax-pod { border-top: 1px solid rgba(255,255,255,.07); }
.ax-pod::before { content: ""; position: absolute; left: 50%; top: 0; width: 90%; height: 70%; transform: translateX(-50%); background: radial-gradient(50% 60% at 50% 0%, rgba(255,236,190,.13), transparent 70%); pointer-events: none; }
.ax-pod > * { position: relative; }
.ax-pod__k { font-family: var(--mono); font-size: 9px; letter-spacing: .22em; color: #C9A85A; text-transform: uppercase; }
.ax-pod h4 { margin: 6px 0 4px; font-family: var(--display); font-weight: 900; font-size: 30px; text-transform: uppercase; line-height: .9; color: #F6D57A; }
.ax-pod > p { margin: 0 auto 18px; max-width: 34ch; font-size: 12px; color: #A9A08C; line-height: 1.45; }
.ax-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 6px; }
.ax-spot { min-width: 0; display: grid; justify-items: center; color: inherit; }
.ax-spot__art { width: 50px; height: 58px; margin-bottom: 6px; filter: drop-shadow(0 10px 10px rgba(0,0,0,.6)); }
.ax-spot.p1 .ax-spot__art { width: 72px; height: 84px; }
.ax-spot__art svg { width: 100%; height: 100%; overflow: visible; }
.ax-spot__who { width: 100%; padding: 0 2px 8px; }
.ax-spot__who strong { display: block; font-family: var(--display); font-weight: 900; font-size: 15px; text-transform: uppercase; line-height: .95; color: #fff; overflow-wrap: anywhere; }
.ax-spot.p1 .ax-spot__who strong { font-size: 18px; }
.ax-spot__who strong em { font-style: normal; color: #C9A85A; margin-right: 4px; font-size: .8em; }
.ax-spot__who span { display: block; margin-top: 4px; font-family: var(--mono); font-size: 9px; color: #C9BFA8; line-height: 1.3; }
.ax-step { width: 100%; display: grid; place-items: center; border-radius: 8px 8px 0 0; font-family: var(--display); font-weight: 900; color: rgba(0,0,0,.4); box-shadow: inset 0 2px 0 rgba(255,255,255,.45), inset 0 -8px 14px rgba(0,0,0,.25); }
.ax-spot.p1 .ax-step { height: 80px; font-size: 44px; background: linear-gradient(180deg, #F6D57A, #B98A2C); }
.ax-spot.p2 .ax-step { height: 58px; font-size: 34px; background: linear-gradient(180deg, #F1F4F6, #9AA6B2); }
.ax-spot.p3 .ax-step { height: 42px; font-size: 28px; background: linear-gradient(180deg, #EBB088, #9E5C2B); }
.ax-spot.is-empty .ax-step { opacity: .25; }
.ax-floor { height: 8px; border-radius: 0 0 6px 6px; background: linear-gradient(#2B323C, #151A21); }
.ax-pod__note { margin: 12px 0 0; font-family: var(--mono); font-size: 10px; color: #8F8571; }
.ax-rec { position: relative; margin-bottom: 10px; padding: 14px 16px; border-radius: 6px; background: linear-gradient(180deg, #2A2214, #17120A); color: #fff; box-shadow: inset 0 0 0 1px rgba(246,213,122,.22), inset 0 0 0 5px #17120A, inset 0 0 0 6px rgba(246,213,122,.12); }
.ax-rec > span { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #C9BFA8; }
.ax-rec > b { display: block; margin-top: 6px; font-family: var(--display); font-weight: 900; font-size: 32px; line-height: .9; text-transform: uppercase; color: #F6D57A; }
.ax-rec > p { margin: 6px 0 0; font-size: 12px; color: #A9A08C; }
.ax-rec > p strong { font-family: var(--display); font-size: 16px; text-transform: uppercase; color: #fff; }
.ax-rec ol { list-style: none; margin: 10px 0 0; padding: 8px 0 0; border-top: 1px dashed rgba(246,213,122,.18); }
.ax-rec li { display: grid; grid-template-columns: 16px 1fr auto; gap: 6px; font-size: 12px; color: #C9BFA8; padding: 2px 0; }
.ax-rec li i { font-style: normal; font-family: var(--mono); font-size: 9px; color: #8F8571; }
.ax-rec li em { font-style: normal; font-family: var(--mono); font-size: 10px; color: #A9A08C; }

/* ---------- trophies on the player sheet ---------- */
.ax-tros { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ax-tro { position: relative; display: grid; justify-items: center; gap: 2px; padding: 14px 10px; border-radius: 16px; text-align: center; background: radial-gradient(120% 120% at 50% 0%, #2A2214, #0B0F14 70%); color: #fff; }
.ax-tro.is-champ { grid-column: 1 / -1; background: radial-gradient(120% 90% at 50% 0%, #3A0A14, #0B0F14 70%); }
.ax-tro__img { width: 60px; height: 70px; overflow: hidden; margin-bottom: 4px; display: grid; place-items: center; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
.ax-tro__img svg { width: 100%; height: 100%; overflow: visible; }
.ax-tro__img img { display: block; width: auto; height: auto; max-width: 60px; max-height: 70px; object-fit: contain; }
.ax-tro b { font-family: var(--display); font-weight: 900; font-size: 17px; text-transform: uppercase; color: #F6D57A; }
.ax-tro.is-champ b { color: #fff; font-size: 20px; margin-top: 6px; }
.ax-tro span { font-size: 12px; color: #E6DCC6; line-height: 1.4; }
.ax-tro small { font-family: var(--mono); font-size: 9px; color: #A9A08C; line-height: 1.4; }
.ax-tro__x { position: absolute; top: 8px; right: 8px; padding: 2px 7px; border-radius: 999px; background: #F6D57A; color: #0B0F14; font-style: normal; font-family: var(--display); font-weight: 900; font-size: 13px; }
.ax-ban2 { --w: 150px; position: relative; width: var(--w); filter: drop-shadow(0 14px 18px rgba(0,0,0,.5)); transform-origin: 50% 0; animation: ax-sway 6s ease-in-out infinite; }
@keyframes ax-sway { 0%, 100% { transform: rotate(-.6deg); } 50% { transform: rotate(.6deg); } }
.ax-ban2__rod { position: relative; z-index: 2; display: block; height: calc(var(--w) * .07); margin: 0 -3%; border-radius: 4px; background: linear-gradient(180deg, #2A2F37, #0B0F14 55%, #000); }
.ax-ban2__edge, .ax-ban2__white, .ax-ban2__field { clip-path: polygon(0 0, 100% 0, 100% 84%, 50% 100%, 0 84%); }
.ax-ban2__edge { margin-top: -2px; padding: calc(var(--w) * .045); background: linear-gradient(90deg, #8A0A1F, #E3263F 20%, #C8102E 50%, #E3263F 80%, #8A0A1F); }
.ax-ban2__white { padding: calc(var(--w) * .022); background: #fff; }
.ax-ban2__field { display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(var(--w) * .1) 8% calc(var(--w) * .26); background: radial-gradient(80% 50% at 30% 20%, rgba(255,255,255,.12), transparent 60%), linear-gradient(180deg, #1A2029, #0B0F14 70%); color: #fff; }
.ax-ban2__crest { display: grid; place-items: center; width: calc(var(--w) * .46); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 calc(var(--w) * .015) #C8102E, 0 0 0 calc(var(--w) * .03) #fff; }
.ax-ban2__crest img { width: 84%; mix-blend-mode: multiply; }
.ax-ban2__t { margin-top: calc(var(--w) * .07); font-family: var(--display); font-weight: 900; font-size: calc(var(--w) * .13); line-height: .9; text-transform: uppercase; }
.ax-ban2__c { font-family: var(--display); font-weight: 800; font-size: calc(var(--w) * .085); letter-spacing: .14em; text-transform: uppercase; color: #FF4B5C; }
.ax-ban2__sub { margin-top: 2px; font-family: var(--mono); font-size: calc(var(--w) * .045); color: rgba(255,255,255,.6); }
.ax-ban2__yrs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .5em; margin-top: calc(var(--w) * .05); font-family: var(--display); font-weight: 900; font-size: calc(var(--w) * .1); line-height: 1.05; text-transform: uppercase; }
.ax-ban2__yrs.is-many { font-size: calc(var(--w) * .075); }
@media (prefers-reduced-motion: reduce) { .ax-ban2 { animation: none; } }

/* ---------- install page (shown in a browser, never in the installed app) ---------- */
.ix { position: fixed; inset: 0; overflow-y: auto; background: radial-gradient(120% 60% at 50% 0%, #3A0A14, #080B10 60%); color: #EEF3F7; user-select: text; -webkit-user-select: text; }
.ix__in { max-width: 440px; margin: 0 auto; padding: calc(var(--top) + 48px) 24px calc(var(--bottom) + 40px); text-align: center; }
.ix__crest { width: 112px; height: 112px; margin: 0 auto 22px; border-radius: 28px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px #D3202A, 0 30px 60px -20px rgba(211,32,42,.6); }
.ix__crest img { width: 86%; }
.ix h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 64px; line-height: .9; text-transform: uppercase; }
.ix__sub { margin: 12px 0 30px; color: #9AA7B4; font-size: 16px; line-height: 1.5; }
.ix__go { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 17px 20px; border-radius: 999px; background: #D3202A; color: #fff; font-family: var(--display); font-weight: 900; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; }
.ix__steps { margin: 0; padding: 0; list-style: none; text-align: left; display: grid; gap: 10px; }
.ix__steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); font-size: 15px; line-height: 1.4; }
.ix__steps li > i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #D3202A; font-style: normal; font-family: var(--display); font-weight: 900; font-size: 18px; }
.ix__steps svg { width: 18px; height: 18px; vertical-align: -3px; }
.ix__note { margin-top: 18px; font-size: 13px; color: #9AA7B4; }
.ix__skip { display: inline-block; margin-top: 26px; color: #9AA7B4; font-size: 14px; }

/* ---------- app icon picker ---------- */
.ax-icons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ax-iconopt { display: grid; justify-items: center; gap: 4px; padding: 16px 10px 14px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-align: center; }
.ax-iconopt[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--red); }
.ax-iconopt img, .ax-iconopt i { width: 64px; height: 64px; border-radius: 15px; margin-bottom: 6px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); }
.ax-iconopt i { display: grid; place-items: center; font-style: normal; font-size: 30px; color: var(--steel); background: var(--ice-2); box-shadow: none; }
.ax-iconopt b { font-family: var(--display); font-weight: 900; font-size: 17px; text-transform: uppercase; }
.ax-iconopt span { font-size: 12px; color: var(--soft); }
.ax-iconopt.is-soon { opacity: .6; }

/* ---------- main player card on Today ---------- */
.ax-hp { display: grid; gap: 16px; width: 100%; padding: 18px; border-radius: 24px; text-align: left; color: #fff; background: radial-gradient(120% 80% at 100% 0%, rgba(211,32,42,.45), transparent 55%), var(--board); box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); }
.ax-hp__top { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.ax-hp__top > svg { width: 20px; height: 20px; color: rgba(255,255,255,.5); }
.ax-hp__num { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; background: var(--red); font-family: var(--display); font-weight: 900; font-size: 32px; box-shadow: 0 10px 24px -8px var(--red-glow); }
.ax-hp__who small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #FF6B73; }
.ax-hp__who b { display: block; margin-top: 3px; font-family: var(--display); font-weight: 900; font-size: 28px; line-height: .95; text-transform: uppercase; }
.ax-hp__who em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: rgba(255,255,255,.6); }
.ax-hp__line { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 16px; background: rgba(255,255,255,.06); }
.ax-hp__line div { display: grid; justify-items: center; padding: 12px 4px; border-left: 1px solid rgba(255,255,255,.07); }
.ax-hp__line div:first-child { border-left: 0; }
.ax-hp__line b { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; }
.ax-hp__line div:last-child b { color: #FF4B55; }
.ax-hp__line span { margin-top: 4px; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: rgba(255,255,255,.5); }
.ax-hp__k, .ax-hp__meter span, .ax-hp__last span { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.ax-hp__bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; height: 92px; margin-top: 8px; }
.ax-hp__bar { display: grid; grid-template-rows: 1fr auto auto; justify-items: center; gap: 3px; }
.ax-hp__bar i { align-self: end; width: 100%; max-width: 34px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #FF4B55, #A3101A); }
.ax-hp__bar i.is-zero { background: rgba(255,255,255,.14); }
.ax-hp__bar b { font-family: var(--display); font-weight: 900; font-size: 15px; line-height: 1; }
.ax-hp__bar small { font-size: 9px; color: rgba(255,255,255,.45); white-space: nowrap; overflow: hidden; max-width: 100%; }
.ax-hp__meter { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.ax-hp__meter i { height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.ax-hp__meter i b { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #A3101A, #FF4B55); }
.ax-hp__meter strong { font-family: var(--display); font-weight: 900; font-size: 18px; }
.ax-hp__last { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.ax-hp__last b { font-size: 13px; font-weight: 600; }

/* ---------- splash style picker ---------- */
.ax-spl { padding: 10px 8px 12px; }
.ax-spl__prev { display: grid; place-items: center; width: 100%; aspect-ratio: 9 / 13; border-radius: 12px; margin-bottom: 6px; }
.ax-spl__prev img { width: 62%; height: auto; border-radius: 0; box-shadow: none; margin: 0; filter: drop-shadow(0 6px 10px rgba(0,0,0,.3)); }
.ax-spl.is-colour .ax-spl__prev { background: radial-gradient(90% 55% at 50% 42%, #B3121F, #5A0710 55%, #1A0306); }
.ax-spl.is-dark .ax-spl__prev { background: radial-gradient(80% 50% at 50% 42%, #1A2029, #080B10 70%); }
.ax-spl.is-light .ax-spl__prev { background: radial-gradient(80% 50% at 50% 42%, #fff, #EAF1F5 70%); box-shadow: inset 0 0 0 1px var(--line); }
.ax-spl b { font-size: 15px; }

/* ---------- Coach's Room ---------- */
.ax-cr h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 900; font-size: 18px; text-transform: uppercase; }
.ax-dl { margin: 0; display: grid; }
.ax-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ax-dl div:first-child { border-top: 0; padding-top: 0; }
.ax-dl dt { color: var(--soft); }
.ax-dl dd { margin: 0; font-weight: 700; text-align: right; }
.ax-per .r { display: grid; grid-template-columns: 34px 1fr 34px; gap: 10px; align-items: center; padding: 6px 0; }
.ax-per .r > span { font-family: var(--mono); font-size: 11px; color: var(--soft); }
.ax-per .r > div { display: grid; gap: 3px; }
.ax-per i { display: block; height: 9px; min-width: 3px; border-radius: 5px; }
.ax-per i.f { background: var(--red); }
.ax-per i.a { background: var(--steel); opacity: .5; }
.ax-per b { font-family: var(--display); font-weight: 900; font-size: 18px; text-align: right; }
.ax-per b.pos { color: var(--good); } .ax-per b.neg { color: var(--red); }
.ax-bars .r { display: grid; grid-template-columns: 96px 1fr 26px; gap: 10px; align-items: center; padding: 5px 0; font-size: 13px; }
.ax-bars .r span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--soft); }
.ax-bars i { display: block; height: 10px; min-width: 4px; border-radius: 5px; background: var(--red); }
.ax-bars b { text-align: right; font-family: var(--display); font-weight: 900; font-size: 17px; }
.ax-bigstats { display: grid; gap: 10px; }
.ax-bigstat { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.ax-bigstat b { grid-row: span 2; min-width: 92px; font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; color: var(--red); }
.ax-bigstat span { font-family: var(--display); font-weight: 900; font-size: 18px; text-transform: uppercase; }
.ax-bigstat small { font-size: 12px; color: var(--soft); }
.ax-gres { display: flex; gap: 4px; }
.ax-gres em { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-style: normal; font-family: var(--display); font-weight: 900; font-size: 12px; color: #fff; background: var(--steel); }
.ax-gres em.W { background: var(--good); } .ax-gres em.L { background: var(--red); }

/* ---------- notifications card ---------- */
.ax-push { display: grid; gap: 14px; }
.ax-push__top { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.ax-push__top b { display: block; font-family: var(--display); font-weight: 900; font-size: 19px; text-transform: uppercase; }
.ax-push__top span span { display: block; font-size: 13px; color: var(--soft); line-height: 1.4; }
.ax-push .ax-btn { width: 100%; justify-content: center; }

/* ---------- scouting v2.2 ---------- */
.ax-hpm { display: grid; grid-template-columns: 104px 1fr 54px; gap: 10px; align-items: center; padding: 6px 0; font-size: 13px; color: var(--soft); }
.ax-hpm i { height: 7px; border-radius: 7px; background: var(--ice-2); overflow: hidden; }
.ax-hpm i b { display: block; height: 100%; background: var(--red); border-radius: 7px; }
.ax-hpm strong { text-align: right; font-family: var(--display); font-weight: 900; font-size: 18px; color: var(--ink); }
.ax-hpm small { font-size: 11px; color: var(--steel); }
.ax-mx { width: 100%; border-collapse: collapse; font-size: 13px; }
.ax-mx th, .ax-mx td { padding: 9px 6px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ax-mx th:first-child, .ax-mx td:first-child { text-align: left; white-space: normal; color: var(--soft); }
.ax-mx th { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); font-weight: 500; }
.ax-mx td { font-weight: 600; }
.ax-mx td.is-edge { color: var(--red); font-weight: 800; }
.ax-mx tr:last-child td { border-bottom: 0; }

/* ---------- check-ins ---------- */
.ax-login { display: grid; gap: 12px; }
.ax-login label { display: grid; gap: 6px; }
.ax-login label span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.ax-login input { width: 100%; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 17px; color: var(--ink); }
.ax-login input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--red); }
.ax-login__err { min-height: 18px; margin: 0; font-size: 13px; color: var(--red); }
.ax-chip { display: inline-grid; place-items: center; padding: 4px 8px; border-radius: 999px; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .1em; background: var(--ice-2); color: var(--soft); white-space: nowrap; }
.ax-chip.is-in { background: #1F9D57; color: #fff; }
.ax-chip.is-goalie { background: #2346B8; color: #fff; }
.ax-chip.is-wait { background: var(--gold); color: #0B0F14; }
.ax-chip.is-out { background: var(--ink); color: var(--ice); }
.ax-ttag { font-style: normal; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 5px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 900; font-size: 12px; vertical-align: 1px; }
.ax-mine b { font-family: var(--display); font-weight: 900; font-size: 24px; text-transform: uppercase; }
.ax-cbtns { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin-top: 14px; }
.ax-cbtn { padding: 14px 8px; border-radius: 14px; background: var(--ice-2); font-family: var(--display); font-weight: 900; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--soft); transition: transform .15s; }
.ax-cbtn:active { transform: scale(.96); }
.ax-cbtn.in.is-on { background: #1F9D57; color: #fff; }
.ax-cbtn.out.is-on { background: var(--ink); color: var(--ice); }
.ax-cbtn.wait.is-on { background: var(--gold); color: #0B0F14; }
.ax-cbtn.goalie.is-on { background: #2346B8; color: #fff; }
.is-busy .ax-cbtn, .is-busy .ax-adm button, .is-busy .ax-stepper button { opacity: .5; pointer-events: none; }
.ax-plist { padding: 4px 0; }
.ax-prow { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.ax-prow:first-child { border-top: 0; }
.ax-prow.is-me { background: rgba(211,32,42,.06); }
.ax-prow__n { font-family: var(--mono); font-size: 11px; color: var(--steel); }
.ax-prow__t b { display: block; font-size: 15px; }
.ax-prow__t small { font-size: 12px; color: var(--soft); }
.ax-prow__t a { color: var(--red); text-decoration: none; }
.ax-adm { display: flex; gap: 4px; }
.ax-adm button { padding: 6px 8px; border-radius: 8px; background: var(--ice-2); font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--ink); }
.ax-limit { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ax-limit b { display: block; font-family: var(--display); font-weight: 900; font-size: 18px; text-transform: uppercase; }
.ax-limit small { font-size: 12px; color: var(--soft); }
.ax-stepper { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ax-stepper button { width: 38px; height: 38px; border-radius: 12px; background: var(--ice-2); font-size: 22px; font-weight: 700; }
.ax-limit .ax-stepper b { display: inline-block; min-width: 28px; text-align: center; font-size: 26px; }
.ax-limit > span:first-child { flex: 1; }

/* ---------- check-in (BenchApp style) ---------- */
.bx-cal { border-radius: 22px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.bx-calhead { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 10px; }
.bx-calhead b { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.bx-calhead span { display: flex; gap: 6px; }
.bx-calhead button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--ink); }
.bx-calhead svg { width: 20px; height: 20px; }
.bx-dow { display: grid; grid-template-columns: repeat(7, 1fr); padding: 0 4px 6px; border-bottom: 1px solid var(--line); }
.bx-dow span { text-align: center; font-size: 11px; font-weight: 700; color: var(--steel); letter-spacing: .04em; }
.bx-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.bx-day { min-height: 62px; padding: 4px 2px 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; align-items: stretch; gap: 3px; min-width: 0; }
.bx-day:nth-child(7n) { border-right: 0; }
.bx-day.is-past .bx-dn { color: var(--steel); }
.bx-dn { align-self: flex-end; width: 24px; height: 24px; display: grid; place-items: center; margin-right: 2px; border-radius: 50%; font-size: 12px; font-weight: 600; }
.bx-dn.is-today { background: #2F7BF6; color: #fff; }
.bx-pill { display: flex; align-items: center; gap: 3px; width: 100%; padding: 3px 2px 3px 0; border-radius: 0 7px 7px 0; background: var(--ice-2); font-size: 10px; letter-spacing: -.02em; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; }
.bx-pill i { flex-shrink: 0; width: 4px; align-self: stretch; border-radius: 0 3px 3px 0; }
.bx-pill.is-final { color: var(--soft); }
.bx-toggle { display: block; margin: 10px auto 0; padding: 8px 14px; border-radius: 999px; background: var(--ice-2); font-size: 13px; font-weight: 600; color: var(--red); }
.bx-card { display: block; width: 100%; margin-bottom: 12px; padding: 16px; border-radius: 22px; text-align: left; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink); }
.bx-card:last-child { margin-bottom: 0; }
.bx-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; }
.bx-bar { width: 5px; height: 42px; border-radius: 4px; }
.bx-title b { display: block; font-size: 18px; font-weight: 700; line-height: 1.2; }
.bx-title em { font-style: normal; font-size: 13px; color: var(--soft); font-weight: 600; }
.bx-title small, .bx-when small { display: block; margin-top: 2px; font-size: 15px; color: var(--soft); }
.bx-when { text-align: right; }
.bx-when b { display: block; font-size: 16px; font-weight: 700; }
.bx-when small { color: var(--ink); }
.bx-cols { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
.bx-cols div { padding: 0 10px; border-left: 1px solid var(--line); }
.bx-cols div:first-child { border-left: 0; padding-left: 0; }
.bx-cols span { display: block; font-size: 14px; font-weight: 600; color: var(--soft); }
.bx-cols b { display: block; margin-top: 6px; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.bx-sub { margin: 12px 0 0; font-size: 15px; color: var(--soft); }
.bx-sub b { color: var(--soft); font-weight: 700; }
.bx-mini { display: flex; gap: 14px; margin: 10px 0 0 17px; }
.bx-mini b { font-size: 16px; font-weight: 700; }
.bx-div { display: block; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--ice-2); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--soft); }
.bx-hero { display: grid; justify-items: center; gap: 4px; padding: 10px 18px 6px; text-align: center; }
.bx-hero span { font-size: 15px; font-weight: 600; }
.bx-hero b { font-size: 22px; font-weight: 800; }
.bx-hero small { font-size: 15px; color: var(--soft); }
.bx-hero em { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.bx-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 18px 0; }
.bx-act { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 13px; color: var(--ink); text-decoration: none; }
.bx-act svg { width: 24px; height: 24px; }
.bx-teams { display: grid; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.bx-teams > div { display: flex; align-items: center; gap: 12px; }
.bx-teams img { width: 40px; height: 40px; object-fit: contain; }
.bx-teams b { display: block; font-size: 17px; font-weight: 700; }
.bx-teams small { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--soft); }
.bx-av { position: relative; flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ice-2); font-style: normal; font-size: 12px; font-weight: 700; color: var(--soft); }
.bx-av.r-FT { background: rgba(47,123,246,.16); color: #4F8CF7; }
.bx-av.r-PT { background: rgba(255,69,58,.14); color: #FF6B60; }
.bx-av.r-SUB { background: rgba(245,165,36,.16); color: #D98E12; }
.bx-av em { position: absolute; right: -3px; bottom: -3px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--surface); font-style: normal; font-size: 9px; font-weight: 800; color: #fff; }
.bx-rsvp { display: grid; gap: 12px; }
.bx-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bx-big { display: grid; grid-template-columns: 1fr auto; align-items: center; overflow: hidden; border-radius: 999px; background: var(--ice-2); color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.bx-big span { padding: 15px 8px 15px 18px; text-align: center; }
.bx-big b { padding: 15px 16px; border-left: 1px solid var(--line); font-size: 17px; }
.bx-big.in.is-on { background: var(--bin); color: #fff; }
.bx-big.out.is-on { background: var(--bout); color: #fff; }
.bx-big.wait.is-on { background: var(--bwait); color: #0B0F14; }
.bx-big.is-on b { border-left-color: rgba(255,255,255,.3); }
.bx-links { display: flex; justify-content: center; gap: 22px; }
.bx-links:empty { display: none; }
.bx-links button { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--soft); }
.bx-links svg { width: 18px; height: 18px; }
.bx-note { margin: 0; text-align: center; font-size: 13px; color: var(--soft); }
.bx-list { padding: 14px 16px 6px; }
.bx-lh { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 6px; }
.bx-lh b { font-size: 19px; font-weight: 700; }
.bx-lh span { font-size: 18px; font-weight: 700; color: var(--soft); }
.bx-p { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.bx-p.is-me .bx-pt b { color: var(--red); }
.bx-pt b { display: block; font-size: 16px; font-weight: 600; }
.bx-pt b small { font-size: 14px; color: var(--soft); font-weight: 500; }
.bx-pt > small { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--soft); }
.bx-pt a { color: var(--red); text-decoration: none; }
.bx-pos { padding: 3px 8px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--steel); font-size: 11px; font-weight: 700; color: var(--soft); }
.bx-more { padding: 6px 4px; font-size: 16px; letter-spacing: 1px; color: var(--soft); }
.is-busy .bx-big, .is-busy .bx-links button, .is-busy .ax-stepper button { opacity: .5; pointer-events: none; }

/* ---------- full-screen login ---------- */
.ax-sheet.is-full { top: 0; max-height: none; height: 100%; border-radius: 0; padding-top: var(--top); }
.ax-sheet.is-full .ax-sheet__grab { visibility: hidden; }
.ax-loginwrap { max-width: 420px; margin: 0 auto; padding: 12px 22px 40px; }
.ax-login__crest { display: block; width: 110px; height: auto; margin: 8px 0 18px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); }
.ax-pw { position: relative; display: block; }
.ax-pw input { padding-right: 54px; }
.ax-eye { position: absolute; right: 6px; bottom: 6px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--steel); }
.ax-eye svg { width: 22px; height: 22px; }
.ax-eye.is-on { color: var(--red); }

.ax-sheet.is-full .ax-sheet__x { top: calc(var(--top) + 10px); }

/* ---------- check-in team filter ---------- */
.bx-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 12px; padding: 4px; border-radius: 14px; background: var(--ice-2); }
.bx-seg button { padding: 9px 6px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--soft); }
.bx-seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.bx-acts.is-4 { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bx-linesbar { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; width: 100%; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--ice-2); text-align: left; color: var(--soft); font-size: 15px; }
.bx-linesbar svg { width: 24px; height: 24px; color: var(--bin); }
.bx-linesbar b { color: #2F7BF6; font-weight: 600; }
/* ---------- lines (BenchApp style) ---------- */
.ax-printbtn { padding: 8px 14px; border-radius: 999px; background: var(--ice-2); font-size: 15px; font-weight: 600; color: var(--ink); }
.bl-top { padding: 4px 18px 6px; }
.bl-top b { display: block; font-size: 20px; font-weight: 800; }
.bl-top span { font-size: 13px; color: var(--soft); }
.bl-h { padding: 18px 22px 8px; font-size: 18px; color: var(--soft); }
.bl-h b { color: var(--ink); font-weight: 700; margin-right: 4px; }
.bl-card { margin: 0 16px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.bl-row { display: grid; grid-template-columns: 52px auto auto 1fr; gap: 12px; align-items: center; width: 100%; min-height: 70px; padding: 10px 16px; border-top: 1px solid var(--line); text-align: left; color: var(--ink); }
.bl-row:first-child { border-top: 0; }
button.bl-row:active { background: var(--ice-2); }
.bl-pos { font-size: 14px; font-weight: 800; text-align: center; }
.bl-bar { width: 6px; height: 38px; border-radius: 4px; background: var(--bin); }
.bl-name b { display: block; font-size: 17px; font-weight: 600; }
.bl-name b small { font-size: 13px; color: var(--soft); font-weight: 500; }
.bl-name > small { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--soft); }
.bl-row.is-me .bl-name b { color: var(--red); }
.bl-empty { grid-column: 2 / -1; font-size: 14px; font-weight: 600; color: var(--steel); }
.bl-left { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }
.bl-left span { padding: 6px 10px; border-radius: 999px; background: var(--ice-2); font-size: 13px; font-weight: 600; }

.ax-actions .ax-dlbtn { flex: 0 0 52px; padding: 0; justify-content: center; }
.ax-actions .ax-dlbtn svg { width: 22px; height: 22px; margin: 0; }

/* ---------- splash picker rail ---------- */
.sp-rail { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 18px; padding: 8px 18px 14px; margin: 0 -18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sp-rail::-webkit-scrollbar { display: none; }
.sp-card { flex: 0 0 31%; max-width: 150px; display: grid; gap: 9px; justify-items: center; scroll-snap-align: center; color: var(--soft); }
.sp-phone { position: relative; display: block; width: 100%; aspect-ratio: 9 / 19.5; border-radius: 24px; padding: 4px; background: #0B0F14; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 14px 30px -14px rgba(0,0,0,.55); transition: transform .35s cubic-bezier(.2,1,.3,1), box-shadow .35s; }
.sp-screen { position: absolute; inset: 4px; border-radius: 20px; overflow: hidden; background: #080B10; transform: translateZ(0); }
.sp-card b { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; transition: color .2s; }
.sp-card[aria-pressed="true"] .sp-phone { transform: translateY(-4px); box-shadow: 0 0 0 2.5px var(--red), 0 18px 34px -14px var(--red-glow); }
.sp-card[aria-pressed="true"] b { color: var(--ink); }
.sp-card:active .sp-phone { transform: scale(.96); }
.sp-check { position: absolute; top: 9px; right: 9px; z-index: 2; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.4); transform: scale(0); transition: transform .3s cubic-bezier(.2,1.4,.4,1); }
.sp-card[aria-pressed="true"] .sp-check { transform: scale(1); }
.sp-shuffle { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; font-style: normal; background: rgba(8,11,16,.45); color: #fff; }
.sp-shuffle svg { width: 34%; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
#sx-splash.is-preview { cursor: pointer; }

/* ---------- beta ---------- */
.ax-beta { display: inline-block; font-style: normal; line-height: 1.5; width: auto; white-space: nowrap; padding: 2px 7px; margin-left: 4px; border-radius: 999px; background: #E11D2E; color: #fff; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .12em; vertical-align: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 2px 8px -2px rgba(225,29,46,.6); }
.is-beta { box-shadow: 0 0 0 1.5px rgba(225,29,46,.55) !important; }
/* ---------- practice reviews ---------- */
.pr-head { padding: 6px 18px 4px; }
.pr-head h1 { margin: 6px 0 8px; font-family: var(--display); font-weight: 900; font-size: 34px; line-height: .95; text-transform: uppercase; }
.pr-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-tags span { padding: 4px 10px; border-radius: 999px; background: var(--ice-2); font-size: 12px; font-weight: 600; color: var(--soft); }
.pr-block h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 900; font-size: 20px; text-transform: uppercase; }
.pr-block p, .pr-block li { font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.pr-block p { margin: 0; }
.pr-block ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.pr-rink { padding: 12px 12px 14px; }
.rp-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px 10px; padding: 0 12px; }
.rp-chips::-webkit-scrollbar { display: none; }
.rp-chips button { flex: 0 0 auto; padding: 8px 12px; border-radius: 999px; background: var(--ice-2); font-size: 13px; font-weight: 700; color: var(--soft); white-space: nowrap; }
.rp-chips button[aria-selected="true"] { background: var(--red); color: #fff; }
.rp-stage { border-radius: 16px; overflow: hidden; background: var(--ice-2); padding: 4px; }
.rp-svg { display: block; width: 100%; height: auto; }
.rp-lbl { font: 700 2.6px var(--mono); letter-spacing: .3px; fill: rgba(30,40,50,.28); }
.rp-t { font: 900 3.6px var(--display); fill: #fff; pointer-events: none; }
.rp-t.sm { font-size: 3px; }
.rp-t.them { font-size: 3.4px; }
.rp-zone, .rp-boxp { transition: opacity .5s; }
.rp-draw { stroke-dasharray: 60; stroke-dashoffset: 60; animation: rp-draw .7s ease-out forwards; }
.rp-draw[stroke-dasharray="1.6 1"] { stroke-dasharray: 1.6 1; stroke-dashoffset: 0; animation: rp-fade .5s ease-out both; }
@keyframes rp-draw { to { stroke-dashoffset: 0; } }
.rp-fade { animation: rp-fade .5s ease-out both; }
@keyframes rp-fade { from { opacity: 0; } }
.rp-bar { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.rp-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--ice-2); font-size: 20px; font-weight: 700; color: var(--ink); }
.rp-play { background: var(--red); color: #fff; font-size: 14px; }
.rp-steps { flex: 1; display: flex; gap: 5px; justify-content: center; }
.rp-steps i { width: 22px; height: 5px; border-radius: 3px; background: var(--ice-2); transition: background .3s; }
.rp-steps i.done { background: rgba(211,32,42,.4); }
.rp-steps i.on { background: var(--red); }
.rp-note { min-height: 44px; margin: 10px 2px 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.rp-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 10px 2px 0; font-size: 11px; font-weight: 600; color: var(--soft); }
.rp-legend span { display: inline-flex; align-items: center; gap: 5px; }
.rp-legend i { display: inline-block; }
.rp-legend .us { width: 11px; height: 11px; border-radius: 50%; background: #D3202A; }
.rp-legend .them { width: 11px; height: 11px; border-radius: 50%; background: #1B2027; box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 1px #1B2027; }
.rp-legend .pk { width: 9px; height: 6px; border-radius: 50%; background: #0B0B0B; }
.rp-legend .mv { width: 16px; height: 2px; background: #D3202A; }
.rp-legend .ps { width: 16px; height: 0; border-top: 2px dashed var(--ink); }
.rp-legend .cv { width: 16px; height: 0; border-top: 2px dotted #D3202A; }
.rp-jobs { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.rp-jobs h4 { margin: 0 0 8px; font-family: var(--display); font-weight: 900; font-size: 18px; text-transform: uppercase; }
.rp-job { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; padding: 7px 0; }
.rp-job b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #D3202A; color: #fff; font-family: var(--display); font-weight: 900; font-size: 14px; }
.rp-job b.g { background: #7A0816; }
.rp-job p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }

.ax-back span { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- all-time table (beta) ---------- */
.at-head { display: flex; justify-content: space-between; align-items: center; }
.at-head b { display: block; font-family: var(--display); font-weight: 900; font-size: 20px; text-transform: uppercase; }
.at-head span { font-size: 12px; color: var(--soft); }
.at-ctrl { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.at-wrap { overflow-x: auto; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); -webkit-overflow-scrolling: touch; }
.at { border-collapse: separate; border-spacing: 0; min-width: 100%; font-size: 13px; }
.at th, .at td { padding: 10px 9px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.at th { position: sticky; top: 0; z-index: 1; background: var(--surface); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--steel); font-weight: 700; cursor: pointer; user-select: none; }
.at th.is-on { color: var(--red); }
.at td { font-weight: 600; font-variant-numeric: tabular-nums; }
.at td.is-on { color: var(--ink); font-weight: 800; background: rgba(211,32,42,.05); }
.at .at-n { position: sticky; left: 0; z-index: 2; text-align: left; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
.at th.at-n { z-index: 3; cursor: default; }
.at td.at-n { display: flex; align-items: center; gap: 8px; min-width: 150px; max-width: 170px; }
.at td.at-n i { flex-shrink: 0; width: 20px; font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--steel); text-align: right; }
.at td.at-n span { min-width: 0; }
.at td.at-n b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.at td.at-n small { font-size: 10px; color: var(--soft); font-weight: 500; }
.at tr.is-cur { cursor: pointer; }
.at tr.is-cur:active td { background: var(--ice-2); }
.at tbody tr:last-child td { border-bottom: 0; }
