/* OddsKnight user app (USER-APP-001). Layout from May's Claude Design "Sports Lab Simple" (Modernist:
   Archivo, one red accent, zero radius, strong 2px rules); the split probability bar from May's
   screenshot, recoloured to the theme: ink = home, stone = draw, grey = away, red = your pick. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f3f2f2; --surface: #eae9e9; --ink: #201e1d; --red: #ec3013; --red-100: #fff2ef; --red-600: #dd2b0f;
  --red-700: #ae1800; --n-300: #d7d3d3; --n-500: #9b9797; --n-600: #7d7979; --n-700: #605d5d;
  --divider: color-mix(in srgb, #201e1d 40%, transparent);
  --home: var(--ink); --draw: var(--n-300); --away: var(--n-600);
  /* Claude Design colour turn 1c (May, 2026-10-02): one job each. Red = the main action only;
     navy = selected and the slip (trust); green = 70%+ and amber = 50-69% (confidence). */
  --navy: #1f3160; --navy: oklch(0.33 0.09 262); --navy-t: #e3e9f7; --navy-t: oklch(0.94 0.025 262);
  --green: #3a7d47; --green: oklch(0.52 0.13 150); --green-t: #dcf0df; --green-t: oklch(0.94 0.04 150);
  --amber: #d39b39; --amber: oklch(0.72 0.14 75);
  --low-a: var(--n-300); --low-b: #bab6b6;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 "Archivo", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0; }
a { color: var(--red-700); }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.u-wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.u-red { color: var(--red-700); }
.u-accent { color: var(--red); }
.u-kicker { font-size: 11px; letter-spacing: .1em; font-weight: 600; text-transform: uppercase; color: var(--n-700); }

/* header */
.u-top { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 2px solid var(--ink); }
.u-top-row { display: flex; align-items: stretch; gap: 28px; min-height: 64px; }
.u-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.u-mark { width: 16px; height: 16px; background: var(--red); display: block; }
.u-nav { display: flex; }
.u-nav button, .u-nav a { display: flex; align-items: flex-end; padding: 6px 14px 14px; border: 0; border-bottom: 4px solid transparent; margin-bottom: -2px;
  background: none; font-size: 15px; font-weight: 500; color: var(--n-700); min-height: 44px; text-decoration: none; transition: color .2s, border-color .3s; }
.u-nav [aria-current="page"] { border-bottom-color: var(--red); font-weight: 700; color: var(--ink); }
.u-notice { margin: 0; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.u-notice .u-wrap { display: block; padding-top: 6px; padding-bottom: 6px; }

/* hero */
.u-hero { padding: clamp(28px, 5vw, 56px) 0 28px; border-bottom: 2px solid var(--ink); display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-end; justify-content: space-between; }
.u-hero h1 { margin-left: -.04em; font-size: clamp(42px, 6vw, 84px); line-height: .98; letter-spacing: -.045em; }
.u-line { display: block; overflow: hidden; padding-bottom: .06em; }
.u-line > span { display: block; }
.u-hero p { max-width: 36ch; font-size: 16px; color: var(--n-700); }

.u-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px clamp(24px, 3vw, 48px); padding: 28px 0 48px; align-items: start; }
.u-main { min-width: 0; }
#soccer-view { display: flex; flex-direction: column; gap: 18px; }

/* segmented controls and chips */
.u-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.u-seg { display: inline-grid; grid-auto-flow: column; border: 2px solid var(--ink); }
.u-seg button { border: 0; background: transparent; padding: 8px 16px; min-height: 52px; text-align: left; display: flex; flex-direction: column; justify-content: center; transition: background .25s, color .25s; }
.u-seg button + button { border-left: 2px solid var(--ink); }
.u-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.u-seg b { font-weight: 800; font-size: 15px; line-height: 1.2; }
.u-seg small { font-size: 12px; line-height: 1.3; opacity: .8; }
.u-seg-sm button { min-height: 40px; min-width: 44px; padding: 0 12px; font-weight: 700; font-size: 15px; }
.u-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.u-chip { border: 2px solid var(--n-300); background: transparent; font-size: 13px; font-weight: 600; padding: 6px 12px; min-height: 40px; display: flex; align-items: center; gap: 8px; transition: background .25s, color .25s, border-color .25s; }
.u-chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.u-chip.is-empty { opacity: .45; }
.u-chip em { font-style: normal; font-size: 11px; opacity: .7; font-variant-numeric: tabular-nums; }
.u-flag { width: 20px; height: 15px; object-fit: cover; box-shadow: 0 0 0 1px rgba(32,30,29,.22); display: block; }

