/* Bet Predictor: sportsbook-style UI on top of app.css tokens. Dark navy header, dense odds lists, rounded odds
   buttons (price bold, book small underneath), green outline for the best price, red LIVE, magenta women's tag.
   Desktop: sports menu | main | bet slip. Phone: top bar, sport chips, bottom tab bar, slip as a bottom sheet.
   No inline styles anywhere (CSP); widths for bars are applied with CSSOM. */
:root {
  --nav: #0b1730; --nav-2: #142548; --nav-line: #22345c; --nav-ink: #f3f6fd; --nav-muted: #a9b8d8; --brand: #ffcd38; --brand-ink: #0b1730;
  --odds-bg: #ffffff; --odds-line: #cfd8e6; --odds-hover: #edf3ff; --sel-bg: #1d4ed8; --sel-ink: #ffffff;
  --best: #0f9f4f; --best-bg: #e6f7ee; --live: #e0213a; --live-bg: #fde8eb; --women: #b0257d; --women-bg: #fbe7f3;
  --ref-bg: #f3f5fa; --ref-ink: #4a5878; --ref-line: #6b7a99; --pa: #2f6ced; --pc: #f08a24; --pb: #aab3c4;
  --row: #ffffff; --row-alt: #f8fafd; --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --nav: #060c1a; --nav-2: #0e1830; --nav-line: #1c2a48; --nav-ink: #eef2fb; --nav-muted: #93a3c6;
    --odds-bg: #172136; --odds-line: #2b3856; --odds-hover: #1e2c49; --sel-bg: #3b6ef5;
    --best: #34d17f; --best-bg: rgba(52, 209, 127, .13); --live: #ff4d63; --live-bg: rgba(255, 77, 99, .14); --women: #f472b6; --women-bg: rgba(244, 114, 182, .15);
    --ref-bg: #121a2b; --ref-ink: #a9b6d3; --ref-line: #8d9cbf; --pa: #5b8cff; --pc: #f5a04a; --pb: #5d6a85; --row: #111724; --row-alt: #141b2a;
  }
}
:root[data-theme="dark"] {
  --nav: #060c1a; --nav-2: #0e1830; --nav-line: #1c2a48; --nav-ink: #eef2fb; --nav-muted: #93a3c6;
  --odds-bg: #172136; --odds-line: #2b3856; --odds-hover: #1e2c49; --sel-bg: #3b6ef5;
  --best: #34d17f; --best-bg: rgba(52, 209, 127, .13); --live: #ff4d63; --live-bg: rgba(255, 77, 99, .14); --women: #f472b6; --women-bg: rgba(244, 114, 182, .15);
  --ref-bg: #121a2b; --ref-ink: #a9b6d3; --ref-line: #8d9cbf; --pa: #5b8cff; --pc: #f5a04a; --pb: #5d6a85; --row: #111724; --row-alt: #141b2a;
}

body[data-product="bet"] { background: var(--bg); overflow-x: hidden; }
.view, .page, .page > *, .mh > *, .pb, .pb > *, .blk > *, .m-table > *, #m-head > *, .slip-b > *, .slip-full > *, .multi > *, .multi-out > * { min-width: 0; }
#m-head { display: grid; gap: 10px; }
.note { color: var(--muted); font-size: .84rem; margin: 6px 0; }
.pos { color: var(--good); } .neg { color: var(--bad); }
.r { text-align: right; }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 40; background: var(--nav); color: var(--nav-ink); box-shadow: 0 1px 0 var(--nav-line), 0 6px 18px -12px rgba(0, 0, 0, .5); }
.top-in { max-width: 1640px; margin: 0 auto; display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--nav-ink); text-decoration: none; flex: none; }
.logo svg { width: 30px; height: 30px; }
.logo-bg { fill: var(--brand); } .logo-line { fill: none; stroke: var(--brand-ink); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; } .logo-dot { fill: var(--brand-ink); }
.logo-t { font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; } .logo-t b { font-weight: 850; color: var(--brand); margin-left: 1px; }
.topnav { display: flex; align-self: stretch; margin-left: 10px; }
.topnav a { display: flex; align-items: center; padding: 0 12px; color: var(--nav-muted); text-decoration: none; font-weight: 650; font-size: .92rem; border-bottom: 3px solid transparent; border-top: 3px solid transparent; white-space: nowrap; }
.topnav a:hover { color: var(--nav-ink); }
.topnav a[aria-current="page"] { color: var(--nav-ink); border-bottom-color: var(--brand); }
.top-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.pfeed { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; color: var(--nav-muted); white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.pfeed-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nav-muted); }
.pfeed.ok .pfeed-dot { background: #34d17f; box-shadow: 0 0 0 0 rgba(52, 209, 127, .6); animation: beat 2s infinite; }
.pfeed.warn .pfeed-dot { background: #f5b04a; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(52, 209, 127, .55); } 70% { box-shadow: 0 0 0 7px rgba(52, 209, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 209, 127, 0); } }
.gender { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--nav-line); flex: none; }
.gender button { font: 650 .76rem var(--sans); color: var(--nav-muted); background: none; border: 0; border-radius: 999px; padding: 5px 11px; cursor: pointer; min-height: 28px; white-space: nowrap; }
.gender button:hover { color: var(--nav-ink); }
.gender button[aria-pressed="true"] { background: var(--nav-ink); color: var(--nav); }
.ticon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: var(--nav-muted); background: none; border: 1px solid transparent; cursor: pointer; flex: none; }
.ticon:hover, .ticon[aria-current="page"] { color: var(--nav-ink); border-color: var(--nav-line); background: rgba(255, 255, 255, .05); }
.ticon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.owner-switch a { color: var(--nav-muted); font-size: .76rem; white-space: nowrap; }
.acct-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 9px; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: .86rem;
  text-decoration: none; white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; flex: none; }
.acct-btn:hover { filter: brightness(1.06); }
.slip-btn { display: none; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--nav-line); background: rgba(255, 255, 255, .06);
  color: var(--nav-ink); font: 700 .86rem var(--sans); cursor: pointer; white-space: nowrap; flex: none; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font: 800 .72rem var(--sans); }
.top :focus-visible { outline-color: var(--brand); }
.g-menu { display: none; }

/* sub bar (phone): Men's/Women's + competition chips */
.subbar { display: none; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; padding: 2px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip-a { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text);
  font-weight: 650; font-size: .8rem; text-decoration: none; white-space: nowrap; min-height: 32px; }
.chip-a[aria-current] { background: var(--nav); color: var(--nav-ink); border-color: var(--nav); }
.chip-n { color: var(--muted); font-size: .72rem; font-weight: 700; } .chip-a[aria-current] .chip-n { color: var(--nav-muted); }
.chip-live { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }

