:root {
  --bg: #050506; --bg2: #09090b; --card: #0e0e11; --card2: #141418; --card3: #1a1a20;
  --line: #1f1f26; --line2: #2a2a33; --text: #f4f4f6; --mute: #8d8d99; --dim: #5b5b66;
  --or: #ff6a00; --or2: #ff8a2b; --or3: #ffb26b; --orA: rgba(255, 106, 0, .14); --orB: rgba(255, 106, 0, .28);
  --pos: #3ddc84; --neg: #ff5a5a; --warn: #ffc23d;
  --r: 14px; --r2: 10px;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Inter', system-ui, sans-serif;
  --head: 'Space Grotesk', 'Inter', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; background:
  radial-gradient(1200px 500px at 85% -10%, rgba(255,106,0,.10), transparent 60%),
  radial-gradient(800px 400px at -10% 10%, rgba(255,106,0,.05), transparent 60%), var(--bg); background-attachment: fixed; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select { font: inherit; color: var(--text); }
select { color-scheme: dark; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
::selection { background: var(--or); color: #000; }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: #22222a; border-radius: 10px; border: 2px solid var(--bg); }

/* ---------- top bar */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); background: rgba(5,5,6,.78); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1500px; margin: 0 auto; padding: 0 22px; height: 64px; display: flex; align-items: center; gap: 22px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: conic-gradient(from 210deg, var(--or), #ffb26b, var(--or)); display: grid; place-items: center; box-shadow: 0 0 24px rgba(255,106,0,.45); }
.logo-mark svg { width: 18px; height: 18px; }
.logo b { color: var(--or); font-weight: 700; }
.nav { display: flex; gap: 4px; }
.nav a { white-space: nowrap; padding: 8px 13px; border-radius: 9px; color: var(--mute); font-weight: 500; transition: .15s; }
.nav a:hover { color: var(--text); background: var(--card2); }
.nav a.on { color: var(--text); background: var(--card3); box-shadow: inset 0 0 0 1px var(--line2); }
.spacer { flex: 1; }
.search { position: relative; width: 300px; }
.search input { width: 100%; height: 38px; border-radius: 10px; background: var(--card); border: 1px solid var(--line2); padding: 0 12px 0 36px; outline: none; transition: .15s; }
.search input:focus { border-color: var(--or); box-shadow: 0 0 0 3px var(--orA); }
.search svg { position: absolute; left: 11px; top: 11px; width: 16px; height: 16px; color: var(--dim); }
.search-res { position: absolute; top: 44px; left: 0; right: 0; background: var(--card2); border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.6); display: none; max-height: 420px; overflow-y: auto; }
.search-res.show { display: block; }
.search-res a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.search-res a:hover, .search-res a.sel { background: var(--card3); }
.seg { display: flex; background: var(--card); border: 1px solid var(--line2); border-radius: 10px; padding: 3px; }
.seg button { padding: 6px 12px; border-radius: 7px; color: var(--mute); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.seg button.on { background: var(--or); color: #0a0a0a; box-shadow: 0 4px 16px rgba(255,106,0,.35); }
.btn { height: 38px; padding: 0 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line2); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: .15s; white-space: nowrap; }
.btn:hover { border-color: var(--or); }
.btn.primary { background: var(--or); color: #0a0a0a; border-color: var(--or); }
.btn.primary:hover { background: var(--or2); }
.btn .badge { background: var(--or); color: #000; border-radius: 99px; font-size: 11px; padding: 1px 7px; font-weight: 700; }
.btn.primary .badge { background: #000; color: var(--or); }
.btn svg { width: 16px; height: 16px; }
.spin { animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }

/* ---------- layout */
main { max-width: 1500px; margin: 0 auto; padding: 22px; }
.h1 { font-family: var(--head); font-size: 30px; font-weight: 700; letter-spacing: -.03em; margin: 0; }
.h1 em { font-style: normal; color: var(--or); }
.sub { color: var(--mute); margin-top: 6px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(330px, 1fr); gap: 16px; }
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--r); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 0; }
.card-t { font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.card-b { padding: 16px 18px 18px; }
.label { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--dim); font-weight: 600; }
.muted { color: var(--mute); } .dim { color: var(--dim); }
.pos { color: var(--pos); } .neg { color: var(--neg); } .or { color: var(--or); }

/* ---------- slate */
.slate { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; margin: 18px 0 8px; scrollbar-width: thin; }
.game { flex: 0 0 auto; min-width: 210px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; transition: .15s; text-align: left; }
.game:hover { border-color: var(--line2); background: var(--card2); }
.game.on { border-color: var(--or); box-shadow: 0 0 0 3px var(--orA); }
.game .gt { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); margin-bottom: 8px; font-weight: 600; letter-spacing: .04em; }
.game .tm { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; padding: 2px 0; }
.lg-pill { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 5px; letter-spacing: .05em; }
.lg-EL { background: rgba(255,106,0,.15); color: var(--or2); }
.lg-GBL { background: rgba(255,255,255,.08); color: #cfd2dc; }
.logo-img { width: 20px; height: 20px; object-fit: contain; flex: 0 0 20px; }

/* ---------- market chips & controls */
.controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 12px 0 14px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 7px 12px; border-radius: 99px; background: var(--card); border: 1px solid var(--line2); color: var(--mute); font-weight: 600; font-size: 12.5px; transition: .15s; }
.chip:hover { color: var(--text); border-color: #3a3a46; }
.chip.on { color: #0a0a0a; background: var(--or); border-color: var(--or); }
.ctl { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line2); border-radius: 10px; padding: 0 10px; height: 36px; color: var(--mute); font-size: 12.5px; }
.ctl select, .ctl input { background: transparent; border: 0; outline: none; color: var(--text); font-weight: 600; }
.ctl select option { background: var(--card2); }
/* native dropdown lists: dark rows, team headers in orange (otherwise the browser draws them white-on-white) */
select option { background: #16161b; color: var(--text); }
select optgroup { background: #0d0d10; color: var(--or2); font-weight: 700; font-style: normal; }
select optgroup option { color: var(--text); font-weight: 500; }
.ctl input[type=number] { width: 52px; font-family: var(--mono); }
.toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.toggle i { width: 30px; height: 18px; border-radius: 99px; background: var(--line2); position: relative; transition: .15s; }
.toggle i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #aaa; transition: .15s; }
.toggle.on i { background: var(--or); } .toggle.on i::after { left: 14px; background: #000; }

/* ---------- board table */
.tbl-wrap { overflow-x: auto; }
table.board { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 1180px; }
.board th { position: sticky; top: 0; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-weight: 600; text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); background: var(--card); cursor: pointer; white-space: nowrap; }
.board th.r, .board td.r { text-align: right; } .board th.c, .board td.c { text-align: center; }
.board th:hover { color: var(--text); }
.board th.sorted { color: var(--or); }
.board td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.board tbody tr { transition: background .12s; cursor: pointer; }
.board tbody tr:hover { background: rgba(255,255,255,.025); }
.board tbody tr:hover .pname { color: var(--or2); }
.pcell { display: flex; align-items: center; gap: 11px; min-width: 210px; }
.ava { position: relative; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #24242c, #15151a); flex: 0 0 auto; overflow: hidden; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--mute); border: 1px solid var(--line2); }
.ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ava.lg { width: 112px; height: 112px; font-size: 30px; border: 2px solid var(--or); box-shadow: 0 0 40px rgba(255,106,0,.25); }
.pname { font-weight: 600; transition: .12s; }
.pmeta { font-size: 11.5px; color: var(--dim); margin-top: 2px; display: flex; gap: 6px; align-items: center; }
.mu { display: flex; align-items: center; gap: 7px; font-size: 12.5px; }
.mu .at { color: var(--dim); font-size: 11px; }
.mu-date { font-size: 11px; color: var(--dim); margin-top: 3px; }
.line-in { width: 64px; height: 32px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 8px; text-align: center; font-family: var(--mono); font-weight: 600; outline: none; transition: .15s; }
.line-in:focus { border-color: var(--or); box-shadow: 0 0 0 3px var(--orA); }
.line-in.edited { border-color: var(--or); color: var(--or2); }
.proj { font-family: var(--mono); font-weight: 700; font-size: 15px; }
.diff { font-family: var(--mono); font-size: 11px; margin-top: 2px; }
.ou { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-weight: 700; font-size: 12.5px; padding: 5px 9px; border-radius: 8px; }
.ou.O { background: var(--orA); color: var(--or2); box-shadow: inset 0 0 0 1px var(--orB); }
.ou.U { background: rgba(255,255,255,.06); color: #e2e4ea; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.ev { font-family: var(--mono); font-weight: 700; }
.hit { display: inline-block; min-width: 46px; text-align: center; font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 5px 0; border-radius: 7px; }
.hit small { display: block; font-size: 9.5px; opacity: .65; font-weight: 500; margin-top: 1px; }
.streak { font-family: var(--mono); font-size: 12px; font-weight: 700; }
.flags { display: flex; gap: 4px; flex-wrap: wrap; max-width: 170px; }
.flag { font-size: 9.5px; font-weight: 700; letter-spacing: .05em; padding: 3px 6px; border-radius: 5px; white-space: nowrap; }
.flag.up { background: rgba(61,220,132,.12); color: var(--pos); }
.flag.down { background: rgba(255,90,90,.12); color: var(--neg); }
.flag.warn { background: rgba(255,194,61,.13); color: var(--warn); }
.add { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line2); display: grid; place-items: center; color: var(--mute); transition: .15s; font-size: 17px; }
.add:hover { border-color: var(--or); color: var(--or); }
.add.on { background: var(--or); border-color: var(--or); color: #000; }

/* signal ring */
.ring { position: relative; width: 42px; height: 42px; display: inline-grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring span { font-family: var(--mono); font-weight: 700; font-size: 12.5px; }
.ring.lg { width: 84px; height: 84px; } .ring.lg span { font-size: 24px; }

/* ---------- player page */
.phead { display: flex; gap: 24px; align-items: center; padding: 24px; position: relative; overflow: hidden; }
.phead::after { content: ''; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(255,106,0,.16), transparent); pointer-events: none; }
.phead .pn { font-family: var(--head); font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.statline { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.stat { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 13px; min-width: 74px; }
.stat .v { font-family: var(--mono); font-size: 18px; font-weight: 700; }
.stat .k { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.next-box { margin-left: auto; text-align: right; z-index: 1; }
.big-hit { font-family: var(--head); font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.stepper { display: inline-flex; align-items: center; background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; }
.stepper button { width: 34px; height: 36px; font-size: 18px; color: var(--mute); }
.stepper button:hover { color: var(--or); background: var(--card3); }
.stepper input { width: 66px; height: 36px; border: 0; background: transparent; text-align: center; font-family: var(--mono); font-weight: 700; font-size: 15px; outline: none; }
.chart-wrap { position: relative; }
.chart-wrap svg text { font-family: var(--mono); }
.tip { position: absolute; pointer-events: none; background: #000; border: 1px solid var(--line2); border-radius: 10px; padding: 9px 11px; font-size: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.6); white-space: nowrap; z-index: 5; opacity: 0; visibility: hidden; transition: opacity .14s ease, visibility .14s; }
.tip.on { opacity: 1; visibility: visible; }
.tip-def { margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--line2); line-height: 1.7; }
.tip-def .rank-chip { font-size: 10.5px; padding: 1px 5px; }
/* chart hover areas never move or resize under the pointer */
.chart-wrap svg rect.hit { transform: none !important; transition: none !important; }
.probbar { height: 10px; border-radius: 99px; overflow: hidden; display: flex; background: var(--line); }
.probbar i { display: block; height: 100%; }
.kv { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.kv:last-child { border-bottom: 0; }
.kv .v { font-family: var(--mono); font-weight: 600; }
.odds-in { width: 70px; height: 32px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 8px; text-align: center; font-family: var(--mono); font-weight: 600; outline: none; }
.odds-in:focus { border-color: var(--or); }
.split-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.split { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; }
.split .p { font-family: var(--mono); font-weight: 700; font-size: 17px; }
.split .n { font-size: 11px; color: var(--dim); }
.matrix td, .matrix th { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: right; font-size: 13px; }
.matrix th { font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.matrix td:first-child, .matrix th:first-child { text-align: left; }
.matrix tr.on td { background: var(--orA); }
.matrix tbody tr { cursor: pointer; } .matrix tbody tr:hover td { background: rgba(255,255,255,.03); }
table.log { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.log th { font-size: 10.5px; color: var(--dim); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; padding: 8px; text-align: right; border-bottom: 1px solid var(--line); }
.log td { padding: 8px; text-align: right; border-bottom: 1px solid var(--line); font-family: var(--mono); }
.log td:first-child, .log th:first-child, .log td:nth-child(2), .log th:nth-child(2) { text-align: left; font-family: var(--sans); }
.log td.hl { color: var(--or2); font-weight: 700; }
.wl { font-size: 10.5px; font-weight: 700; padding: 2px 5px; border-radius: 4px; }
.wl.W { background: rgba(61,220,132,.13); color: var(--pos); } .wl.L { background: rgba(255,90,90,.12); color: var(--neg); }

/* ---------- slip drawer */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 100vw; background: var(--card); border-left: 1px solid var(--line2); z-index: 100; transform: translateX(105%); transition: transform .25s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: -30px 0 80px rgba(0,0,0,.6); }
.drawer.open { transform: none; }
.drawer-h { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer-b { flex: 1; overflow-y: auto; padding: 14px 16px; }
.drawer-f { border-top: 1px solid var(--line); padding: 16px 20px; background: var(--card2); }
.leg { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.leg .x { color: var(--dim); font-size: 18px; } .leg .x:hover { color: var(--neg); }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 90; opacity: 0; pointer-events: none; transition: .2s; }
.scrim.show { opacity: 1; pointer-events: auto; }

/* ---------- misc */
.empty { padding: 60px 20px; text-align: center; color: var(--mute); }
.loader { display: grid; place-items: center; min-height: 70vh; gap: 16px; }
.loader .ball { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--line2); border-top-color: var(--or); animation: spin .8s linear infinite; }
.foot { color: var(--dim); font-size: 12px; padding: 30px 0 10px; text-align: center; line-height: 1.7; }
.tag { font-size: 11px; padding: 3px 8px; border-radius: 6px; background: var(--card3); color: var(--mute); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { padding: 18px; }
.kpi .v { font-family: var(--head); font-size: 30px; font-weight: 700; letter-spacing: -.03em; margin-top: 6px; }
.kpi .d { font-size: 12px; color: var(--mute); margin-top: 4px; }
.heat { font-family: var(--mono); font-weight: 600; border-radius: 6px; padding: 4px 8px; display: inline-block; min-width: 54px; text-align: center; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--card3); border: 1px solid var(--line2); padding: 11px 16px; border-radius: 10px; opacity: 0; transition: .2s; z-index: 200; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.note { font-size: 12px; color: var(--mute); background: var(--bg2); border: 1px dashed var(--line2); border-radius: 10px; padding: 10px 12px; line-height: 1.55; }

@media (max-width: 1100px) {
  .grid2 { grid-template-columns: 1fr; }
  .search { width: 200px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .top-in { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 10px; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
  .search { order: 2; flex: 1; width: auto; }
  .top-in > .seg, .top-in > #syncBtn { display: none; }
  main { padding: 16px; }
  .phead { flex-direction: column; align-items: flex-start; }
  .next-box { margin-left: 0; text-align: left; }
  .split-grid { grid-template-columns: repeat(2, 1fr); }
  .h1 { font-size: 24px; }
}

/* ---------- market lines feed */
.mkt { display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; padding: 2px 5px; border-radius: 4px; background: #ff6a00; color: #000; vertical-align: middle; }
.mkt.dimmkt { background: var(--card3); color: var(--mute); }
.mkt-sub { font-family: var(--mono); font-size: 10.5px; color: var(--mute); margin-top: 4px; white-space: nowrap; }
.line-in.mkt-line { border-color: rgba(255,106,0,.55); color: var(--text); }

/* ---------- accounts & plans */
.acct-wrap { position: relative; }
.acct-mail { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.plan-pill { font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 2px 6px; border-radius: 5px; background: var(--card3); color: var(--mute); }
.plan-pill.pro { background: var(--or); color: #000; }
.acct-menu { position: absolute; right: 0; top: 44px; min-width: 220px; background: var(--card2); border: 1px solid var(--line2); border-radius: 12px; padding: 6px; display: none; box-shadow: 0 20px 50px rgba(0,0,0,.6); z-index: 60; }
.acct-menu.show { display: block; }
.am-item { display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: 8px; font-weight: 600; }
.am-item:hover { background: var(--card3); }
.locked-btn { opacity: .75; }
.lock-cell { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--mute); background: var(--card3); border: 1px dashed var(--line2); padding: 5px 8px; border-radius: 7px; cursor: pointer; white-space: nowrap; transition: .15s; }
.lock-cell:hover { color: var(--or2); border-color: var(--or); }
.open-tag { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; padding: 2px 5px; border-radius: 4px; background: rgba(61,220,132,.14); color: var(--pos); }
.plan-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: linear-gradient(90deg, rgba(255,106,0,.14), rgba(255,106,0,.03)); border: 1px solid var(--orB); font-size: 13px; line-height: 1.5; }
.locked-box { display: grid; place-items: center; min-height: 160px; }
.locked-box.sm { min-height: 0; padding: 14px 0 4px; }
.locked-pricing { position: relative; min-height: 260px; }
.blur-mock { filter: blur(7px); opacity: .45; pointer-events: none; user-select: none; }
.locked-cta { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 10px 24px; }
.lock-ic { width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--orA); color: var(--or2); border: 1px solid var(--orB); }
.modal-wrap { position: fixed; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(4px); z-index: 300; display: grid; place-items: center; padding: 16px; }
.modal { position: relative; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; background: var(--card2); border: 1px solid var(--line2); border-radius: 18px; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.modal-x { position: absolute; right: 12px; top: 10px; font-size: 22px; color: var(--dim); }
.modal-x:hover { color: var(--text); }
.modal-h { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; padding-right: 20px; }
.modal-t { font-family: var(--head); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.logo-mark.sm { width: 34px; height: 34px; flex: 0 0 34px; }
.btn.wide { width: 100%; justify-content: center; height: 42px; }
.g-btn { background: #fff; color: #111; border-color: #fff; }
.g-btn:hover { border-color: var(--or); }
.or-sep { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 12px; margin: 14px 0; }
.or-sep::before, .or-sep::after { content: ''; flex: 1; height: 1px; background: var(--line2); }
.em-form { display: grid; gap: 10px; }
.em-form input { height: 42px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line2); padding: 0 12px; outline: none; }
.em-form input:focus { border-color: var(--or); box-shadow: 0 0 0 3px var(--orA); }
.form-err { min-height: 16px; font-size: 12.5px; color: var(--or2); }
.modal-foot { margin-top: 14px; font-size: 12.5px; color: var(--mute); text-align: center; }
.modal-foot a { color: var(--or2); }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.price { background: var(--bg2); border: 1px solid var(--line2); border-radius: 12px; padding: 12px; }
.price.best { border-color: var(--or); box-shadow: 0 0 0 3px var(--orA); }
.pv { font-family: var(--head); font-size: 26px; font-weight: 700; margin-top: 4px; }
.pv span { font-size: 12px; color: var(--mute); font-weight: 500; margin-left: 2px; }
.plan-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-bottom: 14px; }
.plan-tbl td, .plan-tbl th { padding: 7px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.plan-tbl td:first-child, .plan-tbl th:first-child { text-align: left; color: var(--mute); }
.plan-tbl th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.ok { color: var(--or2); font-weight: 800; }
@media (max-width: 760px) { .acct-mail { display: none; } }

/* ---------- matchups */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.team-card { padding: 16px; display: block; transition: .15s; }
.team-card:hover { border-color: var(--orB); transform: translateY(-1px); }
.tc-h { display: flex; align-items: center; gap: 12px; }
.tc-n { font-family: var(--head); font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-r { margin-left: auto; text-align: right; display: grid; justify-items: end; gap: 2px; }
.tc-meta { display: flex; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--mute); align-items: center; flex-wrap: wrap; }
.tc-next { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line2); font-size: 12px; color: var(--mute); display: flex; align-items: center; gap: 6px; }
.find-row { display: grid; grid-template-columns: 16px 1fr auto auto; gap: 8px; align-items: center; padding: 6px 0; font-size: 12.5px; border-bottom: 1px solid var(--line); }
.find-row:last-child { border-bottom: 0; }
.find-ic { color: var(--or); font-size: 10px; }
.find-row.strong .find-ic { color: var(--neg); }
.find-t { min-width: 0; }
.find-v { font-size: 11.5px; white-space: nowrap; }
.rank-chip { font-family: var(--mono); font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 5px; white-space: nowrap; }
.rank-chip.low { background: rgba(255,90,90,.13); color: #ff9a9a; }
.mtiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin-top: 16px; }
.mtile { display: grid; gap: 4px; justify-items: start; }
.mtile .k { text-transform: none; letter-spacing: 0; font-size: 11px; }
.dvp-grid td { white-space: nowrap; }
.ex-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ex-row:last-child { border-bottom: 0; }
.ex-row:hover .pname { color: var(--or2); }
.back { color: var(--mute); font-size: 13px; }
.back:hover { color: var(--or2); }
@media (max-width: 1100px) { .mtiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .mtiles { grid-template-columns: repeat(2, 1fr); } .team-grid { grid-template-columns: 1fr; } .find-row { grid-template-columns: 16px 1fr auto; } .find-v { display: none; } }

/* ---------- court */
.court { display: block; border-radius: 12px; }
.court .zl text { pointer-events: none; }
.court-legend { display: flex; gap: 14px; justify-content: center; margin-top: 8px; font-size: 11.5px; color: var(--mute); }
.court-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -2px; }

/* =============================================================== brand */
.logo { gap: 10px; }
.logo-img-mark { display: block; border-radius: 10px; transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s; filter: drop-shadow(0 0 14px rgba(255,106,0,.25)); }
.logo:hover .logo-img-mark { transform: rotate(-8deg) scale(1.06); filter: drop-shadow(0 0 22px rgba(255,106,0,.5)); }
.hx-word { font-family: var(--head); font-weight: 700; font-size: 20px; letter-spacing: -.035em; color: var(--text); }
.hx-word b { font-weight: 700; background: linear-gradient(90deg, #ffb26b, #ff6a00); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =============================================================== tooltips */
.tip-pop { position: fixed; z-index: 1000; max-width: 300px; padding: 9px 12px; border-radius: 9px; background: #0d0d10; color: #f4f4f6; border: 1px solid #3a3a46;
  font: 500 12.5px/1.45 var(--sans); box-shadow: 0 12px 34px rgba(0,0,0,.6); pointer-events: none; opacity: 0; transform: translateY(4px) scale(.98); transition: opacity .14s ease, transform .14s ease; }
.tip-pop.show { opacity: 1; transform: none; }
[data-tip] { cursor: help; }
a[data-tip], button[data-tip], th[data-tip], label[data-tip], .lock-cell[data-tip] { cursor: pointer; }

/* =============================================================== motion */
@media (prefers-reduced-motion: no-preference) {
  #app.page-in { animation: pageIn .2s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .stag { animation: stagIn .25s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
  @keyframes stagIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .35s cubic-bezier(.2,.8,.2,1), transform .35s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
  .reveal.in { opacity: 1; transform: none; }
  .card { transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
  .card:hover { border-color: #2c2c36; }
  .btn { transition: transform .15s ease, border-color .15s, background .15s, box-shadow .2s; }
  .btn:active { transform: scale(.97); }
  .btn.primary:hover { box-shadow: 0 8px 26px rgba(255,106,0,.35); }
  .chip, .seg button { transition: all .18s ease; }
  .heat, span.hit, .rank-chip { transition: transform .15s ease; }
  .heat:hover, span.hit:hover { transform: scale(1.06); }
  .probbar i { transition: width .7s cubic-bezier(.2,.8,.2,1); }
  .modal-wrap { animation: fadeIn .2s ease both; }
  .modal { animation: popIn .28s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes fadeIn { from { opacity: 0; } }
  @keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
  .court .zl.hl rect { animation: zpulse 2.2s ease-in-out infinite; }
  @keyframes zpulse { 50% { stroke-opacity: .35; } }
  .pl-chart .draw { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 1.4s cubic-bezier(.2,.8,.2,1) .15s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .chart-wrap svg .bv { transform-box: fill-box; transform-origin: bottom; animation: grow .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
  .chart-wrap svg .bl { animation: fadeUp .45s ease both; animation-delay: calc(var(--d, 0ms) + .35s); }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(4px); } }
  .chart-wrap svg .nextbar { animation: grow .7s cubic-bezier(.2,.8,.2,1) both, nextPulse 2.4s ease-in-out 1s infinite; animation-delay: var(--d, 0ms), calc(var(--d, 0ms) + .8s); }
  @keyframes nextPulse { 50% { stroke-opacity: .35; fill-opacity: .6; } }
  .chart-wrap svg .ov { animation: fadeIn .5s ease .4s both; }
  @keyframes grow { from { transform: scaleY(0); } }
}

/* =============================================================== controls */
.btn.sm { height: 30px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn.ghost { background: transparent; }
.ctl.sel select { max-width: 230px; }
.ctl select { cursor: pointer; }
.game-sw { margin-top: 10px; display: inline-flex; }
.game-sw select { max-width: 210px; }
.fld { display: grid; gap: 4px; font-size: 11px; color: var(--dim); flex: 1; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.em-form select, .em-form textarea, .fld input { height: 42px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line2); padding: 0 12px; outline: none; color: var(--text); font: 500 14px var(--sans); text-transform: none; letter-spacing: 0; }
.em-form textarea { height: auto; padding: 10px 12px; resize: vertical; }
.em-form select:focus, .em-form textarea:focus, .fld input:focus { border-color: var(--or); box-shadow: 0 0 0 3px var(--orA); }
.x.armed { color: var(--neg) !important; font-size: 12px !important; font-weight: 700; }

/* =============================================================== player court */
.court-pl-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1000px) { .court-pl-grid { grid-template-columns: minmax(0, 1fr); } }

/* =============================================================== my bets */
.bet-list { display: grid; gap: 10px; margin-top: 12px; }
.bet { padding: 14px 16px; border-left: 3px solid var(--line2); }
.bet.won { border-left-color: var(--pos); }
.bet.lost { border-left-color: var(--neg); }
.bet.partial { border-left-color: var(--or); }
.bet-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.bet-h .x { color: var(--dim); font-size: 18px; min-width: 22px; }
.bet-h .x:hover { color: var(--neg); }
.bet-leg { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 13px; flex-wrap: wrap; }
.li { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--card3); color: var(--mute); flex: 0 0 20px; }
.li.won { background: rgba(61,220,132,.16); color: var(--pos); }
.li.lost { background: rgba(255,90,90,.16); color: var(--neg); }
.li.open { color: var(--or); }
.bet-f { display: flex; gap: 16px; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--mute); flex-wrap: wrap; }
.bet-f b { color: var(--text); }
.st { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; }
.st-open, .st-push, .st-void { background: var(--card3); color: var(--mute); }
.st-partial { background: var(--orA); color: var(--or2); }
.st-won { background: rgba(61,220,132,.14); color: var(--pos); }
.st-lost { background: rgba(255,90,90,.14); color: var(--neg); }

/* =============================================================== landing */
body.on-landing main { max-width: none; padding: 0; }
.hero { position: relative; overflow: hidden; padding: 90px 22px 70px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb.o1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,106,0,.55), transparent 65%); top: -160px; right: -80px; animation: drift 14s ease-in-out infinite; }
.orb.o2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,140,40,.25), transparent 65%); bottom: -200px; left: -120px; animation: drift 18s ease-in-out infinite reverse; }
@keyframes drift { 50% { transform: translate(-40px, 30px) scale(1.08); } }
.hero-in { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--or2); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--or); box-shadow: 0 0 12px var(--or); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero-t { font-family: var(--head); font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.045em; margin: 16px 0 18px; font-weight: 700; }
.grad { background: linear-gradient(92deg, #ffd2a6, #ff8a2b 40%, #ff6a00 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-s { font-size: 17px; line-height: 1.6; color: #b9bac4; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 12.5px; color: var(--dim); }
.hero-vis { position: relative; height: 470px; }
.float-card { position: absolute; background: linear-gradient(180deg, rgba(22,22,28,.92), rgba(12,12,15,.92)); border: 1px solid #2a2a33; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.55); backdrop-filter: blur(10px); padding: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: floaty 7s ease-in-out infinite; }
  .fc2 { animation-delay: -2.5s; }
  .fc3 { animation-delay: -4.5s; }
  .fc-bars i { transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d) + .3s); }
}
@keyframes floaty { 50% { transform: translateY(-12px); } }
.fc1 { width: 340px; top: 10px; left: 0; z-index: 2; }
.fc2 { width: 300px; top: 120px; right: 0; padding: 10px; }
.fc3 { width: 220px; bottom: 0; left: 70px; z-index: 3; }
.fc3 .big { font-size: 34px; font-weight: 700; color: var(--or2); margin: 4px 0; }
.fc-h { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; margin-bottom: 12px; }
.fc-bars { position: relative; height: 110px; display: flex; align-items: flex-end; gap: 6px; padding: 0 2px; }
.fc-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #3a3a44, #26262e); }
.fc-bars i.o { background: linear-gradient(180deg, #ff9a3d, #ff6a00); }
.fc-line { position: absolute; left: 0; right: 0; bottom: 72%; border-top: 2px dashed var(--or); }
.fc-f { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; color: var(--mute); }
.fc-f b { color: var(--text); font-family: var(--mono); }
.fc-cap { text-align: center; font-size: 12px; color: var(--mute); margin-top: 6px; }
.stats-strip { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.stats-strip > div { background: var(--card); padding: 22px; text-align: center; }
.stats-strip b { display: block; font-family: var(--head); font-size: 34px; letter-spacing: -.03em; }
.stats-strip span { color: var(--mute); font-size: 13px; }
.lp-sec { max-width: 1240px; margin: 0 auto; padding: 90px 22px 0; }
.lp-h { text-align: center; margin-bottom: 36px; }
.lp-h h2, .tool h2, .contact h2 { font-family: var(--head); font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.035em; margin: 10px 0 0; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { padding: 26px; }
.feat:hover { transform: translateY(-4px); border-color: var(--orB); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.feat-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--orA); color: var(--or2); border: 1px solid var(--orB); }
.feat-ic svg { width: 22px; height: 22px; }
.feat h3 { font-family: var(--head); font-size: 19px; margin: 16px 0 8px; letter-spacing: -.02em; }
.feat p { color: var(--mute); line-height: 1.6; margin: 0; font-size: 14px; }
.tool-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px; border-radius: 24px; border: 1px solid var(--line2); background: radial-gradient(600px 300px at 0% 0%, rgba(255,106,0,.12), transparent 70%), var(--card); }
.tool-in p { line-height: 1.7; font-size: 15.5px; }
.tool-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tool-list li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); font-weight: 500; }
.tool-list li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--orA); color: var(--or2); font-weight: 800; flex: 0 0 26px; }
.tool-list li.no span { background: rgba(255,90,90,.12); color: var(--neg); }
.slate-lp { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.lp-game { padding: 16px; display: grid; gap: 8px; }
.lp-game:hover { transform: translateY(-3px); border-color: var(--orB); }
.lp-game .gt { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); font-weight: 700; letter-spacing: .04em; }
.lp-game .tm { display: flex; align-items: center; gap: 10px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 0 auto; }
.plan { padding: 30px; position: relative; display: flex; flex-direction: column; }
.plan.pro { border-color: var(--or); box-shadow: 0 0 0 1px var(--or), 0 30px 80px rgba(255,106,0,.12); background: radial-gradient(500px 240px at 100% 0%, rgba(255,106,0,.14), transparent 70%), var(--card); }
.plan-badge { position: absolute; top: -12px; right: 24px; background: var(--or); color: #000; font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 99px; letter-spacing: .04em; }
.plan-n { font-family: var(--head); font-size: 20px; font-weight: 700; }
.plan-p { font-family: var(--head); font-size: 46px; font-weight: 700; letter-spacing: -.04em; margin-top: 8px; }
.plan-p span { font-size: 15px; color: var(--mute); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 11px; flex: 1; }
.plan li { padding-left: 26px; position: relative; color: #c9cbd3; font-size: 14px; line-height: 1.45; }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--or2); font-weight: 800; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding: 40px; }
.contact-pts { display: grid; gap: 12px; margin-top: 22px; }
.contact-pts div { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--or); }
.contact-pts span { color: var(--mute); font-size: 13px; }
.sent { text-align: center; padding: 40px 0; }
.site-foot { border-top: 1px solid var(--line); margin-top: 90px; padding: 40px 22px; background: var(--bg2); }
.sf-in { max-width: 1240px; margin: 0 auto; display: grid; gap: 18px; }
.sf-brand { display: flex; align-items: center; gap: 10px; }
.sf-links { display: flex; gap: 22px; flex-wrap: wrap; color: var(--mute); font-size: 14px; }
.sf-links a:hover { color: var(--or2); }
.sf-legal { color: var(--dim); font-size: 12px; line-height: 1.6; max-width: 820px; }
@media (max-width: 980px) {
  .hero-in, .tool-in, .contact, .plans { grid-template-columns: 1fr; }
  .hero-vis { height: 420px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 50px 16px 40px; }
  .lp-sec { padding: 60px 16px 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .hero-vis { height: 360px; }
  .fc1 { width: 280px; }
  .fc2 { width: 230px; top: 150px; }
  .fc3 { left: 10px; }
  .tool-in, .contact { padding: 24px; }
}

/* chart hover: only the bars themselves react */
.chart-wrap svg text, .chart-wrap svg line, .chart-wrap svg .ov, .chart-wrap svg .bv { pointer-events: none; }
.chart-wrap svg rect.hit { cursor: pointer; }
.chart-wrap svg .bar:hover .bv { filter: brightness(1.18); }
.chart-wrap svg .bar.next:hover .bv { stroke-dasharray: none; }

/* landing: soft orange light spread across the page (no grid) */
body.on-landing #app {
  background:
    radial-gradient(700px 480px at 8% 16%, rgba(255,106,0,.07), transparent 70%),
    radial-gradient(760px 520px at 92% 30%, rgba(255,140,40,.055), transparent 70%),
    radial-gradient(640px 460px at 12% 47%, rgba(255,106,0,.05), transparent 70%),
    radial-gradient(820px 520px at 88% 63%, rgba(255,125,30,.055), transparent 70%),
    radial-gradient(680px 460px at 20% 82%, rgba(255,106,0,.045), transparent 70%),
    radial-gradient(760px 480px at 80% 97%, rgba(255,140,40,.05), transparent 70%);
}
body.on-landing .site-foot { background: radial-gradient(900px 260px at 50% 0%, rgba(255,106,0,.06), transparent 70%), var(--bg2); }
.feat, .plan:not(.pro), .contact, .lp-game { background: radial-gradient(420px 220px at 100% 0%, rgba(255,106,0,.045), transparent 70%), linear-gradient(180deg, var(--card2), var(--card)); }
.stats-strip > div { background: radial-gradient(260px 120px at 50% 0%, rgba(255,106,0,.05), transparent 70%), var(--card); }

/* landing: no hard edges — glows flow across sections; grain dithering smooths dark gradients */
.hero { overflow: visible; }
body.on-landing #app { overflow-x: clip; }
.orb.o2 { bottom: -320px; }
body.on-landing::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 2; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* minutes outlook */
.min-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 760px) { .min-grid { grid-template-columns: 1fr; gap: 16px; } }
.minbar { position: relative; height: 54px; margin: 16px 4px 0; }
.minbar::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 8px; border-radius: 5px; background: #24242c; }
.mb-band { position: absolute; top: 14px; height: 8px; border-radius: 5px; background: linear-gradient(90deg, rgba(255,122,26,.35), rgba(255,160,77,.55)); box-shadow: 0 0 18px rgba(255,122,26,.25); transition: left .5s, width .5s; }
.mb-proj { position: absolute; top: 8px; width: 4px; height: 20px; margin-left: -2px; border-radius: 3px; background: var(--or2); box-shadow: 0 0 10px rgba(255,140,40,.7); }
.mb-tick { position: absolute; top: 10px; width: 2px; height: 16px; margin-left: -1px; background: #cfcfd8; opacity: .75; cursor: default; }
.mb-tick span { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: 9.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.mb-axis { position: absolute; left: 0; right: 0; top: 30px; }
.mb-axis span { position: absolute; transform: translateX(-50%); font-size: 10.5px; color: var(--dim); font-variant-numeric: tabular-nums; }

/* editing an open bet */
.bet.editing { border-left-color: var(--or); box-shadow: 0 0 0 1px rgba(255,106,0,.25), 0 10px 30px rgba(0,0,0,.35); }
.leg-rm { width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line2); color: var(--neg); font-weight: 700; line-height: 1; }
.leg-rm:hover:not([disabled]) { background: rgba(255,90,90,.12); border-color: var(--neg); }
.leg-rm[disabled] { opacity: .35; cursor: not-allowed; }
.leg-lock { font-size: 10.5px; color: var(--dim); border: 1px solid var(--line2); border-radius: 6px; padding: 2px 6px; }
.add-leg { margin-top: 10px; }
.edit-f { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.edit-f .fld { max-width: 130px; }
.lnk { color: var(--or2); text-decoration: underline; font-size: 12px; }

/* ---- Today */
.today-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 16px; margin-top: 16px; align-items: start; }
@media (max-width: 1000px) { .today-grid { grid-template-columns: minmax(0,1fr); } }
.today-row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px dashed var(--line); color: inherit; }
.today-row:last-child { border-bottom: 0; }
.today-row:hover { background: rgba(255,106,0,.05); }
.tr-main { flex: 1; min-width: 0; }
.tr-pick { text-align: right; white-space: nowrap; }
.tr-edge { min-width: 72px; text-align: right; display: grid; gap: 4px; justify-items: end; }
.mover { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px dashed var(--line); color: inherit; }
.mover:last-child { border-bottom: 0; }
.mv-ar { font-size: 14px; width: 16px; text-align: center; }
.mover .num:last-child { font-size: 12px; white-space: nowrap; }
/* ---- watchlist star */
.star { font-size: 22px; line-height: 1; color: var(--dim); vertical-align: 3px; margin-left: 6px; transition: transform .15s, color .15s; }
.star:hover { color: var(--or2); transform: scale(1.12); }
.star.on { color: var(--or); }
/* ---- closing line value */
.clv { font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.05); }
.kpis.kpis5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .kpis.kpis5 { grid-template-columns: repeat(2, 1fr); } }
/* ---- phones: bottom navigation + compact board */
.bnav { display: none; }
@media (max-width: 760px) {
  .top-in > .nav { display: none; }
  .bnav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: rgba(10,10,12,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line2); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bnav a { flex: 1; display: grid; justify-items: center; gap: 3px; font-size: 10.5px; color: var(--mute); padding: 4px 0; border-radius: 10px; }
  .bnav a svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
  .bnav a.on { color: var(--or); }
  body { padding-bottom: 72px; }
  .board th:nth-child(2), .board td:nth-child(2), .board th:nth-child(7), .board td:nth-child(7), .board th:nth-child(9), .board td:nth-child(9),
  .board th:nth-child(10), .board td:nth-child(10), .board th:nth-child(11), .board td:nth-child(11), .board th:nth-child(12), .board td:nth-child(12),
  .board th:nth-child(13), .board td:nth-child(13), .board th:nth-child(15), .board td:nth-child(15) { display: none; }
  .board { min-width: 0 !important; }
  .board .pmeta { font-size: 10.5px; }
  .tr-pick .dim { font-size: 11px !important; } /* keep the probability / price line: it is the only model number non-Pro users get here */
  .ctl-adv { display: none; }
  .today-row .ava { display: none; }
  .today-row .pmeta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .today-row { gap: 8px; }
  .board th:nth-child(5), .board td:nth-child(5), .board th:nth-child(14), .board td:nth-child(14) { display: none; }
  .board .pcell .ava { display: none; }
  .board th, .board td { padding-left: 6px !important; padding-right: 6px !important; }
  .board .pname { font-size: 12.5px; max-width: 98px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .board .line-in { width: 52px; }
  .board .mkt-sub { font-size: 0; margin-top: 3px; }
  .board .mkt-sub .mkt { font-size: 9px; }
  .board .pcell, .board .pcell > div { max-width: 98px; min-width: 0; }
  .board .pmeta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .board th { font-size: 9.5px; letter-spacing: .03em; }
  .board th:nth-child(16), .board td:nth-child(16) { display: none; }
  .board .ev + .diff { font-size: 10px; }
}

/* likely matchup */
.mu-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.mu-row:last-child { border-bottom: 0; }
.mu-role { width: 54px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.mu-stats { display: flex; gap: 14px; font-size: 12px; color: var(--mute); }
.mu-stats b { color: var(--text); font-size: 14px; }
@media (max-width: 760px) { .mu-stats { display: none; } .mu-role { width: auto; } }

/* zone hover link (table/finding row <-> court) */
svg.court .zc, svg.court .zl { transition: opacity .15s ease, filter .15s ease; }
svg.court.zfocus .zc:not(.z-on) { opacity: .22; }
svg.court.zfocus .zl:not(.z-on) { opacity: .35; }
svg.court .zc.z-on { filter: brightness(1.35) saturate(1.2); }
svg.court .zl.z-on rect { stroke: #ff6a00; stroke-width: 6; }
svg.court .zc { cursor: default; }
tr[data-z]:hover, tr.z-on, .find-row.z-on { background: rgba(255,106,0,.08); }
tr[data-z] td:first-child b { border-bottom: 1px dotted rgba(255,255,255,.25); }

/* Matchups > Shot zones: court beside the table */
.zt-wrap { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); gap: 16px; align-items: start; }
.zt-wrap .zone-key { position: sticky; top: 76px; }
@media (max-width: 1100px) { .zt-wrap { grid-template-columns: 1fr; } .zt-wrap .zone-key { position: static; max-width: 520px; } }
.zones-tbl th.z-on, .zones-tbl td.z-on { background: rgba(255,106,0,.1); }
.zones-tbl th[data-z] { cursor: help; }

/* head-to-head */
.h2h-pick { cursor: pointer; border-radius: 10px; padding-left: 8px; padding-right: 8px; }
.h2h-pick:hover { background: rgba(255,255,255,.03); }
.h2h-pick.on { background: rgba(255,106,0,.07); box-shadow: inset 3px 0 0 var(--or); }
.h2h { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.h2h-read { font-size: 13.5px; margin-bottom: 12px; line-height: 1.5; }
.h2h-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 760px) { .h2h-grid { grid-template-columns: 1fr; } }
.h2h-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.h2h-tbl th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); font-weight: 600; padding: 4px 6px; }
.h2h-tbl td { padding: 6px; border-top: 1px dashed var(--line); }
.h2h-tbl .rank-chip { font-size: 10px; padding: 1px 5px; margin-left: 4px; }
.h2h-team .rank-chip { font-size: 10px; padding: 1px 5px; margin-left: 4px; }
.h2h-meet { margin-top: 14px; }
.h2h-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.h2h-chips span { font-size: 12px; color: var(--mute); background: var(--card2); border: 1px solid var(--line2); border-radius: 8px; padding: 4px 8px; }
.h2h-chips b { color: var(--text); font-family: var(--mono); }

.mv-explain { font-size: 12.5px; line-height: 1.5; color: var(--muted, #a0a0aa); background: rgba(255,106,0,.06); border: 1px solid rgba(255,106,0,.18); border-radius: 10px; padding: 9px 11px; margin-bottom: 10px; }
.mv-r { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }

.chip.has-mkt { position: relative; }
.chip.has-mkt::after, .mkt-key i { content: ''; position: absolute; top: 4px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 6px rgba(61,220,132,.7); }
.mkt-key { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; margin-left: 6px; }
.mkt-key i { position: static; display: inline-block; }

.odds-pair { white-space: nowrap; }
.mkt-note { margin: -4px 0 6px; }

.board tr.est-div td { background: rgba(255,255,255,.03); color: var(--dim, #8d8d99); font-size: 12px; padding: 10px 14px; border-top: 1px solid var(--line2, #2a2a33); cursor: default; }
.board tr.est-div b { color: var(--text, #e8e8ee); margin-right: 2px; }
.board tr.est-row .ev { opacity: .55; }

/* dropdown menus: fully dark picker where the browser allows styling it (Chrome 135+); others keep the native dark menu */
@supports (appearance: base-select) {
  select, ::picker(select) { appearance: base-select; }
  select { gap: 6px; align-items: center; }
  select::picker-icon { color: var(--dim, #8d8d99); font-size: 10px; transition: rotate .15s; }
  select:open::picker-icon { rotate: 180deg; }
  ::picker(select) {
    background: #0d0d10; color: var(--text); border: 1px solid #2c2c35; border-radius: 12px; padding: 6px;
    box-shadow: 0 18px 50px rgba(0,0,0,.65); max-height: min(420px, 70vh); overflow-y: auto; margin-top: 6px;
    scrollbar-color: #3a3a46 transparent; scrollbar-width: thin;
  }
  select option { background: transparent; color: var(--text); padding: 7px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
  .ctl select option, select optgroup option { background: transparent; }
  select option:hover, select option:focus-visible { background: #1f1f26; outline: none; }
  select option:checked { background: rgba(255,106,0,.16); color: #ffb26b; font-weight: 600; }
  select option::checkmark { color: var(--or, #ff6a00); }
  select optgroup { background: transparent; color: var(--or2, #ff8a2b); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 10px 4px; }
  select optgroup option { text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 500; }
  select hr { border: 0; border-top: 1px solid #22222a; margin: 4px 0; }
}

/* dark scrollbars everywhere (no white tracks) */
html { scrollbar-color: #34343e #0b0b0e; }
* { scrollbar-color: #34343e transparent; }

/* ---------- top bar between phone and wide desktop: shrink in steps so nothing spills sideways */
.search { flex: 0 1 300px; min-width: 130px; }
#syncBtn .sync-t { display: inline; }
@media (max-width: 1640px) {
  .top-in { gap: 14px; }
  .nav a { padding: 8px 10px; }
  #syncBtn .sync-t { display: none; }
  #syncBtn { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 1500px) {
  .acct-mail { display: none; }
  .seg#leagueSeg button { padding-left: 9px; padding-right: 9px; }
}
@media (max-width: 1320px) {
  .top-in { gap: 10px; padding: 0 16px; }
  .logo .hx-word { display: none; }
  .nav a { padding: 8px 8px; font-size: 14px; }
  .top-in > #syncBtn { display: none; }
}
@media (max-width: 1120px) and (min-width: 761px) {
  .search { min-width: 0; flex: 1 1 0; }
  .top-in > .nav { min-width: 0; flex-shrink: 1; overflow-x: auto; scrollbar-width: none; }
}
@media (max-width: 1120px) and (min-width: 761px) {
  #leagueSeg { flex-shrink: 0; }
  #leagueSeg button[data-l="EL"] { font-size: 0; }
  #leagueSeg button[data-l="EL"]::after { content: 'EL'; font-size: 13px; }
  .nav a { padding: 8px 7px; font-size: 13.5px; }
  .top-in { gap: 8px; }
  #slipBtn { padding-left: 11px; padding-right: 11px; }
}
#leagueSeg { flex-shrink: 0; }
#leagueSeg button { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 1120px) and (min-width: 761px) {
  .top-in > .search { flex: 0 0 38px; min-width: 38px; height: 38px; }
  .search input { padding-right: 0; }
  .search input::placeholder { color: transparent; }
  .search:focus-within input { position: absolute; left: 0; top: 0; width: 260px; z-index: 60; background: var(--card2); }
  .search:focus-within svg { z-index: 61; }
  .search:focus-within input::placeholder { color: var(--dim); }
  .search-res { width: 260px; right: auto; }
  .nav a { padding: 8px 6px; }
  .top-in { gap: 6px; }
}
@media (max-width: 760px) { .top-in > .search { flex: 1 1 auto; min-width: 0; width: auto; } }

.btn.bell.on { border-color: rgba(255,106,0,.5); color: #ffb26b; }

.rec-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 18px; }
.rec-tile { background: var(--card); border: 1px solid var(--line2); border-radius: 14px; padding: 16px; display: grid; gap: 4px; }
.rec-tile b { font-size: 26px; color: var(--text); }
.rec-tile span { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 900px) { .rec-tiles { grid-template-columns: repeat(2, 1fr); } }
.matrix tr.rec-base td { color: var(--dim); font-style: italic; }

.av-card { margin-top: 16px; }
.av-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 6px; }
.av-grid .label { margin-bottom: 8px; }
.av-chip { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid var(--line2); border-radius: 10px; margin-bottom: 6px; font-size: 13.5px; }
.av-chip:hover { border-color: var(--or); }
.av-warn { border: 1px solid rgba(255,90,90,.4); background: rgba(255,90,90,.08); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; font-size: 13.5px; }
.av-note { border: 1px solid rgba(255,106,0,.25); background: rgba(255,106,0,.06); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; font-size: 13.5px; }
@media (max-width: 760px) { .av-grid { grid-template-columns: 1fr; } }

.cor-note { font-size: 12.5px; line-height: 1.55; }
.cor-pair { margin-top: 4px; }

.tr-why { font-size: 11.5px; color: var(--dim); margin-top: 3px; white-space: normal; line-height: 1.4; }
@media (max-width: 880px) and (min-width: 761px) { .top-in .nav a { padding: 8px 4px; font-size: 13px; } .logo-img-mark { width: 28px; height: 28px; } }
.rl-tbl td { vertical-align: middle; }
.rl-tbl tr { cursor: pointer; }
.mv-arrow { margin-left: 6px; font-size: 13px; cursor: help; align-self: center; }
.ln-move { font-size: 11px; font-family: var(--mono); white-space: nowrap; cursor: help; }
.ln-move.big { font-size: 12.5px; margin-left: 10px; align-self: center; }

/* game locked 2 min before tip-off */
.lock-pill { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #9a9aa6); border: 1px solid rgba(255,255,255,.14); vertical-align: middle; cursor: help; }

/* bet slip: saved confirmation */
#slipSave.saved, #slipSave.saved:disabled { background: #1f9d55; border-color: #1f9d55; color: #fff; opacity: 1; }
.slip-saved { margin-top: 10px; padding: 9px 12px; border-radius: 10px; font-size: 12.5px; background: rgba(61,220,132,.08); border: 1px solid rgba(61,220,132,.3); color: var(--text, #f4f4f6); }
.slip-saved a { text-decoration: none; font-weight: 600; margin-left: 2px; }

/* bet slip: bookmaker margin */
.vig-box { margin-bottom: 12px; padding: 10px 12px 4px; border: 1px solid var(--line2); border-radius: 10px; background: rgba(255,90,90,.035); }
.vig-box { padding: 8px 12px; }
.vig-box[open] { padding-bottom: 4px; }
.vig-h { display: flex; gap: 8px; align-items: center; font-size: 12.5px; cursor: pointer; list-style: none; }
.vig-h::-webkit-details-marker { display: none; }
.vig-sum { flex: 1; color: var(--muted, #9a9aa6); }
.vig-sum b { color: var(--text, #f4f4f6); font-family: var(--mono); }
.vig-sum b.neg { color: #ff6b6b; }
.vig-chev { color: var(--muted, #9a9aa6); transition: transform .15s; }
.vig-box[open] .vig-chev { transform: rotate(180deg); }
.vig-box[open] .vig-h { margin-bottom: 6px; }
.vig-steps { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; font-family: var(--mono); font-size: 11.5px; margin-bottom: 6px; }
.vig-step { padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.05); cursor: help; }
.vig-bar { height: 5px; border-radius: 3px; background: rgba(255,90,90,.35); overflow: hidden; margin-bottom: 4px; }
.vig-bar span { display: block; height: 100%; background: #3ddc84; }
.vig-box .kv { padding: 7px 0; font-size: 12.5px; }
.vig-box .kv:last-of-type { border-bottom: 0; }

/* ---------- player chart: filters, curved context line, game strip */
.cf-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -2px 0 10px; }
.cf-row .spacer { flex: 1; }
.cf-btn { display: inline-flex; align-items: center; gap: 6px; }
.cf-btn b { background: var(--or); color: #000; border-radius: 9px; padding: 0 6px; font-size: 10.5px; line-height: 16px; }
.cf-btn.on { border-color: var(--or); color: var(--or2); }
.fchip { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 3px 4px 3px 9px; border-radius: 999px; background: var(--orA, rgba(255,106,0,.14)); color: var(--or2); border: 1px solid rgba(255,106,0,.35); }
.fchip button { width: 18px; height: 18px; border-radius: 50%; color: var(--or2); line-height: 1; }
.fchip button:hover { background: rgba(255,106,0,.25); }
.cf-ov select { min-width: 150px; }
.cf-panel { border: 1px solid var(--line2); border-radius: 12px; background: var(--card2); padding: 12px 14px; margin-bottom: 12px; display: grid; gap: 14px; }
.cf-sec { display: grid; gap: 8px; }
.cf-help { font-size: 11.5px; line-height: 1.45; }
.cf-range { display: flex; align-items: center; gap: 10px; }
.cf-end { font-family: var(--mono); font-size: 11px; color: var(--muted, #9a9aa6); display: grid; text-align: center; line-height: 1.2; }
.cf-end small { font-family: var(--body, inherit); font-size: 9.5px; color: var(--dim); }
.dual { position: relative; flex: 1; height: 22px; }
.dual::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 2px; background: var(--line2); }
.dual-fill { position: absolute; top: 9px; height: 4px; border-radius: 2px; background: var(--or); }
.dual input { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.dual input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--or); cursor: grab; }
.dual input::-moz-range-thumb { pointer-events: auto; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--or); cursor: grab; }
.dual input::-webkit-slider-runnable-track, .dual input::-moz-range-track { background: none; }
.btn.or-b { border-color: rgba(255,106,0,.5); color: var(--or2); }
.ov-legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11.5px; margin-top: 6px; color: #e9ddcf; }
.ov-key { width: 18px; height: 2px; border-radius: 1px; background: #f3e6d6; box-shadow: 0 0 6px rgba(243,230,214,.7); }
.ovl-path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ovDraw 1s .35s cubic-bezier(.4,0,.2,1) forwards; }
.ovl-dot { opacity: 0; animation: ovFade .4s 1.1s forwards; }
@keyframes ovDraw { to { stroke-dashoffset: 0; } }
@keyframes ovFade { to { opacity: .95; } }
@media (prefers-reduced-motion: reduce) { .ovl-path { animation: none; stroke-dasharray: none; } .ovl-dot { animation: none; opacity: .95; } }
.pslate-wrap { margin: 4px 0 14px; }
.pslate-h { display: flex; align-items: center; gap: 10px; }
.pslate-h .spacer { flex: 1; }
.pslate-h .btn.sm { min-width: 30px; justify-content: center; font-size: 15px; padding: 2px 8px; }
.btn.dis { opacity: .35; pointer-events: none; }
.pslate { margin: 8px 0 0; }
.game.sm { min-width: 150px; padding: 8px 10px; }
.game.sm .gt { margin-bottom: 5px; font-size: 10.5px; }
.game.sm .tm { font-size: 12px; padding: 1px 0; }
.game.pick { border-color: #f3e6d6; }
.pslate-pick { margin-top: 8px; border: 1px solid var(--line2); border-radius: 12px; background: var(--card); padding: 12px 14px; }
.pp-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text); text-decoration: none; }
.pp-row:hover { background: var(--card2); }
.pp-row.on { background: var(--orA, rgba(255,106,0,.14)); color: var(--or2); }
.pp-row .dim { font-weight: 500; font-size: 12px; }
@media (max-width: 640px) { .pslate-h > .dim:first-of-type { display: none; } .cf-ov select { min-width: 0; } .cf-range .cf-end small { display: none; } }
.mates { display: flex; flex-wrap: wrap; gap: 6px; }
.mate { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); font-size: 12px; font-weight: 600; color: var(--text); }
.mate:hover { border-color: #5b5b66; }
.mate .dim { font-weight: 500; font-size: 11px; }
.mate i { font-style: normal; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 1px 5px; border-radius: 5px; }
.mate.w { border-color: rgba(61,220,132,.55); background: rgba(61,220,132,.08); }
.mate.w i { background: #3ddc84; color: #000; }
.mate.wo { border-color: rgba(255,106,0,.6); background: var(--orA, rgba(255,106,0,.12)); }
.mate.wo i { background: var(--or); color: #000; }
.mate-out { font-size: 9.5px; font-weight: 800; color: var(--or2); border: 1px solid rgba(255,106,0,.45); border-radius: 4px; padding: 0 4px; }
.fchip.wo { background: rgba(255,106,0,.2); }
/* share preview */
.share-m { width: 100%; }
.modal:has(.share-m) { max-width: 484px; }
.share-prev { display: block; width: 100%; max-height: 56vh; object-fit: contain; border-radius: 12px; border: 1px solid var(--line2); background: #0b0b0e; }
.share-acts { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.share-acts .btn { flex: 1; justify-content: center; display: inline-flex; align-items: center; gap: 6px; }
.share-opts { display: grid; gap: 7px; margin-top: 12px; font-size: 12.5px; }
.share-opts textarea, .share-opts input:not([type]) { width: 100%; box-sizing: border-box; background: var(--bg2, #121216); color: inherit; border: 1px solid var(--line2); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 13px; resize: none; }
.share-opts textarea:focus, .share-opts input:not([type]):focus { outline: none; border-color: var(--or, #ff6a00); }
.share-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.share-row input:not([type]) { flex: 1; min-width: 0; }
.share-row label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.share-row input[type=checkbox] { accent-color: #ff6a00; }
/* next-game hover: minutes + opponent ranks */
.tip-min { margin-top: 6px; font-size: 12px; }
.tip-rk { display: grid; grid-template-columns: 1fr auto auto; gap: 3px 10px; align-items: center; font-size: 12px; }
.tip-rk .num { text-align: right; color: #f4f4f6; }
.ovl-whisk { opacity: 0; animation: ovFade .4s 1.1s forwards; }
/* players like him vs the opponent */
.sim-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.sim-tile { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--card2); }
.sim-tile .v { font-family: var(--mono); font-size: 22px; font-weight: 700; margin: 4px 0 2px; }
.sim-tile .dim { font-size: 11.5px; }
.sim-tbl tbody tr { cursor: pointer; }
@media (max-width: 640px) { .sim-tiles { grid-template-columns: 1fr 1fr; } }
.sim-tbl th:nth-child(-n+3), .sim-tbl td:nth-child(-n+3) { text-align: left; }
/* game lines (spread / total) */
.gl-txt { font-family: var(--mono); font-size: 10.5px; color: var(--dim); margin-top: 5px; letter-spacing: .02em; }
.gl-box { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; margin-top: 8px; font-size: 12.5px; color: var(--muted, #9a9aa6); cursor: help; }
.gl-box b { color: var(--text, #f4f4f6); }
/* open (not played yet) legs: the dot breathes softly; same colour and size */
.li-dot { font-style: normal; animation: liPulse 1.8s ease-in-out infinite; }
@keyframes liPulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .li-dot { animation: none; } }

/* ---------- market feed freshness stamp (header, Pro) */
.feed-stamp { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; height: 34px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); font-size: 12.5px; color: var(--mute); white-space: nowrap; cursor: default; }
.feed-stamp[hidden] { display: none; }
.feed-stamp b { color: var(--text); font-weight: 600; font-family: var(--mono); font-size: 12px; letter-spacing: -.02em; }
.feed-stamp i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); flex-shrink: 0; }
.feed-stamp.ok i { background: var(--pos); box-shadow: 0 0 0 3px rgba(61, 220, 132, .15); }
.feed-stamp.warn { border-color: rgba(255, 194, 61, .4); } .feed-stamp.warn i { background: var(--warn); } .feed-stamp.warn b { color: var(--warn); }
.feed-stamp.stale { border-color: rgba(255, 90, 90, .45); background: rgba(255, 90, 90, .07); } .feed-stamp.stale i { background: var(--neg); } .feed-stamp.stale b { color: var(--neg); }
@media (max-width: 1500px) { .feed-stamp .fs-l { display: none; } .feed-stamp { padding: 0 9px; } }
@media (max-width: 760px) { .feed-stamp { height: 30px; font-size: 11.5px; } }

/* ---------- player status (out / doubtful) */
.pst { display: inline-flex; align-items: center; margin-left: 6px; padding: 1px 6px; border-radius: 5px; font: 800 10px/1.5 var(--sans); letter-spacing: .06em; vertical-align: middle; white-space: nowrap; cursor: default; }
.pst.out { color: #fff; background: rgba(255, 90, 90, .85); }
.pst.doubt { color: #1a1300; background: var(--warn); }
.phead .pn .pst { font-size: 12px; padding: 2px 8px; position: relative; top: -4px; }
.st-edit { vertical-align: middle; position: relative; top: -4px; margin-left: 4px; }
.mate.st-out { box-shadow: inset 3px 0 0 var(--neg); } .mate.st-doubt { box-shadow: inset 3px 0 0 var(--warn); }
.fchip.sug { cursor: pointer; border-style: dashed; border-color: rgba(255, 90, 90, .5); color: var(--text); background: rgba(255, 90, 90, .06); }
.fchip.sug b { color: var(--or2); font-weight: 600; }
.fchip.sug:hover { background: rgba(255, 90, 90, .12); }

/* ---------- My Bets breakdown */
.seg.sm button { padding: 4px 9px; font-size: 12px; }
#bdSeg { flex-wrap: wrap; }
.bd-wrap { overflow-x: auto; margin: 0 -4px; }
.bd-t { width: 100%; border-collapse: collapse; min-width: 460px; }
.bd-t th small { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--dim); margin-left: 3px; }
.bd-t td.num, .bd-t th:not(:first-child) { text-align: right; }
.bd-t .lock-cell { margin-left: auto; }
.bd-note { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--mute); }

/* ---------- first-run tour */
.guide { position: fixed; inset: 0; z-index: 1000; }
.guide-spot { position: fixed; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .68), 0 0 0 2px var(--or), 0 0 30px rgba(255, 106, 0, .35); pointer-events: none; transition: left .35s ease, top .35s ease, width .35s ease, height .35s ease; }
.guide-card { position: fixed; width: min(360px, calc(100vw - 16px)); background: var(--card2); border: 1px solid var(--line2); border-radius: 14px; padding: 16px 16px 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .55); transition: left .35s ease, top .35s ease; animation: tourIn .3s ease; }
.guide-step { font: 600 11px var(--mono); color: var(--dim); letter-spacing: .04em; }
.guide-t { font: 700 19px/1.2 var(--head); letter-spacing: -.02em; margin: 4px 0 6px; }
.guide-b { color: var(--mute); font-size: 13.5px; line-height: 1.55; }
.guide-f { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.guide-dots { display: flex; gap: 4px; margin-right: auto; }
.guide-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line2); transition: background .2s, width .2s; }
.guide-dots i.on { background: var(--or); width: 16px; border-radius: 3px; }
.guide-skip { color: var(--dim); font-size: 12.5px; padding: 4px 6px; }
.guide-skip:hover { color: var(--text); }
@keyframes tourIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .guide-spot, .guide-card { transition: none; animation: none; } }
.guide-skip { text-decoration: none; }
.fchip.sug.none { cursor: default; } .fchip.sug.none:hover { background: rgba(255, 90, 90, .06); }


/* chart filter quick ranges: the next-opponent choice keeps orange text, the active choice is filled */
.btn.cf-like { color: var(--or2); }
.btn.cf-q.on { background: var(--or); border-color: var(--or); color: #0a0a0a; box-shadow: 0 4px 16px rgba(255, 106, 0, .3); }

/* player page on phones: the chart card may not push the page wider than the screen */
.grid2 > * { min-width: 0; }
@media (max-width: 760px) { #rangeSeg, #filtSeg { flex-wrap: wrap; } }

/* ---------- player shooting card */
.sh-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 18px 0; }
.sh-title { font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.sh-title small { display: block; color: var(--dim); font: 500 12.5px var(--sans); margin-top: 3px; letter-spacing: 0; }
.sh-ctrl { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; min-width: 0; }
.sh-gsel select { height: 34px; }
.sh-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; padding: 16px 18px 18px; }
.sh-court .sc { display: block; border-radius: 12px; }
.sh-empty { display: grid; place-items: center; height: 280px; border: 1px dashed var(--line2); border-radius: 12px; color: var(--dim); }
.sh-legend { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: var(--mute); }
.sh-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.sh-legend .x { font-style: normal; color: #6d6d7c; font-weight: 700; margin-right: 6px; }
.sh-grad { display: inline-block; width: 120px; height: 8px; border-radius: 6px; background: linear-gradient(90deg, #26262e, #5b5b66, #ff6a00); vertical-align: middle; margin: 0 6px; }
.sh-note { font-size: 12px; color: var(--dim); margin-top: 8px; }
.sh-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sh-tile { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 10px; min-width: 0; }
.sh-tile .v { font: 700 22px var(--mono); letter-spacing: -.03em; }
.sh-tile .k { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-weight: 600; margin-top: 2px; }
.sh-tile .d { font-size: 11.5px; color: var(--mute); margin-top: 4px; }
.sh-sec { margin-top: 16px; }
.sh-sec .label { margin-bottom: 8px; display: flex; justify-content: space-between; }
.mz { display: grid; gap: 6px; }
.mz-row, .mz-h { display: grid; grid-template-columns: 128px 1fr 1fr; gap: 10px; align-items: center; }
.mz-row { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 12.5px; }
.mz-row .z b { display: block; font-weight: 600; } .mz-row .z span { color: var(--dim); font-size: 11.5px; }
.mz-h { font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .07em; padding: 0 10px 4px; }
.mz-bar { position: relative; height: 22px; background: #15151a; border-radius: 6px; overflow: hidden; }
.mz-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; }
.mz-bar em { position: absolute; top: -2px; bottom: -2px; width: 2px; background: #f4f4f6; opacity: .75; }
.mz-bar span { position: absolute; left: 8px; top: 3px; font: 600 11.5px var(--mono); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.mz-verdict { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--mute); }
.mz-verdict b { color: var(--text); }
.src-h, .src-r { display: grid; grid-template-columns: 130px minmax(0, 1fr) 84px 104px; align-items: center; gap: 12px; }
.src-h.solo, .src-r.solo { grid-template-columns: 130px minmax(0, 1fr) 84px; }
.src-h { margin-top: 14px; padding-bottom: 6px; font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.src-h span:nth-child(n+3) { text-align: right; } .src-h span:nth-child(4) { text-align: center; }
.src-r { padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.src-n { font-weight: 600; }
.src-bar { position: relative; height: 6px; border-radius: 5px; background: #24242c; margin: 0 4px; }
.src-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: linear-gradient(90deg, rgba(255,122,26,.35), rgba(255,160,77,.55)); box-shadow: 0 0 18px rgba(255,122,26,.25); }
.src-bar b { position: absolute; top: -5px; width: 4px; height: 16px; margin-left: -2px; border-radius: 3px; background: var(--or2); box-shadow: 0 0 10px rgba(255,140,40,.7); }
.src-v { text-align: right; font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }
.src-v em { font-style: normal; color: var(--mute); margin-left: 4px; }
.src-rk { justify-self: center; font: 600 11.5px var(--mono); padding: 3px 8px; border-radius: 6px; background: #22222a; color: var(--text); white-space: nowrap; }
.src-rk.pos { background: rgba(46, 204, 113, .14); color: #4ade80; } .src-rk.neg { background: rgba(239, 68, 68, .14); color: #f87171; }
.src-verdict { padding: 10px 12px; border-radius: 10px; background: var(--card2); color: var(--text); }
.src-verdict b.pos { color: #4ade80; } .src-verdict b.neg { color: #f87171; }
.src-note { margin-top: 8px; font-size: 11.5px; color: var(--mute); }
.src-card { padding-bottom: 16px; } .src-card > .src-h, .src-card > .src-r, .src-card > .mz-verdict, .src-card > .src-note, .src-card > .opp-lock { margin-left: 18px; margin-right: 18px; }
@media (max-width: 560px) { .src-h, .src-r { grid-template-columns: 96px minmax(0, 1fr) 70px 86px; gap: 8px; } .src-h.solo, .src-r.solo { grid-template-columns: 96px minmax(0, 1fr) 70px; } .src-r { font-size: 12.5px; } .src-h span:nth-child(2) { visibility: hidden; } }
.sh-trendbox { padding: 0 18px 18px; }
.sh-trendbox .label { margin-bottom: 6px; }
.sh-trendwrap { overflow-x: auto; scrollbar-width: none; }
.tr-legend { display: flex; gap: 14px; font-size: 12px; color: var(--mute); margin-top: 6px; }
.tr-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lock-tag { font: 700 10px var(--sans); letter-spacing: .08em; color: var(--or2); border: 1px solid rgba(255,106,0,.45); border-radius: 5px; padding: 1px 5px; margin-left: 4px; }
@media (max-width: 980px) { .sh-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .sh-top { padding: 12px 12px 0; } .sh-grid { padding: 12px; } .sh-trendbox { padding: 0 12px 14px; }
  .sh-ctrl { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .sh-ctrl > * { flex-shrink: 0; }
  .sh-tiles { grid-template-columns: repeat(2, 1fr); } .sh-tile .v { font-size: 19px; }
  .mz-row, .mz-h { grid-template-columns: 96px 1fr 1fr; }
  .sh-trendwrap svg { min-width: 640px; }
}

/* ---------- player rebounding card */
.rb-card .cap { font-size: 12px; color: var(--mute); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; }
.rb-card .cap b { color: var(--text); font-weight: 600; }
.rb-opp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rb-opp .sh-tile .v { font-size: 19px; }
.rk { font: 600 10.5px var(--mono); padding: 1px 6px; border-radius: 5px; margin-left: 6px; vertical-align: 3px; }
.rk.g { color: #0a0a0a; background: var(--or); } .rk.m { color: var(--text); background: #2a2a33; } .rk.b { color: var(--mute); background: #17171c; }
.sh-scale { white-space: nowrap; }
@media (max-width: 760px) { .rb-opp { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .court-pl table.matrix { display: block; overflow-x: auto; scrollbar-width: none; } .court-pl svg.court { max-width: 100%; } }

/* ---------- back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--or); background: var(--card2); border: 1px solid var(--line2); box-shadow: 0 10px 30px rgba(0,0,0,.45); cursor: pointer; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s, border-color .2s, background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--or); background: var(--orA); }
.to-top:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
@media (max-width: 760px) { .to-top { right: 14px; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* My Bets: monthly P/L tiles */
.mo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.mo-tile { background: var(--card2); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 8px; text-align: center; }
.mo-tile.best { border-color: rgba(255,106,0,.55); box-shadow: inset 0 0 0 1px rgba(255,106,0,.2); }
.mo-l { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--mute); }
.mo-v { font-size: 15px; font-weight: 700; margin-top: 4px; }

/* player page: Takeaway */
.tk-card { margin-bottom: 16px; border-left: 3px solid var(--or); }
.tk-side { font-size: 13px; margin-left: 8px; font-weight: 700; }
.tk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tk-li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; line-height: 1.45; }
.tk-ic { color: var(--or); font-size: 11px; flex: none; width: 12px; }
.tk-li.but { color: var(--mute); }
.tk-li.but .tk-ic { color: var(--mute); }
.tk-lock { margin-top: 10px; }

/* bet slip: player opens his page on that stat */
.leg-p { color: inherit; border-radius: 10px; margin: -4px; padding: 4px; }
.leg-p:hover .pname { color: var(--or); }
.leg-p:hover { background: rgba(255,106,0,.06); }

/* Team Matchups: Game matchup (offense vs defense percentiles) */
  .gm-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 20px 0; }
  .gm-teams { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 700; font-size: 20px; }
  .gm-teams img { width: 30px; height: 30px; object-fit: contain; }
  .gm-teams .vs { color: var(--mute); font-size: 14px; font-weight: 600; }
  .gm-sub { color: var(--mute); font-size: 12.5px; margin-top: 4px; }
  .gm-b { padding: 16px 20px 20px; }
  .gm-cols { display: grid; grid-template-columns: minmax(0,1fr) 150px minmax(0,1fr); gap: 0 14px; align-items: stretch; }
  .gm-lbl { display: flex; flex-direction: column; justify-content: center; align-items: center; }
  .gm-colh { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding-bottom: 10px; }
  .gm-colh.l { text-align: right; } .gm-colh.c { text-align: center; }
  .gm-row { display: contents; }
  .gm-cell { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); min-width: 0; }
  .gm-cell.l { flex-direction: row-reverse; }
  .gm-lbl { text-align: center; font-size: 13px; font-weight: 600; padding: 7px 0; border-top: 1px solid var(--line); line-height: 1.2; }
  .gm-lbl small { display: block; text-align: center; color: var(--mute); font-weight: 500; font-size: 11px; margin-top: 2px; }
  .gm-track { flex: 1; height: 12px; background: var(--card3); border-radius: 6px; overflow: hidden; display: flex; }
  .gm-cell.l .gm-track { justify-content: flex-end; }
  .gm-bar { height: 100%; border-radius: 6px; background: #5b5b66; }
  .gm-bar.hi { background: linear-gradient(90deg, var(--or), var(--or2)); }
  .gm-v { font-family: var(--mono); font-size: 12.5px; font-weight: 600; min-width: 52px; }
  .gm-cell.l .gm-v { text-align: left; } .gm-cell.r .gm-v { text-align: right; }
  .gm-rk { font-family: var(--mono); font-size: 11px; color: var(--mute); min-width: 28px; }
  .gm-cell.l .gm-rk { text-align: left; }
  .gm-edge .gm-lbl { color: var(--or); }
  .gm-mark { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #0a0a0a; background: var(--or); border-radius: 5px; padding: 2px 5px; margin-left: 4px; vertical-align: 1px; }
  .gm-mark.t { background: #3a3a44; color: var(--text); }
  .gm-notes { margin-top: 16px; display: grid; gap: 8px; }
  .gm-note { display: flex; gap: 10px; align-items: baseline; font-size: 14px; line-height: 1.45; }
  .gm-note .ic { color: var(--or); font-size: 11px; width: 12px; flex: none; }
  .gm-note.t .ic { color: var(--mute); }
  .gm-note a { color: var(--or2); white-space: nowrap; font-size: 12.5px; margin-left: 6px; }
  .gm-legend { color: var(--mute); font-size: 12px; margin-top: 14px; }
  @media (max-width: 640px) {
    .gm-cols { grid-template-columns: minmax(0,1fr) 92px minmax(0,1fr); gap: 0 8px; }
    .gm-v { min-width: 40px; font-size: 11.5px; } .gm-rk { display: none; }
    .gm-lbl { font-size: 12px; } .gm-lbl small { display: none; }
  }

/* Team Matchups: the view switcher scrolls sideways on phones instead of widening the page */
#muV { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
#muV::-webkit-scrollbar { display: none; }
#muV button { flex: none; }

/* Fantasy (projected PIR for the next EuroLeague round) */
.fx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
@media (max-width: 900px) { .fx-tiles { grid-template-columns: minmax(0, 1fr); } }
.fx-tile { padding: 14px 16px; }
.fx-th { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.fx-th .dim { text-transform: none; letter-spacing: 0; font-weight: 600; }
.fx-li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); color: inherit; }
.fx-li:first-of-type { border-top: 0; }
.fx-li:hover .pname { color: var(--or2); }
.fx-li .ava { width: 32px; height: 32px; font-size: 11px; }
.fx-li .nm { flex: 1; min-width: 0; }
.fx-li .nm .pname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-li .nm small { color: var(--mute); font-size: 11.5px; }
.fx-li b { color: var(--or); font-size: 15px; }
.fx-bar { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 16px 18px 12px; flex-wrap: wrap; }
.fx-bar .seg { max-width: 100%; overflow-x: auto; }
.fx-wrap { overflow-x: auto; }
.fx-opp { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.fx-proj { font-weight: 700; font-size: 16px; color: var(--or); }
.fx-mu { font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.fx-mu.soft { background: var(--orA); color: var(--or2); }
.fx-mu.mid { background: var(--card3); color: var(--mute); }
.fx-mu.hard { color: var(--dim); border: 1px solid var(--line2); }
.fx-rng { display: flex; align-items: center; gap: 8px; justify-content: flex-end; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.fx-rng > span { min-width: 30px; }
.fx-trk { position: relative; width: 100px; height: 8px; background: var(--card3); border-radius: 4px; flex: 0 0 auto; }
.fx-trk i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, rgba(255,106,0,.35), var(--or)); }
.fx-trk b { position: absolute; top: -3px; width: 2px; height: 14px; margin-left: -1px; background: var(--text); border-radius: 1px; }
.fx-dbl { font-size: 10px; font-weight: 700; background: var(--or); color: #0a0a0a; border-radius: 5px; padding: 2px 5px; letter-spacing: .05em; margin-left: 6px; vertical-align: 1px; }
.fx-tbl tr.fx-out td { opacity: .45; }
/* small (i) next to a card title: hover or tap for a short explanation */
.info-i { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-left: 6px; border-radius: 50%; border: 1px solid var(--line2); color: var(--mute); font: 700 10px/1 var(--mono); font-style: normal; cursor: help; vertical-align: 2px; transition: color .15s, border-color .15s; }
.info-i:hover, .info-i:focus { color: var(--or); border-color: var(--or); outline: none; }
.nowrap { white-space: nowrap; }
.info-i { position: relative; }
.info-i::after { content: ''; position: absolute; inset: -13px; } /* bigger tap area on phones */
/* small − value + stepper (games range, minutes filter) */
.nstep { display: inline-flex; align-items: center; background: var(--card); border: 1px solid var(--line2); border-radius: 10px; padding: 3px; gap: 2px; }
.nstep button { width: 26px; height: 26px; border-radius: 7px; color: var(--mute); font-size: 16px; line-height: 1; }
.nstep button:hover { color: var(--or); background: var(--card3); }
.nstep span { min-width: 34px; text-align: center; font-family: var(--mono); font-weight: 700; font-size: 12.5px; color: var(--mute); }
.nstep.on { border-color: var(--or); }
.nstep.on span { color: var(--or); }
.fchip button[data-min] { font-size: 13px; }

/* matchup court table: zones he never shoots from, at the bottom */
tr.z-none td { opacity: .5; }
tr.z-none td:first-child b { font-weight: 500; }
.z-note { font-size: 11px; white-space: nowrap; }

/* My Bets: profit curve marks + hover */
.plw { position: relative; touch-action: pan-y; }
.plw svg { display: block; }
.pl-dot { position: absolute; transform: translate(-50%, -50%); width: 11px; height: 11px; border-radius: 50%; border: 2px solid #09090b; cursor: help; z-index: 2; }
.pl-dot::after { content: ''; position: absolute; inset: -9px; }
.pl-dot.peak { background: var(--or); box-shadow: 0 0 0 3px rgba(255,106,0,.25); }
.pl-dot.low { background: var(--neg); box-shadow: 0 0 0 3px rgba(255,90,90,.2); }
.pl-dot.now { background: var(--text); }
.pl-tag { position: absolute; transform: translate(-50%, -22px); font-family: var(--mono); font-size: 10px; font-weight: 700; pointer-events: none; }
.pl-tag.peak { color: var(--or); } .pl-tag.low { color: var(--neg); transform: translate(-50%, 10px); }
.pl-guide, .pl-hdot, .pl-tip { display: none; }
.plw.hov .pl-guide { display: block; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.18); pointer-events: none; }
.plw.hov .pl-hdot { display: block; position: absolute; transform: translate(-50%, -50%); width: 9px; height: 9px; border-radius: 50%; background: var(--text); border: 2px solid #09090b; pointer-events: none; }
.plw.hov .pl-tip { display: block; position: absolute; width: 236px; background: #141418; border: 1px solid var(--line2); border-radius: 10px; padding: 9px 11px; font-size: 12.5px; line-height: 1.45; box-shadow: 0 10px 30px rgba(0,0,0,.5); pointer-events: none; z-index: 3; }
.pt-h { font-size: 11px; color: var(--mute); font-weight: 700; letter-spacing: .03em; margin-bottom: 1px; }
.pt-h.or { color: var(--or); } .pt-h.neg { color: var(--neg); }
.pt-r { display: flex; justify-content: space-between; gap: 10px; }
.pt-f { margin-top: 3px; padding-top: 3px; border-top: 1px solid var(--line); }
/* My Bets: month tiles open a day calendar */
.mo-tile[data-mo] { cursor: pointer; }
.mo-tile.sel { border-color: var(--or); background: rgba(255,106,0,.07); }
.cal { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.cal-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.cal-h b { font-family: var(--head); font-size: 15px; }
.cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-wd { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--dim); text-align: center; }
.cal-d { height: 46px; border-radius: 8px; background: var(--card2); border: 1px solid var(--line); padding: 5px 6px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.cal-d.has { cursor: help; }
.cal-d .dn { font-size: 10.5px; color: rgba(255,255,255,.55); font-weight: 600; }
.cal-d .dv { font-family: var(--mono); font-size: 12px; font-weight: 700; text-align: right; white-space: nowrap; overflow: hidden; }
.cal-d.empty { background: transparent; border-color: transparent; }
.cal-d.today { outline: 1px solid var(--or); outline-offset: 1px; }
.cal-d.pick { cursor: pointer; }
.cal-b { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; min-width: 0; }
.cal-b .cn { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.62); white-space: nowrap; }
.cal-b .dv { min-width: 0; }
@media (max-width: 560px) { .cal-d { height: 50px; } .cal-b { flex-direction: column; align-items: flex-end; gap: 0; } .cal-b .cn { font-size: 9.5px; } }
.cal-d.pick:hover { filter: brightness(1.15); }
.cal-d.sel { box-shadow: 0 0 0 2px var(--or); }
.mo-c + .mo-c { margin-top: 1px; }
.mo-c { margin-top: 3px; font-size: 10.5px; color: var(--mute); font-family: var(--mono); white-space: nowrap; }
.cb { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.cb-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.cb-h > b { font-size: 15px; }
.cb-h .x { margin-left: auto; }
.cb-s { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--mute); }
.cb-s b { font-family: var(--mono); }
.cb-d { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0 4px; font-size: 13px; }
.cb-r { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; background: var(--card2); margin-top: 4px; font-size: 13px; }
.cb-ic { width: 14px; text-align: center; font-weight: 800; }
.cb-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-r .num { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.cb-p { min-width: 62px; text-align: right; font-weight: 700; }
@media (max-width: 560px) { .cb-r .num.dim { display: none; } }
.cal-sum { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--mute); }
.cal-sum b { color: var(--text); font-family: var(--mono); }
@media (max-width: 560px) { .cal-g { gap: 4px; } .cal-d { height: 50px; padding: 3px 4px; } .cal-d .dv { font-size: 10px; } }

/* ---------- Live */
.lv-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 8px #ff3b3b; margin-right: 6px; vertical-align: 1px; animation: blink 1.6s infinite; }
.lv-strip { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 6px; margin-top: 16px; }
.lv-g { flex: 0 0 200px; text-align: left; background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.lv-g.on { border-color: var(--or); box-shadow: 0 0 0 1px rgba(255,106,0,.25); }
.lv-g .st { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--mute); margin-bottom: 6px; }
.lv-g .st .live { color: #ff5a5a; } .lv-g .st .fin { color: var(--dim); }
.lv-g .tm { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; padding: 2px 0; }
.lv-g .tm .sc { margin-left: auto; font-family: var(--mono); font-weight: 700; font-size: 15px; color: var(--mute); }
.lv-g .tm.lead .sc { color: var(--text); }
.lv-head { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.lv-team { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 700; font-size: 20px; min-width: 0; }
.lv-team.r { flex-direction: row-reverse; text-align: right; }
.lv-team .short { display: none; }
.lv-score { text-align: center; flex: 0 0 auto; }
.lv-score .s { font-weight: 700; font-size: 36px; letter-spacing: -1px; }
.lv-score .q { font-weight: 700; font-size: 12px; letter-spacing: .06em; color: var(--mute); }
.lv-score .q.live { color: #ff5a5a; } .lv-score .q.fin { color: var(--dim); }
.qtrs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; font-size: 11.5px; color: var(--mute); font-family: var(--mono); margin-top: 6px; }
.lv-next { display: grid; gap: 8px; margin-top: 18px; justify-items: center; font-size: 13px; }
.bl-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.bl-row:first-child { border-top: 0; }
.bl-row .who { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; }
.bl-row .who:hover .pname { color: var(--or2); }
.bl-row .who .ava { width: 32px; height: 32px; font-size: 11px; }
.bl-row .pick { font-size: 12px; color: var(--mute); }
.bar { position: relative; height: 10px; background: var(--card3); border-radius: 5px; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: linear-gradient(90deg, rgba(255,106,0,.45), var(--or)); }
.bar i.done { background: linear-gradient(90deg, rgba(61,220,132,.5), var(--pos)); }
.bar i.bad { background: linear-gradient(90deg, rgba(255,90,90,.35), var(--neg)); }
.bar b { position: absolute; top: -4px; width: 2px; height: 18px; margin-left: -1px; background: var(--text); border-radius: 1px; }
.bar-l { position: relative; height: 15px; font-size: 11px; color: var(--mute); margin-top: 5px; font-family: var(--mono); }
.bar-l .ln { position: absolute; top: 0; transform: translateX(-50%); color: var(--text); white-space: nowrap; }
.bl-st { text-align: right; min-width: 92px; }
.bl-st .v { font-weight: 700; font-size: 18px; }
.bl-st .s { font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.chip-ok { color: var(--pos); } .chip-run { color: var(--or); } .chip-bad { color: var(--neg); }
.warn { font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; background: rgba(255,90,90,.12); color: var(--neg); margin-left: 6px; white-space: nowrap; }
.par { margin-top: 8px; padding: 9px 12px; border-radius: 10px; background: var(--card2); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.par-r { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.legs { display: flex; gap: 5px; }
.legs span { width: 22px; height: 6px; border-radius: 3px; background: var(--card3); }
.legs span.ok { background: var(--pos); } .legs span.run { background: var(--or); } .legs span.bad { background: var(--neg); }
.bx-sw { display: none; margin-top: 16px; width: max-content; }
.bx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.bx-wrap { overflow-x: auto; padding: 4px 12px 8px; }
.bx { width: 100%; border-collapse: collapse; font-size: 13px; }
.bx th { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 600; text-align: right; padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.bx th:first-child, .bx td:first-child { text-align: left; }
.bx td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: right; font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.bx td:first-child { font-family: var(--sans); }
.bx tr[data-href] { cursor: pointer; } .bx tr[data-href]:hover .full, .bx tr[data-href]:hover .short { color: var(--or2); }
.bx tr.off td { color: var(--dim); }
/* players in your bets: orange tint + bar, the bet's stat boxed */
.bx tr.mine td { background: rgba(255, 106, 0, .07); }
.bx tr.mine td:first-child { box-shadow: inset 3px 0 0 var(--or); }
.bx tr.mine .full, .bx tr.mine .short { color: var(--or3); }
.bx td.bet .vl { outline: 1px solid var(--orB); outline-offset: 3px; border-radius: 4px; }
.bx .mytag { margin-left: 6px; font-size: 9px; letter-spacing: .08em; font-weight: 700; color: var(--or); font-family: var(--mono); }
.bx .pn { display: flex; align-items: center; gap: 8px; }
.bx .pn .ava { width: 26px; height: 26px; font-size: 10px; }
.bx .short { display: none; }
.vl { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.vl small { font-size: 10.5px; color: var(--mute); font-weight: 500; }
.vl .hit { color: var(--pos); }
.pf4 { color: var(--neg); }
@media (max-width: 700px) {
  .lv-head { padding: 14px; gap: 8px; }
  .lv-team, .lv-team.r { flex-direction: column; gap: 6px; font-size: 15px; text-align: center; }
  .lv-team .full { display: none; } .lv-team .short { display: inline; }
  .lv-score .s { font-size: 30px; white-space: nowrap; }
  .qtrs { gap: 8px; font-size: 10.5px; }
  .lv-g { flex-basis: 175px; }
  .bl-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
  .bl-row > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .par { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 12.5px; }
  .bx-sw { display: flex; }
  .bx-grid { grid-template-columns: minmax(0, 1fr); }
  .bx-card:not(.sel) { display: none; }
  .bx-key { display: none; }
  .bx-wrap { padding: 4px 6px 8px; }
  .bx .pn .ava { display: none; }
  .bx .full { display: none; } .bx .short { display: inline; }
  .bx { font-size: 12px; } .bx td, .bx th { padding: 7px 4px; } .vl small { font-size: 9.5px; }
}
@media (max-width: 700px) {
  .bx td, .bx th { padding: 7px 3px; } .bx { font-size: 11.5px; } .vl small { font-size: 9px; letter-spacing: -.02em; }
  .bl-hint { display: none; }
  .lv-score .qtrs { max-width: 150px; margin-left: auto; margin-right: auto; gap: 2px 8px; }
}
/* player-vs-opponent matchup views, locked (Free / visitors, players not open) */
.opp-lock { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 22px 16px; margin-top: 12px; border: 1px dashed var(--line); border-radius: 12px; cursor: pointer; font-size: 12.5px; }
.opp-lock .dim { max-width: 420px; }

/* legal links: app footer, sign-in modal */
.sf-law { margin-top: 6px; } .sf-law a { color: var(--mute); font-size: 12px; }
.modal-law { font-size: 11.5px; color: var(--mute); text-align: center; margin-top: 12px; line-height: 1.5; } .modal-law a { color: var(--or2); }

/* delete account */
.am-del { color: var(--neg) !important; }
.del-list { font-size: 13px; color: var(--mute); margin: 14px 0; line-height: 1.55; } .del-list ul { margin: 6px 0 8px 18px; color: var(--text); }
.del-btn { background: var(--neg); color: #fff; border-color: var(--neg); } .del-btn:disabled { opacity: .6; }

/* My Bets list: date menu, day picker, search */
.bf-day, .bf-q { background: var(--bg2, #111); color: var(--text); border: 1px solid var(--line2); border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 13px; color-scheme: dark; }
.bf-q { min-width: 170px; flex: 1 1 170px; max-width: 260px; }

/* chart range / filter buttons that are Pro (H2H, Home, Away) */
.seg button.pro-lock { opacity: .55; }
.seg button.pro-lock::after { content: ''; display: inline-block; width: 9px; height: 9px; margin-left: 5px; vertical-align: -1px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/contain no-repeat; }
/* phone overflow fixes: long lock lines wrap; single-column grids may shrink below their content's min width */
.locked-box .lock-cell, .opp-lock .lock-cell { white-space: normal; max-width: 100%; text-align: center; justify-content: center; }
@media (max-width: 760px) { .team-grid { grid-template-columns: minmax(0, 1fr); } .team-grid > * { min-width: 0; } }
@media (max-width: 1100px) { .zt-wrap { grid-template-columns: minmax(0, 1fr); } .zt-wrap > * { min-width: 0; } }

/* Spanish league tag (brand orange, lighter) */
.lg-ACB { background: rgba(255,178,107,.13); color: var(--or3); }

/* Compare: players side by side */
.cmp .card-b { padding: 6px 14px 12px; overflow-x: auto; }
.cmp-row { display: grid; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); min-width: 520px; }
.cmp-row:last-child { border-bottom: 0; }
.cmp-top { align-items: start; }
.cmp-l { font-size: 12px; color: var(--mute); font-weight: 600; }
.cmp-cell { position: relative; padding: 6px 10px; border-radius: 10px; font-size: 13px; }
.cmp-cell.best { background: rgba(255,106,0,.1); box-shadow: inset 0 0 0 1px rgba(255,106,0,.35); }
.cmp-cell.best b { color: var(--or2); }
.cmp-head { display: flex; gap: 10px; align-items: center; color: inherit; }
.cmp-head .pname { font-weight: 700; }
.cmp-head .pmeta { font-size: 11.5px; color: var(--mute); margin-top: 2px; }
.cmp-x { position: absolute; top: 2px; right: 4px; background: none; border: 0; color: var(--mute); font-size: 16px; cursor: pointer; }
.cmp-x:hover { color: var(--text); }
.cmp-add { position: relative; }
.cmp-add input { width: 100%; background: var(--card2); color: var(--text); border: 1px dashed var(--line2); border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 12.5px; }
.cmp-add .search-res { top: 40px; width: 300px; z-index: 20; }
.cmp-chart { display: block; }

.cmp-btn { background: var(--card2); border: 1px solid var(--line2); color: var(--mute); border-radius: 8px; width: 28px; height: 28px; font-size: 14px; line-height: 1; cursor: pointer; flex: none; }
.cmp-btn:hover { color: var(--or2); border-color: rgba(255,106,0,.5); }
.pname .cmp-btn { width: 22px; height: 22px; font-size: 12px; margin-left: 6px; vertical-align: middle; }
.cmp { --cmpl: 150px; }
@media (max-width: 640px) {
  .cmp { --cmpl: 92px; }
  .cmp .card-b { padding: 4px 10px 10px; }
  .cmp-row { min-width: 0; width: max-content; gap: 8px; }
  .cmp-l { position: sticky; left: 0; background: var(--card); z-index: 2; font-size: 11.5px; }
  .cmp-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cmp-add .search-res { width: 260px; }
}

/* prices: notes + trial */
.price .pnote { font-size: 11px; color: var(--mute); margin-top: 4px; line-height: 1.35; }
.trial-note { margin: 10px 0 4px; font-size: 12.5px; color: var(--or2); font-weight: 600; }
.plan .trial-note { margin-top: 8px; }

.trial-box { margin: 10px 0 4px; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; line-height: 1.45; background: rgba(255,106,0,.08); border: 1px solid rgba(255,106,0,.3); }
.trial-box b { color: var(--or2); }

/* my book's line: the market moved since you typed it */
.mv-chip { font-family: var(--mono); font-size: 10.5px; color: #ffb36b; margin-top: 4px; white-space: nowrap; cursor: help; }
.mv-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; background: rgba(255,106,0,.09); border: 1px solid rgba(255,106,0,.35); }
.mv-banner b { color: var(--or2); }

.matrix tr.few td { color: var(--mute); }

.mkt-sub.mkt-back { cursor: pointer; }
.mkt-sub.mkt-back:hover { color: var(--or2); }

/* ---------- week awards (Today) */
.aw-card { margin-top: 16px; }
.aw-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 12px; }
.aw-grid .aw-tile.main { grid-row: span 2; }
@media (max-width: 900px) { .aw-grid { grid-template-columns: minmax(0,1fr); } }
.aw-tile { background: var(--card2); border: 1px solid var(--line); border-radius: var(--r2); padding: 14px 16px; min-width: 0; }
.aw-tile.main { border-color: var(--orB); }
.aw-lab { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--or2); font-weight: 600; }
.aw-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 10px; }
.aw-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.aw-name { font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; min-width: 0; }
.aw-name a:hover { color: var(--or); }
.aw-big { font-size: 28px; font-weight: 700; color: var(--or); line-height: 1; }
.aw-line { font-size: 12.5px; margin-top: 10px; }
.aw-ru { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; padding: 6px 0 0; margin-top: 6px; border-top: 1px solid var(--line); }
.aw-ru a:hover { color: var(--or); }
.aw-logo { width: 22px; height: 22px; object-fit: contain; }
.aw-nav .btn[disabled] { opacity: .35; pointer-events: none; }
.aw-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--card3); margin: 14px 0 7px; }
.aw-bar i { display: block; height: 100%; }
.aw-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--mute); }
.aw-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.aw-legend b { color: var(--text); font-weight: 600; }
.aw-cells { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.aw-cells.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.aw-cell { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 11.5px; }
.aw-cell b { font-size: 15px; color: var(--text); }
@media (max-width: 520px) { .aw-cells { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.aw-big.pos { color: var(--pos); } .aw-big.neg { color: var(--neg); }
.aw-tile.main { display: flex; flex-direction: column; }
.aw-note { margin-top: auto; padding-top: 14px; font-size: 11.5px; line-height: 1.5; color: var(--dim); }
.aw-note b { color: var(--mute); font-weight: 600; }

/* ---------- the menu on its own row when it doesn't fit beside the buttons (set by fitTopBar: tablets, smaller laptops) */
.top-in.two { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 8px; row-gap: 8px; }
.top-in.two > .nav { order: 3; flex: 1 1 100%; width: 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.top-in.two .nav a { padding: 8px 12px; font-size: 14px; }
/* touch screens: clickable tiles respond at once */
.mo-tile, .cal-d.pick, .bnav a, .nav a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* shooting card: the game picker reads as a filter; orange when one game is showing */
.sh-gsel select { color: var(--mute); }
.sh-gsel.on { border-color: var(--or); }
.sh-gsel.on select { color: var(--text); }
.src-h .src-sc { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--dim); margin-left: 4px; }
/* Prop Board: the compare / add-to-slip column stays pinned on the right while the table scrolls sideways */
.pb-board th:last-child, .pb-board td:last-child:not([colspan]) { position: sticky; right: 0; background: var(--card); box-shadow: -10px 0 12px -8px rgba(0,0,0,.7); }
.pb-board th:last-child { z-index: 2; }
.pb-board tbody tr:hover td:last-child:not([colspan]) { background: #17171c; }
#shModelLock { cursor: pointer; opacity: .75; }
.share-dd { position: relative; flex: 1; display: flex; }
.share-dd > .btn { flex: 1; justify-content: center; }
.share-menu { position: absolute; right: 0; bottom: calc(100% + 6px); min-width: 190px; background: var(--card2); border: 1px solid var(--line2); border-radius: 12px; padding: 5px; box-shadow: 0 14px 40px rgba(0,0,0,.55); z-index: 5; display: grid; gap: 2px; }
.share-menu[hidden] { display: none; }
.share-menu button { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; color: inherit; font: inherit; font-size: 13.5px; font-weight: 600; padding: 8px 10px; border-radius: 8px; cursor: pointer; text-align: left; }
.share-menu button:hover, .share-menu button:focus-visible { background: rgba(255,255,255,.06); outline: none; }
.sh-ic { width: 24px; height: 24px; border-radius: 7px; display: inline-grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; color: #fff; flex: none; }
.sh-ic.sh-x { background: #000; border: 1px solid #3a3a42; }
.sh-ic.sh-viber { background: #7360f2; }
.sh-ic.sh-msgr { background: #0a7cff; }
.sh-ic.sh-more { background: #2a2a33; }

/* ---- model numbers: on / reveal on tap / off (body[data-model]) ---- */
.mv-btn { display: inline-flex; align-items: center; gap: 6px; }
.mv-btn .mv-slash { display: none; }
.mv-btn.off { color: var(--muted, #9a9aa6); }
body[data-model=off] .mv-btn .mv-slash { display: inline; }
.mv-menu { min-width: 270px; }
.mv-opt { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.mv-opt b { display: block; font-weight: 700; }
.mv-d { display: block; font-size: 12px; color: var(--muted, #9a9aa6); margin-top: 2px; line-height: 1.35; }
.mv-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line2); flex: none; margin-top: 2px; }
.mv-opt.on .mv-dot { border-color: var(--or, #ff6a00); background: radial-gradient(circle, var(--or, #ff6a00) 0 3px, transparent 4px); }
body[data-model=off] .mdl, body[data-model=off] .mdl-col { display: none !important; }
body[data-model=off] .grid2:has(> .mdl), body[data-model=off] .today-grid:has(> .mdl) { grid-template-columns: 1fr; }
body[data-model=tap] .mdl:not(.shown) { position: relative; color: transparent !important; cursor: pointer; min-height: 30px; }
body[data-model=tap] .mdl:not(.shown) * { visibility: hidden; }
body[data-model=tap] .mdl:not(.shown)::after {
  content: '\25C9  show'; visibility: visible; position: absolute; inset: 3px; display: flex; align-items: center; justify-content: center;
  border: 1px dashed #3a3a45; border-radius: 8px; background: #17171d; color: #9a9aa6; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
body[data-model=tap] .mdl[data-mdl]:not(.shown)::after { content: '\25C9  ' attr(data-mdl); font-size: 13px; }
body[data-model=tap] .mdl:not(.shown):hover::after { border-color: var(--or, #ff6a00); color: #e4e4ea; }
body[data-model=tap] .card.mdl:not(.shown) { min-height: 120px; }
@media (min-width: 1101px) { body[data-model=off] .kpis.kpis5 { grid-template-columns: repeat(4, 1fr); } }
body[data-model=tap] .card.mdl:not(.shown) { max-height: 96px; min-height: 96px; overflow: hidden; }

/* ---- small screens: toggle groups never push the page wider; they scroll sideways inside themselves ---- */
@media (max-width: 560px) {
  .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { flex: none; }
}
/* phones: the open slip covers the bottom navigation (its footer with Save / Share was under it) */
@media (max-width: 760px) {
  .drawer { z-index: 220; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .scrim { z-index: 215; }
}
/* touch screens: small toggles, filter chips and tag links get a finger-sized height (32px) */
@media (pointer: coarse) {
  .seg button { min-height: 32px; }
  .fchip, a.tag { min-height: 30px; display: inline-flex; align-items: center; }
}
