/* The Sports King · Odds — components + layout (P2.6 restyle; tokens in tokens.css, rules in site/DESIGN.md).
   Numbers: Inter tabular figures everywhere (.num); JetBrains Mono only for hero figures (.hero). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg); color: var(--text); font: var(--fw-reg) var(--fs-md)/1.45 var(--font-ui);
  font-feature-settings: "cv11" 1, "ss01" 1, "tnum" 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
.page:focus, .page:focus-visible { box-shadow: none; outline: none; }
::selection { background: var(--brand-soft-2); }
.num, .mono { font-family: var(--font-ui); font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "tnum" 1; letter-spacing: 0; }
.hero { font-family: var(--font-hero); font-weight: 700; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.u-muted { color: var(--text-2); } .u-dim { color: var(--text-3); } .u-faint { color: var(--text-4); }
.u-pos { color: var(--pos-text); } .u-neg { color: var(--neg-text); } .u-brand { color: var(--brand); } .u-warn { color: var(--warn); }
.u-hide { display: none !important; }
.u-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.u-row { display: flex; align-items: center; gap: var(--s2); } .u-grow { flex: 1 1 auto; min-width: 0; }
.u-ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
svg.i { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
svg.i.sm { width: 14px; height: 14px; } svg.i.lg { width: 22px; height: 22px; }

/* ------------------------------------------------------------------ shell */
.l-app { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }
.l-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: none; background: var(--bg-side);
  border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: var(--z-head); }
.l-side::-webkit-scrollbar { display: none; }
.l-side > .brand { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-bottom: 1px solid var(--line); flex: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; flex: none;
  background: linear-gradient(145deg, var(--brand-2), var(--brand)); color: var(--brand-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.38); }
.brand-mark svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.brand-text { line-height: 1.05; min-width: 0; }
.brand-text b { display: block; font-size: 13px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.brand-text span { font-size: 10px; font-weight: 700; letter-spacing: .18em; color: var(--brand); }
.nav { padding: 6px 8px 16px; display: flex; flex-direction: column; gap: 1px; flex: 1 1 auto; }
.nav-h { font-size: var(--fs-2xs); font-weight: var(--fw-med); letter-spacing: var(--tracking-nav); text-transform: uppercase;
  color: var(--text-3); padding: 16px 10px 6px; white-space: nowrap; }
.nav a { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: var(--r-sm);
  color: var(--text-2); font-weight: var(--fw-med); font-size: 13px; position: relative; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.nav a:hover { background: var(--bg-3); color: var(--text); }
.nav a:active { background: var(--bg-4); }
.nav a.on { background: var(--bg-4); color: var(--text); }
.nav a.on::before { content: ""; position: absolute; left: -8px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 999px 999px 0; background: var(--brand); }
.nav .tag { margin-left: auto; font-size: 10px; font-weight: 600; letter-spacing: .06em; padding: 0 4px; line-height: 14px; border-radius: var(--r-xs);
  background: var(--bg-3); color: var(--text-4); }
.nav .tag.free { background: var(--brand-soft-2); color: var(--brand); }
.nav .tag.new { background: var(--pos-soft); color: var(--pos-text); } .nav .tag.beta { background: var(--warn-soft); color: var(--warn); }
.side-foot { padding: 12px 14px 16px; border-top: 1px solid var(--line); flex: none; font-size: 12px; color: var(--text-3); line-height: 1.5; }
.side-foot b { color: var(--text-2); font-weight: var(--fw-semi); }

.l-main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: var(--z-head); min-height: var(--topbar); display: flex; align-items: center; gap: 12px;
  padding: 0 16px 0 20px; background: var(--bar-blur); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line); }