/* ---------------------------------------------------------------- layout */
.shell { max-width: 1640px; margin: 0 auto; display: grid; grid-template-columns: 220px minmax(0, 1fr) 320px; gap: 20px; padding: 18px 16px 28px; align-items: start; }
.shell > main { max-width: none; margin: 0; padding: 0; min-width: 0; outline: none; }
.menu { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; scrollbar-width: thin; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.menu-in { padding: 8px 0; }
.menu-h { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 14px 8px; font-weight: 800; }
.menu-g summary { display: flex; align-items: center; gap: 6px; padding: 8px 14px; cursor: pointer; font-weight: 750; font-size: .9rem; list-style: none; }
.menu-g summary::-webkit-details-marker { display: none; }
.menu-g summary::after { content: "›"; margin-left: 4px; color: var(--faint); transition: transform .15s; }
.menu-g[open] summary::after { transform: rotate(90deg); }
.menu-g summary span:first-child { flex: 1; min-width: 0; }
.menu-g summary:hover { background: var(--surface-2); }
.menu-g ul { list-style: none; margin: 0 0 6px; padding: 0; }
.menu-g li a { display: flex; align-items: center; gap: 6px; padding: 6px 14px 6px 24px; color: var(--text); text-decoration: none; font-size: .85rem; }
.menu-g li a:hover { background: var(--surface-2); }
.menu-g li a[aria-current] { background: var(--accent-soft); font-weight: 750; box-shadow: inset 3px 0 0 var(--accent); }
.m-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-n { color: var(--muted); font-size: .74rem; font-weight: 700; min-width: 18px; text-align: right; }
.m-live { display: inline-flex; align-items: center; gap: 4px; color: var(--live); font-size: .72rem; font-weight: 800; }
.m-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.m-w { font-size: .62rem; font-weight: 850; color: var(--women); background: var(--women-bg); border-radius: 4px; padding: 1px 4px; }
.menu-all { display: block; padding: 10px 14px 6px; font-size: .84rem; font-weight: 700; text-decoration: none; }
.slip { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; scrollbar-width: thin; }
.slip-in { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sheet-bd { position: fixed; inset: 0; z-index: 55; background: rgba(4, 8, 18, .5); }
.slipbar { display: none; }
footer.rg-footer { max-width: 1640px; padding: 18px 16px 30px; }

/* ---------------------------------------------------------------- page furniture */
.page { display: grid; gap: 18px; align-content: start; animation: enter .2s ease-out; }
.ph h1 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); font-weight: 850; letter-spacing: -.02em; }
.ph-sub { color: var(--muted); margin: 4px 0 0; max-width: 78ch; font-size: .92rem; }
.ph-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.crumbs { display: flex; gap: 6px; align-items: center; font-size: .82rem; color: var(--muted); flex-wrap: wrap; margin: 0; line-height: 1.4; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 650; } .crumbs a:hover { color: var(--accent); text-decoration: underline; }
.blk { display: grid; gap: 10px; min-width: 0; }
.blk-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.blk-h h2 { font-size: 1.12rem; font-weight: 850; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; }
.blk-link { font-size: .84rem; font-weight: 700; text-decoration: none; }
.cnt { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .76rem; font-weight: 800; }
.live-title { display: inline-flex; align-items: center; gap: 8px; } .live-title::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; text-align: center; color: var(--muted); }
.empty b { display: block; color: var(--text); font-size: 1rem; margin-bottom: 4px; } .empty p { margin: 4px auto; max-width: 62ch; }
.err-box { border-color: var(--bad); }
.skel { display: grid; gap: 10px; } .skel span { display: block; height: 64px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; border: 1px solid var(--line); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.filters { display: flex; gap: 10px 16px; flex-wrap: wrap; align-items: center; }
.fl { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); font-weight: 650; max-width: 100%; }
.fl select { max-width: min(360px, 70vw); min-width: 0; }
.list-meta { margin: 0 0 8px; font-size: .84rem; color: var(--muted); }
.explain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: .86rem; color: var(--muted); }
.explain p { margin: 4px 0; } .explain b { color: var(--text); }
.strap { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--radius);
  background: linear-gradient(100deg, var(--nav) 0%, var(--nav-2) 100%); color: var(--nav-ink); }
.strap p { margin: 0; font-size: .88rem; color: var(--nav-muted); max-width: 70ch; } .strap p b { color: var(--nav-ink); }
.strap-links { display: flex; gap: 6px; flex-wrap: wrap; }
.strap-links a { color: var(--nav-ink); text-decoration: none; font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--nav-line); background: rgba(255, 255, 255, .05); }
.strap-links a:hover { border-color: var(--brand); }
@media (max-width: 560px) { .strap-more { display: none; } }

