/* Fonts, served from our own server (Barlow, SIL Open Font License) */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f4f4f1; --card: #ffffff; --text: #16181c; --muted: #676c74; --faint: #9a9ea5; --line: #e2e2dd;
  --head: #121417; --head-text: #ffffff; --brand: #d0202f; --pick: #1d4ed8; --pick-soft: #e8eefc;
  --good: #15803d; --good-soft: #e7f5ec; --bad: #b91c1c; --bad-soft: #fbeaea; --warn: #b45309; --warn-soft: #fdf3e2;
  --live: #d0202f; --poly: #4f46e5; --kalshi: #0f9f8f; --espn: #c2410c; --book: #6b7280;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111315; --card: #1b1e22; --text: #eceef1; --muted: #a0a5ad; --faint: #6f747c; --line: #2c3036;
    --head: #000000; --pick: #7aa2ff; --pick-soft: #1d2740; --good: #4ade80; --good-soft: #15291d; --bad: #f87171; --bad-soft: #301a1a;
    --warn: #fbbf24; --warn-soft: #2e2512; --poly: #8b85ff; --kalshi: #2dd4bf; --espn: #fb923c; --book: #9ca3af;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: inherit; }
.num { font-variant-numeric: tabular-nums; }

/* Header + nav */
.top { background: var(--head); color: var(--head-text); }
.top-in { max-width: 1180px; margin: 0 auto; padding: 14px 16px 0; }
.brand { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; text-decoration: none; }
.brand b { font: 700 30px/1 var(--display); letter-spacing: .3px; text-transform: uppercase; }
.brand b span { color: var(--brand); }
.brand small { color: #a8adb5; font-size: 13px; }
.nav { display: flex; gap: 22px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.nav button { background: none; border: 0; color: #c9cdd3; font: 600 14px/1 inherit; font-family: inherit; padding: 10px 0 12px; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; }
.nav button:hover { color: #fff; }
.nav button.on { color: #fff; border-bottom-color: var(--brand); }
.subnav { background: var(--card); border-bottom: 1px solid var(--line); }
.subnav-in { max-width: 1180px; margin: 0 auto; padding: 0 16px; display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.subnav button { background: none; border: 0; color: var(--muted); font: 600 13px inherit; font-family: inherit; padding: 11px 0; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.subnav button.on { color: var(--text); border-bottom-color: var(--text); }

.page { max-width: 1180px; margin: 0 auto; padding: 18px 16px 48px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }

/* Date bar */
.datebar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.datebar h1 { font: 700 26px/1 var(--display); text-transform: uppercase; margin: 0 8px 0 0; letter-spacing: .3px; }
.iconbtn, .linkbtn { background: var(--card); border: 1px solid var(--line); color: var(--text); border-radius: 6px; padding: 6px 10px; font: 500 13px inherit; font-family: inherit; cursor: pointer; }
.iconbtn:hover, .linkbtn:hover { border-color: var(--text); }
input[type=date] { background: var(--card); border: 1px solid var(--line); color: var(--text); border-radius: 6px; padding: 5px 8px; font: 13px inherit; font-family: inherit; }
.updated { margin-left: auto; color: var(--muted); font-size: 12px; }
.summary { color: var(--muted); font-size: 13px; margin: -4px 0 14px; }

/* Game cards (list) */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.game { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.game:hover { border-color: #b9bbb5; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.game .meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.live-tag { color: var(--live); font-weight: 700; }
.row { display: grid; grid-template-columns: 28px 1fr auto 52px; align-items: center; gap: 10px; padding: 4px 0; }
.row img { width: 28px; height: 28px; object-fit: contain; }
.row img.head { border-radius: 50%; object-fit: cover; background: var(--bg); }
.row .nm { font-weight: 600; line-height: 1.2; }
.row .rec { color: var(--faint); font-size: 12px; font-weight: 400; margin-left: 4px; }
.row .sc { font: 700 20px/1 var(--display); min-width: 24px; text-align: right; }
.row .wp { font: 700 20px/1 var(--display); text-align: right; color: var(--muted); }
.row.fav .wp { color: var(--pick); }
.row.lost .nm, .row.lost .sc { color: var(--faint); }
.split { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--line); margin: 8px 0; gap: 2px; }
.split i { display: block; height: 100%; }
.line { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.line b { color: var(--text); font-weight: 600; }
.flag { font-size: 12px; font-weight: 600; padding: 1px 6px; border-radius: 4px; }
.flag.good { color: var(--good); background: var(--good-soft); }
.flag.bad { color: var(--bad); background: var(--bad-soft); }
.flag.warn { color: var(--warn); background: var(--warn-soft); }
.more { color: var(--pick); font-weight: 600; font-size: 13px; white-space: nowrap; }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: 8px; padding: 48px 16px; text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* Sidebar */
.box { background: var(--card); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 16px; }
.box h3 { margin: 0; padding: 12px 14px 10px; font: 700 17px/1 var(--display); text-transform: uppercase; letter-spacing: .4px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.box h3 small { font: 500 12px inherit; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; text-transform: none; color: var(--muted); letter-spacing: 0; }
.list { list-style: none; margin: 0; padding: 4px 0; }
.list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 14px; font-size: 13px; cursor: pointer; align-items: center; }
.list li:hover { background: var(--bg); }
.list li .k { font-weight: 600; }
.list li .v { color: var(--muted); text-align: right; white-space: nowrap; }
.list li .v.soon { color: var(--pick); font-weight: 600; }
.list li .v.lv { color: var(--live); font-weight: 700; }
.list li.off { cursor: default; opacity: .55; }
.list li .sub { color: var(--faint); font-size: 12px; display: block; font-weight: 400; }
.note { padding: 10px 14px 14px; color: var(--muted); font-size: 13px; }
.switch { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; font-size: 13px; gap: 10px; }
.toggle { position: relative; width: 40px; height: 22px; flex: none; border-radius: 11px; background: var(--line); border: 0; cursor: pointer; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.toggle.on { background: var(--pick); }
.toggle.on::after { transform: translateX(18px); }
.follow { background: none; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font: 600 11px inherit; font-family: inherit; padding: 3px 7px; cursor: pointer; white-space: nowrap; }
.follow.on { color: var(--pick); border-color: var(--pick); background: var(--pick-soft); }

/* Toasts */
#toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 50; max-width: calc(100vw - 32px); }
.toast { position: relative; width: 310px; max-width: 100%; background: var(--card); color: var(--text); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 6px; padding: 10px 34px 10px 12px; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.18); cursor: pointer; animation: slidein .25s ease-out; transition: opacity .3s; }
.toast b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--brand); margin-bottom: 2px; }
.toast .x { position: absolute; top: 4px; right: 6px; background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; }
.toast.out { opacity: 0; }
@keyframes slidein { from { opacity: 0; transform: translateY(10px); } }

.foot-note { color: var(--faint); font-size: 12px; text-align: center; margin-top: 32px; line-height: 1.6; }

/* ---- Game page ---- */
.back { display: inline-block; color: var(--muted); text-decoration: none; font-size: 13px; margin-bottom: 14px; }
.back:hover { color: var(--text); }
.match { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.match .meta { color: var(--muted); font-size: 13px; text-align: center; margin-bottom: 14px; }
.teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.team { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.team img { width: 72px; height: 72px; object-fit: contain; }
.team img.head { border-radius: 50%; object-fit: cover; background: var(--bg); }
.team .tn { font: 700 22px/1.1 var(--display); text-transform: uppercase; }
.team .tr { color: var(--muted); font-size: 13px; }
.team .big { font: 700 44px/1 var(--display); color: var(--muted); }
.team.fav .big { color: var(--pick); }
.mid { text-align: center; color: var(--muted); font: 700 18px/1 var(--display); }
.mid .score { font-size: 40px; color: var(--text); }
.verdict { text-align: center; font-size: 18px; margin: 18px 0 6px; }
.verdict b { color: var(--pick); }
.match .split { height: 10px; border-radius: 5px; margin: 10px 0 0; }
.section { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; margin-top: 16px; }
.section h2 { margin: 0 0 4px; font: 700 22px/1.1 var(--display); text-transform: uppercase; letter-spacing: .3px; }
.section .lede { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 40px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: var(--card); font: 700 14px/26px var(--display); text-align: center; }
.steps li b { display: block; margin-bottom: 2px; }
.steps li span { color: var(--muted); font-size: 14px; }
.steps li .res { color: var(--text); font-weight: 600; }
.caveat { background: var(--warn-soft); color: var(--text); border-radius: 6px; padding: 10px 12px; font-size: 13px; margin-top: 4px; }
.caveat b { color: var(--warn); }
table.src { width: 100%; border-collapse: collapse; font-size: 14px; }
table.src th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; padding: 8px 6px; border-bottom: 1px solid var(--line); }
table.src td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.src td.n, table.src th.n { text-align: right; font-variant-numeric: tabular-nums; }
table.src tr.ours td { background: var(--pick-soft); }
table.src tr.avg td { font-weight: 700; border-bottom: 0; }
table.src .who { font-weight: 600; }
table.src .who small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.minibar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--line); min-width: 90px; gap: 1px; }
.minibar i { display: block; height: 100%; }
.callout { margin-top: 14px; padding: 12px 14px; border-radius: 6px; background: var(--bg); font-size: 14px; }
.chart-top { display: flex; gap: 8px; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.seg button { background: var(--card); border: 0; padding: 6px 12px; font: 600 12px inherit; font-family: inherit; color: var(--muted); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--text); color: var(--card); }
.chart-wrap { position: relative; height: 320px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; }
.legend i.dash { background: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 8px) !important; height: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .two { grid-template-columns: 1fr; } .team img { width: 52px; height: 52px; } .team .big { font-size: 34px; } .team .tn { font-size: 18px; } }
.form { display: flex; gap: 4px; margin-top: 6px; }
.form span { width: 24px; height: 24px; border-radius: 4px; font: 700 13px/24px var(--display); text-align: center; color: #fff; }
.form .W { background: var(--good); } .form .L { background: var(--bad); } .form .D, .form .T { background: var(--book); }
.kv { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.muted { color: var(--muted); }
@media (max-width: 520px) { table.src td:last-child, table.src th:last-child { display: none; } .section { padding: 16px 14px; } }

/* ---- v4: team colors, graphs, forecast bars ---- */
.top { border-bottom: 3px solid var(--brand); }
.game { padding: 14px 16px; border-radius: 10px; }
.row .wp { color: var(--faint); }
.row.fav .wp { color: var(--text); }
.row.fav .nm { font-weight: 700; }
.row img { filter: drop-shadow(0 0 0 transparent); }
.split { height: 5px; gap: 2px; background: transparent; }
.split i:first-child { border-radius: 3px 0 0 3px; } .split i:last-child { border-radius: 0 3px 3px 0; }
.trend { margin: 2px 0 8px; color: var(--muted); }
.trend-h { display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--faint); margin-bottom: 2px; }
.trend-v { text-transform: none; letter-spacing: 0; font-size: 12px; }
.trend-v .up { color: var(--good); font-weight: 600; } .trend-v .down { color: var(--bad); font-weight: 600; }
.trend-g { height: 44px; }
.trend-g:empty { background: linear-gradient(90deg, var(--line), transparent); opacity: .35; border-radius: 4px; }

.match { padding: 24px 24px 20px; border-radius: 10px; }
.team .big { color: var(--faint); }
.team.fav .big { color: var(--tc); }
.team .tn { letter-spacing: .4px; }
.mid .score span { color: var(--faint); margin: 0 6px; }
.hero-bar { margin-top: 18px; }
.hero-bar .split { height: 12px; gap: 3px; }
.hero-bar .split i:first-child { border-radius: 6px 0 0 6px; } .hero-bar .split i:last-child { border-radius: 0 6px 6px 0; }
.hero-bar .ends { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.verdict { font-size: 17px; margin-top: 16px; }
.verdict b { color: inherit; }
.section { border-radius: 10px; padding: 20px 22px; }
.sec-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 8px; }
.sec-head .lede { margin-bottom: 0; max-width: 560px; }
#chartCtl { display: flex; gap: 8px; flex-wrap: wrap; }
.chart-wrap { height: 340px; margin-top: 8px; }
.chart-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
.chart-empty { padding: 56px 16px; text-align: center; color: var(--muted); background: var(--bg); border-radius: 8px; font-size: 14px; }

.flegend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-bottom: 8px; justify-content: flex-end; }
.flegend span { display: inline-flex; align-items: center; gap: 6px; }
.flegend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.frows { display: flex; flex-direction: column; }
.frow { display: grid; grid-template-columns: minmax(170px, 240px) 1fr; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.frow:last-child { border-bottom: 0; }
.frow.ours { background: var(--pick-soft); margin: 0 -10px; padding: 10px; border-radius: 6px; border-bottom-color: transparent; }
.frow.avg { border-top: 2px solid var(--text); margin-top: 2px; }
.frow.avg .fname b { font-size: 15px; }
.fname { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.fname .dot { margin: 5px 0 0; flex: none; }
.fname a { font-weight: 600; text-decoration: none; }
.fname a:hover { text-decoration: underline; }
.fname .ext { color: var(--faint); font-size: 11px; margin-left: 3px; }
.fname small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.fbar { display: flex; height: 26px; gap: 2px; }
.fbar i { display: flex; align-items: center; justify-content: center; color: #fff; font: 700 13px/1 var(--display); letter-spacing: .3px; font-style: normal; min-width: 0; overflow: hidden; }
.fbar i:first-child { border-radius: 4px 0 0 4px; justify-content: flex-start; padding-left: 8px; }
.fbar i:last-child { border-radius: 0 4px 4px 0; justify-content: flex-end; padding-right: 8px; }
.fbar i.draw { background: var(--faint); }
@media (max-width: 640px) { .frow { grid-template-columns: 1fr; gap: 6px; } .frow.ours { margin: 0; } }

.proj-score { display: flex; gap: 10px; margin-bottom: 8px; }
.proj-score div { flex: 1; border-top: 4px solid var(--tc); background: var(--bg); border-radius: 0 0 6px 6px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: baseline; }
.proj-score span { font-weight: 600; color: var(--muted); }
.proj-score b { font: 700 32px/1 var(--display); }

/* ---- v5: header, football strip, badges, footer ---- */
.top-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.today { color: #a8adb5; font-size: 13px; }
.back::before { content: "‹"; margin-right: 6px; font-size: 16px; line-height: 1; }
.live-tag { display: inline-block; background: var(--live); color: #fff; font: 700 11px/1 inherit; font-family: inherit; text-transform: uppercase; letter-spacing: .6px; padding: 3px 6px; border-radius: 3px; margin-right: 4px; vertical-align: 1px; }
.meta-r { display: inline-flex; gap: 6px; align-items: center; }
.slot { display: inline-block; background: var(--text); color: var(--card); font: 700 11px/1 var(--display); letter-spacing: .8px; padding: 4px 6px 3px; border-radius: 3px; }
.tv { color: var(--muted); font-size: 12px; font-weight: 600; }
.more { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.game:hover .more { color: var(--text); }

.football { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 12px; margin-bottom: 18px; }
@media (max-width: 760px) { .football { grid-template-columns: 1fr; } }
.sb { background: #0d0f12; color: #fff; border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; border: 1px solid #23272e; }
.sb-h { display: flex; flex-direction: column; gap: 2px; }
.sb-name { font: 700 22px/1 var(--display); text-transform: uppercase; letter-spacing: .5px; }
.sb-where { color: #9aa0a8; font-size: 12px; }
.sb-clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sb-clock div { background: #1a1e24; border-radius: 6px; padding: 8px 4px 6px; text-align: center; }
.sb-clock b { display: block; font: 700 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.sb-clock span { display: block; color: #8b9199; font-size: 10px; text-transform: uppercase; letter-spacing: .8px; margin-top: 4px; }
.sb-when { color: #c4c8ce; font-size: 12px; border-top: 1px solid #23272e; padding-top: 8px; }
.pt { background: var(--card); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; }
.pt-h { font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .5px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.pt-list { display: flex; flex-direction: column; }
.pt-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.pt-row:last-child { border-bottom: 0; }
.pt-row:hover { background: var(--bg); }
.pt-m b { display: block; font-size: 14px; }
.pt-m small { color: var(--muted); font-size: 12px; }
.pt-res { font-size: 13px; color: var(--muted); text-align: right; white-space: nowrap; }
.pt-empty { padding: 16px; font-size: 13px; }

.foot { border-top: 1px solid var(--line); background: var(--card); margin-top: 24px; }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 22px 16px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; font-size: 13px; color: var(--muted); }
.foot-in b { color: var(--text); font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
.foot-in p { margin: 6px 0 0; line-height: 1.5; }

/* ---- v6: live bar, sticky header, day strip, breadcrumbs ---- */
/* Anything marked hidden stays hidden, even if a class sets display (this was letting the Super Bowl strip leak into other sports) */
[hidden] { display: none !important; }

.masthead { position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 6px 18px rgba(0,0,0,.06); }
@media (max-width: 760px) { .masthead { position: static; } }
.top { border-bottom: 0; }
.top-in { padding-top: 12px; }
.brand b { font-size: 26px; }

/* Live-now bar */
.livebar { background: #0a0b0d; color: #e9ebee; border-bottom: 1px solid #1f2328; }
.lb-in { max-width: 1180px; margin: 0 auto; padding: 0 8px 0 16px; display: flex; align-items: stretch; height: 52px; }
.lb-tag { display: flex; align-items: center; gap: 6px; padding-right: 12px; margin-right: 4px; border-right: 1px solid #23272e; font: 700 12px/1 inherit; font-family: inherit; text-transform: uppercase; letter-spacing: .8px; color: #fff; white-space: nowrap; }
.lb-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.lb-track { flex: 1; display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-g { flex: none; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 5px 14px; border-right: 1px solid #1b1f24; text-decoration: none; color: inherit; scroll-snap-align: start; min-width: 132px; }
.lb-g:hover { background: #15181c; }
.lb-l { grid-column: 1 / -1; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #8a9099; }
.lb-s { display: flex; flex-direction: column; font-size: 12px; line-height: 1.25; }
.lb-t { display: flex; justify-content: space-between; gap: 10px; color: #a5abb3; }
.lb-t b { font-weight: 700; }
.lb-t.lead { color: #fff; }
.lb-c { font-size: 11px; color: #f87171; font-weight: 600; align-self: center; white-space: nowrap; }
.lb-none { align-self: center; color: #8a9099; font-size: 13px; padding-left: 10px; }
.lb-arrow { flex: none; width: 28px; background: none; border: 0; color: #8a9099; font-size: 20px; cursor: pointer; }
.lb-arrow:hover { color: #fff; }
@media (max-width: 600px) { .lb-arrow { display: none; } }

/* Tabs are links now (open in new tab works); live counts sit beside the name */
.nav a, .subnav a { text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.nav a { color: #c9cdd3; font-weight: 600; font-size: 14px; padding: 10px 0 12px; border-bottom: 3px solid transparent; }
.nav a:hover { color: #fff; }
.nav a.on { color: #fff; border-bottom-color: var(--brand); }
.subnav a { color: var(--muted); font-weight: 600; font-size: 13px; padding: 11px 0; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--text); }
.subnav a.on { color: var(--text); border-bottom-color: var(--text); }
.cnt { background: var(--live); color: #fff; font: 700 10px/1 inherit; font-family: inherit; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; }

/* Date bar with a week of day buttons */
.datebar { gap: 10px; margin-bottom: 10px; }
.days { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.day-strip { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.day { flex: 1 0 64px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 5px 6px; cursor: pointer; color: var(--muted); font-family: inherit; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.day span { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.day b { font-size: 13px; color: var(--text); font-weight: 600; }
.day:hover { border-color: var(--text); }
.day.is-today span { color: var(--brand); }
.day.on { background: var(--text); border-color: var(--text); }
.day.on span, .day.on b { color: var(--card); }
.cal { position: relative; display: inline-flex; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; font-size: 13px; cursor: pointer; }
.cal input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.summary { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.summary .updated { margin-left: 0; }
@media (max-width: 760px) { .datebar h1 { width: 100%; } .day { flex-basis: 54px; } }

/* Game page breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs b { color: var(--text); font-weight: 600; }
.crumbs .pn { margin-left: auto; display: flex; gap: 6px; }
.crumbs .pn a { border: 1px solid var(--line); background: var(--card); border-radius: 6px; padding: 4px 10px; color: var(--text); }
.crumbs .pn a:hover { border-color: var(--text); text-decoration: none; }

/* ---- v7: moving ticker ---- */
.lb-in { padding-right: 0; }
.lb-track { position: relative; overflow: hidden; scroll-snap-type: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 48px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 48px), transparent 100%); }
.lb-run { display: flex; width: max-content; }
.lb-lap { display: flex; flex: none; }
.lb-track.ticking .lb-run { animation: ticker var(--dur, 60s) linear infinite; }
.lb-track.ticking:hover .lb-run, .lb-track.ticking:focus-within .lb-run { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lb-g { scroll-snap-align: none; }
.lb-g.chg { animation: scored 1.2s ease-out 3; }
@keyframes scored { 0% { background: rgba(250, 204, 21, .35); } 100% { background: transparent; } }
/* Respect "reduce motion": no scrolling, just swipe/scroll by hand */
@media (prefers-reduced-motion: reduce) {
  .lb-track { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .lb-track.ticking .lb-run { animation: none; }
  .lb-lap[aria-hidden="true"] { display: none; }
  .lb-g.chg { animation: none; outline: 1px solid #facc15; }
}

/* ---- v8: Players & Rankings ---- */
.top-links { display: inline-flex; align-items: baseline; gap: 16px; }
.top-links a { color: #a8adb5; text-decoration: none; font-size: 13px; font-weight: 600; }
.top-links a:hover, .top-links a.on { color: #fff; }
.top-links a.on { box-shadow: 0 2px 0 var(--brand); }
.hero-links { text-align: center; margin-top: 12px; }
.hero-links .linkbtn { text-decoration: none; display: inline-block; }

.info-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.info-head h1 { margin: 0; font: 700 28px/1 var(--display); text-transform: uppercase; letter-spacing: .3px; }
.info-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card); flex-wrap: wrap; }
.info-tabs button { background: none; border: 0; padding: 9px 16px; font-weight: 600; font-size: 13px; font-family: inherit; color: var(--muted); cursor: pointer; }
.info-tabs button + button { border-left: 1px solid var(--line); }
.info-tabs button.on { background: var(--text); color: var(--card); }

.info-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }
.info-games { position: sticky; top: 170px; max-height: calc(100vh - 190px); overflow-y: auto; }
@media (max-width: 900px) { .info-games { position: static; max-height: none; } }
.info-games h3 { gap: 8px; }
.gday { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; text-transform: none; letter-spacing: 0; }
.gday .iconbtn { padding: 2px 8px; }
.info-games .list li.on { background: var(--pick-soft); box-shadow: inset 3px 0 0 var(--pick); }

.ph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--bg); flex: none; }
.ph.sm { width: 26px; height: 26px; vertical-align: middle; margin-right: 8px; }
.ph.logo { border-radius: 0; object-fit: contain; background: none; width: 26px; height: 26px; }
.ph.logo.lg { width: 48px; height: 48px; }
.ph-empty { display: inline-block; }
.ig-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ig-match { display: flex; align-items: center; gap: 14px; font-size: 18px; }
.ig-match .muted { font-size: 13px; margin-top: 2px; }
.ig-pick { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.ig-pick .linkbtn { text-decoration: none; }

.pw-col { display: flex; flex-direction: column; gap: 2px; }
.pw-team { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 3px solid var(--tc, var(--line)); }
.pw-team b { font: 700 18px/1 var(--display); text-transform: uppercase; }
.pw-team span { color: var(--muted); font-size: 12px; }
.pw { display: grid; grid-template-columns: 18px 44px 1fr; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pw:last-child { border-bottom: 0; }
.pw-n { font: 700 18px/1 var(--display); color: var(--faint); text-align: center; }
.pw-b b { font-size: 15px; }
.pos { color: var(--muted); font-size: 12px; font-weight: 600; }
.pw-tags { display: flex; gap: 4px; flex-wrap: wrap; margin: 3px 0; }
.pw-tags span { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 3px; background: var(--bg); color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.pw-tags span.q { background: var(--warn-soft); color: var(--warn); }
.pw-line { font-weight: 700; font-size: 14px; color: var(--tc, var(--text)); }
.pw-sub { color: var(--muted); font-size: 12px; }

.inj-col { display: flex; flex-direction: column; }
.inj { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.inj .what { color: var(--muted); font-size: 12px; width: 100%; }
.st { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 3px; text-transform: uppercase; letter-spacing: .3px; background: var(--bg); color: var(--muted); white-space: nowrap; }
.st.out { background: var(--bad-soft); color: var(--bad); }
.st.doubt { background: var(--warn-soft); color: var(--warn); }
.st.q { background: var(--pick-soft); color: var(--pick); }

.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 7px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl .n { text-align: right; font-variant-numeric: tabular-nums; }
.tbl td.pl b { font-weight: 600; }
.tbl tr.dim td { opacity: .55; }
.tbl-h { font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .4px; margin: 18px 0 6px; }

/* UFC */
.ufc-next { margin: 0 0 14px; }
.div-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.div-tile { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; cursor: pointer; font-family: inherit; color: var(--text); display: flex; flex-direction: column; gap: 3px; position: relative; }
.div-tile:hover { border-color: var(--text); }
.div-tile.on { border-color: var(--brand); box-shadow: inset 0 3px 0 var(--brand); }
.dt-name { font: 700 18px/1.05 var(--display); text-transform: uppercase; letter-spacing: .3px; padding-right: 70px; }
.dt-lim { color: var(--faint); font-size: 12px; }
.dt-champ { color: var(--muted); font-size: 12px; margin-top: 4px; }
.dt-champ b { color: var(--text); }
.dt-live { position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; background: var(--live); color: #fff; padding: 2px 6px; border-radius: 3px; }
.div-panel { margin-top: 16px; }
.champ { display: flex; align-items: center; gap: 18px; padding: 4px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; flex-wrap: wrap; }
.champ-img { width: 160px; height: 100px; object-fit: contain; object-position: bottom; }
.champ-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--brand); }
.champ-name { font: 700 30px/1.05 var(--display); text-transform: uppercase; margin: 2px 0 8px; }
.champ-name a, .rank-tbl a { color: inherit; text-decoration: none; }
.champ-name a:hover, .rank-tbl a:hover { text-decoration: underline; }
.rank-tbl td { font-size: 14px; padding: 9px 8px; }
.rank-tbl .rk { font: 700 18px/1 var(--display); width: 48px; }
.rank-tbl tr.fighting td { background: var(--warn-soft); }
.rank-tbl tr.fighting td:first-child { box-shadow: inset 3px 0 0 var(--warn); }
.chg { font-size: 12px; font-weight: 700; color: var(--faint); }
.chg.up { color: var(--good); }
.chg.down { color: var(--bad); }
.chg.new { color: var(--pick); text-transform: uppercase; }
.fight-pill { display: inline-block; font-size: 12px; font-weight: 700; color: var(--warn); background: var(--warn-soft); border-radius: 4px; padding: 3px 8px; text-decoration: none; white-space: nowrap; }
.fight-pill:hover { text-decoration: underline; }
.champ.fighting .champ-name { color: var(--warn); }
.unranked { display: flex; flex-direction: column; }
.ur-fight { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; font-size: 14px; }
.ur-fight:hover { background: var(--bg); }
.ur-fight .vs { color: var(--faint); font-size: 12px; text-transform: uppercase; }
@media (max-width: 640px) { .ur-fight { grid-template-columns: 1fr; } .ur-fight .vs { display: none; } }
.src-note { font-size: 12px; margin-top: 12px; }
.dt-name { padding-right: 0; }
.dt-live { position: static; align-self: flex-start; margin-top: 6px; }
.missing { margin-top: 8px; padding: 8px 10px; border-radius: 6px; background: var(--bad-soft); color: var(--text); font-size: 13px; }
.missing b { color: var(--bad); }

/* ---- v9: player news, form, fighter profiles ---- */
.pw-news { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.45; border-left: 2px solid var(--line); padding-left: 8px; }
.pw-news span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: var(--faint); margin-top: 2px; }
.pw-tags span:nth-child(n) { white-space: nowrap; }
.cold { margin-top: 10px; padding: 8px 10px; border-radius: 6px; background: var(--bg); font-size: 13px; }
.cold b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 4px; }

.rk-hint { font-size: 13px; margin: 0 0 6px; }
.rk-row { cursor: pointer; }
.rk-row:hover td { background: var(--bg); }
.rk-row.fighting:hover td { background: var(--warn-soft); }
.rk-row.is-champ .rk { color: var(--brand); }
.rk-row[aria-expanded="true"] td { border-bottom-color: transparent; }
.fz { display: flex; align-items: center; gap: 10px; }
.fz-img { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--bg); flex: none; }
.fz-img img { width: 100%; height: 160%; object-fit: cover; object-position: top; }
.fz-nick { display: block; color: var(--muted); font-size: 12px; font-style: italic; }
.res { display: inline-block; width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 3px; font: 700 12px/20px var(--display); color: #fff; background: var(--faint); margin-right: 3px; }
.res.W { background: var(--good); } .res.L { background: var(--bad); } .res.D, .res.NC { background: var(--book); }
.rk-detail td { background: var(--bg); padding: 0; white-space: normal; }
.fp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 16px 18px; }
@media (max-width: 860px) { .fp { grid-template-columns: 1fr; } }
.fp h4 { margin: 0 0 6px; font: 700 14px/1 var(--display); text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.fp .kv { font-size: 13px; padding: 5px 0; }
.fp-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.fp-tags span { font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 3px; background: var(--card); border: 1px solid var(--line); }
.wb { display: grid; grid-template-columns: 82px 1fr 70px; gap: 8px; align-items: center; font-size: 13px; padding: 4px 0; }
.wb-t { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.wb-t i { display: block; height: 100%; }
.wb b { text-align: right; font-variant-numeric: tabular-nums; }
.fp-fight { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.fp-fight:last-of-type { border-bottom: 0; }
.fp-fight .muted { font-size: 12px; }
.fp-link { display: inline-block; margin-top: 10px; text-decoration: none; }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* ---- v10: sport picker on Players & Rankings ---- */
.info-tabs { display: flex; flex-direction: column; gap: 8px; border: 0; background: none; overflow: visible; }
.it-row { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card); flex-wrap: wrap; align-self: flex-end; }
.it-row button, .it-sub button { background: none; border: 0; padding: 9px 16px; font-weight: 600; font-size: 13px; font-family: inherit; color: var(--muted); cursor: pointer; }
.it-row button + button { border-left: 1px solid var(--line); }
.it-row button.on { background: var(--text); color: var(--card); }
.it-sub { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.it-sub button { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.it-sub button.on { border-color: var(--text); color: var(--text); }
@media (max-width: 700px) { .it-row, .it-sub { align-self: stretch; justify-content: flex-start; } }

/* ---- v11: intro strip + bio ---- */
.intro { background: var(--card); border-bottom: 1px solid var(--line); }
.intro-in { max-width: 1180px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.intro p { margin: 0; font-size: 14px; line-height: 1.5; }
.intro p b { font-weight: 600; }
.intro p span { display: block; color: var(--muted); font-size: 13px; }
.intro-link { font-size: 13px; font-weight: 600; color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; white-space: nowrap; }
.intro-link:hover { border-color: var(--text); }
.foot-in .bio { grid-column: 1 / -1; max-width: 760px; }
.foot-in .bio p { color: var(--muted); }

/* ---- v12: title races ---- */
.title-race { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.tr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.tr-head h2 { margin: 0; font: 700 20px/1.1 var(--display); text-transform: uppercase; letter-spacing: .3px; }
.tr-head .muted { font-size: 12px; }
.tr-tbl td { padding: 6px 8px; }
.tr-tbl .rk { width: 28px; color: var(--faint); font: 700 15px/1 var(--display); }
.tr-tbl .ph.logo.sm { width: 22px; height: 22px; margin-right: 8px; }
.tr-bar { display: flex; align-items: center; gap: 8px; min-width: 150px; }
.tr-bar div { flex: 1; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.tr-bar i { display: block; height: 100%; background: var(--pick); }
.tr-bar b { min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; }
.tr-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; font-size: 12px; color: var(--muted); }
.tr-foot b { color: var(--text); }

/* =====================================================================
   v13: visual refresh. Calmer palette, softer cards, fewer borders,
   sentence-case headings, more breathing room.
   ===================================================================== */
:root {
  --bg: #f4f5f7; --card: #ffffff; --card-2: #f8f9fb; --text: #121418; --muted: #636b78; --faint: #9aa1ab; --line: #e6e8ec;
  --head: #0e1014; --brand: #d92d3a; --pick: #2563eb; --pick-soft: #eef3fe; --elo: #8b5cf6;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 20px rgba(16, 24, 40, .05);
  --radius: 14px;
  --body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0e12; --card: #14171d; --card-2: #191d24; --text: #e8eaee; --muted: #9aa2ae; --faint: #6c7480; --line: #242933;
    --head: #08090c; --pick: #7aa7ff; --pick-soft: #18223a; --elo: #a78bfa;
    --shadow: 0 1px 0 rgba(255, 255, 255, .02);
  }
}
body { font-family: var(--body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }

/* Header: one calm dark band with a thin accent */
.top { background: var(--head); border-bottom: 0; box-shadow: inset 0 -1px 0 rgba(255,255,255,.06); }
.masthead { box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.brand b { font-size: 24px; letter-spacing: .4px; }
.nav { gap: 26px; margin-top: 8px; }
.nav a { font-size: 14px; font-weight: 500; padding: 10px 0 11px; border-bottom-width: 2px; }
.subnav { background: var(--card); border-bottom: 1px solid var(--line); }
.subnav a { font-weight: 500; }
.livebar { background: #060709; border-bottom: 1px solid #16191f; }
.lb-in { height: 46px; }

/* Intro: a quiet line of text, not another band */
.intro { background: transparent; border-bottom: 0; }
.intro-in { padding: 18px 16px 0; }
.intro p { font-size: 15px; }
.intro p b { font-weight: 600; }
.intro-link { border: 0; padding: 0; color: var(--pick); font-weight: 600; }
.intro-link:hover { text-decoration: underline; }

.page { padding-top: 18px; }
.layout { gap: 28px; }

/* Cards everywhere: soft, rounded, light borders */
.box, .game, .section, .match, .title-race, .pt, .empty, .div-tile, .info-tabs .it-row, .chart-empty {
  border-radius: var(--radius); border-color: var(--line); box-shadow: var(--shadow);
}
.box { overflow: hidden; }
.box h3, .tr-head h2, .pt-h, .section h2, .datebar h1, .info-head h1, .doc h1 {
  font-family: var(--body); text-transform: none; letter-spacing: -.01em; font-weight: 650;
}
.box h3 { font-size: 15px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.box h3 small { font-weight: 500; }
.section { padding: 22px 24px; }
.section h2 { font-size: 19px; margin-bottom: 6px; }
.lede { color: var(--muted); }
.datebar h1 { font-size: 24px; }
.info-head h1, .doc h1 { font-size: 28px; }

/* Lists in the sidebar */
.list li { padding: 10px 16px; }
.list li + li { border-top: 1px solid var(--line); }
.follow { border-radius: 999px; padding: 4px 10px; font-weight: 600; background: transparent; }
.follow:hover { border-color: var(--text); color: var(--text); }

/* Game cards */
.games { gap: 14px; }
.game { padding: 16px 18px; border: 1px solid var(--line); }
.game:hover { border-color: color-mix(in srgb, var(--pick) 35%, var(--line)); box-shadow: 0 8px 28px rgba(16, 24, 40, .08); transform: translateY(-1px); }
.game { transition: border-color .15s, box-shadow .15s, transform .15s; }
.row .nm { font-weight: 550; }
.row .wp, .row .sc { font-family: var(--display); }
.split { height: 6px; margin: 10px 0; }
.more { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--pick); }
.flag { border-radius: 999px; padding: 2px 8px; }

/* Day strip */
.day { border-radius: 10px; background: var(--card); }
.day.on { box-shadow: var(--shadow); }
.iconbtn, .linkbtn, .cal { border-radius: 10px; }

/* Football hero: countdown + three primetime tiles side by side */
.football { grid-template-columns: minmax(250px, 300px) 1fr; gap: 14px; margin: 4px 0 20px; }
.sb { border-radius: var(--radius); background: linear-gradient(160deg, #11141a 0%, #0b0c10 100%); border: 1px solid #1f232b; padding: 18px; justify-content: space-between; }
.sb-name { font-family: var(--display); font-size: 24px; }
.sb-clock { gap: 8px; }
.sb-clock div { background: rgba(255,255,255,.05); border-radius: 10px; padding: 10px 4px 8px; }
.sb-clock b { font-size: 28px; }
.sb-when { border-top: 0; padding-top: 0; color: #9aa1ab; }
.pt { background: var(--card); padding: 0; }
.pt-h { font-size: 15px; padding: 14px 16px 4px; border-bottom: 0; }
.pt-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; padding: 10px 14px 14px; }
.pt-row { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-2); }
.pt-row:hover { background: var(--card); border-color: color-mix(in srgb, var(--pick) 35%, var(--line)); }
.pt-row:last-child { border-bottom: 1px solid var(--line); }
.pt-m b { font-size: 15px; }
.pt-res { text-align: left; white-space: normal; }
.slot { border-radius: 6px; }
@media (max-width: 760px) { .football { grid-template-columns: 1fr; } }

/* Title race */
.title-race { padding: 18px 20px; }
.tr-head h2 { font-size: 18px; }
.tr-tbl th { border-bottom-color: var(--line); }
.tr-tbl td { border-bottom-color: var(--line); }
.tr-tbl tbody tr:last-child td { border-bottom: 0; }
.tr-bar div { height: 7px; background: var(--card-2); }
.tr-bar i { border-radius: 4px; }

/* Track record box */
.track { padding: 6px 16px 14px; }
.tr-season { padding: 10px 0; border-bottom: 1px solid var(--line); }
.tr-season > span { font-size: 12px; color: var(--muted); }
.tr-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.tr-nums div { background: var(--card-2); border-radius: 10px; padding: 8px 10px; }
.tr-nums b { display: block; font: 700 22px/1 var(--display); }
.tr-nums small { color: var(--muted); font-size: 11px; }
.tr-nums .base b { color: var(--faint); }
.tr-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--pick); text-decoration: none; }

/* Forecast rows: our two models highlighted gently */
.frow.ours { background: var(--pick-soft); border-radius: 10px; }
.fbar { height: 24px; }
.fbar i:first-child { border-radius: 6px 0 0 6px; } .fbar i:last-child { border-radius: 0 6px 6px 0; }

/* Footer */
.foot { background: transparent; border-top: 1px solid var(--line); }

/* Methods page */
.doc { max-width: 960px; }
.doc-lede { font-size: 17px; color: var(--muted); max-width: 720px; margin: 6px 0 18px; }
.m-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 10px; }
.m-card { background: var(--card-2); border-radius: 12px; padding: 16px; }
.m-card h3 { margin: 0 0 6px; font-size: 16px; }
.m-card p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.tag { font-size: 11px; font-weight: 600; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: 2px; }
.src-list { display: grid; gap: 10px; }
.src-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.src-item:last-child { border-bottom: 0; }
.src-item b { font-size: 15px; }
.src-item span { display: inline-block; margin-left: 8px; font-size: 12px; color: var(--muted); }
.src-item p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.src-item a, .lede a, .doc a { color: var(--pick); }
.track-tbl td.best { color: var(--good); font-weight: 700; }
/* Football hero, stacked: a compact countdown band, then the primetime tiles in a row */
.football { grid-template-columns: 1fr; }
.sb { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding: 16px 20px; }
.sb-h { flex: 1 1 200px; }
.sb-clock { flex: 0 1 300px; }
.sb-when { flex-basis: 100%; font-size: 12px; margin-top: -4px; }
.pt-list { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
/* Quieter alert buttons in lists */
.list .follow { border-color: transparent; color: var(--muted); padding: 4px 8px; }
.list .follow:hover { color: var(--pick); border-color: var(--line); }
.list .follow.on { color: var(--pick); background: var(--pick-soft); }

/* =====================================================================
   v14: navy + orange palette, grouped games, week/day strips
   ===================================================================== */
:root {
  --bg: #f1f4f9; --card: #ffffff; --card-2: #f5f7fb; --text: #0e1628; --muted: #576279; --faint: #94a0b4; --line: #e1e6ef;
  --head: #0b1631; --brand: #ff6b2c; --pick: #2563eb; --pick-soft: #ecf2fe; --live: #ef3b4f;
  --shadow: 0 1px 2px rgba(11, 22, 49, .05), 0 8px 24px rgba(11, 22, 49, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090f1d; --card: #101a2e; --card-2: #15213a; --text: #e9eef8; --muted: #9ba8c0; --faint: #66748d; --line: #1f2c47;
    --head: #060c19; --brand: #ff7a3d; --pick: #79a6ff; --pick-soft: #172645; --live: #ff5263;
    --shadow: 0 1px 0 rgba(255, 255, 255, .02);
  }
}
/* Navy header with an orange accent */
.top { background: linear-gradient(180deg, var(--head) 0%, color-mix(in srgb, var(--head) 88%, #1d3a7a) 100%); }
.livebar { background: #050b18; border-bottom-color: #121c33; }
.brand b span { color: var(--brand); }
.nav a.on { border-bottom-color: var(--brand); }
.top-links a.on { box-shadow: 0 2px 0 var(--brand); }
.subnav a.on { border-bottom-color: var(--brand); color: var(--text); }
.cnt { background: var(--live); }
.lb-tag::before { background: var(--live); }
.intro-link, .more, .tr-link, .src-item a, .lede a, .doc a { color: var(--brand); }
.sb { background: linear-gradient(150deg, #0d1a3a 0%, #08101f 100%); border-color: #1b2a4d; }
.sb-name { color: #fff; }
.sb-clock div { background: rgba(255, 255, 255, .06); }
.tr-bar i { background: linear-gradient(90deg, var(--pick), color-mix(in srgb, var(--pick) 60%, var(--brand))); }
.toggle.on { background: var(--brand); }
.slot { background: var(--head); color: #fff; }
@media (prefers-color-scheme: dark) { .slot { background: var(--brand); color: #10131a; } }

/* Date strip: football weeks, or days with game markers */
.day { position: relative; transition: border-color .15s, background .15s; }
.day.on { background: var(--head); border-color: var(--head); }
.day.on span, .day.on b { color: #fff; }
@media (prefers-color-scheme: dark) { .day.on { background: var(--brand); border-color: var(--brand); } .day.on span, .day.on b { color: #0b1020; } }
.day.is-today span { color: var(--brand); }
.day.none { opacity: .45; }
.day.wk { flex: 0 0 auto; min-width: 104px; padding: 7px 12px; }
.day.wk b { font-size: 12px; font-weight: 500; white-space: nowrap; }
.day-strip { scroll-behavior: smooth; padding-bottom: 2px; }

/* Game groups (by day for football, by status otherwise) */
.g-group { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin: 14px 0 0; font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.g-group:first-child { margin-top: 0; }
.g-group span { font-size: 12px; font-weight: 500; color: var(--muted); }
.g-group::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; }
.g-group.is-live { color: var(--live); }
.day.on.is-today span { color: #fff; }
@media (prefers-color-scheme: dark) { .day.on.is-today span { color: #0b1020; } }

/* ---- v15: source groups, agreement, quiet live markers ---- */
.f-group { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.f-group:first-child { margin-top: 2px; }
.f-group span { font-weight: 500; color: var(--faint); }
.frow { padding: 8px 0; }
.frow.ours { margin: 0; padding: 8px 10px; }
.agree { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 14px; margin: 6px 0 10px; background: var(--card-2); border-radius: 12px; }
.agree p { margin: 0; font-size: 15px; }
.agree-dots { display: flex; gap: 4px; }
.agree-dots i { width: 12px; height: 12px; border-radius: 3px; display: block; }
/* Live games: a small pulsing dot next to the tab name instead of a number badge */
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); margin-left: 2px; box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 60%, transparent); animation: livePulse 2s ease-out infinite; vertical-align: 2px; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 55%, transparent); } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ---- v16: computer rating systems list ---- */
.frows .pt-more { display: none; }
.frows.show-all .pt-more { display: grid; }
.pt-toggle { margin-top: 8px; }
.f-group a { color: var(--brand); text-transform: none; letter-spacing: 0; font-weight: 600; }
.frow .fname small { line-height: 1.35; }
.agree { flex-direction: column; align-items: flex-start; }
.agree-dots { flex-wrap: wrap; max-width: 100%; }
.agree-dots i { width: 10px; height: 10px; }

/* ---- v17: never let a wide row (week strip, tables) stretch the page on narrow screens ---- */
.layout > *, .football > *, .info-grid > *, .datebar > * { min-width: 0; }
@media (max-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr); } }
.football { grid-template-columns: minmax(0, 1fr); }
.days { max-width: 100%; }

/* ---- v18: news watch + boxing ---- */
.nw-list { display: flex; flex-direction: column; }
.nw { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nw:last-child { border-bottom: 0; }
.nw-b a { color: var(--text); font-weight: 600; text-decoration: none; line-height: 1.35; }
.nw-b a:hover { text-decoration: underline; }
.nw-meta { color: var(--muted); font-size: 12px; margin-top: 3px; }
.nw-team { font-weight: 700; color: var(--tc, var(--text)); }
.nw-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; background: var(--card-2); color: var(--muted); white-space: nowrap; }
.nw-tag.t-out, .nw-tag.t-suspension { background: var(--bad-soft); color: var(--bad); }
.nw-tag.t-questionable { background: var(--warn-soft); color: var(--warn); }
.nw-tag.t-personal { background: color-mix(in srgb, #8b5cf6 15%, transparent); color: #8b5cf6; }
.nw-tag.t-return { background: var(--good-soft); color: var(--good); }
.nw-eff { font-size: 13px; font-weight: 700; white-space: nowrap; text-align: right; }
.nw-eff.down { color: var(--bad); } .nw-eff.up { color: var(--good); }
.nw-eff.none { font-weight: 500; color: var(--faint); font-size: 12px; white-space: normal; max-width: 170px; }
.nw-note { font-size: 12px; margin: 10px 0 0; }
@media (max-width: 640px) { .nw { grid-template-columns: minmax(0, 1fr); gap: 6px; } .nw-eff { text-align: left; } }
.nw-side li { display: block; }
.nw-side .k a { display: block; color: var(--text); text-decoration: none; font-weight: 600; margin-top: 4px; line-height: 1.35; }
.nw-side .k a:hover { text-decoration: underline; }
.bx-day { margin: 18px 0 8px; font-weight: 650; display: flex; gap: 10px; align-items: baseline; }
.bx-day span { color: var(--muted); font-size: 12px; font-weight: 500; }
.bx-day::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; }
.bx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.bx { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; }
.bx-row { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.bx-row b { font-weight: 600; } .bx-row.fav b { font-weight: 750; }
.bx-row .p { font: 700 20px/1 var(--display); color: var(--muted); } .bx-row.fav .p { color: var(--brand); }
.bx-src { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.bx .split { margin: 8px 0 4px; }

/* ---- v19: boxing tabs, records, Zuffa cards, world titles, fan talk ---- */
.bx-tabs { display: flex; flex-wrap: wrap; width: max-content; max-width: 100%; margin: 4px 0 14px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card); }
.bx-tabs button { background: none; border: 0; padding: 9px 16px; font-weight: 600; font-size: 13px; font-family: inherit; color: var(--muted); cursor: pointer; }
.bx-tabs button + button { border-left: 1px solid var(--line); }
.bx-tabs button.on { background: var(--text); color: var(--card); }
@media (max-width: 520px) { .bx-tabs { width: 100%; } .bx-tabs button { flex: 1 1 50%; padding: 9px 8px; } .bx-tabs button + button { border-left: 0; } }
.bx-name { color: inherit; text-decoration: none; font-weight: 600; }
.bx-name:hover { text-decoration: underline; }
.bx-row.fav .bx-name { font-weight: 750; }
.bx-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bx-tags:not(:empty) { margin-bottom: 8px; }
.bx-org { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--card-2, var(--bg)); color: var(--muted); }
.bx-org.zuffa { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.bx-org.title { background: var(--warn-soft); color: var(--warn); }
.bx-more { margin-top: 10px; width: 100%; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 6px; font: 600 12px/1.2 inherit; font-family: inherit; color: var(--muted); cursor: pointer; }
.bx-more:hover { color: var(--text); border-color: var(--text); }
.bx-detail { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.tot { width: 100%; border-collapse: collapse; font-size: 13px; }
.tot td, .tot th { padding: 5px 4px; border-bottom: 1px solid var(--line); }
.tot td:first-child { text-align: left; } .tot td:last-child { text-align: right; }
.tot td:last-child .form { justify-content: flex-end; }
.tot th { color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; text-align: center; white-space: nowrap; }
.tot .form { margin: 0; } .tot .form span { width: 20px; height: 20px; font-size: 12px; line-height: 20px; }
.bx-h { margin: 14px 0 6px; font-size: 14px; }
.bx-h span { display: block; color: var(--muted); font-size: 12px; font-weight: 500; margin-top: 2px; }
.bx-lean { font-size: 13px; margin-bottom: 6px; }
.bx-posts { list-style: none; margin: 0; padding: 0; }
.bx-posts li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.bx-posts li:last-child { border-bottom: 0; }
.bx-posts p { margin: 0 0 3px; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.bx-posts .sub { color: var(--faint); font-size: 12px; }
.bx-posts a { color: var(--muted); }
.bx-org-intro { margin: 0 0 14px; line-height: 1.5; }
.zf { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 16px; margin-bottom: 12px; }
.zf-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-bottom: 6px; }
.zf-head b { font: 700 18px/1.1 var(--display); text-transform: uppercase; letter-spacing: .3px; }
.zf-head span { color: var(--muted); font-size: 13px; }
.zf-titles { font-size: 12px; color: var(--warn); font-weight: 600; margin-bottom: 4px; }
.zf-card td { white-space: normal; }
.zf-card tr:last-child td { border-bottom: 0; }
.titles-tbl td { white-space: normal; vertical-align: top; min-width: 130px; }
.titles-tbl td.pl { min-width: 150px; }
.titles-tbl .sub, .ch .sub { display: block; color: var(--faint); font-size: 12px; font-weight: 400; }
.ch + .ch { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.ch-l { display: inline-block; margin: 2px 0 0 6px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.ch-l.und { margin: 4px 0 0; padding: 2px 6px; border-radius: 4px; background: var(--warn-soft); color: var(--warn); }
.ch .bx-name { font-weight: 600; }
.bx-search { display: flex; gap: 8px; margin: 0 0 10px; max-width: 560px; }
.bx-search input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--text); font: inherit; font-size: 14px; }
.bx-search input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.bx-search button { padding: 9px 14px; border: 0; border-radius: 6px; background: var(--brand); color: #fff; font: 600 13px inherit; font-family: inherit; cursor: pointer; white-space: nowrap; }
.bx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bx-chips a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); text-decoration: none; font-size: 13px; font-weight: 600; }
.bx-chips a:hover { border-color: var(--brand); color: var(--brand); }
.bx-hero { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin: 6px 0 12px; }
.bx-title { font: 700 34px/1 var(--display); text-transform: uppercase; letter-spacing: .3px; margin: 0 0 4px; }
.bx-belts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.bx-rec { display: flex; gap: 6px; }
.bx-rec div { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; text-align: center; min-width: 64px; }
.bx-rec b { display: block; font: 700 28px/1 var(--display); }
.bx-rec b.w { color: var(--good); } .bx-rec b.l { color: var(--bad); }
.bx-rec span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.bx-nextfight { margin: 0 0 12px; }
.bx-nextfight a { color: inherit; font-weight: 600; }
.bx-sum { font-size: 14px; color: var(--muted); }
.rec-tbl td.wrap { white-space: normal; min-width: 160px; font-size: 12px; }
.rec-tbl td.wrap.muted { min-width: 240px; }
.rec-tbl a { color: inherit; }
.res-pill { display: inline-block; min-width: 44px; text-align: center; font-size: 11px; font-weight: 700; padding: 3px 6px; border-radius: 4px; background: var(--bg); color: var(--muted); }
.res-pill.W { background: var(--good-soft); color: var(--good); }
.res-pill.L { background: var(--bad-soft); color: var(--bad); }
#boxer .sec-head { align-items: center; margin: 0; }
@media (max-width: 640px) { .bx-rec div { min-width: 0; padding: 6px 8px; } .bx-rec b { font-size: 22px; } .bx-title { font-size: 28px; } }

/* =====================================================================
   v20: sports-page look (flat panels, sharp corners, condensed headlines) + mascot
   ===================================================================== */
:root {
  --radius: 4px; --shadow: none;
  --body: "Barlow", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --m-ink: #0e1628; --m-suit: #22314f; --m-lapel: #16213a;
}
@media (prefers-color-scheme: dark) { :root { --m-ink: #e9eef8; --m-suit: #2d4170; --m-lapel: #1c2a4a; } }
body { font-size: 15.5px; line-height: 1.5; }

/* Header: solid navy, thick orange rule underneath, no gradient */
.top { background: var(--head); border-bottom: 4px solid var(--brand); box-shadow: none; --m-ink: #ffffff; --m-suit: #2d4170; --m-lapel: #1c2a4a; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand b { font: 800 28px/1 var(--display); letter-spacing: .5px; }
.brand-m { display: block; height: 38px; }
.nav a { font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.subnav a { font-weight: 600; }

/* Flat panels: square corners, plain borders, no soft shadows or hover lifts */
.box, .game, .section, .match, .title-race, .pt, .empty, .div-tile, .chart-empty, .bx, .zf, .sb, .callout {
  border-radius: var(--radius); box-shadow: none;
}
.game, .game:hover { transform: none; box-shadow: none; }
.game:hover, .bx:hover { border-color: var(--muted); }
.sb { background: var(--head); border: 0; border-left: 6px solid var(--brand); }
.sb-clock div { border-radius: 2px; background: rgba(255, 255, 255, .07); }
.pt-row, .m-card, .agree, .frow.ours, .tr-nums div, .day, .iconbtn, .linkbtn, .cal, .slot, .seg, .bx-tabs, .bx-more, .bx-search input, .bx-search button { border-radius: 3px; }
.flag, .nw-tag, .bx-org, .follow, .tag, .res-pill, .ch-l, .bx-chips a, .live-tag, .cnt { border-radius: 2px; }
.split, .split i, .fbar i:first-child, .fbar i:last-child, .tr-bar i, .tr-bar div { border-radius: 0; }
.tr-bar i { background: var(--pick); }

/* Headlines: condensed caps with a heavy rule, like a sports section */
.box h3, .tr-head h2, .pt-h, .section h2, .datebar h1, .info-head h1, .doc h1, .tbl-h, .bx-h, .zf-head b, .g-group {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-weight: 800;
}
.box h3 { font-size: 18px; padding: 12px 16px 9px; border-bottom: 2px solid var(--text); }
.section h2, .tr-head h2 { font-size: 22px; }
.pt-h { font-size: 18px; }
.datebar h1, .info-head h1, .doc h1 { font-size: 34px; }
.g-group { font-size: 19px; }
.g-group::after { height: 2px; background: var(--text); opacity: .12; }
.tbl-h { font-size: 17px; border-left: 4px solid var(--brand); padding-left: 8px; }
.row .wp, .row .sc, .bx-row .p { font-weight: 800; }

/* Home intro: the mascot with a speech bubble instead of a tagline */
.intro-in { display: flex; align-items: flex-end; gap: 6px; padding-top: 14px; }
.intro-m { height: 92px; flex: 0 0 auto; margin-bottom: -4px; }
.bubble { position: relative; background: var(--card); border: 2px solid var(--text); border-radius: 4px; padding: 10px 14px; margin-bottom: 18px; max-width: 640px; }
.bubble::before { content: ""; position: absolute; left: -11px; bottom: 14px; border: 9px solid transparent; border-right-color: var(--text); border-left: 0; }
.bubble::after { content: ""; position: absolute; left: -7px; bottom: 16px; border: 7px solid transparent; border-right-color: var(--card); border-left: 0; }
.bubble p { margin: 0; font-size: 15px; }
.bubble b { font-weight: 700; }
.bubble .intro-link { display: inline-block; margin-top: 2px; font-size: 13px; }
.intro-in > p, .intro-in > .intro-link { display: none; }

/* Mascot drawing */
.mascot-svg { display: block; height: 100%; width: auto; overflow: visible; }
.mascot-svg .m-line, .mascot-svg .m-leg, .mascot-svg .m-arm, .mascot-svg .m-glint { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mascot-svg .m-line { stroke: var(--m-ink); }
.mascot-svg .m-leg { stroke: var(--m-suit); stroke-width: 7; }
.mascot-svg .m-arm { stroke: var(--m-suit); stroke-width: 7; }
.mascot-svg .m-hand { fill: #fff; stroke: var(--m-ink); stroke-width: 2.5; }
.mascot-svg .m-suit { fill: var(--m-suit); stroke: var(--m-ink); stroke-width: 2.5; stroke-linejoin: round; }
.mascot-svg .m-shirt { fill: #fff; }
.mascot-svg .m-tie { fill: var(--brand); }
.mascot-svg .m-lapel { fill: var(--m-lapel); }
.mascot-svg .m-btn { fill: var(--m-ink); }
.mascot-svg .m-head { fill: #fff; stroke: var(--m-ink); stroke-width: 3.5; }
.mascot-svg .m-hair { fill: var(--m-ink); }
.mascot-svg .m-lens { fill: #0a0f1c; stroke: var(--m-ink); stroke-width: 2; }
.mascot-svg .m-glint { stroke: #fff; stroke-width: 2; opacity: .9; }
.top .mascot-svg .m-lens { stroke: #fff; }

/* Loading screens get the mascot too */
.empty.loading { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty.loading .mascot-svg { height: 84px; animation: m-bob 1.6s ease-in-out infinite; }
@keyframes m-bob { 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .empty.loading .mascot-svg { animation: none; } }

/* Footer sign-off */
.foot-m { float: right; height: 110px; margin: 0 0 8px 16px; }
@media (max-width: 640px) {
  .brand b { font-size: 22px; } .brand-m { height: 30px; } .brand { gap: 7px; }
  .intro-m { height: 70px; } .bubble p { font-size: 14px; }
  .foot-m { height: 80px; }
}
/* face and hand details stay dark on any background (they sit on white) */
.mascot-svg .m-face, .mascot-svg .m-crease { fill: none; stroke: #0e1628; stroke-linecap: round; }
.mascot-svg .m-crease { stroke-width: 1.6; }
.mascot-svg .m-hair { fill: #0e1628; }
.mascot-svg .m-hand { stroke: #0e1628; }
/* sideways cap */
.mascot-svg .m-cap { fill: var(--brand); stroke: var(--m-ink); stroke-width: 2.5; stroke-linejoin: round; }
.mascot-svg .m-brim { fill: var(--m-suit); stroke: var(--m-ink); stroke-width: 2.5; stroke-linejoin: round; }
.mascot-svg .m-seam { fill: none; stroke: #0e1628; stroke-width: 1.4; stroke-linecap: round; opacity: .45; }
.mascot-svg .m-brim-edge { fill: none; stroke: var(--m-ink); stroke-width: 1.4; stroke-linecap: round; opacity: .5; }
.intro-in { flex-wrap: nowrap; }
.bubble { flex: 1 1 auto; min-width: 0; }
.intro-in { justify-content: flex-start; }

/* ---- v21: accuracy page ---- */
.acc-head { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 8px; }
.acc-m { height: 110px; flex: 0 0 auto; }
.acc-head h1 { margin: 0 0 4px; }
.acc-head .doc-lede { margin: 0 0 6px; }
.acc-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 12px; }
.acc-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--card); }
.acc-card h3 { margin: 0 0 10px; font: 800 20px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.acc-card h3 small { font: 500 12px var(--body); text-transform: none; color: var(--muted); letter-spacing: 0; }
.acc-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.acc-big div { background: var(--card-2); border-radius: 3px; padding: 10px; }
.acc-big b { display: block; font: 800 34px/1 var(--display); color: var(--brand); }
.acc-big div + div b { color: var(--text); }
.acc-big span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.35; }
.acc-rows .kv { font-size: 13px; gap: 10px; }
.acc-rows .kv b { text-align: right; }
.acc-sub { margin: 14px 0 4px; font: 800 15px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.acc-sub small { font: 500 12px var(--body); text-transform: none; color: var(--muted); }
.acc-conf td, .acc-conf th { padding: 6px 8px; }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 12px; }
.acc-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--card); }
.acc-tile h3 { margin: 0 0 6px; font: 800 16px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.acc-tile .acc-pct { font: 800 36px/1 var(--display); color: var(--brand); margin-bottom: 4px; }
.acc-tile .sub { font-size: 12px; color: var(--muted); }
.acc-tile.off { opacity: .6; }
.acc-win { font: 500 13px var(--body); text-transform: none; color: var(--muted); letter-spacing: 0; }
.acc-grid .empty { grid-column: 1 / -1; }
@media (max-width: 640px) { .acc-m { height: 80px; } .acc-big b { font-size: 28px; } }
.wx-note { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.acc-big { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }

/* ---- v22: the mascot dances while things load ---- */
.mascot-svg g { transform-box: view-box; }
.empty.loading .mascot-svg { animation: none; }
.loading .m-g-all, .dance .m-g-all { transform-origin: 60px 157px; animation: m-bounce .8s ease-in-out infinite; }
.loading .m-g-head, .dance .m-g-head { transform-origin: 60px 56px; animation: m-nod .8s ease-in-out infinite; }
.loading .m-g-arm-r, .dance .m-g-arm-r { transform-origin: 77px 68px; animation: m-arm-r .8s ease-in-out infinite; }
.loading .m-g-arm-l, .dance .m-g-arm-l { transform-origin: 43px 68px; animation: m-arm-l .8s ease-in-out infinite; }
.loading .m-g-leg-l, .dance .m-g-leg-l { transform-origin: 51px 118px; animation: m-kick-l .8s ease-in-out infinite; }
.loading .m-g-leg-r, .dance .m-g-leg-r { transform-origin: 69px 118px; animation: m-kick-r .8s ease-in-out infinite; }
@keyframes m-bounce { 0%, 100% { transform: translateY(0) rotate(-4deg); } 25% { transform: translateY(-7px) rotate(0); } 50% { transform: translateY(0) rotate(4deg); } 75% { transform: translateY(-7px) rotate(0); } }
@keyframes m-nod { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } }
@keyframes m-arm-r { 0%, 100% { transform: rotate(18deg); } 50% { transform: rotate(-18deg); } }
@keyframes m-arm-l { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(55deg); } }
@keyframes m-kick-l { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(18deg); } 50% { transform: rotate(0); } }
@keyframes m-kick-r { 0%, 50%, 100% { transform: rotate(0); } 75% { transform: rotate(-18deg); } }
@media (prefers-reduced-motion: reduce) { .loading .mascot-svg *, .dance .mascot-svg * { animation: none !important; } }

/* ---- v23: cleaner home page ---- */
.after-games { margin-top: 32px; }
.after-games .football { margin-top: 0; }
/* Trend charts: invisible until they have data, then a slim line */
.trend:has(.trend-g:empty) { height: 1px; margin: 0; overflow: hidden; opacity: 0; }
.trend-g { height: 30px; }
.trend { margin: 4px 0 6px; }
/* Speech bubble: lighter */
.bubble { border-width: 1px; border-color: var(--line); background: var(--card); padding: 9px 14px; }
.bubble::before { border-right-color: var(--line); }
.intro-m { height: 76px; }
.intro-in { padding-top: 10px; }
/* More room between things */
.page { padding-top: 14px; }
.layout { gap: 32px; }
.games { gap: 16px; }
.game { padding: 16px 18px 12px; }
aside .box + .box { margin-top: 16px; }
.datebar { margin-bottom: 6px; }
.summary { margin-bottom: 14px; }
/* Slimmer live bar */
.lb-in { height: 40px; }
/* explanation steps: highlighted numbers and bold words stay inline (".res" is also the recent-form square) */
.steps li span .res { display: inline; width: auto; height: auto; line-height: inherit; text-align: inherit; border-radius: 0; font: inherit; font-weight: 700; color: var(--text); background: none; margin: 0; }
.steps li span b { display: inline; margin: 0; color: var(--text); }

/* ---- v24: share buttons ---- */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.share-l { font: 700 12px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 2px; }
.share-b { display: inline-flex; align-items: center; padding: 6px 11px; border: 1px solid var(--line); border-radius: 3px; background: var(--card); color: var(--text); font: 600 12px/1.2 var(--body); text-decoration: none; cursor: pointer; }
.share-b:hover { border-color: var(--brand); color: var(--brand); }
.match .share { justify-content: center; }
#football > .share { margin: 0 0 12px; }

/* ---- v25: view options, confidence labels, where to watch ---- */
.viewbar:empty { display: none; }
.viewbar { margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.vb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.vb-sort, .vb-hide { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.vb-sort select { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 3px; padding: 5px 8px; font: inherit; font-size: 13px; }
.vb-hide input { accent-color: var(--brand); }
.vb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--card); color: var(--muted); font: 600 12px/1.2 var(--body); cursor: pointer; }
.vb-chip span { color: var(--faint); font-weight: 500; }
.vb-chip:hover { color: var(--text); border-color: var(--muted); }
.vb-chip.on { background: var(--text); border-color: var(--text); color: var(--card); }
.vb-chip.on span { color: inherit; opacity: .7; }
.conf { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 2px; margin-right: 6px; white-space: nowrap; }
.conf.c-strong { background: var(--good-soft); color: var(--good); }
.conf.c-fav { background: var(--pick-soft); color: var(--pick); }
.conf.c-lean { background: var(--card-2); color: var(--muted); }
.conf.c-toss { background: var(--warn-soft); color: var(--warn); }
.free-tv { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 2px; background: var(--good-soft); color: var(--good); }
.game-list td { vertical-align: middle; }
.game-list td.pl a { color: var(--text); font-weight: 600; text-decoration: none; }
.game-list td.pl a:hover { text-decoration: underline; }
.game-list .sub { display: block; font-size: 12px; color: var(--muted); }
.watch-list { list-style: none; margin: 10px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.watch-list li { display: flex; flex-direction: column; gap: 3px; border: 1px solid var(--line); border-radius: 3px; padding: 8px 12px; min-width: 150px; }
.watch-list b { font: 700 16px/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.wt { font-size: 12px; font-weight: 600; }
.wt-free-tv, .wt-free-stream { color: var(--good); }
.wt-radio { color: var(--pick); }
.wt-paid { color: var(--muted); }
.watch-tips p { margin: 6px 0; font-size: 14px; }
.watch-tips p.muted { font-size: 12px; }
.watch-tips a { color: var(--brand); }
.games > .game-list, .games > .empty { grid-column: 1 / -1; }

/* ---- v26: terms page, footer disclaimer, first-visit notice ---- */
.legal { flex-basis: 100%; grid-column: 1 / -1; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); line-height: 1.5; }
.legal a { color: var(--text); }
.terms-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 14px;
  background: var(--card); color: var(--text); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 4px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.terms-bar p { margin: 0; font-size: 13px; line-height: 1.45; flex: 1; }
.terms-bar a { color: var(--brand); }
.terms-ok { flex: 0 0 auto; padding: 8px 14px; border: 0; border-radius: 3px; background: var(--brand); color: #fff; font: 700 13px var(--body); cursor: pointer; }
@media (max-width: 520px) { .terms-bar { flex-direction: column; align-items: stretch; } }
.terms .section p { margin: 8px 0; line-height: 1.6; }
.terms-key { margin: 0 0 18px; line-height: 1.6; border-left: 4px solid var(--brand); }
.terms-list { margin: 8px 0 0; padding-left: 18px; line-height: 1.6; }
.terms-list li + li { margin-top: 6px; }
.terms a { color: var(--brand); }

/* ---- v27: terms gate (must agree before using the site) ---- */
html.gated, html.gated body { overflow: hidden; }
.terms-gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(5, 10, 22, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow-y: auto; }
.gate-card { width: 100%; max-width: 520px; background: var(--card); color: var(--text); border: 1px solid var(--line); border-top: 5px solid var(--brand);
  border-radius: 6px; padding: 22px 24px 18px; box-shadow: 0 24px 60px rgba(0,0,0,.45); text-align: center; }
.gate-m { height: 96px; display: flex; justify-content: center; margin-bottom: 6px; }
.gate-card h2 { margin: 0 0 10px; font: 800 28px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.gate-card p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; text-align: left; }
.gate-links a, .gate-card a { color: var(--brand); font-weight: 600; }
.gate-check { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin: 14px 0; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--card-2); font-size: 14px; line-height: 1.45; cursor: pointer; }
.gate-check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--brand); }
.gate-go { width: 100%; padding: 12px; border: 0; border-radius: 4px; background: var(--brand); color: #fff; font: 800 17px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.gate-go:disabled { opacity: .45; cursor: not-allowed; }
.gate-help { margin: 12px 0 0 !important; font-size: 12px !important; color: var(--muted); text-align: center !important; }

/* ---- v28: live bar redesign + live cards ---- */
.livebar { background: #050a16; border-bottom: 1px solid #142039; }
.lb-in { height: 52px; }
.lb-tag { padding-right: 14px; margin-right: 0; border-right: 1px solid #172340; font: 800 13px/1 var(--display); letter-spacing: .1em; color: #fff; }
.lb-tag::before { width: 8px; height: 8px; box-shadow: 0 0 0 0 rgba(239, 59, 79, .6); animation: livePulse 1.8s ease-out infinite; }
.lb-tag.idle { color: #8f9bb3; }
.lb-tag.idle::before { background: #4b5873; animation: none; box-shadow: none; }
.lb-g { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 100%; border-right: 1px solid #111a2e; color: #dfe5f0; transition: background .15s; }
.lb-g:hover { background: #0d1830; }
.lb-l { display: flex; flex-direction: column; gap: 3px; min-width: 64px; font: 800 10px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #8f9bb3; grid-column: auto; }
.lb-l em { font: 600 11px/1 var(--body); letter-spacing: 0; text-transform: none; color: #ff6b6b; font-style: normal; white-space: nowrap; }
.lb-soon .lb-l em { color: #9fb0cc; }
.lb-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--live); margin-right: 5px; vertical-align: 1px; animation: livePulse 1.8s ease-out infinite; }
.lb-s { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; line-height: 1; min-width: 74px; }
.lb-t { display: flex; align-items: center; gap: 6px; color: #8f9bb3; }
.lb-t b { margin-left: auto; padding-left: 10px; font: 800 14px/1 var(--display); color: inherit; }
.lb-t.lead { color: #fff; }
.lb-ab { font-weight: 700; letter-spacing: .02em; }
.lb-logo { width: 16px; height: 16px; object-fit: contain; flex: none; }
.lb-none { color: #8f9bb3; }
.lb-c { display: none; }
@media (prefers-reduced-motion: reduce) { .lb-dot, .lb-tag::before { animation: none; } }
/* live game cards stand out on the scoreboard */
.game.is-live { border-color: color-mix(in srgb, var(--live) 55%, var(--line)); box-shadow: inset 0 3px 0 var(--live); }
.game.is-live .meta .live-tag { animation: livePulse 1.8s ease-out infinite; }
.lb-l b { font: inherit; white-space: nowrap; }
.lb-t { justify-content: flex-start; }

/* ---- v29: phones ---- */
.acc-conf td:first-child { white-space: normal; }
@media (max-width: 640px) {
  /* Header: brand on top, page links in one swipeable row, no date */
  .top-row { flex-wrap: wrap; gap: 6px; }
  .top-links { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; gap: 18px; padding: 2px 0 4px; white-space: nowrap; }
  .top-links::-webkit-scrollbar { display: none; }
  .top-links .today { display: none; }
  .top-links a { font-size: 13.5px; }
  /* Sport tabs: swipeable, with a fade that hints there's more */
  .nav { gap: 20px; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .nav a { font-size: 14px; }
  .subnav-in { gap: 18px; }
  /* Intro bubble: smaller */
  .intro-m { height: 54px; }
  .bubble { padding: 7px 11px; margin-bottom: 12px; }
  .bubble p { font-size: 13px; line-height: 1.4; }
  .bubble .intro-link { font-size: 12px; }
  /* Week strip and title */
  .datebar h1 { font-size: 26px; }
  /* Game cards: tighter, and a bottom row that doesn't break mid-phrase */
  .games { gap: 10px; }
  .game { padding: 12px 14px 10px; }
  .row .wp, .row .sc { font-size: 22px; }
  .line { flex-wrap: wrap; row-gap: 6px; align-items: center; }
  .line b { white-space: nowrap; }
  .line > span:first-child { flex: 1 1 auto; min-width: 0; }
  .line > span:last-child { margin-left: auto; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
  /* List view: keep the four columns that matter */
  .game-list th:nth-child(1), .game-list td:nth-child(1), .game-list th:nth-child(5), .game-list td:nth-child(5) { display: none; }
  .game-list td, .game-list th { padding: 8px 6px; }
  .game-list td.pl { white-space: normal; min-width: 120px; }
  /* Boxes and sections use the width better */
  .section { padding: 16px 14px; }
  .box h3 { padding: 11px 14px 8px; }
  .list li { padding: 10px 14px; }
  /* Share buttons fit on one line */
  .share-l { display: none; }
  .share { gap: 5px; }
  .share-b { padding: 6px 9px; }
  /* Bigger tap targets */
  .vb-chip { padding: 7px 11px; }
  .follow { padding: 6px 10px; }
  /* Terms gate fits a phone screen */
  .gate-card { padding: 16px 16px 14px; }
  .gate-m { height: 72px; }
  .gate-card h2 { font-size: 24px; }
  .gate-card p { font-size: 13.5px; }
  .gate-check { font-size: 13.5px; padding: 10px; }
}
@media (max-width: 380px) {
  .brand b { font-size: 20px; }
  .row .wp, .row .sc { font-size: 20px; }
}

/* ---- v30: community links (shown once filled in, see COMMUNITY in core.js) ---- */
.community { flex-basis: 100%; grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; }
.community b { margin-right: 4px; }
.cm-btn { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 3px; font: 700 13px/1 var(--body); color: #fff; text-decoration: none; }
.cm-discord { background: #5865f2; }
.cm-reddit { background: #ff4500; }
.cm-btn:hover { filter: brightness(1.1); }
.cm-in { padding: 10px 16px 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.cm-in p { margin: 0 0 4px; flex-basis: 100%; font-size: 13px; color: var(--muted); }

/* ---- Matchup stats (game page) ---- */
.ms-tabs { margin: 6px 0 10px; flex-wrap: wrap; }
.ms-lede b { color: var(--text); }
.ms-head, .ms-row { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 10px; }
.ms-head { font: 700 13px/1 var(--display); letter-spacing: .5px; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.ms-head span:last-child, .ms-row b:last-child { text-align: right; }
.ms-row { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ms-row b { font-weight: 500; color: var(--muted); }
.ms-row b.win { font-weight: 700; color: var(--text); }
.ms-mid { text-align: center; min-width: 0; }
.ms-mid > span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.ms-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; height: 6px; }
.ms-bar span { background: var(--line); border-radius: 3px; overflow: hidden; display: flex; }
.ms-bar .l { justify-content: flex-end; }
.ms-bar i { display: block; height: 100%; border-radius: 3px; }
.ms-all { margin-top: 10px; }
.ms-lead { padding: 8px 0; border-bottom: 1px solid var(--line); }
.ms-lead h4 { margin: 0 0 6px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.ms-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ms-p { display: flex; align-items: center; gap: 8px; min-width: 0; padding-left: 8px; border-left: 3px solid var(--ca); }
.ms-p + .ms-p { border-left-color: var(--ch); }
.ms-p img, .ms-ph { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--line); flex: 0 0 auto; }
.ms-p div { min-width: 0; display: flex; flex-direction: column; font-size: 13px; }
.ms-p div span { color: var(--muted); font-size: 12px; }
.ms-score { display: grid; grid-template-columns: 74px 1fr auto; gap: 10px; align-items: baseline; padding: 7px 0 7px 10px; border-bottom: 1px solid var(--line); border-left: 3px solid var(--tc); font-size: 14px; }
.ms-q { color: var(--muted); font-size: 12px; }
.ms-t { min-width: 0; }
.kv .win { font-weight: 700; }
@media (max-width: 560px) {
  .ms-head, .ms-row { grid-template-columns: 52px 1fr 52px; gap: 6px; }
  .ms-pair { grid-template-columns: 1fr; gap: 6px; }
  .ms-score { grid-template-columns: 1fr auto; }
  .ms-q { grid-column: 1 / -1; }
}
/* Day summary on the scoreboard */
.vb-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 2px; font-size: 13px; color: var(--muted); }
.vb-stats .ds b { color: var(--text); font-size: 15px; margin-right: 5px; }
.vb-stats .ds-live b { color: var(--live, #e5262b); }

/* ---- v24: the mascot has more personality ----
   CSS only, and only transform/opacity, so it adds no requests and no layout work. Off for people who turn off motion. */
@media (prefers-reduced-motion: no-preference) {
  /* Sunglasses catch the light now and then, everywhere he appears */
  .mascot-svg .m-glint { animation: m-glint 6s ease-in-out infinite; }
  .foot-m .m-glint { animation-delay: 2s; } .intro-m .m-glint { animation-delay: 1s; }

  /* Header logo: a little nod every so often, and tips his cap when you point at it */
  .brand-m .mascot-svg { transform-origin: 50% 85%; animation: m-head-nod 11s ease-in-out 3s infinite; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
  .brand:hover .brand-m .mascot-svg { animation: none; transform: rotate(-14deg) translateY(-2px); }

  /* Home page and Accuracy page: sways, looks around, waves his thumbs-up */
  :is(.intro-m, .acc-m) .m-g-all { transform-origin: 60px 157px; animation: m-sway 4s ease-in-out infinite; }
  :is(.intro-m, .acc-m) .m-g-head { transform-origin: 60px 56px; animation: m-look 9s ease-in-out infinite; }
  :is(.intro-m, .acc-m) .m-g-arm-r { transform-origin: 77px 68px; animation: m-wave 9s ease-in-out infinite; }

  /* Footer: taps his foot while you read */
  .foot-m .m-g-leg-r { transform-origin: 69px 118px; animation: m-tap 2.4s ease-in-out infinite; }
  .foot-m .m-g-head { transform-origin: 60px 56px; animation: m-look 12s ease-in-out 4s infinite; }

  /* Terms screen: waves hello when it opens */
  .gate-m .m-g-arm-r { transform-origin: 77px 68px; animation: m-wave-hi 1.4s ease-in-out .4s 2; }

  /* Point at (or tap) any full-size mascot and he dances */
  :is(.intro-m, .acc-m, .foot-m, .gate-m):hover .m-g-all, .m-party .m-g-all { transform-origin: 60px 157px; animation: m-bounce .8s ease-in-out infinite; }
  :is(.intro-m, .acc-m, .foot-m, .gate-m):hover .m-g-head, .m-party .m-g-head { transform-origin: 60px 56px; animation: m-nod .8s ease-in-out infinite; }
  :is(.intro-m, .acc-m, .foot-m, .gate-m):hover .m-g-arm-r, .m-party .m-g-arm-r { transform-origin: 77px 68px; animation: m-arm-r .8s ease-in-out infinite; }
  :is(.intro-m, .acc-m, .foot-m, .gate-m):hover .m-g-arm-l, .m-party .m-g-arm-l { transform-origin: 43px 68px; animation: m-arm-l .8s ease-in-out infinite; }
  :is(.intro-m, .acc-m, .foot-m, .gate-m):hover .m-g-leg-l, .m-party .m-g-leg-l { transform-origin: 51px 118px; animation: m-kick-l .8s ease-in-out infinite; }
  :is(.intro-m, .acc-m, .foot-m, .gate-m):hover .m-g-leg-r, .m-party .m-g-leg-r { transform-origin: 69px 118px; animation: m-kick-r .8s ease-in-out infinite; }

  /* Game page, finished games: he celebrates a correct call and sweats a miss */
  .verdict-m.yay .mascot-svg { animation: m-hop .7s cubic-bezier(.3, 1.6, .5, 1) .3s 3; }
  .verdict-m.oops .mascot-svg { animation: m-shake .5s ease-in-out .3s 2; }
}
.intro-m, .acc-m, .foot-m, .gate-m { cursor: pointer; }
.verdict-m { display: inline-block; height: 30px; vertical-align: -9px; margin-right: 8px; }
.verdict-m .mascot-svg { transform-origin: 50% 90%; }

@keyframes m-glint { 0%, 84%, 100% { opacity: .9; } 88% { opacity: 0; } 92% { opacity: 1; } 96% { opacity: .2; } }
@keyframes m-head-nod { 0%, 90%, 100% { transform: rotate(0); } 93% { transform: rotate(-9deg); } 96% { transform: rotate(4deg); } }
@keyframes m-sway { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
@keyframes m-look { 0%, 30%, 100% { transform: rotate(0); } 36%, 48% { transform: rotate(-7deg); } 54%, 62% { transform: rotate(6deg); } 68% { transform: rotate(0); } }
@keyframes m-wave { 0%, 72%, 100% { transform: rotate(0); } 76%, 84% { transform: rotate(-24deg); } 80%, 88% { transform: rotate(8deg); } 92% { transform: rotate(0); } }
@keyframes m-wave-hi { 0%, 100% { transform: rotate(0); } 25%, 75% { transform: rotate(-26deg); } 50% { transform: rotate(10deg); } }
@keyframes m-tap { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-12deg); } 80% { transform: rotate(0); } }
@keyframes m-hop { 0%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-7px) rotate(-8deg) scale(1.08); } 70% { transform: translateY(0) rotate(4deg); } }
@keyframes m-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-9deg); } 75% { transform: rotate(9deg); } }
/* Phones: the filter chips scroll sideways in one row, and the day summary stays compact */
@media (max-width: 560px) {
  .vb-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .vb-chips::-webkit-scrollbar { display: none; }
  .vb-chip { flex: 0 0 auto; }
  .vb-stats { gap: 2px 12px; font-size: 12px; }
  .vb-stats .ds b { font-size: 14px; margin-right: 3px; }
}
/* Game header: the score always stays on one line (3-digit basketball scores used to stack on phones) */
.mid .score { white-space: nowrap; }
@media (max-width: 560px) {
  .teams { gap: 6px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .team .tn { font-size: 16px; }
  .mid .score { font-size: clamp(24px, 8vw, 34px); }
  .mid .score span { margin: 0 3px; }
}
@media (max-width: 380px) {
  .team img { width: 44px; height: 44px; }
  .team .big { font-size: 28px; }
}
.team .tn-a { display: none; }
/* Small phones: long names (Timberwolves, Trail Blazers) switch to the team code so nothing breaks mid-word */
@media (max-width: 380px) { .team .tn-f { display: none; } .team .tn-a { display: inline; } }
/* Small phones: cards never ask for more room than the screen has, and long names shorten instead of pushing scores out */
.games { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.row > * { min-width: 0; }
.row .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 380px) {
  .row { gap: 8px; grid-template-columns: 24px minmax(0, 1fr) auto 44px; }
  .row .sc, .row .wp { font-size: 18px; }
  .game .meta { flex-wrap: wrap; row-gap: 2px; }
}
/* Small phones: the day picker gets its own full-width row above Calendar / Today */
@media (max-width: 420px) { .datebar .days { flex: 1 1 100%; } }
/* Matchup stats tabs: one row that swipes sideways when there are many */
.ms-tabs { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.ms-tabs::-webkit-scrollbar { display: none; }
.ms-tabs button { flex: 0 0 auto; white-space: nowrap; }
.ms-play { padding: 0 0 8px; font-style: italic; }
.vb-stats .ds-upset { color: var(--muted); text-decoration: none; }
.vb-stats .ds-upset b { font-size: inherit; color: var(--bad); }
.vb-stats .ds-upset:hover { color: var(--text); }
/* ---- Accounts ---- */
.my-star { color: #f2b705; font-size: 15px; margin-right: 6px; }
.acct-link { display: inline-flex; align-items: center; gap: 6px; }
.acct-av { display: inline-block; height: 22px; } .acct-av .mascot-svg { height: 100%; }
.acct-in { border: 1px solid currentColor; border-radius: 3px; padding: 3px 10px; }
.acct { max-width: 760px; }
.acct-hero { display: flex; align-items: center; gap: 18px; margin: 8px 0 16px; }
.acct-hero h1 { margin: 0; }
.acct-m { display: block; height: 120px; flex: 0 0 auto; } .acct-m .mascot-svg { height: 100%; }
.acct-sub { color: var(--muted); margin: 4px 0; } .acct-bio { margin: 6px 0; }
.acct-tabs { margin-bottom: 12px; }
.acct-form { display: flex; flex-direction: column; gap: 12px; }
.acct-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.acct-form label.chk { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.acct-form input:not([type=checkbox]):not([type=radio]), .acct-form textarea, .acct-form select, .team-pick select, .team-pick input {
  font: inherit; font-weight: 400; padding: 9px 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--text); }
.acct-form fieldset { border: 0; padding: 0; margin: 0; } .acct-form legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.caps { display: flex; flex-wrap: wrap; gap: 8px; }
.cap input { position: absolute; opacity: 0; } .cap span { display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 3px solid transparent; cursor: pointer; }
.cap input:checked + span { border-color: var(--text); } .cap input:focus-visible + span { outline: 2px solid var(--brand); }
.acct-chips { display: flex; flex-wrap: wrap; gap: 6px; } .acct-chips input { position: absolute; opacity: 0; }
.acct-chips .vb-chip.on { background: var(--text); color: var(--card); }
.acct-teams { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.team-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 3px; font-size: 13px; }
.team-chip button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 16px; padding: 0 0 0 2px; }
.team-pick { display: flex; gap: 8px; margin-top: 8px; } .team-pick input { flex: 1; min-width: 0; }
.team-list { display: flex; flex-wrap: wrap; gap: 6px; max-height: 220px; overflow-y: auto; margin-top: 8px; }
.team-opt { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--card); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.team-opt.on { border-color: var(--brand); }
.acct-msg { margin: 0; font-size: 14px; min-height: 1em; } .acct-msg.ok { color: var(--good); } .acct-msg.bad { color: var(--bad); }
.acct-danger summary { cursor: pointer; color: var(--bad); margin-top: 8px; } .linkbtn.danger { color: var(--bad); }
@media (max-width: 560px) { .acct-hero { gap: 12px; } .acct-m { height: 90px; } .acct-nm { display: none; } }
.acct-code { border: 2px solid var(--brand); display: flex; flex-direction: column; gap: 10px; }
.acct-code h2 { margin: 0; }
.acct-code p { margin: 0; }
.code-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.code-row code { font: 700 18px/1.3 ui-monospace, Consolas, monospace; letter-spacing: 1px; background: var(--bg); padding: 10px 12px; border-radius: 3px; border: 1px solid var(--line); word-break: break-all; }
.acct-code .chk { display: flex; align-items: center; gap: 8px; }
.acct-forgot { align-self: flex-start; }
.acct-form label .muted { font-weight: 400; }
.cap span { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 0 0 1px var(--line); }
.acct-code { scroll-margin-top: 200px; }
/* Phones: the account button sits beside the logo instead of at the end of the scrolling link row */
@media (max-width: 760px) {
  .top-row { position: relative; }
  .top-links .acct-link { position: absolute; right: 0; top: 4px; padding: 4px 0; }
  .top-links .acct-link.acct-in { padding: 4px 10px; }
  .acct-av { height: 28px; }
  .top-links { padding-right: 0; }
}
.team-pick select { flex: 0 1 auto; max-width: 48%; min-width: 0; }
.team-pick { max-width: 100%; }
.acct-form fieldset { min-width: 0; }
/* ---- Easy sign-up, Call it, favorite teams ---- */
.logged-in .acct-cta { display: none !important; }
.intro-link.acct-cta { margin-left: 14px; }
.acct-in { background: var(--brand); color: #fff !important; border-color: var(--brand) !important; font-weight: 700; }
.acct-hint { margin: -6px 0 0; font-size: 13px; color: var(--muted); } .acct-hint.ok { color: var(--good); } .acct-hint.bad { color: var(--bad); }
.pw { position: relative; display: flex; } .pw input { flex: 1; padding-right: 64px !important; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font: 600 13px var(--body); cursor: pointer; padding: 6px; }
.call-box { margin: 14px auto 4px; max-width: 460px; text-align: center; }
.call-box.done { font-size: 15px; display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.call-q { font-size: 15px; margin-bottom: 8px; }
.call-opts { display: flex; gap: 8px; justify-content: center; }
.call-btn { flex: 1 1 0; min-width: 0; padding: 10px 8px; border: 2px solid var(--line); border-radius: 4px; background: var(--card); color: var(--text); font: 700 15px var(--display); text-transform: uppercase; letter-spacing: .3px; cursor: pointer; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.call-btn:hover { border-color: var(--brand); }
.call-btn.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.call-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.fav-row { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 10px 0 0; font-size: 13px; }
.fav-btn { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--text); font: 600 13px var(--body); cursor: pointer; text-decoration: none; }
.fav-btn.on { border-color: #f2b705; color: #f2b705; }
.my-call { font: 700 11px/1 var(--body); padding: 3px 6px; border-radius: 3px; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--brand); margin-right: 6px; }
.call-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 10px; }
.call-stats div { background: var(--bg); border-radius: 4px; padding: 10px; text-align: center; }
.call-stats b { display: block; font: 800 24px/1 var(--display); }
.call-stats span { font-size: 12px; color: var(--muted); }
.call-vs { margin: 0 0 10px; font-size: 14px; }
.call-list { display: flex; flex-direction: column; }
.call-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 14px; }
.call-row:last-child { border-bottom: 0; }
.call-g { display: flex; flex-direction: column; min-width: 0; } .call-g .muted { font-size: 12px; }
@media (max-width: 560px) {
  .call-stats { grid-template-columns: repeat(2, 1fr); }
  .call-row { grid-template-columns: 1fr auto; } .call-row .call-p { grid-column: 1; grid-row: 2; font-size: 13px; }
  .intro-link.acct-cta { display: block; margin: 6px 0 0; }
}
/* ---- Leaderboard and "what members are calling" ---- */
.lb-page { max-width: 760px; }
.lb-hero { display: flex; align-items: center; gap: 18px; margin: 8px 0 14px; } .lb-hero h1 { margin: 0; }
.lb-m { height: 110px; flex: 0 0 auto; } .lb-m .mascot-svg { height: 100%; }
.lb-tabs { margin-bottom: 12px; }
.lb-cta { margin: 0 0 12px; }
.lb-row, .lb-model { display: grid; grid-template-columns: 44px 1fr 72px 56px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lb-row:last-child { border-bottom: 0; }
.lb-head { font: 700 12px/1 var(--display); text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding-top: 0; }
.lb-head span:nth-child(n+3), .lb-rec, .lb-pct { text-align: right; }
.lb-rank { font: 800 20px/1 var(--display); text-align: center; }
.lb-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lb-who > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.lb-who b, .lb-who .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-who .muted { font-size: 12px; }
.lb-av { width: 38px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; } .lb-av .mascot-svg { height: 100%; width: auto; }
.lb-av.bot { font-size: 24px; }
.lb-rec { color: var(--muted); font-size: 14px; }
.lb-pct { font: 800 20px/1 var(--display); }
.lb-row.beats .lb-pct { color: var(--good); }
.lb-row.me { background: color-mix(in srgb, var(--brand) 10%, transparent); border-radius: 4px; }
.lb-you { font: 700 10px/1 var(--body); text-transform: uppercase; background: var(--brand); color: #fff; padding: 2px 5px; border-radius: 3px; margin-left: 4px; }
.lb-model { background: var(--card); border: 1px dashed var(--line); border-radius: 6px; padding: 10px 12px; margin-bottom: 12px; grid-template-columns: 38px 1fr 72px 56px; }
.lb-model > span:nth-child(2) { display: flex; flex-direction: column; } .lb-model .muted { font-size: 12px; }
.lb-link.on { color: var(--text); }
.crowd { margin: 12px auto 0; max-width: 460px; font-size: 13px; text-align: center; color: var(--muted); }
.crowd-h { display: flex; gap: 8px; justify-content: center; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.crowd-h b { color: var(--text); }
.crowd-bar { height: 8px; }
.crowd .ends { display: flex; justify-content: space-between; margin-top: 4px; font-weight: 600; color: var(--text); }
@media (max-width: 560px) {
  .lb-row, .lb-model { grid-template-columns: 34px 1fr 54px 44px; gap: 8px; }
  .lb-m { height: 80px; } .lb-pct { font-size: 17px; } .lb-rec { font-size: 12px; }
}
.lb-rank { font-size: 24px; }
/* Citations on the Methods page */
sup.cite { font-size: 11px; line-height: 0; margin-left: 1px; }
sup.cite a { text-decoration: none; color: var(--brand); font-weight: 700; padding: 0 1px; }
sup.cite a:hover { text-decoration: underline; }
.refs { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; }
.refs li { scroll-margin-top: 200px; padding-left: 4px; }
.refs li:target { background: color-mix(in srgb, var(--brand) 14%, transparent); border-radius: 3px; }
.refs a { overflow-wrap: anywhere; }
.tr-strong { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; padding: 10px 12px; border-radius: 4px; background: color-mix(in srgb, var(--good) 12%, transparent); }
.tr-strong b { font: 800 24px/1 var(--display); color: var(--good); }
.tr-strong span { font-size: 13px; color: var(--muted); }
/* Accuracy page: how sure vs. how often right */
.calib-hero { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 12px; }
.calib-hero div { flex: 1 1 120px; background: color-mix(in srgb, var(--good) 12%, transparent); border-radius: 6px; padding: 12px 14px; }
.calib-hero b { display: block; font: 800 34px/1 var(--display); color: var(--good); }
.calib-hero span { font-size: 13px; color: var(--muted); }
.calib-tbl td .muted { font-size: 11px; display: block; }
.calib-tbl tr:first-child td { background: color-mix(in srgb, var(--good) 8%, transparent); }
.calib-all td { border-top: 2px solid var(--line); }
.acc-line { margin-top: 6px; font-size: 12px; }
/* ---- Why we favor a team ---- */
.why-sec .lede b { color: var(--text); }
.kf-list { list-style: none; margin: 4px 0 0; padding: 0; }
.kf-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.kf-row:last-child { border-bottom: 0; }
.kf-team { font: 800 13px/1 var(--display); letter-spacing: .5px; text-align: center; padding: 6px 0; border-radius: 4px; color: #fff; background: var(--tc); }
.kf-txt { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.kf-txt span { color: var(--muted); font-size: 13px; }
.kf-w { font-size: 11px; letter-spacing: 1px; color: var(--brand); white-space: nowrap; }
.kf-flip { margin-top: 12px; padding: 10px 12px; border-radius: 4px; background: color-mix(in srgb, var(--warn) 10%, transparent); font-size: 14px; }
.kf-note { padding: 8px 0 0; }
.why-line { font-size: 12px; color: var(--muted); margin: 6px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.why-line span { color: var(--text); font-weight: 600; }
@media (max-width: 560px) { .kf-row { grid-template-columns: 44px 1fr; } .kf-w { grid-column: 2; font-size: 10px; } }
.cm-mail { background: var(--brand); }
/* ---- News page ---- */
.news-page { max-width: 820px; }
.news-head { display: flex; align-items: center; gap: 16px; margin: 8px 0 12px; } .news-head h1 { margin: 0; }
.news-m { height: 90px; flex: 0 0 auto; } .news-m .mascot-svg { height: 100%; }
.news-bar { position: sticky; top: var(--sticky-top, 0); z-index: 2; background: var(--bg); padding: 8px 0; display: flex; flex-direction: column; gap: 8px; }
.news-sports, .news-types { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .news-sports::-webkit-scrollbar, .news-types::-webkit-scrollbar { display: none; }
.news-sports .vb-chip, .news-types .vb-chip { flex: 0 0 auto; }
.vb-chip.on { background: var(--text); color: var(--card); border-color: var(--text); }
.news-tools { display: flex; flex-direction: column; gap: 8px; }
.news-tools input { font: inherit; padding: 9px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); color: var(--text); }
.news-count { margin: 6px 0; font-size: 13px; }
.news-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.news-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; margin-bottom: 4px; }
.news-sport { font: 800 11px/1 var(--display); letter-spacing: .5px; text-transform: uppercase; color: var(--brand); }
.news-title { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--text); text-decoration: none; }
.news-title:hover { text-decoration: underline; }
.news-sum { margin: 4px 0 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-link.on { color: var(--text); }
@media (max-width: 560px) { .news-m { height: 64px; } .news-title { font-size: 16px; } }
/* News page: pictures and details */
.news-lead { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; padding: 14px 0 18px; border-bottom: 1px solid var(--line); }
.news-lead-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; display: block; background: var(--line); }
.news-title.big { font-size: 22px; line-height: 1.2; }
.news-item.has-img { display: grid; grid-template-columns: 1fr 132px; gap: 14px; align-items: start; }
.news-thumb img { width: 132px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; background: var(--line); }
.news-more { display: block; margin: 14px auto 4px; }
.news-body { min-width: 0; }
.news-sum { -webkit-line-clamp: 3; }
.news-why { margin: 6px 0 0; font-size: 13px; padding: 8px 10px; border-left: 3px solid var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); border-radius: 0; }
.news-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.news-tag { font: 600 12px var(--body); padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.news-tag:hover { color: var(--text); border-color: var(--muted); }
.news-tag span { color: var(--brand); margin-left: 2px; }
.news-trend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 0 10px; font-size: 13px; }
.news-trend b { margin-right: 4px; font: 800 12px var(--display); text-transform: uppercase; letter-spacing: .5px; }
.nw-tag.t-video { background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand); }
@media (max-width: 640px) {
  .news-lead { grid-template-columns: 1fr; }
  .news-item.has-img { grid-template-columns: 1fr 96px; gap: 10px; }
  .news-thumb img { width: 96px; }
  .news-title.big { font-size: 19px; }
}

/* ---- v27: fight face-offs and the mascot's football run ---- */
/* UFC fight page: both fighters full body, squared up */
.faceoff { display: flex; justify-content: center; align-items: flex-end; gap: 4px; height: 230px; margin: 4px 0 10px; position: relative; }
.faceoff img { height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.faceoff .fo-flip { transform: scaleX(-1); }
.faceoff .fo-vs, .bx-fo .fo-vs { align-self: center; font: 800 26px/1 var(--display, inherit); letter-spacing: .04em; color: var(--brand); padding: 0 6px; }
.img-gone { display: none !important; }
@media (max-width: 700px) { .faceoff { height: 170px; } .faceoff .fo-vs { font-size: 20px; } }

/* Boxing cards: each fighter's photo side by side; initials until (or unless) a photo arrives */
.bx-fo { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px 0 10px; }
.bx-pic { position: relative; width: 86px; height: 104px; border-radius: 6px; overflow: hidden; background: var(--line); display: grid; place-items: center; flex: 0 0 auto; }
.bx-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; opacity: 0; transition: opacity .35s; }
.bx-pic.has img { opacity: 1; }
.bx-pic.has .bx-ini { visibility: hidden; }
.bx-ini { font: 800 24px/1 var(--display, inherit); color: var(--muted); letter-spacing: .03em; }
.bx-photo-note { margin-top: 6px; }

/* Mascot football: ball hidden until he takes the field */
.mascot-svg .m-ball { fill: #8a4b22; stroke: var(--m-ink); stroke-width: 2; }
.mascot-svg .m-lace { fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; }
.mascot-svg .m-g-ball { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .m-football .m-g-ball { animation: m-fb-ball 4.2s linear both; }
  /* 1s: crouch into a three-point stance (right hand down). Then 3s: run right, turn, run left, turn, back to his spot */
  .m-football .mascot-svg { animation: m-fb-route 3s ease-in-out 1s both; }
  .m-football .m-g-all { transform-origin: 60px 157px; animation: m-fb-crouch 1s ease-out both, m-fb-bob .3s ease-in-out 1s 10; }
  .m-football .m-g-arm-r { transform-origin: 77px 68px; animation: m-fb-hand-down 1s ease-out both, m-fb-pump .3s ease-in-out 1s 10; }
  .m-football .m-g-arm-l { transform-origin: 43px 68px; animation: m-fb-tuck 4.2s ease-out both; }
  .m-football .m-g-leg-l { transform-origin: 51px 118px; animation: m-fb-stance-l 1s ease-out both, m-run-l .3s ease-in-out 1s 10; }
  .m-football .m-g-leg-r { transform-origin: 69px 118px; animation: m-fb-stance-r 1s ease-out both, m-run-r .3s ease-in-out 1s 10; }
  .m-football .m-g-head { transform-origin: 60px 56px; animation: none; }
}
.m-football { position: relative; z-index: 3; }
@keyframes m-fb-ball { 0%, 18% { opacity: 0; } 24%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes m-fb-crouch { 0% { transform: none; } 30%, 100% { transform: translateY(16px) rotate(8deg); } }
@keyframes m-fb-bob { 0%, 100% { transform: translateY(0) rotate(9deg); } 50% { transform: translateY(-6px) rotate(9deg); } }
@keyframes m-fb-hand-down { 0% { transform: none; } 30%, 100% { transform: rotate(118deg); } }
@keyframes m-fb-pump { 0%, 100% { transform: rotate(40deg); } 50% { transform: rotate(-35deg); } }
@keyframes m-fb-tuck { 0%, 20% { transform: none; } 30%, 95% { transform: rotate(-28deg); } 100% { transform: none; } }
@keyframes m-fb-stance-l { 0% { transform: none; } 30%, 100% { transform: rotate(24deg); } }
@keyframes m-fb-stance-r { 0% { transform: none; } 30%, 100% { transform: rotate(-30deg); } }
@keyframes m-run-l { 0%, 100% { transform: rotate(32deg); } 50% { transform: rotate(-26deg); } }
@keyframes m-run-r { 0%, 100% { transform: rotate(-26deg); } 50% { transform: rotate(32deg); } }
@keyframes m-fb-route {
  0% { transform: translateX(0); } 30% { transform: translateX(34px); }
  31% { transform: translateX(34px) scaleX(-1); } 68% { transform: translateX(-12px) scaleX(-1); }
  69% { transform: translateX(-12px); } 100% { transform: translateX(0); }
}

/* v28: UFC title fights stand out and come first */
.game.is-title { border-color: var(--warn); box-shadow: 0 0 0 1px var(--warn), var(--shadow); background: linear-gradient(180deg, var(--warn-soft), var(--card) 60px); }
.title-tag { font-size: 11px; font-weight: 750; padding: 2px 8px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); white-space: nowrap; }
.title-banner { margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); font-weight: 700; font-size: 14px; text-align: center; }

/* v29: the mascot wears the gear of the sport on screen (<html data-gear>, set in mascot.js / app.js / game.js) */
.mascot-svg .m-gear { display: none; }
[data-gear="boxing"] .mascot-svg .m-gear-boxing, [data-gear="ufc"] .mascot-svg .m-gear-ufc,
[data-gear="football"] .mascot-svg .m-gear-football, [data-gear="basketball"] .mascot-svg .m-gear-basketball,
[data-gear="baseball"] .mascot-svg .m-gear-baseball, [data-gear="hockey"] .mascot-svg .m-gear-hockey,
[data-gear="soccer"] .mascot-svg .m-gear-soccer { display: inline; }
.m-football .mascot-svg .m-gear-l { display: none; }
.mascot-svg .m-g-pitch { opacity: 0; } /* the pitch only shows up to be hit */
[data-gear="baseball"] .mascot-svg .m-thumb { display: none; } /* his fist grips the bat */
.mascot-svg .m-bat { fill: #c8925a; stroke: var(--m-ink); stroke-width: 1.4; stroke-linejoin: round; }
.mascot-svg .m-bat-tape { fill: none; stroke: #16181d; stroke-width: 2.6; stroke-linecap: round; }
/* Gloves replace his own hands */
:is([data-gear="boxing"], [data-gear="ufc"]) .mascot-svg :is(.m-g-arm-r > .m-hand, .m-g-arm-l > .m-hand, .m-crease) { display: none; }
.mascot-svg .m-glove { fill: #d0202f; stroke: var(--m-ink); stroke-width: 1.8; stroke-linejoin: round; }
.mascot-svg .m-glove-line { fill: none; stroke: #8f1520; stroke-width: 1.5; stroke-linecap: round; }
.mascot-svg .m-shine { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; opacity: .55; }
.mascot-svg .m-cuff { fill: #fff; stroke: var(--m-ink); stroke-width: 1.6; }
.mascot-svg .m-cuff-band { fill: none; stroke: #d0202f; stroke-width: 2.4; }
.mascot-svg .m-mma { fill: #16181d; stroke: var(--m-ink); stroke-width: 1.4; stroke-linejoin: round; }
.mascot-svg .m-mma-seam { fill: none; stroke: #3d434f; stroke-width: 1.1; }
.mascot-svg .m-mma-trim { fill: none; stroke: #d0202f; stroke-width: 2; }
.mascot-svg .m-mma-logo { fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; }
.mascot-svg .m-stripe { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; }
.mascot-svg .m-bball { fill: #e8762b; stroke: var(--m-ink); stroke-width: 1.8; }
.mascot-svg .m-bline { fill: none; stroke: #3a1d08; stroke-width: 1.2; }
.mascot-svg .m-baseball { fill: #fff; stroke: var(--m-ink); stroke-width: 1.2; }
.mascot-svg .m-bstitch { fill: none; stroke: #d0202f; stroke-width: 1; }
.mascot-svg .m-stick { fill: none; stroke: #d6b47a; stroke-width: 3.6; stroke-linecap: round; }
.mascot-svg .m-grip { fill: none; stroke: #16181d; stroke-width: 4.4; stroke-linecap: round; }
.mascot-svg .m-blade-edge { fill: none; stroke: var(--m-ink); stroke-width: 7.5; stroke-linecap: round; }
.mascot-svg .m-blade { fill: none; stroke: #16181d; stroke-width: 4.5; stroke-linecap: round; }
.mascot-svg .m-tape { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 1.6 1; }
.mascot-svg .m-puck { fill: #16181d; stroke: var(--m-ink); stroke-width: 1.5; }
.mascot-svg .m-sball { fill: #fff; stroke: var(--m-ink); stroke-width: 1.8; }
.mascot-svg .m-spent { fill: #16181d; }
.mascot-svg .m-sline { fill: none; stroke: #16181d; stroke-width: 1; }

/* v30: each sport's own move. It plays once now and then (.m-sport, toggled by mascot.js) and loops in place of the
   generic dance on loading screens, on hover and after a tap. :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) stands for all of those (expanded when written).
   Rotations pivot at the shoulders and hips; anything not in the move holds still. Pure CSS, nothing to download. */
.m-sport { --n1: 1; --n4: 4; --n6: 6; --n8: 8; --n9: 9; }
:is(.loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) { --n1: infinite; --n4: infinite; --n6: infinite; --n8: infinite; --n9: infinite; }
@media (prefers-reduced-motion: no-preference) {
  .m-sport { position: relative; z-index: 3; }
  [data-gear] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .mascot-svg { overflow: visible; } /* jabs, kicks and the hit ball reach past his usual box */
  :is([data-gear="boxing"], [data-gear="ufc"], [data-gear="football"], [data-gear="basketball"], [data-gear="baseball"], [data-gear="hockey"], [data-gear="soccer"]) :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) :is(.mascot-svg, .m-g-all, .m-g-head, .m-g-arm-l, .m-g-arm-r, .m-g-leg-l, .m-g-leg-r) { animation: none; }
  [data-gear] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-arm-l { transform-origin: 43px 68px; } [data-gear] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-arm-r { transform-origin: 77px 68px; }
  [data-gear] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-leg-l { transform-origin: 51px 118px; } [data-gear] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-leg-r { transform-origin: 69px 118px; }
  [data-gear] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-all { transform-origin: 60px 157px; }

  /* Boxing, shadow boxing: light feet, jab, cross, jab, cross, then a bob and weave */
  [data-gear="boxing"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .mascot-svg { animation: m-bx-feet 3.6s linear var(--n1); }
  [data-gear="boxing"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-all { animation: m-bx-lean 3.6s ease-out var(--n1) both; }
  [data-gear="boxing"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-arm-l { animation: m-bx-l 3.6s ease-out var(--n1) both; }
  [data-gear="boxing"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-arm-r { animation: m-bx-r 3.6s ease-out var(--n1) both; }
  :is([data-gear="boxing"], [data-gear="ufc"]) :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-leg-l { animation: m-stance-l 3.6s ease-out var(--n1) both; }
  [data-gear="boxing"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-leg-r { animation: m-stance-r 3.6s ease-out var(--n1) both; }

  /* UFC: jab, cross, then a roundhouse kick */
  [data-gear="ufc"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .mascot-svg { animation: m-bob .45s ease-in-out var(--n4); }
  [data-gear="ufc"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-all { transform-origin: 51px 157px; animation: m-ufc-lean 3.6s ease-out var(--n1) both; }
  [data-gear="ufc"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-arm-l { animation: m-ufc-l 3.6s ease-out var(--n1) both; }
  [data-gear="ufc"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-arm-r { animation: m-ufc-r 3.6s ease-out var(--n1) both; }
  [data-gear="ufc"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-leg-r { animation: m-ufc-kick 3.6s ease-out var(--n1) both; }

  /* Football: ball tucked, he runs a few steps out, turns and runs back */
  [data-gear="football"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .mascot-svg { animation: m-carry 2.8s ease-in-out var(--n1) both; }
  [data-gear="football"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-all { animation: m-carry-lean 2.8s ease-in-out var(--n1) both; }
  [data-gear="football"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-arm-l { animation: m-carry-tuck 2.8s ease-in-out var(--n1) both; }
  [data-gear="football"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-arm-r { animation: m-fb-pump .3s ease-in-out var(--n9); }
  [data-gear="football"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-leg-l { animation: m-run-l .3s ease-in-out var(--n9); }
  [data-gear="football"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-leg-r { animation: m-run-r .3s ease-in-out var(--n9); }

  /* Basketball: six dribbles. The ball speeds up on the way down, squashes on the floor, slows into his hand */
  [data-gear="basketball"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-bball { transform-origin: 31px 136px; animation: m-dribble .5s var(--n6); }
  [data-gear="basketball"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-arm-l { animation: m-dribble-arm .5s ease-in-out var(--n6); }
  [data-gear="basketball"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-all { animation: m-knees .5s ease-in-out var(--n6); }

  /* Baseball: waggle, load, swing through the pitch and send it flying */
  [data-gear="baseball"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-arm-r { animation: m-swing-arm 3.2s ease-in-out var(--n1) both; }
  [data-gear="baseball"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-bat { transform-origin: 102px 60px; animation: m-swing-bat 3.2s ease-in-out var(--n1) both; }
  [data-gear="baseball"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-all { animation: m-swing-hips 3.2s ease-in-out var(--n1) both; }
  [data-gear="baseball"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-leg-l { animation: m-stance-l 3.2s ease-out var(--n1) both; }
  [data-gear="baseball"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-pitch { animation: m-pitch 3.2s linear var(--n1) both; }

  /* Hockey: wind up, slap shot, the puck flies off */
  [data-gear="hockey"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-arm-l { animation: m-hk-arm 3s ease-in-out var(--n1) both; }
  [data-gear="hockey"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-all { animation: m-hk-twist 3s ease-in-out var(--n1) both; }
  [data-gear="hockey"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-puck { animation: m-hk-puck 3s linear var(--n1) both; }

  /* Soccer: keepy-uppies off his right foot, arm out for balance */
  [data-gear="soccer"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-sball { transform-origin: 99px 152px; animation: m-juggle .7s var(--n4); }
  [data-gear="soccer"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-leg-r { animation: m-juggle-leg .7s ease-in-out var(--n4); }
  [data-gear="soccer"] :is(.m-sport, .loading, .dance, .m-party, .intro-m:hover, .acc-m:hover, .foot-m:hover) .m-g-arm-l { animation: m-balance 2.8s ease-in-out var(--n1) both; }
}
@keyframes m-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes m-bx-feet {
  0%, 100% { transform: none; } 6% { transform: translate(1px, -3px); } 12% { transform: translate(2px, 0); } 18% { transform: translate(3px, -3px); }
  25% { transform: translate(4px, 0); } 31% { transform: translate(3px, -3px); } 37% { transform: translate(1px, 0); } 43% { transform: translate(-1px, -3px); }
  50% { transform: translate(-3px, 0); } 56% { transform: translate(-4px, -3px); } 62% { transform: translate(-4px, 0); } 68% { transform: translate(-2px, -3px); }
  75% { transform: translate(0, 0); } 93% { transform: translate(0, -3px); }
}
@keyframes m-stance-l { 0% { transform: none; } 10%, 90% { transform: rotate(7deg); } 100% { transform: none; } }
@keyframes m-stance-r { 0% { transform: none; } 10%, 90% { transform: rotate(-7deg); } 100% { transform: none; } }
@keyframes m-bx-l { 0% { transform: none; } 8%, 14% { transform: rotate(40deg); } 19% { transform: rotate(108deg); } 25%, 40% { transform: rotate(40deg); } 45% { transform: rotate(108deg); } 51%, 92% { transform: rotate(40deg); } 100% { transform: none; } }
@keyframes m-bx-r { 0% { transform: none; } 8%, 27% { transform: rotate(-12deg); } 33% { transform: rotate(52deg); } 40%, 55% { transform: rotate(-12deg); } 61% { transform: rotate(52deg); } 68%, 92% { transform: rotate(-12deg); } 100% { transform: none; } }
@keyframes m-bx-lean {
  0%, 14% { transform: none; } 19% { transform: translateX(-3px) rotate(-3deg); } 25%, 27% { transform: none; } 33% { transform: translateX(3px) rotate(3deg); }
  40% { transform: none; } 45% { transform: translateX(-3px) rotate(-3deg); } 51%, 55% { transform: none; } 61% { transform: translateX(3px) rotate(3deg); } 68%, 72% { transform: none; }
  78% { transform: translate(-3px, 7px) rotate(-8deg); } 84% { transform: translate(3px, 7px) rotate(8deg); } 90%, 100% { transform: none; }
}
@keyframes m-ufc-l { 0% { transform: none; } 10%, 14% { transform: rotate(40deg); } 19% { transform: rotate(108deg); } 25%, 88% { transform: rotate(40deg); } 100% { transform: none; } }
@keyframes m-ufc-r { 0% { transform: none; } 10%, 27% { transform: rotate(-12deg); } 33% { transform: rotate(52deg); } 40%, 88% { transform: rotate(-12deg); } 100% { transform: none; } }
@keyframes m-ufc-kick { 0% { transform: none; } 10%, 48% { transform: rotate(-7deg); } 54% { transform: rotate(12deg); } 61%, 68% { transform: rotate(-82deg); } 78%, 90% { transform: rotate(-7deg); } 100% { transform: none; } }
@keyframes m-ufc-lean { 0%, 50% { transform: none; } 54% { transform: rotate(3deg); } 61%, 68% { transform: translateX(-3px) rotate(-11deg); } 78%, 100% { transform: none; } }
@keyframes m-carry { 0% { transform: translateX(0); } 46% { transform: translateX(34px); } 50% { transform: translateX(34px) scaleX(-1); } 96% { transform: translateX(0) scaleX(-1); } 100% { transform: translateX(0); } }
@keyframes m-carry-lean { 0%, 100% { transform: none; } 8%, 92% { transform: rotate(7deg); } }
@keyframes m-carry-tuck { 0%, 100% { transform: none; } 8%, 92% { transform: rotate(-22deg); } }
@keyframes m-dribble {
  0% { transform: translateY(0); animation-timing-function: cubic-bezier(.45, 0, 1, .55); }
  46% { transform: translateY(21px); }
  50% { transform: translateY(21px) scale(1.14, .82); animation-timing-function: linear; }
  54% { transform: translateY(20px); animation-timing-function: cubic-bezier(0, .45, .55, 1); }
  100% { transform: translateY(0); }
}
@keyframes m-dribble-arm { 0%, 100% { transform: translateY(-1px); } 18% { transform: translateY(4px); } 50% { transform: translateY(1px); } }
@keyframes m-knees { 0%, 100% { transform: translateY(0); } 20% { transform: translateY(2px); } }
@keyframes m-swing-arm { 0%, 30% { transform: none; } 38% { transform: rotate(-12deg); } 44% { transform: rotate(35deg); } 52%, 72% { transform: rotate(12deg); } 90%, 100% { transform: none; } }
@keyframes m-swing-bat {
  0% { transform: none; } 8% { transform: rotate(-9deg); } 16% { transform: rotate(5deg); } 24% { transform: rotate(-9deg); } 30% { transform: none; }
  38% { transform: rotate(-18deg); animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 44% { transform: rotate(95deg); } 52%, 72% { transform: rotate(225deg); } 90%, 100% { transform: none; }
}
@keyframes m-swing-hips { 0%, 30% { transform: none; } 38% { transform: rotate(-3deg); } 46% { transform: rotate(4deg); } 72% { transform: rotate(3deg); } 90%, 100% { transform: none; } }
@keyframes m-pitch {
  0%, 30% { opacity: 0; transform: translate(40px, -3px); } 32% { opacity: 1; transform: translate(40px, -3px); }
  44% { transform: translate(0, 0); } 58% { opacity: 1; transform: translate(45px, -95px); } 60%, 100% { opacity: 0; transform: translate(45px, -95px); }
}
@keyframes m-hk-arm { 0% { transform: none; } 28%, 38% { transform: rotate(44deg); } 47% { transform: rotate(-30deg); } 80% { transform: rotate(-24deg); } 100% { transform: none; } }
@keyframes m-hk-twist { 0% { transform: none; } 28%, 38% { transform: rotate(-4deg); } 48% { transform: rotate(5deg); } 80% { transform: rotate(2deg); } 100% { transform: none; } }
@keyframes m-hk-puck { 0%, 44% { opacity: 1; transform: none; } 60% { opacity: 1; transform: translateX(110px); } 61%, 88% { opacity: 0; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes m-juggle {
  0% { transform: translate(0, 0) rotate(0); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  50% { transform: translate(-4px, -52px) rotate(180deg); animation-timing-function: cubic-bezier(.6, 0, .8, .3); }
  100% { transform: translate(0, 0) rotate(360deg); }
}
@keyframes m-juggle-leg { 0%, 100% { transform: rotate(-30deg); } 18%, 78% { transform: rotate(-6deg); } }
@keyframes m-balance { 0% { transform: none; } 12%, 88% { transform: rotate(28deg); } 100% { transform: none; } }

/* v31: game chart key (which line is which) */
.chart-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.ck { display: inline-flex; align-items: center; gap: 6px; }
.ck i { width: 18px; height: 3px; border-radius: 2px; background: var(--c); }
.ck i.thin { height: 1.5px; }
.ck i.dash { height: 0; background: none; border-top: 2px dashed var(--c); }