/* quick slip */
.u-quick { position: relative; overflow: hidden; background: var(--surface); padding: 24px clamp(16px, 2.5vw, 28px) 18px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; border-top: 4px solid var(--red); }
.u-quick-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.u-sentence { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-weight: 600; font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -.01em; }
.u-quick-go { flex: 0 1 260px; display: flex; flex-direction: column; gap: 8px; }
.u-go { display: flex; justify-content: space-between; align-items: center; gap: 32px; width: 100%; min-height: 52px; padding: 12px 18px; background: var(--red); color: var(--bg); border: 0; font-weight: 800; font-size: 16px; text-align: left; }
.u-go:hover { background: var(--red-600); }
.u-go:disabled { opacity: .6; cursor: progress; }
.u-note { font-size: 13px; line-height: 1.45; color: var(--n-700); min-height: 19px; }

/* builder tabs, inputs */
.u-tabs { flex: 1 1 100%; display: flex; gap: 0; border-bottom: 2px solid var(--ink); margin: -6px 0 2px; }
.u-tabs button { border: 0; background: none; padding: 8px 14px 10px; font-weight: 600; font-size: 14px; color: var(--n-700); border-bottom: 4px solid transparent; margin-bottom: -2px; min-height: 44px; }
.u-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 800; border-bottom-color: var(--red); }
.u-input { font: inherit; font-weight: 700; font-size: 15px; min-height: 40px; padding: 0 10px; border: 2px solid var(--ink); background: var(--bg); color: var(--ink); width: 96px; border-radius: 0; }
.u-select { width: auto; }
.u-facts { margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; }
.u-facts dt { color: var(--n-700); }
.u-facts dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.u-actions { display: flex; gap: 8px; }
.u-leg .meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--n-700); margin-top: 2px; }
.u-leg .meta .u-flag { width: 16px; height: 12px; }
.u-leg .px { display: block; font-size: 12px; font-weight: 600; color: var(--n-700); }
#slip-meta { margin-top: 4px; }