/* badges */
.live-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px 2px 6px; border-radius: 5px; background: var(--live); color: #fff; font: 850 .68rem var(--sans); letter-spacing: .06em; line-height: 1.5; }
.live-badge .live-dot { width: 6px; height: 6px; margin: 0; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
.w-tag { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--women-bg); color: var(--women); font: 800 .66rem var(--sans); letter-spacing: .03em; vertical-align: middle; white-space: nowrap; }
h1 .w-tag { font-size: .72rem; vertical-align: 4px; }
.tier { display: inline-block; padding: 2px 8px; border-radius: 5px; font: 850 .66rem var(--sans); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.tier-p { background: var(--best-bg); color: var(--best); } .tier-v { background: var(--warn-bg); color: var(--warn); }
.tag-fut { font: 800 .64rem var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-radius: 5px; padding: 2px 6px; }

/* ---------------------------------------------------------------- odds buttons */
.ob { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-width: 62px; min-height: 46px; padding: 4px 6px;
  border: 1px solid var(--odds-line); border-radius: 9px; background: var(--odds-bg); color: var(--text); font: inherit; line-height: 1.15; cursor: pointer;
  transition: border-color .12s, background-color .12s, transform .08s; position: relative; text-align: center; }
button.ob:hover { border-color: var(--accent); background: var(--odds-hover); }
button.ob:active { transform: scale(.97); }
.ob-p { font-weight: 850; font-size: .98rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ob-b, .ob-l { font-size: .64rem; color: var(--muted); font-weight: 650; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob-l { font-weight: 750; color: var(--text); opacity: .8; }
.ob-e { font-size: .64rem; font-weight: 750; color: var(--muted); } .ob-e.pos { color: var(--best); } .ob-e.neg { color: var(--muted); }
.ob[aria-pressed="true"] { background: var(--sel-bg); border-color: var(--sel-bg); color: var(--sel-ink); }
.ob[aria-pressed="true"] .ob-b, .ob[aria-pressed="true"] .ob-l, .ob[aria-pressed="true"] .ob-e { color: rgba(255, 255, 255, .85); opacity: 1; }
.ob.is-best { border-color: var(--best); box-shadow: inset 0 0 0 1px var(--best); }
.ob.is-best[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--sel-bg), 0 0 0 2px var(--best); }
.ob-none { cursor: default; background: var(--surface-2); border-color: transparent; color: var(--faint); }
.ob-none .ob-p { font-weight: 600; color: var(--faint); }
.ob-na { visibility: hidden; }
.ob-ro { cursor: default; }
.ob.not-mine { opacity: .55; }
.ob-sm { min-height: 40px; min-width: 0; flex: 1; }
.ob-lg { min-width: 96px; min-height: 58px; } .ob-lg .ob-p { font-size: 1.25rem; } .ob-lg .ob-b { font-size: .72rem; }

/* ---------------------------------------------------------------- match list */
.ev-list { display: grid; gap: 14px; }
.ev-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ev-group.is-live { border-color: color-mix(in srgb, var(--live) 45%, var(--line)); }
.ev-colhead { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 96px); gap: 8px; align-items: center; padding: 8px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line);
  font-size: .68rem; font-weight: 800; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.ev-colhead > span:not(:first-child) { text-align: center; white-space: nowrap; font-size: .62rem; letter-spacing: .03em; }
.ev-colh-l { font-size: .84rem; text-transform: none; letter-spacing: 0; color: var(--text); font-weight: 800; }
.ev { padding: 10px 14px 10px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background-color .12s; }
.ev:last-child { border-bottom: 0; }
.ev:hover { background: var(--row-alt); }
.ev-head { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--muted); margin-bottom: 6px; min-width: 0; }
.ev-time { font-weight: 750; color: var(--text); white-space: nowrap; }
.ev-comp { color: var(--muted); text-decoration: none; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ev-comp:hover { color: var(--accent); text-decoration: underline; }
.ev-more { margin-left: auto; color: var(--accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.ev-more:hover { text-decoration: underline; }
.ev-body { display: grid; gap: 6px; }
.ev-row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 96px); gap: 8px; align-items: center; }
.ev-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ev-team { color: var(--text); text-decoration: none; font-weight: 700; font-size: .93rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ev-team:hover { text-decoration: underline; }
.ev-draw { font-weight: 600; color: var(--muted); }
.ev-score { margin-left: auto; font-size: 1.02rem; font-weight: 850; color: var(--live); min-width: 22px; text-align: right; font-variant-numeric: tabular-nums; }
.ev-cell { display: grid; } .ev-cell .ob { width: 100%; min-width: 0; }
.ev .pb { margin-top: 8px; }
.mk-switch { display: none; }

/* fair-chance bar */
.pb { display: grid; gap: 3px; }
.pb-labs { display: flex; justify-content: space-between; gap: 8px; font-size: .7rem; color: var(--muted); }
.pb-lab { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pb-lab b { font-weight: 800; color: var(--text); }
.pb-fav b { color: var(--pa); } .pb-r { text-align: right; } .pb-r.pb-fav b { color: var(--pc); }
.pb-track { display: flex; height: 4px; border-radius: 99px; overflow: hidden; background: var(--surface-2); gap: 2px; }
.pb-seg { display: block; height: 100%; min-width: 2px; }
.pb-a { background: var(--pa); } .pb-b { background: var(--pb); } .pb-c { background: var(--pc); }
.pb-big .pb-track { height: 10px; } .pb-big .pb-labs { font-size: .86rem; }
.pb-src { font-size: .72rem; color: var(--muted); }
.pb-empty { font-size: .8rem; color: var(--muted); }

/* live strip */
.live-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(258px, 284px); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; scrollbar-width: thin; }
.live-strip > div { scroll-snap-align: start; display: grid; }
.lc { display: grid; gap: 6px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--live); border-radius: var(--radius); padding: 10px 12px 12px; box-shadow: var(--shadow); cursor: pointer; }
.lc-top { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: .74rem; }
.lc-comp { color: var(--muted); text-decoration: none; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.lc-row { display: flex; align-items: center; gap: 8px; } .lc-row a { color: var(--text); text-decoration: none; font-weight: 750; font-size: .92rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-row .ev-score { font-size: 1.15rem; }
.lc-note { margin: 0; font-size: .72rem; color: var(--muted); }
.lc-odds { display: flex; gap: 6px; margin-top: 4px; }

/* tips */
.tips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.tip { display: grid; gap: 8px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); }
.tip-top { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: .74rem; color: var(--muted); min-width: 0; }
.tip-ref { font-size: .7rem; color: var(--muted); }
.tip-comp { font-weight: 700; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.tip-when { margin-left: auto; font-weight: 700; white-space: nowrap; }
.tip-sel { font-size: 1.06rem; font-weight: 850; letter-spacing: -.01em; overflow-wrap: anywhere; }
.tip-ev { margin: -4px 0 0; font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; } .tip-ev a { color: var(--muted); } .tip-ev a:hover { color: var(--accent); }
.tip-main { display: flex; align-items: center; gap: 12px; }
.tip-min { margin: 8px 0 0; font-size: .86rem; color: var(--muted); } .tip-min b { color: var(--text); font-variant-numeric: tabular-nums; }
.tip-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; flex: 1; min-width: 0; }
.tip-stats div { background: var(--surface-2); border-radius: 8px; padding: 6px 7px; min-width: 0; }
.tip-stats dt { font-size: .62rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tip-stats dd { margin: 0; font-weight: 850; font-size: clamp(.86rem, .8rem + .25vw, .98rem); font-variant-numeric: tabular-nums; white-space: nowrap; } .tip-stats dd.pos { color: var(--best); }
.tip-unit { display: none; }
.tip-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 0; font-size: .76rem; }
.bet-link { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--text); background: var(--surface-2);
  font-weight: 750; font-size: .78rem; text-decoration: none; white-space: nowrap; min-height: 30px; }
.bet-link:hover { border-color: var(--accent); color: var(--accent); }
.prof-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text);
  font-size: .8rem; font-weight: 750; text-decoration: none; }
.prof-chip:hover { border-color: var(--accent); }

/* sport tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(168px, 100%), 1fr)); gap: 10px; }
.tile { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; box-shadow: var(--shadow); transition: transform .12s, border-color .12s; }
.tile:hover { border-color: var(--accent); transform: translateY(-1px); }
.tile-m { grid-row: 1 / 4; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--nav); color: #fff; font: 850 .7rem var(--sans); letter-spacing: .03em; }
.tile-m.sm { width: 30px; height: 30px; border-radius: 8px; font-size: .6rem; grid-row: auto; flex: none; }
.tile-m[data-g="AFL"] { background: #c8102e; } .tile-m[data-g="NRL"] { background: #00843d; } .tile-m[data-g="SOC"] { background: #1f6f3f; } .tile-m[data-g="BAS"] { background: #e2621b; }
.tile-m[data-g="NFL"] { background: #013369; } .tile-m[data-g="TEN"] { background: #6b8e23; } .tile-m[data-g="CRI"] { background: #0a5c8a; } .tile-m[data-g="HOC"] { background: #334155; }
.tile-m[data-g="MLB"] { background: #a3162b; } .tile-m[data-g="MMA"] { background: #111827; } .tile-m[data-g="BOX"] { background: #7c1d1d; } .tile-m[data-g="GLF"] { background: #166534; }
.tile-m[data-g="HAN"] { background: #4338ca; } .tile-m[data-g="RU"] { background: #14532d; }
.tile-t { font-weight: 800; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-s { font-size: .74rem; color: var(--muted); } .tile-live { color: var(--live); font-weight: 800; }
.tile-c { font-size: .72rem; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- sports A–Z */
.jump { display: flex; gap: 6px; flex-wrap: wrap; }
.jump a { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-size: .8rem; font-weight: 700; }
.jump a:hover, .jump a[aria-current] { border-color: var(--nav); background: var(--nav); color: var(--nav-ink); }
.az { columns: 2 380px; column-gap: 16px; }
.az-g { break-inside: avoid; margin: 0 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 130px; display: block; }
.az-g h2 { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 1rem; font-weight: 850; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.az-meta { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: .76rem; font-weight: 700; }
.az-list { list-style: none; margin: 0; padding: 0; }
.az-list li { border-bottom: 1px solid var(--line); } .az-list li:last-child { border-bottom: 0; }
.az-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 16px; grid-template-areas: "n l c go" "x x x go"; gap: 2px 10px; align-items: center; padding: 9px 14px; color: var(--text); text-decoration: none; }
.az-list a:hover { background: var(--row-alt); }
.az-n { grid-area: n; font-weight: 700; font-size: .9rem; display: flex; gap: 7px; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.az-list .m-live { grid-area: l; } .az-c { grid-area: c; color: var(--muted); font-size: .78rem; font-weight: 650; white-space: nowrap; }
.az-x { grid-area: x; color: var(--faint); font-size: .74rem; } .az-go { grid-area: go; color: var(--faint); font-size: 1.1rem; }
.az-out { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 9px 14px; color: var(--muted); }
.az-out .az-n { grid-area: auto; color: var(--muted); font-weight: 650; } .az-out .tag-fut { justify-self: end; } .az-out .az-x { grid-area: auto; grid-column: 1 / -1; }

/* ---------------------------------------------------------------- match page */
.mh { display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--radius); color: var(--nav-ink);
  background: radial-gradient(120% 140% at 0% 0%, var(--nav-2) 0%, var(--nav) 60%); box-shadow: var(--shadow); }