.topbar h1 { font-size: 15px; font-weight: 700; margin: 0; letter-spacing: -.01em; white-space: nowrap; }
.topbar .m-brand { display: none; }
.tb-tools { display: flex; align-items: center; gap: 4px; min-width: 0; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.tb-tools::-webkit-scrollbar { display: none; }
.tb-right { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn { width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--r-md); border: 0; background: transparent; color: var(--text-4);
  transition: all var(--dur) var(--ease); flex: none; }
.icon-btn:hover { color: var(--text); background: var(--bg-3); }
.signin { height: 32px; padding: 0 12px; border-radius: var(--r-md); border: 1px solid var(--brand-line); background: transparent;
  color: var(--brand); font-weight: var(--fw-semi); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.signin:hover { background: var(--brand-soft); }
/* account chip (me.js): Discord photo + name, Member badge when entitled; opens Account / Re-check membership / Sign out */
.acct-slot { display: inline-flex; align-items: center; }
.acct-chip { height: 32px; padding: 0 10px 0 4px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text);
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: var(--fw-semi); white-space: nowrap; max-width: 240px; cursor: pointer; }
.acct-chip:hover, .acct-chip[aria-expanded="true"] { background: var(--bg-3); }
.acct-av { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; background: var(--bg-3); }
.acct-nm { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.acct-mem { flex: none; }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-3); white-space: nowrap; padding: 0 6px; }
.live b { color: var(--text-2); font-weight: var(--fw-med); }
.live .dot { width: 6px; height: 6px; }
.devbar { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 20px; font-size: 11px; color: var(--warn);
  background: var(--warn-soft); border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.devbar b { font-weight: var(--fw-semi); }
.page { padding: 16px 20px 24px; max-width: var(--content-max); width: 100%; margin: 0 auto; flex: 1 0 auto; min-height: 100vh; }
/* min-height: the footer starts below the fold, so a screen's rows arriving never push it down in view (CLS 0.45-0.59 -> ~0) */
.page.tool { padding-top: 12px; }
.page-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head h2 { margin: 0; font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.page-head p { margin: 4px 0 0; color: var(--text-2); font-size: 13px; max-width: 760px; }
.page-head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.foot { border-top: 1px solid var(--line); padding: 18px 20px; color: var(--text-3); font-size: 11px; line-height: 1.6; }
.foot .in { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px 32px; }
.foot b { color: var(--text-2); font-weight: var(--fw-semi); }
.foot .rg { display: inline-flex; align-items: center; padding: 0 6px; border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--text-2); font-weight: 600; }
.tabbar { display: none; }

/* ------------------------------------------------------------------ surfaces */
.card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--toplight); min-width: 0; }
.card-h { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); min-height: 48px; }
.card-h h3 { margin: 0; font-size: 13px; font-weight: 600; white-space: nowrap; }
.card-h .sub { color: var(--text-3); font-size: 12px; }
.card-h .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.card-b { padding: 16px; }
.card-f { padding: 8px 16px; border-top: 1px solid var(--line); font-size: 11px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.link { color: var(--brand); font-weight: 600; font-size: 12px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.grid { display: grid; gap: 16px; }
.g-kpi { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g-dash { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.kpi { padding: 14px 16px; position: relative; overflow: hidden; }
.kpi .lbl { font-size: 11px; color: var(--text-3); font-weight: 500; letter-spacing: var(--tracking-caps); text-transform: uppercase; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.kpi .val { font-family: var(--font-hero); font-weight: 700; letter-spacing: -.025em; font-size: 26px; margin-top: 6px; line-height: 1.1; white-space: nowrap; }
.kpi .val small { font-size: 12px; color: var(--text-3); font-weight: 500; margin-left: 4px; letter-spacing: 0; font-family: var(--font-ui); }
.kpi .meta { font-size: 12px; color: var(--text-3); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi.accent { border-color: var(--brand-line); }

/* ------------------------------------------------------------------ controls */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; flex: none; }
.seg { display: inline-flex; padding: 2px; gap: 2px; border: 1px solid var(--line); border-radius: var(--r-md); flex: none; }
.seg button { height: 28px; padding: 0 10px; border: 0; background: transparent; color: var(--text-2); border-radius: var(--r-sm); font-size: 13px;
  font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.seg button:hover { color: var(--text); background: var(--bg-3); }
.seg button.on { background: var(--bg-4); color: var(--text); }
.seg button .ct { font-size: 11px; color: var(--text-3); }
.seg button.on .ct { color: var(--brand); }
.ghost { height: 32px; padding: 0 8px; border: 0; background: transparent; color: var(--text-2); border-radius: var(--r-md); font-size: 13px;
  font-weight: 500; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; flex: none; position: relative; }
.ghost:hover, .ghost[aria-expanded="true"] { color: var(--text); background: var(--bg-3); }
.ghost .chev { width: 14px; height: 14px; opacity: .7; }
.ghost.active { color: var(--text); }
.booksel { height: 34px; padding: 0 10px 0 10px; border-radius: var(--r-md); border: 1px solid var(--brand-line); background: var(--brand-soft);
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; white-space: nowrap; flex: none; color: var(--text); }
.booksel .k { color: var(--brand); font-weight: 500; }
.booksel b { font-weight: 600; }
.booksel:hover { background: var(--brand-soft-2); }
.search { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 8px 0 10px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: transparent; color: var(--text-3); width: 220px; flex: none; }
.search:focus-within { border-color: var(--brand-line); }
.search input { border: 0; background: transparent; outline: none; color: var(--text); font-size: 13px; min-width: 0; flex: 1; }
.search input::placeholder { color: var(--text-4); }
.search kbd { font: 500 10px var(--font-ui); color: var(--text-3); border: 1px solid var(--line-input); border-radius: 4px; padding: 1px 5px; }
.btn { height: 32px; padding: 0 12px; border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.12); background: transparent; color: var(--text);
  font-weight: 500; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: all var(--dur) var(--ease); flex: none; }
:root[data-theme="light"] .btn { border-color: var(--line-input); }
.btn:hover { background: var(--bg-3); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 -1px 0 rgba(0,0,0,.10); }
.btn.primary:hover { background: var(--brand-2); border-color: var(--brand-2); box-shadow: var(--glow); }
.btn.accent { border-color: var(--brand-line); color: var(--brand); }
.btn.accent:hover { background: var(--brand-soft); }
.btn.ghostb { border-color: transparent; color: var(--text-2); }
.btn.ghostb:hover { color: var(--text); background: var(--bg-3); }
.btn.sm { height: 28px; padding: 0 9px; font-size: 12px; }
.btn .badge-n { min-width: 16px; height: 16px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 10px; font-weight: 700; display: inline-grid; place-items: center; padding: 0 4px; }
.act { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: var(--r-md); border: 1px solid var(--line); background: transparent; color: var(--text-3); flex: none; }
.act:hover { color: var(--text); background: var(--bg-3); }
.act.on { color: var(--brand); border-color: var(--brand-line); }
.acts { display: inline-flex; gap: 4px; }
.chip { height: 26px; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; color: var(--text-2);
  font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex: none; }
.chip:hover { color: var(--text); }
.chip.on { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand); }
.chip .x { opacity: .75; display: inline-grid; }
.chips { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.chips .lbl { font-size: 10px; font-weight: 500; letter-spacing: var(--tracking-nav); text-transform: uppercase; color: var(--text-3); }
.field { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 1px solid var(--line-input); border-radius: var(--r-md);
  background: var(--bg-1); color: var(--text-2); font-size: 13px; min-width: 0; }
.field:focus-within { border-color: var(--brand-line); }
.field label { color: var(--text-3); font-weight: 500; white-space: nowrap; font-size: 12px; }
.field input, .field select { border: 0; background: transparent; outline: none; color: var(--text); font-size: 13px; font-weight: 500; min-width: 0; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 14px; cursor: pointer;
  background: linear-gradient(45deg, transparent 50%, var(--text-3) 50%) right 5px center / 4px 4px no-repeat,
              linear-gradient(-45deg, transparent 50%, var(--text-3) 50%) right 1px center / 4px 4px no-repeat; }
.field select option { background: var(--bg-2); color: var(--text); }
.field input[type="number"] { width: 64px; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); cursor: pointer; user-select: none; white-space: nowrap; flex: none; }
.switch input { appearance: none; -webkit-appearance: none; width: 30px; height: 18px; border-radius: 99px; background: var(--bg-4); border: 1px solid var(--line-2);
  position: relative; transition: all var(--dur) var(--ease); cursor: pointer; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--text-2); transition: all var(--dur) var(--ease); }
.switch input:checked { background: var(--brand); border-color: var(--brand); }
.switch input:checked::after { left: 14px; background: var(--brand-ink); }
.check { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--line-2); flex: none; margin: 0;
  display: inline-grid; place-items: center; cursor: pointer; background: transparent; }
.check:checked { background: var(--brand); border-color: var(--brand); }
.check:checked::after { content: ""; width: 8px; height: 4px; border: 2px solid var(--brand-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
input[type="range"] { accent-color: var(--brand); }

/* popover menu */
.pop { position: fixed; z-index: var(--z-pop); min-width: 200px; max-height: 60vh; overflow-y: auto; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 8px; box-shadow: var(--shadow-float); padding: 4px; }
.pop button { display: flex; align-items: center; gap: 8px; width: 100%; height: 32px; padding: 0 10px; border: 0; background: transparent; border-radius: var(--r-sm);
  color: var(--text-2); font-size: 13px; text-align: left; white-space: nowrap; }
.pop button:hover { background: var(--bg-3); color: var(--text); }
.pop button.on { color: var(--text); }
.pop button.on::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.pop .ph { font-size: 10px; font-weight: 500; letter-spacing: var(--tracking-nav); text-transform: uppercase; color: var(--text-3); padding: 8px 10px 4px; }
.pop hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }

/* ------------------------------------------------------------------ data atoms */
.bk { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-weight: 500; font-size: 13px; white-space: nowrap; }
.bk-m { --h: 210; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: none; font: 700 9px/1 var(--font-ui);
  letter-spacing: .02em; color: hsl(var(--h) 80% 74%); background: hsl(var(--h) 55% 18%); box-shadow: inset 0 0 0 1px hsl(var(--h) 60% 55% / .45); }
:root[data-theme="light"] .bk-m { color: hsl(var(--h) 70% 30%); background: hsl(var(--h) 70% 92%); box-shadow: inset 0 0 0 1px hsl(var(--h) 55% 45% / .35); }
.bk-m.tile { width: 28px; height: 28px; border-radius: 7px; font-size: 10px; position: relative; }
.bk-m.lg { width: 30px; height: 30px; border-radius: 8px; font-size: 11px; }
.bk-m.sm { width: 20px; height: 20px; border-radius: 5px; font-size: 8.5px; letter-spacing: 0; }
.bk-m.ring { box-shadow: 0 0 0 1.5px var(--brand), 0 0 14px rgba(240, 196, 69, .25); }
.bk-stack { display: inline-flex; align-items: center; gap: 3px; }
.bk-stack .more { font-size: 11px; color: var(--text-3); margin-left: 4px; }
.ev { display: inline-flex; align-items: center; justify-content: center; min-width: 60px; height: 28px; padding: 0 10px; border-radius: var(--r-sm);
  font: 600 13px/1 var(--font-ui); font-variant-numeric: tabular-nums; background: var(--pos-soft); color: var(--pos-text); box-shadow: inset 0 0 0 1px var(--pos-line); white-space: nowrap; }
.ev.hi { background: rgba(91, 227, 74, .22); box-shadow: inset 0 0 0 1px rgba(91, 227, 74, .55); }
:root[data-theme="light"] .ev.hi { background: rgba(46, 158, 34, .18); }
.ev.neg { background: var(--neg-soft); color: var(--neg-text); box-shadow: inset 0 0 0 1px var(--neg-line); }
.ev.zero { background: var(--bg-3); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }
.badge { display: inline-flex; align-items: center; gap: 4px; height: 16px; padding: 0 5px; border-radius: var(--r-xs); font-size: 10px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; background: var(--bg-4); color: var(--text-2); white-space: nowrap; vertical-align: middle; }
.badge.alt, .badge.src { background: transparent; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.brand { background: var(--brand-soft-2); color: var(--brand); }
.badge.pos { background: var(--pos-soft); color: var(--pos-text); }
.badge.neg { background: var(--neg-soft); color: var(--neg-text); }
.lg-tag { font-size: 10px; font-weight: 600; letter-spacing: .04em; height: 16px; line-height: 16px; padding: 0 5px; border-radius: var(--r-xs);
  background: var(--bg-4); color: var(--text-2); white-space: nowrap; display: inline-block; }
.fresh { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid var(--line);
  font-size: 12px; color: var(--text-2); font-weight: 500; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); flex: none; box-shadow: 0 0 0 3px var(--pos-soft); }
.dot.amber { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); }
.dot.red { background: var(--neg); box-shadow: 0 0 0 3px var(--neg-soft); }
.dot.grey { background: var(--text-3); box-shadow: 0 0 0 3px var(--bg-4); }
/* R1: a price older than twice its refresh (fresh.js) is greyed, never hidden */
.tbl tr.stale td { opacity: .5; }
.oc.stale, .mcard.stale { opacity: .5; }
/* Fantasy Props count line: lines posted / priced / flagged (estimate) / not priced + one-tap filters */
.fx-count { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 6px 2px 8px; font-size: 12px; color: var(--text-2); }
.fx-count b { color: var(--text); font-weight: var(--fw-semi); }
.dot.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--pos-soft); } 50% { box-shadow: 0 0 0 6px transparent; } }
.price { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.net { display: block; font-size: 11px; color: var(--warn); font-weight: 500; line-height: 1.2; white-space: nowrap; }
.sub2 { display: block; font-size: 11px; color: var(--text-3); font-weight: 500; line-height: 1.2; white-space: nowrap; }
.teams { line-height: 1.3; min-width: 0; }
.teams > b { font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.teams > span { color: var(--text-3); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.teams .badge { margin-left: 4px; vertical-align: 1px; }
.when { font-size: 12px; color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.when.soon { color: var(--warn); }
.bar { height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; background: var(--pos); }
.play { display: flex; flex-direction: column; justify-content: center; min-width: 0; line-height: 1.25; gap: 1px; }
.play .l1 { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; }
.play .l2 { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.play .l2 .badge { margin-left: 4px; vertical-align: 2px; }
.play .l3 { font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fair { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.fair small { display: block; font-size: 11px; color: var(--text-3); font-weight: 500; }

/* ------------------------------------------------------------------ table */
.tbl-wrap { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-0); overflow: hidden; }
.tbl-scroll { overflow: auto; max-height: calc(100vh - 150px); min-height: 240px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.tbl-scroll.auto { max-height: none; min-height: 0; }
.tbl { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl th { position: sticky; top: 0; z-index: 3; background: var(--head-blur); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  color: var(--text-3); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: var(--tracking-caps); text-align: left; padding: 0 10px; height: 44px;
  border-bottom: 1px solid rgba(240, 196, 69, .35); white-space: nowrap; user-select: none; }
.tbl.tiles th { height: 52px; }
.tbl th.sortable { cursor: pointer; }
.tbl th.sortable:hover { color: var(--text); }
.tbl th .arr { margin-left: 3px; font-size: 9px; color: var(--text-4); }
.tbl th .sbox { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 7px; margin-left: -8px; border-radius: var(--r-md);
  border: 1px solid var(--brand-line); background: var(--brand-soft); color: var(--brand); }
.tbl th .sbox .arr { color: var(--brand); margin: 0; }
.tbl th.bk-col { text-align: center; padding: 0 2px; }
.tbl th.bk-col .bk-m { margin: 0 auto; }
.tbl th.divl, .tbl td.divl { border-left: 1px solid rgba(255, 255, 255, .10); }
:root[data-theme="light"] .tbl th.divl, :root[data-theme="light"] .tbl td.divl { border-left-color: var(--line); }
.tbl td { padding: 0 10px; height: var(--row-h, var(--row-3)); border-bottom: 1px solid var(--line-row); vertical-align: middle; background: var(--bg-0); white-space: nowrap; overflow: hidden; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: color-mix(in srgb, var(--bg-0) 100%, transparent); background-image: linear-gradient(var(--bg-3), var(--bg-3)); }
.tbl tbody tr.sel td { background-image: linear-gradient(var(--bg-4), var(--bg-4)); }
.tbl tbody tr.sel td:first-child { box-shadow: inset 2px 0 0 var(--brand); }
.tbl .stick { position: sticky; left: 0; z-index: 2; box-shadow: 1px 0 0 var(--line); }
.tbl th.stick { z-index: 4; }
.tbl td.c, .tbl th.c { text-align: center; } .tbl td.r, .tbl th.r { text-align: right; }
.tbl td.cell { text-align: center; padding: 0; position: relative; }
.tbl td.mycol, .tbl th.mycol { background-image: linear-gradient(rgba(240, 196, 69, .04), rgba(240, 196, 69, .04)); }
.tbl tr.g2 td { border-bottom: 1px solid var(--line); }
.tbl .spacer td { padding: 0; border: 0; height: auto; background: transparent; }
.tbl.compact { --row-h: var(--row-compact); }
.tbl.single { --row-h: var(--row-1); }
/* price cell */
.oc { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: var(--row-h, var(--row-3)); line-height: 1.2; position: relative; }
.oc .price { font-size: 13px; font-weight: 500; color: var(--text-2); }
.oc.best { background: var(--pos-cell); box-shadow: inset 0 0 0 1px var(--pos-line); }
.oc.best .price { color: var(--text); font-weight: 600; }
.oc.best::after { content: "BEST"; position: absolute; top: 3px; right: 4px; font: 700 8px/1 var(--font-ui); letter-spacing: .04em; color: var(--pos-text); }
.oc.pos .price { color: var(--pos-text); font-weight: 600; }
.oc.thin .price { color: var(--text-4); }
.oc.thin .sub2 { color: var(--warn); }
.oc .ln { display: inline-block; height: 15px; line-height: 15px; padding: 0 4px; margin-top: 2px; border-radius: var(--r-xs); background: var(--bg-elev); color: var(--text-3); font-size: 10.5px; font-weight: 500; }
.oc .net { font-size: 11px; }
.oc.na { visibility: hidden; }
@keyframes flashUp { from { background-color: var(--flash-up); } to { background-color: transparent; } }
@keyframes flashDown { from { background-color: var(--flash-down); } to { background-color: transparent; } }
.flash-up { animation: flashUp .5s ease-out; } .flash-down { animation: flashDown .5s ease-out; }
.tbl-foot { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--bg-1); font-size: 12px; color: var(--text-3); flex-wrap: wrap; }
.tbl-foot b { color: var(--text-2); font-weight: 600; }
.legend { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }

/* phone cards */
.cards { display: none; flex-direction: column; gap: 8px; }
.mcard { background: #101113; border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
:root[data-theme="light"] .mcard { background: var(--bg-1); }
.mcard .l1 { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); min-width: 0; }
.mcard .l1 .ev { margin-left: auto; }
.mcard .sel { font-weight: 600; font-size: 15px; line-height: 1.3; }
.mcard .meta { color: var(--text-2); font-size: 13px; }
.mcard .row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mcard .cell { padding: 2px 10px; min-width: 0; border-left: 1px solid var(--line-row); }
.mcard .cell:first-child { border-left: 0; padding-left: 0; }
.mcard .cell .k { font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--text-3); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard .cell .v { font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard .cell .v small { color: var(--text-3); font-weight: 500; font-size: 11px; }
.mcard .foot2 { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }
.mcard .prices { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.mcard .prices::-webkit-scrollbar { display: none; }
.mcard .pp { flex: none; width: 72px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px; border-radius: var(--r-md); background: var(--bg-2); }
.mcard .pp.best { box-shadow: inset 0 0 0 1.5px var(--pos-line); background: var(--pos-cell); }
.mcard .pp .price { font-size: 13px; }
.mcard .pp .ln { font-size: 10px; color: var(--text-3); }
.more-row { display: flex; justify-content: center; padding: 12px; }

/* ------------------------------------------------------------------ lists + misc */
.list { display: flex; flex-direction: column; }
.li { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line-row); min-width: 0; }
.li:last-child { border-bottom: 0; }
.li:hover { background: var(--bg-3); }
.arb-legs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.leg { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: var(--r-md); background: var(--bg-2); min-width: 0; }
.leg .nm { font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meter { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.meter .bar { flex: 1; height: 8px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; }

/* ------------------------------------------------------------------ states */
.skel { position: relative; overflow: hidden; background: var(--skeleton); border-radius: var(--r-sm); }
.skel::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, var(--skeleton-hi), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.skel-rows { display: flex; flex-direction: column; }
.skel-row { display: grid; grid-template-columns: 2.2fr 1fr .8fr .8fr .8fr 1fr 1fr; gap: 16px; align-items: center; height: 64px; padding: 0 12px; border-bottom: 1px solid var(--line-row); }
.empty { text-align: center; padding: 40px 20px; color: var(--text-3); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty .ic { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); color: var(--brand); }
.empty h4 { margin: 4px 0 0; font-size: 15px; color: var(--text); font-weight: 600; }
.empty p { margin: 0; max-width: 420px; font-size: 13px; }
.empty.panel { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 0 40px -12px rgba(240, 196, 69, .08); }
.empty.err .ic { color: var(--neg); background: var(--neg-soft); border-color: transparent; }
.progress { height: 3px; background: var(--bg-2); border-radius: 99px; overflow: hidden; width: 120px; }
.progress i { display: block; height: 100%; background: var(--brand); width: 0; transition: width .2s linear; }
.compute { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.callout { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: var(--r-lg); border: 1px solid var(--brand-line);
  background: var(--brand-soft); color: var(--text-2); font-size: 13px; margin-bottom: 14px; }
.callout b { color: var(--text); }
.callout svg.i { color: var(--brand); }
.callout .btn { margin-left: auto; }

/* tooltip */
.tip { position: fixed; z-index: var(--z-tip); max-width: 300px; padding: 10px 12px; border-radius: 8px; background: var(--bg-elev); color: var(--text-2);
  font-size: 12px; line-height: 1.5; box-shadow: var(--shadow-float); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .12s var(--ease), transform .12s var(--ease); }
.tip.on { opacity: 1; transform: none; }
.tip b { color: var(--text); font-weight: 600; display: block; margin-bottom: 3px; font-size: 13px; }
.tip code { font: 500 11px var(--font-ui); color: var(--text); background: var(--bg-2); padding: 1px 4px; border-radius: 3px; }
[data-tip] { cursor: help; }
.hint { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-3);
  font-size: 9px; font-weight: 700; cursor: help; flex: none; text-transform: none; letter-spacing: 0; }

/* toast */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: var(--z-toast); display: flex; flex-direction: column; gap: 8px; }
.toast { display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: 380px; padding: 11px 14px; border-radius: 10px; background: var(--bg-elev);
  box-shadow: var(--shadow-float); font-size: 13px; color: var(--text); animation: tin .22s var(--ease); }
.toast svg.i { color: var(--pos); } .toast.warn svg.i { color: var(--warn); }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }

/* drawer / sheet */
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: var(--z-drawer); opacity: 0; pointer-events: none; transition: opacity .18s var(--ease); }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); z-index: calc(var(--z-drawer) + 1); background: var(--bg-0);
  border-left: 1px solid var(--line); box-shadow: var(--shadow-float); transform: translateX(102%); transition: transform .22s var(--ease); display: flex; flex-direction: column; }
.drawer.wide { width: min(980px, 100vw); }
.drawer.on { transform: none; }
.drawer-h { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.dh2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 16px 20px 14px; border-bottom: 1px solid var(--line); }
.dh2 .crumb2 { grid-column: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.dh2 .icon-btn { grid-column: 2; grid-row: 1; justify-self: end; margin: -6px -6px 0 0; }
.dh2 h3 { grid-column: 1; margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.dh2 .cta, .dh2 .ctabox { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
.dh2 .sub { grid-column: 1; color: var(--text-2); font-size: 13px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.crumb2 { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.drawer-h h3 { margin: 6px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.drawer-h .sub { color: var(--text-2); font-size: 13px; margin-top: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.drawer:focus { outline: none; box-shadow: var(--shadow-float); }
.drawer-b > * { flex-shrink: 0; }
.drawer-b { padding: 16px 20px; overflow-y: auto; flex: 1 1 auto; display: flex; flex-direction: column; gap: 16px; }
.cta { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid var(--pos-line);
  background: rgba(91, 227, 74, .08); color: var(--pos-text); font-size: 15px; font-weight: 600; white-space: nowrap; }
.cta:hover { background: var(--pos-soft); }
.cta i.d { width: 1px; height: 18px; background: var(--pos-line); display: inline-block; }
.cta.dis { border-color: var(--line); color: var(--text-3); background: transparent; cursor: default; }
.statrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat .k { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: var(--tracking-caps); font-weight: 500; display: flex; align-items: center; gap: 5px; }
.stat .v { font-family: var(--font-hero); font-weight: 700; letter-spacing: -.025em; font-size: 18px; margin-top: 4px; white-space: nowrap; }
.stat .v small { font-family: var(--font-ui); font-size: 11px; color: var(--text-3); font-weight: 500; letter-spacing: 0; }
.math { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 16px; font-size: 13px; color: var(--text-2); line-height: 1.7; }
.math code { font: 500 12px var(--font-ui); font-variant-numeric: tabular-nums; color: var(--text); background: var(--bg-elev); padding: 1px 5px; border-radius: 3px; }
.chart { width: 100%; height: auto; display: block; }
.chart .ax { stroke: var(--line-2); stroke-width: 1; }
.chart .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
.chart .curve { stroke: var(--brand); stroke-width: 2; fill: none; }
.chart .area { fill: var(--brand-soft); }
.chart text { fill: var(--text-3); font: 10px var(--font-ui); }
.chart .pt-dot { fill: var(--bg-0); stroke: var(--text-2); stroke-width: 1.5; }
.chart .pt-dot.hit { fill: var(--pos); stroke: var(--pos); }
.btbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.btbl th { font-size: 11px; font-weight: 500; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-3); text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.btbl td { height: 44px; padding: 0 10px; border-bottom: 1px solid var(--line-row); }
.btbl tr.best td.ps { background: var(--pos-cell); color: var(--pos-text); font-weight: 600; }
.btbl tr.mine td:first-child { box-shadow: inset 2px 0 0 var(--brand); }
.btbl .r { text-align: right; }
.altchips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.altchips::-webkit-scrollbar { display: none; }
.altchip { flex: none; width: 64px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--line); background: transparent; display: flex; flex-direction: column;
  align-items: center; justify-content: center; line-height: 1.2; color: var(--text); }
.altchip b { font-size: 14px; font-weight: 600; }
.altchip span { font-size: 11px; color: var(--text-3); }
.altchip.on { border-color: rgba(240, 196, 69, .6); background: var(--brand-soft); }
.ou { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ou h5 { margin: 0 0 6px; font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; }
.ou h5 span { color: var(--text-3); font-weight: 500; }
.ourow { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px; border-radius: var(--r-md); }
.ourow.best { background: var(--pos-cell); }
.ourow .price { margin-left: auto; font-size: 14px; }
.ourow.best .price { color: var(--pos-text); }

/* fair-value sheet */
.fv-sect { display: flex; flex-direction: column; gap: 8px; }
.fv-sect > h4 { margin: 0; font-size: 13px; font-weight: 500; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.fv-sect > h4 .link { margin-left: auto; }
.pchips { display: flex; flex-wrap: wrap; gap: 6px; }
.pchip { height: 32px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 13px; }
.pchip:hover { background: var(--bg-3); }
.pchip.on { box-shadow: inset 0 0 0 1.5px var(--brand); border-color: transparent; }
.saved { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px 0 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.saved.on { border-color: var(--brand-line); }
.saved b { font-weight: 500; flex: 1; cursor: pointer; }
.wrow { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; }
.wrow .nm { flex: 1; font-size: 13px; font-weight: 500; min-width: 0; }
.wrow .wt { font-size: 12px; color: var(--text-3); }
.wrow input[type="number"] { width: 60px; height: 30px; border: 1px solid var(--line-input); border-radius: var(--r-md); background: transparent; color: var(--text); text-align: center; font-size: 13px; }
.wrow.off { opacity: .5; }
.fv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* account */
.acct { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: start; }
.acct-nav { position: sticky; top: calc(var(--topbar) + 20px); display: flex; flex-direction: column; gap: 2px; }
.acct-nav a { padding: 8px 10px; border-radius: var(--r-sm); color: var(--text-2); font-weight: 500; }
.acct-nav a:hover, .acct-nav a.on { background: var(--bg-4); color: var(--text); }
.sect { scroll-margin-top: calc(var(--topbar) + 20px); }
.bgroup { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.bgroup + .bgroup { margin-top: 12px; }
.bgroup-h { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.bgroup-h b { font-size: 13px; font-weight: 600; }
.bgroup-h .sub { color: var(--text-3); font-size: 12px; }
.bgroup-h .right { margin-left: auto; display: flex; gap: 6px; }
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1px; background: var(--line); }
.bopt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bg-1); cursor: pointer; min-width: 0; }
.bopt:hover { background: color-mix(in srgb, var(--bg-1) 94%, var(--text)); }
.bopt input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--line-2); flex: none; margin: 0; display: grid; place-items: center; }
.bopt input:checked { background: var(--brand); border-color: var(--brand); }
.bopt input:checked::after { content: ""; width: 8px; height: 4px; border: 2px solid var(--brand-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.bopt > div { flex: 1 1 auto; min-width: 0; }
.bopt .nm { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bopt .ds { font-size: 10px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bopt .badge { flex: none; text-transform: none; letter-spacing: 0; }
.bopt.sel { background: color-mix(in srgb, var(--bg-1) 92%, var(--brand)); }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.opt { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: transparent; cursor: pointer; position: relative; }
.opt:hover { background: var(--bg-3); }
.opt.on { box-shadow: inset 0 0 0 1.5px var(--brand); border-color: transparent; }
.opt b { display: block; font-size: 13px; font-weight: 600; }
.opt span { display: block; font-size: 12px; color: var(--text-2); margin-top: 3px; line-height: 1.45; }
.opt .rec { position: absolute; top: 10px; right: 10px; }
.wtbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.wtbl td { padding: 6px 8px; border-bottom: 1px solid var(--line-row); }
.wtbl input[type="range"] { width: 100%; }
.wtbl .w { width: 44px; text-align: right; }
.savebar { position: sticky; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-top: 16px; background: var(--bar-blur);
  backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--r-lg); z-index: 4; }

/* coming soon */
.soon { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.soon-hero { padding: 28px; }
.soon-hero .ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); color: var(--brand); border: 1px solid var(--line); }
.soon-hero h2 { font-size: 24px; letter-spacing: -.02em; margin: 14px 0 8px; line-height: 1.15; }
.soon-hero p { color: var(--text-2); margin: 0 0 16px; max-width: 520px; font-size: 14px; line-height: 1.55; }
.feat { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-row); }
.feat:first-child { border-top: 0; }
.feat .n { width: 24px; height: 24px; border-radius: 6px; background: var(--bg-4); display: grid; place-items: center; font: 600 12px var(--font-ui); color: var(--brand); flex: none; }
.feat b { display: block; font-size: 13px; font-weight: 600; }
.feat span { display: block; color: var(--text-2); font-size: 13px; margin-top: 2px; }
.preview-mock { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.preview-mock .row { display: grid; grid-template-columns: 64px 1.6fr 1fr 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--r-md); background: var(--bg-2); }

/* ladder grid */
.ladder-tbl td.fairc { background-image: linear-gradient(var(--bg-3), var(--bg-3)); }
.lad-pt { font-weight: 600; }
.pk-chip { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; color: var(--text-3); }

/* ------------------------------------------------------------------ responsive */
.only-mob { display: none; }
@media (max-width: 1280px) { .g-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g-kpi .kpi:nth-child(n+4) { display: none; } .search { width: 170px; } }
@media (max-width: 1180px) {
  .l-app { grid-template-columns: var(--sidebar-rail) minmax(0, 1fr); }
  .brand-text, .nav-h, .nav a span, .nav .tag, .side-foot { display: none; }
  .l-side > .brand { justify-content: center; padding: 0; }
  .nav { align-items: center; padding: 10px 0; gap: 2px; }
  .nav a { width: 42px; height: 38px; padding: 0; justify-content: center; }
  .nav a.on::before { left: -11px; }
  .g-dash { grid-template-columns: minmax(0, 1fr); }
  .soon { grid-template-columns: 1fr; }
  .acct { grid-template-columns: 1fr; } .acct-nav { display: none; }
  .topbar h1 { display: none; }
}
@media (max-width: 760px) {
  :root { --topbar: 52px; }
  .l-app { grid-template-columns: minmax(0, 1fr); }
  .l-side { display: none; }
  .topbar { padding: 0 12px; gap: 8px; flex-wrap: wrap; }
  .topbar .m-brand { display: inline-flex; }
  .topbar h1 { display: block; font-size: 14px; }
  .tb-tools { order: 3; flex-basis: 100%; padding: 0 0 8px; }
  .tb-right .live { display: none; }
  .tb-right .hide-m { display: none; }
  .signin span { display: none; }
  .signin { padding: 0 8px; }
  .acct-nm { display: none; }
  .acct-chip { padding: 0 6px 0 3px; }
  .devbar { padding: 0 12px; }
  .page { padding: 12px 12px calc(var(--tabbar) + 28px); }
  .page-head h2 { font-size: 19px; }
  .g-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .g-kpi .kpi:nth-child(n+4) { display: none; }
  .g-kpi .kpi:nth-child(3) { grid-column: span 2; }
  .kpi .val { font-size: 21px; }
  .toolbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px 10px; padding: 0 12px 2px; }
  .toolbar::-webkit-scrollbar { display: none; }
  .search { width: 170px; }
  .tbl-wrap.m-cards { display: none; }
  .cards { display: flex; }
  .foot { padding: 16px 12px calc(var(--tabbar) + 20px); }
  .foot .in { grid-template-columns: 1fr; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-head);
    height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--bar-blur); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-top: 1px solid var(--line); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; font-weight: 500; color: var(--text-2); }
  .tabbar a svg.i { width: 22px; height: 22px; }
  .tabbar a.on { color: var(--brand); }
  .statrow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .drawer { width: 100vw; top: auto; height: 90vh; border-radius: 16px 16px 0 0; border-left: 0; transform: translateY(102%); }
  .drawer.wide { width: 100vw; }
  .drawer.on { transform: none; }
  .drawer-h { padding: 16px; flex-wrap: wrap; } .drawer-b { padding: 16px; }
  .ou { grid-template-columns: 1fr; }
  .soon-hero { padding: 20px; } .soon-hero h2 { font-size: 20px; }
  .toasts { left: 12px; right: 12px; bottom: calc(var(--tabbar) + 12px); }
  .toast { min-width: 0; max-width: none; }
  .bgrid { grid-template-columns: 1fr 1fr; }
  .arb-legs { grid-template-columns: 1fr; }
  .savebar { bottom: calc(var(--tabbar) + 8px); }
  .only-desk { display: none !important; }
  .only-mob { display: flex; }
  .callout { flex-wrap: wrap; }
  .card-h { flex-wrap: wrap; } .card-h .sub { display: none; }
  .bgroup-h { flex-wrap: wrap; } .bgroup-h .right { margin-left: 0; width: 100%; }
  .fv-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------------------------------------------------------------- P3 tools: Arbitrage / Low Hold / Middles (Upside table pattern) */
.xt-wrap .xt-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; font-size: 13px; color: var(--text-2); border-bottom: 1px solid var(--line); }
.xt-wrap .xt-top b { color: var(--text); }
.xt-scroll { overflow: auto; max-height: calc(100vh - 190px); min-height: 240px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.xt { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.xt th { position: sticky; top: 0; z-index: 3; background: var(--head-blur); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); height: 44px; padding: 0 12px;
  font-size: 11px; font-weight: 600; letter-spacing: var(--tracking-caps); color: var(--text-3); text-align: center; border-bottom: 1px solid rgba(240, 196, 69, .35); white-space: nowrap; }
.xt th.sortable { cursor: pointer; } .xt th.sorted { color: var(--brand); } .xt th .arr { font-size: 10px; }
.xt td { padding: 12px; border-bottom: 1px solid var(--line-row); border-right: 1px solid var(--line-row); vertical-align: middle; background: var(--bg-0); }
.xt td:last-child { border-right: 0; }
.xt tr.xr { cursor: pointer; }
.xt tr.xr:hover td { background-image: linear-gradient(var(--bg-2), var(--bg-2)); }
.xt tr.xr.open td { background-image: linear-gradient(var(--bg-3), var(--bg-3)); border-bottom-color: transparent; }
.xt .c-val { width: 112px; text-align: center; } .xt .c-ev { width: 25%; text-align: center; } .xt .c-mk { width: 150px; text-align: center; }
.xt .c-st { width: 150px; } .xt .c-pf { width: 116px; text-align: center; }
.vcell { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.vcell .big { font-family: var(--font-hero); font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.vcell .big small { font-size: 11px; margin-left: 1px; }
.vacts { display: inline-flex; gap: 4px; margin-top: 2px; } .vacts .act { width: 24px; height: 24px; border-color: transparent; }
.hb { font-size: 10px; font-weight: 700; letter-spacing: .04em; padding: 1px 6px; border-radius: var(--r-xs); background: var(--bg-3); color: var(--text-2); text-transform: uppercase; }
.hb.pos { background: rgba(245, 165, 36, .16); color: var(--warn); } .hb.brand { background: var(--brand-soft-2); color: var(--brand); } .hb.dim { color: var(--text-3); }
.evc .when { font-size: 12px; color: var(--text-3); } .evc .when.soon { color: var(--warn); }
.evc .teams2 { font-weight: 600; font-size: 14px; margin: 2px 0; line-height: 1.3; } .evc .lgline { font-size: 11px; color: var(--text-3); letter-spacing: .06em; }
.mkc { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.mchip { display: inline-block; padding: 5px 10px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--bg-2); font-weight: 600; font-size: 12.5px; line-height: 1.25; }
.bkc { display: flex; flex-direction: column; gap: 10px; }
.lgl { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 28px; align-items: center; gap: 10px; min-height: 36px; }
.lgl .nm { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgl .px { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; } .lgl .px small { font-size: 11px; color: var(--text-3); }
.lgl .bkw { position: relative; } .lgl .bkw .bk-m { width: 34px; height: 34px; font-size: 12px; border-radius: 8px; }
.plusn { position: absolute; top: -6px; right: -8px; font-size: 10px; font-weight: 700; background: var(--brand); color: var(--brand-ink); border-radius: 4px; padding: 0 4px; line-height: 15px; }
.act.dim { opacity: .35; }
.stc { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.stin { display: flex; align-items: center; height: 36px; border: 1px solid rgba(245, 165, 36, .55); border-radius: var(--r-md); background: transparent; padding: 0 4px 0 10px; }
.stin input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--text); font: 600 13px var(--font-ui); font-variant-numeric: tabular-nums; outline: none; -moz-appearance: textfield; }
.stin input::-webkit-inner-spin-button { opacity: .4; }
.stin.dead { border-color: var(--neg-line, rgba(255, 90, 90, .5)); } .stin.dead input { color: var(--text-3); }
.stin .cp { border: 0; background: transparent; color: var(--brand); width: 26px; height: 26px; display: grid; place-items: center; border-radius: var(--r-sm); cursor: pointer; }
.stin .cp:hover { background: var(--bg-3); }
.link.sm { font-size: 11px; border: 0; background: none; cursor: pointer; padding: 0; }
.pc { display: flex; flex-direction: column; align-items: center; gap: 2px; } .pc > span { font-weight: 700; font-size: 15px; } .pc small { font-size: 11px; color: var(--text-3); }
.xrow td { padding: 0 16px 16px; background-image: linear-gradient(var(--bg-3), var(--bg-3)); cursor: default; }
.xp { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-1); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.xp-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; color: var(--text-3); } .xp-h b { letter-spacing: var(--tracking-caps); font-weight: 600; color: var(--text-2); }
.banner { padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--pos-line); background: var(--pos-cell); color: var(--pos-text); font-weight: 600; }
.banner.neg { border-color: var(--line-2); background: var(--bg-2); color: var(--text-2); }
.ocards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.oc2 { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-0); }
.oc2 b { font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .oc2 small { color: var(--text-3); font-size: 11.5px; }
.oc2 .net2 { font-family: var(--font-mono, ui-monospace, monospace); font-weight: 700; font-size: 13px; }
.sp { border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; display: flex; flex-direction: column; gap: 6px; background: var(--bg-0); }
.spr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 84px minmax(80px, 140px) 48px; gap: 10px; align-items: center; padding: 8px; border-radius: var(--r-md); background: var(--bg-1); }
.spn b { display: block; font-weight: 600; } .spn small { color: var(--text-3); font-size: 11.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spr .pill { background: var(--pos); color: #0B0C0E; font-weight: 700; font-size: 12px; border-radius: 4px; padding: 2px 6px; }
.spr .amt { text-align: right; } .spr .bar { height: 10px; } .spr .pctx { font-size: 11px; text-align: right; }
.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.rg { display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-0); font-size: 12.5px; }
.rg.mid { border-color: var(--pos-line); } .rg b { font-size: 14px; }
.field.tgt input { width: 56px; } .icon-btn.sm { width: 24px; height: 24px; color: var(--brand); }
.calc-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.calc-h .field input { width: 90px; }
.btbl.calc .cin { width: 84px; height: 30px; border: 1px solid rgba(245, 165, 36, .55); border-radius: var(--r-sm); background: transparent; color: var(--text); text-align: right; padding: 0 8px; font: 600 13px var(--font-ui); }
.callout.warn { border-color: rgba(245, 165, 36, .45); } .callout.warn svg.i { color: var(--warn); }
.xpd .xp { background: transparent; padding: 0; border: 0; }
@media (max-width: 760px) {
  .xt-scroll { max-height: none; overflow: visible; }
  .xt { min-width: 0; } .xt thead { display: none; }
  .xt, .xt tbody { display: block; }
  .xt tr.xr { display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "val ev" "bk bk" "st pf"; border-bottom: 1px solid var(--line); padding: 10px 12px; gap: 8px 10px; }
  .xt tr.xr td { display: block; border: 0; padding: 0; width: auto !important; background: transparent; }
  .xt .c-val { grid-area: val; } .xt .c-ev { grid-area: ev; text-align: left; } .xt .c-mk { display: none !important; }
  .xt .c-bk { grid-area: bk; } .xt .c-st { grid-area: st; } .xt .c-pf { grid-area: pf; align-self: center; }
  .xt tr.xr { grid-template-columns: minmax(0, 1fr) 110px; grid-template-areas: "ev val" "bk bk" "st pf"; }
  .xt .c-st .stc { flex-direction: row; } .xt .c-st .stin { flex: 1; }
  .xrow { display: block; } .xrow td { display: block; padding: 0 8px 12px; }
  .spr { grid-template-columns: auto minmax(0, 1fr) auto 70px; } .spr .bar, .spr .pctx { display: none; }
  .lgl { grid-template-columns: minmax(0, 1fr) auto auto 28px; }
}

/* ---------------------------------------------------------------- P3 Prop Discrepancies */
.seg.sm { align-items: center; } .seg.sm button { height: 26px; padding: 0 9px; font-size: 12px; font-weight: 600; }
.seg.sm button.on { background: var(--brand); color: var(--brand-ink); }
.seg-l { font-size: 12px; color: var(--text-3); padding: 0 6px 0 8px; white-space: nowrap; }
.mono2 { font-family: var(--font-mono, ui-monospace, monospace); font-size: 12.5px; letter-spacing: .01em; }
.lgdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--h) 70% 55%); margin-right: 6px; vertical-align: 1px; }
.ln { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--font-mono, ui-monospace, monospace); font-size: 13px; font-weight: 600; }
.ln.dl b { padding: 3px 8px; border-radius: var(--r-sm); background: var(--bg-3); border: 1px solid var(--line-2); font-weight: 700; }
.ln.dl.eo b { background: var(--pos-cell); border-color: var(--pos-line); color: var(--pos-text); }
.ln.dl.eu b { background: var(--warn-soft); border-color: rgba(245, 165, 36, .45); color: var(--warn); }
.mx { font-size: 10px; font-weight: 600; color: var(--text-3); background: var(--bg-3); border-radius: 4px; padding: 0 4px; line-height: 15px; font-family: var(--font-mono, ui-monospace, monospace); }
.bplay { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: var(--r-md); border: 1px solid var(--brand-line); background: var(--brand-soft); font-weight: 700; font-size: 12px; max-width: 100%; white-space: nowrap; }
.bplay .u-ell { font-weight: 500; color: var(--text-2); }
.ltrack { position: relative; height: 74px; margin: 6px 4px 0; }
.ltrack .rail { position: absolute; left: 4%; right: 4%; top: 22px; height: 2px; background: var(--line-2); border-radius: 2px; }
.ltrack .avg { position: absolute; top: 12px; width: 2px; height: 22px; background: var(--brand); transform: translateX(-1px); }
.ltrack .stop { position: absolute; top: 8px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ltrack .stk { display: flex; } .ltrack .stk .bk-m + .bk-m { margin-left: -5px; }
.ltrack .stop b { font-family: var(--font-mono, ui-monospace, monospace); font-size: 13px; }
.lcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.lcard { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; display: flex; flex-direction: column; gap: 4px; background: var(--bg-1); }
.lcard .big { font-family: var(--font-mono, ui-monospace, monospace); font-size: 22px; font-weight: 700; margin-top: 6px; }
.lcard .cap { font-size: 10.5px; letter-spacing: var(--tracking-caps); color: var(--text-3); font-weight: 600; }
.lcard .cap.brand { color: var(--brand); border-top: 1px solid var(--line); padding-top: 6px; margin-top: 4px; }
.lcard.eo .cap:first-of-type { color: var(--pos-text); } .lcard.eu .cap:first-of-type { color: var(--warn); }
.lcard.pref { border-color: var(--brand-line); box-shadow: inset 0 0 0 1px var(--brand-line); }
/* the toolbar scrolls sideways when crowded; the search box keeps a usable width instead of collapsing */
.tb-tools .search { flex: 0 0 auto; min-width: 180px; }
.tb-tools > * { flex-shrink: 0; }
.pop.namebox { display: flex; gap: 8px; align-items: center; padding: 8px; }
.pop.namebox .field input { width: 160px; }

/* ---------------------------------------------------------------- P3 Fantasy Props (pick'em optimizer) */
.fx { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; }
.fx-side { position: sticky; top: 8px; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 110px); overflow: auto; scrollbar-width: thin; }
.appsel { display: inline-flex; gap: 4px; flex: none; }
.appsel .pchip { display: inline-flex; align-items: center; gap: 6px; }
.appsel .pchip .ct { font-size: 11px; color: var(--text-3); }
.appsel .pchip.on .ct { color: var(--brand); }
.hitp { display: inline-block; padding: 3px 8px; border-radius: var(--r-sm); font-weight: 700; font-size: 13px; background: var(--bg-3); color: var(--text-2); font-variant-numeric: tabular-nums; }
.hitp.green { background: var(--pos-cell); color: var(--pos-text); box-shadow: inset 0 0 0 1px var(--pos-line); }
.hitp.amber { background: var(--warn-soft); color: var(--warn); }
.hitp.red { background: var(--bg-3); color: var(--text-3); }   /* below break-even: grey, not an alarm */
.hitp.sm { font-size: 11.5px; padding: 1px 6px; }
.sl .card-b { display: flex; flex-direction: column; gap: 10px; }
.sl-legs { display: flex; flex-direction: column; gap: 6px; }
.sl-leg { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 12.5px; }
.bslip { padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-1); margin-bottom: 8px; }
@media (max-width: 1180px) { .fx { grid-template-columns: minmax(0, 1fr); } .fx-side { position: static; max-height: none; } }
.fx-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; font-size: 12.5px; }
.fx-bar .fx-need { margin-left: auto; } .fx-bar .fx-need b { color: var(--text); }
@media (max-width: 760px) { .fx-bar .fx-need { margin-left: 0; } }
.fx .tbl-scroll { max-height: calc(100vh - 200px); }

/* ---------------------------------------------------------------- P3 Whale Watch */
.wbar { row-gap: 8px; }
.wsl { display: inline-flex; align-items: center; gap: 8px; padding: 0 8px; flex: none; }
.wsl .k { font-size: 11px; letter-spacing: var(--tracking-caps); color: var(--text-3); font-weight: 600; }
.wsl input[type=range] { width: 90px; accent-color: var(--brand); }
.wsl b { font-size: 13px; min-width: 48px; color: var(--pos-text); font-variant-numeric: tabular-nums; }
.wmet { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 6px; border: 1px solid var(--line); border-radius: var(--r-sm); background: transparent;
  font-size: 11px; letter-spacing: var(--tracking-caps); color: var(--text-2); font-weight: 600; cursor: pointer; }
.wmet:hover { color: var(--text); border-color: var(--line-2); } .wmet svg.i { width: 12px; height: 12px; opacity: .7; }
.wfl { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.wfl .chip .ct { font-size: 11px; color: var(--text-3); margin-left: 4px; } .wfl .chip.on .ct { color: var(--brand); }
.wleft { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wlh { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; padding-right: 4px; }
.wcount { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.wsplit-l { display: grid; grid-template-columns: minmax(320px, 440px) minmax(0, 1fr); gap: 16px; align-items: start; }
.wlist { display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 150px); overflow: auto; scrollbar-width: thin; padding-right: 4px; }
.wcard { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-1); padding: 14px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.wcard:hover { border-color: var(--line-2); } .wcard.on { border-color: var(--pos-line); box-shadow: inset 0 0 0 1px var(--pos-line); }
.wcard:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.wtop { display: flex; align-items: center; gap: 8px; } .wtop .act { margin-left: auto; }
.wwhen { margin-left: auto; font-size: 12px; color: var(--text-3); white-space: nowrap; letter-spacing: 0; font-weight: 400; }
.wtop .ev { min-width: 0; height: 24px; padding: 0 8px; font-size: 12px; white-space: nowrap; }
.wedge { font-size: 11.5px; color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wbig { font-family: var(--font-hero); font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--pos-text); line-height: 1; }
.wbig.sm { font-size: 22px; }
.wcap { font-size: 10.5px; letter-spacing: var(--tracking-caps); color: var(--text-3); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.wev b { display: block; font-size: 14.5px; } .wev span { font-size: 12px; color: var(--text-3); }
.wplay { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-md); background: var(--bg-2); }
.wplay b { font-size: 14px; min-width: 0; } .wpx { display: flex; flex-direction: column; align-items: flex-end; } .wpx small { font-size: 10.5px; color: var(--warn); } .wpx small.u-dim { color: var(--text-3); }
.wsplit { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: end; font-size: 11.5px; color: var(--text-3); }
.wsplit > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .wsplit > div:last-child { text-align: right; }
.wsplit .sl { display: flex; gap: 6px; min-width: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wsplit .sl .n { overflow: hidden; text-overflow: ellipsis; min-width: 0; } .wsplit .sl b { font-weight: 600; flex: none; }
.wsplit > div:last-child .sl { justify-content: flex-end; }
.wsplit .bar { height: 6px; } .wsplit .bar.grey i { background: var(--text-4); margin-left: auto; } .wsplit .vs { padding-bottom: 0; }
.wfoot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.wfoot > span:first-child { font-weight: 600; color: var(--text-2); } .wfoot > span.u-neg { color: var(--neg-text); }
.wfoot .wv { margin-left: auto; display: inline-flex; gap: 3px; }
.wv .fv, .fill .fv { font-size: 10px; font-weight: 700; color: var(--text-2); background: var(--bg-3); border-radius: 4px; text-align: center; padding: 2px 4px; }
.wdet { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-0); padding: 18px 20px; min-height: 400px; position: sticky; top: 8px; max-height: calc(100vh - 110px); overflow: auto; }
.wd .crumb2 { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; } .wd .crumb2 > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-ic { margin-left: auto; display: inline-flex; gap: 2px; flex: none; } .wd-ic .icon-btn svg.i { width: 18px; height: 18px; }
.wd-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; } .wd-h h3 { margin: 0; font-size: 19px; } .wd-h .cta { margin-left: auto; }
.wd-t { min-width: 0; } .wd-sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; font-size: 13px; color: var(--text-2); }
.wstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; margin: 14px 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.wst { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wst .k { font-size: 11px; font-weight: 500; letter-spacing: var(--tracking-caps); color: var(--text-3); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.wst b { font-family: var(--font-hero); font-size: 18px; font-weight: 700; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.wtl { display: block; margin-top: 6px; overflow: visible; }
.wtl text { font-size: 10.5px; fill: var(--text-3); font-variant-numeric: tabular-nums; } .wtl .grid { stroke: var(--line-row); }
.wtl line.be { stroke: var(--pos); stroke-dasharray: 4 4; opacity: .8; } .wtl text.be { fill: var(--pos-text); }
.wtl line.now { stroke: var(--text-2); stroke-dasharray: 2 3; } .wtl text.now { fill: var(--text-2); }
.wtl circle.count { fill: var(--pos); fill-opacity: .55; stroke: var(--pos); } .wtl circle.grey { fill: var(--text-4); fill-opacity: .45; stroke: var(--text-3); }
.wtl circle.other { fill: none; stroke: var(--text-3); stroke-width: 1.5; stroke-dasharray: 3 2; }
.wtl-k { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11px; color: var(--text-3); margin: 4px 0 6px; }
.wtl-k span { display: inline-flex; align-items: center; gap: 5px; } .wtl-k i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.wtl-k i.count { background: var(--pos); } .wtl-k i.grey { background: var(--text-4); } .wtl-k i.other { border: 1.5px dashed var(--text-3); }
.wtl-k i.ln { width: 14px; height: 0; border-radius: 0; border-top: 2px dashed var(--pos); } .wtl-k i.ln.now { border-top-color: var(--text-2); border-top-style: dotted; }
.wsteam { font-size: 12.5px; color: var(--text-2); margin: 2px 0 4px; } .wsteam.up { color: var(--pos-text); } .wsteam.down { color: var(--neg-text); }
.fills { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.fill { display: grid; grid-template-columns: 28px 56px minmax(0, 1fr) 84px; gap: 10px; align-items: center; font-variant-numeric: tabular-nums; }
.fill .fv { padding: 2px 0; }
.fill .fp { font-weight: 600; } .fill .fu { text-align: right; font-weight: 600; }
.fill .bar { height: 14px; } .fill .bar i { background: var(--pos); } .fill.grey .bar i { background: var(--text-4); } .fill.grey { color: var(--text-3); }
.bediv { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 10.5px; letter-spacing: var(--tracking-caps); color: var(--text-3); font-weight: 600; }
.bediv::before, .bediv::after { content: ""; flex: 1; border-top: 1px dashed var(--line-2); }
.wsides { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.wsd { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) 84px; gap: 10px; align-items: center; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.wsd .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .wsd.mine .l { color: var(--pos-text); font-weight: 600; }
.wsd .bar { height: 10px; } .wsd .bar i { background: var(--pos); } .wsd .bar.grey i { background: var(--text-4); } .wsd .fu { text-align: right; font-weight: 600; }
.btbl.wwb td small { display: block; font-size: 11px; font-weight: 500; line-height: 1.2; }
.btbl.wwb th.ps { color: var(--pos-text); }
.btbl.wwb tr.best td.ps { background: var(--pos-cell); } .btbl.wwb tr.best td.ps .price { color: var(--pos-text); font-weight: 600; }
.btbl.wwb tr.dimr td { color: var(--text-3); } .btbl.wwb tr.dimr .price { color: var(--text-3); }
.wrec { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-1); margin-bottom: 10px; font-size: 12.5px; color: var(--text-2); }
.wrec summary { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; cursor: pointer; list-style: none; min-width: 0; }
.wrec summary::-webkit-details-marker { display: none; } .wrec summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: var(--r-md); }
.wrec summary > b { color: var(--text); font-size: 13px; white-space: nowrap; } .wrec summary > .u-dim { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrec summary .chev { margin-left: auto; width: 14px; height: 14px; opacity: .7; flex: none; transition: transform .15s; } .wrec[open] summary .chev { transform: rotate(180deg); }
.wrec p { margin: 0; padding: 0 12px 10px 34px; line-height: 1.5; color: var(--text-3); } .wrec p a { color: var(--brand); }
.wrec-k { display: flex; gap: 4px 16px; color: var(--text-3); min-width: 0; overflow: hidden; white-space: nowrap; } .wrec-k b { color: var(--text); font-variant-numeric: tabular-nums; margin-right: 3px; }
@media (max-width: 1180px) { .wsplit-l { grid-template-columns: minmax(0, 1fr); } .wdet { display: none; } .wlist { max-height: none; overflow: visible; padding-right: 0; } }
@media (max-width: 760px) {
  .wbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; margin: 0 -16px 8px; padding: 2px 16px; }
  .wbar::-webkit-scrollbar { display: none; } .wfl { flex-wrap: nowrap; } .wfl .ghost, .wfl .chip { flex: none; }
  .wsl { padding: 0 2px; } .wsl input[type=range] { width: 72px; } .wsl b { min-width: 40px; }
  .wtop { gap: 6px; } .wbig { font-size: 26px; } .wedge { font-size: 11px; }
  .wrec summary > .u-dim, .wrec-k > span:nth-child(n+3) { display: none; }
  .wsd { grid-template-columns: minmax(0, 120px) minmax(0, 1fr) 72px; }
  .wstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wd-h .cta { margin-left: 0; width: 100%; justify-content: center; }
  .wrec p { font-size: 12px; }
}

/* ---------------------------------------------------------------- P4 command palette */
.palette-wrap { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .45); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 0; }
.palette { width: min(640px, 100%); background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-float); overflow: hidden; }
.pal-in { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text-3); }
.pal-in input { flex: 1; border: 0; background: transparent; outline: none; color: var(--text); font-size: 16px; }
.pal-in kbd { font-size: 10px; border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 5px; color: var(--text-3); }
.pal-list { max-height: 50vh; overflow: auto; padding: 6px; }
.pal-it { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; text-align: left; border: 0; background: transparent; color: var(--text); padding: 9px 10px; border-radius: var(--r-md); font-size: 13.5px; cursor: pointer; }
.pal-it.on, .pal-it:hover { background: var(--bg-3); } .pal-it.on { box-shadow: inset 2px 0 0 var(--brand); }
.pal-it svg.i { color: var(--text-3); } .pal-sub { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.pchip.hchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 6px; } .pchip.hchip:not(.on) { opacity: .55; }
.trk-chart svg { max-height: 200px; }
/* P5 price history stamps: last moved (+EV) and the line-move arrow (Odds screen) */
.mvc { font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--text-2); } .mvc.up { color: var(--pos-text); } .mvc.down { color: var(--neg-text); }
.mvt { font-style: normal; font-size: 8px; margin-right: 2px; vertical-align: 2px; } .mvt.up { color: var(--pos-text); } .mvt.down { color: var(--neg-text); }
/* drawers with a sticky save bar (Fair value & filters): the bar sits at the drawer's own bottom (the phone tab bar is
   under the drawer), and the content above it gets room for the bar + the safe-area inset so the last control
   ("Show flagged prices") is never covered */
.drawer .savebar { bottom: 0 !important; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
.drawer .drawer-b:has(+ .savebar) { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
/* dashboard first-visit guide */
.card.start { margin-bottom: 16px; border-color: var(--brand-line); }
.steps3 { list-style: none; margin: 0; padding: 4px 16px 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.steps3 li { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-1); font-size: 13px; }
.steps3 li span { color: var(--text-2); line-height: 1.5; flex: 1; } .steps3 li.done { border-color: var(--pos-line); } .steps3 li.done b { color: var(--pos-text); }
@media (max-width: 760px) { .steps3 { grid-template-columns: minmax(0, 1fr); } }
.howlink { font-size: 12px; font-weight: 600; color: var(--brand); white-space: nowrap; margin-left: 8px; flex: none; }
.howlink:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .howlink { font-size: 11px; margin-left: 4px; } }

/* phone card price strips open the row's detail (odds: ladder / line history; discrepancies: line spread) */
.cards .prices[role="button"] { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* policy.js odds-only rows: books that don't take bettors in the member's state (or offshore / intl): shown, never put forward */
tr.oddsonly td, tr.oddsonly td *:not(.bk-m), .ourow.oddsonly, .ourow.oddsonly *:not(.bk-m) { color: var(--text-3); }   /* dimmed by colour, not opacity: stays above 4.5:1 (axe) */
tr.oddsonly.best td, .ourow.oddsonly.best { background: none; }

/* ================================================================== funnel (audit #1 / #9 / #10 / #19): signed-out landing (landing.js),
   gate panels, first-visit setup (onboard.js), Simple view (simple.js), honest-state banners (notices.js). Tokens only. */
.btn.lg { height: 40px; padding: 0 16px; font-size: 14px; gap: 8px; }
.ld { display: flex; flex-direction: column; gap: 40px; max-width: 1240px; margin: 0 auto; padding: 12px 0 8px; }
.ld-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 28px 0 4px; }
.ld-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: var(--tracking-nav); color: var(--text-3); }
.ld-crown { width: 22px; height: 22px; }
.ld-h { margin: 14px 0 0; font-size: 44px; line-height: 1.06; letter-spacing: -.035em; font-weight: 800; max-width: 14ch; text-wrap: balance; }
.ld-dek { margin: 16px 0 0; font-size: 16px; line-height: 1.55; color: var(--text-2); max-width: 54ch; }
.ld-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: inherit; margin-top: 22px; }
.ld-panel .ld-cta { justify-content: center; margin-top: 8px; }
.ld-fine { margin: 12px 0 0; font-size: 12.5px; color: var(--text-3); }
.ld-status { margin: 6px 0 0; font-size: 12.5px; min-height: 0; }
.ld-status:empty { display: none; }
.ld-lgs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 18px; font-size: 12px; }
.ld-examples { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--toplight), 0 0 60px -20px rgba(240, 196, 69, .14);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0)); }
.ld-ex-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 0 2px 2px; font-size: 12px; }
.ld-ex-h b { font-size: 13px; font-weight: 600; } .ld-ex-h span { color: var(--text-3); }
.ld-ex { color: var(--text); background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--toplight); }
.ld-ex .l1 { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); min-width: 0; }
.ld-ex .l2 { font-size: 15px; font-weight: 600; line-height: 1.3; }
.ld-ex .l3 { font-size: 13px; color: var(--text-2); }
.ld-lockic { margin-left: auto; color: var(--brand); display: inline-flex; flex: none; }
.ld-ex-g { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; margin-top: 8px; border-top: 1px solid var(--line-row); padding-top: 10px; }
.ld-ex-g > div { display: flex; flex-direction: column; gap: 4px; padding: 0 10px; border-left: 1px solid var(--line-row); min-width: 0; }
.ld-ex-g > div:first-child { padding-left: 0; border-left: 0; }
.ld-ex-g .k { font-size: 10px; font-weight: 500; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-3); }
.ld-ex-g .v { font-size: 13px; font-weight: 600; min-height: 18px; display: flex; align-items: center; }
.ld-lockbar { display: inline-block; height: 12px; border-radius: var(--r-xs); background: repeating-linear-gradient(135deg, var(--bg-elev) 0 6px, var(--skeleton) 6px 12px); }
.ld-ex-skel { gap: 10px; } .ld-ex-skel .skel { display: block; }
.ld-ex-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 36px 16px; color: var(--text-3); font-size: 13px; }
.ld-ex-empty svg.i { color: var(--brand); width: 24px; height: 24px; } .ld-ex-empty b { color: var(--text); font-weight: 600; }
.ld-stats { display: flex; flex-direction: column; gap: 10px; }
.ld-stats > p { margin: 0; font-size: 12.5px; }
.ld-stats-g { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-1); box-shadow: var(--toplight); }
.ld-stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-left: 1px solid var(--line); min-width: 0; }
.ld-stat:first-child { border-left: 0; }
.ld-stat b { font-size: 26px; line-height: 1.1; } .ld-stat:first-child b { color: var(--pos-text); }
.ld-stat span { font-size: 12px; color: var(--text-3); }
.ld-sec h3 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.02em; font-weight: 700; }
.ld-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 10px; }
.ld-tool { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-1); box-shadow: var(--toplight); color: var(--text); text-decoration: none; min-width: 0; }
a.ld-tool:hover { background: var(--bg-3); border-color: var(--line-2); }
.ld-tool b { display: block; font-size: 14px; font-weight: 600; }
.ld-tool span span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--text-2); }
.ld-tic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 8px; color: var(--brand); background: var(--brand-soft); border: 1px solid var(--brand-line); }
.ld-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ld-pc { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-1); box-shadow: var(--toplight); }
.ld-pc b { font-size: 15px; font-weight: 600; margin-top: 4px; }
.ld-pc p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-2); flex: 1; }
.ld-calcs { display: flex; gap: 18px 32px; align-items: center; flex-wrap: wrap; padding: 18px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.ld-calcs h3 { margin: 0; font-size: 16px; } .ld-calcs p { margin: 4px 0 0; font-size: 12.5px; }
.ld-calc-l { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; flex: 1; }
.ld-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--text); font-size: 13px; text-decoration: none; }
.ld-chip:hover { background: var(--bg-3); }
.ld-final { display: flex; gap: 16px 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--r-lg);
  border: 1px solid var(--brand-line); background: linear-gradient(90deg, var(--brand-soft-2), var(--brand-soft)); }