/* games */
.u-league { margin-bottom: 24px; }
.u-league-head { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 2px solid var(--ink); flex-wrap: wrap; }
.u-league-head h2 { font-size: 18px; letter-spacing: -.01em; }
.u-badge { font-size: 12px; font-weight: 600; border: 2px solid var(--ink); padding: 0 6px; font-variant-numeric: tabular-nums; }
.u-fresh { margin-left: auto; font-size: 12px; color: var(--n-700); }
.u-row { border-bottom: 1px solid var(--divider); }
.u-row-main { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 0; }
.u-time { flex: 0 0 48px; font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.u-teams { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; background: none; border: 0; padding: 0; font-weight: 600; font-size: 15px; }
.u-picks { flex: 1 1 300px; max-width: 420px; min-width: 0; }
.u-more { width: 44px; height: 44px; flex: none; border: 2px solid var(--n-300); background: none; display: grid; place-items: center; padding: 0; }
.u-more:hover { border-color: var(--ink); }
.u-more svg { transition: transform .35s cubic-bezier(.16,1,.3,1); }
.u-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.u-waiting { flex: 1 1 300px; font-size: 13px; color: var(--n-700); }

/* the split bar: one segment per outcome, width = estimated probability, each a tappable pick */
.u-split { display: flex; height: 44px; gap: 2px; }
.u-split button { flex: 0 0 auto; min-width: 46px; border: 0; padding: 0 8px; display: flex; align-items: center; justify-content: center; gap: 4px;
  font-weight: 800; font-size: 15px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden;
  transition: background .2s, color .2s, box-shadow .2s; }
.u-split .o-1 { background: var(--home); color: var(--bg); }
.u-split .o-X { background: var(--draw); color: var(--ink); }
.u-split .o-2 { background: var(--away); color: #fff; }
.u-split button:hover { box-shadow: inset 0 -4px 0 var(--red); }
.u-split button[aria-pressed="true"] { background: var(--red); color: var(--bg); }
.u-split .k { font-weight: 600; opacity: .85; }
.u-split-sm { height: 36px; }
.u-split-sm button { font-size: 13px; }
.u-split-sm button { background: transparent !important; color: var(--ink) !important; border: 2px solid var(--n-300); }
.u-split-sm button[aria-pressed="true"] { background: var(--red) !important; color: var(--bg) !important; border-color: var(--red); }
.u-legend { font-size: 11px; color: var(--n-700); margin-top: 4px; }

/* drawer */
.u-drawer { overflow: hidden; }
.u-drawer-in { display: flex; flex-wrap: wrap; gap: 18px 36px; padding: 4px 0 20px 64px; }
.u-part { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.u-part-narrow { flex: 0 1 200px; }
.u-form { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.u-form span { font-size: 14px; font-weight: 600; min-width: 0; }
.u-sq { display: flex; gap: 4px; }
.u-sq i { width: 22px; height: 22px; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; border: 2px solid var(--ink); }
.u-sq .W { background: var(--ink); color: var(--bg); }
.u-sq .D { background: var(--n-300); border-color: var(--n-300); }
.u-small { font-size: 12px; line-height: 1.5; color: var(--n-700); }
.u-price { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }

.u-empty-line { padding: 40px 0; color: var(--n-700); }
.u-empty { padding: 48px 0; border-top: 2px solid var(--ink); }
.u-empty h3 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 6px; }
.u-empty p { color: var(--n-700); }
.u-nba { padding: 8px 0 32px; display: flex; flex-direction: column; gap: 12px; max-width: 60ch; }
.u-nba h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
.u-nba p { color: var(--n-700); }
.u-link { font-weight: 700; }

/* slip */
.u-slip { position: sticky; top: 108px; align-self: start; background: var(--surface); border-top: 4px solid var(--ink); max-height: calc(100vh - 124px); overflow-y: auto; }
.u-slip-head { padding: 22px 22px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.u-slip-head h2 { margin-top: 6px; font-size: 30px; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.u-count { font-size: 14px; min-width: 28px; height: 28px; display: inline-grid; place-items: center; background: var(--n-300); font-variant-numeric: tabular-nums; transition: background .3s, color .3s; }
.u-count.has { background: var(--red); color: var(--bg); }
.u-icon { width: 44px; height: 44px; border: 1px solid var(--divider); background: none; display: grid; place-items: center; padding: 0; }
.u-close { display: none; }
.u-slip-empty { margin: 18px 22px 22px; padding: 28px 18px; border: 2px dashed var(--divider); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.u-slip-empty span:last-child { font-size: 13px; line-height: 1.6; color: var(--n-700); }
.u-plus { width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid var(--ink); font-size: 20px; line-height: 1; }
#legs { margin-top: 16px; }
.u-leg { border-top: 1px solid var(--divider); padding: 14px 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto 32px; gap: 4px 12px; align-items: start; }
.u-leg strong { display: block; font-size: 14px; font-weight: 600; }
.u-leg span { font-size: 13px; color: var(--n-700); }
.u-leg .p { text-align: right; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; color: var(--ink); }
.u-leg button { width: 32px; height: 32px; border: 0; background: none; display: grid; place-items: center; margin-top: -4px; padding: 0; }
.u-leg button:hover { background: var(--red-100); }
.u-run { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.u-run div { flex: 1; height: 6px; background: var(--n-300); position: relative; }
.u-run div i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--red); transition: width .6s cubic-bezier(.16,1,.3,1); }
.u-run span { font-size: 11px; letter-spacing: .04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.u-total { padding: 20px 22px 22px; border-top: 2px solid var(--ink); }
.u-big { font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -.04em; margin: 10px 0 12px; color: var(--red); font-variant-numeric: tabular-nums; }
.u-lose { font-weight: 700; font-size: 14px; }
.u-slip-foot { padding: 18px 22px 22px; border-top: 1px dashed var(--divider); display: flex; flex-direction: column; gap: 12px; }
.u-clear { width: 100%; min-height: 44px; border: 1px solid var(--divider); background: transparent; font-weight: 800; font-size: 14px; text-align: left; padding: 8px 14px; }
.u-clear:hover { background: #eae7e7; }
.u-slip-foot p { font-size: 12px; line-height: 1.5; color: var(--n-700); }

.u-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; border-top: 2px solid var(--ink); padding: 24px 0 32px; font-size: 13px; color: var(--n-700); }
.u-brand-small { font-weight: 800; font-size: 20px; letter-spacing: -.03em; color: var(--ink); }

.u-slipbar { display: none; }

@media (max-width: 959px) {
  .u-grid { grid-template-columns: minmax(0, 1fr); }
  .u-slip { position: fixed; inset: 0; z-index: 60; top: 0; max-height: none; height: 100%; align-self: stretch; display: none; border-top: 0; }
  .u-slip.is-open { display: block; }
  .u-close { display: grid; }
  .u-slipbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; border: 0; border-top: 4px solid var(--red); background: var(--ink); color: var(--bg);
    padding: 14px 20px; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 15px; text-align: left; }
  .u-slipbar-chance { font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }
  body { padding-bottom: 72px; }
  .u-drawer-in { padding-left: 0; }
  .u-picks { flex-basis: 100%; max-width: none; order: 3; }
  .u-more { order: 2; }
  .u-top-row { gap: 12px; }
  .u-nav button, .u-nav a { padding: 6px 10px 14px; font-size: 14px; }
}
@media (max-width: 420px) {
  .u-brand { font-size: 18px; }
  .u-nav a { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ── Colour turn 1c ─────────────────────────────────────────────────────────────────────────────
   Bars: green 70%+, amber 50–69%, greys under 50% (alternating so segments stay distinct).
   Selected anything: navy. Red: only the main "Build my slip" action and the brand mark. */
.u-split .o-1, .u-split .o-2 { background: var(--low-b); color: var(--ink); }
.u-split .o-X { background: var(--low-a); color: var(--ink); }
.u-split .c-mid { background: var(--amber); color: var(--ink); }
.u-split .c-high { background: var(--green); color: #fff; }
.u-split button:hover { box-shadow: inset 0 -4px 0 var(--navy); }
.u-split button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 2px var(--navy); }
.u-split-sm button { background: transparent !important; color: var(--ink) !important; border: 2px solid var(--n-300); }
.u-split-sm .c-mid { box-shadow: inset 0 -4px 0 var(--amber); }
.u-split-sm .c-high { box-shadow: inset 0 -4px 0 var(--green); }
.u-split-sm button[aria-pressed="true"] { background: var(--navy-t) !important; color: var(--ink) !important; border-color: var(--navy); }
.u-split .k { opacity: .8; }

.u-nav [aria-current="page"] { border-bottom-color: var(--navy); }
.u-seg button[aria-pressed="true"], .u-chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
.u-chip[aria-pressed="true"] { border-color: var(--navy); }
.u-tabs button[aria-selected="true"] { border-bottom-color: var(--navy); }
.u-quick { border-top-color: var(--navy); }
.u-red { color: var(--navy); }

.u-slip { border-top-color: var(--navy); }
.u-count.has { background: var(--navy); color: #fff; }
.u-big { color: var(--navy); }
.u-run div i { background: var(--navy); }
.u-leg button:hover { background: var(--navy-t); }
.u-total { border-top-color: var(--navy); }
.u-slipbar { background: var(--navy) !important; border-top-color: var(--navy) !important; }
.u-slipbar-chance { color: var(--green-t); }
.u-legend-conf { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11px; color: var(--n-700); }
.u-legend-conf i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; vertical-align: -1px; }

/* club identity on rows: crest only while the crest switch is on, otherwise the colour badge */
.u-teams span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.u-crest { width: 20px; height: 20px; object-fit: contain; flex: none; }
.u-tb { width: 20px; height: 20px; flex: none; display: grid; place-items: center; font-size: 7px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }

/* How we test and NBA pages */
.u-page { display: flex; flex-direction: column; gap: 28px; padding-bottom: 24px; }
.u-page h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
.u-page h3 { font-size: 18px; letter-spacing: -.01em; padding-bottom: 8px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.u-page p { color: var(--n-700); max-width: 70ch; }
.u-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 28px; }
.u-list { margin: 0; padding-left: 18px; color: var(--n-700); }
.u-list li { margin: 2px 0; }
.u-ev { width: 100%; border-collapse: collapse; font-size: 14px; }
.u-ev th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--n-700); font-weight: 600; padding: 6px 8px 6px 0; border-bottom: 2px solid var(--ink); }
.u-ev td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--divider); font-variant-numeric: tabular-nums; vertical-align: top; }
.u-ev td:first-child { font-weight: 700; white-space: nowrap; }
.u-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; }
.u-tag.ok { background: var(--green-t); color: #1d4d27; }
.u-tag.wait { background: #f6ead4; color: #6b4a10; }
.u-tag.no { background: var(--n-300); color: var(--ink); }
.u-scroll { overflow-x: auto; }
.u-linkbtn { border: 0; background: none; padding: 0; color: var(--red-700); text-decoration: underline; font-size: inherit; }

/* docs/60 repairs: unavailable estimates, slip rule label, withdrawn picks */
.u-check { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; cursor: pointer; }
.u-check input { width: 18px; height: 18px; accent-color: var(--navy); }
.u-split button:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; }
.u-row.is-off .u-split button { filter: grayscale(1); }
.u-off { font-size: 12px; color: var(--n-700); margin-top: 4px; }
.u-rule { margin-top: 8px; font-size: 12px; font-weight: 700; padding: 4px 8px; display: inline-block; background: var(--navy-t); color: var(--navy); }
.u-rule.own { background: #eae7e7; color: var(--n-700); }
.u-leg.is-off strong, .u-leg.is-off .p { text-decoration: line-through; color: var(--n-600); }
.u-leg .off { display: block; font-size: 12px; font-weight: 600; color: #8a4b00; margin-top: 2px; }
.u-ev-line { margin-top: 10px; }
.u-withdrawn { padding: 10px 22px 0; }
.u-model { font-size: 12px; color: var(--n-700); }

/* OddsKnight logo (May's Claude Design turn 5: symbol 5c + wordmark 4d), navy brand.
   "Build your slip." moves from red to navy: red is reserved for the main action (colour turn 1c). */
.u-brand { gap: 10px; color: var(--navy); }
.u-logo { display: block; width: 32px; height: 32px; flex: none; }
.u-word { font-size: 22px; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.u-word .l { font-weight: 400; }
.u-word .b { font-weight: 800; }
.u-brand-small { display: inline-flex; align-items: center; gap: 8px; }
.u-brand-small .u-logo { width: 24px; height: 24px; }
.u-brand-small .u-word { font-size: 18px; }
.u-accent { color: var(--navy); }
.u-mark { display: none; }

/* No slip on How we test or NBA: hide the hero, the slip panel and the slip bar there. */
body[data-view="how"] .u-hero, body[data-view="nba"] .u-hero { display: none; }
body[data-view="how"] .u-slip, body[data-view="nba"] .u-slip,
body[data-view="how"] .u-slipbar, body[data-view="nba"] .u-slipbar { display: none !important; }
body[data-view="how"] .u-grid, body[data-view="nba"] .u-grid { grid-template-columns: minmax(0, 1fr); }
body[data-view="how"] .u-page, body[data-view="nba"] .u-page { padding-top: clamp(24px, 4vw, 48px); max-width: 1100px; }

/* May, 2026-10-03: a dark top line frames the slip (bar and panel), as the red line once did. */
.u-slipbar { border-top: 4px solid var(--ink) !important; }
.u-slip { border-top: 4px solid var(--ink); }
/* Green/amber keep their one job (confidence) on slip percentages too. */
.u-leg .p.c-high { color: var(--green); }
.u-leg .p.c-mid { color: #8a5a00; }
/* L-move: a navy square travels in a knight's L from the tapped chance to the slip. */
.u-lmove { position: fixed; z-index: 90; width: 14px; height: 14px; background: var(--navy); pointer-events: none; }
