/* ============================================================================
   EDGEWORTH ARENA — design system

   A stadium at night. Near-black ground, one electric colour per sport, condensed
   scoreboard type for anything numeric, and motion that means something: numbers
   count, bars fill, the live dot breathes. Dark only, on purpose.
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #07090f;
  --bg-2: #0b0f19;
  --surface: #10141f;
  --surface-2: #161b2a;
  --surface-3: #1d2436;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #eef2f8;
  --text-2: #aab4c6;
  --text-3: #7d889b;

  --football: #2ef27a;
  --tennis: #e8ff47;
  --basketball: #ff7a1a;
  --athletics: #ff3d81;
  --swimming: #2ed3ff;
  --brand: #2ef27a;
  --brand-2: #2ed3ff;
  --brand-3: #e8ff47;
  --grad: linear-gradient(100deg, var(--brand-2) 0%, var(--brand) 55%, var(--brand-3) 100%);

  --win: #2ef27a;
  --lose: #ff4d6d;
  --draw: #9aa7bd;
  --warn: #ffb020;
  --win-soft: rgba(46, 242, 122, .14);
  --lose-soft: rgba(255, 77, 109, .14);
  --warn-soft: rgba(255, 176, 32, .14);

  --display: "Barlow Condensed", "Arial Narrow", Impact, "Franklin Gothic Medium", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --r: 18px;
  --r-sm: 11px;
  --r-lg: 28px;
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .7);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .8);
  --glow: 0 0 0 1px rgba(46, 242, 122, .35), 0 14px 44px -14px rgba(46, 242, 122, .5);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1100px 520px at 18% -8%, rgba(46, 211, 255, .10), transparent 60%),
    radial-gradient(900px 480px at 88% -6%, rgba(46, 242, 122, .09), transparent 60%);
  background-repeat: no-repeat;
}
img, svg, video, canvas { max-width: 100%; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: var(--text); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 96px); font-weight: 800; text-transform: uppercase; line-height: .92; }
h2 { font-size: clamp(32px, 4vw, 52px); text-transform: uppercase; }
h3 { font-size: 26px; }
h4 { font-size: 20px; }
p { margin: 0; }
p + p { margin-top: .8em; }
small { font-size: 13px; }
::selection { background: var(--brand); color: #07090f; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ type helpers */
.display { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.kicker { font: 600 15px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.mono { font-family: var(--mono); }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.up { color: var(--win); }
.down { color: var(--lose); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-football { color: var(--football); }  .c-tennis { color: var(--tennis); }  .c-basketball { color: var(--basketball); }
.c-athletics { color: var(--athletics); }  .c-swimming { color: var(--swimming); }

/* ------------------------------------------------------------------ layout */
.page { max-width: var(--max); margin: 0 auto; padding: 0 24px 80px; }
.section { margin: 64px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head p { color: var(--text-2); max-width: 58ch; margin-top: 8px; }
.grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.cols-5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.gap-s { gap: 8px; } .gap-l { gap: 24px; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ------------------------------------------------------------------ header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 15, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.top-bar {
  max-width: var(--max); margin: 0 auto; padding: 0 24px; min-height: 68px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand .mark { border-radius: 10px; box-shadow: 0 6px 18px -6px rgba(46, 242, 122, .6); }
.wordmark { font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; display: flex; flex-direction: column; }
.wordmark small { font: 500 11px/1 var(--mono); letter-spacing: .22em; color: var(--brand); margin-top: 4px; }
/* Nine controls -- six tabs and three menus -- sized to sit beside an expanding live pill. They wrap onto
   another line rather than scroll, so a tab is never hidden off the edge. */
.nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px; min-width: 0; padding: 6px 0; }
.nav > a {
  font: 600 16.5px/1 var(--display); text-transform: uppercase; letter-spacing: .025em; white-space: nowrap;
  color: var(--text-2); padding: 10px 11px; border-radius: 999px; transition: background .18s var(--ease), color .18s var(--ease);
}
.nav > a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav > a.on { color: #07090f; background: var(--brand); }

/* Menus.
   Opening is owned by arena.js, not by :hover -- a CSS hover state and a JS click state are two separate
   ideas of "open", and they disagreed: hovering showed a panel, clicking then left it stuck open over the
   page, and the next click closed it while the pointer was still on the button. One state, in one place.
   Without JavaScript `:focus-within` still opens a menu, so the keyboard is never stranded.

   The panel animates on opacity and transform rather than `display`, because `display` cannot be
   transitioned; `visibility` is what keeps a closed panel out of the tab order. */
.nav-group { position: relative; display: inline-flex; perspective: 900px; }
.nav-top {
  position: relative;
  font: 600 16.5px/1 var(--display); text-transform: uppercase; letter-spacing: .025em; white-space: nowrap;
  color: var(--text-2); padding: 10px 11px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav-top:hover, .nav-top[aria-expanded="true"] { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-top.on { color: var(--accent, var(--brand)); }
.nav-top.on::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 1px; height: 2px; border-radius: 2px;
  background: var(--accent, var(--brand));
}
.nav-top .caret { opacity: .6; transition: transform .22s var(--ease), opacity .18s var(--ease); }
.nav-top[aria-expanded="true"] .caret { transform: rotate(180deg); opacity: 1; }

.nav-menu {
  position: absolute; top: calc(100% + 9px); left: 0; width: 312px; z-index: 60;
  padding: 8px; border-radius: 16px;
  background: linear-gradient(180deg, #161d2e 0%, #11162374 100%), var(--surface);
  border: 1px solid var(--line-2); box-shadow: 0 28px 64px -22px rgba(0, 0, 0, .9);
  opacity: 0; visibility: hidden; transform-origin: top center;
  /* the panel tips open from its top edge rather than simply appearing */
  transform: perspective(900px) rotateX(-14deg) translateY(-10px) scale(.97);
  transition: opacity .22s var(--ease), transform .34s cubic-bezier(.16, 1, .3, 1),
              visibility 0s linear .34s;
}
/* the coloured hairline that tells one menu from another at a glance */
/* the accent sweeps in from the left as the panel settles */
.nav-menu::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 2px; border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, var(--accent, var(--brand)), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease) .08s;
}
.nav-group.open > .nav-menu::before,
html:not(.js-nav) .nav-group:focus-within > .nav-menu::before { transform: scaleX(1); }
/* `:focus-within` is the no-JavaScript fallback only. With the script running it would fight it: the
   button keeps focus after a click, so a menu the click had just closed would spring open again. */
.nav-group.open > .nav-menu,
html:not(.js-nav) .nav-group:focus-within > .nav-menu {
  opacity: 1; visibility: visible; transition-delay: 0s;
  transform: perspective(900px) rotateX(0) translateY(0) scale(1);
}
/* the little arrow that ties the panel to its button, and the invisible bridge the pointer crosses */
.nav-notch {
  position: absolute; top: -5px; left: 18px; width: 10px; height: 10px; rotate: 45deg;
  background: #161d2e; border-left: 1px solid var(--line-2); border-top: 1px solid var(--line-2);
  border-radius: 2px;
}
.nav-menu::after { content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 11px; }

.nav-menu a {
  position: relative; z-index: 1; display: block; padding: 9px 30px 10px 15px; border-radius: 10px;
  color: var(--text-2); opacity: 0; transform: translateY(-7px);
}
.nav-group.open > .nav-menu a,
html:not(.js-nav) .nav-group:focus-within > .nav-menu a {
  opacity: 1; transform: none;
  transition: opacity .3s var(--ease) var(--d, 0ms),
              transform .42s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms), color .16s var(--ease);
}
/* the accent bar that grows down the left of whatever the pointer is on */
.nav-menu a::before {
  content: ""; position: absolute; left: 6px; top: 50%; width: 3px; height: 0; border-radius: 3px;
  background: var(--accent, var(--brand)); transform: translateY(-50%);
  transition: height .2s var(--ease);
}
/* the background of a hovered row is the travelling spotlight below, not a fill on the row itself --
   except with no JavaScript, where there is nothing to move it */
.nav-menu a:hover, .nav-menu a:focus-visible, .nav-menu a.on { color: var(--text); }
.nav-menu a:hover::before, .nav-menu a:focus-visible::before, .nav-menu a.on::before { height: 62%; }
html:not(.js-nav) .nav-menu a:hover { background: rgba(255, 255, 255, .055); }

/* One highlight for the whole panel, sliding from row to row. Two rows can never look lit at once, and
   the movement itself tells you where you came from. */
.nav-spot {
  position: absolute; left: 6px; right: 6px; top: 0; height: var(--h, 0px); border-radius: 11px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  transform: translateY(var(--y, 0px)); opacity: 0; pointer-events: none;
  transition: transform .34s cubic-bezier(.2, .9, .25, 1), height .34s cubic-bezier(.2, .9, .25, 1),
              opacity .2s var(--ease);
}
.nav-menu.lit .nav-spot { opacity: 1; }

/* a soft wash of the menu's own colour that follows the pointer */
.nav-glow {
  position: absolute; inset: 0; border-radius: 16px; pointer-events: none; opacity: 0;
  background: radial-gradient(240px 130px at var(--mx, 50%) var(--my, 0%),
              color-mix(in srgb, var(--accent, var(--brand)) 20%, transparent), transparent 70%);
  transition: opacity .3s var(--ease);
}
.nav-group.open > .nav-menu .nav-glow { opacity: .9; }

/* the chevron that slides out on the row you are pointing at */
.ni-go {
  position: absolute; right: 13px; top: 50%; font: 400 19px/1 var(--sans);
  color: var(--accent, var(--brand)); opacity: 0; transform: translate(-8px, -50%);
  transition: opacity .2s var(--ease), transform .28s cubic-bezier(.2, .9, .25, 1);
}
.nav-menu a:hover .ni-go, .nav-menu a:focus-visible .ni-go, .nav-menu a.on .ni-go {
  opacity: 1; transform: translate(0, -50%);
}
.ni-label {
  display: block; font: 600 14px/1.15 var(--display); text-transform: uppercase; letter-spacing: .03em;
  color: inherit;
}
.nav-menu a.on .ni-label { color: var(--accent, var(--brand)); }
.ni-blurb {
  display: block; margin-top: 2px; font: 400 11.5px/1.4 var(--sans); text-transform: none;
  letter-spacing: 0; color: var(--text-3);
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu, .nav-menu a, .nav-top .caret, .nav-menu a::before,
  .nav-spot, .nav-glow, .ni-go, .nav-menu::before { transition-duration: .01ms !important; }
  .nav-menu { transform: none; }
  .nav-menu a { transform: none; }
  .nav-menu::before { transform: scaleX(1); }
}

.top-right { justify-self: end; display: flex; align-items: center; gap: 8px; }
/* One line: brand, sections, account. Nine controls fit beside the pills where fifteen tabs did not, so
   the bar goes back to a single row. Below 1180px the larger type no longer fits beside them, and it takes a row of its own. */
@media (max-width: 1180px) {
  .top-bar { grid-template-columns: auto auto; row-gap: 0; padding-bottom: 2px; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; padding: 0 0 8px; margin-top: -2px; }
}
@media (max-width: 620px) {
  .nav > a, .nav-top { font-size: 15px; padding: 9px 8px; }
  .wordmark { font-size: 20px; } .live-pill { padding: 6px 8px; }
  /* a 288px panel does not fit a 390px screen once it is indented, so it narrows with the viewport */
  .nav-menu { width: min(312px, calc(100vw - 28px)); }
}
/* On a phone the count would push the account pill off the screen: the pulsing dot carries the meaning and the
   numbers stay in its tooltip. */
@media (max-width: 560px) { .live-pill #live-pill-text { display: none; } .wordmark small { display: none; } .top-bar { column-gap: 10px; } }
.acct-pill { font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.acct-pill:hover { color: var(--text); border-color: var(--text-3); }
.acct-pill.paid { border-color: var(--brand); color: var(--brand); }
.upgrade-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(4,6,12,.72); backdrop-filter: blur(6px); animation: fade .25s ease both; }
.upgrade-modal .box { width: min(520px, 92vw); background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: 26px; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.upgrade-modal h3 { font-size: 30px; text-transform: uppercase; margin: 6px 0 8px; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.live-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); font: 500 11px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); white-space: nowrap;
}
.live-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(46, 242, 122, .6); animation: pulse 2s infinite; }
.live-pill.stale .dot { background: var(--warn); animation: none; }
.live-pill.off .dot { background: var(--text-3); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 242, 122, .55); } 70% { box-shadow: 0 0 0 9px rgba(46, 242, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 242, 122, 0); } }

/* ------------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot-bar { max-width: var(--max); margin: 0 auto; padding: 28px 24px 40px; display: grid; gap: 14px 40px; grid-template-columns: auto 1fr auto; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 10px; font: 700 18px var(--display); text-transform: uppercase; letter-spacing: .04em; }
.foot p { font-size: 13px; color: var(--text-3); max-width: 78ch; }
.foot nav { display: flex; gap: 16px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.foot nav a { color: var(--text-3); } .foot nav a:hover { color: var(--text); }
@media (max-width: 860px) { .foot-bar { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 18px/1 var(--display); text-transform: uppercase; letter-spacing: .06em;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; color: var(--text);
  background: var(--surface-2); transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: var(--surface-3); color: var(--text); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--grad); color: #07090f; box-shadow: 0 10px 30px -10px rgba(46, 242, 122, .55); }
.btn.primary:hover { box-shadow: 0 14px 36px -10px rgba(46, 242, 122, .7); }
.btn.ghost { background: transparent; border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--text-2); }
.btn.sm { font-size: 15px; padding: 9px 16px; }
.btn.lg { font-size: 21px; padding: 17px 30px; }
.btn.football { background: var(--football); color: #07090f; }
.btn.tennis { background: var(--tennis); color: #07090f; }
.btn.basketball { background: var(--basketball); color: #07090f; }
.btn.athletics { background: var(--athletics); color: #07090f; }
.btn.swimming { background: var(--swimming); color: #07090f; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.seg { border-radius: var(--r-sm); }

/* segmented control */
.segs { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; max-width: 100%; }
.segs button { font: 600 15px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; padding: 9px 14px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); white-space: nowrap; }
.segs button:hover { color: var(--text); }
.segs button.on, .segs button[aria-pressed=true] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

/* tabs */
.tabs { display: flex; gap: 4px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; overflow-x: auto; }
.tabs button { font: 600 16px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; padding: 10px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); white-space: nowrap; }
.tabs button:hover { color: var(--text); }
.tabs button.on { background: var(--brand); color: #07090f; }

/* ------------------------------------------------------------------ inputs */
select, input[type=text], input[type=number], input[type=search] {
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); border-radius: var(--r-sm);
  padding: 10px 12px; font-size: 15px; min-width: 0; max-width: 100%;
}
select { padding-right: 34px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
select:hover, input:hover { border-color: var(--text-3); }
select option { background: #10141f; color: var(--text); }
label.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
label.field > span { font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
input[type=range] { width: 100%; accent-color: var(--brand); height: 28px; }
.range-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.range-row output { font: 700 20px var(--display); min-width: 64px; text-align: right; }

/* ------------------------------------------------------------------ cards */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
  box-shadow: var(--shadow); position: relative; overflow: hidden; min-width: 0;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
}
.card.hover:hover, a.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.card.tight { padding: 16px 18px; }
.card.glass { background: rgba(16, 20, 31, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card h3 { text-transform: uppercase; color: var(--text); }
a.card h3, a.card p { color: var(--text); } a.card p { color: var(--text-2); }
.card.accent::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent, var(--brand)); }
.card.football { --accent: var(--football); } .card.tennis { --accent: var(--tennis); } .card.basketball { --accent: var(--basketball); }
.card.athletics { --accent: var(--athletics); } .card.swimming { --accent: var(--swimming); }
/* The research films are grouped by what they are rather than by a sport, so they need an
   accent of their own -- without one the card renders with no accent at all. */
.card.research { --accent: var(--gold, #e8c15a); }
.card.spot::after { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -180px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent, var(--brand)) 22%, transparent), transparent); pointer-events: none; }

/* stat tiles */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.stat { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; min-width: 0; }
.stat .l { font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.stat .v { font: 700 38px/1.05 var(--display); margin-top: 6px; overflow-wrap: anywhere; }
.stat .v small { font: 500 13px var(--sans); color: var(--text-2); margin-left: 6px; }
.stat .s { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.stat.big .v { font-size: 56px; }
.stat.sm .v { font-size: 24px; line-height: 1.2; }
.stat.win .v { color: var(--win); } .stat.lose .v { color: var(--lose); } .stat.warn .v { color: var(--warn); }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); border: 1px solid var(--line); white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.research { color: var(--gold, #e8c15a); }
.pill.football { color: var(--football); } .pill.tennis { color: var(--tennis); } .pill.basketball { color: var(--basketball); }
.pill.athletics { color: var(--athletics); } .pill.swimming { color: var(--swimming); }
.pill.win { color: var(--win); background: var(--win-soft); border-color: transparent; }
.pill.lose { color: var(--lose); background: var(--lose-soft); border-color: transparent; }
.pill.warn { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.pill.live { color: var(--lose); background: var(--lose-soft); border-color: transparent; }
.pill.live i { animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* team logo with initials fallback */
.logo { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: none; font: 700 12px/1 var(--display); color: var(--text-2); }
.logo > * { max-width: 100%; max-height: 100%; }   /* a badge still loading must not push the circle out of shape */
.logo img { width: 80%; height: 80%; object-fit: contain; }
.logo.sm { width: 24px; height: 24px; font-size: 11px; }
.logo.lg { width: 64px; height: 64px; font-size: 20px; }
.logo.xl { width: 92px; height: 92px; font-size: 26px; }
.team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.team .name { font: 700 20px/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; overflow-wrap: anywhere; }
.team .form { font: 500 11px var(--mono); letter-spacing: .12em; color: var(--text-3); }
.form-dots { display: inline-flex; gap: 3px; }
.form-dots i { width: 8px; height: 8px; border-radius: 2px; background: var(--draw); }
.form-dots i.w { background: var(--win); } .form-dots i.l { background: var(--lose); }

/* probability bar */
.probbar { display: flex; height: 44px; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.probbar > div { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 0 8px; font: 700 16px var(--display); letter-spacing: .04em; color: #07090f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: width .6s var(--ease); }
.probbar .h { background: var(--brand); }
.probbar .d { background: var(--draw); }
.probbar .a { background: var(--brand-2); }
.probbar.thin { height: 12px; border-radius: 6px; }
.probbar.thin > div { font-size: 0; padding: 0; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* rings */
.ring { display: inline-grid; place-items: center; position: relative; }
.ring svg { transform: rotate(-90deg); }
.ring .track { stroke: var(--surface-3); }
.ring .arc { stroke: var(--brand); stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease); }
.ring .val { position: absolute; font: 700 26px/1 var(--display); }
.ring .val small { display: block; font: 500 11px var(--mono); letter-spacing: .1em; color: var(--text-3); text-transform: uppercase; margin-top: 3px; text-align: center; }

/* formulas */
.formula { background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--r-sm); padding: 14px 18px; }
.formula .eq { font: 500 19px/1.5 var(--mono); color: var(--text); overflow-x: auto; white-space: nowrap; }
.formula .where { font-size: 13px; color: var(--text-2); margin-top: 8px; }
.formula sub, .formula sup, sub, sup { font-size: 12px; line-height: 0; }
.formula.football { border-left-color: var(--football); } .formula.tennis { border-left-color: var(--tennis); }
.formula.basketball { border-left-color: var(--basketball); } .formula.athletics { border-left-color: var(--athletics); }
.formula.swimming { border-left-color: var(--swimming); }

/* notes & callouts */
.note { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px; color: var(--text-2); }
.note b { color: var(--text); }
.note.warn { border-color: rgba(255, 176, 32, .4); background: var(--warn-soft); color: var(--text); }
.note.good { border-color: rgba(46, 242, 122, .4); background: var(--win-soft); color: var(--text); }
.note.bad { border-color: rgba(255, 77, 109, .4); background: var(--lose-soft); color: var(--text); }

/* tables */
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding: 10px 10px; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; background: var(--surface); }
table.data td { padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data td.n, table.data th.n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
table.data td.big { font: 700 20px var(--display); }
table.data tbody tr { transition: background .12s; }
table.data tbody tr:hover td { background: rgba(255, 255, 255, .03); }
table.data tr.me td { background: rgba(46, 242, 122, .08); }
.scroll { overflow: auto; max-height: 520px; border-radius: var(--r-sm);
  background: linear-gradient(var(--surface) 30%, rgba(16, 20, 31, 0)) top / 100% 26px no-repeat local,
              linear-gradient(rgba(16, 20, 31, 0), var(--surface) 70%) bottom / 100% 26px no-repeat local,
              radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, .45), transparent) top / 100% 12px no-repeat scroll,
              radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, .45), transparent) bottom / 100% 12px no-repeat scroll; }
.heat { display: inline-block; min-width: 46px; text-align: center; padding: 3px 6px; border-radius: 6px; font-family: var(--mono); font-size: 13px; }

/* skeletons, toasts, empties */
.skeleton { position: relative; overflow: hidden; background: var(--surface-2); border-radius: var(--r-sm); min-height: 18px; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.empty { padding: 28px; text-align: center; color: var(--text-3); border: 1px dashed var(--line-2); border-radius: var(--r-sm); }
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 100; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--surface-3); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px; box-shadow: var(--shadow-lg); animation: rise .3s var(--ease) both; max-width: 360px; }
.toast.bad { border-color: rgba(255, 77, 109, .5); }
.toast.good { border-color: rgba(46, 242, 122, .5); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; margin: 26px 0 0; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); min-height: 520px; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 32px; padding: 56px 48px 48px; align-items: center; }
.hero-copy .kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hero-copy h1 { max-width: 12ch; }
.hero-copy .lede { margin-top: 20px; }
.cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.hero-proof div { min-width: 0; }
.hero-proof .v { font: 800 34px/1 var(--display); }
.hero-proof .l { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-top: 4px; }
.hero-panel { min-width: 0; }
@media (max-width: 1180px) { .hero-inner { grid-template-columns: 1fr; padding: 40px 26px 30px; } .hero { min-height: 0; } }

/* live match card used in hero and elsewhere */
.matchcard { background: rgba(16, 20, 31, .82); backdrop-filter: blur(12px); border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-lg); }
.matchcard .vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin: 14px 0; }
.matchcard .side { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.matchcard .side .name { font: 700 18px/1.05 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.matchcard .kick { font: 500 12px var(--mono); letter-spacing: .08em; color: var(--text-3); text-transform: uppercase; text-align: center; }
.matchcard .verdict { font-size: 14px; color: var(--text-2); margin-top: 12px; }

/* ticker */
.ticker { margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 34px; width: max-content; animation: marquee 70s linear infinite; padding: 0 20px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; font: 600 15px var(--display); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; color: var(--text-2); }
.ticker-item .p { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .02em; color: var(--text); text-transform: none; }
.ticker-item .logo { width: 22px; height: 22px; font-size: 9px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* doors: big navigation tiles */
.door { display: flex; flex-direction: column; gap: 10px; min-height: 250px; color: var(--text); }
.door .art { height: 92px; display: flex; align-items: center; }
.door h3 { font-size: 30px; }
.door p { color: var(--text-2); font-size: 14.5px; flex: 1; }
.door .go { font: 700 15px var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--accent, var(--brand)); }
.door:hover .go { text-decoration: underline; text-underline-offset: 4px; }

/* game cards */
.gamecard { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; min-height: 340px; }
.gamecard .art { height: 140px; border-radius: var(--r-sm); background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.gamecard h3 { font-size: 32px; }
.gamecard .hook { color: var(--text-2); font-size: 14.5px; }
.gamecard .meta { display: flex; gap: 8px; flex-wrap: wrap; }

/* game stage */
.game { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.game .stage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; min-width: 0; }
.game .side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.game canvas, .game svg.stage-svg { width: 100%; height: auto; border-radius: var(--r-sm); }
.scoreline { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; text-align: center; }
.scoreline .score { font: 800 64px/1 var(--display); letter-spacing: .02em; }
.scoreline .clock { font: 500 13px var(--mono); letter-spacing: .12em; color: var(--text-3); text-transform: uppercase; }
.choices { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr)); }
.choices button { font: 700 17px/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; padding: 14px 10px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); transition: transform .12s var(--ease), background .15s, border-color .15s; }
.choices button:hover { transform: translateY(-2px); border-color: var(--text-3); }
.choices button.on { background: var(--brand); color: #07090f; border-color: transparent; }
.choices button small { display: block; font: 400 11.5px var(--sans); text-transform: none; letter-spacing: 0; color: inherit; opacity: .8; margin-top: 4px; }
.choices button.on small { color: #07090f; }
.eventlog { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow: auto; font-size: 13.5px; }
.eventlog li { display: flex; gap: 10px; align-items: baseline; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); animation: rise .3s var(--ease) both; }
.eventlog li .m { font: 600 12px var(--mono); color: var(--text-3); min-width: 34px; }
.eventlog li.goal { background: var(--win-soft); }
.eventlog li.conceded { background: var(--lose-soft); }
.policy { display: grid; gap: 2px; }
.policy .cell { height: 10px; border-radius: 2px; }
.policy .cell.press { background: var(--lose); } .policy .cell.balanced { background: var(--draw); } .policy .cell.deep { background: var(--brand-2); }
.policy .cell.me { outline: 2px solid #fff; outline-offset: -1px; }
@media (max-width: 900px) { .game { grid-template-columns: 1fr; } }

/* sport strip on the home page */
.sportrow { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.sportrow:last-child { border-bottom: 1px solid var(--line); }
.sportrow .swatch { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font: 800 22px var(--display); color: #07090f; }
.sportrow h3 { font-size: 28px; }
.sportrow p { color: var(--text-2); font-size: 14.5px; }
@media (max-width: 640px) { .sportrow { grid-template-columns: 48px 1fr; } .sportrow .actions { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ motion */
.rise { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rise.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pop { animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(.85); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
.flash { animation: flash .9s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(46, 242, 122, .7); } 100% { box-shadow: 0 0 0 26px rgba(46, 242, 122, 0); } }
.flash-bad { animation: flashbad .9s var(--ease); }
@keyframes flashbad { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 109, .7); } 100% { box-shadow: 0 0 0 26px rgba(255, 77, 109, 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .rise { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* ------------------------------------------------------------------ the trading desk */
.edge { font: 700 14px/1 var(--display); letter-spacing: .02em; padding: 5px 8px; border-radius: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.edge.pos { background: var(--win-soft); color: var(--win); } .edge.neg { background: var(--lose-soft); color: var(--lose); } .edge.flat { background: var(--surface-3); color: var(--text-2); }
.board-match { display: flex; align-items: center; gap: 8px; min-width: 0; }
.board-match .logo { flex: none; }
.board-match b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-match .vs { color: var(--text-3); font: 500 11px var(--mono); }
.quote { display: inline-flex; flex-direction: column; align-items: center; min-width: 52px; padding: 4px 6px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; transition: border-color .15s; }
.quote:hover { border-color: var(--text-3); }
.quote .p { font: 700 16px/1 var(--display); } .quote .i { font: 500 11px var(--mono); color: var(--text-3); margin-top: 3px; }
.quote.best { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.ticket-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--surface); border-left: 1px solid var(--line-2); box-shadow: var(--shadow-lg); z-index: 60; padding: 22px 22px 28px; overflow-y: auto; animation: slide-in .28s var(--ease); }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.ticket-drawer .legs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.ticket-drawer .leg { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); padding: 10px 8px; text-align: center; transition: border-color .15s, background .15s; }
.ticket-drawer .leg .l { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.ticket-drawer .leg .o { font: 700 24px/1.1 var(--display); margin-top: 4px; }
.ticket-drawer .leg .m { font-size: 12.5px; color: var(--text-2); margin-top: 3px; }
.ticket-drawer .leg.on { border-color: var(--brand); background: var(--win-soft); }
.ticket-readout { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.ticket-readout div { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 11px; }
.ticket-readout .l { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.ticket-readout .v { font: 700 20px/1.1 var(--display); margin-top: 3px; }
.eq-chart { width: 100%; height: auto; display: block; }
.eq-chart text { font: 500 11px var(--mono); fill: var(--text-3); }
.cal-bars { display: grid; grid-template-columns: repeat(auto-fit, minmax(48px, 1fr)); gap: 6px; align-items: end; height: 120px; }
.cal-bars .bar { position: relative; background: var(--surface-3); border-radius: 6px 6px 0 0; display: flex; flex-direction: column; justify-content: end; height: 100%; }
.cal-bars .bar i { display: block; background: var(--brand-2); border-radius: 6px 6px 0 0; }
.cal-bars .bar u { position: absolute; left: 0; right: 0; height: 2px; background: var(--brand-3); }
.cal-bars .bar small { font: 500 11px var(--mono); color: var(--text-3); text-align: center; padding: 4px 0; }
.lab-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.lab-row .l { font-size: 13.5px; color: var(--text-2); }
.lab-row input[type=range] { width: 120px; }
.lab-row input[type=number], .lab-row select { width: 110px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 8px; color: var(--text); }
@media (max-width: 900px) { #t-lab-grid { grid-template-columns: 1fr !important; } }

/* ------------------------------------------------------------------ benchmark desk */
.bm .bmname { font: 600 15px/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--text); }
.bm .bmnote { font-size: 12px; color: var(--text-3); margin-top: 3px; max-width: 46ch; }
.bm .bmtrack { margin-top: 8px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.06); overflow: hidden; }
.bmbar { display: block; height: 100%; border-radius: 3px; animation: bmgrow .7s var(--ease) both; }
@keyframes bmgrow { from { width: 0 !important; } }
.bm tbody tr.usrow { background: rgba(46,242,122,.07); }
.bm tbody tr.usrow .bmname { color: var(--brand); }
.bmcav { margin: 14px 0 0; padding-left: 18px; color: var(--text-2); font-size: 13px; line-height: 1.5; }
.bmcav li { margin-top: 6px; }
.callout { border: 1px solid var(--line-2); border-left: 3px solid var(--brand); border-radius: 12px; padding: 14px 16px; background: var(--surface); }
.callout.warn { border-left-color: var(--warn); }
.stat .n { font-size: 11.5px; color: var(--text-3); margin-top: 4px; }

/* ---------------------------------------------------------------- booking markets (/discipline)
   The reliability bars share one fixed 0–0.6 scale across every row. Scaling each row to its own
   value would make a correlation of 0.05 look as substantial as one of 0.55, which is the exact
   misreading this panel exists to prevent. */
.relrow { display: grid; grid-template-columns: 8.5rem 1fr 2.6rem auto; gap: 12px; align-items: center;
  padding: 7px 0; border-bottom: 1px solid var(--line); }
.relrow:last-child { border-bottom: 0; }
.rellabel { font-weight: 600; font-size: 14px; }
.reltrack { height: 9px; border-radius: 99px; background: var(--surface-2, #10141f); overflow: hidden; }
.relbar { display: block; height: 100%; border-radius: 99px; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.relval { font-size: 13px; text-align: right; color: var(--text-2); }
.relverdict { font-size: 12px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }

.cchart { display: flex; align-items: flex-end; gap: 8px; height: 190px; padding-top: 6px; }
.ccol { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; height: 100%; }
.cbars { flex: 1; display: flex; align-items: flex-end; gap: 3px; width: 100%; justify-content: center; }
.cbar { width: 42%; border-radius: 4px 4px 0 0; transition: height .5s cubic-bezier(.2,.8,.2,1); }
.clabel { font-size: 11px; color: var(--text-3); padding-top: 6px; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* A divergent bar centred on the column, so lenient and strict read as opposite rather than as
   different lengths of the same thing. */
.offtrack { display: block; position: relative; height: 8px; min-width: 120px;
  background: var(--surface-2, #10141f); border-radius: 99px; }
.offbar { display: block; height: 100%; border-radius: 99px; }

@media (max-width: 560px) {
  .relrow { grid-template-columns: 6.5rem 1fr 2.4rem; }
  .relverdict { grid-column: 2 / -1; }
  .cchart { height: 150px; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .relbar, .cbar { transition: none; }
}


/* A price the desk sets and the trader cannot: it has to read as a fact, not as an empty input waiting
   to be filled in. Same box as the stake field beside it, without the affordance. */
.field-locked { display: flex; align-items: center; min-height: 42px; padding: 0 12px;
  border: 1px solid var(--rule); border-radius: 10px; background: var(--surface-2, #10141f);
  font-size: 17px; font-weight: 600; color: var(--text); }