.mh.is-live { box-shadow: inset 0 3px 0 var(--live), var(--shadow); }
.mh-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .8rem; }
.mh-comp { color: var(--nav-muted); font-weight: 700; text-decoration: none; } .mh-comp:hover { color: var(--nav-ink); text-decoration: underline; }
.mh-when { margin-left: auto; color: var(--nav-ink); font-weight: 750; display: inline-flex; align-items: center; gap: 6px; }
.mh-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; font-size: clamp(1.15rem, .95rem + 1vw, 1.6rem); font-weight: 850; letter-spacing: -.02em; }
.mh-side { display: flex; align-items: center; gap: 14px; min-width: 0; } .mh-s2 { justify-content: flex-end; text-align: right; } .mh-s2 .mh-score { order: -1; }
.mh-t { overflow-wrap: anywhere; min-width: 0; }
.mh-v { color: var(--nav-muted); font-size: .8em; font-weight: 600; }
.mh-score { color: var(--brand); font-size: 1.15em; font-variant-numeric: tabular-nums; }
.mh .pb-labs { color: var(--nav-muted); } .mh .pb-lab b { color: var(--nav-ink); } .mh .pb-fav b { color: #8fb0ff; } .mh .pb-r.pb-fav b { color: #ffb469; }
.mh .pb-track { background: rgba(255, 255, 255, .12); } .mh .pb-src { color: var(--nav-muted); }
.mh-meta { margin: 0; font-size: .76rem; color: var(--nav-muted); }
.mk-tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.mk-tabs [role="tab"] { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; margin-bottom: -2px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--muted);
  font: 750 .9rem var(--sans); cursor: pointer; white-space: nowrap; min-height: 44px; }
