/* Halftime Props: an original "video-game menu" look. Dark arena, bold condensed type,
   angled panels, neon accents, team-colour glows. */

:root {
  --bg: #04060b;
  --panel: #0c121e;
  --panel-2: #121a2b;
  --panel-3: #18223a;
  --line: rgba(150, 168, 210, 0.13);
  --line-strong: rgba(150, 168, 210, 0.26);
  --text: #eef3ff;
  --muted: #97a3bf;
  --dim: #5f6a88;
  --accent: #00e0ff;
  --accent-2: #8a5cff;
  --gold: #ffc93c;
  --over: #2af0a5;
  --under: #ff5c7c;
  --live: #ff3b52;
  --good: #2af0a5;
  --even: #ffc93c;
  --bad: #ff5c7c;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cut: 14px;
  --topbar: 64px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.calm .card, .calm .game, .calm .parlay { animation: none; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 14px/1.4 var(--body);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ------------------------------------------------------------------ arena background */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 600px at 12% -10%, rgba(0, 224, 255, 0.16), transparent 60%),
    radial-gradient(900px 700px at 105% 110%, rgba(138, 92, 255, 0.18), transparent 60%),
    radial-gradient(700px 400px at 60% 40%, rgba(255, 201, 60, 0.04), transparent 70%),
    linear-gradient(180deg, #060a14 0%, #03050a 100%);
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.018) 0 2px, transparent 2px 22px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

/* ------------------------------------------------------------------ top bar */
.topbar {
  position: sticky; top: 0; z-index: 40; height: var(--topbar);
  display: flex; align-items: center; gap: 20px; padding: 0 22px;
  background: linear-gradient(180deg, rgba(4,6,11,0.97), rgba(4,6,11,0.85));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: baseline; gap: 2px; font-family: var(--display); font-style: italic;
  font-weight: 800; font-size: 28px; letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; }
.brand .slash { color: var(--accent); margin: 0 4px; text-shadow: 0 0 18px rgba(0,224,255,.7); }
.brand .sub { color: var(--accent); }
.modes { display: flex; gap: 8px; align-items: center; }
.mode {
  font-family: var(--display); font-style: italic; font-weight: 700; font-size: 17px; letter-spacing: 1px;
  padding: 7px 18px; transform: skewX(-12deg); background: var(--panel-2); color: var(--muted);
  border: 1px solid var(--line); transition: all .15s;
}
.mode > span { display: inline-flex; align-items: center; gap: 8px; transform: skewX(12deg); }
.mode:hover { color: var(--text); border-color: var(--line-strong); }
.mode.active { background: var(--accent); color: #001018; border-color: var(--accent);
  box-shadow: 0 0 24px rgba(0,224,255,.35); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live);
  animation: pulse 1.4s infinite; }
.mode.active .live-dot { background: #001018; box-shadow: none; }
.night-select {
  background: var(--panel-2); border: 1px solid var(--line-strong); padding: 7px 10px; border-radius: 2px;
  font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .5px; text-transform: uppercase;
}
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.data-status { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 1px; color: var(--muted);
  text-transform: uppercase; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.data-status.stale { color: var(--gold); }
.ghost {
  font-family: var(--display); font-weight: 700; font-style: italic; letter-spacing: 1px; font-size: 15px;
  padding: 6px 14px; border: 1px solid var(--line-strong); color: var(--text); background: rgba(255,255,255,.02);
  transform: skewX(-12deg); transition: all .15s; white-space: nowrap;
}
.ghost > span { display: inline-block; transform: skewX(12deg); }
.ghost:hover { border-color: var(--accent); color: var(--accent); }
.ghost.gold { border-color: var(--gold); color: var(--gold); }

/* ------------------------------------------------------------------ ticker */
.ticker { display: flex; gap: 10px; padding: 14px 22px 4px; overflow-x: auto; scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 calc(100% - 60px), transparent); }
.ticker::-webkit-scrollbar { display: none; }
.tile {
  flex: 0 0 auto; min-width: 168px; padding: 8px 14px 8px 16px; text-align: left;
  background: linear-gradient(100deg, color-mix(in srgb, var(--away) 26%, transparent), transparent 40%),
              linear-gradient(280deg, color-mix(in srgb, var(--home) 26%, transparent), transparent 40%), var(--panel);
  border: 1px solid var(--line); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: border-color .15s, transform .15s;
}
.tile:hover { transform: translateY(-1px); border-color: var(--line-strong); }
.tile.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tile.all { min-width: 96px; display: grid; place-items: center; font-family: var(--display); font-weight: 800;
  font-style: italic; letter-spacing: 1px; font-size: 18px; background: var(--panel); }
.tile-row { display: flex; justify-content: space-between; gap: 12px; font-family: var(--display); font-weight: 700;
  font-size: 18px; letter-spacing: .5px; line-height: 1.15; }
.tile-row .s { font-variant-numeric: tabular-nums; }
.tile-row.lead { color: var(--text); }
.tile-row.trail { color: var(--muted); }
.tile-status { margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 6px; }
.tile-status.halftime { color: var(--gold); }
.tile-status.live { color: var(--live); }

/* ------------------------------------------------------------------ banner */
.banner { margin: 10px 22px 0; padding: 10px 16px; border-left: 3px solid var(--gold); background: rgba(255,201,60,.08);
  color: var(--text); font-size: 13px; }
.banner.error { border-color: var(--bad); background: rgba(255,92,124,.08); }

/* ------------------------------------------------------------------ layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; padding: 12px 22px 40px; align-items: start; }
.stage { min-width: 0; }

.tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tab { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 24px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--dim); padding: 6px 2px 10px; position: relative; transition: color .15s; }
.tab:hover { color: var(--muted); }
.tab.active { color: var(--text); }
.tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent);
  box-shadow: 0 0 14px var(--accent); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.search { flex: 1 1 220px; display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line);
  padding: 0 12px; height: 38px; }
.search input { flex: 1; background: none; border: 0; outline: none; height: 100%; }
.search svg { opacity: .55; flex: 0 0 auto; }
.seg { display: inline-flex; border: 1px solid var(--line); background: var(--panel); }
.seg button { padding: 8px 12px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 1px; color: var(--muted);
  text-transform: uppercase; border-right: 1px solid var(--line); white-space: nowrap; }
.seg button:last-child { border-right: 0; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--accent); color: #001018; }
.seg button small { display: block; font-size: 12px; opacity: .8; letter-spacing: .5px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--line);
  background: var(--panel); font-family: var(--display); font-weight: 700; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.toggle i { width: 28px; height: 16px; border-radius: 8px; background: var(--panel-3); position: relative; transition: background .15s; }
.toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--muted);
  transition: transform .15s, background .15s; }
.toggle.on { color: var(--text); }
.toggle.on i { background: rgba(0,224,255,.35); }
.toggle.on i::after { transform: translateX(12px); background: var(--accent); }

/* ------------------------------------------------------------------ game section */
.game { margin-bottom: 26px; animation: rise .35s ease both; }
.game-head {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 12px 18px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--away) 40%, transparent) 0%, transparent 38%),
              linear-gradient(280deg, color-mix(in srgb, var(--home) 40%, transparent) 0%, transparent 38%), var(--panel);
  border: 1px solid var(--line); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.gh-team { display: flex; align-items: baseline; gap: 14px; font-family: var(--display); font-weight: 800; font-style: italic; }