.ld-final > div:first-child { display: flex; flex-direction: column; gap: 4px; max-width: 640px; }
.ld-final b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; } .ld-final span { font-size: 13px; color: var(--text-2); }
.ld-final .ld-cta { margin-top: 0; }
.ld-panel { max-width: 920px; margin: 0 auto; }
.ld-panel-ex { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 18px; text-align: left; }
.ld-panel-ex .ld-ex-g { grid-template-columns: 1fr 1fr; row-gap: 10px; }
.ld-panel-ex .ld-ex-g > div:nth-child(3) { padding-left: 0; border-left: 0; }
@media (max-width: 1180px) {
  .ld-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 12px; }
  .ld-h { font-size: 38px; max-width: 18ch; }
  .ld-stats-g { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ld-stat:nth-child(4) { border-left: 0; } .ld-stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .ld-proof, .ld-panel-ex { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ld { gap: 28px; padding-top: 4px; }
  .ld-h { font-size: 30px; }
  .ld-dek { font-size: 15px; }
  .ld-cta .btn.lg { flex: 1 1 auto; justify-content: center; }
  .ld-examples { padding: 12px; }
  .ld-ex-g { grid-template-columns: 1fr 1fr; row-gap: 10px; }
  .ld-ex-g > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ld-stats-g { grid-template-columns: 1fr 1fr; }
  .ld-stat { border-left: 0; border-top: 1px solid var(--line); padding: 12px 14px; }
  .ld-stat:nth-child(-n+2) { border-top: 0; } .ld-stat:nth-child(even) { border-left: 1px solid var(--line); }
  .ld-stat:nth-child(4) { border-left: 1px solid var(--line); }
  .ld-stat b { font-size: 22px; }
  .ld-tools { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ld-tool { flex-direction: column; gap: 8px; padding: 12px; }
  .ld-tool .ld-tic { width: 32px; height: 32px; }
  .ld-sec h3 { font-size: 18px; }
  .ld-final { padding: 18px; }
}
/* honest-state banner (#notice) */
.ntc { display: flex; align-items: center; gap: 10px; margin: 10px 20px 0; padding: 9px 12px; border-radius: var(--r-md); border: 1px solid rgba(245, 165, 36, .45);
  background: var(--warn-soft); font-size: 12.5px; color: var(--text-2); }
.ntc svg.i { color: var(--warn); flex: none; } .ntc b { color: var(--text); font-weight: 600; }
.ntc .btn { margin-left: auto; flex: none; }
.ntc.err { border-color: var(--neg-line); background: var(--neg-soft); } .ntc.err svg.i { color: var(--neg); }
@media (max-width: 760px) { .ntc { margin: 8px 12px 0; flex-wrap: wrap; } }
/* first-visit setup */
.ob-scrim { position: fixed; inset: 0; z-index: calc(var(--z-drawer) + 2); background: var(--scrim); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
body.ob-on { overflow: hidden; }
.ob { width: min(600px, 100%); background: var(--bg-1); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-float), var(--toplight); padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 6px; }
.ob-h { display: flex; align-items: center; justify-content: space-between; }
.ob-steps { display: flex; gap: 6px; } .ob-steps i { width: 28px; height: 4px; border-radius: 99px; background: var(--bg-4); } .ob-steps i.on { background: var(--brand); }
.ob h2 { margin: 8px 0 0; font-size: 22px; letter-spacing: -.02em; font-weight: 700; }
.ob-sub { margin: 0; color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
.ob-b { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.ob-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--text-3); font-weight: 500; }
.ob-field select { height: 42px; padding: 0 12px; border-radius: var(--r-md); border: 1px solid var(--line-input); background: var(--bg-2); color: var(--text); font-size: 14px; }
.ob-note { margin: 0; font-size: 12.5px; color: var(--text-3); }
.ob-opts { display: flex; flex-direction: column; gap: 8px; }
.ob-opt { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-align: left; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; font: inherit; }
.ob-opt b { font-size: 14px; font-weight: 600; } .ob-opt span { grid-column: 1; font-size: 12.5px; color: var(--text-2); }
.ob-opt small { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 11.5px; color: var(--text-3); }
.ob-opt:hover { background: var(--bg-3); }
.ob-opt.on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand), var(--glow); background: var(--brand-soft); } .ob-opt.on small { color: var(--brand); }
.ob-simple { white-space: normal; }
.ob-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; max-height: 46vh; overflow-y: auto; padding: 2px; }
.ob-book { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--r-md); border: 1px solid var(--line); font-size: 13px; cursor: pointer; min-width: 0; }
.ob-book input { accent-color: var(--brand); margin: 0; flex: none; }
.ob-book .nm { display: flex; flex-direction: column; min-width: 0; } .ob-book small { font-size: 11px; color: var(--text-3); }
.ob-book.on { border-color: var(--brand-line); background: var(--brand-soft); }
.ob-book.dim:not(.on) .nm { color: var(--text-3); }
.ob-f { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .ob-scrim { place-items: end center; padding: 0; }
  .ob { border-radius: 16px 16px 0 0; padding: 16px 16px calc(14px + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto; }
  .ob h2 { font-size: 19px; }
  .ob-books { grid-template-columns: 1fr 1fr; max-height: 40vh; }
  .ob-opt small { display: none; }
}
/* Simple view (+EV) */
.sv-toggle button { min-width: 52px; }
.sv-bk { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-edge { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; } .sv-edge small { font-size: 11px; color: var(--text-3); }
.sv-why { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; font-size: 12px; line-height: 1.35; color: var(--text-2); }
.mcard .sv-why { -webkit-line-clamp: 4; font-size: 12.5px; }
/* sign-in sheet (signin.js): Discord or email magic link */
.si { width: min(440px, 100%); gap: 8px; }
.si .ld-eyebrow { font-size: 10px; }
.si-dc { width: 100%; justify-content: center; margin-top: 10px; }
.si-or { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 11px; letter-spacing: var(--tracking-caps); text-transform: uppercase; margin: 6px 0; }
.si-or::before, .si-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.si-em { display: flex; flex-direction: column; gap: 8px; }
.si-em input { height: 42px; padding: 0 12px; border-radius: var(--r-md); border: 1px solid var(--line-input); background: var(--bg-2); color: var(--text); font-size: 14px; }
.si-em .btn { width: 100%; justify-content: center; }
.si-msg { margin: 2px 0 0; font-size: 12.5px; color: var(--text-2); min-height: 18px; }
.si-msg.ok { color: var(--pos-text); } .si-msg.bad { color: var(--neg-text); }
/* pricing (pricing.js): landing section + #/pricing */
.pr { display: flex; flex-direction: column; gap: 16px; max-width: 1080px; }
.pr-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pr-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-1); box-shadow: var(--toplight); }
.pr-card.pr-paid { border-color: var(--brand-line); box-shadow: var(--toplight), 0 0 40px -16px rgba(240, 196, 69, .25); }
.pr-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pr-h > b { font-size: 16px; font-weight: 700; }
.pr-price b { font-size: 28px; } .pr-price small { font-size: 12px; color: var(--text-3); }
.pr-lead { margin: 0; font-size: 13px; color: var(--text-2); }
.pr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.pr-list li { display: flex; gap: 8px; align-items: flex-start; } .pr-list svg.i { color: var(--pos); flex: none; margin-top: 2px; }
.pr-cta { margin-top: auto; padding-top: 6px; }
.pr-foot { margin: 10px 0 0; font-size: 12.5px; }
.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pr-plan { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-top: 1px solid var(--line-row); border-left: 1px solid var(--line-row); font-size: 12.5px; }
.pr-plan:nth-child(-n+3) { border-top: 0; } .pr-plan:nth-child(3n+1) { border-left: 0; }
.pr-plan > b { font-size: 13px; font-weight: 600; } .pr-amt b { font-size: 22px; } .pr-amt small { font-size: 12px; color: var(--text-3); margin-left: 4px; }
@media (max-width: 760px) {
  .pr-cards { grid-template-columns: 1fr; }
  .pr-grid { grid-template-columns: 1fr 1fr; }
  .pr-plan { border-left: 0; border-top: 1px solid var(--line-row); } .pr-plan:nth-child(-n+3) { border-top: 1px solid var(--line-row); }
  .pr-plan:nth-child(-n+2) { border-top: 0; } .pr-plan:nth-child(even) { border-left: 1px solid var(--line-row); }
}

