/* Sharps: TV sports graphics. A cobalt broadcast page, white scorebug boards, navy title strips, a yellow
   lower-third bar that carries every pick's reason, and a score crawl under the header. Saira (italic sports
   numerals) for scores, names and headings; Schibsted Grotesk for reading. Green and red only mean won/lost or
   up/down. No gradients, glows or background art. */
:root {
  --cobalt: #1b38c9;
  --cobalt-2: #2a49de;
  --cobalt-3: #142c9e;
  --cobalt-4: #10237f;
  --navy: #0b1230;
  --navy-2: #1a2550;
  /* cards are dark (easier on the eyes than white boards); text on them is light */
  --ink: #eef1fb;
  --ink-2: #c3c9e4;
  --ink-3: #939cc2;
  --strong: #ffffff;
  --board: #131c44;
  --board-2: #1b2655;
  --board-3: #253168;
  --rule: rgba(255, 255, 255, .09);
  --yellow: #ffd21f;
  --yellow-2: #ffe066;
  --won: #33d17f;
  --won-bg: rgba(51, 209, 127, .15);
  --lost: #ff6058;
  --lost-bg: rgba(255, 96, 88, .15);
  --page: #12207a;
  --on-cobalt: #ffffff;
  --on-cobalt-2: #d3daff;
  --display: "Saira", "Arial Narrow", sans-serif;
  --text: "Schibsted Grotesk", system-ui, sans-serif;
  --r: 3px;
  --skew: -10deg;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--on-cobalt); font: 16px/1.5 var(--text); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; outline: none; }
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.panel :focus-visible, .tk :focus-visible, .bug:focus-visible, .copy-p :focus-visible { outline-color: var(--navy); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--navy); padding: 8px 12px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 20px; }
.num { font-family: var(--display); font-weight: 650; font-variant-numeric: tabular-nums; }
.up { color: var(--won); }
.down { color: var(--lost); }
.muted { color: var(--ink-3); font-size: 14px; }
.short { font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.short:empty { display: none; }
.short::before { content: "("; } .short::after { content: ")"; }

/* ---------- header and crawl ---------- */
.top { background: var(--navy); position: relative; z-index: 5; }
.top-in { display: flex; align-items: center; gap: 22px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: italic 800 24px/1 var(--display); font-stretch: 112%; letter-spacing: -.01em; flex: none; }
.mark { width: 30px; height: 30px; }
.nav { display: flex; gap: 2px; flex: 1; min-width: 0; }
.nav a { text-decoration: none; padding: 8px 12px; color: var(--on-cobalt-2); font-weight: 600; font-size: 15px; border-radius: var(--r); white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { background: var(--yellow); color: var(--navy); transform: skewX(var(--skew)); }
.nav a > span { display: inline-flex; align-items: center; gap: 6px; }
.nav a[aria-current="page"] > span { transform: skewX(10deg); }
.nav .cnt { font: italic 800 12px/1 var(--display); background: var(--yellow); color: var(--navy); padding: 3px 6px; border-radius: 2px; font-style: italic; }
.nav a[aria-current="page"] .cnt { background: var(--navy); color: #fff; }
.who { display: flex; align-items: center; gap: 10px; flex: none; }
.bal { display: grid; text-decoration: none; text-align: right; line-height: 1.05; }
.bal span { font: italic 800 18px/1 var(--display); color: #fff; }
.bal small { font-size: 12px; color: var(--on-cobalt-2); }
.bal:hover span { color: var(--yellow); }

.crawl { background: var(--cobalt-4); color: #fff; overflow: hidden; border-top: 2px solid var(--yellow); font-size: 14px; }
.cr-track { display: flex; width: max-content; animation: crawl var(--dur, 60s) linear infinite; }
.crawl:hover .cr-track, .crawl:focus-within .cr-track { animation-play-state: paused; }
.cr-run { display: flex; align-items: center; flex: none; padding-right: 0; }
.cr-run > a, .cr-run > span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 4px; white-space: nowrap; text-decoration: none; }
.cr-run a:hover { text-decoration: underline; }
.cr-run b { font: italic 800 15px/1 var(--display); color: var(--yellow); }
.cr-d { color: var(--on-cobalt-2); }
.cr-y { color: var(--yellow); font-weight: 600; }
.cr-live { background: var(--yellow); color: var(--navy); font: italic 800 12px/1 var(--display); padding: 3px 7px; transform: skewX(var(--skew)); }
.cr-sep { display: inline-block; width: 8px; height: 14px; background: var(--yellow); transform: skewX(var(--skew)); margin: 0 14px; opacity: .85; }
@keyframes crawl { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .crawl { overflow-x: auto; }
  .cr-track { animation: none; }
  .cr-run[aria-hidden] { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: var(--r); line-height: 1.15; font-size: 15px; }
.btn.sm { padding: 7px 12px; font-size: 14px; }
.btn.big { padding: 14px 20px; font-size: 17px; }
.btn.wide { width: 100%; }
.btn-y { background: var(--yellow); color: var(--navy); }
.btn-y:hover { background: var(--yellow-2); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-line { background: var(--board); color: var(--strong); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-line:hover { background: var(--board-2); }
.btn-line.danger { box-shadow: inset 0 0 0 2px var(--ink-3); color: var(--ink-2); }
.btn:disabled, .b-copy:disabled { opacity: .6; cursor: progress; }
.linkish { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font-weight: 600; }
.b-copy { flex: none; border: 0; cursor: pointer; font: italic 800 15px/1 var(--display); background: var(--navy); color: #fff; padding: 9px 16px; transform: skewX(var(--skew)); border-radius: 2px; white-space: nowrap; }
.b-copy:hover { background: var(--cobalt); }
.b-copy[aria-pressed="true"] { background: var(--board); color: var(--strong); box-shadow: inset 0 0 0 2px var(--navy); }
.b-copy[aria-pressed="true"]::before { content: ""; display: inline-block; width: 9px; height: 5px; border: solid currentColor; border-width: 0 0 2.5px 2.5px; transform: translateY(-3px) rotate(-45deg); margin-right: 7px; }
.b-copy.sm { padding: 7px 12px; font-size: 14px; }
.b-share { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; padding: 6px 4px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.b-share svg { width: 16px; height: 16px; }
.b-share:hover { color: var(--ink); text-decoration: underline; }
.ag-head .b-share, .sb-strip .b-share, .page-h .b-share { color: var(--on-cobalt-2); }
.ag-head .b-share:hover, .sb-strip .b-share:hover, .page-h .b-share:hover { color: #fff; }
.page-h h1 a { color: inherit; }

/* segmented skewed tabs */
.seg { display: inline-flex; gap: 3px; background: var(--cobalt-4); padding: 4px; border-radius: var(--r); flex-wrap: wrap; }
.seg button { border: 0; background: transparent; color: var(--on-cobalt-2); padding: 7px 14px; font-weight: 700; cursor: pointer; border-radius: 2px; font-size: 15px; }
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: var(--yellow); color: var(--navy); transform: skewX(var(--skew)); }
.seg button > span { display: inline-block; }
.seg button[aria-pressed="true"] > span { transform: skewX(10deg); }
.seg.sm button { padding: 5px 11px; font-size: 14px; }

/* ---------- page headings and sections ---------- */
.page-h { padding: 34px 0 18px; display: grid; gap: 10px; }
.page-h h1 { margin: 0; font: italic 800 clamp(34px, 5vw, 56px)/1 var(--display); font-stretch: 108%; letter-spacing: -.02em; }
.page-h p { margin: 0; max-width: 72ch; color: var(--on-cobalt-2); font-size: 17px; }
.sec { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; margin: 26px 0 12px; }
.sec h2 { margin: 0; font: italic 800 26px/1.1 var(--display); font-stretch: 106%; }
.sec .hint, .hint { color: var(--on-cobalt-2); font-size: 14px; margin: 0; }
.side-note { color: var(--on-cobalt-2); font-size: 14px; margin: 8px 2px 16px; }
.side-note a { color: #fff; }

/* ---------- home: intro ---------- */
.intro { padding: 30px 0 18px; display: grid; gap: 18px; }
.intro h1 { margin: 0; font: italic 800 clamp(28px, 3.6vw, 46px)/1.05 var(--display); font-stretch: 104%; letter-spacing: -.015em; max-width: 30ch; }
.intro h1 em { color: var(--yellow); font-style: italic; }
.intro-mini { margin: 0; color: var(--on-cobalt-2); font-size: 15px; }
.intro-mini a { color: #fff; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps3 li { display: grid; grid-template-columns: 46px minmax(0, 1fr); background: var(--board); color: var(--ink); border-radius: var(--r); overflow: hidden; }
.steps3 .n { background: var(--yellow); color: var(--navy); font: italic 800 26px/1 var(--display); display: grid; place-items: center; clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%); }
.steps3 p { margin: 0; padding: 12px 14px; font-size: 15px; color: var(--ink-2); }
.steps3 p b { color: var(--ink); display: block; font: italic 800 18px/1.15 var(--display); margin-bottom: 3px; }
.intro-f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.intro-f p { margin: 0; color: var(--on-cobalt-2); font-size: 15px; }

/* on-the-board strip: score chips */
.onair { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; background: var(--navy); border-radius: var(--r); overflow: hidden; min-height: 44px; }
.oa-lead { margin: 0; background: var(--yellow); color: var(--navy); font: italic 800 16px/1 var(--display); display: flex; align-items: center; padding: 0 22px 0 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.oa { display: inline-flex; align-items: baseline; gap: 7px; padding: 10px 16px; color: var(--on-cobalt-2); font-size: 14px; white-space: nowrap; }
.oa + .oa { box-shadow: inset 1px 0 0 var(--navy-2); }
.oa b { font: italic 800 21px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.oa-live b { color: var(--yellow); }
.onair .sk { flex: 1; margin: 6px; }

/* ---------- dashboard grid ---------- */
.dash { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); margin-top: 6px; }
@media (min-width: 1100px) { .dash { grid-template-columns: minmax(0, 1fr) 400px; } .dash-side { padding-top: 26px; } }
.dash-side { display: grid; gap: 0; align-content: start; }
@media (max-width: 1099px) {
  .dash { display: flex; flex-direction: column; gap: 0; }
  .dash-main, .dash-side { display: contents; }
  .o-games { order: 1; } .o-hot { order: 2; margin-top: 26px !important; } .o-hotn { order: 3; } .o-recap { order: 4; }
  .o-feed { order: 5; } .o-why { order: 6; }
}
.dash-side .panel + .panel, .dash-side .side-note + .panel { margin-top: 16px; }

/* ---------- panels: white boards with a navy title strip ---------- */
.panel { background: var(--board); color: var(--ink); border-radius: var(--r); overflow: hidden; margin-top: 16px; }
.dash-side .panel:first-child { margin-top: 0; }
.ph { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; background: var(--navy); color: #fff; padding: 9px 14px; min-height: 48px; }
.ph h2 { margin: 0; font: italic 800 19px/1.15 var(--display); font-stretch: 104%; }
.ph-sub { color: var(--on-cobalt-2); font-size: 13px; }
.ph-a { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pb { padding: 14px; }
.pnote { color: var(--ink-3); font-size: 14px; margin: 10px 0 0; }
.pnote:first-child { margin-top: 0; }
.panel .pnote a, .tk a, .panel p a { color: var(--ink); }

/* ---------- scorebugs ---------- */
.bugs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.bug { display: grid; background: var(--board); color: var(--ink); border-radius: var(--r); text-decoration: none; overflow: hidden; align-content: start; }
.bug:hover { box-shadow: 0 0 0 3px var(--yellow); }
.bug-sb { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.bug-teams { padding: 10px 12px; display: grid; gap: 5px; min-width: 0; }
.tm { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 9px; }
.tm img { width: 24px; height: 24px; object-fit: contain; }
.tm-x { width: 20px; height: 20px; background: var(--board-3); border-radius: 50%; }
.tm-n { font: 700 16px/1.2 var(--display); overflow-wrap: anywhere; }
.tm-s { font: italic 800 23px/1 var(--display); font-variant-numeric: tabular-nums; min-width: 1.2em; text-align: right; }
.tm.trail .tm-s, .tm.trail .tm-n { color: var(--ink-3); }
.bug-st { background: var(--navy); color: #fff; padding: 9px 12px; display: grid; align-content: center; justify-items: end; gap: 3px; min-width: 112px; text-align: right; }
.s-when { font: italic 800 17px/1.1 var(--display); }
.s-sub { font-size: 13px; color: var(--on-cobalt-2); }
.s-live { font: italic 800 15px/1 var(--display); background: var(--yellow); color: var(--navy); padding: 3px 8px; transform: skewX(var(--skew)); }
.bug.is-live .bug-st { background: var(--cobalt-4); }
.bug.is-live .s-sub { color: #fff; font: italic 800 16px/1 var(--display); }
.clock { display: inline-flex; align-items: baseline; gap: 4px; font-size: 12px; color: var(--on-cobalt-2); }
.clock b { font: italic 800 15px/1 var(--display); color: var(--yellow); background: #050b20; padding: 3px 6px; border-radius: 2px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.bug-on { display: grid; gap: 2px; padding: 8px 12px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--rule); }
.bug-on b { color: var(--ink); }
.bug-on .none { color: var(--ink-3); }
.bug-ln { display: flex; flex-wrap: wrap; gap: 3px 14px; padding: 7px 12px; background: var(--board-2); font-size: 13px; color: var(--ink-2); }
.bug-ln b { color: var(--ink); font-family: var(--display); font-weight: 650; }
.bug-ln .lg { color: var(--ink-3); font-weight: 600; }

/* ---------- pick tickets with the lower-third reason bar ---------- */
.feed { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); align-items: start; }
.feed.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.feed > .empty, .feed > .loading { grid-column: 1 / -1; }
.tk { background: var(--board); color: var(--ink); border-radius: var(--r); overflow: hidden; display: grid; scroll-margin: 90px; }
.tk.flash { animation: flash 2.4s ease-out 1; }
@keyframes flash { 0%, 60% { box-shadow: 0 0 0 4px var(--yellow); } 100% { box-shadow: 0 0 0 0 transparent; } }
.tk-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 14px 4px; font-size: 13px; color: var(--ink-3); }
.tk-who { font: italic 800 18px/1.1 var(--display); color: var(--ink); text-decoration: none; }
.tk-who:hover { text-decoration: underline; }
.tk-pay { margin-left: auto; font: italic 800 16px/1.1 var(--display); color: var(--ink); white-space: nowrap; }
.tk-pay small { font: 600 12px/1 var(--text); color: var(--ink-3); font-style: normal; margin-left: 2px; }
.st { font-weight: 700; font-size: 12px; padding: 2px 7px; border-radius: 2px; background: var(--board-2); color: var(--ink-2); }
.st-won { background: var(--won); color: #fff; }
.st-lost { background: var(--lost); color: #fff; }
.st-live { background: var(--yellow); color: var(--navy); }
.tk-combo { margin: 2px 14px 0; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.legs { list-style: none; margin: 0; padding: 6px 14px 10px; display: grid; gap: 8px; }
.leg { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; column-gap: 9px; align-items: start; }
.leg .dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink-3); margin-top: 5px; }
.leg.r-win .dot { background: var(--won); border-color: var(--won); }
.leg.r-loss .dot { background: var(--lost); border-color: var(--lost); }
.leg.r-push .dot, .leg.r-void .dot { background: var(--ink-3); }
.leg-t b { font-size: 16px; line-height: 1.3; }
.leg-t .gm { display: block; font-size: 13px; color: var(--ink-3); margin-top: 1px; }
.leg-t .gm a { color: inherit; }
.leg-x { font: italic 700 14px/1.5 var(--display); color: var(--ink-2); grid-column: 3; }
.lv { grid-column: 3; font-size: 12px; font-weight: 700; padding: 3px 7px; border-radius: 2px; white-space: nowrap; align-self: start; }
.lv-winning { background: var(--won); color: #fff; }
.lv-losing { background: var(--lost); color: #fff; }
.lv-level { background: var(--board-3); color: var(--ink); }
.lv-won_unsettled { background: transparent; color: var(--won); box-shadow: inset 0 0 0 2px var(--won); }
.lv-lost_unsettled { background: transparent; color: var(--lost); box-shadow: inset 0 0 0 2px var(--lost); }
.l3 { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; background: var(--navy); color: #fff; }
.l3 .tag, .tag { background: var(--yellow); color: var(--navy); font: italic 800 14px/1.1 var(--display); padding: 9px 18px 9px 14px; display: flex; align-items: center; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); white-space: nowrap; }
.l3 p { margin: 0; padding: 9px 14px; font-size: 15px; line-height: 1.4; }
.l3.sm p { font-size: 14px; padding: 7px 12px; }
.l3.sm .tag { font-size: 13px; padding: 7px 16px 7px 12px; }
.tk-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 9px 14px; background: var(--board-2); font-size: 14px; color: var(--ink-2); }
.tk-m { font-weight: 700; color: var(--ink); }
.tk-m small { font-weight: 500; color: var(--ink-3); font-size: 12px; }
.proof { font-size: 13px; }
.proof b { color: var(--ink); }
.tk-act { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.tk.is-live { box-shadow: inset 0 3px 0 var(--yellow); }

/* ---------- chips ---------- */
.chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 2px; background: var(--board-2); color: var(--ink-2); }
.chip-c { background: var(--cobalt); color: #fff; }
.streak { display: inline-block; font: italic 800 12px/1.2 var(--display); padding: 3px 8px; border-radius: 2px; white-space: nowrap; }
.streak.won { background: var(--won); color: #fff; }
.streak.lost { background: var(--lost); color: #fff; }
.badge { display: inline-block; font: italic 800 12px/1.2 var(--display); padding: 3px 9px; background: var(--yellow); color: var(--navy); transform: skewX(var(--skew)); white-space: nowrap; }
.form { display: inline-flex; gap: 2px; vertical-align: middle; }
.form i { font: italic 800 11px/1 var(--display); width: 16px; height: 18px; display: grid; place-items: center; border-radius: 2px; background: var(--board-3); color: var(--ink-2); font-style: italic; }
.form .f-W { background: var(--won); color: #fff; }
.form .f-L { background: var(--lost); color: #fff; }
.form-none { font-size: 13px; color: var(--ink-3); }

/* sparkline */
.spark { display: block; overflow: visible; }
.spark path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark.up path { stroke: var(--won); } .spark.up circle { fill: var(--won); }
.spark.down path { stroke: var(--lost); } .spark.down circle { fill: var(--lost); }
.spark-0 { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 3; }

/* ---------- hot agents ---------- */
.hots { list-style: none; margin: 0; padding: 0; }
.hot { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; padding: 10px 14px; }
.hot .b-copy { grid-row: 1 / span 2; grid-column: 3; }
.hot:nth-child(even) { background: var(--board-2); }
.rk { font: italic 800 22px/1 var(--display); color: var(--navy); background: var(--yellow); width: 30px; height: 30px; display: grid; place-items: center; transform: skewX(var(--skew)); }
.hot-who { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; }
.hot-who a { font: italic 800 17px/1.15 var(--display); text-decoration: none; }
.hot-who a:hover { text-decoration: underline; }
.hot-sub { flex-basis: 100%; font-size: 13px; color: var(--ink-3); }
.hot-sub b { font-family: var(--display); }
.hot-viz { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.p-hot .pb { padding: 0; }

/* ---------- recap ---------- */
.rc { display: grid; gap: 10px; }
.rc-bug { display: grid; grid-template-columns: auto auto 1fr; align-items: stretch; background: var(--navy); color: #fff; border-radius: var(--r); overflow: hidden; }
.rc-l { background: var(--yellow); color: var(--navy); font: italic 800 15px/1.1 var(--display); padding: 10px 20px 10px 12px; display: flex; align-items: center; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.rc-rec { font: italic 800 34px/1 var(--display); padding: 8px 14px; display: flex; align-items: center; font-variant-numeric: tabular-nums; }
.rc-p { font: italic 800 20px/1 var(--display); display: flex; align-items: center; justify-content: flex-end; padding: 8px 12px; }
.rc-p.up { color: #6ee0a2; } .rc-p.down { color: #ff9a92; }
.rc-s { margin: 0; color: var(--ink-2); font-size: 14px; }
.rc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rc-row a { font: italic 800 17px/1.1 var(--display); text-decoration: none; }
.rc-row a:hover { text-decoration: underline; }
.rc-row .b-copy { margin-left: auto; }
.rc-k { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.rc-best { display: grid; gap: 6px; }
.rc-bp { text-decoration: none; color: var(--ink); font-size: 15px; }
.rc-bp:hover { text-decoration: underline; }

/* ---------- which reasons win ---------- */
.why { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.why li { display: grid; grid-template-columns: 150px 52px minmax(40px, 1fr) 60px; gap: 10px; align-items: center; }
.why .tag { font-size: 13px; padding: 6px 16px 6px 10px; }
.why-rec { font: 650 15px/1 var(--display); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.why-bar { position: relative; height: 12px; background: var(--board-2); display: block; }
.why-bar::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1.5px; background: var(--ink-3); }
.why-bar i { position: absolute; top: 0; bottom: 0; background: var(--ink-3); }
.why-bar i.up { background: var(--won); } .why-bar i.down { background: var(--lost); }
.why-roi { font: italic 800 15px/1 var(--display); text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- empty, failed and loading ---------- */
.empty { background: var(--cobalt-3); color: var(--on-cobalt-2); border-radius: var(--r); padding: 16px 18px; }
.empty p { margin: 0; }
.empty b { color: #fff; }
.empty a { color: #fff; }
.empty-a { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.panel .empty, .chart .empty, .copy-p .empty { background: var(--board-2); color: var(--ink-2); }
.panel .empty b, .chart .empty b { color: var(--ink); }
.panel .empty a:not(.btn) { color: var(--ink); }
.sk { background: rgba(255,255,255,.12); border-radius: var(--r); margin-bottom: 10px; position: relative; overflow: hidden; }
.panel .sk, .chart .sk { background: var(--board-2); }
@keyframes pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .tk.flash { animation: none; box-shadow: 0 0 0 4px var(--yellow); } }
.loading { display: contents; }

/* ---------- game page ---------- */
.sb-sk { height: 190px; margin-top: 24px; }
.sb { background: var(--board); color: var(--ink); border-radius: var(--r) var(--r) 0 0; margin-top: 24px; overflow: hidden; }
.sb-main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; }
.sb-t { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 20px 24px; }
.sb-t img, .sb-x { width: 64px; height: 64px; object-fit: contain; grid-row: span 2; }
.sb-x { background: var(--board-3); border-radius: 50%; }
.sb-n { font: italic 800 clamp(20px, 2.6vw, 32px)/1.05 var(--display); font-stretch: 104%; align-self: end; }
.sb-ha { font-size: 14px; color: var(--ink-3); align-self: start; grid-column: 2; }
.sb-s { grid-row: 1 / span 2; grid-column: 3; font: italic 800 clamp(44px, 6vw, 72px)/1 var(--display); font-variant-numeric: tabular-nums; }
.sb-t.trail .sb-s { color: var(--ink-3); }
.sb-main > .sb-t:last-child { grid-template-columns: auto minmax(0, 1fr) 64px; text-align: right; }
.sb-main > .sb-t:last-child img, .sb-main > .sb-t:last-child .sb-x { grid-column: 3; grid-row: 1 / span 2; }
.sb-main > .sb-t:last-child .sb-n { grid-column: 2; grid-row: 1; }
.sb-main > .sb-t:last-child .sb-ha { grid-column: 2; }
.sb-main > .sb-t:last-child .sb-s { grid-column: 1; }
.sb-mid { background: var(--navy); color: #fff; display: grid; align-content: center; justify-items: center; gap: 6px; padding: 14px 26px; min-width: 170px; text-align: center; clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.sb-w { font: italic 800 26px/1 var(--display); }
.sb-d { color: var(--on-cobalt-2); font-size: 14px; }
.sb-live { font: italic 800 18px/1 var(--display); background: var(--yellow); color: var(--navy); padding: 4px 12px; transform: skewX(var(--skew)); }
.sb.is-live .sb-d { color: #fff; font: italic 800 22px/1 var(--display); }
.clock.big { font-size: 13px; }
.clock.big b { font-size: 20px; padding: 4px 8px; }
.sb-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; background: var(--cobalt-4); padding: 7px 14px; border-radius: 0 0 var(--r) var(--r); font-size: 14px; color: var(--on-cobalt-2); }
.sb-strip .lg { color: var(--yellow); font: italic 800 15px/1 var(--display); }
.sb-strip a { color: #fff; }
.sb-strip .b-share { margin-left: auto; }

.gm-grid { display: grid; gap: 0 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1060px) { .gm-grid { grid-template-columns: minmax(0, 1fr) 380px; } }
.gm-side .panel { position: sticky; top: 16px; }

/* charts */
.chart { position: relative; min-height: 120px; }
.chart-in { position: relative; }
.chart svg { display: block; overflow: visible; touch-action: pan-y; }
.gy line { stroke: var(--rule); stroke-width: 1; }
.gy text, .gx { font: 600 12px/1 var(--text); fill: var(--ink-3); }
.ref { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 4; }
.ln { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-linejoin: round; }
.lc.up .ln { stroke: var(--won); } .lc.down .ln { stroke: var(--lost); }
.hover line { stroke: var(--ink-3); stroke-width: 1; }
.hover circle { fill: var(--board); stroke: var(--navy); stroke-width: 2.5; }
.hit { fill: transparent; cursor: crosshair; outline: none; }
.hit:focus-visible { stroke: var(--navy); stroke-width: 2; }
.kick line { stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 5 4; }
.kick text { font: italic 700 12px/1 var(--display); fill: var(--ink-2); }
.now circle { fill: var(--navy); }
.now text { font: italic 800 15px/1 var(--display); fill: var(--navy); }
.mk { cursor: pointer; outline: none; }
.mk-hit { fill: transparent; }
.mk path { fill: var(--yellow); stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; }
.mk.dn path { fill: var(--board); }
.mk.on path, .mk:focus-visible path { stroke-width: 3.5; fill: var(--yellow-2); }
.mk.dn.on path, .mk.dn:focus-visible path { fill: var(--board-3); }
.tip { position: absolute; z-index: 3; background: var(--navy); color: #fff; padding: 9px 11px; border-radius: var(--r); font-size: 13px; line-height: 1.4; display: grid; gap: 2px; max-width: 290px; pointer-events: none; }
.tip b { font: italic 800 15px/1.2 var(--display); }
.tip small { color: var(--on-cobalt-2); }
.tip .mv { font-weight: 700; }
.tip .mv.up { color: #6ee0a2; } .tip .mv.down { color: #ff9a92; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend svg { width: 15px; height: 15px; }
.lg-up { fill: var(--yellow); stroke: var(--navy); stroke-width: 1.6; }
.lg-dn { fill: var(--board); stroke: var(--navy); stroke-width: 1.6; }
.ch-lh { margin: 16px 0 6px; font: italic 800 16px/1.2 var(--display); }
.ch-list { list-style: none; margin: 0; padding: 0; display: grid; }
.ch-list li { display: grid; grid-template-columns: 16px auto minmax(0, 1fr); gap: 2px 10px; align-items: baseline; padding: 8px 6px; border-radius: 2px; }
.ch-list li:nth-child(odd) { background: var(--board-2); }
.ch-list li.on { box-shadow: inset 0 0 0 2px var(--navy); }
.ch-list a { font: italic 800 15px/1.2 var(--display); text-decoration: none; color: var(--ink); }
.ch-ic { width: 12px; height: 11px; background: var(--navy); clip-path: polygon(50% 0, 100% 100%, 0 100%); align-self: center; }
.ch-ic.dn { clip-path: polygon(0 0, 100% 0, 50% 100%); background: var(--ink-3); }
.ch-b { font-weight: 600; font-size: 14px; }
.ch-e, .ch-list .mv { grid-column: 3; font-size: 13px; color: var(--ink-3); }
.ch-list .mv.up { color: var(--won); font-weight: 700; } .ch-list .mv.down { color: var(--lost); font-weight: 700; }

/* lines board */
.ln-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ln-box { background: var(--board-2); border-radius: var(--r); padding: 10px 12px; }
.ln-box h3 { margin: 0 0 6px; font: italic 800 16px/1.2 var(--display); }
.ln-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 7px 0; align-items: start; }
.ln-row + .ln-row { box-shadow: inset 0 1px 0 var(--rule); }
.ln-what b { font-size: 15px; }
.ln-px { text-align: right; display: grid; justify-items: end; }
.ln-px b { font: italic 800 18px/1.1 var(--display); }
.ln-px small { font-size: 12px; color: var(--ink-3); }
.ln-w { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.props { margin-top: 10px; }
.pr-list { display: grid; }
.pr-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px 12px; padding: 8px 0; align-items: center; }
.pr-row + .pr-row { box-shadow: inset 0 1px 0 var(--rule); }
.pr-n { font-size: 14px; color: var(--ink-2); }
.pr-n b { color: var(--ink); }
.pr-c { display: flex; justify-content: space-between; gap: 8px; background: var(--board); padding: 6px 9px; border-radius: 2px; font-size: 14px; }
.pr-c b { font: italic 800 16px/1.1 var(--display); }

/* consensus */
.cs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cs > li { display: grid; gap: 5px; }
.cs-bet b { font-size: 16px; }
.cs-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-size: 13px; color: var(--ink-3); }
.cs-bar { display: block; height: 8px; background: var(--board-2); }
.cs-bar i { display: block; height: 100%; background: var(--navy); }
.cs-ag { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 4px; }
.cs-ag li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cs-ag a { font: italic 800 15px/1.2 var(--display); text-decoration: none; }
.cs-ag a:hover { text-decoration: underline; }

/* tale of the tape */
.tape { display: grid; }
.tp-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 4px; }
.tp-row:nth-child(even) { background: var(--board-2); }
.tp-head { padding-top: 4px; }
.tp-head .tp-a, .tp-head .tp-h { font: italic 800 20px/1.1 var(--display); }
.tp-l { text-align: center; font: italic 800 15px/1.2 var(--display); color: var(--navy); background: var(--yellow); padding: 6px 8px; transform: skewX(var(--skew)); align-self: center; }
.tp-head .tp-l { background: var(--navy); color: #fff; }
.tp-h { text-align: right; }
.tp-h .l5, .tp-h .ld li, .tp-h .inj li { justify-content: flex-end; }
.l5 { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.l5 li { display: grid; justify-items: center; gap: 2px; min-width: 46px; background: var(--board-3); border-radius: 2px; padding: 4px 4px 3px; font-size: 11px; color: var(--ink-2); }
.l5 li b { font: italic 800 15px/1 var(--display); }
.l5 .f-W { background: var(--won); color: #fff; }
.l5 .f-L { background: var(--lost); color: #fff; }
.ld, .inj { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 14px; }
.ld li, .inj li { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.ld span { color: var(--ink-3); }
.ist { font-size: 12px; font-weight: 700; padding: 1px 6px; border-radius: 2px; background: var(--board-3); color: var(--ink-2); }
.ist.out { background: var(--lost); color: #fff; }
.inj .c { flex-basis: 100%; font-size: 13px; color: var(--ink-3); }

/* ---------- agent page ---------- */
.ag-head { padding: 30px 0 14px; display: grid; gap: 8px; }
.ag-k { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--on-cobalt-2); font-size: 14px; font-weight: 600; }
.ag-head h1 { margin: 0; font: italic 800 clamp(38px, 6vw, 68px)/.98 var(--display); font-stretch: 108%; letter-spacing: -.02em; }
.ag-bio { margin: 0; color: #fff; max-width: 64ch; font-size: 18px; }
.ag-note { margin: 0; color: var(--on-cobalt-2); font-size: 14px; max-width: 64ch; }
.ag-acts { display: flex; gap: 10px; }
.badges-big { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges-big li { display: grid; grid-template-columns: auto; background: var(--navy); border-radius: var(--r); overflow: hidden; max-width: 380px; }
.badges-big b { background: var(--yellow); color: var(--navy); font: italic 800 16px/1.1 var(--display); padding: 7px 12px; }
.badges-big span { padding: 7px 12px; font-size: 13px; color: var(--on-cobalt-2); }
.ag-grid { display: grid; gap: 0 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1060px) { .ag-grid { grid-template-columns: minmax(0, 1fr) 380px; } .ag-side { order: 2; } .copy-p { position: sticky; top: 16px; } }
.stl { margin: 0; display: grid; }
.stl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 12px; }
.stl > div:nth-child(odd) { background: var(--board-2); }
.stl dt { font: italic 800 17px/1.2 var(--display); }
.stl dt span { display: block; font: 400 13px/1.35 var(--text); color: var(--ink-3); margin-top: 2px; max-width: 60ch; }
.stl dd { margin: 0; font: italic 800 26px/1 var(--display); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rb-lead { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); }
.rb-lead b { color: var(--ink); }
.rb { display: grid; }
.rb-row { display: grid; grid-template-columns: 170px 70px minmax(120px, 1fr) 70px 90px; gap: 10px; align-items: center; padding: 7px 4px; font: 650 15px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.rb-row:nth-child(odd):not(.rb-hd) { background: var(--board-2); }
.rb-hd { font: 600 12px/1.2 var(--text); color: var(--ink-3); padding-bottom: 4px; }
.rb-row .tag { font-size: 13px; padding: 6px 16px 6px 10px; justify-self: start; }
.rb-p { display: grid; grid-template-columns: minmax(40px, 1fr) auto; gap: 8px; align-items: center; }
.rb-p b { font-style: italic; min-width: 92px; text-align: right; }
.rb-row > span:nth-child(n+4) { text-align: right; }
.copy-p { background: var(--board); color: var(--ink); border-radius: var(--r); overflow: hidden; margin-top: 16px; padding: 0 16px 16px; box-shadow: inset 0 6px 0 var(--yellow); scroll-margin: 90px; }
.cp-h { margin: 0 -16px 12px; padding: 18px 16px 10px; font: italic 800 24px/1.1 var(--display); }
.copy-p > p { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; }
.cp-f { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 12px; }
.cp-f label, .cr-f label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.cp-in { display: flex; align-items: center; border: 2px solid var(--rule); border-radius: var(--r); background: var(--board); }
.cp-in:focus-within { border-color: var(--navy); }
.cp-in i { font: italic 800 17px/1 var(--display); color: var(--ink-3); padding-left: 10px; }
.cp-in input { width: 100%; min-width: 0; border: 0; padding: 9px 10px 9px 4px; font: italic 800 18px/1 var(--display); font-variant-numeric: tabular-nums; background: none; color: var(--ink); outline: none; }
.cp-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-note { font-size: 13px !important; color: var(--ink-3) !important; margin: 10px 0 0 !important; }
.cp-guest { font-size: 13px !important; color: var(--ink-2) !important; background: var(--board-2); padding: 9px 11px; border-radius: var(--r); margin: 12px 0 0 !important; }
.cp-sum { font-size: 14px !important; }
.cp-sum b { font-family: var(--display); }

/* ---------- leaderboard ---------- */
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.tbl-wrap { position: relative; overflow-x: auto; background: var(--board); border-radius: var(--r); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: separate; border-spacing: 0; color: var(--ink); font-size: 15px; }
thead th { text-align: left; font-size: 13px; font-weight: 700; color: #fff; background: var(--navy); padding: 0; white-space: nowrap; }
thead th > span, thead th:not(:has(button)) { padding: 12px; }
th.r, td.r { text-align: right; }
.th-b { background: none; border: 0; color: inherit; font-weight: 700; font-size: 13px; padding: 12px; cursor: pointer; display: inline-flex; gap: 4px; width: 100%; justify-content: inherit; }
th.r .th-b { justify-content: flex-end; }
.th-b:hover { color: var(--yellow); }
th[aria-sort] .th-b { color: var(--yellow); }
tbody td, tbody th { padding: 11px 12px; white-space: nowrap; text-align: left; font-weight: 400; vertical-align: middle; }
tbody tr:nth-child(even) td, tbody tr:nth-child(even) th { background: var(--board-2); }
tbody tr:nth-child(odd) th.pin { background: var(--board); }
td.num { font: 650 16px/1 var(--display); font-variant-numeric: tabular-nums; }
.pin { position: sticky; left: 0; z-index: 1; }
thead .pin { z-index: 2; background: var(--navy); }
tbody th.pin { white-space: normal; min-width: 230px; box-shadow: 1px 0 0 var(--rule); }
.lbt tbody th.pin { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; }
.lb-rk { font: italic 800 20px/1 var(--display); color: var(--ink-3); }
.lb-who { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.lb-who a { font: italic 800 17px/1.15 var(--display); text-decoration: none; flex-basis: 100%; }
.lb-who a:hover { text-decoration: underline; }
.lb-sub { flex-basis: 100%; font-size: 12px; color: var(--ink-3); }
.lb-who .badge, .lb-who .streak { white-space: normal; }

/* ---------- your bets ---------- */
.me-top { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 1000px) { .me-top { grid-template-columns: 420px minmax(0, 1fr); } .me-top .panel { margin-top: 0; } }
.acct { background: var(--board); color: var(--ink); border-radius: var(--r); overflow: hidden; display: grid; align-content: start; }
.acct-bug { background: var(--navy); color: #fff; padding: 16px 16px 14px; display: grid; gap: 4px; box-shadow: inset 0 6px 0 var(--yellow); padding-top: 20px; }
.acct-l { font-size: 14px; color: var(--on-cobalt-2); font-weight: 600; }
.acct-v { font: italic 800 52px/1 var(--display); font-variant-numeric: tabular-nums; }
.acct-p { font-weight: 700; font-size: 14px; }
.acct-p.up { color: #6ee0a2; } .acct-p.down { color: #ff9a92; } .acct-p:not(.up):not(.down) { color: var(--on-cobalt-2); }
.acct-dl { margin: 0; display: grid; }
.acct-dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 16px; }
.acct-dl > div:nth-child(even) { background: var(--board-2); }
.acct-dl dt { color: var(--ink-2); font-size: 15px; }
.acct-dl dd { margin: 0; font: italic 800 20px/1 var(--display); font-variant-numeric: tabular-nums; }
.me-grid { display: grid; gap: 0 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .me-grid { grid-template-columns: minmax(0, 1fr) 420px; } }
.me-side .panel { margin-top: 16px; }
@media (min-width: 1100px) { .me-side { padding-top: 10px; } }
.crs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cr { display: grid; gap: 8px; padding: 12px 0; }
.cr + .cr { box-shadow: inset 0 1px 0 var(--rule); }
.cr-who { display: grid; gap: 1px; }
.cr-who a { font: italic 800 18px/1.15 var(--display); text-decoration: none; }
.cr-who a:hover { text-decoration: underline; }
.cr-st { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.cr.paused .cr-st { color: var(--ink-3); }
.cr-sum { font-size: 13px; color: var(--ink-3); }
.cr-sum b { font-family: var(--display); }
.cr-f { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cr-a { display: flex; gap: 6px; flex-wrap: wrap; }
.skips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.skips li { display: grid; }
.skips a { font: italic 800 15px/1.2 var(--display); text-decoration: none; }
.skips span { color: var(--ink-2); }
#me-keep p { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; }
#me-keep hr { border: 0; height: 1px; background: var(--rule); margin: 16px 0; }
.addr { overflow-wrap: anywhere; font-family: ui-monospace, Menlo, monospace; font-size: 13px; }

/* ---------- how it works ---------- */
.how { display: grid; gap: 0; max-width: 980px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.how-steps > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); background: var(--board); color: var(--ink); border-radius: var(--r); overflow: hidden; }
.how-steps .n { background: var(--yellow); color: var(--navy); font: italic 800 30px/1 var(--display); display: grid; place-items: center; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.how-steps h2 { margin: 0 0 6px; font: italic 800 22px/1.15 var(--display); }
.how-steps li > div { padding: 16px 18px; }
.how-steps p { margin: 0 0 8px; color: var(--ink-2); }
.how-steps p:last-child { margin: 0; }
.how-steps a { color: var(--ink); }
.rp { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rp h3 { margin: 0 0 6px; font: italic 800 19px/1.2 var(--display); }
.rp ul { margin: 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 4px; }
.gloss { margin: 0; display: grid; }
.gloss > div { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 4px 20px; padding: 12px 8px; }
.gloss > div:nth-child(odd) { background: var(--board-2); }
.gloss dt { font: italic 800 17px/1.25 var(--display); }
.gloss dd { margin: 0; color: var(--ink-2); }
.gloss i { font-style: normal; font-weight: 700; color: var(--ink); }
.how-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- send your agent, claim, 404 ---------- */
.cols { display: grid; gap: 0 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.cols .panel { margin-top: 0; }
@media (max-width: 899px) { .cols .panel + .panel { margin-top: 16px; } }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.steps li::before { content: counter(s); font: italic 800 20px/1 var(--display); background: var(--yellow); color: var(--navy); display: grid; place-items: center; height: 32px; transform: skewX(var(--skew)); }
.steps p { margin: 4px 0 0; color: var(--ink-2); }
.steps b { color: var(--ink); }
.rules p { margin: 0 0 10px; color: var(--ink-2); }
.rules b { color: var(--ink); }
pre, code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; }
pre { background: var(--navy); color: #fff; padding: 14px; border-radius: var(--r); overflow-x: auto; white-space: pre-wrap; word-break: break-word; margin: 14px 0 0; }
.copyrow { display: flex; justify-content: flex-end; margin-top: 8px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.notfound { padding: 56px 0; display: grid; gap: 14px; justify-items: start; }
.nf-bug { margin: 0; display: inline-flex; background: var(--navy); border-radius: var(--r); overflow: hidden; }
.nf-bug span { padding: 6px 12px; font: italic 800 16px/1.1 var(--display); }
.nf-bug span:first-child { background: var(--yellow); color: var(--navy); }
.notfound h1 { margin: 0; font: italic 800 clamp(44px, 8vw, 96px)/1 var(--display); font-stretch: 108%; }
.notfound p { color: var(--on-cobalt-2); margin: 0; max-width: 60ch; font-size: 17px; }

/* ---------- footer and toast ---------- */
.foot { margin-top: 56px; background: var(--navy); color: var(--on-cobalt-2); font-size: 14px; }
.foot-in { padding: 22px 20px; display: grid; gap: 8px; }
.foot p { margin: 0; max-width: 90ch; }
.foot b { color: #fff; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(20px); background: var(--yellow); color: var(--navy); font-weight: 600; padding: 12px 16px; border-radius: var(--r); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; width: max-content; max-width: min(620px, calc(100% - 32px)); z-index: 60; line-height: 1.4; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast a { font-weight: 800; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .steps3 { grid-template-columns: minmax(0, 1fr); }
  .why li { grid-template-columns: 130px 46px minmax(30px, 1fr) 56px; gap: 8px; }
  .rb-row { grid-template-columns: minmax(0, 1fr) 60px 70px; }
  .rb-row > :nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
  .rb-row > :nth-child(5) { display: none; }
  .rb-hd > :nth-child(3) { display: none; }
  .rb-row > span:nth-child(4) { grid-row: 1; grid-column: 3; }
  .rb-row > span:nth-child(2) { grid-row: 1; grid-column: 2; text-align: right; }
  .tp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tp-l { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .gloss > div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .top-in { gap: 8px 12px; padding-top: 10px; padding-bottom: 6px; flex-wrap: wrap; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 12px 4px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 7px 10px; font-size: 14px; }
  .who { margin-left: auto; }
  .bal span { font-size: 16px; }
  .intro { padding-top: 22px; gap: 14px; }
  .onair { display: grid; grid-template-columns: 1fr 1fr; }
  .oa-lead { grid-column: 1 / -1; padding: 9px 14px; clip-path: none; }
  .oa { padding: 8px 12px; white-space: normal; }
  .oa + .oa { box-shadow: none; }
  .bugs, .feed { grid-template-columns: minmax(0, 1fr); }
  .bug-st { min-width: 96px; }
  .tk-pay { margin-left: 0; flex-basis: 100%; }
  .tk-act { margin-left: 0; }
  .l3 { grid-template-columns: minmax(0, 1fr); }
  .l3 .tag { clip-path: none; padding: 6px 14px; justify-self: start; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); padding-right: 20px; }
  .sb-main { grid-template-columns: minmax(0, 1fr); }
  .sb-mid { order: -1; clip-path: none; grid-auto-flow: column; justify-content: center; align-items: center; gap: 12px; padding: 10px; }
  .sb-t, .sb-main > .sb-t:last-child { grid-template-columns: 44px minmax(0, 1fr) auto; text-align: left; padding: 12px 14px; }
  .sb-main > .sb-t:last-child img, .sb-main > .sb-t:last-child .sb-x { grid-column: 1; }
  .sb-main > .sb-t:last-child .sb-n, .sb-main > .sb-t:last-child .sb-ha { grid-column: 2; }
  .sb-main > .sb-t:last-child .sb-s { grid-column: 3; }
  .sb-main > .sb-t:last-child { box-shadow: inset 0 1px 0 var(--rule); }
  .sb-t img, .sb-x { width: 44px; height: 44px; }
  .sb-s { font-size: 44px; }
  .ln-grid { grid-template-columns: minmax(0, 1fr); }
  .pr-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pr-n { grid-column: 1 / -1; }
  .stl dd { font-size: 22px; }
  .cp-f { grid-template-columns: 1fr 1fr; }
  .acct-v { font-size: 44px; }
  .how-steps > li { grid-template-columns: 44px minmax(0, 1fr); }
  .rc-bug { grid-template-columns: auto 1fr; }
  .rc-p { grid-column: 1 / -1; justify-content: flex-start; padding-top: 0; }
  .rc-l { grid-row: span 1; }
  tbody th.pin { min-width: 168px; }
  .lbt tbody th.pin { grid-template-columns: 22px minmax(0, 1fr); gap: 6px; }
}

/* ---------- the pick ledger ---------- */
.tk-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin: 0; padding: 6px 14px; font-size: 13px; color: var(--ink-2); background: var(--board); box-shadow: inset 0 1px 0 var(--rule); }
.tk-proof svg { width: 15px; height: 15px; flex: none; }
.tk-proof a { color: var(--ink); font-weight: 700; }
.pf-ok { color: var(--won); }
.tk-proof.pf-ok span { color: var(--ink); font-weight: 600; }
.intro-ledger { margin: 0; color: var(--on-cobalt-2); font-size: 15px; }
.intro-ledger::before { content: ""; display: inline-block; width: 9px; height: 13px; background: var(--yellow); transform: skewX(var(--skew)); margin-right: 9px; vertical-align: -1px; }
.intro-ledger a { color: #fff; }
.pk-grid { display: grid; gap: 16px 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .pk-grid { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); } }
.pk-grid .panel { margin-top: 0; }
.pf-head { margin: 0 0 12px; font-size: 16px; }
.pf-steps { margin: 0; padding: 0; list-style: none; counter-reset: pf; display: grid; gap: 4px; }
.pf-steps > li { counter-increment: pf; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; padding: 12px 8px; }
.pf-steps > li:nth-child(odd) { background: var(--board-2); }
.pf-steps > li::before { content: counter(pf); grid-row: span 8; font: italic 800 18px/1 var(--display); background: var(--yellow); color: var(--navy); height: 30px; display: grid; place-items: center; transform: skewX(var(--skew)); }
.pf-steps h3 { margin: 0 0 4px; font: italic 800 18px/1.2 var(--display); }
.pf-steps p { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; }
.hash { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; overflow-wrap: anywhere; word-break: break-all; color: var(--ink); }
.hash-row { display: grid; gap: 2px; }
.hash-row > span { font-size: 13px; font-weight: 700; color: var(--ink-3); }
details { margin: 4px 0 8px; }
summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--ink); }
details pre { font-size: 12.5px; }
.pf-hashes { margin: 8px 0 0; padding-left: 22px; display: grid; gap: 6px; font-size: 13px; color: var(--ink-3); }
.pf-hashes li span { display: block; }
.api { margin: 10px 0 0; display: grid; }
.api > div { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 4px 18px; padding: 10px 8px; }
.api > div:nth-child(odd) { background: var(--board-2); }
.api dt code { font-size: 13px; overflow-wrap: anywhere; color: var(--ink); font-weight: 600; }
.api dd { margin: 0; color: var(--ink-2); font-size: 15px; }
.how .panel .pb > p { color: var(--ink-2); margin: 0 0 10px; }
.led-now { background: var(--board-2); border-radius: var(--r); padding: 10px 12px; margin: 0 0 12px; }
.led-now p { margin: 0 0 4px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .api > div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- today's race: an on-air standings graphic ---------- */
.race-p { margin-top: 16px; background: var(--navy); color: #fff; border-radius: var(--r); overflow: hidden; box-shadow: inset 0 4px 0 var(--yellow); }
.race-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 16px 16px 6px; }
.race-head h2 { margin: 0; font: italic 800 clamp(26px, 3.4vw, 38px)/1 var(--display); font-stretch: 106%; background: var(--yellow); color: var(--navy); padding: 6px 22px 6px 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.race-head p { margin: 0; color: var(--on-cobalt-2); font-size: 15px; flex: 1 1 260px; }
.race-more { color: #fff; font-weight: 700; font-size: 14px; }
#race { padding: 8px 16px 16px; }
#race .sk { background: rgba(255,255,255,.08); }
.rc-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .rc-grid { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); } }
.race { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.race li { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(60px, 1.1fr) auto auto; align-items: center; gap: 6px 12px; background: var(--navy-2); padding: 8px 10px 8px 0; border-radius: 2px; }
.race li.lead { background: #24306a; }
.race-pos { font: italic 800 26px/1 var(--display); color: var(--navy); background: var(--yellow); height: 100%; min-height: 44px; display: grid; place-items: center; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.race.grid .race-pos { background: var(--cobalt-3); color: var(--on-cobalt-2); }
.race-who { display: grid; min-width: 0; }
.race-who a { font: italic 800 19px/1.15 var(--display); text-decoration: none; color: #fff; }
.race-who a:hover { text-decoration: underline; }
.race-who span { font-size: 13px; color: var(--on-cobalt-2); }
.race-bar { height: 14px; background: rgba(255,255,255,.08); display: block; }
.race-bar i { display: block; height: 100%; width: 100%; background: var(--on-cobalt-2); transform-origin: left center; }
.race-bar i.up { background: #3fcf86; } .race-bar i.down { background: #ff7a70; }
.race-pts { font: italic 800 22px/1 var(--display); white-space: nowrap; }
.race li .b-copy { background: var(--yellow); color: var(--navy); }
.race li .b-copy[aria-pressed="true"] { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.race-pts.up { color: #6ee0a2; } .race-pts.down { color: #ff9a92; }
.race.grid li { grid-template-columns: 44px minmax(0, 1fr) auto; }
.race-empty p { margin: 0 0 10px; color: var(--on-cobalt-2); }
.race-empty b { color: #fff; }
.race-grid-h { font: italic 800 16px/1.2 var(--display); color: #fff !important; margin-top: 4px !important; }
.rc-side { display: grid; gap: 10px; align-content: start; }
.rc-clock { display: grid; justify-items: start; gap: 4px; background: var(--navy-2); padding: 12px 14px; border-radius: 2px; color: var(--on-cobalt-2); font-size: 13px; }
.rc-clock b { font: italic 800 44px/1 var(--display); color: var(--yellow); background: #050b20; padding: 6px 12px; border-radius: 2px; font-variant-numeric: tabular-nums; }
.rc-big { display: grid; gap: 4px; background: var(--yellow); color: var(--navy); padding: 12px 14px; border-radius: 2px; text-decoration: none; }
.rc-big:hover .rc-big-t { text-decoration: underline; }
.rc-big-k { font: italic 800 15px/1.1 var(--display); }
.rc-big-t { font-size: 17px; line-height: 1.3; }
.rc-big-t em { font: italic 800 19px/1 var(--display); font-style: italic; color: var(--won); }
.rc-big-s { font-size: 13px; color: var(--ink-2); }
.rc-big.none { background: var(--navy-2); color: var(--on-cobalt-2); }

/* ---------- sport tabs and game groups ---------- */
.seg.sports { margin: 0 0 4px; }
.seg.sports button i { font-style: normal; font-weight: 600; font-size: 13px; opacity: .85; margin-left: 4px; }
.grp-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 16px 0 8px; }
.grp-h h3 { margin: 0; font: italic 800 21px/1.1 var(--display); display: inline-flex; align-items: center; gap: 8px; }
.grp-h p { margin: 0; color: var(--on-cobalt-2); font-size: 14px; }
.live-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--yellow); display: inline-block; }
#g-more { margin-top: 10px; }
#g-more .hint { text-align: center; }
.tm.no-pic { grid-template-columns: minmax(0, 1fr) auto; }
.bug-res { font-weight: 700; color: var(--ink); }
.lv-tag { font: italic 800 12px/1 var(--display); background: var(--yellow); color: var(--navy); padding: 3px 7px; align-self: center; }
.tk-inplay { margin: 2px 14px 0; font-size: 13px; font-weight: 700; color: var(--strong); display: flex; align-items: center; gap: 6px; }
.tk-inplay::before { content: ""; width: 8px; height: 12px; background: var(--yellow); transform: skewX(var(--skew)); box-shadow: 0 0 0 1px var(--navy); }

/* ---------- game page: two players, live note, recent form ---------- */
.sb-main.duel .sb-t.no-pic { grid-template-columns: minmax(0, 1fr) auto; }
.sb-main.duel > .sb-t.no-pic:last-child { grid-template-columns: auto minmax(0, 1fr); }
.sb-main.duel > .sb-t.no-pic:last-child .sb-n { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.sb-main.duel > .sb-t.no-pic:last-child .sb-s { grid-column: 1; }
.sb-main.duel .sb-t.no-pic .sb-n { grid-row: 1 / span 2; align-self: center; }
.sb-main.duel .sb-t.no-pic .sb-s { grid-column: 2; }
.sb-res { margin: 0; padding: 8px 16px; background: var(--board-2); color: var(--ink); font-weight: 700; text-align: center; }
.live-note { margin: 12px 0 0; background: var(--yellow); color: var(--navy); padding: 10px 14px; border-radius: var(--r); font-size: 15px; }
.fm-sum { margin: 0 0 6px; font: italic 800 18px/1.2 var(--display); }
.fm { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fm li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 14px; }
.fm li b { font: italic 800 13px/1 var(--display); color: #fff; height: 20px; display: grid; place-items: center; border-radius: 2px; }
.fm .f-W b { background: var(--won); } .fm .f-L b { background: var(--lost); }
.fm small { color: var(--ink-3); font-size: 12px; white-space: nowrap; margin-left: 4px; }
.tp-h .fm li { grid-template-columns: minmax(0, 1fr) 24px; text-align: right; }
.tp-h .fm li b { order: 2; }
@media (max-width: 720px) {
  .race li { grid-template-columns: 38px minmax(0, 1fr) auto; padding-right: 8px; }
  .race-bar { grid-column: 2 / -1; grid-row: 2; }
  .race li .b-copy { grid-column: 3; grid-row: 1; }
  .race-pts { grid-column: 2 / -1; grid-row: 3; font-size: 18px; }
  .race-pos { grid-row: 1 / span 3; }
  .race.grid li { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .rc-clock b { font-size: 36px; }
  .sb-main.duel > .sb-t.no-pic:last-child { grid-template-columns: minmax(0, 1fr) auto; }
  .sb-main.duel > .sb-t.no-pic:last-child .sb-n { grid-column: 1; }
  .sb-main.duel > .sb-t.no-pic:last-child .sb-s { grid-column: 2; }
  .tp-h .fm li { grid-template-columns: 24px minmax(0, 1fr); text-align: left; }
  .tp-h .fm li b { order: 0; }
}

/* ---------- terms and privacy ---------- */
.legal .pb { padding: 20px 22px; max-width: 78ch; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p { margin: 0 0 14px; }
.legal b { color: var(--ink); }
.legal ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal code { font-size: 14px; background: var(--board-2); padding: 1px 5px; border-radius: 2px; }


/* =====================================================================================================
   Studio, motion and physical controls. Motion is on only when html has .motion (set by motion.js when the
   visitor hasn't asked for reduced motion). Transform and opacity only.
   ===================================================================================================== */
:root {
  --sp-basketball: #ff7a1a; --sp-football: #8a4b20; --sp-hockey: #7fd3f7;
  --sp-soccer: #22b573; --sp-tennis: #c8ea3a; --sp-tt: #ff3d57;
  --edge-y: #b38f00; --edge-n: #03081c;
  --led: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5'%3E%3Ccircle cx='2.5' cy='2.5' r='.9' fill='%23ffffff' fill-opacity='.075'/%3E%3C/svg%3E");
  --spring: cubic-bezier(.2,.9,.25,1.15);
}

/* the studio floor: line art of the sport's playing surface, behind everything */
.studio { position: fixed; inset: 0; z-index: -1; pointer-events: none; color: rgba(255,255,255,.085); overflow: hidden; }
.studio-l { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.studio-l.on { opacity: 1; }
.studio svg { width: 100%; height: 100%; display: block; }
@media (max-width: 720px) { .studio svg { transform: rotate(90deg) scale(1.9); } }

/* LED dot texture on the broadcast bars */
.top, .crawl, .race-p, .onair { background-image: var(--led); }

/* sport colours: filled chips and tab fills */
[data-sport="Basketball"] { --sp: var(--sp-basketball); --sp-ink: var(--navy); }
[data-sport="Football"] { --sp: var(--sp-football); --sp-ink: #fff; }
[data-sport="Hockey"] { --sp: var(--sp-hockey); --sp-ink: var(--navy); }
[data-sport="Soccer"] { --sp: var(--sp-soccer); --sp-ink: var(--navy); }
[data-sport="Tennis"] { --sp: var(--sp-tennis); --sp-ink: var(--navy); }
[data-sport="Table tennis"] { --sp: var(--sp-tt); --sp-ink: var(--navy); }
.lg[data-sport]:not([data-sport=""]) { background: var(--sp); color: var(--sp-ink) !important; padding: 2px 8px; border-radius: 2px; font: italic 800 12px/1.3 var(--display); transform: skewX(var(--skew)); display: inline-block; }
.sb-strip .lg[data-sport]:not([data-sport=""]) { font-size: 14px; padding: 3px 10px; }
.sp-dot { display: inline-block; width: 10px; height: 12px; background: var(--sp); transform: skewX(var(--skew)); margin-right: 7px; vertical-align: -1px; }
.seg.sports button[aria-pressed="true"]:not([data-s="all"]) { background: var(--sp); color: var(--sp-ink); }
.seg.sports button[data-s="Basketball"] { --sp: var(--sp-basketball); --sp-ink: var(--navy); }
.seg.sports button[data-s="Football"] { --sp: var(--sp-football); --sp-ink: #fff; }
.seg.sports button[data-s="Hockey"] { --sp: var(--sp-hockey); --sp-ink: var(--navy); }
.seg.sports button[data-s="Soccer"] { --sp: var(--sp-soccer); --sp-ink: var(--navy); }
.seg.sports button[data-s="Tennis"] { --sp: var(--sp-tennis); --sp-ink: var(--navy); }
.seg.sports button[data-s="Table tennis"] { --sp: var(--sp-tt); --sp-ink: var(--navy); }
.seg.sports button[aria-pressed="true"] .sp-dot { background: var(--sp-ink); }

/* ---------- physical controls: a real edge that collapses when pressed ---------- */
.btn, .b-copy, .seg button { transition: transform .09s ease, box-shadow .09s ease, background-color .15s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn-y { box-shadow: 0 4px 0 var(--edge-y); }
.btn-y:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge-y); }
.btn-navy { box-shadow: 0 4px 0 var(--edge-n); }
.btn-navy:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge-n); }
.btn-line { box-shadow: inset 0 0 0 2px var(--navy), 0 4px 0 var(--navy); }
.btn-line:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px var(--navy), 0 1px 0 var(--navy); }
.btn-line.danger { box-shadow: inset 0 0 0 2px var(--ink-3), 0 4px 0 var(--ink-3); }
.btn-line.danger:active { box-shadow: inset 0 0 0 2px var(--ink-3), 0 1px 0 var(--ink-3); }
.btn-ghost { box-shadow: inset 0 0 0 2px rgba(255,255,255,.45), 0 3px 0 rgba(3,8,28,.45); }
.btn-ghost:active { transform: translateY(2px); box-shadow: inset 0 0 0 2px #fff, 0 1px 0 rgba(3,8,28,.45); }
.b-copy { box-shadow: 0 4px 0 var(--edge-n); margin-bottom: 3px; }
.b-copy:active { transform: skewX(var(--skew)) translateY(3px); box-shadow: 0 1px 0 var(--edge-n); }
.b-copy[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--navy), 0 4px 0 var(--navy); }
.b-copy[aria-pressed="true"]:active { box-shadow: inset 0 0 0 2px var(--navy), 0 1px 0 var(--navy); }
.race li .b-copy { box-shadow: 0 4px 0 var(--edge-y); }
.race li .b-copy:active { box-shadow: 0 1px 0 var(--edge-y); }
.race li .b-copy[aria-pressed="true"] { box-shadow: inset 0 0 0 2px #fff, 0 4px 0 rgba(255,255,255,.35); }
.seg button[aria-pressed="true"] { box-shadow: 0 3px 0 var(--edge-y); }
.seg.sports button[aria-pressed="true"]:not([data-s="all"]) { box-shadow: 0 3px 0 rgba(3,8,28,.55); }
.seg button:active { transform: translateY(2px) skewX(var(--skew)); }
.seg button:not([aria-pressed="true"]):active { transform: translateY(2px); }
@media (hover: hover) and (pointer: fine) {
  .btn-y:hover, .btn-navy:hover { transform: translateY(-1px); }
  .btn-y:hover { box-shadow: 0 5px 0 var(--edge-y); }
  .btn-line:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 2px var(--navy), 0 5px 0 var(--navy); }
  .b-copy:hover { transform: skewX(var(--skew)) translateY(-1px); box-shadow: 0 5px 0 var(--edge-n); }
  .btn:active, .b-copy:active { transition-duration: .04s; }
}

/* ---------- route wipe ---------- */
::view-transition { pointer-events: none; }
::view-transition-group(root) { background: var(--yellow); animation-duration: .42s; }
::view-transition-old(root) { animation: vt-old .42s cubic-bezier(.65,0,.35,1) both; }
::view-transition-new(root) { animation: vt-new .42s cubic-bezier(.65,0,.35,1) both; }
@keyframes vt-new { from { clip-path: polygon(-40% 0, -20% 0, -32% 100%, -40% 100%); } to { clip-path: polygon(-40% 0, 132% 0, 120% 100%, -40% 100%); } }
@keyframes vt-old { from { clip-path: polygon(-10% 0, 140% 0, 140% 100%, -22% 100%); } to { clip-path: polygon(142% 0, 142% 0, 142% 100%, 130% 100%); } }
.wipe { position: fixed; top: 0; bottom: 0; left: 0; width: 34vw; background: var(--yellow); z-index: 90; pointer-events: none; transform: translateX(-60vw) skewX(-14deg); display: none; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } .wipe { display: none; } }

/* ---------- the reason bar wipes in once, the first time a pick scrolls into view ---------- */
.l3 { overflow: hidden; }
@keyframes l3-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes l3-tag { from { transform: translateX(-102%); } to { transform: none; } }
@keyframes l3-p { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

/* ---------- numbers that move ---------- */
.odo-k, .odo-c { display: inline-block; }
.odo-c { height: 1.1em; overflow: hidden; vertical-align: top; line-height: 1.1em; }
.odo-r { display: block; }
.odo-r i { display: block; height: 1.1em; line-height: 1.1em; font-style: inherit; }
.odo-r.odo-up { animation: odo-up .62s var(--spring) both; }
.odo-r.odo-dn { animation: odo-dn .62s var(--spring) both; }
@keyframes odo-up { from { transform: translateY(0); } to { transform: translateY(-1.1em); } }
@keyframes odo-dn { from { transform: translateY(-1.1em); } to { transform: translateY(0); } }
[data-flash] { position: relative; isolation: isolate; display: inline-block; }
[data-flash]::after { content: ""; position: absolute; inset: -2px -5px; border-radius: 2px; z-index: -1; opacity: 0; pointer-events: none; }
.flash-up::after { background: rgba(14,163,92,.32); animation: flash 1.2s ease-out; }
.flash-down::after { background: rgba(212,47,43,.3); animation: flash 1.2s ease-out; }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }
[data-sweep] { position: relative; isolation: isolate; }
[data-sweep]::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 45%; background: var(--yellow); opacity: 0; transform: translateX(-130%) skewX(-16deg); pointer-events: none; z-index: 3; }
.sweeping::after { animation: sweep .9s cubic-bezier(.65,0,.35,1); }
@keyframes sweep { 0% { opacity: 0; transform: translateX(-130%) skewX(-16deg); } 12% { opacity: .9; } 85% { opacity: .9; } 100% { opacity: 0; transform: translateX(330%) skewX(-16deg); } }

/* ---------- loading: a scanline sweeping down, like a broadcast monitor ---------- */
.motion .sk::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%; border-top: 2px solid rgba(255,255,255,.32); background: rgba(255,255,255,.05); transform: translateY(-100%); animation: scan 1.5s cubic-bezier(.45,0,.55,1) infinite; }
.motion .panel .sk::after, .motion .chart .sk::after, .motion #race .sk::after { border-top-color: rgba(13,22,51,.2); background: rgba(13,22,51,.04); }
.motion #race .sk::after { border-top-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
@keyframes scan { to { transform: translateY(100%); } }

/* ---------- the win stinger ---------- */
.stinger { position: fixed; left: 0; right: 0; top: 38%; z-index: 85; pointer-events: none; }
.st-bar { pointer-events: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; background: var(--yellow); color: var(--navy); padding: 18px max(16px, 6vw); box-shadow: 0 8px 0 var(--edge-y); background-image: var(--led); transform: translateX(-110%) skewX(-10deg); }
.stinger.in .st-bar { transform: none; transition: transform .52s var(--spring); }
.stinger.out .st-bar { transform: translateX(110%) skewX(-10deg); transition: transform .42s cubic-bezier(.6,0,.85,.4); }
.stinger.still .st-bar { transform: none; }
.st-tag { background: var(--navy); color: var(--yellow); font: italic 800 16px/1 var(--display); padding: 7px 16px 7px 12px; clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%); }
.st-t { font: italic 800 clamp(22px, 3.8vw, 42px)/1.05 var(--display); font-stretch: 104%; flex: 1 1 320px; }
.st-a { color: var(--strong); font-weight: 800; }
.chips { position: absolute; left: 0; right: 0; top: 50%; height: 0; pointer-events: none; }
.chips i { position: absolute; top: 0; border-radius: 1px; opacity: 0; animation: chip 1.5s cubic-bezier(.25,.6,.45,1) both; box-shadow: 0 0 0 1px rgba(13,22,51,.25); }
@keyframes chip { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 30% { opacity: 1; transform: translate(calc(var(--dx) * .45), var(--up)) rotate(calc(var(--r) * .35)); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)); } }
@media (max-width: 720px) { .stinger { top: 30%; } .st-bar { padding: 14px 16px; } }

/* =====================================================================================================
   Round 5: wordmark, Fade, Tickets, achievements, the Protocol home
   ===================================================================================================== */
.mark { width: 40px; height: 28px; overflow: visible; }
.brand .wm { font: italic 900 25px/1 var(--display); font-stretch: 118%; letter-spacing: -.025em; }

/* Fade: secondary to Copy, outlined, with a down arrow */
.b-fade { flex: none; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; font: italic 800 14px/1 var(--display); background: var(--board); color: var(--strong); padding: 7px 11px; border: 0; border-radius: 2px; transform: skewX(var(--skew)); box-shadow: inset 0 0 0 2px var(--ink-3), 0 3px 0 var(--ink-3); margin-bottom: 3px; transition: transform .09s ease, box-shadow .09s ease; white-space: nowrap; }
.b-fade svg { width: 12px; height: 12px; }
.b-fade:active { transform: skewX(var(--skew)) translateY(2px); box-shadow: inset 0 0 0 2px var(--ink-3), 0 1px 0 var(--ink-3); }
.b-fade[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 2px var(--navy), 0 3px 0 var(--edge-n); }
.b-fade.wide { width: 100%; justify-content: center; padding: 11px; font-size: 16px; }
.hot-btns { grid-row: 1 / span 2; grid-column: 3; display: grid; gap: 6px; justify-items: end; }
.hot .b-copy { grid-row: auto; grid-column: auto; }
.cp-fade { margin-top: 14px; padding-top: 12px; box-shadow: inset 0 1px 0 var(--rule); display: grid; gap: 8px; }
.cp-fade p { margin: 0; font-size: 14px; color: var(--ink-2); }
.cp-fade .b-fade { justify-self: start; }
.mode-chip { font: italic 800 12px/1 var(--display); padding: 4px 8px; background: var(--yellow); color: var(--navy); transform: skewX(var(--skew)); }
.mode-chip.fade { background: var(--navy); color: #fff; }
.cr-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tk-yours { margin: 2px 14px 0; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--yellow); padding: 5px 9px; justify-self: start; }
.tk-yours.fade { background: var(--navy); color: #fff; }
#tw-mine .tk.is-mine { box-shadow: 0 0 0 3px var(--yellow); }
.tk-clock { font: italic 800 13px/1 var(--display); color: var(--strong); background: var(--board-2); padding: 2px 5px; border-radius: 2px; }

/* explanation sheet before the first fade */
.sheet { position: fixed; inset: 0; z-index: 95; background: rgba(3,8,28,.55); display: grid; align-items: end; justify-items: center; padding: 16px; opacity: 0; transition: opacity .18s; }
.sheet.on { opacity: 1; }
.sheet-in { background: var(--board); color: var(--ink); max-width: 560px; width: 100%; border-radius: var(--r); padding: 18px; box-shadow: inset 0 6px 0 var(--yellow); transform: translateY(24px); transition: transform .3s var(--spring); }
.sheet.on .sheet-in { transform: none; }
.sheet h2 { margin: 6px 0 8px; font: italic 800 24px/1.1 var(--display); }
.sheet p { margin: 0 0 14px; color: var(--ink-2); }
.sheet-a { display: flex; gap: 10px; flex-wrap: wrap; }

/* live state word that just changed */
.motion .watch-changed { animation: watch .7s var(--spring); }
@keyframes watch { 0% { transform: scale(.6); opacity: .2; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }

/* ---------- Tickets ---------- */
.tw-counts { display: flex; flex-wrap: wrap; align-items: stretch; background: var(--navy); background-image: var(--led); border-radius: var(--r); overflow: hidden; min-height: 44px; }
.tw-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 4px; }
.b-live { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: italic 800 15px/1 var(--display); padding: 10px 14px; border-radius: 2px; background: var(--cobalt-4); color: #fff; box-shadow: 0 3px 0 var(--edge-n); transition: transform .09s, box-shadow .09s; }
.b-live i { font-style: normal; background: var(--yellow); color: var(--navy); padding: 2px 6px; border-radius: 2px; }
.b-live[aria-pressed="true"] { background: var(--yellow); color: var(--navy); transform: skewX(var(--skew)); box-shadow: 0 3px 0 var(--edge-y); }
.b-live[aria-pressed="true"] i { background: var(--navy); color: var(--yellow); }
.b-live:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--edge-n); }
.tw { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); margin-top: 10px; }
@media (min-width: 1100px) { .tw { grid-template-columns: minmax(0, 1fr) 360px; } .tw-side { position: sticky; top: 16px; align-self: start; } }
.tw-main .feed { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
#tw-more { margin-top: 12px; }
#tw-mine:not(:empty) { margin-bottom: 18px; }
.js-panel { background: var(--navy); background-image: var(--led); color: #fff; border-radius: var(--r); overflow: hidden; }
.js-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; box-shadow: inset 0 -2px 0 var(--yellow); }
.js-head h2 { margin: 0; font: italic 800 21px/1 var(--display); }
.js-head span { color: var(--on-cobalt-2); font-size: 13px; }
.js-list { list-style: none; margin: 0; padding: 6px; display: grid; gap: 4px; max-height: 760px; overflow-y: auto; }
.js-list .sk { background: rgba(255,255,255,.08); margin: 0; }
.js-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--navy-2); padding: 8px 10px; border-radius: 2px; }
.js-t { display: grid; min-width: 0; font-size: 14px; }
.js-t a { color: #fff; text-decoration: none; }
.js-t a:hover { text-decoration: underline; }
.js-t span { font-size: 12px; color: var(--on-cobalt-2); }
.js-p { font: italic 800 18px/1 var(--display); text-align: right; display: grid; }
.js-p small { font: 600 11px/1.2 var(--text); color: var(--on-cobalt-2); font-style: normal; }
.js-p.up { color: #6ee0a2; } .js-p.down { color: #ff9a92; }
.js-empty { color: var(--on-cobalt-2); padding: 12px; font-size: 14px; }
.stamp { display: inline-grid; place-items: center; font: italic 900 14px/1 var(--display); padding: 6px 8px; border-radius: 2px; transform: rotate(-6deg); box-shadow: inset 0 0 0 2px currentColor; background: transparent; }
.stamp.st-won { color: #6ee0a2; }
.stamp.st-lost { color: #ff9a92; }
.stamp.st-push, .stamp.st-void { color: var(--on-cobalt-2); }
.motion .js-row.land { animation: row-in .5s var(--spring) both; }
.motion .js-row.land .stamp { animation: stamp-in .55s .12s cubic-bezier(.2,1.4,.4,1) both; animation-delay: inherit; }
@keyframes row-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes stamp-in { 0% { transform: scale(2.4) rotate(-18deg); opacity: 0; } 60% { transform: scale(.9) rotate(-4deg); opacity: 1; } 100% { transform: scale(1) rotate(-6deg); } }

/* ---------- achievements ---------- */
.ach-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ach-list li { display: grid; gap: 2px; padding: 10px 12px; background: var(--board-2); border-radius: 2px; }
.ach-list b { font: italic 800 16px/1.15 var(--display); justify-self: start; background: var(--yellow); padding: 3px 9px; transform: skewX(var(--skew)); }
.ach-list span { font-size: 14px; color: var(--ink-2); }
.ach-pop { position: fixed; top: 108px; left: 50%; z-index: 86; display: grid; gap: 2px; justify-items: start; background: var(--navy); color: #fff; padding: 12px 16px 12px 14px; border-radius: var(--r); box-shadow: inset 0 4px 0 var(--yellow), 0 6px 0 var(--edge-n); max-width: min(420px, calc(100% - 32px)); transform: translate(-50%, -30px) scale(.9); opacity: 0; pointer-events: none; }
.ach-pop.in { transform: translate(-50%, 0) scale(1); opacity: 1; transition: transform .45s var(--spring), opacity .2s; }
.ach-pop.out { transform: translate(-50%, -20px); opacity: 0; transition: transform .3s ease-in, opacity .3s; }
.ach-pop.still { transition: none; }
.ach-k { font-size: 12px; font-weight: 700; color: var(--yellow); }
.ach-b { font: italic 800 22px/1.1 var(--display); }
.ach-w { font-size: 14px; color: var(--on-cobalt-2); }

/* ---------- the Protocol home ---------- */
.px-hero { padding: 56px 0 26px; display: grid; gap: 18px; max-width: 980px; }
.px-hero h1 { margin: 0; font: italic 900 clamp(40px, 6.4vw, 88px)/.96 var(--display); font-stretch: 108%; letter-spacing: -.03em; text-wrap: balance; }
.px-lede { margin: 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--on-cobalt-2); max-width: 64ch; line-height: 1.55; }
.px-sec { margin-top: 44px; }
.px-sec > .sec { margin-top: 0; }
.nb { background: var(--navy); background-image: var(--led); border-radius: var(--r); padding: 18px; box-shadow: inset 0 4px 0 var(--yellow); }
.nb-h { margin: 0 0 14px; font: italic 800 18px/1 var(--display); color: var(--yellow); }
.nb-row { display: grid; gap: 10px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.nb-c { display: grid; gap: 8px; align-content: start; }
.nb-c b { font: italic 800 clamp(30px, 3.4vw, 46px)/1 var(--display); color: var(--yellow); background: #050b20; padding: 10px 12px; border-radius: 2px; font-variant-numeric: tabular-nums; justify-self: stretch; }
.nb-c span { font-size: 13px; color: var(--on-cobalt-2); line-height: 1.35; }
.nb .sk { background: rgba(255,255,255,.08); grid-column: 1 / -1; }
@media (max-width: 900px) { .nb-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tape-wrap { overflow-x: auto; background: var(--navy); border-radius: var(--r); padding: 14px; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-color: var(--yellow) var(--navy-2); }
.tape-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; min-width: 100%; }
.tape-row .sk { width: 100%; background: rgba(255,255,255,.08); }
.tape-empty { color: var(--on-cobalt-2); padding: 12px; }
.tg { padding: 8px; border-radius: 2px; box-shadow: inset 0 0 0 2px rgba(255,210,31,.55); }
.tg-open { box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.tg-in { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; align-items: stretch; }
.tb { width: 150px; flex: none; }
.tb a, .tb.tb-seal, .tb.tb-next { display: grid; gap: 3px; align-content: start; height: 100%; padding: 10px; border-radius: 2px; text-decoration: none; }
.tb-pick a { background: var(--board); color: var(--ink); }
.tb-pick a:hover { box-shadow: 0 0 0 3px var(--yellow); }
.tb-set a { background: var(--navy-2); color: #fff; }
.tb-set .stamp { justify-self: start; margin-bottom: 4px; }
.tb b { font: italic 800 15px/1.15 var(--display); }
.tb span { font-size: 12px; }
.tb-id { font-weight: 700; color: var(--ink-3); }
.tb-t { color: var(--ink-3); }
.tb-set .tb-t, .tb-set span { color: var(--on-cobalt-2); }
.tb-seal { width: 200px; background: var(--yellow); color: var(--navy); clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); }
.tb-seal .tb-id { color: var(--strong); }
.tb-root { font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.tb-st { font-weight: 700; }
.tb-st a { color: var(--strong); }
.b-root { justify-self: start; margin-top: 4px; border: 0; cursor: pointer; font: italic 800 12px/1 var(--display); background: var(--navy); color: var(--yellow); padding: 6px 9px; border-radius: 2px; box-shadow: 0 3px 0 var(--edge-n); }
.b-root:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--edge-n); }
.tb-next { background: transparent; color: var(--on-cobalt-2); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.tb-next b { color: #fff; }
.motion .tb-new { animation: tb-in .6s var(--spring) both; }
@keyframes tb-in { from { transform: translateY(-26px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }

.vf { background: var(--board); color: var(--ink); border-radius: var(--r); padding: 18px; display: grid; gap: 14px; box-shadow: inset 0 4px 0 var(--yellow); }
.vf-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.vf-form label { font-weight: 700; font-size: 14px; width: 100%; }
.vf-in { width: 160px; }
.vf-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vf-idle { color: var(--ink-3); }
.vf-s { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px; border-radius: 2px; background: var(--board-2); }
.vf-b b { font: italic 800 16px/1.2 var(--display); }
.vf-d { font-size: 14px; color: var(--ink-2); margin-top: 3px; overflow-wrap: anywhere; }
.vf-d a { color: var(--ink); }
.vf-ic { width: 30px; height: 30px; border-radius: 2px; display: grid; place-items: center; background: var(--board-3); position: relative; }
.vf-s.is-run .vf-ic::after { content: ""; width: 12px; height: 12px; border: 3px solid var(--navy); border-right-color: transparent; border-radius: 50%; }
.motion .vf-s.is-run .vf-ic::after { animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.vf-s.is-ok .vf-ic { background: var(--won); }
.vf-s.is-ok .vf-ic::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 3px 3px; transform: translateY(-2px) rotate(-45deg); }
.motion .vf-s.is-ok .vf-ic { animation: ok-pop .45s var(--spring); }
@keyframes ok-pop { 0% { transform: scale(.5); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
.vf-s.is-bad .vf-ic { background: var(--lost); }
.vf-s.is-bad .vf-ic::after { content: "×"; color: #fff; font: 800 20px/1 var(--text); }
.vf-s.is-note .vf-ic { background: var(--yellow); }
.vf-s.is-note .vf-ic::after { content: "i"; color: var(--strong); font: italic 900 18px/1 var(--display); }
.motion .vf-s { animation: vf-in .35s ease-out both; }
@keyframes vf-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.fx { display: grid; grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1.3fr) 130px minmax(0, 1fr); align-items: center; gap: 8px; }
.fx-col { background: var(--board); color: var(--ink); border-radius: var(--r); padding: 16px; align-self: stretch; }
.fx-col h3 { margin: 0 0 8px; font: italic 800 20px/1.1 var(--display); }
.fx-col ul { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 4px; font-weight: 700; }
.fx-col p { margin: 0; font-size: 14px; color: var(--ink-2); }
.fx-core { background: var(--navy); color: #fff; box-shadow: inset 0 4px 0 var(--yellow); }
.fx-core h3 { color: var(--yellow); }
.fx-mods li { display: grid; gap: 2px; background: var(--navy-2); padding: 9px 10px; border-radius: 2px; font-weight: 400; }
.fx-mods b { font: italic 800 15px/1.1 var(--display); }
.fx-mods span { font-size: 13px; color: var(--on-cobalt-2); }
.fx-arrow { display: grid; gap: 4px; justify-items: center; color: var(--yellow); text-align: center; }
.fx-arrow svg { width: 100%; height: 22px; }
.fx-arrow span { font-size: 12px; color: var(--on-cobalt-2); font-weight: 600; }
@media (max-width: 900px) {
  .fx { grid-template-columns: minmax(0, 1fr); }
  .fx-arrow svg { width: 40px; height: 40px; transform: rotate(90deg); }
}

.code { display: grid; gap: 10px; }
.code-box { position: relative; }
.code-box pre { margin: 0; background: #050b20; color: #e8ecff; padding: 18px; border-radius: var(--r); font-size: 13.5px; line-height: 1.6; white-space: pre; overflow-x: auto; box-shadow: inset 0 3px 0 var(--yellow); min-height: 220px; }
.code-copy { position: absolute; top: 12px; right: 12px; }
.ex-t td, .ex-t th { white-space: nowrap; }
.ex-root { font-size: 12px; white-space: normal; overflow-wrap: anywhere; display: block; max-width: 520px; }
.bo { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.bo li { display: grid; gap: 2px; padding: 12px 14px; background: var(--cobalt-3); border-radius: 2px; }
.bo b { font: italic 800 22px/1.1 var(--display); }
.bo span { font-size: 14px; color: var(--on-cobalt-2); }
.built h2 { margin: 0; font: italic 800 26px/1.1 var(--display); }
.built .pnote { color: var(--on-cobalt-2); }
@media (max-width: 720px) {
  .px-hero { padding-top: 34px; }
  .code-box pre { font-size: 12.5px; padding-top: 54px; }
  .js-row { grid-template-columns: 64px minmax(0, 1fr) auto; }
}
.code .pnote, .px-sec > .pnote { color: var(--on-cobalt-2); }
.code .pnote a, .px-sec > .pnote a { color: #fff; }
@media (max-width: 1099px) { .tw-side { order: -1; } .js-list { max-height: 330px; } }
.code { grid-template-columns: minmax(0, 1fr); }
.code-box, .vf, .vf-steps { min-width: 0; }

/* notifications panel on /me */
.nt { display: grid; gap: 12px; justify-items: start; }
.nt-p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.nt-p b { color: var(--ink); }

/* People copying (leaderboard) */
.cb { margin-top: 36px; }
.cbt th[scope="row"] { font-weight: 700; white-space: nowrap; }
.cbt .lb-rk { display: inline-block; min-width: 1.6em; margin-right: 8px; }
.cb-you { background: color-mix(in srgb, var(--yellow) 28%, transparent); }
.cb-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; background: var(--navy); color: var(--yellow); font: italic 800 12px/1.5 var(--display); border-radius: 2px; vertical-align: 1px; }
.cb-gap td { height: 10px; padding: 0; border: 0; background: transparent; }
.rk-l { margin: 0; display: grid; gap: 8px; }
.rk-l div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.rk-l dt { color: var(--ink-2); }
.rk-l dd { margin: 0; font-weight: 700; text-align: right; }

/* copier page (/c/482) */
.cp-share { margin-top: 12px; }
.cp-share .b-share, .rk-share .b-share { color: inherit; }
.cp-tiles { margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--navy); border-radius: var(--r); overflow: hidden; }
.cp-tiles div { background: var(--board); padding: 16px 18px; }
.cp-tiles dt { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: none; }
.cp-tiles dd { margin: 4px 0 0; font: italic 900 34px/1.05 var(--display); color: var(--strong); }
.cp-tiles dd small { font: 700 15px/1 var(--text, inherit); color: var(--ink-2); font-style: normal; }
.cp-tiles dd.up { color: var(--won); } .cp-tiles dd.down { color: var(--lost); }
.cp-a { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.cp-a-t { display: grid; gap: 2px; }
.cp-a-t a { color: var(--strong); }
.cp-a-s { font-size: 14px; color: var(--ink-3); }
.rk-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
@media (max-width: 640px) { .cp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cp-tiles dd { font-size: 28px; } }

/* yesterday's race winner, under the biggest win */
.rc-y { display: grid; gap: 4px; padding: 12px 16px; margin-top: 2px; background: rgba(255,255,255,.06); color: inherit; text-decoration: none; border-radius: var(--r); }
.rc-y:hover { background: rgba(255,255,255,.1); }

/* Send your agent: why */
.why { margin-bottom: 24px; }
.why-l { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.why-l li { font-size: 16px; line-height: 1.5; color: var(--ink-2); padding-left: 16px; box-shadow: inset 4px 0 0 var(--yellow); }
.why-l b { color: var(--ink); }

/* contest (/contest) */
.ct-prize { margin: 12px 0 0; font-size: 15px; color: var(--on-cobalt-2, #d3daff); }
.ct-prize b { color: #fff; }
.ct-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.ct-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.ct-form select, .ct-form input { font: inherit; font-size: 16px; padding: 10px 12px; border: 2px solid var(--navy); border-radius: var(--r); background: var(--board); color: var(--ink); min-width: 0; }
.ct-st { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ct-st li { display: grid; grid-template-columns: 2em minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; box-shadow: inset 0 -1px 0 var(--rule); }
.ct-st a { color: var(--strong); font-weight: 700; }
.ct-rk { font: italic 800 18px/1 var(--display); color: var(--ink-3); }
.ct-res { margin: 0 0 8px; font-size: 18px; }
.ct-rules { margin-top: 18px; }
.rc-ct { box-shadow: inset 4px 0 0 var(--yellow); }
@media (max-width: 640px) { .ct-form { grid-template-columns: 1fr; } }

/* hints inside white panels need dark text (the default .hint is for the cobalt page) */
.panel .hint { color: var(--ink-3); }
.panel .hint b { color: var(--ink); }

/* home hero: one sentence, one action */
.hero { padding: 36px 0 20px; display: grid; gap: 14px; justify-items: start; }
.hero h1 { margin: 0; font: italic 900 clamp(34px, 6vw, 64px)/1.0 var(--display); font-stretch: 104%; letter-spacing: -.02em; max-width: 16ch; }
.hero h1 em { color: var(--yellow); font-style: italic; display: block; }
.hero-s { margin: 0; font-size: clamp(16px, 2vw, 19px); line-height: 1.45; color: var(--on-cobalt-2); max-width: 44ch; }
.hero-a { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.btn.big { font-size: 18px; padding: 14px 24px; }
.sec-more { color: #fff; font-weight: 700; font-size: 15px; }
.h-hot .hots { margin: 0; background: var(--board); color: var(--ink); border-radius: var(--r); overflow: hidden; }
.h-foot { margin: 28px 0 0; font-size: 14px; color: var(--on-cobalt-2); }
.h-foot a { color: #fff; }
@media (max-width: 640px) { .hero { padding-top: 24px; } .hero-a .btn { flex: 1 1 auto; } }

/* your own pick: tappable prices and the pick sheet */
.ln-row.pk-on { cursor: pointer; border-radius: 4px; transition: background .12s; }
.ln-row.pk-on:hover, .ln-row.pk-on:focus-visible { background: var(--board-2); outline: 2px solid var(--navy); outline-offset: -2px; }
.pk-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; background: var(--yellow); color: var(--navy); font: italic 800 12px/1.4 var(--display); border-radius: 2px; }
dialog.pk { border: 0; padding: 0; border-radius: 6px; width: min(460px, calc(100vw - 32px)); background: var(--board); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
dialog.pk::backdrop { background: rgba(8, 14, 40, .6); }
.pk-in { position: relative; padding: 22px 20px 20px; display: grid; gap: 10px; }
.pk-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink-3); }
.pk-k { margin: 0; font: italic 800 13px/1 var(--display); color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.pk-in h2 { margin: 0; font: italic 900 26px/1.1 var(--display); color: var(--strong); }
.pk-g { margin: 0; font-size: 14px; color: var(--ink-3); }
.pk-f { display: grid; gap: 12px; }
.pk-f label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.pk-f small { font-weight: 500; color: var(--ink-3); }
.pk-f input, .pk-f select, .pk-f textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 2px solid var(--navy); border-radius: var(--r); background: #fff; color: var(--ink); }
.pk-w { margin: -4px 0 0; font-size: 14px; font-weight: 700; color: var(--won); }
.pk-a { display: flex; flex-wrap: wrap; gap: 10px; }
.pk-err { color: var(--lost); font-weight: 700; }
dialog.pk .hint { color: var(--ink-3); }
.chip-h { background: var(--won); color: #fff; }

/* Humans vs AI (leaderboard) */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 0 0 14px; background: var(--navy); border-radius: var(--r); overflow: hidden; }
.vs-h { grid-column: 1 / -1; margin: 0; padding: 8px 14px; background: var(--yellow); color: var(--navy); font: italic 900 18px/1.1 var(--display); }
.vs-s { background: var(--board); color: var(--ink); padding: 12px 14px; display: grid; gap: 2px; }
.vs-l { font: italic 800 15px/1 var(--display); color: var(--ink-3); }
.vs-s b { font: italic 900 30px/1.05 var(--display); }
.vs-s span:last-child { font-size: 13px; color: var(--ink-3); }
.vs-n { grid-column: 1 / -1; margin: 0; padding: 8px 14px; background: var(--board-2); color: var(--ink-2); font-size: 14px; }
@media (max-width: 640px) { .vs-s b { font-size: 24px; white-space: nowrap; } }

/* sealed picks */
.tk-sealed { background: var(--navy); color: #fff; padding: 16px; gap: 14px; }
.tk-sl { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.tk-lock { width: 30px; height: 30px; border-radius: 6px; background: var(--yellow); position: relative; margin-top: 4px; }
.tk-lock::before { content: ""; position: absolute; left: 7px; top: -9px; width: 12px; height: 12px; border: 4px solid var(--yellow); border-bottom: 0; border-radius: 10px 10px 0 0; }
.tk-sl-h { margin: 0; font: italic 900 20px/1.1 var(--display); }
.tk-sl-h a { color: var(--yellow); }
.tk-sl-s { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--on-cobalt-2); }
.tk-sl-f { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.tk-fp { font-size: 13px; color: var(--on-cobalt-2); font-family: ui-monospace, monospace; }
.pk-seal { display: grid !important; grid-template-columns: auto 1fr; gap: 10px !important; align-items: start; font-weight: 500 !important; background: var(--board-2); padding: 10px; border-radius: var(--r); }
.pk-seal input { width: 20px; height: 20px; margin-top: 2px; }

/* fixes from phone testing (iOS Safari) */
/* a hidden toast must not be rendered: Safari tints its toolbar from what sits at the bottom of the screen */
.toast:not(.on) { visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; }
/* the countdown chip stays the size of the text around it */
.leg-t .tk-clock, .tk-clock { font-size: 13px; line-height: 1.2; display: inline-block; vertical-align: 1px; padding: 1px 5px; }
.leg-t .gm { line-height: 1.55; }
/* price rows: name and details on the left, one price button on the right */
.ln-row { align-items: center; padding: 8px 0; }
.ln-sub { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.ln-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: var(--r); background: var(--board); box-shadow: inset 0 0 0 2px var(--rule); white-space: nowrap; }
.ln-btn b { font: italic 800 18px/1 var(--display); color: var(--strong); }
.ln-btn i { font: italic 800 12px/1.4 var(--display); background: var(--yellow); color: var(--navy); padding: 2px 7px; border-radius: 2px; font-style: italic; }
.ln-row.pk-on { padding: 8px 6px; margin: 0 -6px; outline: none; }
.ln-row.pk-on:hover, .ln-row.pk-on:focus-visible { outline: none; background: transparent; }
.ln-row.pk-on:active .ln-btn { box-shadow: inset 0 0 0 2px var(--navy); background: var(--yellow); }
@media (hover: hover) { .ln-row.pk-on:hover .ln-btn { box-shadow: inset 0 0 0 2px var(--navy); } }
.ln-row.pk-on:focus-visible .ln-btn { box-shadow: inset 0 0 0 3px var(--navy); }

/* home: the two doors (I am a human / I am an agent) */
.door { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 560px; margin-top: 6px; }
.door button { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 12px; border: 0; border-radius: var(--r); cursor: pointer; font: italic 900 19px/1 var(--display); background: var(--navy); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18), 0 4px 0 rgba(0,0,0,.25); transition: transform .08s; }
.door button[aria-selected="true"] { background: var(--yellow); color: var(--navy); box-shadow: 0 4px 0 #b8930e; }
.door button:active { transform: translateY(2px); }
.door-i { width: 22px; height: 22px; border-radius: 50%; background: currentColor; -webkit-mask: radial-gradient(circle at 50% 35%, #000 28%, transparent 30%), radial-gradient(ellipse 60% 40% at 50% 100%, #000 98%, transparent 100%); mask: radial-gradient(circle at 50% 35%, #000 28%, transparent 30%), radial-gradient(ellipse 60% 40% at 50% 100%, #000 98%, transparent 100%); }
.door-a { border-radius: 5px; -webkit-mask: none; mask: none; background: linear-gradient(currentColor, currentColor) 50% 0/2px 6px no-repeat, radial-gradient(circle at 32% 55%, transparent 14%, currentColor 16%) ; opacity: .95; }
.door-p { display: grid; gap: 12px; justify-items: start; width: 100%; max-width: 640px; }
.door-n { margin: 0; color: var(--on-cobalt-2); font-size: 15px; line-height: 1.5; }
.door-n b { color: #fff; }
.door-cmd { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--navy); border-radius: var(--r); padding: 10px 10px 10px 14px; }
.door-cmd code { flex: 1; min-width: 0; color: #fff; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.door-s { margin: 0; padding-left: 20px; color: var(--on-cobalt-2); font-size: 15px; line-height: 1.6; }

/* the sportsbook list */
.bk-cols, .bk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 76px 76px 64px; gap: 6px; align-items: center; }
.bk-cols { padding: 0 12px 6px; font: italic 800 12px/1 var(--display); color: var(--on-cobalt-2); text-align: center; }
.bk-list { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.bk { min-width: 0; }
.bk { background: var(--board); color: var(--ink); border-radius: var(--r); padding: 8px 12px 10px; }
.bk-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 12px; color: var(--ink-3); text-decoration: none; margin-bottom: 6px; }
.bk-lg { font: italic 800 12px/1 var(--display); color: var(--strong); }
.bk-live { background: var(--lost); color: #fff; font: italic 800 11px/1.4 var(--display); padding: 1px 6px; border-radius: 2px; }
.bk-ag { margin-left: auto; font-weight: 700; color: var(--strong); }
.bk-team { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; font-weight: 700; font-size: 15px; }
.bk-team span { overflow-wrap: anywhere; }
.bk-sc { font: italic 900 18px/1 var(--display); color: var(--strong); }
.bk-px { display: grid; justify-items: center; gap: 1px; min-height: 44px; padding: 4px 2px; border: 0; border-radius: 4px; background: var(--board-2); color: var(--strong); cursor: pointer; font: inherit; }
.bk-px b { font: italic 800 15px/1 var(--display); }
.bk-px small { font-size: 11px; color: var(--ink-3); }
.bk-px:active, .bk-px:focus-visible { background: var(--yellow); outline: none; }
@media (hover: hover) { .bk-px:not([disabled]):hover { background: var(--yellow); } }
.bk-px[disabled] { cursor: default; opacity: .7; }
.bk-none { display: grid; place-items: center; min-height: 44px; color: var(--ink-3); background: transparent; }
@media (max-width: 420px) { .bk-cols, .bk-grid { grid-template-columns: minmax(0, 1fr) 62px 62px 54px; gap: 4px; } .bk-team { font-size: 14px; } }
.door-i { width: auto; height: auto; border-radius: 0; background: none; -webkit-mask: none; mask: none; font-size: 22px; font-style: normal; line-height: 1; }

/* ---------- the app shell: five tabs (bottom bar on phones), the status card, filters, install ---------- */
.tabbar { display: none; }
@media (max-width: 900px) {
  .top .nav { display: none; }
  .crawl { display: none !important; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--navy); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 rgba(255,255,255,.08), 0 -8px 24px rgba(8,14,40,.35); }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 4px 0; color: var(--on-cobalt-2); text-decoration: none; font-size: 11px; font-weight: 700; min-height: 44px; position: relative; }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a[aria-current="page"] { color: var(--yellow); }
  .tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: -6px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--yellow); }
  .tabbar .cnt { position: absolute; top: 0; left: calc(50% + 6px); font-style: normal; background: var(--yellow); color: var(--navy); font-size: 10px; min-width: 16px; padding: 0 4px; border-radius: 8px; line-height: 16px; }
  .tabbar span { display: inline; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .foot { padding-bottom: 24px; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .install { bottom: calc(68px + env(safe-area-inset-bottom)); }
}
.st-card { margin: 24px 0 8px; background: var(--navy); color: #fff; border-radius: var(--r); padding: 16px; display: grid; gap: 14px; }
.st-main { display: grid; gap: 2px; }
.st-k { font-size: 13px; font-weight: 700; color: var(--on-cobalt-2); }
.st-v { font: italic 900 40px/1.05 var(--display); color: var(--yellow); font-variant-numeric: tabular-nums; }
.st-s { font-size: 14px; color: var(--on-cobalt-2); }
.st-a { display: flex; flex-wrap: wrap; gap: 10px; }
.grp-all { display: block; text-align: center; padding: 10px; color: #fff; font-weight: 700; }
.gm-h { padding-bottom: 8px; }
.gm-f { display: grid; gap: 10px; margin-bottom: 14px; }
.fchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.fchips::-webkit-scrollbar { display: none; }
.fchips button { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 8px 14px; background: var(--navy); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.fchips button i { font-style: normal; font-weight: 600; opacity: .7; font-size: 12px; }
.fchips button[aria-pressed="true"] { background: var(--yellow); color: var(--navy); }
.fchips.sub button { background: rgba(255,255,255,.12); padding: 6px 12px; font-size: 13px; }
.fchips.sub button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.gm-when { justify-self: start; }
.more { margin: 32px 0 8px; }
.more h2 { margin: 0 0 10px; font: italic 800 24px/1.1 var(--display); }
.more-l { list-style: none; margin: 0; padding: 0; background: var(--board); border-radius: var(--r); overflow: hidden; }
.more-l li + li { box-shadow: inset 0 1px 0 var(--rule); }
.more-l a, .more-l .linkish { display: grid; gap: 2px; width: 100%; text-align: left; padding: 14px 16px; color: var(--strong); font-weight: 800; font-size: 16px; text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; }
.more-l span { font-weight: 500; font-size: 13px; color: var(--ink-3); }
.more-l .more-legal { padding: 12px 16px; font-size: 13px; color: var(--ink-3); }
.more-l .more-legal a { display: inline; padding: 0; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.install { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 0 12px 10px; }
.ins-in { background: var(--board); color: var(--ink); border-radius: 10px; padding: 14px; box-shadow: 0 10px 30px rgba(8,14,40,.4); display: grid; gap: 10px; }
.ins-bar { grid-template-columns: 40px minmax(0, 1fr); align-items: center; }
.ins-bar .ins-a { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; }
.ins-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--cobalt, #1b38c9) url("/icon-192.png") center/cover; }
.ins-h { margin: 0; font: italic 900 18px/1.2 var(--display); color: var(--strong); }
.ins-p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.ins-s { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.7; }
.ins-s svg { width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: var(--navy); stroke-width: 2; }
.top { padding-top: env(safe-area-inset-top); }

/* dark cards: inputs and outlined buttons */
input, select, textarea { color-scheme: dark; }
.pk-f input, .pk-f select, .pk-f textarea, .ct-form select, .ct-form input { background: var(--board-2) !important; color: var(--ink) !important; border-color: var(--board-3) !important; }
.btn-line { background: transparent; color: var(--strong); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.btn-line:hover { background: rgba(255,255,255,.06); }
.b-copy[aria-pressed="true"] { background: transparent; color: var(--strong); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.panel :focus-visible, .tk :focus-visible, .bug:focus-visible, .copy-p :focus-visible, .bk :focus-visible { outline-color: var(--yellow); }

/* ---------- pictures: avatars, logos, sport icons ---------- */
.av { flex: none; display: inline-grid; place-items: center; border-radius: 50%; object-fit: contain; }
img.av { background: rgba(255,255,255,.92); padding: 2px; }
.av-i { background: hsl(var(--h) 55% 42%); color: #fff; font-family: var(--display); font-style: italic; font-weight: 800; letter-spacing: -.02em; }
.av-sq { border-radius: 8px; }
.av-e { background: var(--board-3); border-radius: 8px; line-height: 1; }
.si { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- pick ticket, calmer ---------- */
.tk { background: var(--board); border-radius: 12px; box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 6px 18px rgba(4,8,30,.35); }
.tk-h { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; padding: 12px 14px 4px; }
.tk-who { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: italic 800 17px/1.1 var(--display); color: var(--strong); }
.tk-when { font-size: 13px; color: var(--ink-3); }
.tk-pay { margin-left: auto; display: inline-grid; justify-items: end; line-height: 1; }
.tk-pay b { font: italic 900 20px/1 var(--display); color: var(--yellow); }
.tk-pay small { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.legs { padding: 6px 14px 4px; }
.leg { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; }
.leg-pic { position: relative; width: 36px; height: 36px; display: grid; place-items: center; }
.leg-pic .dot { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--board); margin: 0; }
.leg-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--board-3); font: italic 900 16px/1 var(--display); color: var(--strong); }
.leg-t b { font: italic 800 18px/1.2 var(--display); color: var(--strong); }
.leg-t .gm { font-size: 13px; color: var(--ink-3); }
.leg-t .gm a { color: var(--ink-2); }
.tk .l3 { margin: 6px 14px 4px; background: var(--board-2); border-radius: 8px; overflow: hidden; color: var(--ink); grid-template-columns: auto minmax(0, 1fr); }
.tk .l3 .tag { clip-path: none; border-radius: 0; font-size: 12px; padding: 8px 10px; }
.tk .l3 p { font-size: 15px; padding: 8px 12px; }
.tk-f { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 14px 12px; margin-top: 4px; border-top: 1px solid var(--rule); background: transparent; }
.tk-m { font-weight: 700; color: var(--strong); }
.tk-m small { font-weight: 500; color: var(--ink-3); }
.tk-f .proof { font-size: 13px; color: var(--ink-3); flex-basis: 100%; order: 3; }
.tk-act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tk-pf { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink-3); text-decoration: none; }
.tk-pf svg { width: 15px; height: 15px; }
.tk-pf.pf-ok { color: var(--won); }
.b-share { color: var(--ink-3); }

/* ---------- sportsbook rows, with logos ---------- */
.bk { border-radius: 12px; padding: 10px 12px 12px; box-shadow: 0 6px 18px rgba(4,8,30,.3); }
.bk.is-live { box-shadow: inset 3px 0 0 var(--lost), 0 6px 18px rgba(4,8,30,.3); }
.bk-h { flex-wrap: nowrap; align-items: center; gap: 6px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; color: var(--ink-3); }
.bk-h .si { color: var(--yellow); }
.bk-lg { color: var(--strong); overflow: hidden; text-overflow: clip; }
.bk-d { font-size: 12px; color: var(--ink-3); }
.bk-in { font-size: 12px; color: var(--ink-2); }
.bk-in b { color: var(--yellow); font-weight: 800; }
.bk-ag { margin-left: auto; flex: none; background: var(--yellow); color: #0b1230 !important; font: italic 800 11px/1.5 var(--display); padding: 0 7px; border-radius: 999px; }
.bk-team { justify-content: flex-start; gap: 8px; }
.bk-n { flex: 1; min-width: 0; color: var(--strong); font-weight: 700; line-height: 1.2; }
.bk-sc { margin-left: auto; color: var(--yellow); }
.bk-px { background: var(--board-2); color: var(--strong); border-radius: 8px; }
.bk-px small { color: var(--ink-3); }
.bk-px:active, .bk-px:focus-visible { background: var(--yellow); color: #0b1230; }
.bk-px:active small, .bk-px:focus-visible small { color: #0b1230; }
@media (hover: hover) { .bk-px:not([disabled]):hover { background: var(--yellow); color: #0b1230; } .bk-px:not([disabled]):hover small { color: #0b1230; } }
.bk-none { background: transparent; color: var(--ink-3); }
.fchips .si { width: 15px; height: 15px; }

/* ---------- Agents: cards instead of a sideways table ---------- */
.lb-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--on-cobalt-2); }
.lb-sort select { font: inherit; font-size: 14px; padding: 6px 10px; border-radius: 8px; border: 0; background: var(--navy); color: #fff; }
.agl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.agc { background: var(--board); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px 10px; align-items: center; box-shadow: 0 6px 18px rgba(4,8,30,.3); }
.agc-rk { font: italic 900 22px/1 var(--display); color: var(--ink-3); text-align: center; }
.agc-rk.top1 { color: var(--yellow); }
.agc-rk.top2 { color: #dfe4f2; }
.agc-rk.top3 { color: #e0a36b; }
.agc-who { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.agc-id { display: grid; min-width: 0; }
.agc-id b { font: italic 900 20px/1.1 var(--display); color: var(--strong); }
.agc-id span { font-size: 13px; color: var(--ink-3); }
.agc-p { display: grid; justify-items: end; }
.agc-p b { font: italic 900 22px/1 var(--display); }
.agc-p b:not(.up):not(.down) { color: var(--strong); }
.agc-p span { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.agc-row { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.agc-s { display: inline-flex; align-items: baseline; gap: 5px; font-size: 13px; color: var(--ink-3); }
.agc-s b { font: italic 800 16px/1 var(--display); color: var(--strong); }
.agc-f { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.agc-a { grid-column: 2 / -1; display: flex; gap: 8px; }
@media (min-width: 900px) { .agc { grid-template-columns: 32px minmax(220px, 1.3fr) 1.4fr auto auto; } .agc-row, .agc-f { grid-column: auto; } .agc-a { grid-column: auto; } .agc-f { display: none; } }
.up { color: var(--won); } .down { color: var(--lost); }

/* ---------- Tickets ---------- */
.tw-line { margin: 10px 0 0; font-size: 14px; color: var(--on-cobalt-2); }
.tw-line b { color: #fff; font-family: var(--display); font-style: italic; font-size: 16px; }
.tw-line .tw-l { color: var(--yellow); }
.tw-bar { display: grid; gap: 8px; margin: 4px 0 14px; }
.tw-bar .live-dot { margin-right: 2px; }
.tw-bar i { font-style: normal; opacity: .7; }
.js-panel { background: var(--board); border-radius: 12px; }
@media (max-width: 1099px) {
  .tw { display: flex; flex-direction: column; }
  .tw-side { order: -1; margin-bottom: 14px; }
  .js-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 10px 10px; }
  .js-list::-webkit-scrollbar { display: none; }
  .js-list > li { flex: 0 0 240px; background: var(--board-2); border-radius: 10px; }
}

/* ticket header on two rows: who + price, then status + time */
.tk-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; }
.tk-h .tk-who { grid-column: 1; }
.tk-h .tk-pay { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.tk-meta { grid-column: 1; display: flex; align-items: center; gap: 8px; padding-left: 38px; }
/* the reason: a small tag chip above the text, not a tall yellow column */
.tk .l3 { display: block; padding: 10px 12px; }
.tk .l3 .tag { display: inline-block; padding: 3px 8px; border-radius: 4px; margin-bottom: 6px; font-size: 12px; }
.tk .l3 p { padding: 0; }
/* buttons readable on dark cards */
.b-copy { background: var(--yellow); color: #0b1230; }
.b-copy:hover { background: var(--yellow-2); }
.b-copy[aria-pressed="true"] { background: transparent; color: var(--strong); box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.b-fade { background: transparent !important; color: var(--strong) !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.3) !important; }


/* ===================== density pass: smaller, quieter, no outlines ===================== */
/* type scale: 4 sizes on most screens */
.page-h { padding: 20px 0 8px; }
.page-h h1 { font-size: clamp(26px, 6vw, 36px); line-height: 1.05; margin: 0; }
.page-h p { font-size: 15px; line-height: 1.45; margin: 6px 0 0; color: var(--on-cobalt-2); max-width: 52ch; }
.sec { margin: 22px 0 8px; }
.sec h2, .more h2 { font-size: 20px; }
.sec-more { font-size: 14px; }
.hero { padding: 22px 0 8px; gap: 10px; }
.hero h1 { font-size: clamp(28px, 7vw, 46px); }
.hero-s { font-size: 15px; }
.door button { padding: 11px 10px; font-size: 16px; }
.btn.big { font-size: 16px; padding: 12px 18px; }
.door-n { font-size: 14px; }

/* surfaces separate by colour and spacing only */
.tk, .bk, .agc, .js-panel, .st-card, .more-l, .panel { box-shadow: none !important; }
.tk-f { border-top: 0; padding-top: 4px; }
.panel { border-radius: 12px; overflow: hidden; background: var(--board); }
.panel > .ph { background: transparent; padding: 12px 14px 0; }
.panel > .ph h2 { font-size: 16px; color: var(--strong); }
.bk.is-live { box-shadow: none !important; }
.bk.is-live .bk-h::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lost); flex: none; }
.btn-line, .b-copy[aria-pressed="true"], .b-fade { box-shadow: none !important; background: rgba(255,255,255,.08) !important; }
.ln-btn { box-shadow: none; background: var(--board-3); }
.who-cmd, .door-cmd { box-shadow: none; }

/* compact rows: agents */
.arl, .prl { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-radius: 12px; overflow: hidden; }
.ar, .pr { background: var(--board); display: grid; align-items: center; gap: 10px; padding: 9px 12px; min-height: 52px; }
.ar { grid-template-columns: 16px minmax(0, 1fr) auto auto; }
.ar:has(.ar-ch) { grid-template-columns: 16px minmax(0, 1fr) 64px auto auto; }
.ar-rk { font: italic 800 14px/1 var(--display); color: var(--ink-3); text-align: center; }
.ar-who, .pr > a { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.ar-id, .pr-t { display: grid; min-width: 0; }
.ar-id b, .pr-t b { font-size: 15px; font-weight: 700; color: var(--strong); line-height: 1.25; overflow-wrap: anywhere; }
.ar-id small, .pr-t small { font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.ar-v { font: italic 800 17px/1 var(--display); font-variant-numeric: tabular-nums; text-align: right; min-width: 44px; }
.ar-v:not(.up):not(.down) { color: var(--strong); }
.ar .b-copy { padding: 7px 12px; font-size: 13px; }
.ar-ch svg { display: block; }
/* compact rows: picks and bets */
.pr { grid-template-columns: minmax(0, 1fr) auto auto; }
.pr-x { font: italic 800 16px/1 var(--display); color: var(--yellow); font-variant-numeric: tabular-nums; min-width: 48px; text-align: right; }
.pr-m { font-weight: 700; color: var(--strong); text-align: right; font-variant-numeric: tabular-nums; }
.pr-m small { display: block; font-weight: 500; font-size: 11px; color: var(--ink-3); }
.pr-st { font: italic 800 11px/1.5 var(--display); padding: 1px 7px; border-radius: 999px; background: var(--board-3); color: var(--ink-2); }
.pr-st.lv-winning, .pr-st.st-won, .pr-st.lv-won_unsettled { background: var(--won-bg); color: var(--won); }
.pr-st.lv-losing, .pr-st.st-lost, .pr-st.lv-lost_unsettled { background: var(--lost-bg); color: var(--lost); }

/* today's race: rows plus one line */
.race-p { background: transparent; padding: 0; margin-top: 22px; box-shadow: none; }
.race-p::before, .race-p::after { display: none !important; }
.race-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 8px; padding: 0; }
.race-head h2 { font: italic 800 20px/1.1 var(--display); background: none; color: #fff; padding: 0; clip-path: none; margin: 0; }
.race-head .race-more { font-size: 14px; color: #fff; }
.rc-line { margin: 8px 2px 0; font-size: 13px; color: var(--on-cobalt-2); }
.rc-line b { color: #fff; }
.rc-line a { color: #fff; }
.rc-none { margin: 0; padding: 14px; background: var(--board); border-radius: 12px; color: var(--ink-2); font-size: 14px; }

/* prices: every button two lines tall, digits the same width, so columns line up */
.bk-px { grid-template-rows: 13px 18px; align-content: center; min-height: 46px; }
.bk-px small { line-height: 13px; }
.bk-px b, .ln-btn b, .tk-pay b { font-variant-numeric: tabular-nums; }
.bk-px b { line-height: 18px; }
.ln-btn { min-width: 96px; justify-content: space-between; }

/* games list header + leaderboard chart */
.bk-cols { padding: 0 12px 4px; }
.lb-chart { margin: 0 0 12px; background: var(--board); border-radius: 12px; padding: 12px 8px 6px; }
.lb-chart figcaption { font-size: 12px; color: var(--ink-3); padding: 0 6px; }
.mchart { width: 100%; height: auto; display: block; }
.mchart text { font-family: var(--text); }

/* tickets: smaller type */
.tk-who { font-size: 15px; }
.leg-t b { font-size: 16px; }
.tk .l3 p { font-size: 14px; line-height: 1.45; }
.tk-pay b { font-size: 18px; }

/* phones: rows keep the name on one line (the chart above shows the trend) */
@media (max-width: 520px) { .ar:has(.ar-ch) { grid-template-columns: 16px minmax(0, 1fr) auto auto; } .ar-ch { display: none; } }
/* Humans vs AI: one quiet strip */
.vs { background: var(--board); border-radius: 12px; gap: 0; }
.vs-h { background: transparent; color: var(--ink-3); font: 700 12px/1 var(--text); padding: 12px 14px 0; text-transform: none; }
.vs-s { background: transparent; padding: 8px 14px 12px; }
.vs-s b { font-size: 22px; }
.vs-n { background: transparent; padding: 0 14px 12px; font-size: 13px; color: var(--ink-3); }
.vs-n a { color: var(--yellow); }
/* your bets: the balance card without the yellow stripe */
.acct-bug { box-shadow: none !important; padding-top: 16px; }
.grp-h p:empty { display: none; }
.grp-h { margin: 14px 0 6px; }
.grp-h h3 { font-size: 16px; }
.h-foot { font-size: 13px; }


/* ===== round 3 ===== */
/* footer: one line */
.foot { padding: 18px 0 22px; }
.foot-in p { margin: 0; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--on-cobalt-2); }
.foot-nav a { color: var(--on-cobalt-2); text-decoration: none; }
.foot-nav a:hover { color: #fff; }
/* game price chart: readable on dark cards */
.ln { stroke: var(--yellow); }
.lc.up .ln { stroke: var(--won); } .lc.down .ln { stroke: var(--lost); }
.now circle { fill: var(--yellow); } .now text { fill: var(--yellow); }
.hover circle { fill: var(--board); stroke: var(--yellow); }
.gy text, .gx { fill: var(--ink-2); }
.gy line { stroke: rgba(255,255,255,.08); }
.mk path { stroke: var(--board); }
.ch-list li.on { box-shadow: none; background: var(--board-3); }
.ch-ic { background: var(--yellow); }
/* tale of the tape: two columns and a label between */
.tape { display: grid; gap: 2px; border-radius: 10px; overflow: hidden; }
.tp-row { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); gap: 10px; align-items: start; background: var(--board-2); padding: 10px 12px; border: 0; }
.tp-head { background: var(--board-3); font: italic 800 15px/1.2 var(--display); color: var(--strong); align-items: center; }
.tp-l { text-align: center; font-size: 11px; font-weight: 700; color: var(--ink-3); line-height: 1.3; padding-top: 3px; }
.tp-h { text-align: right; }
.tp-h .l5, .tp-h .ld, .tp-h .inj { justify-items: end; }
.l5 { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.l5 li { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.tp-h .l5 li { flex-direction: row-reverse; }
.l5 b { width: 18px; height: 18px; border-radius: 4px; display: inline-grid; place-items: center; font: italic 800 11px/1 var(--display); color: #fff; background: var(--board-3); }
.l5 .f-W b { background: var(--won); } .l5 .f-L b { background: var(--lost); } .l5 .f-D b { background: var(--ink-3); }
.ld, .inj { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12px; color: var(--ink-2); }
.ld b, .inj b { color: var(--strong); font-weight: 700; }
.ist { font-size: 10px; font-weight: 800; padding: 0 5px; border-radius: 3px; background: var(--board-3); margin-right: 4px; }
.ist.out { background: var(--lost-bg); color: var(--lost); }
/* share and small icon buttons readable on dark */
.b-share, .b-share svg { color: var(--ink-2) !important; stroke: currentColor; }
.toast a { color: #0b1230; text-decoration: underline; }
/* achievements as tiles */
.ach-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.ach-grid li { background: var(--board-2); border-radius: 10px; padding: 10px; display: grid; gap: 2px; }
.ach-i { color: var(--yellow); font-size: 18px; line-height: 1; }
.ach-grid b { font-size: 14px; color: var(--strong); }
.ach-grid small { font-size: 12px; color: var(--ink-3); line-height: 1.35; }
/* agents you copy */
.cr { padding: 10px 0; display: grid; gap: 6px; }
.cr + .cr { box-shadow: none; border-top: 0; }
.cr-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.cr-who { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.cr-id { display: grid; min-width: 0; }
.cr-id b { font-size: 15px; color: var(--strong); }
.cr-id small { font-size: 12px; color: var(--ink-3); }
.cr-res { display: grid; justify-items: end; font-weight: 700; }
.cr-res small, .cr-0 { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.cr.paused .cr-id b { color: var(--ink-3); }
.cr-ed summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--yellow); list-style: none; padding-left: 44px; }
.cr-ed summary::-webkit-details-marker { display: none; }
.cr-ed[open] summary { margin-bottom: 8px; }
.cr-f { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; padding-left: 44px; }
.cr-f label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.cp-in { display: flex; align-items: center; gap: 4px; background: var(--board-2); border-radius: 8px; padding: 0 10px; border: 0 !important; }
.cp-in input { width: 100%; background: transparent; border: 0; padding: 8px 0; font-weight: 700; color: var(--strong); }
.cp-in i { font-style: normal; color: var(--ink-3); }
.cr-a { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 8px 0 0 44px; }
.cr-a .linkish { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.cr-stop { color: var(--lost) !important; }
/* the contest, visible */
.ct-card { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--yellow); color: #0b1230; text-decoration: none; }
.ct-card b { display: block; font: italic 900 17px/1.15 var(--display); }
.ct-card small { display: block; font-size: 13px; color: #2a2f45; }
.ct-ic { font-size: 26px; line-height: 1; }
.ct-go { font-size: 26px; font-weight: 800; }


/* contest page: short, padded, scales to any number of agents */
.ct-box { background: var(--board); border-radius: 14px; padding: 16px; margin: 0 0 12px; display: grid; gap: 12px; }
.ct-box h2 { margin: 0; font: italic 800 17px/1.1 var(--display); color: var(--strong); }
.ct-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ct-tile { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border: 0; border-radius: 10px; background: var(--board-2); color: var(--strong); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-align: center; line-height: 1.2; }
.ct-tile[aria-pressed="true"] { background: var(--yellow); color: #0b1230; }
.ct-more { font: inherit; font-size: 15px; padding: 10px 12px; border: 0; border-radius: 10px; background: var(--board-2); color: var(--strong); }
.ct-f { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.ct-f label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.ct-f input { font: inherit; font-size: 16px; padding: 10px 12px; border: 0; border-radius: 10px; background: var(--board-2); color: var(--strong); min-width: 0; }
.ct-f .btn { padding: 11px 20px; }
.ct-meta { margin: 0; font-size: 13px; color: var(--ink-3); }
.ct-meta b { color: var(--strong); }
.ct-st { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ct-st li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; background: var(--board-2); box-shadow: none; }
.ct-st span { font: italic 800 14px/1 var(--display); color: var(--ink-3); }
.ct-st a { color: var(--strong); font-weight: 700; text-decoration: none; }
.ct-st b { font: italic 800 15px/1 var(--display); }
.ct-all { font-size: 13px; font-weight: 700; color: var(--yellow); }
.ct-empty { margin: 0; font-size: 14px; color: var(--ink-3); }
.ct-res { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.ct-res b { color: var(--strong); } .ct-res a { color: var(--yellow); }
.ct-rules { margin: 4px 2px 0; font-size: 12px; color: var(--on-cobalt-2); }


/* ===== round 4: spacing system (8-point), pages, clearer home ===== */
/* rhythm: 8 inside a group, 16 between cards, 32 between sections */
.sec, .race-head { margin: 32px 0 12px; }
.grp-h { margin: 20px 0 8px; }
.grp-h:first-child { margin-top: 4px; }
.page-h { padding: 24px 0 16px; }
.ct-card { margin: 16px 0 0; }
.bk-list { gap: 12px; }
.bk { padding: 12px 16px 14px; }
.ar, .pr { padding: 10px 16px; }
.panel { margin-top: 16px; }
.panel > .ph { padding: 16px 16px 0; }
.panel > .pb { padding: 12px 16px 16px; }
.vs { margin-top: 16px; }
.vs-h { font: italic 800 16px/1.2 var(--display); color: var(--strong); padding: 16px 16px 0; margin: 0; }
.vs-s { padding: 8px 16px 16px; }
.vs-n { padding: 0 16px 16px; }
.lb-bar { margin-bottom: 4px; }
.lb-chart { margin: 16px 0; padding: 16px 8px 8px; }
.cb { margin-top: 32px; }
.cb .sec { margin-top: 0; }
.grp-all { display: block; text-align: center; padding: 14px 0 0; }
.h-foot { margin: 32px 0 8px; }
.tw-bar { display: grid; gap: 8px; margin-bottom: 16px; }
.feed { display: grid; gap: 16px; }
.more { margin-top: 32px; }
@media (max-width: 900px) { main { padding-bottom: 24px; } }

/* home: what it is in three steps */
.hero { padding: 28px 0 8px; gap: 16px; }
.how3 { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: how; }
.how3 li { counter-increment: how; background: var(--board); border-radius: 12px; padding: 14px 12px; display: grid; gap: 4px; align-content: start; }
.how3 li::before { content: counter(how); width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: #0b1230; font: italic 800 13px/24px var(--display); text-align: center; margin-bottom: 4px; }
.how3 b { font: italic 800 15px/1.2 var(--display); color: var(--strong); }
.how3 span { font-size: 13px; line-height: 1.4; color: var(--ink-3); }
@media (max-width: 560px) {
  .how3 { grid-template-columns: 1fr; gap: 2px; border-radius: 12px; overflow: hidden; }
  .how3 li { border-radius: 0; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; padding: 12px 16px; }
  .how3 li::before { grid-row: 1 / span 2; margin: 0; }
}
.door { margin-top: 8px; }
.door-p .hero-a { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 561px) { .door-p .hero-a { grid-template-columns: auto auto; justify-content: start; } }

/* games with only a winner price (tennis, table tennis): the name takes the empty columns */
.bk-ml .bk-team { grid-column: 1 / 4; }

/* pages */
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 16px 0 0; }
.pager .btn { min-height: 44px; }
.pager .btn:disabled { opacity: .35; }
.pager-n { font-size: 14px; color: var(--on-cobalt-2); white-space: nowrap; }
.pager-n b { color: #fff; }

/* people copying: the table fits a phone */
.tbl-wrap { overflow-x: auto; }
@media (max-width: 480px) { .cbt th:nth-child(4), .cbt td:nth-child(4) { display: none; } .cbt th, .cbt td { padding-left: 10px; padding-right: 10px; } }

/* tickets: one money line, icon-only link and proof on phones */
.tk-m .proof { font-weight: 500; color: var(--ink-3); }
@media (max-width: 520px) {
  .tk-act .b-share, .tk-act .tk-pf { font-size: 0; gap: 0; width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0; }
  .tk-act .b-share svg, .tk-act .tk-pf svg { width: 18px; height: 18px; }
  .tk-act { gap: 8px; }
}
/* just settled: stamp on top, text gets the full width */
@media (max-width: 1099px) {
  .js-list > li { flex: 0 0 220px; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; gap: 8px 10px; padding: 12px; align-items: start; }
  .js-list > li .stamp { grid-column: 1; justify-self: start; transform: none; font-size: 12px; padding: 4px 8px; }
  .js-list > li .js-p { grid-column: 2; grid-row: 1; }
  .js-list > li .js-t { grid-column: 1 / -1; }
}
.door-p .hero-a .btn { width: 100%; justify-content: center; }
@media (min-width: 561px) { .door-p .hero-a .btn { width: auto; } }
.cb .hint { margin-top: 12px; }

/* ===== install screen (first app open on a phone) ===== */
.gated, .gated body { overflow: hidden; }
.gate { position: fixed; inset: 0; z-index: 100; background: var(--cobalt, #1a33c4); display: grid; place-items: center; overflow-y: auto;
  padding: calc(24px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom)); animation: gate-in .35s ease-out both; }
@keyframes gate-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .gate { animation: none; } }
.gate::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(-62deg, transparent 0 46px, rgba(255,255,255,.035) 46px 48px); }
.gt-in { position: relative; width: 100%; max-width: 380px; display: grid; gap: 20px; }
.gt-logo { width: 64px; height: 64px; border-radius: 16px; background: #0b1230; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(4,8,40,.35); }
.gt-logo svg { width: 40px; height: 28px; }
.gate h1 { margin: 4px 0 0; font: italic 800 34px/1 var(--display); font-stretch: 115%; color: #fff; letter-spacing: -.02em; text-wrap: balance; }
.gt-p { margin: 0; color: #c9d1ff; font-size: 16px; line-height: 1.5; }
.gt-s { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-radius: 14px; overflow: hidden; counter-reset: g; }
.gt-s li { counter-increment: g; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; background: rgba(11,18,48,.45); padding: 14px 16px; color: #fff; font-size: 15px; line-height: 1.4; }
.gt-s li::before { content: counter(g); width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: #0b1230; font: italic 800 14px/28px var(--display); text-align: center; }
.gt-s b { color: #fff; }
.ins-sh { width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gt-b { width: 100%; min-height: 52px; }
.gt-skip { justify-self: center; color: #c9d1ff; font-size: 15px; padding: 12px; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.ins-in .gt-s { margin: 8px 0 12px; }
/* ticket legs on phones: the live chip goes under the pick, so the pick gets the full width */
@media (max-width: 520px) {
  .leg { grid-template-columns: auto minmax(0, 1fr); }
  .leg .lv { grid-column: 2; justify-self: start; margin-top: 6px; }
  .leg-pic .av { width: 28px !important; height: 28px !important; }
}

/* ===== round 5: icons, chooser, sign-in sheet ===== */
.gl { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.av-g { background: var(--board-3); color: var(--strong); border-radius: 8px; }
.av-g .gl { width: 62%; height: 62%; }
.ct-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(11,18,48,.12); color: #0b1230; font-size: 22px; flex: none; }
.ach-i { color: var(--yellow); font-size: 22px; }

/* who's here: two radio cards */
.whos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.pick-who { display: grid; grid-template-columns: 40px minmax(0, 1fr) 22px; align-items: center; gap: 12px; text-align: left; padding: 14px; border: 0; border-radius: 14px;
  background: var(--board); color: var(--ink); cursor: pointer; font: inherit; transition: background-color .15s ease, transform .15s ease; }
.pick-who:hover { background: var(--board-2); }
.pick-who:active { transform: scale(.99); }
.pw-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--board-3); color: var(--strong); display: grid; place-items: center; font-size: 22px; }
.pw-t { display: grid; gap: 2px; min-width: 0; }
.pw-t b { font: italic 800 16px/1.15 var(--display); color: var(--strong); }
.pw-t small { font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.pw-ck { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); display: grid; place-items: center; font-size: 14px; color: transparent; }
.pick-who[aria-checked="true"] { background: var(--board-2); box-shadow: inset 0 0 0 2px var(--yellow); }
.pick-who[aria-checked="true"] .pw-ic { background: var(--yellow); color: #0b1230; }
.pick-who[aria-checked="true"] .pw-ck { background: var(--yellow); box-shadow: none; color: #0b1230; }
@media (max-width: 560px) { .whos { grid-template-columns: 1fr; } }
.door-p { margin-top: 4px; }
.door-p .door-n { margin: 8px 2px 0; color: var(--on-cobalt-2); font-size: 14px; }

/* sign-in sheet: bottom sheet on phones, centred card on desktop */
.auth-sheet { position: fixed; inset: 0; z-index: 90; background: rgba(5,9,30,.6); display: grid; align-items: end; justify-items: center; animation: gate-in .2s ease-out both; }
.auth-in { width: 100%; max-width: 440px; background: var(--board); color: var(--ink); border-radius: 20px 20px 0 0; padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 12px;
  animation: sheet-up .28s cubic-bezier(.2,.9,.25,1) both; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet, .auth-in { animation: none; } }
@media (min-width: 600px) { .auth-sheet { align-items: center; } .auth-in { border-radius: 20px; padding: 28px; } }
.auth-sheet h2 { margin: 0; font: italic 800 26px/1.05 var(--display); color: var(--strong); }
.auth-sheet p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.auth-sheet .btn.big { width: 100%; justify-content: center; margin-top: 4px; min-height: 52px; }
.auth-n { font-size: 13px !important; color: var(--ink-3) !important; }
.auth-x { justify-self: center; min-height: 44px; color: var(--ink-3); }
.door-p .hero-a { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
.door-p .hero-a .btn { width: 100% !important; justify-content: center; min-height: 48px; padding-left: 10px; padding-right: 10px; }
@media (min-width: 561px) { .door-p .hero-a { grid-template-columns: auto auto; justify-content: start; } .door-p .hero-a .btn { width: auto !important; padding: 0 22px; } }

/* ===== round 6 ===== */
/* chooser: the open choice is a card, not loose text on cobalt */
.who-card { background: var(--board); color: var(--ink); border-radius: 14px; padding: 16px; margin-top: 8px; display: grid; gap: 12px; }
.who-card .door-n { margin: 0; color: var(--ink-2); font-size: 14px; }
.who-card .door-cmd { background: #070c26; }
.who-card .door-s { color: var(--ink-2); font-size: 14px; line-height: 1.55; padding-left: 18px; }
.who-card .door-s li + li { margin-top: 4px; }
.door-p .hero-a .btn { min-height: 48px !important; font-size: 16px !important; align-self: stretch; box-sizing: border-box; }
.door-p .hero-a .btn-line { background: rgba(255,255,255,.1) !important; color: var(--strong); box-shadow: none !important; }

/* your bets, empty: one start card + a short list */
.start { background: var(--board); color: var(--ink); border-radius: 16px; padding: 20px 16px; display: grid; gap: 16px; }
.start-h { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.start-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); color: #0b1230; display: grid; place-items: center; font-size: 22px; }
.start h2 { margin: 0; font: italic 800 20px/1.1 var(--display); color: var(--strong); }
.start p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.start-b { width: 100%; justify-content: center; min-height: 50px; }
.start-list .start-b { margin-top: 12px; }

/* contest picker */
.ct-lbl { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.ct-search { display: block; margin-top: 10px; }
.ct-search input { width: 100%; min-height: 46px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--board-2); color: var(--strong); font: inherit; font-size: 16px; }
.ct-search input::placeholder { color: var(--ink-3); }
.ct-res { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; border-radius: 12px; overflow: hidden; }
.ct-res:empty { display: none; }
.ct-opt { width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 0; background: var(--board-2); color: var(--strong); font: inherit; text-align: left; cursor: pointer; min-height: 52px; }
.ct-opt:hover { background: var(--board-3); }
.ct-opt span { display: grid; }
.ct-opt b { font-size: 15px; }
.ct-opt small { font-size: 12px; color: var(--ink-3); }
.ct-opt i { font: italic 800 15px/1 var(--display); font-style: italic; }
.ct-none { padding: 12px; background: var(--board-2); color: var(--ink-3); font-size: 14px; }
.ct-chosen { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--board-2); box-shadow: inset 0 0 0 2px var(--yellow); }
.ct-chosen span { display: grid; }
.ct-chosen small { font-size: 12px; color: var(--ink-3); }
.ct-chosen b { font: italic 800 18px/1.1 var(--display); color: var(--strong); }
.ct-chosen .linkish { color: var(--yellow); min-height: 44px; }
/* team logos: dark-background versions sit straight on the card; the fallback keeps a light disc */
img.av.av-logo { background: transparent; padding: 0; border-radius: 0; }
img.av.av-logo.av-lt { background: rgba(255,255,255,.92); padding: 2px; border-radius: 50%; }

/* games filters: sport tabs like a sportsbook, then Live only + leagues */
.gm-f { display: grid; gap: 12px; margin-bottom: 16px; }
.sp-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut, 16px)); padding: 2px var(--gut, 16px);
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent); mask: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent); }
.sp-strip::-webkit-scrollbar { display: none; }
.sp-tab { flex: 0 0 auto; min-width: 78px; display: grid; justify-items: center; gap: 4px; padding: 10px 10px 8px; border: 0; border-radius: 14px; background: var(--board); color: var(--ink-2); font: inherit; cursor: pointer; transition: background-color .15s ease; }
.sp-tab:hover { background: var(--board-2); }
.sp-tab .si { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sp-tab b { font-size: 13px; font-weight: 700; line-height: 1.1; white-space: nowrap; color: var(--strong); }
.sp-tab i { font-style: normal; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sp-tab[aria-pressed="true"] { background: var(--yellow); color: #0b1230; }
.sp-tab[aria-pressed="true"] b, .sp-tab[aria-pressed="true"] i { color: #0b1230; }
.gm-row2 { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gm-row2[hidden] { display: none; }
.live-tg { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--board); color: var(--strong); font: 700 13px/1 var(--text); cursor: pointer; }
.live-tg i { font-style: normal; color: var(--ink-3); font-weight: 600; }
.live-tg[aria-pressed="true"] { background: #ff6058; color: #fff; }
.live-tg[aria-pressed="true"] i { color: #fff; }
.live-tg[aria-pressed="true"] .live-dot { background: #fff; }
.lg-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.lg-chips::-webkit-scrollbar { display: none; }
.lg-chips button { flex: none; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--on-cobalt-2); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18); font: 600 13px/1 var(--text); cursor: pointer; white-space: nowrap; }
.lg-chips button[aria-pressed="true"] { background: #fff; color: #0b1230; box-shadow: none; }
.sp-strip { --gut: 20px; } @media (max-width: 720px) { .sp-strip { --gut: 16px; } }
.pk-err { margin: 4px 0 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,96,88,.14); color: #ff8a83; font-weight: 600; font-size: 14px; line-height: 1.4; }
/* sealed picks: the games they're on, and the buyer mark on an unlocked pick */
.tk-sl-g { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 2px; font-size: 14px; font-weight: 600; }
.tk-sl-g a { color: var(--strong); }
.tk-mark { margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: rgba(255,210,31,.12); color: var(--yellow); font-size: 13px; font-weight: 600; }
/* your wallet */
.wal { display: grid; gap: 10px; }
.wal-a { display: flex; align-items: center; gap: 10px; margin: 0; }
.wal-a code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; color: var(--strong); background: #070c26; padding: 8px 10px; border-radius: 8px; }
.wal-b { margin: 0; font-size: 15px; color: var(--ink-2); }
.wal-b b { color: var(--strong); }
.wal-b a { margin-left: 6px; font-size: 13px; color: var(--yellow); }
.wal-h summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.wal-h p { margin: 8px 0 0; font-size: 14px; color: var(--ink-3); line-height: 1.45; }
.wal-h a { color: var(--yellow); }
.wal .linkish { justify-self: start; color: var(--ink-3); font-size: 13px; }

/* Today, "I'm here to bet": one clear main button, a quiet second one under it, both centred and the same height */
.door-p .hero-a { display: grid !important; grid-template-columns: 1fr !important; gap: 10px; }
.door-p .hero-a .btn { width: 100% !important; min-height: 52px !important; padding: 0 20px !important; justify-content: center !important;
  text-align: center !important; white-space: nowrap; font-size: 17px !important; border-radius: 12px; }
.door-p .hero-a .btn-line { background: transparent !important; color: var(--strong) !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.22) !important; }
.door-p .hero-a .btn-line:hover { box-shadow: inset 0 0 0 2px rgba(255,255,255,.45) !important; }
@media (min-width: 561px) { .door-p .hero-a { grid-template-columns: auto auto !important; justify-content: start; } .door-p .hero-a .btn { width: auto !important; min-width: 200px; } }
.door-p .door-n { text-align: center; }
@media (min-width: 561px) { .door-p .door-n { text-align: left; } }
.who-card .hero-a { width: 100% !important; max-width: none !important; justify-self: stretch; }
@media (min-width: 561px) { .who-card .hero-a { width: auto !important; justify-self: start; } }
.who-card .door-n { text-align: left !important; }


/* ===== toasts: a dark card with a meaning icon, one action, a close button ===== */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 120;
  width: min(460px, calc(100% - 24px)); max-width: none; transform: translate(-50%, 16px); opacity: 0; visibility: hidden; pointer-events: none;
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
  padding: 12px 8px 12px 14px; border-radius: 16px; background: #0d1435; color: #eef1fb;
  box-shadow: 0 14px 34px -8px rgba(3, 6, 25, .7), 0 0 0 1px rgba(255, 255, 255, .07);
  font: 500 15px/1.4 var(--text); transition: opacity .2s ease, transform .25s cubic-bezier(.2, .9, .25, 1), visibility 0s .25s; }
.toast.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; transition: opacity .2s ease, transform .25s cubic-bezier(.2, .9, .25, 1); }
@media (max-width: 900px) { .toast { bottom: calc(84px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .toast, .toast.on { transition: none; } }
.t-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.t-ic svg, .t-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.t-ok .t-ic { background: rgba(51, 209, 127, .16); color: #4fe39a; }
.t-bad .t-ic { background: rgba(255, 96, 88, .16); color: #ff8a83; }
.t-info .t-ic { background: rgba(255, 210, 31, .14); color: var(--yellow); }
.t-msg { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.toast a.t-act { flex: none; align-self: center; padding: 8px 12px; border-radius: 10px; background: var(--yellow); color: #0b1230;
  font: 700 13px/1 var(--text); text-decoration: none; white-space: nowrap; }
.toast a.t-act:hover { background: var(--yellow-2, #ffe066); }
.t-x { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #8f9bd0; cursor: pointer; }
.t-x:hover { background: rgba(255, 255, 255, .07); color: #fff; }
@media (max-width: 420px) { .toast { grid-template-columns: 28px minmax(0, 1fr) auto; } .toast a.t-act { grid-column: 2 / 3; justify-self: start; } .t-x { grid-column: 3; grid-row: 1; } }

/* sealed slips: a plain warning when a lot has moved; unlocked slips: then and now */
.tk-sl-w { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: rgba(255,96,88,.12); color: #ffb3ad; font-size: 13px; line-height: 1.4; }
.tk-tn { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--board-2); font-size: 13px; color: var(--ink-2); }
.tk-tn.moved { background: rgba(255,210,31,.1); }
.tk-tn-h { margin: 0 0 4px; font-weight: 700; color: var(--strong); }
.tk-tn.moved .tk-tn-h { color: var(--yellow); }
.tk-tn ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.tk-tn li.big { color: var(--strong); }

.tk-sl-closed { margin: 0; font-size: 13px; color: var(--ink-3); }
.tk-sl-until { font-size: 12px; color: var(--ink-3); margin-left: 10px; }

/* username: header label and the choose/change dialog */
.who-name { color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: none; margin-right: 8px; max-width: 14ch; overflow-wrap: anywhere; }
.who-name:hover { color: var(--strong); text-decoration: underline; }
@media (max-width: 520px) { .who-name { display: none; } }
.un-f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.un-box { display: flex; align-items: center; gap: 6px; border: 2px solid var(--line, rgba(255,255,255,.18)); border-radius: 12px; padding: 0 12px; background: rgba(255,255,255,.04); }
.un-box:focus-within { border-color: var(--y, #f7d046); }
.un-box b { color: var(--ink-3); font-weight: 700; }
.un-box input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: none; color: var(--strong); font: 600 17px/1 inherit; outline: none; }
.un-hint { font-size: 13px !important; color: var(--ink-3) !important; }
.un-hint[data-tone="ok"] { color: #5fd38d !important; }
.un-hint[data-tone="bad"] { color: #ff8a7a !important; }

/* real balance in the header, and the wallet panel's USDC line */
.fund-b { margin-right: 8px; }
.wal-usdc b { font-size: 22px; }
.wal-usdc span { color: var(--ink-3); }
.wal-steps { margin: 8px 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); line-height: 1.45; }
.wal-hype { color: var(--ink-3); font-size: 14px; }

/* home: why Sharps (comparison), start in three steps, $SHARPS */
.why { margin-top: 8px; }
.why-t { background: var(--board); color: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(4,8,30,.3); }
.why-r { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; padding: 14px 18px; border-top: 1px solid var(--rule); align-items: start; }
.why-r:first-child { border-top: 0; }
.why-hd { background: var(--board-2); font: italic 800 13px/1.2 var(--display); color: var(--ink-3); padding-top: 12px; padding-bottom: 12px; }
.why-hd span:nth-child(2) { color: var(--yellow); }
.why-r b { font: italic 800 17px/1.2 var(--display); color: var(--strong); }
.why-us { color: var(--ink); font-size: 15px; line-height: 1.45; }
.why-them { color: var(--ink-3); font-size: 14px; line-height: 1.45; }
@media (max-width: 720px) {
  .why-hd { display: none; }
  .why-r { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .why-them::before { content: "Elsewhere: "; font-weight: 700; }
}
.st3 { display: grid; gap: 14px; justify-items: start; }
.st3-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.st3-l li { background: var(--board); color: var(--ink); border-radius: 14px; padding: 16px; display: grid; gap: 6px; align-content: start; box-shadow: 0 6px 18px rgba(4,8,30,.3); }
.st3-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: #0b1230; font: italic 900 16px/1 var(--display); }
.st3-l b { font: italic 800 18px/1.15 var(--display); color: var(--strong); }
.st3-l p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
@media (max-width: 720px) { .st3-l { grid-template-columns: minmax(0, 1fr); } }
.tok { margin-top: 28px; border-radius: 18px; background: linear-gradient(135deg, #ffd21f 0%, #ffbe0b 100%); color: #0b1230; padding: 26px 22px; }
.tok-in { display: grid; gap: 10px; max-width: 760px; }
.tok-k { margin: 0; font: italic 800 13px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: rgba(11,18,48,.7); }
.tok h2 { margin: 0; font: italic 900 clamp(40px, 7vw, 72px)/0.95 var(--display); letter-spacing: -.02em; color: #0b1230; }
.tok-s { margin: 0; font-size: 17px; line-height: 1.45; max-width: 48ch; }
.tok-l { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tok-l li { background: rgba(11,18,48,.08); border-radius: 12px; padding: 14px; display: grid; gap: 4px; }
.tok-l b { font: italic 800 17px/1.15 var(--display); }
.tok-l span { font-size: 14px; line-height: 1.4; color: rgba(11,18,48,.8); }
.tok-n { margin: 4px 0 0; font-size: 13px; color: rgba(11,18,48,.7); }
@media (max-width: 720px) { .tok-l { grid-template-columns: minmax(0, 1fr); } }

/* motion pass: one authored entrance, tactile presses, a sheet that slides, a stamp for a placed bet */
.motion .hero h1 { animation: hero-rise .7s cubic-bezier(.16, 1, .3, 1) both; }
.motion .hero h1 em { animation: hero-rise .7s cubic-bezier(.16, 1, .3, 1) .12s both; }
.motion .hero-s { animation: hero-rise .7s cubic-bezier(.16, 1, .3, 1) .22s both; }
.motion .hero .whos, .motion .hero .who-card { animation: hero-rise .7s cubic-bezier(.16, 1, .3, 1) .32s both; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } }
.motion .bk-px, .motion .b-copy, .motion .btn { transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), background-color .15s, color .15s; }
.motion .bk-px:not([disabled]):active, .motion .b-copy:active, .motion .btn:not([disabled]):active { transform: scale(.95); transition-duration: .06s; }
.motion dialog.pk[open] { animation: pk-up .42s cubic-bezier(.16, 1, .3, 1) both; }
.motion dialog.pk[open]::backdrop { animation: pk-fade .3s ease-out both; }
@keyframes pk-up { from { opacity: 0; transform: translateY(36px) scale(.98); } }
@keyframes pk-fade { from { opacity: 0; } }
.pk-in { position: relative; }
.pk-stamp { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; background: rgba(13, 22, 64, .86); border-radius: inherit; }
.pk-stamp b { font: italic 900 34px/1 var(--display); color: #0b1230; background: var(--yellow); padding: 10px 18px; border-radius: 10px; transform: rotate(-6deg); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.pk-stamp span { color: #fff; font-weight: 700; }
.motion .pk-stamp { animation: pk-fade .2s ease-out both; }
.motion .pk-stamp b { animation: stamp-in .55s cubic-bezier(.2, 1.4, .4, 1) both; }
@media (prefers-reduced-motion: reduce) { .pk-stamp b { animation: none; } }

/* the shark coin in the header */
.brand .mark { width: 34px; height: 34px; flex: none; }
@media (max-width: 520px) { .brand .mark { width: 30px; height: 30px; } }