.mk-tabs [role="tab"]:hover { color: var(--text); }
.mk-tabs [role="tab"][aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.mk-n { font-size: .68rem; font-weight: 800; color: var(--muted); background: var(--surface-2); border-radius: 99px; padding: 1px 6px; }
.lines { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: thin; }
.lines button { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: 750 .8rem var(--sans); cursor: pointer; min-height: 34px; white-space: nowrap; }
.lines button:hover { border-color: var(--accent); }
.lines button[aria-pressed="true"] { background: var(--nav); color: var(--nav-ink); border-color: var(--nav); }
.ln-n { font-size: .66rem; color: var(--muted); font-weight: 700; } .lines button[aria-pressed="true"] .ln-n { color: var(--nav-muted); }
.m-table { display: grid; gap: 10px; }
.cmp-cap { margin: 6px 0 0; font-size: .8rem; font-weight: 750; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); scrollbar-width: thin; }
.cmp { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .84rem; }
.cmp th, .cmp td { padding: 6px 5px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; font-family: var(--sans); white-space: nowrap; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: .72rem; font-weight: 800; color: var(--muted); background: var(--surface-2); letter-spacing: .01em; }
.cmp tbody tr:hover td, .cmp tbody tr:hover th { background: var(--row-alt); }
.cmp .cmp-o { text-align: left; position: sticky; left: 0; z-index: 1; background: var(--surface); font-weight: 800; color: var(--text); font-size: .86rem; padding-left: 12px; min-width: 108px; max-width: 180px; white-space: normal; box-shadow: 1px 0 0 var(--line); }
.cmp thead .cmp-o { background: var(--surface-2); color: var(--muted); font-size: .72rem; }
.cmp td.px .ob { min-width: 54px; width: 100%; min-height: 44px; padding: 4px 3px; }
.cmp td.px { min-width: 60px; padding: 5px 3px; }
.cmp thead th.bk { white-space: normal; line-height: 1.2; min-width: 60px; padding: 6px 3px; }
.cmp .fair { background: var(--ref-bg); color: var(--ref-ink); border-left: 1px dashed var(--line); border-right: 1px dashed var(--line); min-width: 84px; white-space: normal; }
.cmp thead .fair { background: var(--ref-bg); color: var(--ref-ink); }
.cmp td.fair b { display: block; font-size: .98rem; font-weight: 850; color: var(--text); font-variant-numeric: tabular-nums; }
.fair-p, .fair-r { display: block; font-size: .66rem; color: var(--ref-ink); font-weight: 650; }
.px-none { color: var(--faint); }
.bk-link { color: var(--text); text-decoration: none; font-weight: 800; } .bk-link span { color: var(--accent); }
.bk-link:hover { color: var(--accent); text-decoration: underline; }
.bk-name { font-weight: 800; color: var(--text); }
th.not-mine, tr.not-mine th { opacity: .6; }
.cmp-narrow { display: none; }
.cmp-t th[scope="row"] { text-align: left; padding-left: 12px; font-size: .84rem; position: sticky; left: 0; background: var(--surface); }
.cmp-t thead th { white-space: normal; min-width: 76px; }
.cmp-t .fair-row th, .cmp-t .fair-row td { background: var(--ref-bg); }
.best-sum { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.best-sum li { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .86rem; }
.bs-sel { font-weight: 800; min-width: 0; overflow-wrap: anywhere; } .bs-px { color: var(--muted); } .bs-px b { color: var(--text); font-size: 1rem; }
.best-sum .bet-link { margin-left: auto; }
.card-ish { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.seg-s { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.seg-s button { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 700 .78rem var(--sans); cursor: pointer; min-height: 30px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg-s button[aria-pressed="true"] { background: var(--nav); color: var(--nav-ink); border-color: var(--nav); }
.legend { display: flex; gap: 16px; font-size: .76rem; color: var(--muted); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend span::before { content: ""; width: 18px; height: 0; border-top: 2px dashed var(--ref-line); }
.legend .lg-best::before { border-top: 2px solid var(--best); }
.chart-box .chart { width: 100%; height: 260px; min-height: 0; }
.chart-box .chart-note { margin: 4px 0 0; }
.credit { margin: 0; font-size: .68rem; color: var(--faint); } .credit a { color: var(--faint); }

/* ---------------------------------------------------------------- best bets */
.profiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.prof { display: grid; gap: 4px; align-content: start; text-align: left; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: inherit; cursor: pointer; box-shadow: var(--shadow); transition: border-color .12s; }
.prof:hover { border-color: var(--accent); }
.prof[aria-checked="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), var(--shadow); background: linear-gradient(180deg, var(--accent-soft), transparent 70%), var(--surface); }
.prof-t { font-weight: 850; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.prof[aria-checked="true"] .prof-t::after { content: "Selected"; font-size: .62rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.prof-roi { font-size: 1.5rem; font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .prof-roi small { font-size: .72rem; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.prof-d { font-size: .76rem; color: var(--muted); line-height: 1.4; }

/* ---------------------------------------------------------------- predictions */
.pr-comp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 14px; }
.pr-h { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 1rem; font-weight: 850; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.pr-h a { color: var(--text); text-decoration: none; } .pr-h a:hover { color: var(--accent); text-decoration: underline; }
.pr-day { margin: 0; padding: 8px 14px 4px; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; }
.pr-list { list-style: none; margin: 0; padding: 0; }
.pr { display: grid; grid-template-columns: 62px minmax(0, 1fr) 210px; gap: 14px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.pr:hover { background: var(--row-alt); }
.pr-time { font-weight: 800; font-size: .84rem; font-variant-numeric: tabular-nums; }
.pr-main { display: grid; gap: 4px; min-width: 0; }
.pr-teams { color: var(--text); text-decoration: none; font-weight: 750; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-teams:hover { text-decoration: underline; }
.pr-pick { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: baseline; font-size: .82rem; min-width: 0; }
.pr-lab { grid-column: 1 / -1; font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; }
.pr-pick b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } .pr-p { font-weight: 850; color: var(--pa); justify-self: end; font-size: .95rem; }
.pr-src, .pr-best { grid-column: 1 / -1; font-size: .7rem; color: var(--muted); }
.pr-best { color: var(--text); font-weight: 650; }

/* ---------------------------------------------------------------- record */
.kpis4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpis4 .k { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); }
.kpis4 b { display: block; font-size: 1.5rem; font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .kpis4 span { font-size: .78rem; color: var(--muted); }
.tbl-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); scrollbar-width: thin; }
.tbl { width: 100%; border-collapse: collapse; font-size: .84rem; }
.tbl th, .tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); font-family: var(--sans); white-space: nowrap; text-align: left; vertical-align: top; }
.tbl thead th { background: var(--surface-2); font-size: .72rem; white-space: normal; line-height: 1.25; vertical-align: bottom; }
.tbl .r { text-align: right; } .tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody th { font-weight: 800; color: var(--text); font-size: .84rem; letter-spacing: 0; }
.tbl td.pos, .tbl td .pos { color: var(--good); } .tbl td.neg, .tbl td .neg { color: var(--bad); }
.cell-sub { display: block; font-size: .7rem; color: var(--muted); font-weight: 600; }
.warn-box { border: 1px solid var(--warn); border-left-width: 5px; background: var(--warn-bg); border-radius: var(--radius); padding: 14px 16px; }
.warn-box h2 { font-size: 1.02rem; font-weight: 850; margin-bottom: 4px; } .warn-box p { margin: 6px 0; font-size: .88rem; }
.res { display: inline-block; padding: 1px 8px; border-radius: 5px; font-size: .74rem; font-weight: 800; background: var(--surface-2); }
.res-win { background: var(--best-bg); color: var(--best); } .res-loss { background: var(--bad-bg); color: var(--bad); }

/* ---------------------------------------------------------------- bet slip */
.slip-h { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--nav); color: var(--nav-ink); border-radius: var(--radius) var(--radius) 0 0; }
.slip-h h2 { font-size: 1rem; font-weight: 850; display: flex; align-items: center; gap: 8px; flex: 1; }
.link-btn { background: none; border: 0; color: var(--nav-muted); font: 700 .78rem var(--sans); cursor: pointer; text-decoration: underline; padding: 4px; min-height: 28px; }
.link-btn:hover { color: var(--nav-ink); }
.slip-close { display: none; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--nav-line); background: none; color: var(--nav-ink); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.slip-b, .slip-full { padding: 12px 14px 14px; display: grid; gap: 10px; }
.slip-page { max-width: 760px; }
.slip-full { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 720px; }
.slip-b .empty, .slip-full .empty { border: 0; padding: 14px 6px; }
.legs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: leg; }
.leg { display: grid; grid-template-columns: minmax(0, 1fr) auto 30px; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.leg.gone { opacity: .6; }
.leg-main { display: grid; min-width: 0; }
.leg-sel { font-size: .88rem; overflow-wrap: anywhere; } .leg-ev { font-size: .76rem; color: var(--text); overflow-wrap: anywhere; } .leg-mk { font-size: .7rem; color: var(--muted); }
.leg-px { display: grid; text-align: right; } .leg-px b { font-size: .98rem; font-weight: 850; font-variant-numeric: tabular-nums; } .leg-px span { font-size: .66rem; color: var(--muted); }
.leg-x { width: 30px; height: 30px; border-radius: 8px; border: 1px solid transparent; background: none; color: var(--muted); font-size: 1.2rem; cursor: pointer; line-height: 1; }
.leg-x:hover { border-color: var(--line); color: var(--bad); }
.multi { display: grid; gap: 8px; }
.multi-fair { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 8px 10px; border-radius: 10px; background: var(--ref-bg); font-size: .82rem; color: var(--ref-ink); }
.multi-fair b { color: var(--text); font-size: .98rem; margin-left: 4px; }
.offers { width: 100%; border-collapse: collapse; font-size: .84rem; }
.offers th, .offers td { padding: 7px 8px; border: 0; border-bottom: 1px solid var(--line); font-family: var(--sans); text-align: left; }
.offers thead th { font-size: .68rem; color: var(--muted); padding-top: 2px; }
.offers .r { text-align: right; } .offers tbody th { font-weight: 750; font-size: .84rem; color: var(--text); letter-spacing: 0; }
.offers tr.best-row th, .offers tr.best-row td { background: var(--best-bg); } .offers tr.best-row td b { color: var(--best); }
.best-t { margin-left: 6px; font-size: .6rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; color: var(--best); }
.multi-err { padding: 10px 12px; border-radius: 10px; background: var(--bad-bg); color: var(--text); font-size: .84rem; } .multi-err p { margin: 4px 0 0; }
.slip-acts { display: flex; gap: 8px; flex-wrap: wrap; } .slip-acts a.btn { text-decoration: none; color: var(--text); display: inline-flex; align-items: center; }
.leg-link { justify-self: start; margin-top: 3px; font-size: .72rem; font-weight: 750; color: var(--accent); text-decoration: none; } .leg-link:hover { text-decoration: underline; }
.slip-save { display: flex; gap: 8px; } .slip-save input { flex: 1; min-width: 0; }
.share-in { width: 100%; margin-top: 4px; font-size: .78rem; }
.slip-msg:empty { display: none; }

/* ---------------------------------------------------------------- settings */
.set { display: grid; gap: 6px; }
.set-form { display: grid; gap: 12px; }
.set-form fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px 12px; margin: 0; min-width: 0; }
.set-form legend { font-weight: 800; font-size: .9rem; padding: 0 6px; }
.opts, .set-books { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.opt { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: .86rem; font-weight: 650; cursor: pointer; min-height: 36px; }
.opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.opt input { min-height: 0; width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.account .acct-grid { margin: 0; }

/* ---------------------------------------------------------------- tab bar (phone) */
.tabbar { display: none; }

/* ---------------------------------------------------------------- responsive */
@media (min-width: 1200px) {
  /* the #slip page is the slip: no duplicate panel beside it */
  body[data-route="slip"] .shell { grid-template-columns: 220px minmax(0, 1fr); }
  body[data-route="slip"] .slip { display: none; }
}
@media (max-width: 1360px) {
  .topnav a { padding: 0 9px; font-size: .88rem; }
  .pfeed:not(.warn) { display: none; }
}
@media (max-width: 1199px) {
  .shell { grid-template-columns: 220px minmax(0, 1fr); }
  .slip-btn { display: inline-flex; }
  .slip { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(400px, 100%); max-height: none; overflow-y: auto; transform: translateX(105%); transition: transform .22s ease;
    background: var(--bg); visibility: hidden; }
  .slip-in { border-radius: 0; min-height: 100%; border: 0; }
  .slip-h { border-radius: 0; position: sticky; top: 0; z-index: 1; }
  .slip-close { display: inline-grid; place-items: center; }
  body.sheet-open .slip { transform: none; visibility: visible; box-shadow: -12px 0 40px rgba(0, 0, 0, .35); }
  body.sheet-open { overflow: hidden; }
  .slipbar:not([hidden]) { display: flex; align-items: center; gap: 10px; position: fixed; right: 16px; bottom: 16px; z-index: 50; padding: 10px 16px; border-radius: 999px; border: 0;
    background: var(--nav); color: var(--nav-ink); font: 750 .9rem var(--sans); cursor: pointer; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); max-width: calc(100vw - 32px); }
  .slipbar.pulse { animation: pop .35s ease; }
  .slipbar-n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 99px; background: var(--brand); color: var(--brand-ink); font-weight: 850; font-size: .8rem; }
  #slipbar-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .slipbar-v { color: var(--brand); white-space: nowrap; }
  body[data-route="slip"] .slipbar { display: none; }
  .topnav a[data-nav="record"] { display: none; }
  .g-top { display: none; }
  .g-menu { display: flex; margin: 10px 10px 2px; background: var(--surface-2); border-color: var(--line); }
  .g-menu button { flex: 1; color: var(--muted); padding: 5px 6px; }
  .g-menu button:hover { color: var(--text); }
  .g-menu button[aria-pressed="true"] { background: var(--nav); color: var(--nav-ink); }
}
@keyframes pop { 40% { transform: scale(1.06); } }
@media (max-width: 1023px) {
  .topnav a[data-nav="home"] { display: none; }
}
@media (max-width: 899px) {
  .top-in { height: 52px; gap: 8px; padding: 0 12px; }
  .logo svg { width: 28px; height: 28px; } .logo-t { font-size: 1.04rem; }
  .g-top, .owner-switch, .slip-btn, .topnav { display: none; }
  .subbar { display: flex; align-items: center; gap: 8px; position: sticky; top: 52px; z-index: 35; padding: 8px 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .subbar .gender { background: var(--surface); border-color: var(--line); }
  .subbar .gender button { color: var(--muted); padding: 5px 9px; }
  .subbar .gender button[aria-pressed="true"] { background: var(--nav); color: var(--nav-ink); }
  .shell { grid-template-columns: minmax(0, 1fr); padding: 14px 12px 24px; gap: 14px; }
  .menu { display: none; }
  .slip { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 86vh; transform: translateY(105%); border-radius: 16px 16px 0 0; overflow-y: auto; }
  .slip-in { border-radius: 16px 16px 0 0; min-height: 0; }
  .slip-h { border-radius: 16px 16px 0 0; }
  body.sheet-open .slip { box-shadow: 0 -12px 40px rgba(0, 0, 0, .35); }
  .slipbar:not([hidden]) { left: 12px; right: 12px; bottom: calc(66px + env(safe-area-inset-bottom)); justify-content: space-between; border-radius: 12px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--nav); border-top: 1px solid var(--nav-line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 2px; color: var(--nav-muted); text-decoration: none; font-size: .68rem; font-weight: 700; position: relative; min-height: 50px; justify-content: center; border-radius: 8px; }
  .tabbar a[aria-current="page"] { color: var(--brand); }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar .count { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; font-size: .66rem; }
  footer.rg-footer { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  .ph-row { align-items: stretch; }
  .mk-switch { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); width: 100%; }
  .mk-switch button { flex: 1; border: 0; background: none; color: var(--muted); font: 750 .82rem var(--sans); padding: 7px 6px; border-radius: 8px; cursor: pointer; min-height: 36px; }
  .mk-switch button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
  .ev-colhead, .ev-row { grid-template-columns: minmax(0, 1fr) 84px; }
  .ev-list[data-mk="h2h"] .c-spreads, .ev-list[data-mk="h2h"] .c-totals,
  .ev-list[data-mk="spreads"] .c-h2h, .ev-list[data-mk="spreads"] .c-totals,
  .ev-list[data-mk="totals"] .c-h2h, .ev-list[data-mk="totals"] .c-spreads { display: none; }
  .profiles { grid-template-columns: minmax(0, 1fr); }
  .prof { grid-template-columns: minmax(0, 1fr) auto; } .prof-d { grid-column: 1 / -1; } .prof-roi { grid-row: 1; grid-column: 2; font-size: 1.2rem; }
  .kpis4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr { grid-template-columns: 54px minmax(0, 1fr); gap: 6px 10px; }
  .pr-pick { grid-column: 2; }
  .cmp-wide { display: none; } .cmp-narrow { display: block; }
  .mh { padding: 14px; }
  .mh-teams { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .mh-teams .mh-v { display: none; }
  .mh-side, .mh-s2 { justify-content: space-between; text-align: left; } .mh-s2 .mh-score { order: 0; }
  .mh-when { margin-left: 0; width: 100%; }
  .az { columns: 1; }
  .strap { padding: 10px 12px; }
}
@media (max-width: 480px) {
  .pfeed:not(.warn) { display: none; } .pfeed.warn { position: absolute; top: 100%; left: 0; right: 0; justify-content: center; border-radius: 0; font-size: .72rem; padding: 4px 12px; background: var(--nav-2); color: var(--nav-ink); } .top:has(.pfeed.warn) { margin-bottom: 26px; }
  .ticon { width: 34px; height: 34px; }
  .acct-btn { padding: 0 10px; max-width: 110px; }
  .tip-main { flex-wrap: wrap; } .tip-main .ob-lg { flex: 1 0 100%; }
  .tip-stats dd { font-size: .9rem; }
  .ev { padding: 9px 12px; } .ev-colhead { padding: 7px 12px; }
  .live-strip { grid-auto-columns: minmax(240px, 82vw); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .best-sum .bet-link { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .slip { transition: none; } }
@media print { .top, .subbar, .menu, .slip, .tabbar, .slipbar { display: none !important; } .shell { display: block; } }

/* ------------------------------------------------------------------ why this prediction (match page) */
.why { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.why-tw { overflow-x: auto; scrollbar-width: thin; }
.why-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { display: grid; gap: 2px; align-content: start; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.kpi-l { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kpi-v { font-size: 1.3rem; font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi-v small { font-size: .72rem; color: var(--muted); font-weight: 700; }
.kpi-s { font-size: .74rem; color: var(--muted); line-height: 1.35; }
.why-t { width: 100%; border-collapse: collapse; font-size: .84rem; font-variant-numeric: tabular-nums; }
.why-t th, .why-t td { padding: 7px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.why-t thead th { font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.why-t td b { display: inline-block; min-width: 3.4em; }
.why-bar { display: inline-block; width: 64px; height: 6px; border-radius: 3px; background: var(--surface-2); margin-right: 8px; vertical-align: middle; overflow: hidden; }
.why-fill { display: block; height: 100%; background: var(--pa); border-radius: 3px; }
.why-spark { margin: 0; display: grid; gap: 4px; }
.why-spark svg { width: 100%; max-width: 420px; height: 64px; }
.why-spark figcaption { font-size: .74rem; color: var(--muted); }
.sp-line { fill: none; stroke: var(--pa); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.sp-dot { fill: var(--pa); }
.why-h { font-size: .92rem; font-weight: 850; margin: 4px 0 0; }
.sig { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sig li { display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: 9px; background: var(--surface-2); font-size: .86rem; line-height: 1.4; border-left: 3px solid var(--line); min-width: 0; overflow-wrap: anywhere; }
.sig-c { flex: none; font: 800 .62rem var(--sans); letter-spacing: .06em; color: var(--muted); min-width: 92px; }
.sig-good { border-left-color: var(--best) !important; }
.sig-info { border-left-color: var(--pa) !important; }
.sig-warn { border-left-color: var(--warn) !important; }

/* ------------------------------------------------------------------ team news */
.nw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nw-team { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; min-width: 0; }
.inj, .posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.inj li { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 8px; align-items: baseline; font-size: .84rem; padding: 6px 0; border-bottom: 1px solid var(--line); }
.inj-s { font: 800 .66rem var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; background: var(--surface-2); white-space: nowrap; }
.inj-s.neg { background: var(--bad-bg); color: var(--bad); } .inj-s.warn { background: var(--warn-bg); color: var(--warn); }
.inj-p { font-weight: 700; min-width: 0; overflow-wrap: anywhere; } .inj-p a { color: inherit; }
.inj-d { grid-column: 2 / 4; color: var(--muted); font-size: .76rem; }
.inj-t { color: var(--muted); font-size: .72rem; white-space: nowrap; }
.src { font-size: .7rem; color: var(--muted); margin: 0; }
.posts li { background: var(--surface-2); border-radius: 10px; padding: 9px 11px; display: grid; gap: 4px; min-width: 0; }
.post-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .74rem; }
.ptag { font: 800 .62rem var(--sans); letter-spacing: .05em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; background: var(--warn-bg); color: var(--warn); }
.post-a { font-weight: 700; min-width: 0; overflow-wrap: anywhere; } .post-t { margin-left: auto; color: var(--muted); }
.post-x { margin: 0; font-size: .84rem; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.post-l { font-size: .74rem; font-weight: 700; justify-self: start; }

/* ------------------------------------------------------------------ tip card: grade, chance, why, risk */
.grade { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 4px; border-radius: 999px; font: 850 .72rem var(--sans); letter-spacing: .02em; text-transform: uppercase; }
.grade b { display: inline-grid; place-items: center; min-width: 24px; height: 20px; padding: 0 4px; border-radius: 999px; font-size: .74rem; color: #fff; }
.g-ap { background: var(--best-bg); color: var(--best); } .g-ap b { background: var(--best); }
.g-a { background: var(--best-bg); color: var(--best); } .g-a b { background: var(--best); }
.g-b { background: var(--warn-bg); color: var(--warn); } .g-b b { background: var(--warn); }
.g-c { background: var(--surface-2); color: var(--muted); } .g-c b { background: var(--pb); }
.g-ai { background: var(--sel-bg); color: var(--sel-ink); } .g-ai b { background: var(--sel-ink); color: var(--sel-bg); } .tip-g-ai { border-top: 4px solid var(--sel-bg); }
.tip-g-ap { border-top: 4px solid var(--best); } .tip-g-a { border-top: 4px solid var(--best); } .tip-g-b { border-top: 4px solid var(--warn); }
.tip-chance { display: grid; line-height: 1; } .tip-chance b { font-size: 2rem; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tip-chance span { font-size: .74rem; color: var(--muted); margin-top: 3px; }
.tip-main { align-items: center; }
.tip-why { display: grid; gap: 4px; }
.tip-why h4 { margin: 4px 0 0; font-size: .74rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tip-why ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; font-size: .86rem; line-height: 1.4; }
.tip-why ul li::marker { color: var(--best); } .tip-why .tip-watch li::marker { color: var(--warn); }
.tip-risk { margin: 2px 0 0; font-size: .86rem; }
.tip-adv summary { cursor: pointer; font-size: .78rem; font-weight: 700; color: var(--muted); }
.tip-adv[open] { display: grid; gap: 6px; }
.tip-num { margin: 0; padding-left: 18px; font-size: .76rem; color: var(--muted); display: grid; gap: 2px; }

/* ------------------------------------------------------------------ edge finder */
.ph-x { margin: 8px 0 0; font-size: .86rem; font-weight: 700; }
.eg-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.eg-tabs::-webkit-scrollbar { display: none; }
.eg-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 700 .84rem var(--sans); cursor: pointer; }
.eg-tabs button[aria-selected="true"] { background: var(--nav); color: var(--nav-ink); border-color: var(--nav); }
.eg-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.eg-n { min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .74rem; text-align: center; font-variant-numeric: tabular-nums; }
.eg-n.on { background: var(--best-bg); color: var(--best); }
.eg-tabs button[aria-selected="true"] .eg-n { background: rgba(255, 255, 255, .16); color: var(--nav-ink); }
.eg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 12px; }
.eg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--best); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); min-width: 0; }
.eg-sus { border-left-color: var(--warn); }
.eg-top { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .74rem; color: var(--muted); }
.eg-badge { font: 850 .64rem var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; background: var(--best-bg); color: var(--best); }
.eg-when { margin-left: auto; }
.eg-h { margin: 0; font-size: 1rem; font-weight: 850; letter-spacing: -.01em; overflow-wrap: anywhere; }
.eg-ev { color: inherit; text-decoration: none; } .eg-ev:hover { text-decoration: underline; }
.eg-big { margin: 0; font-size: .95rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.eg-sub { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.eg-l { margin: 0; font-size: .78rem; font-weight: 700; }
.eg-legs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.eg-legs li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.eg-edge, .eg-stake { font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.eg-note, .eg-age { margin: 0; font-size: .74rem; color: var(--muted); }
.eg-warn { margin: 0; font-size: .78rem; color: var(--warn); background: var(--warn-bg); padding: 6px 9px; border-radius: 8px; }
.eg-strip { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius); background: var(--nav); color: var(--nav-ink); text-decoration: none; box-shadow: var(--shadow); min-width: 0; }
.eg-strip:hover { background: var(--nav-2); }
.eg-strip-t { flex: none; font: 850 .7rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.eg-strip-x { flex: 1; min-width: 0; font-size: .86rem; overflow-wrap: anywhere; } .eg-strip-x b { color: var(--brand); }

/* ------------------------------------------------------------------ track record: accuracy and research */
.rel { display: grid; gap: 7px; margin: 8px 0; }
.rel-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 210px); gap: 10px; align-items: center; font-size: .8rem; }
.rel-l { color: var(--muted); font-variant-numeric: tabular-nums; }
.rel-bars { display: grid; gap: 3px; }
.rel-p, .rel-o { display: block; height: 7px; border-radius: 4px; }
.rel-p { background: var(--pb); } .rel-o { background: var(--best); }
.rel-v { font-variant-numeric: tabular-nums; }
.legend .lg-pred::before { border-top: 6px solid var(--pb); width: 14px; } .legend .lg-obs::before { border-top: 6px solid var(--best); width: 14px; }
.test-grid { display: grid; gap: 12px; }
.test { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
.test h3 { margin: 0; font-size: 1rem; font-weight: 850; }
.test p { margin: 0; font-size: .86rem; }
.test-fail { border-left: 4px solid var(--bad); } .test-pass { border-left: 4px solid var(--best); }
.tier-x { background: var(--bad-bg); color: var(--bad); justify-self: start; }
.test .tier { justify-self: start; }
.facts { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: .86rem; }
.row-live th, .row-live td { background: var(--best-bg); }
.warn { color: var(--warn); }

@media (max-width: 720px) {
  .why-kpis { grid-template-columns: minmax(0, 1fr); }
  .nw { grid-template-columns: minmax(0, 1fr); }
  .rel-row { grid-template-columns: 62px minmax(0, 1fr); }
  .rel-v { grid-column: 1 / 3; }
  .sig li { flex-direction: column; gap: 2px; }
  .why-bar { display: none; }
  .why-t { font-size: .78rem; }
  .why-t th, .why-t td { padding: 6px 3px; }
  .kpis4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------------ plain read + advanced toggle */
.why-read { display: grid; gap: 8px; }
.why-lead { margin: 0; font-size: 1.05rem; }
.why-conf { margin: 0; font-size: .9rem; }
.why-list { margin: 0; padding-left: 20px; display: grid; gap: 5px; font-size: .9rem; line-height: 1.45; }
.why-list li::marker { color: var(--muted); } .why-list .sig-good::marker { color: var(--best); } .why-list .sig-warn::marker { color: var(--warn); }
.why-list li { border: 0 !important; }
details.adv { border-top: 1px solid var(--line); padding-top: 8px; }
details.adv > summary { cursor: pointer; font-size: .84rem; font-weight: 750; color: var(--muted); }
details.adv[open] > summary { margin-bottom: 10px; }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ev-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.ev-list li > span:first-child { font-weight: 750; min-width: 150px; } .ev-list .tier { margin-left: auto; }
.slow { display: grid; gap: 8px; margin-top: 4px; }
.slow-list { margin: 0; padding-left: 22px; display: grid; gap: 6px; font-size: .88rem; }
.slow-list li span { display: block; font-size: .8rem; }
.tip-time { margin: 0; font-size: .76rem; }

/* ------------------------------------------------------------------ Edge Finder legs and evidence badges */
/* each leg button names its selection ("Arsenal +1.5"): long names wrap instead of being cut off */
.ob-leg { min-width: 92px; }
.ob-leg .ob-l { white-space: normal; overflow-wrap: anywhere; text-align: center; line-height: 1.2; }
.eg-push { margin: 0; font-size: .78rem; background: var(--surface-2); padding: 6px 9px; border-radius: 8px; }
.tier-wrap { white-space: normal; max-width: 100%; }
.eg-age.eg-old b { color: var(--warn, #b45309); }
.prof-what { display: block; grid-column: 1 / -1; font-size: .8rem; font-weight: 600; color: var(--text); margin: 2px 0; }
.leg-started { display: block; font-size: .76rem; font-weight: 700; color: var(--bad, #c0392b); } .ob-started { opacity: .7; }
.multi-copy { display: grid; gap: 8px; margin-top: 10px; }
.mc-book { display: grid; gap: 4px; }
.mc-btn { width: 100%; justify-content: center; }
.mc-open summary { cursor: pointer; font-size: .82rem; color: var(--muted); }
.mc-open ol { margin: 6px 0 0; padding-left: 20px; font-size: .82rem; } .mc-open a { overflow-wrap: anywhere; }
.leg-cd { font-weight: 700; color: var(--text); }
.mc-more { margin-top: 6px; }
.mc-more > summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--muted); padding: 6px 0; }
.mc-more[open] > summary { margin-bottom: 6px; }
.tip-ai { margin: 10px 0 4px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--accent, #2563eb) 8%, transparent); border-left: 3px solid var(--accent, #2563eb); }
.tip-ai h4 { margin: 0 0 4px; font-size: .82rem; display: flex; align-items: center; gap: 6px; }
.tip-ai p { margin: 0; font-size: .88rem; line-height: 1.45; }
.tip-ai .tip-ai-by { margin-top: 6px; font-size: .74rem; color: var(--muted); }
.tip-ai-tag { font-size: .66rem; font-weight: 800; padding: 1px 6px; border-radius: 6px; background: var(--accent, #2563eb); color: #fff; letter-spacing: .04em; }
.ptag-trust { background: var(--accent, #2563eb); color: #fff; }
/* pictures: flag / crest / player photo over a coloured initials badge */
.av { position: relative; display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; overflow: hidden; vertical-align: -5px; background: var(--av-bg, #3b5b8a); }
.av-mono { font-size: .56rem; font-weight: 800; letter-spacing: .02em; color: #fff; line-height: 1; }
.av-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.av-p .av-img { object-fit: cover; object-position: 50% 20%; }
.av-md { width: 28px; height: 28px; vertical-align: -7px; margin-right: 8px; } .av-md .av-mono { font-size: .66rem; }
.av-lg { width: 44px; height: 44px; margin: 0 0 6px; display: grid; } .av-lg .av-mono { font-size: .95rem; }
.av-h0 { --av-bg: #3b5b8a; } .av-h1 { --av-bg: #8a3b5b; } .av-h2 { --av-bg: #2f7a5e; } .av-h3 { --av-bg: #8a6a2f; }
.av-h4 { --av-bg: #5b3b8a; } .av-h5 { --av-bg: #2f6f8a; } .av-h6 { --av-bg: #8a4a2f; } .av-h7 { --av-bg: #3f7a2f; }
.av-h8 { --av-bg: #7a2f6f; } .av-h9 { --av-bg: #2f4f7a; } .av-h10 { --av-bg: #6f5f2f; } .av-h11 { --av-bg: #2f7a7a; }
.ev-name { display: flex; align-items: center; min-width: 0; } .ev-name .ev-team { min-width: 0; }
/* who wins: one predicted winner per card */
.win { background: var(--card, #fff); border: 1px solid var(--line, #e2e6ee); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.win-top { display: flex; gap: 8px; align-items: center; font-size: .78rem; } .win-top .tip-when { margin-left: auto; }
.win-pick { margin: 2px 0 0; font-size: 1.15rem; line-height: 1.25; display: flex; align-items: center; }
.win-to { font-weight: 500; color: var(--muted); } .win-game { margin: 0; font-size: .85rem; }
.win-main { display: flex; align-items: flex-end; gap: 16px; margin: 4px 0; }
.win-chance b { font-size: 2rem; line-height: 1; display: block; } .win-chance span, .win-sure span:last-child { font-size: .78rem; color: var(--muted); }
.win-sure { display: flex; flex-direction: column; gap: 2px; margin-left: auto; text-align: right; }
.stars { color: #f5b301; letter-spacing: 1px; font-size: 1rem; } .stars-off { color: var(--line, #d5dae3); }
.win-model { margin: 0; font-size: .8rem; color: var(--good, #15803d); font-weight: 600; } .win-model.win-warn { color: var(--warn, #b45309); }
/* ready-made multis */
.rm-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rm { background: var(--card, #fff); border: 1px solid var(--line, #e2e6ee); border-top: 4px solid #15803d; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.rm-balanced { border-top-color: #2563eb; } .rm-big { border-top-color: #b45309; }
.rm h3 { margin: 0; font-size: 1.05rem; } .rm-what { margin: 0; font-size: .8rem; color: var(--muted); }
.rm-nums { display: flex; gap: 20px; } .rm-nums b { font-size: 1.5rem; display: block; line-height: 1.1; } .rm-nums span { font-size: .74rem; color: var(--muted); }
.rm-legs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rm-legs li { display: flex; align-items: center; font-size: .9rem; min-width: 0; } .rm-leg { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.rm-p { color: var(--muted); font-size: .8rem; margin-left: 8px; } .rm-add { text-align: center; text-decoration: none; margin-top: 4px; } .rm-book { margin: 0; font-size: .74rem; color: var(--muted); text-align: center; }
.bk-ask { background: var(--card, #fff); border: 2px solid var(--accent, #2563eb); border-radius: 14px; padding: 14px; margin: 0 0 16px; }
.bk-ask h2 { margin: 0 0 4px; font-size: 1.05rem; } .bk-ask p { margin: 0 0 10px; font-size: .88rem; color: var(--muted); }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; } .bk-chips .chip { cursor: pointer; font-weight: 600; }
.multi-one { margin: 8px 0; font-size: 1.05rem; } .multi-one b { font-size: 1.3rem; }