.gh-team.home { justify-content: flex-end; }
.gh-team .tri { font-size: 34px; letter-spacing: 1px; line-height: 1; }
.gh-team .score { font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.gh-team .rec { font-size: 15px; color: var(--muted); font-style: normal; font-weight: 600; }
.gh-team.trail .score { color: var(--muted); }
.gh-mid { text-align: center; display: grid; gap: 4px; justify-items: center; }
.phase { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 16px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 12px; transform: skewX(-12deg); background: var(--panel-3); color: var(--muted); white-space: nowrap; }
.phase > span { display: inline-flex; gap: 6px; align-items: center; transform: skewX(12deg); }
.phase.halftime { background: var(--gold); color: #1a1200; box-shadow: 0 0 22px rgba(255,201,60,.45); animation: glow 1.6s ease-in-out infinite; }
.phase.second_half, .phase.first_half { background: rgba(255,59,82,.16); color: #ff8a9a; }
.phase.final { background: var(--panel-3); color: var(--text); }
.gh-mid small { color: var(--muted); font-size: 12px; letter-spacing: .5px; }
.game-note { margin: 8px 0 0; font-size: 12px; color: var(--muted); }

/* waiting for halftime */
.lobby { margin-top: 10px; padding: 18px; border: 1px dashed var(--line-strong); background: rgba(12,18,30,.6);
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.lobby .big { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 26px; letter-spacing: .5px; text-transform: uppercase; }
.lobby .big em { color: var(--gold); font-style: italic; }
.lobby p { margin: 2px 0 0; color: var(--muted); }
.progress { flex: 1 1 200px; height: 8px; background: var(--panel-3); position: relative; overflow: hidden; }
.progress i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }

/* ------------------------------------------------------------------ player cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; margin-top: 12px; }
.card {
  --team: var(--accent);
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 0 12px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--team) 30%, transparent) 0%, transparent 42%), var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: transform .15s ease, border-color .15s, box-shadow .15s;
  animation: rise .35s ease both;
}
.card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--team) 60%, transparent); }
.card.in-slip { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.card-art { position: relative; height: 116px; overflow: hidden; border-bottom: 1px solid var(--line); }
.card-art::before { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, color-mix(in srgb, var(--team) 14%, transparent) 0 10px, transparent 10px 20px);
  mask-image: linear-gradient(90deg, transparent 20%, #000 100%); }
.shot { position: absolute; right: -6px; bottom: 0; height: 112px; width: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)); }
.shot.missing { display: none; }
.ovr { position: absolute; left: 12px; top: 12px; width: 62px; padding: 4px 0 5px; text-align: center; transform: skewX(-10deg);
  background: var(--panel-3); border: 1px solid var(--line-strong); }
.ovr b { display: block; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 34px; line-height: 1; transform: skewX(10deg); }
.ovr span { display: block; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; transform: skewX(10deg); color: var(--muted); }
.tier-gold .ovr { background: linear-gradient(160deg, #ffe08a, #f2a900); border-color: #ffe08a; color: #1d1300; box-shadow: 0 0 18px rgba(255,201,60,.4); }
.tier-gold .ovr span { color: #4a3500; }
.tier-cyan .ovr { background: linear-gradient(160deg, #7af0ff, #00a8d6); border-color: #7af0ff; color: #001620; }
.tier-cyan .ovr span { color: #00394a; }
.tag { position: absolute; left: 12px; bottom: 10px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 20px; letter-spacing: 1px; }
.tag small { margin-left: 6px; font-size: 13px; color: var(--muted); font-style: normal; font-weight: 600; letter-spacing: .5px; }
.starter { position: absolute; right: 8px; top: 8px; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 1.5px;
  padding: 2px 6px; background: rgba(0,0,0,.55); border: 1px solid var(--line-strong); }
.name { padding: 0 12px; font-family: var(--display); text-transform: uppercase; line-height: 1; }
.name span { display: block; font-weight: 600; font-size: 15px; letter-spacing: 1px; color: var(--muted); }
.name b { display: block; font-weight: 800; font-style: italic; font-size: 26px; letter-spacing: .5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht { padding: 0 12px; color: var(--muted); font-size: 12px; }
.ht b { color: var(--text); font-weight: 600; }
.ht b.warn { color: var(--gold); }
.proj { display: grid; grid-template-columns: 1.3fr 1fr 1fr; margin: 0 12px; border: 1px solid var(--line); background: rgba(0,0,0,.25); }
.proj > div { padding: 6px 8px; border-right: 1px solid var(--line); }
.proj > div:last-child { border-right: 0; }
.proj label { display: block; font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: 1.2px; color: var(--dim); }
.proj strong { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.proj > div:first-child strong { color: var(--gold); font-size: 28px; }
.line-ctl { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; margin: 0 12px; gap: 6px; }
.step { height: 38px; background: var(--panel-3); border: 1px solid var(--line-strong); font-size: 20px; font-weight: 700; line-height: 1;
  transition: background .12s, border-color .12s; }
.step:hover { border-color: var(--accent); color: var(--accent); }
.step:active { transform: scale(.95); }
.line-val { text-align: center; line-height: 1; }
.line-val label { display: block; font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: 1.5px; color: var(--dim); }
.line-val b { font-family: var(--display); font-weight: 800; font-size: 26px; font-variant-numeric: tabular-nums; }
.line-val small { display: block; font-size: 10px; color: var(--dim); letter-spacing: .5px; margin-top: 2px; }
.line-val small.custom { color: var(--accent); }
.meter { position: relative; height: 6px; margin: 0 12px; background: color-mix(in srgb, var(--under) 55%, var(--panel-3)); overflow: hidden; }
.meter i { position: absolute; inset: 0 auto 0 0; background: var(--over); transition: width .25s ease; }
.meter .mid { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: var(--bg); }
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 12px; }
.pick { padding: 8px 6px 7px; border: 1px solid var(--line-strong); background: var(--panel-2); text-align: center; line-height: 1.1;
  font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 1.2px; color: var(--muted); transition: all .12s; }
.pick b { display: block; font-size: 24px; font-weight: 800; color: var(--text); letter-spacing: .5px; }
.pick small { display: block; font-family: var(--body); font-size: 10px; letter-spacing: 0; color: var(--dim); font-weight: 500; }
.pick.over.fav { border-color: color-mix(in srgb, var(--over) 60%, transparent); }
.pick.under.fav { border-color: color-mix(in srgb, var(--under) 60%, transparent); }
.pick.over.fav b { color: var(--over); }
.pick.under.fav b { color: var(--under); }
.pick:hover { transform: translateY(-1px); border-color: var(--text); }
.pick.on.over { background: var(--over); border-color: var(--over); color: #00170e; box-shadow: 0 0 20px rgba(42,240,165,.35); }
.pick.on.under { background: var(--under); border-color: var(--under); color: #23000a; box-shadow: 0 0 20px rgba(255,92,124,.35); }
.pick.on b, .pick.on small { color: inherit; }
.result { margin: 0 12px; padding: 6px 10px; font-family: var(--display); font-weight: 700; letter-spacing: 1px; font-size: 14px;
  text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; background: var(--panel-2); border-left: 3px solid var(--dim); }
.result b { font-size: 18px; }
.result.won { border-color: var(--good); color: var(--good); }
.result.lost { border-color: var(--bad); color: var(--bad); }
.result.live { border-color: var(--live); color: #ffb0bb; }

/* ------------------------------------------------------------------ builder */
.b-controls { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-bottom: 10px; }
.b-group > label { display: block; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; color: var(--dim); margin-bottom: 6px; }
.b-hint { color: var(--muted); font-size: 13px; margin: 6px 0 16px; max-width: 760px; }
.b-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.parlay { position: relative; background: var(--panel); border: 1px solid var(--line); padding: 14px 16px 16px; animation: rise .35s ease both;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.parlay header { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.p-rank { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 18px; color: var(--dim); }
.p-pay { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 40px; line-height: 1; color: var(--gold);
  text-shadow: 0 0 22px rgba(255,201,60,.35); }
.p-chance { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 1px; }
.vchip { margin-left: auto; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: 1px; padding: 3px 9px; transform: skewX(-12deg); }
.vchip.good { background: rgba(42,240,165,.15); color: var(--good); }
.vchip.even { background: rgba(255,201,60,.15); color: var(--even); }
.vchip.bad { background: rgba(255,92,124,.15); color: var(--bad); }
.p-legs { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.p-legs li, .leg-mini { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 5px 8px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--team) 22%, transparent), transparent 60%), var(--panel-2); }
.p-legs img, .leg-mini img { width: 40px; height: 30px; object-fit: cover; object-position: top; }
.p-legs .nm, .leg-mini .nm { font-weight: 600; font-size: 13px; line-height: 1.2; }
.p-legs .nm small, .leg-mini .nm small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; }
.p-legs .pk { font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: .5px; text-align: right; line-height: 1.1; }
.p-legs .pk small { display: block; font-family: var(--body); font-weight: 500; font-size: 11px; color: var(--muted); }
.pk.over { color: var(--over); } .pk.under { color: var(--under); }
.p-ex { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.p-ex b { color: var(--text); }
.cta { width: 100%; padding: 11px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 18px; letter-spacing: 1.5px;
  background: linear-gradient(90deg, var(--accent), #5fb4ff); color: #001018; transform: skewX(-10deg); transition: filter .15s, transform .1s; }
.cta > span { display: inline-block; transform: skewX(10deg); }
.cta:hover { filter: brightness(1.12); }
.cta:active { transform: skewX(-10deg) scale(.98); }
.stamp { margin: -2px 0 10px; padding: 5px 10px; text-align: center; font-family: var(--display); font-weight: 800; font-style: italic;
  font-size: 18px; letter-spacing: 2px; border: 2px solid; }
.stamp.won { color: var(--good); border-color: var(--good); background: rgba(42,240,165,.08); }
.stamp.lost { color: var(--bad); border-color: var(--bad); background: rgba(255,92,124,.08); }

/* ------------------------------------------------------------------ bet slip */
.slip { position: sticky; top: calc(var(--topbar) + 12px); max-height: calc(100vh - var(--topbar) - 24px); display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(18,26,43,.98), rgba(12,18,30,.98)); border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.slip-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.slip-head h2 { margin: 0; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 26px; letter-spacing: 1px; }
.count { min-width: 26px; height: 26px; padding: 0 6px; display: grid; place-items: center; background: var(--accent); color: #001018;
  font-family: var(--display); font-weight: 800; font-size: 16px; transform: skewX(-12deg); }
.slip-head .ghost { margin-left: auto; font-size: 13px; padding: 4px 10px; }
.sheet-close { display: none; font-size: 26px; line-height: 1; padding: 0 4px; color: var(--muted); }
.slip-scroll { overflow-y: auto; overflow-x: hidden; padding: 12px 16px 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.slip-src { font-size: 12px; color: var(--muted); }
.slip-empty { padding: 26px 8px; text-align: center; color: var(--muted); }
.slip-empty b.t { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 22px; color: var(--text); letter-spacing: 1px; margin-bottom: 6px; }
.legs { display: grid; gap: 8px; }
.leg { --team: var(--accent); display: grid; grid-template-columns: 46px minmax(0, 1fr) 22px; gap: 10px; padding: 9px 9px 9px 10px; position: relative;
  background: linear-gradient(90deg, color-mix(in srgb, var(--team) 22%, transparent), transparent 55%), var(--panel-2);
  border-left: 3px solid var(--team); animation: rise .25s ease both; }
.leg > img { width: 46px; height: 34px; object-fit: cover; object-position: top; }
.leg-name { font-weight: 700; font-size: 14px; line-height: 1.2; }
.leg-name small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.leg-ctl { display: flex; align-items: center; gap: 5px; margin-top: 6px; flex-wrap: wrap; }
.side-btn { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: 1px; padding: 3px 8px; min-width: 62px; }
.side-btn.over { background: var(--over); color: #00170e; }
.side-btn.under { background: var(--under); color: #23000a; }
.step.sm { height: 26px; width: 26px; font-size: 16px; }
.lval { font-family: var(--display); font-weight: 800; font-size: 19px; min-width: 38px; text-align: center; font-variant-numeric: tabular-nums; }
.odds { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-family: var(--display); font-weight: 700; font-size: 11px;
  letter-spacing: 1px; color: var(--dim); }
.odds input { width: 62px; height: 26px; padding: 0 6px; background: var(--bg); border: 1px solid var(--line-strong); text-align: center;
  font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--text); }
.odds input:focus { border-color: var(--accent); outline: none; }
.odds input.bad { border-color: var(--bad); }
.leg-stats { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; min-height: 20px; }
.chip { font-size: 11px; font-weight: 600; padding: 2px 6px; background: rgba(255,255,255,.05); color: var(--muted); white-space: nowrap; }
.chip b { color: var(--text); }
.chip.value { background: rgba(42,240,165,.12); color: var(--good); }
.chip.fair { background: rgba(255,201,60,.12); color: var(--even); }
.chip.weak { background: rgba(255,92,124,.12); color: var(--bad); }
.chip.won, .chip.hit { background: var(--good); color: #00170e; }
.chip.lost, .chip.busted { background: var(--bad); color: #23000a; }
.x { color: var(--dim); font-size: 20px; line-height: 1; align-self: start; }
.x:hover { color: var(--bad); }

.slip-inputs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.field label { display: block; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; color: var(--dim); margin-bottom: 4px; }
.money { display: flex; align-items: center; height: 40px; background: var(--bg); border: 1px solid var(--line-strong); padding: 0 10px; }
.money:focus-within { border-color: var(--accent); }
.money span { color: var(--muted); font-weight: 600; }
.money input { flex: 1; width: 100%; min-width: 0; background: none; border: 0; outline: none; font-family: var(--display); font-weight: 800; font-size: 20px; padding-left: 4px; }
.quick { grid-column: 1 / -1; display: flex; gap: 6px; }
.quick button { flex: 1; min-width: 0; padding: 6px 0; background: var(--panel-3); border: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 15px; }
.quick button:hover, .quick button.on { border-color: var(--accent); color: var(--accent); }
.book-odds { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.book-odds summary { cursor: pointer; }
.book-odds .money { margin-top: 6px; }

.verdict { padding: 12px 14px; border-left: 4px solid; }
.verdict .v-title { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 26px; letter-spacing: 1px; text-transform: uppercase; line-height: 1; }
.verdict .v-text { color: var(--muted); font-size: 13px; margin-top: 4px; }
.verdict.good { border-color: var(--good); background: rgba(42,240,165,.08); }
.verdict.good .v-title { color: var(--good); }
.verdict.even { border-color: var(--even); background: rgba(255,201,60,.08); }
.verdict.even .v-title { color: var(--even); }
.verdict.bad { border-color: var(--bad); background: rgba(255,92,124,.08); }
.verdict.bad .v-title { color: var(--bad); }
.big-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.big-stats > div { padding: 8px 10px; border-right: 1px solid var(--line); }
.big-stats > div:last-child { border-right: 0; }
.big-stats label { display: block; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 1.2px; color: var(--dim); }
.big-stats b { display: block; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.big-stats small { color: var(--muted); font-size: 11px; }
.pos { color: var(--good); } .neg { color: var(--bad); }
.towin { text-align: center; padding: 12px; background: linear-gradient(90deg, rgba(255,201,60,.08), rgba(255,201,60,.16), rgba(255,201,60,.08));
  border: 1px solid rgba(255,201,60,.3); font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .5px; }
.towin b { font-size: 30px; color: var(--gold); font-style: italic; margin-left: 4px; }
.towin small { display: block; font-family: var(--body); font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: 0; }
.sec h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 17px; letter-spacing: 1.5px; color: var(--accent); }
.examples { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.examples li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; background: var(--panel-2); font-size: 13px; }
.examples li b { font-family: var(--display); font-size: 17px; font-weight: 800; }
.examples li span:last-child { color: var(--muted); font-size: 12px; }
.kelly { padding: 10px 12px; background: var(--panel-2); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.kelly b { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--text); margin: 0 4px; }
.warn-box { padding: 9px 12px; background: rgba(255,201,60,.08); border-left: 3px solid var(--gold); font-size: 12px; color: var(--muted); }
.warn-box b { color: var(--gold); }
.tips { display: grid; gap: 6px; }
.tip { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; background: var(--panel-2); font-size: 13px; }
.tip small { display: block; color: var(--muted); font-size: 12px; }
.mini-btn { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 1px; padding: 5px 10px; background: var(--panel-3);
  border: 1px solid var(--accent); color: var(--accent); white-space: nowrap; }
.mini-btn:hover { background: var(--accent); color: #001018; }
.leg-mini { grid-template-columns: 40px 1fr auto; }
.slip-result { text-align: center; padding: 10px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 24px; letter-spacing: 2px; }
.slip-result.won { background: rgba(42,240,165,.12); color: var(--good); }
.slip-result.lost { background: rgba(255,92,124,.12); color: var(--bad); }
.honest { font-size: 12px; color: var(--muted); }
.honest summary { cursor: pointer; font-weight: 600; color: var(--text); }
.honest ul { padding-left: 18px; margin: 8px 0 0; display: grid; gap: 4px; }

/* ------------------------------------------------------------------ empty / loading */
.empty { padding: 50px 20px; text-align: center; border: 1px dashed var(--line-strong); background: rgba(12,18,30,.5); }
.empty h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 30px; letter-spacing: 1px; text-transform: uppercase; }
.empty p { margin: 0 auto 16px; color: var(--muted); max-width: 520px; }
.empty .ghost { font-size: 16px; }
.skeleton { height: 360px; background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%); background-size: 300% 100%;
  animation: shimmer 1.3s infinite linear; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }

/* ------------------------------------------------------------------ toasts, dialog, fab */
.toasts { position: fixed; left: 22px; bottom: 22px; z-index: 80; display: grid; gap: 8px; pointer-events: none; }
.toast { padding: 10px 16px; background: var(--panel-3); border-left: 3px solid var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,.5);
  font-weight: 600; font-size: 13px; animation: slidein .25s ease both; max-width: 380px; }
.toast.gold { border-color: var(--gold); }
.toast.big { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; }
.toast.out { animation: slideout .3s ease both; }
.slip-fab { display: none; }
dialog.how { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 60px); padding: 0; background: var(--panel); color: var(--text);
  border: 1px solid var(--line-strong); }
dialog.how::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(3px); }
.how-in { padding: 22px 26px 26px; }
.how-in h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 32px; letter-spacing: 1px; }
.how-in h3 { margin: 18px 0 6px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: 1.5px; color: var(--accent); }
.how-in p, .how-in li { color: var(--muted); }
.how-in b { color: var(--text); }
.how-in table { width: 100%; border-collapse: collapse; font-size: 13px; }
.how-in th, .how-in td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.how-in th:first-child, .how-in td:first-child { text-align: left; }
.how-in th { font-family: var(--display); letter-spacing: 1px; color: var(--dim); font-weight: 700; }
.how-close { position: sticky; top: 0; float: right; margin: 10px 10px 0 0; font-size: 26px; color: var(--muted); }

/* ------------------------------------------------------------------ motion */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 14px rgba(255,201,60,.35); } 50% { box-shadow: 0 0 30px rgba(255,201,60,.7); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes slidein { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes slideout { to { opacity: 0; transform: translateX(-16px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ------------------------------------------------------------------ smaller screens: slip becomes a bottom sheet */
@media (max-width: 1100px) {
  .layout { grid-template-columns: 1fr; }
  .slip { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 60; max-height: 86vh; clip-path: none;
    transform: translateY(105%); transition: transform .25s ease; box-shadow: 0 -20px 50px rgba(0,0,0,.6); }
  .slip.open { transform: none; }
  .sheet-close { display: block; }
  .slip-fab { display: flex; align-items: center; gap: 10px; position: fixed; right: 16px; bottom: 16px; z-index: 50; padding: 12px 20px;
    background: var(--accent); color: #001018; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 20px; letter-spacing: 1px;
    transform: skewX(-10deg); box-shadow: 0 10px 30px rgba(0,224,255,.35); }
  .slip-fab b { background: #001018; color: var(--accent); padding: 0 8px; }
}
@media (max-width: 640px) {
  .topbar { position: static; padding: 0 16px; gap: 10px; height: auto; min-height: var(--topbar); flex-wrap: wrap; padding-block: 8px; }
  .brand { font-size: 22px; }
  .top-right { margin-left: 0; width: 100%; justify-content: space-between; }
  .ticker, .layout { padding-left: 16px; padding-right: 16px; }
  .banner { margin-left: 16px; margin-right: 16px; }
  .gh-team .tri { font-size: 24px; } .gh-team .score { font-size: 28px; }
  .cards { grid-template-columns: 1fr; }
  .b-results { grid-template-columns: 1fr; }
  .tab { font-size: 19px; }
}

/* ------------------------------------------------------------------ stage 2: pre-game preview */
.pre-note { margin: 8px 0 0; padding: 9px 12px; border-left: 3px solid var(--accent-2); background: rgba(138,92,255,.08);
  font-size: 12px; color: var(--muted); display: grid; gap: 8px; }
.pre-note b { color: #b9a3ff; font-family: var(--display); font-weight: 800; letter-spacing: 1.2px; font-size: 13px; margin-right: 6px; }
.pre-chip { font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: 1.2px; padding: 1px 6px; margin-right: 4px;
  background: rgba(138,92,255,.2); color: #b9a3ff; }
.chip.pre { background: rgba(138,92,255,.2); color: #b9a3ff; }
.card.stage-pre { background: linear-gradient(165deg, color-mix(in srgb, var(--team) 22%, transparent) 0%, transparent 42%),
  repeating-linear-gradient(135deg, rgba(138,92,255,.035) 0 6px, transparent 6px 12px), var(--panel); }
.card.stage-pre .proj > div:first-child strong { color: #c8b6ff; }

/* ------------------------------------------------------------------ stage 3: injuries + odds board */
.st { display: inline-block; font-family: var(--display); font-weight: 800; font-style: normal; font-size: 11px; letter-spacing: 1px;
  padding: 1px 5px; margin-left: 4px; vertical-align: middle; }
.st-out { background: var(--bad); color: #23000a; }
.st-d { background: rgba(255,92,124,.25); color: var(--bad); }
.st-q { background: rgba(255,201,60,.2); color: var(--gold); }
.st-pr { background: rgba(42,240,165,.15); color: var(--good); }
.st-nr { background: var(--panel-3); color: var(--muted); }
.outs { color: var(--muted); }
.outs b { font-family: var(--display); color: var(--text); margin: 0 4px; font-size: 13px; letter-spacing: 1px; }
.odds-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 12px; color: var(--muted);
  font-family: var(--display); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.odds-bar b { color: var(--text); }
.cta.small { width: auto; margin-left: auto; padding: 8px 18px; font-size: 15px; }
.cta[disabled] { opacity: .6; cursor: wait; }
.odds-markets { margin-bottom: 14px; }
.odds-table { margin-top: 10px; border: 1px solid var(--line); background: var(--panel); overflow-x: auto; }
.o-row { display: grid; grid-template-columns: minmax(180px, 1.5fr) 56px 96px 90px 96px 84px 84px minmax(200px, 2.6fr); gap: 10px; align-items: center;
  padding: 7px 12px; border-bottom: 1px solid var(--line); min-width: 1040px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--team, transparent) 14%, transparent), transparent 30%); }
.o-row:last-child { border-bottom: 0; }
.o-row.out { opacity: .45; }
.o-head { background: var(--panel-2); font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 1.2px; color: var(--dim); }
.o-player { display: flex; align-items: center; gap: 10px; min-width: 0; }
.o-player img, .o-player > i { width: 40px; height: 30px; object-fit: cover; object-position: top; flex: 0 0 auto; }
.o-player b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-player small { color: var(--muted); font-size: 11px; }
.o-line { font-family: var(--display); font-weight: 800; font-size: 20px; }
.o-fair b { font-family: var(--display); font-weight: 800; font-size: 17px; }
.o-fair i { display: block; height: 4px; background: color-mix(in srgb, var(--under) 50%, var(--panel-3)); margin-top: 3px; }
.o-fair em { display: block; height: 100%; background: var(--over); }
.o-best { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.05; }
.o-best small { display: block; font-family: var(--body); font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: .5px; }
.o-best.over { color: var(--over); } .o-best.under { color: var(--under); }
.o-books { display: flex; flex-wrap: wrap; gap: 4px; }
.o-books em { font-style: normal; font-size: 11px; padding: 2px 6px; background: var(--panel-2); color: var(--muted); white-space: nowrap; }
.o-books em.top { background: rgba(42,240,165,.14); color: var(--good); }

/* ------------------------------------------------------------------ stage 4: full-game props */
.full-strip { display: grid; grid-template-columns: auto repeat(5, 1fr); gap: 4px; margin: 0 12px; align-items: stretch; }
.full-strip > span { font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: 1.2px; color: var(--dim);
  writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; }
.full-strip em { font-style: normal; text-align: center; padding: 3px 0; background: rgba(0,0,0,.25); border: 1px solid var(--line); line-height: 1.05; }
.full-strip i { display: block; font-style: normal; font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: 1px; color: var(--dim); }
.full-strip b { font-family: var(--display); font-weight: 800; font-size: 17px; }
.full-strip small { display: block; font-family: var(--display); font-weight: 700; font-size: 12px; }
.full-strip small.up { color: var(--good); } .full-strip small.dn { color: var(--bad); }
.o-model b { font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--accent); }
.o-model small { display: block; font-size: 10px; color: var(--muted); }
.edge { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .5px; padding: 2px 6px; white-space: nowrap; }
.edge.small { color: var(--dim); }
.edge.mid.over { color: var(--over); } .edge.mid.under { color: var(--under); }
.edge.big.over { background: var(--over); color: #00170e; } .edge.big.under { background: var(--under); color: #23000a; }
.how-in pre.report { font-size: 10.5px; line-height: 1.45; overflow-x: auto; background: var(--bg); border: 1px solid var(--line); padding: 10px; color: var(--muted); }

/* ------------------------------------------------------------------ stage 5: grades, presets, report */
.g { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 5px; font-family: var(--display); font-weight: 800;
  font-style: italic; font-size: 15px; letter-spacing: .5px; transform: skewX(-10deg); }
.g.big { min-width: 44px; height: 34px; font-size: 24px; }
.g-Ap, .grade-big.g-Ap { background: linear-gradient(160deg, #ffe08a, #f2a900); color: #1d1300; box-shadow: 0 0 16px rgba(255,201,60,.45); }
.g-A, .grade-big.g-A { background: var(--good); color: #00170e; }
.g-B, .grade-big.g-B { background: #7af0ff; color: #001620; }
.g-C, .grade-big.g-C { background: var(--panel-3); color: var(--text); border: 1px solid var(--line-strong); }
.g-D, .grade-big.g-D { background: rgba(255,92,124,.35); color: #ffd3dc; }
.g-F, .grade-big.g-F { background: var(--bad); color: #23000a; }
.leg-grade { float: right; }
.grade-row { display: flex; align-items: center; gap: 14px; }
.grade-big { width: 74px; height: 64px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-style: italic;
  font-size: 46px; line-height: 1; transform: skewX(-10deg); flex: 0 0 auto; }
.grade-big.xl { width: 110px; height: 96px; font-size: 72px; }
.grade-text { color: var(--muted); font-size: 13px; margin-top: 4px; }
.tier { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: 2px; padding: 2px 10px; transform: skewX(-10deg); }
.tier-safe { background: rgba(42,240,165,.15); color: var(--good); }
.tier-balanced { background: rgba(0,224,255,.15); color: var(--accent); }
.tier-bold { background: rgba(255,92,124,.15); color: var(--bad); }
.stat-tag { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 1px; padding: 2px 6px; background: var(--panel-3); color: var(--accent); }
.chip.price { background: rgba(255,201,60,.12); color: var(--gold); }
.chip.warn { background: rgba(255,201,60,.18); color: var(--gold); }
.rate-btn { margin-top: 2px; }
.b-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 6px; }
.preset { text-align: left; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line-strong); transition: all .15s;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.preset b { display: block; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 30px; letter-spacing: 2px; }
.preset small { color: var(--muted); font-size: 12px; }
.preset:hover { border-color: var(--text); }
.preset-safe b { color: var(--good); } .preset-balanced b { color: var(--accent); } .preset-bold b { color: var(--bad); }
.preset.on { background: var(--panel-3); box-shadow: inset 0 0 0 2px currentColor; }
.preset-safe.on { color: var(--good); } .preset-balanced.on { color: var(--accent); } .preset-bold.on { color: var(--bad); }
.preset.on small { color: var(--text); }
.parlay header .tier { margin-left: auto; }
button.o-best.tap { text-align: left; padding: 4px 8px; border: 1px solid var(--line-strong); background: var(--panel-2); cursor: pointer; transition: all .12s; }
button.o-best.tap:hover { border-color: currentColor; transform: translateY(-1px); }
button.o-best.over.on { background: var(--over); color: #00170e; } button.o-best.under.on { background: var(--under); color: #23000a; }
button.o-best.on small { color: inherit; }
dialog.report { width: min(1100px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; background: var(--panel); color: var(--text);
  border: 1px solid var(--line-strong); }
dialog.report::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.report-in { padding: 22px 26px 28px; }
.report-in h3 { margin: 22px 0 8px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 19px; letter-spacing: 1.5px; color: var(--accent); }
.rp-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.rp-head h2 { margin: 6px 0 4px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 32px; letter-spacing: 1px; }
.rp-summary { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 3px; max-width: 760px; }
.rp-head .slip-result { margin-left: auto; }
.rp-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); margin-top: 18px; }
.rp-stats > div { padding: 10px 12px; border-right: 1px solid var(--line); }
.rp-stats > div:last-child { border-right: 0; }
.rp-stats label { display: block; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 1.2px; color: var(--dim); }
.rp-stats b { display: block; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; }
.rp-stats small { color: var(--muted); font-size: 11px; }
.rp-table-wrap { overflow-x: auto; }
.rp-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 820px; }
.rp-table th { text-align: left; font-family: var(--display); font-weight: 700; letter-spacing: 1px; color: var(--dim); padding: 6px 8px; border-bottom: 1px solid var(--line-strong); }
.rp-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rp-table td small { display: block; color: var(--muted); font-size: 11px; }
.rp-table td b { font-family: var(--display); font-size: 17px; }
.rp-table tr.won td:first-child { box-shadow: inset 3px 0 var(--good); } .rp-table tr.lost td:first-child { box-shadow: inset 3px 0 var(--bad); }
.rp-table tr.flags td { padding-top: 0; border-bottom: 1px solid var(--line); }
.rp-player { display: flex; align-items: center; gap: 10px; }
.rp-player img { width: 44px; height: 32px; object-fit: cover; object-position: top; }
.flag { display: inline-block; margin: 0 6px 4px 0; padding: 2px 8px; font-size: 12px; }
.fl-out { background: var(--bad); color: #23000a; } .fl-high { background: rgba(255,92,124,.2); color: var(--bad); }
.fl-medium { background: rgba(255,201,60,.15); color: var(--gold); } .fl-low { background: var(--panel-3); color: var(--muted); }
.rp-note { color: var(--muted); font-size: 12px; margin: 8px 0 0; }
.rp-weak { margin: 0; color: var(--muted); } .rp-weak b { color: var(--text); }
.rp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.alts { display: grid; gap: 6px; }
.alt-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; }
.alt-row > b { min-width: 200px; font-size: 13px; }
.alt { padding: 3px 8px; background: var(--panel-2); color: var(--muted); }
.alt em { font-style: normal; font-family: var(--display); font-weight: 800; letter-spacing: 1px; margin-right: 4px; }
.alt.safer em { color: var(--good); } .alt.bolder em { color: var(--bad); }
.alt b { color: var(--gold); }
@media (max-width: 760px) { .rp-stats { grid-template-columns: repeat(2, 1fr); } .rp-cols, .b-presets { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ one book per parlay */
.bet-at { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; color: var(--dim); }
.bet-at select { flex: 1; background: var(--bg); border: 1px solid var(--line-strong); padding: 7px 8px; font-family: var(--display);
  font-weight: 700; font-size: 15px; letter-spacing: .5px; color: var(--text); }
.bet-at select:focus { border-color: var(--accent); outline: none; }
.g-q, .grade-big.g-q { background: transparent; color: var(--muted); border: 2px dashed var(--line-strong); }
.place-note { font-size: 12px; color: var(--muted); padding: 8px 10px; background: var(--panel-2); border-left: 3px solid var(--accent); }
.place-note b { color: var(--text); }
.o-best.na { font-size: 11px; color: var(--dim); font-family: var(--body); font-weight: 600; }
.rp-books { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-book { min-width: 130px; padding: 8px 12px; background: var(--panel-2); border: 1px solid var(--line); }
.rp-book b { display: block; font-family: var(--display); font-size: 16px; letter-spacing: .5px; }
.rp-book span { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--gold); }
.rp-book small { display: block; color: var(--muted); font-size: 11px; }
.rp-book.no { opacity: .6; }
.rp-book.chosen { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

/* ------------------------------------------------------------------ live picks */
.sec-h { margin: 18px 0 10px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 20px; letter-spacing: 1.5px; color: var(--accent); }
.sec-h small { font-family: var(--body); font-style: normal; font-weight: 500; font-size: 12px; letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.pick-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.pk-card { position: relative; display: grid; gap: 10px; padding: 14px; background: var(--panel); border: 1px solid var(--line); animation: rise .35s ease both;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.pk-card.guide { background: linear-gradient(160deg, rgba(138,92,255,.08), transparent 50%), var(--panel); }
.pk-head { display: flex; gap: 8px; align-items: center; }
.pk-moment { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 1.5px; color: var(--dim); }
.pk-new { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 1.5px; padding: 1px 7px; background: var(--gold); color: #1a1200;
  animation: glow 1.6s ease-in-out infinite; }
.pk-player { display: flex; gap: 10px; align-items: center; padding: 6px 8px; background: linear-gradient(90deg, color-mix(in srgb, var(--team) 25%, transparent), transparent 70%); }
.pk-player img { width: 54px; height: 40px; object-fit: cover; object-position: top; }
.pk-player b { display: block; font-size: 15px; } .pk-player small { color: var(--muted); font-size: 12px; }
.pk-bet { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: 1px; color: var(--muted); }
.pk-bet .pk { font-size: 28px; font-weight: 800; font-style: italic; }
.pk-proj { margin-left: auto; } .pk-proj b { color: var(--gold); font-size: 20px; }
.pk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.pk-stats > div { padding: 6px 8px; border-right: 1px solid var(--line); } .pk-stats > div:last-child { border-right: 0; }
.pk-stats label { display: block; font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: 1.2px; color: var(--dim); }
.pk-stats b { font-family: var(--display); font-weight: 800; font-size: 19px; }
.pk-why { margin: 0; font-size: 12px; color: var(--muted); }
.pk-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pk-guide .pick b { font-size: 17px; }
@media (max-width: 640px) {
  .tabs { overflow-x: auto; gap: 18px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { font-size: 18px; white-space: nowrap; }
  .pk-stats b { font-size: 16px; }
}

/* ------------------------------------------------------------------ passcode screen */
.login { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(4,6,11,.92); backdrop-filter: blur(6px); }
.login-box { width: min(360px, calc(100vw - 32px)); display: grid; gap: 16px; padding: 26px; background: var(--panel); border: 1px solid var(--line-strong); }
.login-box .brand { font-size: 30px; }
.login-box label { display: grid; gap: 6px; font-family: var(--display); font-weight: 700; letter-spacing: 1.5px; color: var(--dim); font-size: 13px; }
.login-box input { height: 46px; padding: 0 12px; background: var(--bg); border: 1px solid var(--line-strong); font-size: 20px; letter-spacing: 3px; color: var(--text); }
.login-box input:focus { border-color: var(--accent); outline: none; }
.login-err { margin: 0; color: var(--bad); min-height: 1em; font-size: 13px; }
