/* Leak — "Clean" style: near-black and white, color only on money. */
:root {
  --bg: #0A0A0A;
  --surface: #141414;
  --surface-2: #1A1A1A;
  --line: #1F1F1F;
  --line-strong: #2E2E2E;
  --text: #FAFAFA;
  --muted: #A1A1A1;
  --faint: #8A8A8A;
  --gain: #7FCB97;
  --loss: #E59468;
  --focus: #9DB7FF;
  --live: #F2545B;
  --radius: 14px;
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: dark;
}
/* Light mode: picked in the profile, or following the phone when set to "Match phone". */
:root[data-theme="light"] {
  --bg: #F7F7F5;
  --surface: #FFFFFF;
  --surface-2: #EFEFEC;
  --line: #E6E6E2;
  --line-strong: #D2D2CC;
  --text: #111111;
  --muted: #5C5C58;
  --faint: #73736E;
  --gain: #1E7F4A;
  --loss: #B8501C;
  --focus: #3D63D6;
  --live: #D9363E;
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
  --bg: #F7F7F5;
    --surface: #FFFFFF;
    --surface-2: #EFEFEC;
    --line: #E6E6E2;
    --line-strong: #D2D2CC;
    --text: #111111;
    --muted: #5C5C58;
    --faint: #73736E;
    --gain: #1E7F4A;
    --loss: #B8501C;
    --focus: #3D63D6;
    --live: #D9363E;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--text); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.app { max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.boot { color: var(--muted); padding: 40px 20px; text-align: center; }
main { flex: 1; padding: 22px 20px calc(100px + env(safe-area-inset-bottom)); }
main.no-nav { padding-bottom: 40px; }

/* ---------- type ---------- */
.wordmark { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; text-decoration: none; }
h1 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
h2 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.eyebrow { font-size: 13px; color: var(--muted); font-weight: 500; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.num { font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gain { color: var(--gain); }
.loss { color: var(--loss); }

/* ---------- top bar ---------- */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.range-select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: var(--muted);
  font-size: 15px; font-weight: 500; min-height: 44px; padding: 0 22px 0 6px; cursor: pointer; text-align: right;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A1A1A1' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
.range-select option { background: var(--surface); color: var(--text); }
.demo-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 4px 4px 12px; margin-top: 14px; }
.demo-pill button { background: var(--surface-2); border: 0; border-radius: 999px; padding: 6px 12px; min-height: 32px; font-size: 13px; font-weight: 600; cursor: pointer; }

/* ---------- hero ---------- */
.hero { margin-top: 26px; display: flex; flex-direction: column; gap: 4px; }
.hero-num { font-size: clamp(44px, 14vw, 58px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-family: var(--font); font-variant-numeric: tabular-nums; }
.hero-sub { font-size: 15px; color: var(--muted); margin-top: 6px; }
.spark { display: block; width: 100%; height: 64px; margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat .label { font-size: 13px; color: var(--muted); }
.stat .value { font-family: var(--mono); font-size: 18px; font-weight: 600; }

/* ---------- sections & rows ---------- */
.section-head { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; min-height: 44px; }
.link-btn { background: none; border: 0; color: var(--muted); font-size: 15px; min-height: 44px; padding: 0 2px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.link-btn:hover { color: var(--text); }
.rows { display: flex; flex-direction: column; }
.row {
  width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 14px 0; display: flex; align-items: center; gap: 12px; cursor: pointer; color: inherit; text-decoration: none; min-height: 56px;
}
.row:disabled { cursor: default; }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row-kicker { font-size: 13px; color: var(--muted); }
.row-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.row-sub { font-size: 14px; color: var(--muted); }
.row .num { font-size: 17px; }
.rank { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--muted); font-size: 13px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.chev { flex-shrink: 0; color: var(--faint); }

.cta {
  margin-top: 18px; width: 100%; min-height: 64px; background: var(--text); color: var(--bg); border: 0; border-radius: var(--radius);
  padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; cursor: pointer; text-decoration: none;
}
.cta .k { font-size: 13px; color: #4A4A4A; font-weight: 500; }
.cta .t { font-size: 16px; font-weight: 700; }

.btn {
  min-height: 52px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  font-weight: 600; font-size: 16px; padding: 0 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
}
.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-block { width: 100%; }
.btn-small { min-height: 40px; font-size: 14px; padding: 0 14px; border-radius: 10px; }
.btn[disabled] { opacity: 0.5; cursor: progress; }
.btn-danger { color: var(--loss); }

.note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.empty { padding: 28px 0; color: var(--muted); font-size: 15px; }
.empty strong { color: var(--text); display: block; font-size: 17px; margin-bottom: 4px; }
.banner { margin-top: 16px; border: 1px solid #4A2E22; background: #1A120E; border-radius: 12px; padding: 12px 14px; font-size: 14px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }

/* ---------- leak detail ---------- */
.leak-detail { padding: 6px 0 18px 40px; border-bottom: 1px solid var(--line); }
.chart { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 14px; }
.bar-row { display: grid; grid-template-columns: 96px 1fr 72px; align-items: center; gap: 10px; font-size: 13px; }
.bar-row .lbl { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-row.is-current .lbl { color: var(--text); font-weight: 600; }
.bar-row .amt { text-align: right; font-family: var(--mono); font-size: 13px; }
.diverge { display: grid; grid-template-columns: 1fr 1fr; height: 8px; }
.diverge .neg { display: flex; justify-content: flex-end; border-right: 1px solid var(--line-strong); }
.diverge .pos { display: flex; }
.diverge .neg span { background: var(--loss); height: 8px; border-radius: 4px 0 0 4px; }
.diverge .pos span { background: var(--gain); height: 8px; border-radius: 0 4px 4px 0; }
.mini-list { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 14px; font-size: 14px; }
.mini-list div { display: flex; justify-content: space-between; gap: 12px; }
.mini-list span:first-child { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- breakdown ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.crumb { display: inline-flex; align-items: center; text-decoration: none; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; color: var(--muted); font-size: 14px; cursor: pointer; }
.crumb[aria-current="page"] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 700; cursor: default; }
.crumb-sep { color: var(--faint); font-size: 14px; }
.summary { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); margin-top: 6px; }
.summary .big { font-family: var(--mono); font-size: 32px; font-weight: 600; letter-spacing: -0.03em; }
.summary .facts { text-align: right; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.summary .facts b { color: var(--text); font-weight: 600; }
.group-row { flex-direction: column; align-items: stretch; gap: 8px; }
.group-row .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.group-row .name { font-size: 16px; font-weight: 600; }
.group-row .name small { font-size: 13px; color: var(--muted); font-weight: 400; }

/* ---------- me ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-top: 18px; }
.calib { display: flex; gap: 16px; align-items: center; }
.calib .score { font-family: var(--mono); font-size: 34px; font-weight: 600; letter-spacing: -0.03em; }
.calib svg { flex-shrink: 0; }
.rule { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); min-height: 64px; }
.rule .row-main { gap: 4px; }
.rule-edit { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.rule-edit select, .rule-edit input { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; min-height: 32px; padding: 0 8px; font-size: 13px; }
.rule-edit input { width: 72px; }
.switch { appearance: none; -webkit-appearance: none; width: 50px; height: 30px; border-radius: 15px; background: var(--surface-2); border: 1px solid var(--line-strong); position: relative; margin: 0; cursor: pointer; flex-shrink: 0; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--faint); transition: left .15s, background .15s; }
.switch:checked { background: var(--text); border-color: var(--text); }
.switch:checked::after { left: 23px; background: var(--bg); }
.acct { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); min-height: 60px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field .help { font-size: 13px; color: var(--muted); }
.input, .textarea { width: 100%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; font-size: 15px; min-height: 48px; }
.textarea { min-height: 120px; font-family: var(--mono); font-size: 12px; resize: vertical; }
.input:focus, .textarea:focus { border-color: var(--muted); outline: none; }
.err { color: var(--loss); font-size: 14px; margin-top: 10px; }
.steps { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.lock svg { flex-shrink: 0; margin-top: 1px; }
.lock { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-top: 14px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---------- welcome ---------- */
.welcome { display: flex; flex-direction: column; min-height: calc(100dvh - 80px); }
.welcome .hero-title { font-size: clamp(38px, 11vw, 48px); font-weight: 800; letter-spacing: -0.05em; line-height: 1.02; margin-top: 22px; }
.welcome-drop { width: 56px; height: 74px; margin-top: 5vh; color: var(--text); overflow: visible; }
.welcome-drop .drip { animation: drip 2.8s ease-in infinite; }
@keyframes drip { 0%, 35% { transform: translateY(-14px); opacity: 0; } 45% { opacity: 1; } 85% { transform: translateY(6px); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .welcome-drop .drip { animation: none; } }
.welcome .lede { font-size: 17px; color: var(--muted); margin-top: 16px; max-width: 34ch; }
.welcome .actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 40px; }

/* ---------- nav ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 6px 8px calc(10px + env(safe-area-inset-bottom)); z-index: 10;
}
.tabbar-inner { max-width: 480px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tab { min-height: 54px; text-decoration: none; color: var(--faint); font-size: 11px; font-weight: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.tab[aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(10px); background: var(--text); color: var(--bg); border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 40px); z-index: 20; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- draggable chart ---------- */
.chart-wrap { position: relative; margin-top: 18px; height: 64px; touch-action: pan-y; cursor: crosshair; user-select: none; -webkit-user-select: none; border-radius: 6px; }
.chart-wrap .spark { margin-top: 0; height: 64px; }
.chart-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--text); pointer-events: none; box-shadow: 0 0 0 3px var(--bg); }
.scrub-line { position: absolute; top: -6px; bottom: -6px; width: 1px; background: var(--muted); pointer-events: none; }
.chart-hint { margin: 8px 0 0; }
@media (hover: hover) { .chart-hint { display: none; } }

/* ---------- your numbers ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.tile { display: flex; flex-direction: column; gap: 3px; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.tile:nth-child(2n) { padding-left: 14px; padding-right: 0; border-left: 1px solid var(--line); }
.tile.wide { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
.tile .label { font-size: 13px; color: var(--muted); }
.tile .value { font-family: var(--mono); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.tile .sub { font-size: 13px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tile .value.plats { font-family: var(--font); font-size: 15px; display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.plat { display: flex; justify-content: space-between; gap: 12px; }

/* ---------- breakdown chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 14px -20px 0; padding: 2px 20px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.chip { background: none; font-family: inherit; cursor: pointer; }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 700; }

/* ---------- top bar extras ---------- */
.topbar-right { display: flex; align-items: center; gap: 4px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--muted); text-decoration: none; flex-shrink: 0; }
.avatar:hover { color: var(--text); }
.tab { font-size: 10.5px; }

/* ---------- segmented control ---------- */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-top: 14px; }
.seg-btn { min-height: 40px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; }
.seg-btn small { font-weight: 500; opacity: .75; margin-left: 2px; }
.seg-btn[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.icon-btn[disabled] { opacity: .3; cursor: default; }
.pill { font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--text); }

/* ---------- live ---------- */
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); margin-right: 6px; vertical-align: 1px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.live-pill { color: var(--text); font-weight: 600; white-space: nowrap; }
.live-card { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); text-decoration: none; color: inherit; background: var(--surface); }
.live-card .num { font-size: 16px; }
.live-card svg { color: var(--faint); flex-shrink: 0; }
.live-sum { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 4px 0 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.live-sum > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.big-num { font-size: 30px; letter-spacing: -0.03em; }
.live-sum-side { display: flex; flex-direction: column; gap: 3px; font-size: 13px; text-align: right; }
.pos-row { cursor: default; align-items: flex-start; }
.pos-val { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.pos-val .num:first-child { font-size: 16px; }

/* ---------- games ---------- */
.group-label { font-size: 13px; color: var(--muted); font-weight: 600; margin: 20px 0 8px; display: flex; align-items: center; }
.game { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: var(--surface); overflow: hidden; }
.game.open { border-color: var(--line-strong); }
.game-btn { width: 100%; text-align: left; background: none; border: 0; color: inherit; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.g-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.g-top > span:first-child { font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.g-top .pill { margin-left: auto; }
.g-team { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 30px; }
.g-team.lost { opacity: .55; }
.g-color { width: 4px; height: 22px; border-radius: 2px; background: var(--line-strong); }
.g-name { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-name small { font-weight: 400; color: var(--faint); font-size: 12px; }
.g-star { color: var(--text); vertical-align: -1px; }
.g-score { font-family: var(--mono); font-size: 20px; font-weight: 600; color: var(--muted); min-width: 28px; text-align: right; }
.g-score.lead { color: var(--text); }
.g-odds { display: flex; flex-direction: column; align-items: flex-end; min-width: 54px; }
.g-odds .num { font-size: 15px; }
.g-k { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.g-k.best { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.g-draw { padding-left: 14px; }
.game-detail { padding: 2px 14px 14px; border-top: 1px solid var(--line); }
.odds-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
.odds-table th, .odds-table td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: right; font-weight: 500; }
.odds-table th:first-child { text-align: left; }
.odds-table thead th { font-size: 12px; color: var(--muted); font-weight: 500; }
.odds-table td.best { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.lines { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.line { display: flex; flex-direction: column; gap: 4px; }
.line-side { display: flex; justify-content: space-between; font-size: 14px; }

/* ---------- calendar ---------- */
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.cal-sum { display: flex; flex-direction: column; gap: 2px; margin: 10px 0 12px; }
.cal-sum .big { font-family: var(--mono); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-wk { text-align: center; font-size: 11px; color: var(--faint); padding-bottom: 2px; }
.cal-cell { position: relative; aspect-ratio: 1 / 1.08; border-radius: 9px; border: 1px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 2px; background: none; color: var(--text); font-family: inherit; min-width: 0; }
button.cal-cell { cursor: pointer; }
.cal-cell .d { font-size: 11px; color: var(--muted); line-height: 1; }
.cal-cell .v { font-family: var(--mono); font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; }
.cal-cell.gain { background: rgb(var(--up-rgb) / var(--a, .2)); }
.cal-cell.loss { background: rgb(var(--down-rgb) / var(--a, .2)); }
.cal-cell.flat { background: var(--surface-2); }
.cal-cell.gain .d, .cal-cell.loss .d { color: var(--text); opacity: .75; }
.cal-cell.empty .d { color: var(--faint); }
.cal-cell.future .d { opacity: .45; }
.cal-cell.today { border-color: var(--muted); }
.cal-cell.selected { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.cal-cell.dim { opacity: .3; }
.cal-cell.marked { box-shadow: inset 0 0 0 2px var(--text); }
.cal-cell .dot { position: absolute; top: 4px; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--text); }
.cal-marks { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.chips-wrap { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split > div { display: flex; flex-direction: column; gap: 3px; padding: 12px 12px 12px 0; }
.split > div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.split .num { font-size: 18px; }
.flags { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 2px; }
.flag { font-size: 13px; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.flag svg { color: var(--text); }
.month-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.month-tile { border: 1px solid var(--line); border-radius: 12px; padding: 12px 10px; display: flex; flex-direction: column; gap: 3px; text-align: left; background: none; color: var(--text); font-family: inherit; cursor: pointer; min-width: 0; }
.month-tile.gain { background: rgb(var(--up-rgb) / var(--a, .2)); border-color: transparent; }
.month-tile.loss { background: rgb(var(--down-rgb) / var(--a, .2)); border-color: transparent; }
.month-tile .mname { font-size: 13px; font-weight: 600; }
.month-tile .num { font-size: 15px; }
.month-tile .tiny { opacity: .8; }
.month-tile.empty { color: var(--faint); }
.life { display: flex; flex-direction: column; }
.life-row { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.life-year { display: flex; align-items: baseline; gap: 10px; background: none; border: 0; padding: 0; color: var(--text); font-family: inherit; cursor: pointer; text-align: left; }
.life-year > span:first-child { font-size: 17px; font-weight: 700; }
.life-year .num { font-size: 16px; }
.life-strip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.life-cell { aspect-ratio: 1; border-radius: 5px; display: grid; place-items: center; font-size: 10px; border: 0; padding: 0; color: var(--text); font-family: inherit; }
button.life-cell { cursor: pointer; }
.life-cell.gain { background: rgb(var(--up-rgb) / var(--a, .2)); }
.life-cell.loss { background: rgb(var(--down-rgb) / var(--a, .2)); }
.life-cell.flat { background: var(--surface-2); }
.life-cell.empty { background: var(--surface); color: var(--faint); }

/* ---------- teams ---------- */
.team-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.team-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; }
.team-chip small { color: var(--faint); font-weight: 500; }
.team-chip:not(:has(.chip-x)) { padding-right: 12px; }
.chip-x { width: 26px; height: 26px; border-radius: 50%; border: 0; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.search { position: relative; margin-top: 16px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.search .input { padding-left: 42px; }
.team-list { margin-top: 6px; }
.team-row { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; display: flex; align-items: center; gap: 12px; color: inherit; font-family: inherit; cursor: pointer; min-height: 56px; }
.tick { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--muted); flex-shrink: 0; }
.team-row[aria-pressed="true"] .tick { background: var(--text); color: var(--bg); border-color: var(--text); }
.tile a { color: var(--muted); }

/* ---------- best / worst markers ---------- */
.bw { position: relative; display: inline-flex; vertical-align: -2px; }
.bw-best { color: #F2C14E; }
.bw-worst { color: var(--loss); }
.cal-bw { position: absolute; top: 3px; left: 4px; display: flex; }
.cal-cell .cal-bw svg[fill="currentColor"] { color: #F2C14E; }
.cal-cell .cal-bw { color: var(--text); }

/* ---------- bet ticket ---------- */
button.pos-row { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); color: inherit; font-family: inherit; cursor: pointer; }
button.pos-row[aria-expanded="true"] { border-bottom-color: transparent; }
.ticket { margin: 4px 0 14px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; }
.tk-head { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 3px; }
.tk-kicker { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.tk-pick { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; }
.tk-market { font-size: 14px; color: var(--muted); }
.tk-game { font-size: 13px; margin-top: 4px; }
.tk-tear { position: relative; height: 0; border-top: 2px dashed var(--line-strong); margin: 0 14px; }
.tk-tear::before, .tk-tear::after { content: ""; position: absolute; top: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong); }
.tk-tear::before { left: -23px; }
.tk-tear::after { right: -23px; }
.tk-body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.tk-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.tk-row > span:first-child { color: var(--muted); }
.tk-sep { border-top: 1px solid var(--line-strong); margin: 4px 0; }

/* ---------- field events (golf, F1) ---------- */
.g-title { font-size: 16px; font-weight: 700; }
.g-field { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 26px; }
.g-rank { font-family: var(--mono); font-size: 12px; color: var(--faint); }

/* Hover labels for the crown and arrow ("Best" / "Worst") */
[data-tip]::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
  background: var(--text); color: var(--bg); font: 600 12px/1 var(--font); padding: 6px 8px; border-radius: 6px;
  white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 30;
}
[data-tip]:hover::after, :focus-visible > [data-tip]::after { opacity: 1; }
.cal-bw[data-tip]::after { left: 0; transform: none; }

/* Live dot on the Events tab */
.tab-ic { position: relative; display: inline-flex; }
.tab-live { position: absolute; top: -2px; right: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 2px var(--bg); animation: pulse 1s ease-in-out infinite; }

/* Rules */
.pill-soft { white-space: nowrap; display: inline-block; font-size: 10.5px; font-weight: 600; color: var(--muted); background: none; vertical-align: 2px; margin-left: 4px; }
.rule-form { margin-top: 16px; }
.rule-form .rule-edit select, .rule-form .rule-edit input { min-height: 40px; font-size: 15px; }
.rule-del { min-height: 32px; font-size: 13px; color: var(--loss); margin-left: auto; padding: 0 4px; }

/* ---------- premium, weekly report, coach ---------- */
.lock-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); text-decoration: none; font-size: 15px; }
.lock-row span:nth-child(2) { flex: 1; color: var(--text); }
.lock-row svg { flex-shrink: 0; }
.lock-tag { font-size: 12px; font-weight: 600; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 9px; color: var(--muted); white-space: nowrap; }
.chip .lock-ico, .seg .lock-ico { opacity: .6; margin-left: 4px; vertical-align: -2px; }

.week-card { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; background: var(--surface); }
.week-card svg { color: var(--faint); flex-shrink: 0; }
.week-card .row-kicker svg { vertical-align: -2px; margin-right: 2px; }
.week-head { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; margin: 2px 0; }

.report { margin-top: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.report-head { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; margin: 6px 0 0; font-weight: 650; }
.report-facts { display: grid; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.report-facts > div { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; font-size: 14px; }
.report-facts > div > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.actions { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.actions li { display: flex; gap: 12px; align-items: flex-start; }
.act-n { flex: 0 0 26px; height: 26px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.act-t { font-size: 15px; line-height: 1.45; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.act-t .btn svg { margin-right: 6px; }

.chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.msg.user { align-self: flex-end; background: var(--text); color: var(--bg); border-bottom-right-radius: 6px; }
.msg.assistant { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.coach-form { display: flex; gap: 8px; align-items: flex-end; margin: 4px 0 10px; }
.coach-form textarea { flex: 1; resize: none; min-height: 48px; font: inherit; }
.coach-form .btn { flex-shrink: 0; }

.plan { margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.plan-main { border-color: var(--text); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-top h2 { margin: 0; font-size: 18px; }
.plan-price { margin: 6px 0 0; }
.plan-price .num { font-size: 24px; }
.plan-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; font-size: 15px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list svg { color: var(--gain); flex-shrink: 0; margin-top: 2px; }
.plan .btn-block { margin-top: 16px; }
.plan-row .pill { margin-left: auto; }

/* ---------- plan switch, alerts, bet check ---------- */
.pill-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.pill-row .demo-pill { margin-top: 0; }
.plan-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.plan-switch button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 6px 12px; min-height: 32px; cursor: pointer; }
.plan-switch button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
.new-tag { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--bg); background: var(--text); border-radius: 999px; padding: 1px 7px; vertical-align: 1px; }
.alert-card { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 12px 14px 16px; border: 1px solid var(--loss); border-radius: var(--radius); background: var(--surface); }
.alert-card + .alert-card { margin-top: 10px; }
.alert-card .row-kicker svg { vertical-align: -2px; margin-right: 2px; }
.alert-card .icon-btn { flex-shrink: 0; border: 0; }
.check-form .field { margin-top: 0; }
.check-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; margin-top: 10px; }
.check-btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost[disabled] { cursor: default; opacity: .4; }
.check-row .btn { min-height: 48px; }
.check-result { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.check-verdict { margin: 0; font-size: 17px; font-weight: 650; line-height: 1.35; }
.check-verdict.loss { color: var(--loss); }
.check-verdict.gain { color: var(--gain); }
.check-facts { display: grid; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.check-facts > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; font-size: 15px; }
.check-facts > div > span:nth-child(2) { grid-row: 2; }
.check-facts > div > .num { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

/* ---------- bet check picker ---------- */
.suggest { display: grid; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.suggest-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: none; border: 0; border-top: 1px solid var(--line); color: inherit; font: inherit; text-align: left; cursor: pointer; min-height: 56px; }
.suggest-row:first-child { border-top: 0; }
.suggest-row:hover { background: var(--surface-2); }
.suggest-row svg { color: var(--faint); flex-shrink: 0; }
#check-suggest > .tiny { display: block; margin-top: 10px; }
.check-game { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.side-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.side-btn { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 8px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: none; color: var(--text); font: inherit; cursor: pointer; min-height: 56px; }
.side-btn .side-m { color: var(--muted); grid-column: 1; }
.side-btn .side-l { grid-column: 1; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-btn .num { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 15px; }
.side-btn[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.side-btn[aria-pressed="true"] .side-m { color: var(--bg); opacity: .7; }
.ev { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.ev-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ev-top .num { font-size: 20px; }
.better { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.seg-links { margin-top: 12px; }
.seg-links .seg-btn { display: grid; place-items: center; text-decoration: none; }
.seg-links .seg-btn[aria-current="page"] { background: var(--text); color: var(--bg); }
.mk-group { margin-top: 14px; }
.mk-group .group-label { margin: 0 0 6px; }
.mk { padding: 10px 0; border-top: 1px solid var(--line); }
.mk-t { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.mk-sides { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 8px; }
.mk-sides .side-btn { min-height: 48px; grid-template-rows: auto; }
.mk-sides .side-btn .num { grid-row: 1; }
.pick-line { display: flex; flex-direction: column; gap: 2px; margin: 14px 0 0; font-size: 15px; }
.mk-group .group-label .faint { margin-left: 6px; font-weight: 500; }

/* ---------- all bets in a game, team pages ---------- */
.mk-tabs { margin-top: 12px; }
.mk-tabs .chip .faint { margin-left: 4px; font-weight: 500; }
.mk-body { margin-top: 6px; }
.src-tag { font-size: 11px; font-weight: 600; color: var(--faint); border: 1px solid var(--line-strong); border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 1px; white-space: nowrap; }
.mk-list { display: grid; gap: 6px; }
.mk-list .side-btn { min-height: 44px; grid-template-rows: auto; }
.mk-list .side-btn .num { grid-row: 1; }
.mk-player { padding: 12px 0 4px; border-top: 1px solid var(--line); }
.mk-name { font-size: 16px; margin: 0 0 6px; }
.mk-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px; align-items: center; padding: 5px 0; }
.mk-line { font-size: 14px; }
.mk-yn { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mk-yn .side-btn { min-height: 44px; padding: 6px 10px; grid-template-rows: auto; }
.mk-yn .side-btn .num { grid-row: 1; }
.mk-yn .side-l { font-size: 13px; font-weight: 500; }
.team-link { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.team-head { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.team-logo { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.team-badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-weight: 700; font-size: 15px; color: #fff; flex-shrink: 0; }
.team-name { margin: 2px 0; font-size: 26px; letter-spacing: -0.02em; }
.inj { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.inj-st { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 9px; border: 1px solid var(--line-strong); white-space: nowrap; color: var(--muted); justify-self: end; }
.inj-st.loss { color: var(--loss); border-color: var(--loss); }
.inj-st.warn { color: #E5C468; border-color: #E5C468; }
.game-row { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.wl { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 12px; font-weight: 700; margin-right: 6px; border: 1px solid currentColor; }
.roster > div { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

/* ---------- game page + live feed ---------- */
.gp-top { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.gp-title { font-size: 24px; margin: 8px 0 0; }
.gp-board { margin-top: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 6px 16px; }
.gp-team { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; }
.gp-team + .gp-team { border-top: 1px solid var(--line); }
.gp-team img { width: 40px; height: 40px; object-fit: contain; }
.gp-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--line-strong); justify-self: center; }
.gp-name { font-size: 18px; font-weight: 600; min-width: 0; }
.gp-name small { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 4px; }
.gp-score { font-family: var(--mono); font-size: 28px; font-weight: 700; color: var(--muted); }
.gp-score.lead { color: var(--text); }
.gp-team.lost { opacity: .6; }
.gp-odds { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px; }
.feed { margin-top: 14px; border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: var(--surface); }
.feed-sit { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.gridiron { position: relative; height: 64px; margin-top: 12px; border-radius: 10px; background: #1d3a26; overflow: hidden; }
.gridiron .fz { position: absolute; top: 0; bottom: 0; width: 8%; background: #16301f; }
.gridiron .fz.l { left: 0; } .gridiron .fz.r { right: 0; }
.gridiron .fl { position: absolute; top: 0; bottom: 0; border-left: 1px solid rgba(255,255,255,.18); }
.gridiron .fl i { position: absolute; bottom: 3px; left: 3px; font-style: normal; font-size: 10px; color: rgba(255,255,255,.55); font-family: var(--mono); }
.gridiron .rz { position: absolute; top: 0; bottom: 0; right: 8%; width: 20%; background: rgba(229,148,104,.18); }
.gridiron .ball { position: absolute; top: 50%; width: 14px; height: 9px; margin: -5px 0 0 -7px; border-radius: 50%; background: #c9864b; box-shadow: 0 0 0 2px rgba(0,0,0,.35); transition: left .6s ease; }
.gridiron .dir { position: absolute; top: 6px; left: 10%; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.75); }
.feed-last { display: flex; flex-direction: column; gap: 2px; margin: 12px 0 0; font-size: 15px; line-height: 1.45; }
.feed-leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.feed-leaders > div { display: flex; flex-direction: column; gap: 1px; font-size: 14px; }
.plays { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.plays li { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.4; padding-left: 10px; border-left: 2px solid var(--line-strong); }
.plays li.score { border-left-color: var(--gain); }
.diamond { position: relative; width: 34px; height: 34px; }
.diamond span { position: absolute; width: 11px; height: 11px; border: 1.5px solid var(--muted); transform: rotate(45deg); }
.diamond .b1 { right: 0; top: 12px; } .diamond .b2 { left: 11px; top: 1px; } .diamond .b3 { left: 0; top: 12px; }
.diamond span.on { background: var(--text); border-color: var(--text); }
.mini-link { display: flex; justify-content: space-between; gap: 10px; color: inherit; text-decoration: none; }

/* ---------- play cards, any line ---------- */
.plays { gap: 0; }
.play { display: block !important; padding: 12px 0 !important; border-left: 0 !important; border-top: 1px solid var(--line); }
.play:first-child { border-top: 0; }
.pl-top { display: block; font-size: 12px; color: var(--faint); margin-bottom: 6px; }
.pl-main { display: flex; gap: 12px; align-items: flex-start; }
.pl-pic { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--surface-2); flex-shrink: 0; }
.pl-ini { display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.pl-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pl-head { font-size: 18px; letter-spacing: -0.01em; }
.play.score .pl-head { color: var(--gain); }
.pl-who { font-size: 15px; }
.pl-sec { font-size: 13px; color: var(--muted); }
.pl-you { font-size: 12px; color: var(--muted); margin-top: 2px; }
.feed.compact { margin-top: 12px; padding: 12px 14px; }
.feed.compact .plays { margin-top: 4px; }
.anyline { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 4px; padding: 12px; border: 1px dashed var(--line-strong); border-radius: 12px; }
.anyline-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) auto; gap: 8px; }
.anyline-row .input { min-height: 44px; padding: 0 10px; font-size: 14px; }
.legs { list-style: decimal; margin: 0; padding-left: 22px; display: grid; gap: 8px; } .legs li { font-size: 15px; } .legs li span + span { margin-left: 8px; }

/* ---------- sticky score bar, courts ---------- */
.gp-bar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px -20px 0; padding: 10px 20px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 14px; }
.gp-mini { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; }
.gp-mini .num { font-size: 18px; font-weight: 700; }
.court { display: block; width: 100%; max-width: 420px; margin: 10px auto 0; background: #2a2118; border-radius: 10px; }
.court.rink { background: #e9eef2; }
.court .ln { fill: none; stroke: rgba(255,255,255,.35); stroke-width: .3; }
.court.rink .ln { stroke: rgba(0,0,0,.25); stroke-width: .6; }
.court.rink .ln.red { stroke: rgba(200,40,40,.55); } .court.rink .ln.blue { stroke: rgba(40,80,200,.55); }
.court .made { fill: var(--gain); }
.court .miss { fill: none; stroke: var(--loss); stroke-width: .4; }
.court.rink .miss { stroke-width: .8; }
.court .latest { stroke: #fff; stroke-width: .5; }
.court.full { max-width: 560px; aspect-ratio: 94 / 50; background: #d4ab72; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 6px 18px rgba(0,0,0,.12); }
.court.full .ln { fill: none; stroke: rgba(255,255,255,.92); stroke-width: .32; }
.court.full .ln.rim { stroke: #e2672b; stroke-width: .3; }
.court.full .ln.board { stroke-width: .45; }
.court-paint { opacity: .78; }
.court.full .center-fill { opacity: .78; }
.court-logo { opacity: .95; }
.court-team { font-size: 2.4px; font-weight: 800; fill: rgba(80,48,16,.42); text-anchor: middle; letter-spacing: .15px; }
.court.full .made { stroke: #fff; stroke-width: .3; }
.court.full .miss-x { fill: none; stroke-width: .5; stroke-linecap: round; }
.court.full .miss-x.under { stroke: #fff; stroke-width: .95; }
.court.full .shot { cursor: pointer; }
.court.full .hit { fill: transparent; }
.court.full .halo { fill: none; stroke: #111; stroke-width: .28; opacity: .55; }
.court.full .shot.sel .halo { stroke: #111; opacity: .9; stroke-width: .35; }
.court.full .pulse { fill: none; stroke-width: .5; transform-box: fill-box; transform-origin: center; animation: shot-pulse 1.4s ease-out 2; }
@keyframes shot-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .court.full .pulse { animation: none; display: none; } }
.court.full .zone { pointer-events: none; }
.court.full .zone.hot { fill: rgba(31,160,80,.2); }
.court.full .zone.cold { fill: rgba(60,110,220,.2); }
.ck-zone { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; margin: 0 3px 0 2px; }
.ck-zone.hot { background: rgba(31,160,80,.55); } .ck-zone.cold { background: rgba(60,110,220,.5); }
.court-detail { margin: 6px 0 0; color: var(--text); min-height: 1.3em; }
.court-key { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; margin-top: 8px; }
.court-key span { display: inline-flex; align-items: center; gap: 5px; }
.ck-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.ck-ring { background: none; border: 1.5px solid var(--muted); }
.made-dot, .miss-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: 0; }
.made-dot { background: var(--gain); } .miss-dot { border: 1.5px solid var(--loss); }


/* ---------- football field v2, line slider ---------- */
.gridiron { height: 72px; background: #1f4a2c; }
.gridiron .fz { display: none; }
.gridiron .ez { position: absolute; top: 0; bottom: 0; width: 8.333%; display: grid; place-items: center; background: #16331f; }
.gridiron .ez.l { left: 0; } .gridiron .ez.r { right: 0; }
.gridiron .ez img { width: 80%; max-width: 30px; height: auto; }
.gridiron .ez span { font-size: 10px; font-weight: 800; color: #fff; writing-mode: vertical-rl; transform: rotate(180deg); }
.gridiron .los { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #5b8cff; }
.gridiron .fdl { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #ffd400; box-shadow: 0 0 6px rgba(255,212,0,.6); }
.gridiron .dir { display: none; }
.gridiron .ball { z-index: 2; }
.slider-box { margin: 4px 0 10px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-2); }
.slider-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 16px; }
.slider-top .num { font-size: 20px; font-weight: 700; }
.slider-track { position: relative; margin: 12px 0 6px; }
.slider-track .tick { position: absolute; top: -6px; width: 2px; height: 6px; background: var(--muted); margin-left: -1px; pointer-events: none; }
#line-slider { width: 100%; accent-color: var(--text); }
.slider-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chip-live { display: inline-flex; align-items: center; gap: 6px; }
.legs li { display: flex; flex-direction: column; gap: 2px; } .legs { padding-left: 20px; }
.mk.fam .mk-t { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.line-sel { appearance: none; -webkit-appearance: none; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 8px center; border: 1px solid var(--line-strong); border-radius: 8px; padding: 4px 24px 4px 10px; font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; }
.mk.fam .mk-sides + .mk-sides { margin-top: 6px; }

/* Price ladder on Breakdown › Entry price */
.price-ladder{margin:14px 0 6px}
.pl-row{display:flex;gap:3px;border-radius:12px;overflow:hidden}
.pl-cell{display:flex;flex-direction:column;gap:2px;min-width:0;padding:10px 8px;text-decoration:none;color:var(--text)}
.pl-name{font-size:12px;font-weight:600;line-height:1.2}
.pl-num{font-family:var(--mono);font-size:13px;font-weight:700}
.pl-n{font-size:11px;color:var(--muted)}
.pl-up{background:color-mix(in srgb,var(--gain) 16%,transparent)}.pl-up .pl-num{color:var(--gain)}
.pl-down{background:color-mix(in srgb,var(--loss) 16%,transparent)}.pl-down .pl-num{color:var(--loss)}
.pl-none{background:color-mix(in srgb,var(--text) 6%,transparent)}
.pl-scale{position:relative;height:16px;margin-top:4px;font-size:10px;color:var(--muted)}
.pl-scale span{position:absolute;left:0;top:2px}

/* Live score in Check a bet */
.sb { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.sb-teams { flex: 1; display: grid; gap: 6px; min-width: 0; }
.sb-team { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.sb-team.lead { color: var(--text); }
.sb-team img { width: 22px; height: 22px; object-fit: contain; }
.sb-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--line-strong); margin: 0 4px; }
.sb-name { flex: 1; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-score { font-size: 22px; font-weight: 700; }
.sb-clock { display: flex; align-items: center; gap: 6px; padding-left: 12px; border-left: 1px solid var(--line); font-size: 14px; font-weight: 600; white-space: nowrap; }

.see-all { display: inline-flex; align-items: center; gap: 4px; margin: 10px 0 12px; font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; }

/* ------------------------------------------------------------ saving money */
.row-kicker svg { vertical-align: -2px; margin-right: 3px; }
.saved-card, .budget-card, .money-card, .chase-card, .report-link { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: inherit; text-decoration: none; }
.saved-card { margin-top: 16px; padding: 18px 16px; background: color-mix(in srgb, var(--gain) 7%, var(--surface)); border-color: color-mix(in srgb, var(--gain) 22%, var(--line)); }
.saved-card .row-kicker { color: var(--gain); font-weight: 600; }
.saved-num { font-family: var(--mono); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.saved-num small { font-family: inherit; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.saved-rules { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.saved-rules b { font-family: var(--mono); }
.money-card, .chase-card, .report-link { flex-direction: row; align-items: center; gap: 12px; }
.money-card > svg, .report-link > svg { color: var(--faint); flex-shrink: 0; }
.mc-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); flex-shrink: 0; }
.chase-card { border-color: color-mix(in srgb, var(--loss) 40%, var(--line)); background: color-mix(in srgb, var(--loss) 7%, var(--surface)); }
.chase-card .mc-icon { color: var(--loss); background: color-mix(in srgb, var(--loss) 14%, transparent); }
.chase-card .row-kicker { color: var(--loss); font-weight: 600; }
.budget-top { display: flex; justify-content: space-between; align-items: center; }
.budget-top .link-btn { min-height: auto; }
.budget-head { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.budget-bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin: 4px 0 2px; }
.budget-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--text); transition: width .4s ease; }
.budget-card.near .budget-bar span { background: #E0A94A; }
.budget-card.over { border-color: color-mix(in srgb, var(--loss) 40%, var(--line)); }
.budget-card.over .budget-bar span { background: var(--loss); }
.budget-card.over .budget-head { color: var(--loss); }
.limit-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.limit-row .input { flex: 1; min-width: 0; }
.limit-pre { font-family: var(--mono); font-size: 18px; color: var(--muted); }
.report-link .rl-grade { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 24px; font-weight: 800; background: var(--text); color: var(--bg); flex-shrink: 0; }
.report-link.g-A .rl-grade { background: linear-gradient(160deg, #FFE587, #E0A419); color: #3A2800; }
.report-link.g-B .rl-grade { background: linear-gradient(160deg, #7FE0A8, #1F9D6A); color: #fff; }
.report-link.g-D .rl-grade, .report-link.g-F .rl-grade { background: linear-gradient(160deg, #BFE6FF, #4A86C8); color: #fff; }
.report-link .row-kicker svg { vertical-align: -2px; }

/* Leak warning in a bet check */
.leak-warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 12px; border-radius: 12px; background: color-mix(in srgb, var(--loss) 10%, transparent); font-size: 15px; line-height: 1.4; }
.leak-warn b { color: var(--loss); }
.lw-icon { color: var(--loss); margin-top: 1px; flex-shrink: 0; }

/* ------------------------------------------------------------------ coach */
.coach-tabs { position: sticky; top: 0; z-index: 5; margin-top: 10px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.coach-body { margin-top: 6px; }
.coach-body > .report { margin-top: 14px; }
.step { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.step-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); font-size: 12px; font-weight: 700; color: var(--muted); }
.step.done .step-n { background: var(--text); border-color: var(--text); color: var(--bg); }
.check-form > .step:first-child { margin-top: 16px; }
.ask-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 16px 0 10px; }
.ask-head .link-btn { min-height: auto; flex-shrink: 0; }
.ask-sugs { display: grid; gap: 8px; margin: 4px 0 12px; }
.ask-sug { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.ask-sug svg { color: var(--faint); flex-shrink: 0; }

/* Line picker (totals and spreads): tap a line */
.line-chips { display: flex; gap: 6px; overflow-x: auto; margin: 2px -20px 8px; padding: 2px 20px; scrollbar-width: none; }
.line-chips::-webkit-scrollbar { display: none; }
.line-chip { flex-shrink: 0; min-width: 52px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; color: var(--muted); font-family: var(--mono); font-size: 14px; font-weight: 600; cursor: pointer; }
.line-chip[aria-checked="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ------------------------------------------------------------ report card */
.report-page .chips { margin-top: 6px; }
.rc-stack { display: grid; gap: 12px; margin-top: 14px; }
.rc { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.rc-kicker { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 6px; }
.rc-big { font-family: var(--mono); font-size: 52px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.rc-mid { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.rc-text { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.rc-text b { color: var(--text); }
.rc-cover { align-items: center; text-align: center; padding: 30px 20px 26px; background: radial-gradient(120% 90% at 50% 0%, var(--surface-2), var(--surface)); }
.rc-title { font-size: 30px; margin: 0; }
.rc-grade { display: grid; place-items: center; width: 132px; height: 132px; margin: 14px 0 6px; border-radius: 50%; border: 2px solid var(--line-strong); }
.rc-grade span { font-size: 76px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.rc-line { margin: 0; font-size: 17px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.rc-foot { margin: 2px 0 0; font-size: 13px; color: var(--faint); }
.rc-gold { border-color: transparent; background: linear-gradient(165deg, #2E250B 0%, #43360F 45%, #15120A 100%); color: #FFF8E6; }
.rc-gold .rc-kicker, .rc-gold .rc-foot { color: #F3D98B; }
.rc-gold .rc-grade { border: 0; background: linear-gradient(160deg, #FFE587, #E0A419); box-shadow: 0 10px 40px rgba(224, 164, 25, .35); }
.rc-gold .rc-grade span { color: #3A2800; }
.rc-gold .rc-line svg { color: #FFD45C; }
.rc-saved { background: color-mix(in srgb, var(--gain) 8%, var(--surface)); border-color: color-mix(in srgb, var(--gain) 22%, var(--line)); }
.rc-saved .rc-kicker { color: var(--gain); }
.rc-list { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; display: grid; gap: 6px; }
.rc-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding-top: 6px; border-top: 1px solid var(--line); }
.rc-stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; gap: 8px; margin-top: 6px; }
.rc-stats div { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 12px; background: var(--surface-2); }
.rc-stats b { font-family: var(--mono); font-size: 18px; }
.rc-stats span, .rc-sm { font-size: 12px; color: var(--muted); }
.rc-ring { --deg: 0deg; display: grid; place-items: center; width: 120px; height: 120px; margin: 6px 0; border-radius: 50%; background: conic-gradient(var(--gain) var(--deg), var(--surface-2) 0); }
.rc-ring span { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--surface); font-family: var(--mono); font-size: 26px; font-weight: 700; }
.rc-leak { border-color: color-mix(in srgb, var(--loss) 30%, var(--line)); }
.rc-leak .rc-kicker { color: var(--loss); }
.rc-edge .rc-kicker { color: var(--gain); }
.rc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.rc-two div { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.rc-two b { font-family: var(--mono); font-size: 24px; }
.rc-dots { display: flex; gap: 8px; margin-top: 4px; }
.rc-dots span { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-strong); }
.rc-dots span.on { background: var(--gain); border-color: var(--gain); }
.rc-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 212, 92, .16); color: #FFD45C; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.rc-solid { border-color: transparent; background: linear-gradient(165deg, #0F2E22 0%, #134A35 50%, #0B1A14 100%); color: #EFFFF6; }
.rc-solid .rc-kicker, .rc-solid .rc-foot { color: #A9E8C6; }
.rc-solid .rc-grade { border: 0; background: linear-gradient(160deg, #7FE0A8, #1F9D6A); box-shadow: 0 10px 40px rgba(31, 157, 106, .35); }
.rc-solid .rc-grade span { color: #fff; }
.rc-solid .rc-tag { background: rgba(127, 224, 168, .16); color: #7FE0A8; }
.rc-cold { border-color: transparent; background: linear-gradient(165deg, #0E1C2E 0%, #16304D 50%, #0A121D 100%); color: #EAF5FF; position: relative; overflow: hidden; }
.rc-cold::before { content: ""; position: absolute; inset: 0; background: radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.5), transparent), radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,255,255,.4), transparent), radial-gradient(2px 2px at 85% 60%, rgba(255,255,255,.35), transparent), radial-gradient(1.5px 1.5px at 35% 75%, rgba(255,255,255,.35), transparent), radial-gradient(2px 2px at 55% 45%, rgba(255,255,255,.25), transparent); pointer-events: none; }
.rc-cold > * { position: relative; }
.rc-cold .rc-kicker, .rc-cold .rc-foot { color: #A8D4F5; }
.rc-cold .rc-grade { border: 0; background: linear-gradient(160deg, #DFF3FF, #4A86C8); box-shadow: 0 10px 40px rgba(74, 134, 200, .35); }
.rc-cold .rc-grade span { color: #fff; }
.rc-cold .rc-tag { background: rgba(168, 212, 245, .16); color: #BFE6FF; }

/* ---------------------------------------------- green = saving money
   Green is the "money kept" color, so it's also Leak's accent: main buttons,
   the current tab, picked options and progress. */
:root { --accent: var(--gain); --on-accent: #06140B; }
:root[data-theme="light"] { --on-accent: #FFFFFF; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --on-accent: #FFFFFF; } }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tab[aria-current="page"] { color: var(--accent); }
.line-chip[aria-checked="true"], .step.done .step-n { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.side-btn[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.budget-bar span { background: var(--accent); }
.new-tag { background: var(--accent); color: var(--on-accent); }
.coach-tabs .seg-btn[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.tab-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 3px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 11px; font-weight: 700; }
.coach-tabs .seg-btn[aria-pressed="true"] .tab-n { background: color-mix(in srgb, var(--on-accent) 18%, transparent); color: var(--on-accent); }
.coach-tabs .seg-btn { padding: 0 4px; font-size: 13.5px; }

/* Live bets in Coach */
.lb-summary { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.lb-sum-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.lb-sum-row div { display: flex; flex-direction: column; gap: 2px; }
.lb-sum-row b { font-size: 20px; }
.lb-list { display: grid; gap: 10px; margin-top: 12px; }
.lb { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.lb-top { display: flex; gap: 12px; align-items: flex-start; }
.lb-pick { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin: 2px 0; }
.lb-pnl { font-size: 17px; flex-shrink: 0; }
.lb-score { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); color: var(--text); text-decoration: none; font-size: 14px; }
.lb-score b { font-size: 16px; }
.lb-clock { margin-left: auto; color: var(--muted); font-size: 13px; }
.lb-score svg { color: var(--faint); }
.lb-legs { margin: 10px 0 0; }
.lb-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.lb-nums div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lb-nums span { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-nums b { font-size: 15px; }
.lb-nums small { font-size: 10px; }
.lb-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lb-flags .flag { display: inline-flex; align-items: center; gap: 4px; }

/* Game plan */
.plan-card { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.plan-card.kept { border-color: color-mix(in srgb, var(--gain) 35%, var(--line)); }
.plan-card.off { border-color: color-mix(in srgb, var(--loss) 40%, var(--line)); }
.plan-card.off .budget-bar span { background: var(--loss); }
.plan-meter { margin-top: 8px; }
.plan-meter-top { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.plan-meter-top b { color: var(--text); }
.plan-games { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.plan-game { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); font-size: 13px; }
.plan-pick { display: grid; gap: 8px; max-height: 420px; overflow-y: auto; }
.plan-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.plan-check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: transparent; flex-shrink: 0; }
.plan-opt[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.plan-opt[aria-pressed="true"] .plan-check { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.plan-warn { background: color-mix(in srgb, #E0A94A 14%, transparent); }
.plan-warn b, .plan-warn .lw-icon { color: #C98A1E; }
.lb-flags .flag { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--loss) 12%, transparent); color: var(--loss); font-weight: 600; }
.lb-flags .flag svg { color: inherit; }
.rule-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rule-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px dashed var(--line-strong); background: none; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.rule-chip svg { color: var(--accent); }
.rule-cta { border-color: color-mix(in srgb, var(--accent) 50%, var(--line-strong)); color: var(--text); }
.rule-cta svg { color: var(--accent); }
.rule-nudge { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 14px 16px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); }

/* Add a bet */
.slip-drop { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 16px; border: 1.5px dashed color-mix(in srgb, var(--accent) 50%, var(--line-strong)); border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); cursor: pointer; }
.slip-drop .mc-icon { color: var(--accent); }
.slip-drop.busy { opacity: .7; cursor: progress; }
.found { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.found-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.found-row:first-of-type { border-top: 0; }
.add-form { margin-top: 8px; }
.add-form .field { margin-top: 12px; }
.add-form textarea { resize: vertical; font: inherit; }
.res-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.res-chips .line-chip { font-family: var(--font); }
.add-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 12px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); text-decoration: none; font-size: 14px; }
.add-row svg { color: var(--accent); }
.manual-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 14px; }
.manual-actions .link-btn { color: var(--loss); }
.pub-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 0; }

/* Public betting splits */
.splits { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sp-market + .sp-market { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.sp-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.sp-legend { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; font-size: 14px; font-weight: 600; }
.sp-legend span { display: flex; align-items: center; gap: 8px; }
.sw { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.sw.a { background: var(--text); }
.sw.b { background: var(--line-strong); }
.sp-rings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.sp-ring { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ring { --p: 50%; --ca: var(--text); --cb: var(--line-strong); width: 112px; height: 112px; border-radius: 50%; background: conic-gradient(var(--ca) 0 var(--p), var(--cb) var(--p) 100%); display: grid; place-items: center; }
.ring span { width: 80px; height: 80px; border-radius: 50%; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring b { font-size: 20px; line-height: 1.1; }
.ring small { font-size: 11px; color: var(--muted); max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-k { font-size: 13px; color: var(--muted); font-weight: 600; }
.sp-note { margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 10%, transparent); font-size: 13px; }
.splits.compact { margin-top: 10px; }
.sp-head { display: flex; justify-content: space-between; align-items: baseline; }
.splits.compact .ring { width: 92px; height: 92px; }
.splits.compact .ring span { width: 66px; height: 66px; }
.splits.compact .ring b { font-size: 17px; }
.g-public { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.g-public b { color: var(--text); }
.mini-ring { --p: 50%; --ca: var(--text); --cb: var(--line-strong); width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background: conic-gradient(var(--ca) 0 var(--p), var(--cb) var(--p) 100%); -webkit-mask: radial-gradient(circle, transparent 4.5px, #000 5px); mask: radial-gradient(circle, transparent 4.5px, #000 5px); }
.lb-check { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.lb-check summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.lb-check summary::-webkit-details-marker { display: none; }
.lb-verdict { font-size: 14px; font-weight: 600; }
.lb-verdict.loss { color: var(--loss); }
.lb-verdict.gain { color: var(--gain); }
.lb-check .check-facts { border: 0; padding: 0; margin: 0; }
@keyframes tick { from { background: color-mix(in srgb, var(--accent) 25%, transparent); } to { background: transparent; } }
.tick { animation: tick .8s ease-out; border-radius: 6px; }

/* My bets */
.bets-seg .seg-btn { display: flex; align-items: center; justify-content: center; gap: 4px; text-decoration: none; font-size: 13.5px; padding: 0 4px; }
.bets-seg .seg-btn[aria-current="page"] { background: var(--accent); color: var(--on-accent); }
.bets-seg .seg-btn[aria-current="page"] .tab-n { background: color-mix(in srgb, var(--on-accent) 18%, transparent); color: var(--on-accent); }
.ob-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.ob-sum div { display: flex; flex-direction: column; gap: 2px; }
.ob-sum b { font-size: 18px; }
.ob-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.day-head { display: flex; justify-content: space-between; margin-top: 18px; }
.sp-rings.one { grid-template-columns: 1fr; }
.bal-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.bal-chip svg { color: var(--faint); }
.bal-panel { margin-top: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.bal-total { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.bal-total b { font-size: 22px; }
.bal-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bal-row:last-of-type { border-bottom: 0; }
a.lb-top { color: inherit; text-decoration: none; }
a.lb-top:hover .lb-pick { text-decoration: underline; }
a.lb-top { color: inherit; text-decoration: none; }

/* Team colors in Events */
.g-team { grid-template-columns: 22px minmax(0, 1fr) auto auto; }
.g-team .g-color { justify-self: center; width: 6px; border-radius: 3px; }
.g-logo { width: 22px; height: 22px; object-fit: contain; }
.g-chance { display: flex; gap: 2px; height: 5px; margin-top: 8px; border-radius: 999px; overflow: hidden; }
.g-chance span { display: block; height: 100%; }
.g-chance.big { height: 8px; margin: 10px 0 8px; }
.gp-board { --ca: transparent; --cb: transparent; background: linear-gradient(100deg, color-mix(in srgb, var(--ca) 22%, var(--surface)) 0%, var(--surface) 42%, var(--surface) 58%, color-mix(in srgb, var(--cb) 22%, var(--surface)) 100%); }
.game { position: relative; }

/* Calmer Home */
.top-leak { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding: 16px; border: 1px solid color-mix(in srgb, var(--loss) 30%, var(--line)); border-radius: var(--radius); background: var(--surface); }
.top-leak .budget-top .link-btn { min-height: auto; }
.tl-main { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: inherit; text-decoration: none; margin-top: 4px; }
.tl-title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.tl-num { font-size: 22px; font-weight: 700; }
.more-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: inherit; text-decoration: none; }
.more-row > svg { color: var(--faint); flex-shrink: 0; }
.home-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.home-links .add-row { justify-content: center; }
.lock-row { width: 100%; background: none; font: inherit; font-size: 14px; cursor: pointer; }
.first-win { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; padding: 20px 18px; border-radius: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--loss) 18%, var(--surface)), var(--surface) 70%); border: 1px solid color-mix(in srgb, var(--loss) 35%, var(--line)); }
.first-win .row-kicker { color: var(--loss); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.fw-title { font-size: 20px; font-weight: 700; }
.fw-num { font-size: 46px; font-weight: 700; color: var(--loss); letter-spacing: -0.03em; line-height: 1; }
.fw-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* Cool-off lock */
.lock-card { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 16px; border-radius: var(--radius); background: color-mix(in srgb, #4A86C8 14%, var(--surface)); border: 1px solid color-mix(in srgb, #4A86C8 40%, var(--line)); }
.lock-card .mc-icon { color: #4A86C8; background: color-mix(in srgb, #4A86C8 18%, transparent); }
.lock-card .row-kicker { color: #6FA3DC; font-weight: 600; }
.lock-card .link-btn { flex-shrink: 0; min-height: auto; }
.lock-pick { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.lock-pick .link-btn { align-self: flex-start; min-height: auto; }

/* Bet sizing and price shop */
.sizing { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.sz-top { display: flex; justify-content: space-between; align-items: baseline; }
.sizing.loss .sz-top b { color: var(--loss); }
.sizing.warn .sz-top b { color: #E0A94A; }
.sizing.gain .sz-top b { color: var(--gain); }
.sz-bar { position: relative; height: 8px; margin-top: 8px; border-radius: 999px; background: var(--line); overflow: visible; }
.sz-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: currentColor; }
.sizing.loss .sz-bar span { background: var(--loss); }
.sizing.warn .sz-bar span { background: #E0A94A; }
.sizing.gain .sz-bar span { background: var(--gain); }
.sz-bar i { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--text); opacity: .5; }
.shop { display: grid; gap: 6px; margin-top: 8px; }
.shop-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: 14px; }
.shop-row.best { box-shadow: inset 0 0 0 1.5px var(--accent); }

/* Money jar */
.jar-card { position: relative; padding-right: 100px; min-height: 130px; }
.jar { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.jar-glass { fill: color-mix(in srgb, var(--gain) 6%, transparent); stroke: color-mix(in srgb, var(--text) 35%, transparent); stroke-width: 2.5; }
.jar-lid { fill: color-mix(in srgb, var(--text) 30%, transparent); }
.jar-shine { stroke: color-mix(in srgb, #fff 45%, transparent); stroke-width: 3; stroke-linecap: round; }
.bill { fill: #5FB97E; stroke: #2E7D4F; stroke-width: 1; }
.bill-dot { fill: none; stroke: #2E7D4F; stroke-width: 1; }
:root[data-theme="light"] .bill { fill: #7CCB95; }

/* Discipline streak */
.streak { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none; width: fit-content; max-width: 100%; }
.streak svg { color: var(--muted); flex-shrink: 0; }
.streak.hot svg { color: #F28B30; }
.streak-n { font-weight: 700; font-size: 15px; }

/* Price alerts */
.alert-set { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.alert-set .link-btn { min-height: auto; display: inline-flex; align-items: center; gap: 6px; }
.alert-set .input { width: 70px; min-height: 40px; text-align: center; }
.pa-row.hit { border-color: color-mix(in srgb, var(--gain) 40%, var(--line)); }

/* Add to Home Screen */
.a2hs { margin: 18px 0 4px; text-align: center; }
.a2hs .link-btn { display: inline-flex; align-items: center; gap: 6px; min-height: auto; color: var(--muted); font-size: 14px; }

.league-head { display: flex; justify-content: space-between; align-items: center; }
.league-head .link-btn { min-height: auto; font-size: 13px; }
.budget-bar span, .sz-bar span { transition: none; }
.topbar-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.streak-mini { display: inline-flex; align-items: center; gap: 3px; min-height: 34px; padding: 0 10px 0 8px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.streak-mini svg { color: #F28B30; }
.streak-mini.cold svg { color: var(--faint); }
.streak-mini.hot { border-color: color-mix(in srgb, #F28B30 50%, var(--line-strong)); }
.streak-panel .bal-total svg { color: #F28B30; }
.jar-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.jar-row .jar { position: static; transform: none; flex-shrink: 0; }
.topbar-left > * { flex-shrink: 0; }
.topbar-right { min-width: 0; }
.topbar-right .range-select { min-width: 0; max-width: 128px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 420px) { .topbar h1 { font-size: 24px; } .topbar-right .range-select { max-width: 104px; font-size: 14px; } }

/* Report card on top of Home */
.report-hero { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px; border-radius: 18px; text-decoration: none; color: inherit; border: 1px solid var(--line); background: var(--surface); }
.report-hero > svg { flex-shrink: 0; opacity: .7; }
.rh-grade { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; border: 2px solid var(--line-strong); }
.rh-grade span { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.rh-kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rh-title { display: flex; align-items: center; gap: 6px; font-size: 19px; font-weight: 700; margin: 2px 0; }
.rh-sub { font-size: 14px; color: var(--muted); }
.report-hero.rc-gold, .report-hero.rc-solid, .report-hero.rc-cold { border-color: transparent; }
.report-hero.rc-gold .rh-grade, .report-hero.rc-solid .rh-grade, .report-hero.rc-cold .rh-grade { border: 0; }
.report-hero.rc-gold .rh-grade { background: linear-gradient(160deg, #FFE587, #E0A419); }
.report-hero.rc-gold .rh-grade span { color: #3A2800 !important; }
.report-hero.rc-solid .rh-grade { background: linear-gradient(160deg, #7FE0A8, #1F9D6A); }
.report-hero.rc-cold .rh-grade { background: linear-gradient(160deg, #DFF3FF, #4A86C8); }
.report-hero.rc-gold .rh-grade span, .report-hero.rc-solid .rh-grade span, .report-hero.rc-cold .rh-grade span { color: #fff; }
.report-hero.rc-gold .rh-kicker, .report-hero.rc-gold .rh-sub { color: #F3D98B; }
.report-hero.rc-solid .rh-kicker, .report-hero.rc-solid .rh-sub { color: #A9E8C6; }
.report-hero.rc-cold .rh-kicker, .report-hero.rc-cold .rh-sub { color: #A8D4F5; }
.report-hero .rh-sub b { color: inherit; }
.report-hero.rc-gold { background: linear-gradient(120deg, #2E250B 0%, #43360F 55%, #15120A 100%); color: #FFF8E6; }
.report-hero.rc-solid { background: linear-gradient(120deg, #0F2E22 0%, #134A35 55%, #0B1A14 100%); color: #EFFFF6; }
.report-hero.rc-cold { background: linear-gradient(120deg, #0E1C2E 0%, #16304D 55%, #0A121D 100%); color: #EAF5FF; }
.report-hero.rc-gold .rh-title svg { color: #FFD45C; }
.report-hero.rc-solid .rh-title svg { color: #7FE0A8; }
.report-hero.rc-cold .rh-title svg { color: #BFE6FF; }

/* This week at a glance */
.gain-bg { background: var(--gain); }
.loss-bg { background: var(--loss); }

/* Coach's tip */
.tip-card { position: relative; display: flex; align-items: flex-start; margin-top: 10px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line)); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tip-link { -webkit-user-drag: none; flex: 1; min-width: 0; display: flex; gap: 10px; align-items: flex-start; padding: 11px 4px 11px 12px; color: inherit; text-decoration: none; }
.tip-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); margin-top: 1px; }
.tip-body { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tip-k { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.tip-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.tip-title { font-size: 15px; font-weight: 700; }
.tip-stat { display: inline-flex; gap: 6px; align-items: baseline; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.tip-text { font-size: 13px; line-height: 1.35; color: var(--muted); }
.tip-x { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; margin: 2px 2px 0 0; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 10px; }

/* Sign-up step: pick your favorite teams */
.onb-foot { position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); margin-top: 8px; background: linear-gradient(to bottom, transparent, var(--bg) 30%); }

/* Home: Your numbers with the running-total chart */
.home-numbers { margin-top: 12px; padding: 16px 16px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.hn-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; color: inherit; text-decoration: none; }
.home-numbers .hero { margin-top: 0; }
.home-numbers .hero-num { font-size: clamp(38px, 12vw, 48px); }
.home-numbers .hero-sub { font-size: 14px; margin-top: 4px; }
.hn-chev { color: var(--muted); margin-top: 2px; }
.home-numbers .chart-wrap { margin-top: 14px; }
.hn-more { display: flex; align-items: center; gap: 4px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: inherit; text-decoration: none; }
.hn-more svg { margin-left: auto; color: var(--muted); flex-shrink: 0; }

/* Back link on drill-down pages */
.back-row { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; }

/* Welcome: Download the app (adds Leak to the Home Screen) */
.a2hs-big { margin-top: 4px; text-align: left; }
.dl-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: transparent; border: 1px dashed var(--line-strong); }
.a2hs-big p { text-align: center; }

/* Portfolio */
.pf-card { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: inherit; text-decoration: none; }
.pf-card > svg { color: var(--muted); flex-shrink: 0; }
.pf-card .row-kicker { display: flex; align-items: center; gap: 6px; }
.pf-card-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 2px 0; }
.pf-card-num b { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.pf-card-num span { font-size: 14px; font-weight: 600; }
.pf-hero { margin-top: 18px; }
.pf-ranges { display: flex; gap: 6px; margin-top: 10px; }
.pf-ranges button { flex: 1; padding: 7px 0; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font: 600 13px var(--font); cursor: pointer; }
.pf-ranges button[aria-pressed="true"] { background: color-mix(in srgb, var(--text) 10%, transparent); color: var(--text); }
.pf-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.pf-tile { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: var(--surface); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pf-tile span { font-size: 12px; color: var(--muted); }
.pf-tile b { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-seg { display: flex; gap: 20px; margin-top: 22px; border-bottom: 1px solid var(--line); }
.pf-seg a { padding: 0 0 10px; font-weight: 600; color: var(--muted); font-size: 15px; text-decoration: none; }
.pf-seg a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--text); }
.pf-seg small { color: var(--muted); font-weight: 500; margin-left: 4px; font-size: 12px; }
.pf-group { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); margin: 18px 0 0; }
.pf-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.pf-logo { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 800 11px var(--font); color: #fff; flex-shrink: 0; overflow: hidden; }
.pf-logo-img { background: #fff; }
.pf-logo-img img { width: 30px; height: 30px; object-fit: contain; }
.pf-logo-plain { background: color-mix(in srgb, var(--text) 10%, transparent); color: var(--text); font-size: 14px; }
.pf-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pf-pick { font-weight: 650; font-size: 16px; line-height: 1.25; }
.pf-sub, .pf-status { font-size: 13px; color: var(--muted); }
.pf-sub b { color: var(--text); }
.pf-status { display: flex; align-items: center; gap: 6px; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.pf-tag { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.pf-tag.bad { background: color-mix(in srgb, var(--loss) 16%, transparent); color: var(--loss); }
.pf-tag.good { background: color-mix(in srgb, var(--gain) 16%, transparent); color: var(--gain); }
.pf-right { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex-shrink: 0; }
.pf-right b { font-size: 16px; }
.pf-out { display: flex; gap: 8px; margin-top: 16px; }
.pf-out a { flex: 1; text-align: center; padding: 11px 0; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 14px; color: inherit; text-decoration: none; }

/* Welcome: a peek at what Leak shows you */
.peek { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; pointer-events: none; }
.peek-card { border-radius: 16px; }
.peek .report-hero { margin-top: 0; padding: 12px 14px; }
.peek .rh-grade { transform: scale(.85); }
.peek-leak, .peek-saved { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); }
.peek-leak .row-kicker, .peek-saved .row-kicker { display: flex; align-items: center; gap: 6px; }
.peek-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 17px; }
.peek-saved .peek-row { justify-content: flex-start; }
.peek-saved .peek-row b { font-size: 20px; }

.bal-open { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 10px; padding: 11px 0; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 15px; text-decoration: none; }

.pf-accts { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 2px 14px; }
.pf-acct { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.pf-acct + .pf-acct { border-top: 1px solid var(--line); }
.pf-acct-r { display: flex; flex-direction: column; align-items: flex-end; }
.pf-acct-r b { font-size: 15px; }
.pf-range-row { display: flex; justify-content: flex-end; margin: 10px 0 -26px; position: relative; z-index: 1; }

/* Calendar: the same green and red as the rest of the app (buttons, live dots). */
:root { --up-rgb: 34 170 94; --down-rgb: 242 84 91; }
:root[data-theme="light"] { --up-rgb: 30 140 76; --down-rgb: 217 54 62; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --up-rgb: 30 140 76; --down-rgb: 217 54 62; } }

/* Leaks tab: summary and sort */
.leak-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; margin-top: 12px; }
.leak-sum > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.leak-sum b { font-size: 20px; }
.leak-sort { margin-top: 12px; }

/* Events: best price of the week */
.bp-card { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); color: inherit; text-decoration: none; }
.bp-kicker { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.bp-title { font-size: 17px; font-weight: 700; }
.bp-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; }
.bp-best b { color: var(--gain); font-size: 18px; }

.data-check { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.data-check ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.data-check li { display: flex; gap: 6px; align-items: flex-start; }
.data-check li.ok { color: var(--muted); } .data-check li.ok svg { color: var(--gain); flex-shrink: 0; margin-top: 2px; }
.data-check li.warn { color: var(--loss); display: block; }
.data-check a { color: inherit; }

/* Portfolio: money in and out */
.mio { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 14px; }
.mio summary { display: flex; align-items: center; gap: 10px; padding: 12px 0; cursor: pointer; list-style: none; }
.mio summary::-webkit-details-marker { display: none; }
.mio summary svg { color: var(--muted); transition: transform .2s; }
.mio[open] summary svg { transform: rotate(180deg); }
.mio-head { font-size: 15px; font-weight: 600; }
.mio-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 0; font-size: 14px; }
.mio-row span { display: flex; flex-direction: column; }
.mio-row small { font-size: 12px; color: var(--muted); }
.mio-sep { border-top: 1px solid var(--line); margin: 6px 0; }
.mio[open] { padding-bottom: 12px; }

.bp-wrap { position: relative; margin-top: 14px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.bp-wrap .bp-card { margin-top: 0; padding-right: 44px; -webkit-user-drag: none; }
.card-x { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; }
.plat-chips { margin: 10px 0 4px; }
.plat-chips .line-chip { min-height: 30px; font-size: 13px; }
.chart-where { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 600; color: var(--muted); vertical-align: 1px; white-space: nowrap; }
.pf-acct-d + .pf-acct-d, .pf-acct-d + .pf-acct, .pf-acct + .pf-acct-d { border-top: 1px solid var(--line); }
.pf-acct-d summary { cursor: pointer; list-style: none; }
.pf-acct-d summary::-webkit-details-marker { display: none; }
.mio-chev { color: var(--muted); display: flex; transition: transform .2s; }
.pf-acct-d[open] .mio-chev { transform: rotate(180deg); }
.mio-tap { color: var(--accent); font-weight: 600; }
.mio-body { padding: 0 0 12px; }
.check-mode { margin-top: 12px; }
.check-legs { margin: 8px 0 0; }
.check-legs { list-style: none; padding-left: 0; gap: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.check-legs li { flex-direction: row; align-items: center; gap: 8px; padding: 8px 6px 8px 12px; text-align: left; }
.check-legs li + li { border-top: 1px solid var(--line); }
.check-legs li .row-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.check-legs li .row-main span { margin-left: 0; }
.check-legs .card-x { position: static; flex-shrink: 0; }
.added-bets { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 6px 0 14px; }
.added-row { display: flex; align-items: center; gap: 8px; padding: 10px 0; }
.added-row + .added-row { border-top: 1px solid var(--line); }
.added-row .row-main { flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.added-del { flex-shrink: 0; min-width: 40px; min-height: 36px; display: grid; place-items: center; }

/* ---- My rules: one list ---- */
.rules-lead { margin: 0 0 10px; color: var(--muted); }
.rules-lead b { color: var(--text); }
.rules-lead b.gain { color: var(--gain); }
.rule-list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.rule-row { transition: background .2s; }
.rule-row + .rule-row { border-top: 1px solid var(--line); }
.rule-row.on { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.rule-top { display: flex; align-items: center; gap: 10px; padding-right: 12px; }
.rule-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 11px 0 11px 12px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.rule-ic { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: var(--surface-2); color: var(--muted); transition: background .2s, color .2s; }
.rule-row.on .rule-ic { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.rule-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rule-name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.rule-status { font-size: 13px; }
.rule-row .rule-edit { padding: 0 12px 12px 58px; }
.rule-row .rule-edit select, .rule-row .rule-edit input { min-height: 34px; border-radius: 9px; background: var(--bg); font-size: 14px; color: var(--text); }
.switch:checked { background: var(--accent); border-color: var(--accent); }
.switch:checked::after { background: var(--on-accent); }
.rule-own { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--accent); font-weight: 600; }
@media (max-width: 380px) { .rule-row .rule-edit { padding-left: 12px; } }

/* ---- Info color: a muted blue for neutral info (Coach's tip, Best price), so
   green keeps meaning "money kept" and orange "money lost". ---- */
:root { --info: #93B4E8; }
:root[data-theme="light"] { --info: #2C5DAA; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --info: #2C5DAA; } }
.tip-card { border-color: color-mix(in srgb, var(--info) 26%, var(--line)); background: color-mix(in srgb, var(--info) 6%, var(--surface)); }
.tip-icon { background: color-mix(in srgb, var(--info) 18%, transparent); color: var(--info); }
.tip-k { color: var(--info); }
.bp-card { border-color: color-mix(in srgb, var(--info) 30%, var(--line)); background: color-mix(in srgb, var(--info) 6%, var(--surface)); }
.bp-kicker { color: var(--info); }
.rule-chev { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; color: var(--faint); transition: transform .2s; }
.rule-row.open .rule-chev { transform: rotate(180deg); color: var(--text); }
.rules-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; }
.rules-more svg { transition: transform .2s; }
.rules-more[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Calendar: richer green so a +$100 day looks as strong as a −$100 day (green
   reads weaker than red at the same opacity), and a bright check for clean days. */
:root { --up-rgb: 46 204 113; }
:root[data-theme="light"] { --up-rgb: 18 176 88; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --up-rgb: 18 176 88; } }
.cal-cell.gain, .month-tile.gain, .life-cell.gain { background: rgb(var(--up-rgb) / calc(var(--a, .2) * 1.3)); }
:root { --clean: #3BE38A; }
:root[data-theme="light"] { --clean: #0FA958; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --clean: #0FA958; } }
.cal-ok { display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; background: var(--clean); color: #04160B; }
.cal-cell .cal-ok { position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; }
.cal-cell.has-ok .cal-bw { left: 18px; }
.cal-clean { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--clean); }
.cal-clean .muted { font-weight: 400; }
.cal-clean-off { color: var(--muted); font-weight: 500; text-decoration: none; }
.cal-clean-off .cal-ok { background: var(--surface-2); color: var(--muted); }

/* Player props: collapsed names, then a slider per stat. */
.mk-player { padding: 0; }
.mk-pl { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 10px 2px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.mk-pl-name { flex: 1; font-size: 16px; font-weight: 600; }
.mk-pl svg { color: var(--muted); transition: transform .2s; }
.mk-pl[aria-expanded="true"] svg { transform: rotate(180deg); }
.mk-crumb { display: flex; align-items: center; gap: 4px; margin: -4px 0 8px; font-size: 12px; color: var(--muted); }
.mk-player.open { padding-bottom: 12px; }
.ladder { margin: 0 0 10px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-2); }
.ladder-body { display: grid; gap: 8px; }
.ladder-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ladder-top b { font-size: 16px; text-transform: none; }
.ladder-top .num { font-size: 20px; font-weight: 700; }
.ladder-range { width: 100%; margin: 12px 0 2px; accent-color: var(--accent); }
.ladder-ends { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); }

/* Back to top */
.to-top { position: fixed; right: max(16px, calc(50% - 240px + 16px)); bottom: calc(86px + env(safe-area-inset-bottom)); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); cursor: pointer; z-index: 9; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.to-top svg { transform: rotate(180deg); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
body:has(.pslip) .to-top { bottom: calc(150px + env(safe-area-inset-bottom)); }

/* Parlay builder: tap bets to add; the slip sits above the tab bar */
.parlay-hint { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--info) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--info) 22%, var(--line)); font-size: 13px; color: var(--muted); }
.parlay-hint svg { color: var(--info); flex-shrink: 0; }
.pslip { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(76px + env(safe-area-inset-bottom)); width: min(464px, calc(100% - 16px)); z-index: 11; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line-strong)); background: var(--surface); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); overflow: hidden; }
.pslip.bump { animation: pslip-bump .45s ease; }
@keyframes pslip-bump { 0% { transform: translateX(-50%) scale(1); } 40% { transform: translateX(-50%) scale(1.03); } 100% { transform: translateX(-50%) scale(1); } }
.pslip-bar { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 8px 14px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.pslip-n { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 14px; }
.pslip-t { flex: 1; font-weight: 700; font-size: 15px; }
.pslip-odds { font-weight: 700; font-size: 15px; }
.pslip-bar svg { color: var(--muted); transform: rotate(180deg); transition: transform .2s; }
.pslip.open .pslip-bar svg { transform: none; }
.pslip-body { max-height: min(60vh, 520px); overflow-y: auto; padding: 0 14px 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.pslip-type { margin-top: 8px; font-size: 13px; }
.pslip-btns { display: flex; gap: 8px; margin-top: 12px; }
.pslip-btns .btn-primary { flex: 1; }
.pslip-space { height: 70px; }
body:has(.pslip) .toast { bottom: calc(150px + env(safe-area-inset-bottom)); }
.side-btn[aria-pressed="true"], .side-btn[aria-pressed="true"] .side-l, .side-btn[aria-pressed="true"] .num { color: var(--text); }
.pslip .check-legs { margin: 0; }
.pslip .check-legs li { display: flex; flex-direction: row; align-items: center; }

/* When betting is the leak */
.broad-card { display: block; margin-top: 14px; padding: 16px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--loss) 35%, var(--line)); background: color-mix(in srgb, var(--loss) 6%, var(--surface)); color: inherit; text-decoration: none; }
.broad-card .row-kicker { color: var(--loss); }
.broad-h { display: block; margin: 4px 0 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.broad-card.compact .broad-h { font-size: 16px; }
.broad-card.compact .small { display: block; margin-top: 4px; }
.levers { display: grid; margin-top: 12px; border-top: 1px solid var(--line); }
.lever { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lever-t { font-weight: 600; font-size: 15px; }
.lever .row-main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.help-card { position: relative; margin-top: 14px; padding: 16px 44px 16px 16px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--info) 30%, var(--line)); background: color-mix(in srgb, var(--info) 7%, var(--surface)); }
.help-card .row-kicker { color: var(--info); }
.help-card ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; display: grid; gap: 4px; }
.help-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.help-acts .btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.leak-sum > div > .tiny.muted:last-child:not(:first-child) { display: block; margin-top: 2px; }
.onb-bell { display: grid; place-items: center; width: 64px; height: 64px; margin-top: 18px; border-radius: 18px; background: color-mix(in srgb, var(--accent) 16%, var(--surface)); color: var(--accent); }
.onb-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.onb-list li { display: flex; gap: 12px; align-items: flex-start; }
.onb-list li > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.onb-ic { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: var(--surface-2); color: var(--text); }
.onb-notify .onb-foot { display: flex; flex-direction: column; }

/* Pre-game matchup: odds table, predictor, season leaders */
.matchup { margin-top: 6px; }
.mu-odds { width: 100%; border-collapse: separate; border-spacing: 6px; margin: 0 -6px; table-layout: fixed; }
.mu-odds th { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; }
.mu-odds tbody th { text-align: left; font-size: 15px; color: var(--text); width: 18%; }
.mu-odds td { text-align: center; padding: 8px 4px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.mu-odds td b { display: block; font-size: 15px; }
.mu-odds td small { display: block; font-size: 12px; color: var(--muted); }
.mu-pred { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.mu-pred-top { display: flex; justify-content: space-between; font-size: 14px; }
.mu-pred-top b { font-size: 18px; }
.mu-bar { display: flex; gap: 3px; height: 10px; margin-top: 10px; border-radius: 6px; overflow: hidden; }
.mu-bar span { display: block; height: 100%; }

/* Optional account */
.acct-card { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.acct-card.on { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
.acct-card.on .row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acct-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.acct-acts { display: flex; gap: 14px; }
.acct-form { display: flex; gap: 8px; margin-top: 10px; }
.acct-form .input { flex: 1; min-width: 0; }