/* ---------------------------------------------------------------- Fantasy Props v2 (optimizer, slip metrics) */
.hitp.below { background: var(--neg-soft); color: var(--neg-text); box-shadow: inset 0 0 0 1px var(--neg-line); }   /* below break-even: red, like Upside */
.fx-bar .p6 { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); flex-wrap: wrap; }
.fx-bar .p6 label { display: inline-flex; align-items: center; gap: 3px; }
.fx-bar .p6 .cin { width: 44px; height: 26px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: transparent; color: var(--text); text-align: right; padding: 0 6px; font: 600 12px var(--font-ui); }
.pk-tabs { width: 100%; } .pk-tabs button { flex: 1; }
.pk-ctl { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-sub { font-size: 12px; margin: 4px 0 6px; } .pk-sub b { color: var(--text); }
.pk-foot, .pk-src { font-size: 11.5px; line-height: 1.45; } .pk-src { padding: 0 4px; } .pk-src b { color: var(--text); }
.pk-ent tr[data-ent] { cursor: pointer; } .pk-ent td { height: 36px; } .pk-ent small { font-weight: 500; }
.pk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-md); }
.pk-stat { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-left: 1px solid var(--line-row); min-width: 0; }
.pk-stat:first-child { border-left: 0; }
.pk-stat .lbl { font-size: 10px; font-weight: 500; letter-spacing: var(--tracking-caps, .08em); text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.pk-stat b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pk-stat .corr { font-size: 10.5px; color: var(--text-3); white-space: nowrap; }
.pk-bars { display: flex; flex-direction: column; gap: 4px; }
.pk-bar { display: grid; grid-template-columns: 34px minmax(0, 1fr) 46px 48px; gap: 8px; align-items: center; font-size: 11.5px; font-variant-numeric: tabular-nums; color: var(--text-2); }
.pk-bar .track { height: 8px; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.pk-bar .track i { display: block; height: 100%; background: var(--text-3); border-radius: 3px; }
.pk-bar.win .track i { background: var(--pos); } .pk-bar.part .track i { background: var(--warn); }
.pk-bar .v, .pk-bar .x { text-align: right; } .pk-bar .k { color: var(--text-3); }
.pk-kelly { font-size: 12px; } .pk-kelly b { color: var(--text); }
.pk-apps { display: flex; flex-direction: column; gap: 6px; }
.pk-app { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-1); color: var(--text); text-align: left; cursor: pointer; }
.pk-app.on { box-shadow: inset 2px 0 0 var(--brand); } .pk-app .nm { display: flex; flex-direction: column; min-width: 0; } .pk-app small { font-size: 11.5px; }
.bslip .sl-legs { margin-bottom: 4px; }
.sl-leg small { margin-left: 4px; }
@media (max-width: 760px) { .fx-side { order: -1; } .fx { display: flex; flex-direction: column; } .pk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pk-stat:nth-child(3) { border-left: 0; } .fx-bar { gap: 10px; } }
