/* SportyPredictz */
:root {
  --ink: #0a1020; --ink2: #0e1628; --panel: #121c32; --panel2: #1a2744;
  --line: rgba(238,234,224,0.09); --line2: rgba(238,234,224,0.18);
  --acid: #d8b467; --acid-d: #b8933f; --gold: #e9c46a; --hot: #f0645c; --sky: #8fb3e8;
  --good: #58c79a; --bad: #e8685f; --draw: #4a5878;
  --text: #eeeae0; --mute: #98a2b8; --r: 12px;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --display: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body); background: var(--ink); color: var(--text); min-height: 100vh;
  overflow-x: hidden; line-height: 1.5;
  background-image:
    radial-gradient(700px 420px at 92% -5%, rgba(216,180,103,0.07), transparent 70%),
    radial-gradient(600px 420px at -5% 35%, rgba(143,179,232,0.05), transparent 70%);
  background-attachment: fixed;
}
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5 { font-family: var(--display); line-height: 1.2; letter-spacing: -0.02em; }
.mono, .odd, .when, .score, .count, .live-dot, .pk-pct, .vpct, .stand td, .avb td, .statchip b { font-variant-numeric: tabular-nums; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
code { font-family: var(--mono); background: rgba(255,255,255,0.1); padding: 1px 6px; border-radius: 6px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 22px 16px 40px; min-width: 0; }
[hidden] { display: none !important; }

/* ---------- top ---------- */
.demo-banner { background: var(--gold); color: #1a1300; text-align: center; font-size: 0.82rem; padding: 8px 14px; font-weight: 600; }
.demo-banner code { background: rgba(0,0,0,0.12); }
.topbar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; max-width: 1100px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: -0.04em; white-space: nowrap; }
.logo b { background: linear-gradient(90deg, var(--acid), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-mark { width: 26px; height: 26px; border-radius: 50%; flex: none; border: 4px solid var(--acid); position: relative; }
.logo-mark::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--acid); }
.mainnav { display: flex; gap: 4px; margin-left: 8px; }
.mainnav a { padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: 0.86rem; color: var(--mute); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: all .15s; white-space: nowrap; }
.mainnav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.mainnav a.on { background: var(--acid); color: #0a1020; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.saved { text-decoration: none; font-weight: 700; font-size: 0.82rem; color: var(--mute); display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; }
.saved:hover, .saved.on { color: var(--gold); border-color: rgba(255,200,61,0.4); }
.count, .live-dot { font-style: normal; font-family: var(--mono); font-size: 0.68rem; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--hot); color: #fff; }
.mainnav a.on .live-dot { background: #0a1020; color: var(--acid); }
.age { font-family: var(--mono); font-weight: 700; font-size: 0.68rem; border: 1.5px solid var(--hot); color: var(--hot); border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; flex: none; }

.ticker { display: flex; background: var(--ink2); border-block: 1px solid var(--line); overflow: hidden; }
.ticker-label { flex: none; background: var(--acid); color: #0a1020; font-family: var(--mono); font-weight: 700; font-size: 0.7rem; padding: 12px 14px; display: grid; place-items: center; text-decoration: none; }
.ticker-label.live { background: var(--hot); color: #fff; }
.ticker-window { overflow: hidden; flex: 1; min-width: 0; white-space: nowrap; padding: 12px 0; }
.ticker-track { display: inline-flex; gap: 40px; padding-left: 28px; animation: slide 70s linear infinite; }
.ticker-window:hover .ticker-track { animation-play-state: paused; }
.t-item { font-family: var(--mono); font-size: 0.78rem; color: var(--mute); display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.t-item b { color: var(--text); }
.t-item .sc { color: var(--acid); font-weight: 700; }
.t-item .min { color: var(--hot); font-weight: 700; }
@keyframes slide { to { transform: translateX(-50%); } }

.catbar { border-bottom: 1px solid var(--line); background: rgba(11,17,24,0.7); }
.catscroll { max-width: 1100px; margin: 0 auto; padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.catpill { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.8rem; font-weight: 700; color: var(--mute); text-decoration: none; white-space: nowrap; transition: all .15s; }
.catpill:hover { color: var(--text); border-color: var(--line2); }
.catpill.on { background: rgba(216,180,103,0.14); border-color: rgba(216,180,103,0.45); color: var(--acid); }

/* ---------- page heads ---------- */
.crumbs { font-size: 0.78rem; color: var(--mute); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--acid); }
.crumbs i { font-style: normal; opacity: .5; }
.pagehead { margin-bottom: 20px; }
.pagehead h1 { font-weight: 800; font-size: clamp(1.45rem, 4.2vw, 2.3rem); letter-spacing: -0.03em; }
.pagehead p { color: var(--mute); margin-top: 10px; max-width: 62ch; }
.chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.statchip { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 0.78rem; color: var(--mute); display: inline-flex; gap: 8px; align-items: baseline; }
.statchip b { font-family: var(--mono); color: var(--acid); font-size: 0.95rem; }
.lghero { display: flex; gap: 16px; align-items: center; }
.lghero .lgi, .lghero .lg-fb { width: 54px; height: 54px; }
.block { margin-top: 34px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.block h2, .block-head h2 { font-size: 0.95rem; font-weight: 800; letter-spacing: -0.01em; }
.block-head a { color: var(--acid); font-size: 0.82rem; text-decoration: none; font-weight: 700; white-space: nowrap; }
.block-title { font-family: var(--display); font-weight: 800; font-size: 0.82rem; display: flex; gap: 10px; align-items: center; }

/* ---------- cards ---------- */
.pickrail { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.pickcard { flex: 0 0 min(250px, 76%); scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .2s, border-color .2s; }
.pickcard::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(216,180,103,0.16), transparent 70%); }
.pickcard:hover { transform: translateY(-3px); border-color: rgba(216,180,103,0.5); }
.pk-top { font-size: 0.7rem; color: var(--mute); display: flex; justify-content: space-between; gap: 8px; }
.pk-top span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-teams { font-family: var(--display); font-weight: 600; font-size: 0.9rem; display: flex; flex-direction: column; line-height: 1.3; }
.pk-teams i { font-style: normal; font-family: var(--mono); font-size: 0.68rem; color: var(--mute); font-weight: 400; }
.pk-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; margin-top: auto; }
.pk-says small { display: block; font-size: 0.66rem; color: var(--mute); }
.pk-says b { font-size: 0.9rem; display: block; }
.pk-pct { font-family: var(--mono); font-weight: 700; font-size: 1.7rem; color: var(--acid); line-height: 1; }
.pk-pct small { font-size: 0.8rem; }

.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.catcard { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: all .15s; position: relative; }
.catcard:hover { border-color: rgba(216,180,103,0.5); transform: translateY(-2px); }
.catcard b { font-family: var(--display); font-size: 0.82rem; }
.catcard span { font-size: 0.8rem; color: var(--mute); line-height: 1.4; }
.catcard i { font-style: normal; font-family: var(--mono); font-size: 0.7rem; color: var(--acid); margin-top: auto; padding-top: 4px; }
.catgrid.small { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.leaguegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.lgcard { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 0.86rem; min-width: 0; transition: border-color .15s; }
.lgcard:hover { border-color: rgba(216,180,103,0.5); }
.lgcard span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgcard i { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 0.72rem; color: var(--mute); }
.lgi { width: 22px; height: 22px; object-fit: contain; flex: none; }
.lg-fb { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--panel2); display: inline-grid; place-items: center; font-size: 0.6rem; font-weight: 800; color: var(--mute); }

/* ---------- toolbar ---------- */
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.toolbar.single { margin-top: 6px; }
.mtabs { display: flex; gap: 6px; flex-wrap: wrap; flex: 1 1 auto; }
.mtab { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-weight: 700; font-size: 0.8rem; color: var(--mute); transition: all .15s; white-space: nowrap; }
.mtab:hover { color: var(--text); border-color: var(--line2); }
.mtab.on { background: var(--acid); border-color: var(--acid); color: #0a1020; }
.search { flex: 1 1 200px; min-width: 0; }
.search input { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 0.86rem; }
.search input::placeholder { color: var(--mute); }
.lgjump { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 6px; scrollbar-width: none; }
.lgjump::-webkit-scrollbar { display: none; }
.lgjump a { flex: none; font-size: 0.74rem; padding: 5px 11px; border-radius: 999px; background: var(--panel2); color: var(--mute); text-decoration: none; white-space: nowrap; }
.lgjump a b { font-family: var(--mono); color: var(--acid); margin-left: 4px; }
.mnote { font-size: 0.76rem; color: var(--mute); margin: 0 2px 8px; display: none; }
.mnote.show { display: block; }

/* ---------- match rows ---------- */
.lgblock { margin-top: 14px; }
.lghead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; margin-bottom: 4px; font-size: 0.74rem; font-weight: 700; background: var(--ink2); border: 1px solid var(--line); border-radius: 12px; }
.lhl { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lhl a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; min-width: 0; }
.lhl a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lhl a:hover { color: var(--acid); }
.lghead > a, .lghead > span:first-child { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.lghead > a:hover { color: var(--acid); }
.lghead .n { font-family: var(--mono); color: var(--mute); font-size: 0.72rem; }
.seemore { display: block; text-align: center; padding: 8px; font-size: 0.8rem; color: var(--acid); text-decoration: none; font-weight: 700; }

.mrow { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto 32px; gap: 10px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 5px 10px; margin-bottom: 4px; transition: border-color .15s, background .15s; }
.mrow:hover { border-color: var(--line2); background: var(--panel2); }
.when { font-family: var(--mono); font-weight: 600; font-size: 0.8rem; text-align: center; line-height: 1.2; color: var(--text); display: flex; flex-direction: column; align-items: center; gap: 3px; }
.when small { display: block; font-weight: 500; color: var(--mute); font-size: 0.62rem; }
.when.live { color: var(--hot); }
[data-state="live"] .w-top { color: var(--hot); }
[data-state="live"] .w-top::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--hot); margin-right: 5px; vertical-align: middle; animation: pulse 1.4s infinite; }
[data-state="ft"] .w-top { color: var(--mute); }
@keyframes pulse { 50% { opacity: .25; } }
.sc { margin-left: auto; padding-left: 8px; font-family: var(--mono); font-weight: 700; font-size: 0.92rem; min-width: 18px; text-align: right; color: var(--mute); flex: none; }
[data-state="live"] .sc { color: var(--hot); }
[data-state="ft"] .sc { color: var(--text); }
.pst { font-family: var(--mono); font-size: 0.6rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line2); color: var(--mute); white-space: nowrap; line-height: 1.5; }
.pst[hidden] { display: none; }
.pst.won { background: rgba(216,180,103,0.16); color: var(--acid); border-color: rgba(216,180,103,0.55); }
.pst.lost { background: rgba(240,100,92,0.14); color: #ff7b8f; border-color: rgba(240,100,92,0.5); }
.pst.on { color: var(--acid); border-color: rgba(216,180,103,0.35); }
.pst.off { color: #ff9aa8; border-color: rgba(240,100,92,0.35); }
.pst.wait { color: var(--hot); border-color: rgba(240,100,92,0.35); }
.odd.mp.won:not(.on) { background: var(--acid); color: #0a1020; border-color: var(--acid); }
.odd.mp.lost:not(.on) { border-color: var(--hot); color: var(--hot); box-shadow: inset 0 0 0 1px rgba(240,100,92,0.3); }
.pk-stat { display: inline-flex; align-items: center; gap: 6px; }
.pk-stat .mono { color: var(--text); text-transform: none; letter-spacing: 0; }
.pickcard[data-state="live"] .pk-stat .mono { color: var(--hot); }
.verdict .pst { font-size: 0.78rem; padding: 3px 12px; }
.teams { min-width: 0; text-decoration: none; display: flex; flex-direction: row; align-items: center; gap: 14px; }
.team { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.88rem; min-width: 0; flex: 1 1 0; }
.team .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.teams:hover .nm { color: var(--acid); }
.crest { width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--panel2); display: inline-grid; place-items: center; overflow: hidden; font-size: 0.55rem; font-weight: 700; color: var(--mute); }
.crest img { width: 100%; height: 100%; object-fit: contain; }
.lgline { font-size: 0.72rem; color: var(--mute); font-weight: 500; }

.mks { display: flex; justify-content: flex-end; min-width: 0; }
.mk, .mkh > span { --w: 64px; display: none; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 5px; width: calc(var(--n) * var(--w) + (var(--n) - 1) * 5px); }
.mk-btts, .mkh-btts { --w: 84px; }
body[data-market="1x2"] .mk-1x2, body[data-market="goals"] .mk-goals, body[data-market="btts"] .mk-btts, body[data-market="dc"] .mk-dc,
body[data-market="1x2"] .mkh-1x2, body[data-market="goals"] .mkh-goals, body[data-market="btts"] .mkh-btts, body[data-market="dc"] .mkh-dc { display: grid; }
.mkh { margin-right: 57px; }
.mkh i { font-style: normal; font-family: var(--mono); font-weight: 600; font-size: 0.7rem; color: var(--mute); text-align: center; letter-spacing: 0; }
.odd { height: 34px; border-radius: 8px; background: var(--ink2); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; transition: all .15s; min-width: 0; }
.odd small { font-family: var(--mono); font-size: 0.6rem; color: var(--mute); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.odd b { font-family: var(--mono); font-weight: 600; font-size: 0.9rem; }
.odd:hover:not(:disabled) { border-color: var(--acid); }
.odd.on { background: var(--acid); border-color: var(--acid); color: #0a1020; }
.odd.on small { color: #2a3d00; }
.odd.mp:not(.on) { border-color: rgba(216,180,103,0.6); box-shadow: inset 0 0 0 1px rgba(216,180,103,0.25); color: var(--acid); }
.odd:disabled { opacity: .35; cursor: default; }
@media (min-width: 761px) { .mrow .odd small { display: none; } }
.star { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--mute); font-size: 1.05rem; }
.star:hover { background: rgba(255,255,255,0.06); color: var(--gold); }
.star.on { color: var(--gold); }
.score { font-family: var(--mono); font-weight: 700; font-size: 1.05rem; display: flex; flex-direction: column; gap: 2px; align-items: center; min-width: 36px; line-height: 1.2; }
.ft { font-family: var(--mono); font-size: 0.66rem; color: var(--mute); text-align: center; }

.prow { display: grid; grid-template-columns: 58px minmax(0, 1fr) minmax(150px, 220px) 66px 32px; gap: 10px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 6px 10px; margin-bottom: 4px; }
.prow .teams { flex-direction: column; align-items: stretch; gap: 2px; }
.prow:hover { border-color: var(--line2); }
.pkcell { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pkcell b { font-size: 0.86rem; }
.pkcell small { font-size: 0.72rem; color: var(--mute); }
.pkcell em { font-style: normal; font-family: var(--mono); }
.pos { color: var(--acid); } .neg { color: var(--hot); }
.bar { display: block; height: 8px; background: var(--ink2); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--acid-d), var(--acid)); border-radius: 999px; }

.daytabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 6px; scrollbar-width: none; }
.daytabs::-webkit-scrollbar { display: none; }
.daytab { flex: 1 0 auto; text-align: center; text-decoration: none; padding: 9px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 0.84rem; font-weight: 700; color: var(--mute); white-space: nowrap; }
.daytab small, .daytab b { display: none; }
.daytab:hover { color: var(--text); border-color: var(--line2); }
.daytab.on { background: var(--acid); border-color: var(--acid); color: #0a1020; }

.empty { text-align: center; color: var(--mute); padding: 44px 16px; border: 1px dashed var(--line2); border-radius: 16px; }
.btn { display: inline-block; text-align: center; text-decoration: none; padding: 12px 18px; border-radius: 12px; font-weight: 800; font-size: 0.84rem; border: 1px solid var(--line2); }
.btn:hover { border-color: var(--acid); color: var(--acid); }
.btn.solid { background: var(--acid); border-color: var(--acid); color: #0a1020; }
.btn.solid:hover { filter: brightness(1.08); color: #0a1020; }
.btn.wide { display: block; margin-top: 16px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-row .btn { flex: 1; }

/* ---------- accas ---------- */
.acca { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-bottom: 14px; }
.acca-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.acca-head h2 { font-size: 0.95rem; }
.acca-total { color: var(--mute); font-size: 0.82rem; }
.acca-total b { font-family: var(--mono); color: var(--acid); font-size: 1.2rem; margin-left: 6px; }
.leg { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.leg a { text-decoration: none; min-width: 0; }
.leg b { display: block; font-size: 0.88rem; }
.leg small { color: var(--mute); font-size: 0.74rem; }
.leg .mono { font-weight: 700; }
.acca .btn { width: 100%; margin-top: 10px; }

/* ---------- tables ---------- */
.tablewrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; }
.tblcap { padding: 10px 14px; font-family: var(--display); font-size: 0.72rem; border-bottom: 1px solid var(--line); }
.stand { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.stand th { font-family: var(--mono); font-size: 0.64rem; font-weight: 700; color: var(--mute); padding: 9px 6px; background: var(--ink2); text-align: center; }
.stand td { padding: 8px 6px; border-top: 1px solid var(--line); text-align: center; font-family: var(--mono); }
.stand th.l, .stand td.l { text-align: left; padding-left: 12px; }
.stand td.l { font-family: var(--body); font-weight: 700; }
.stand .team { font-size: 0.86rem; }
.stand .crest { width: 20px; height: 20px; font-size: 0.5rem; }
.stand .pts { color: var(--acid); font-weight: 700; }
.stand tbody tr:nth-child(-n+4) td:first-child { box-shadow: inset 3px 0 var(--acid); }
.avb { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.avb th { font-family: var(--display); font-size: 0.74rem; padding: 10px 6px; text-align: center; }
.avb th:nth-child(2) { color: var(--mute); font-family: var(--mono); font-size: 0.62rem; }
.avb td { padding: 10px 6px; border-top: 1px solid var(--line); text-align: center; font-family: var(--mono); font-weight: 700; }
.avb td.k { font-family: var(--body); font-weight: 600; color: var(--mute); font-size: 0.78rem; width: 34%; }
.avb td.win { color: var(--acid); background: rgba(216,180,103,0.07); }

/* ---------- match page ---------- */
.mhead { margin-bottom: 18px; }
.mleague { display: flex; justify-content: space-between; gap: 10px; font-size: 0.78rem; color: var(--mute); flex-wrap: wrap; }
.mleague a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.mteams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; text-align: center; margin: 18px 0 14px; }
.mt { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 0.95rem; }
.mt .crest { width: 56px; height: 56px; font-size: 1rem; }
.mmid .big { font-family: var(--mono); font-size: 1.9rem; font-weight: 800; }
.mmid small { color: var(--mute); font-size: 0.74rem; }
.mhead h1 { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 800; text-align: center; margin-top: 8px; letter-spacing: -0.02em; }
.verdict { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; background: linear-gradient(160deg, rgba(216,180,103,0.12), var(--panel)); border: 1px solid rgba(216,180,103,0.35); border-radius: 18px; flex-wrap: wrap; }
.verdict small { display: block; font-size: 0.68rem; color: var(--mute); }
.verdict b { font-size: 1.05rem; }
.vpct { font-family: var(--mono); font-weight: 700; font-size: 2.2rem; color: var(--acid); line-height: 1; }
.vpct small { display: inline; font-size: 1rem; color: var(--acid); }
.pbar { display: grid; grid-template-columns: 110px minmax(0, 1fr) 46px; gap: 10px; align-items: center; font-size: 0.84rem; margin-bottom: 10px; }
.pbar .lbl { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pbar b { font-family: var(--mono); text-align: right; }
.mkgroup { margin-top: 14px; }
.mkgroup h3 { font-size: 0.74rem; margin-bottom: 8px; }
.mkgroup h3 small { font-family: var(--body); text-transform: none; color: var(--mute); font-weight: 500; }
.mkgrid { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; max-width: 520px; }
.mkcell { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.mkcell small { text-align: center; font-size: 0.68rem; color: var(--acid); font-family: var(--mono); }
.mkcell .odd { height: 54px; }

/* ---------- text ---------- */
.prose { max-width: 70ch; margin-top: 34px; }
.prose.lead { margin-top: 0; margin-bottom: 24px; }
.prose h2 { font-size: 1rem; margin: 22px 0 10px; }
.prose h1 { font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: 16px; }
.prose p, .prose li { color: #c3ccd8; margin-bottom: 12px; font-size: 0.98rem; }
.prose ul { padding-left: 20px; margin-bottom: 12px; }
.prose a { color: var(--acid); }
.prose.page { margin-top: 6px; }
.faq { margin-top: 34px; max-width: 70ch; }
.faq h2 { font-size: 1rem; margin-bottom: 12px; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--acid); font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--mute); margin-top: 8px; font-size: 0.92rem; }
.notfound { text-align: center; padding: 60px 10px; }
.notfound h1 { font-size: 1.5rem; margin-bottom: 10px; }
.notfound p { color: var(--mute); margin-bottom: 20px; }
.notfound .btn-row { justify-content: center; }
.notfound .btn { flex: 0 0 auto; }

/* ---------- pick slip ---------- */
.slip { position: fixed; z-index: 60; background: var(--panel); border: 1px solid var(--line2); padding: 16px; overflow: auto; visibility: hidden; transition: transform .25s, visibility 0s .25s; box-shadow: 0 0 60px rgba(0,0,0,.6);
  left: 0; right: 0; bottom: 0; max-height: 82vh; border-radius: 22px 22px 0 0; transform: translateY(105%); }
.slip.open { transform: translateY(0); visibility: visible; transition: transform .25s; }
.slip-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.slip-head .count { background: var(--acid); color: #0a1020; }
.link-btn { color: var(--mute); font-size: 0.82rem; text-decoration: underline; padding: 6px; }
.slip-item { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.86rem; }
.slip-item .pk { font-weight: 800; color: var(--acid); }
.slip-item .mt { color: var(--mute); font-size: 0.76rem; font-family: var(--body); display: block; text-align: left; font-weight: 500; }
.slip-item .od { font-family: var(--mono); font-weight: 700; grid-row: 1; grid-column: 2; text-align: right; }
.slip-item .rm { grid-row: 2; grid-column: 2; color: var(--mute); font-size: 0.74rem; text-decoration: underline; text-align: right; }
.slip-total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line2); display: grid; gap: 10px; }
.slip-total .line { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.86rem; color: var(--mute); }
.slip-total .line b { font-family: var(--mono); color: var(--text); font-size: 1.05rem; }
.slip-total .line b.big { color: var(--acid); font-size: 1.3rem; }
.slip-total input { width: 110px; text-align: right; font-family: var(--mono); font-weight: 700; background: var(--ink2); border: 1px solid var(--line2); border-radius: 10px; padding: 8px 10px; }
.slip-note, .slip-empty { font-size: 0.78rem; color: var(--mute); line-height: 1.5; }
.slip-empty { font-size: 0.86rem; margin-bottom: 12px; }
.slip-fab { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-radius: 999px; background: var(--acid); color: #0a1020; font-weight: 800; box-shadow: 0 10px 30px rgba(0,0,0,.55); }
.slip-fab b { background: #0a1020; color: var(--acid); font-family: var(--mono); min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 999px; font-size: 0.76rem; padding: 0 6px; }

/* ---------- footer ---------- */
.foot { max-width: 1100px; margin: 24px auto 0; padding: 40px 16px 110px; border-top: 1px solid var(--line); color: var(--mute); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.foot-brand p { margin-top: 14px; max-width: 30ch; font-size: 0.86rem; }
.foot-col { display: flex; flex-direction: column; gap: 9px; font-size: 0.86rem; align-items: flex-start; }
.foot-col h5 { font-size: 0.72rem; color: var(--text); margin-bottom: 4px; }
.foot-col a { color: var(--mute); text-decoration: none; } .foot-col a:hover { color: var(--acid); }
.age-pill { display: inline-block; font-family: var(--mono); font-size: 0.68rem; color: var(--hot); border: 1.5px solid var(--hot); border-radius: 999px; padding: 1px 8px; margin-right: 6px; }
.foot-bar { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; font-size: 0.74rem; line-height: 1.6; }
.foot-bar p { max-width: 90ch; }
.foot-bar .mono { white-space: nowrap; }

/* ---------- responsive ---------- */
@media (min-width: 900px) {
  .slip { left: auto; top: 0; bottom: 0; right: 0; width: 360px; max-height: none; border-radius: 0; transform: translateX(105%); }
  .slip.open { transform: translateX(0); }
}
@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; gap: 10px; }
  .mainnav { order: 3; width: 100%; margin: 0; gap: 4px; }
  .mainnav a { flex: 1 1 0; justify-content: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bar { flex-direction: column; gap: 10px; }
}
@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .mainnav { order: 3; width: 100%; margin: 0; gap: 2px; }
  .mainnav a { flex: 1 1 0; justify-content: center; padding: 9px 4px; font-size: 0.76rem; }
  .saved span { display: none; }
  .catscroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 10px 12px; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
  .catscroll::-webkit-scrollbar { display: none; }
  .wrap { padding: 16px 12px 40px; }
  .mrow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "when star" "teams mks"; gap: 2px 8px; padding: 6px 8px 8px 10px; align-items: center; }
  .mrow > .when { grid-area: when; text-align: left; display: flex; flex-direction: row; gap: 8px; align-items: center; justify-content: flex-start; font-size: 0.74rem; color: var(--mute); }
  .mrow > .when small { display: inline; }
  .mrow > .teams { grid-area: teams; flex-direction: column; align-items: stretch; gap: 3px; }
  .mrow > .team, .teams .team { flex: none; }
  .mrow > .mks { grid-area: mks; justify-content: flex-end; }
  .mrow > .star { grid-area: star; justify-self: end; width: 28px; height: 22px; font-size: 1rem; }
  .mk, .mkh > span { --w: 58px; }
  .mk-btts { --w: 72px; }
  .mkh { display: none; }
  .mrow .odd { height: 40px; }
  body[data-market="goals"] .mrow { grid-template-areas: "when star" "teams teams" "mks mks"; }
  body[data-market="goals"] .mrow > .mks { justify-content: stretch; }
  body[data-market="goals"] .mk-goals { width: 100%; margin-top: 3px; }
  .mrow > .score, .mrow > .ft { grid-column: auto; }
  .live-row, .res-row { grid-template-columns: 52px minmax(0, 1fr) auto 36px; grid-template-areas: none; }
  .live-row > *, .res-row > * { grid-area: auto !important; }
  .prow { grid-template-columns: 1fr auto; grid-template-areas: "when star" "teams teams" "pk odd"; gap: 8px; padding: 12px; }
  .prow > .when { grid-area: when; text-align: left; flex-direction: row; justify-content: flex-start; gap: 8px; align-items: center; } .prow > .teams { grid-area: teams; } .prow > .pkcell { grid-area: pk; } .prow > .odd { grid-area: odd; width: 76px; } .prow > .star { grid-area: star; justify-self: end; }
  .pbar { grid-template-columns: 84px minmax(0, 1fr) 42px; }
  .hide-s { display: none; }
  .catgrid .catcard span { display: none; }
  .catgrid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .catgrid .catcard { padding: 11px 13px; flex-direction: row; justify-content: space-between; align-items: center; gap: 6px; }
  .catgrid .catcard i { padding-top: 0; margin: 0; white-space: nowrap; }
  .block { margin-top: 24px; }
  .stand td, .stand th { padding: 8px 3px; }
  .leg { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; }
  .mkgrid { max-width: none; }
}
@media (max-width: 420px) {
  .foot-grid { grid-template-columns: 1fr; }
  .logo { font-size: 0.92rem; }
}
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } html { scroll-behavior: auto; } .slip { transition: none; } }

.block > h2 { margin-bottom: 12px; }

/* one pick per match */
.pkline { display: flex; align-items: baseline; gap: 6px; font-size: 0.72rem; color: var(--mute); min-width: 0; }
.pkline small { font-family: var(--mono); font-size: 0.58rem; color: var(--mute); }
.pkline b { color: var(--acid); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pkline i { font-style: normal; font-family: var(--mono); font-weight: 700; color: var(--text); }
.pkline.none b { color: var(--mute); font-weight: 500; }
@media (min-width: 761px) { .mrow .teams .pkline { flex: 0 0 210px; align-self: center; } }
@media (max-width: 760px) { .mrow .teams .pkline { margin-top: 2px; } }

/* ---------- v8: pick row, always-on status, record cards, tidy footer ---------- */
.mrow.pk { grid-template-columns: 58px minmax(0, 1fr) 236px auto 32px; }
.mrow.pk > .pkrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.pst.pend { color: var(--mute); border-color: var(--line2); background: transparent; }
.pkline.none b { color: var(--mute); }

.recbar { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font-size: 0.84rem; color: var(--mute); }
.recbar b { font-family: var(--mono); font-size: 1.5rem; color: var(--text); }
.recbar b i { font-style: normal; color: var(--mute); font-size: 1rem; }
.recbar em { font-style: normal; color: var(--acid); font-weight: 700; }
.rec { display: flex; flex-direction: column; gap: 9px; padding: 13px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; min-width: 250px; scroll-snap-align: start; border-left: 3px solid var(--line2); }
.rec.won { border-left-color: var(--acid); } .rec.lost { border-left-color: var(--hot); }
.rec-lg { font-size: 0.7rem; color: var(--mute); }
.rec-m { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; font-weight: 600; font-size: 0.9rem; }
.rec-m > span:last-child { text-align: right; }
.rec-m b { font-family: var(--mono); font-size: 1.1rem; padding: 2px 9px; background: var(--ink2); border-radius: 8px; color: var(--text); }
.rec-m b i { font-style: normal; color: var(--mute); margin: 0 3px; }
.rec-p { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.reclist { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.reclist .rec { min-width: 0; }
.pickrail .rec { flex: 0 0 280px; }

@media (max-width: 760px) {
  .mrow.pk { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "when star" "teams teams" "pk pk" "mks mks"; gap: 8px 8px; padding: 10px 12px 12px; border-radius: 14px; margin-bottom: 8px; }
  .mrow.pk > .when { grid-area: when; }
  .mrow.pk > .teams { grid-area: teams; gap: 8px; }
  .mrow.pk .team { font-size: 0.98rem; }
  .mrow.pk .team .nm { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }
  .mrow.pk .sc { font-size: 1.05rem; }
  .mrow.pk > .pkrow { grid-area: pk; padding: 8px 10px; background: var(--ink2); border-radius: 10px; }
  .mrow.pk .pkline { font-size: 0.82rem; flex: 1; min-width: 0; flex-wrap: wrap; row-gap: 0; }
  .mrow.pk .pkline b { white-space: normal; }
  .mrow.pk > .mks { grid-area: mks; justify-content: stretch; }
  .mrow.pk .mk { width: 100% !important; }
  .mrow.pk .odd { height: 46px; }
  .mrow.pk .odd small { display: block; }
  .mrow.pk > .star { grid-area: star; }
  body[data-market="goals"] .mrow.pk, body[data-market] .mrow.pk { grid-template-areas: "when star" "teams teams" "pk pk" "mks mks"; }
}

/* footer */
.foot-brand p { margin-top: 10px; }
.foot-bar { align-items: flex-start; }
.foot-bar p { display: flex; gap: 10px; align-items: flex-start; }
@media (max-width: 760px) {
  .foot { padding: 28px 14px 110px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col:nth-of-type(4) { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .foot-col:nth-of-type(4) h5 { width: 100%; margin-bottom: 0; }
  .foot-col .lg-link { display: none; }
  .foot-col a { padding: 3px 0; }
  .foot-bar { flex-direction: column; margin-top: 22px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
  .foot-bar .mono { white-space: normal; }
  .reclist { grid-template-columns: 1fr; }
}
.reclist { margin-bottom: 28px; }

/* =====================================================================
   v9 — "2027" design: big condensed headlines, hero tiles, rings,
   compact match cards, collapsible league sections, live grid
   ===================================================================== */
:root { --glow: 0 10px 40px rgba(0,0,0,.35); }
body {
  background-image:
    radial-gradient(900px 520px at 100% -8%, rgba(216,180,103,0.10), transparent 70%),
    radial-gradient(700px 500px at -10% 30%, rgba(143,179,232,0.08), transparent 70%),
    radial-gradient(600px 400px at 60% 110%, rgba(240,100,92,0.06), transparent 70%);
}

.topbar, .wrap, .foot { position: relative; z-index: 1; }
h1, h2, h3 { letter-spacing: -0.01em; font-weight: 700; line-height: 1.15; }

.pagehead p { font-size: 0.95rem; }
.block-head h2 { font-size: clamp(1.3rem, 4.5vw, 1.8rem); }
.block { margin-top: 30px; }

/* hero tiles */
.hero { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; margin: 6px 0 4px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; text-decoration: none; min-width: 0; overflow: hidden;
  background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); transition: transform .18s, border-color .18s; animation: rise .5s both; }
.tile:nth-child(2) { animation-delay: .07s; } .tile:nth-child(3) { animation-delay: .14s; }
.tile:hover { transform: translateY(-3px); border-color: rgba(216,180,103,.5); }
.tile-pod { background: radial-gradient(420px 220px at 100% 0, rgba(216,180,103,.22), transparent 70%), linear-gradient(160deg, var(--panel2), var(--panel)); box-shadow: var(--glow); }
.tile-k { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .68rem; font-weight: 700; color: var(--acid); }
.tile-k b { margin-left: auto; font-size: 1rem; color: var(--text); }
.pod-lg { font-size: .75rem; color: var(--mute); }
.pod-teams { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 5vw, 2rem); line-height: 1; }
.pod-teams i { font-style: normal; color: var(--mute); font-size: .9rem; }
.pod-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.pod-pick { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pod-pick small { font-family: var(--mono); font-size: .62rem; color: var(--mute); }
.pod-pick b { font-size: 1.05rem; color: var(--acid); }
.pod-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pod-meta em { font-style: normal; font-family: var(--mono); font-size: .8rem; color: var(--text); }
.ring { --pv: 50; flex: none; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--acid) calc(var(--pv) * 1%), rgba(255,255,255,.1) 0); }
.ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--panel); }
.ring b { position: relative; font-family: var(--mono); font-size: 1.15rem; }
.ring b i { font-style: normal; font-size: .65rem; color: var(--mute); }
.tile-live .lt-row { display: grid; grid-template-columns: 38px minmax(0,1fr) auto minmax(0,1fr); gap: 8px; align-items: center; font-size: .84rem; font-weight: 600; }
.lt-min { font-family: var(--mono); font-size: .7rem; color: var(--hot); }
.lt-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-t.r { text-align: right; }
.lt-row b { font-family: var(--mono); padding: 2px 8px; border-radius: 7px; background: var(--ink2); }
.lt-idle { font-size: .85rem; color: var(--mute); line-height: 1.5; }
.lt-idle b { color: var(--text); }
.tile-link { margin-top: auto; font-size: .78rem; color: var(--acid); font-weight: 700; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); display: inline-block; animation: pulse 1.2s infinite; flex: none; }
.pulse.off { background: var(--mute); animation: none; }
.rec-main { display: flex; align-items: center; gap: 14px; }
.rec-txt { display: flex; flex-direction: column; } .rec-txt b { font-family: var(--display); font-size: 1.5rem; } .rec-txt small { color: var(--mute); font-size: .76rem; }
.rec-groups { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.rec-groups span { flex: 1; min-width: 70px; background: var(--ink2); border-radius: 10px; padding: 6px 8px; display: flex; flex-direction: column; }
.rec-groups small { font-size: .62rem; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rec-groups b { font-family: var(--mono); color: var(--acid); }
.rec-empty { display: flex; flex-direction: column; gap: 6px; } .rec-empty b { font-family: var(--display); font-size: 1.4rem; } .rec-empty small { color: var(--mute); font-size: .8rem; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* league sections */
details.lgblock { margin-top: 12px; }
summary.lghead { list-style: none; cursor: pointer; padding: 10px 12px; border-radius: 14px; background: linear-gradient(90deg, var(--panel2), var(--ink2)); border: 1px solid var(--line); }
summary.lghead::-webkit-details-marker { display: none; }
.lname { font-family: var(--display); font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lghead .n { background: var(--acid); color: #0a1020; border-radius: 999px; padding: 1px 8px; font-weight: 700; }
.chev { width: 9px; height: 9px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: rotate(45deg); transition: transform .18s; flex: none; margin: 0 4px 3px 6px; }
details[open] > summary .chev { transform: rotate(-135deg); margin-bottom: -2px; }
details.lgblock > .mrow:first-of-type { margin-top: 6px; }
.lgtoggle { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line2); font-size: .78rem; color: var(--mute); }
.lgtoggle:hover { color: var(--acid); border-color: var(--acid); }

/* rows: desktop keeps the grid; the phone gets a compact card */
.mrow.pk { border-radius: 14px; }
.mrow.pk > .pkgo { display: none; }
.mrow.pk > .mbar, .pkrow .mbar { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); flex: 0 0 56px; overflow: hidden; }
.mbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--acid-d), var(--acid)); border-radius: 4px; }
.pst { padding: 2px 9px; }
.more { display: none; }

@media (max-width: 760px) {
  .wrap { padding: 16px 12px 34px; }
  .hero { grid-template-columns: 1fr; }
  .ring { width: 62px; height: 62px; }
  .mrow.pk { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "when star" "teams teams" "pk go" "mks mks"; gap: 6px 8px; padding: 10px 12px; }
  .mrow.pk > .when { flex-direction: row; gap: 8px; font-size: .72rem; }
  .mrow.pk > .teams { flex-direction: column; align-items: stretch; gap: 6px; }
  .mrow.pk .team { font-size: .95rem; font-weight: 700; }
  .mrow.pk .sc { font-size: 1.15rem; }
  .mrow.pk > .pkrow { grid-area: pk; padding: 0; background: none; }
  .mrow.pk .pkline { flex-wrap: wrap; }
  .mrow.pk .mbar { display: none; }
  .mrow.pk > .pkgo { grid-area: go; display: flex; align-items: center; gap: 6px; }
  .mrow.pk > .pkgo .odd { height: 38px; min-width: 56px; padding: 0 8px; }
  .mrow.pk > .pkgo .odd small { display: none; }
  .more { display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line2); font-size: .72rem; color: var(--mute); font-family: var(--mono); }
  .more::after { content: "▾"; margin-left: 5px; transition: transform .15s; }
  .mrow.open .more { color: var(--acid); border-color: var(--acid); } .mrow.open .more::after { transform: rotate(180deg); }
  .mrow.pk > .mks { grid-area: mks; display: none; }
  .mrow.pk.open > .mks { display: block; }
  .mrow.pk.open > .mks .mk { display: grid; margin-bottom: 6px; }
  .mrow.pk .mk, body[data-market] .mrow.pk .mk { width: 100% !important; }
  .mrow.pk .mk-1x2, .mrow.pk .mk-goals, .mrow.pk .mk-btts, .mrow.pk .mk-dc { display: none; }
  .mrow.pk.open .mk-1x2, .mrow.pk.open .mk-goals, .mrow.pk.open .mk-btts, .mrow.pk.open .mk-dc { display: grid; }
  .mrow.pk > .star { position: static; }
  .mkh { display: none !important; }
  .mtabs { display: none; }
  .catgrid { grid-template-columns: 1fr 1fr; }
}

/* live cards */
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.lcard { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; text-decoration: none; background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid rgba(240,100,92,.35); box-shadow: 0 0 30px rgba(240,100,92,.08); min-width: 0; transition: transform .15s; }
.lcard:hover { transform: translateY(-3px); }
.lc-top { display: flex; justify-content: space-between; gap: 8px; font-size: .7rem; color: var(--mute); }
.lc-lg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-min { display: inline-flex; align-items: center; gap: 6px; color: var(--hot); font-family: var(--mono); font-weight: 700; flex: none; }
.lc-m { display: flex; align-items: center; gap: 8px; font-weight: 700; min-width: 0; }
.lc-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.lc-m .sc { font-size: 1.6rem; color: var(--text); }
.lc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* categories */
.catgroup { margin-top: 26px; }
.grp { font-size: 1.25rem; color: var(--acid); margin-bottom: 10px; }
.catcard { border-radius: 18px; background: linear-gradient(160deg, var(--panel2), var(--panel)); }
.catcard b { font-size: 1rem; }
.catcard i.off { color: var(--mute); }
.acca { background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 20px; padding: 16px; margin-bottom: 14px; }
.acca-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.acca-total { font-size: .8rem; color: var(--mute); } .acca-total b { font-family: var(--display); font-size: 1.8rem; color: var(--acid); margin-left: 6px; }
.leg { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.leg a { text-decoration: none; min-width: 0; } .leg small { display: block; color: var(--mute); font-size: .74rem; }
.catbar, .catscroll { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.catbar::-webkit-scrollbar, .catscroll::-webkit-scrollbar { display: none; }
.catpill { flex: none; }

@media (max-width: 1000px) and (min-width: 761px) { .hero { grid-template-columns: 1fr 1fr; } .tile-pod { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .tile, .lcard, .catcard { animation: none; transition: none; } .pulse { animation: none; } }
.catbar, .catscroll { flex-wrap: nowrap !important; }
@media (max-width: 760px) {
  body .mrow.pk, body[data-market] .mrow.pk, body[data-market="goals"] .mrow.pk { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "when star" "teams teams" "pk go" "mks mks"; }
  .mrow.pk > .pkgo { justify-self: end; }
  .mrow.pk .mk-goals { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .mrow.pk .mk-goals .odd small, .mrow.pk .mk .odd small { white-space: normal; text-overflow: clip; font-size: .62rem; }
  .mrow.pk .odd { height: 44px; }
  .mrow.pk > .pkgo .odd { height: 38px; }
}

/* v9.1: boxed scores + live SEO copy */
.sc { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; margin-left: auto; border-radius: 9px; background: var(--ink2); border: 1px solid var(--line2); color: var(--mute); font-size: 1.05rem; box-shadow: inset 0 -2px 0 rgba(255,255,255,.04); }
[data-state="live"] .sc { color: #fff; background: rgba(240,100,92,.16); border-color: var(--hot); box-shadow: 0 0 14px rgba(240,100,92,.3); }
[data-state="ft"] .sc { color: var(--text); background: var(--panel2); border-color: rgba(255,255,255,.28); }
[data-state="pre"] .sc, [data-state="wait"] .sc { opacity: .75; }
.mrow.pk .sc { min-width: 38px; height: 32px; font-size: 1.15rem; }
.lc-m .sc { min-width: 48px; height: 44px; font-size: 1.7rem; border-radius: 12px; }
time.sc { display: inline; min-width: 0; height: auto; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; color: var(--acid); }
.story { margin-top: 30px; padding: 18px; border-radius: 20px; background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); }
.story h2 { font-size: 1.4rem; margin-bottom: 10px; color: var(--acid); }
.story p { color: #cfd8e3; font-size: .95rem; margin-bottom: 8px; max-width: 75ch; }
.story small { color: var(--mute); font-size: .7rem; }
.lgnote { font-size: .76rem; color: var(--mute); padding: 2px 6px 8px; } .lgnote b { color: var(--acid); } .lgnote b.hot { color: var(--hot); }
.legt { display: flex; flex-direction: column; align-items: center; line-height: 1.2; } .legt small { font-size: .62rem; color: var(--gold); }

/* ===================== v4 visuals (prefixed, so nothing clashes with existing classes) ===================== */
.v4-card {
  background: linear-gradient(165deg, rgba(21,31,43,0.94), rgba(15,23,32,0.94));
  border: 1px solid var(--line); border-radius: 18px; padding: 14px;
  box-shadow: 0 10px 28px -18px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.03);
  min-width: 0;
}
.v4-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.v4-head h3 { font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; }
.v4-head small { color: var(--mute); font-size: .7rem; }

.v4-pulse { margin-top: 24px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.v4-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .v4-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } .v4-pulse { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .v4-tiles { grid-column: 1 / -1; } }
.v4-tile { border-radius: 16px; padding: 12px; background: radial-gradient(120px 80px at 100% 0%, rgba(216,180,103,0.12), transparent 70%), var(--panel2); border: 1px solid var(--line); min-width: 0; }
.v4-tile small { display: block; color: var(--mute); font-size: .64rem; line-height: 1.3; }
.v4-tile b { display: block; font-family: var(--display); font-size: 1.7rem; line-height: 1.05; margin-top: 4px; font-variant-numeric: tabular-nums; }
.v4-tile span { display: block; color: var(--mute); font-size: .72rem; margin-top: 3px; }

.v4-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1.1fr) 30px; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.v4-row:last-of-type { border-bottom: 0; }
.v4-pos { color: var(--mute); font-size: .78rem; font-variant-numeric: tabular-nums; }
.v4-name { font-size: .86rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.v4-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.06); overflow: hidden; min-width: 0; }
.v4-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--sky), var(--acid)); animation: v4grow .9s cubic-bezier(.2,.8,.2,1) both; }
.v4-row.drop .v4-bar i { background: linear-gradient(90deg, var(--hot), #ff9a6b); }
.v4-row b { font-size: .88rem; text-align: right; }
.v4-cut { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; color: var(--mute); font-size: .66rem; }
.v4-cut::before, .v4-cut::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line2) 0 6px, transparent 6px 10px); }

.v4-form { display: grid; grid-template-columns: minmax(0, 1fr) auto 26px; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
.v4-form:last-child { border-bottom: 0; }
.v4-fname { font-size: .86rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.v4-dots { display: inline-flex; gap: 4px; }
.v4-dots i { width: 12px; height: 12px; border-radius: 5px; display: block; }
.v4-dots i.w { background: var(--acid); box-shadow: 0 0 8px rgba(216,180,103,0.35); }
.v4-dots i.d { background: var(--gold); }
.v4-dots i.l { background: rgba(240,100,92,0.85); }
.v4-form b { text-align: right; font-size: .88rem; }

.v4-fx { padding: 9px 0; border-bottom: 1px solid var(--line); }
.v4-fx:last-child { border-bottom: 0; padding-bottom: 0; }
.v4-fx-head { display: flex; justify-content: space-between; gap: 8px; font-size: .84rem; font-weight: 600; }
.v4-fx-head em { color: var(--mute); font-style: normal; font-weight: 400; }
.v4-fx-head small { color: var(--mute); font-size: .72rem; font-weight: 500; white-space: nowrap; }
.v4-chance { display: flex; height: 9px; border-radius: 99px; overflow: hidden; margin: 7px 0 4px; background: rgba(255,255,255,0.05); }
.v4-chance i { display: block; height: 100%; animation: v4grow .9s cubic-bezier(.2,.8,.2,1) both; }
.v4-chance i.h { background: linear-gradient(90deg, var(--acid-d), var(--acid)); }
.v4-chance i.d { background: rgba(255,255,255,0.28); }
.v4-chance i.a { background: linear-gradient(90deg, var(--sky), #2b8fd1); }
.v4-legend { display: flex; justify-content: space-between; font-size: .7rem; color: var(--mute); font-variant-numeric: tabular-nums; gap: 6px; }

.v4-stakes { margin-top: 26px; }
.v4-stake { padding: 20px 14px 16px; }
.v4-track { position: relative; height: 86px; margin: 0 4px; }
.v4-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 99px; background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(216,180,103,0.25)); }
.v4-line { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--line2); }
.v4-line em, .v4-ghost em { position: absolute; top: -2px; left: 4px; font-style: normal; font-size: .62rem; color: var(--mute); white-space: nowrap; }
.v4-line.safe { border-left-color: rgba(240,100,92,0.6); }
.v4-line.safe em { color: #ff8aa1; }
.v4-ghost { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 1.5px dashed var(--sky); }
.v4-ghost em { top: 18px; left: -22px; color: var(--sky); }
.v4-mk { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(216,180,103,0.15), 0 0 16px rgba(216,180,103,0.5); }
.v4-mk.away { background: var(--sky); box-shadow: 0 0 0 4px rgba(143,179,232,0.15), 0 0 16px rgba(143,179,232,0.5); }
.v4-mk b { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .72rem; font-weight: 800; }
.v4-mk small { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .64rem; color: var(--mute); }
.v4-mk.home b { bottom: 20px; }
.v4-mk.home small { display: none; }
.v4-mk.away b { top: 20px; }
.v4-mk.away small { top: 38px; }

.v4-chip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(90deg, rgba(216,180,103,0.12), rgba(143,179,232,0.06)); border: 1px solid rgba(216,180,103,0.25); font-size: .92rem; font-weight: 600; }
.v4-chip span { background: var(--acid); color: #0a1020; font-size: .64rem; font-weight: 900; padding: 4px 9px; border-radius: 99px; }

details.v4-more { margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
details.v4-more > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; font-family: var(--display); font-weight: 800; font-size: 1rem; }
details.v4-more > summary::-webkit-details-marker { display: none; }
details.v4-more > summary span { color: var(--acid); font-family: var(--body); font-size: .74rem; font-weight: 600; margin-left: auto; }
details.v4-more > summary::after { content: "+"; color: var(--acid); font-size: 1.2rem; }
details.v4-more[open] > summary::after { content: "–"; }
.v4-prose { padding: 0 16px 16px; }
.v4-prose p { color: #cfd8e3; font-size: .92rem; margin-bottom: 8px; }

@keyframes v4grow { from { width: 0 !important; } }
@media (prefers-reduced-motion: reduce) { .v4-bar i, .v4-chance i { animation: none; } }

/* ===================== v4.2 home page ===================== */
.v4-picker { margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.v4-picker > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-family: var(--display); font-weight: 800; font-size: 1rem; }
.v4-picker > summary::-webkit-details-marker { display: none; }
.v4-picker > summary b { background: var(--acid); color: #0a1020; border-radius: 99px; padding: 1px 9px; font-size: .8rem; font-variant-numeric: tabular-nums; }
.v4-picker > summary i { margin-left: auto; color: var(--mute); font-style: normal; font-family: var(--body); font-size: .74rem; font-weight: 500; }
.v4-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 14px 14px; scrollbar-width: none; }
.v4-chips::-webkit-scrollbar { display: none; }
.v4-chips a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line2); background: var(--panel2); text-decoration: none; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.v4-chips a b { color: var(--acid); font-variant-numeric: tabular-nums; }
.v4-group { margin-top: 22px; scroll-margin-top: 90px; }
.v4-group h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.v4-group h3 span { color: var(--mute); font-family: var(--body); font-size: .74rem; font-weight: 600; }
.v4-viewall { display: block; text-align: center; margin: 18px 0; padding: 14px; border-radius: 16px; background: var(--acid); color: #0a1020; font-weight: 800; text-decoration: none; }
.v4-prose h3 { font-size: 1rem; margin: 14px 0 6px; }

/* ===================== v4.3 modules: each page leads with its strongest block ===================== */
.v4-pulse, .v4-modgrid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
@media (min-width: 760px) { .v4-pulse, .v4-modgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.v4-mod { background: linear-gradient(165deg, rgba(21,31,43,0.94), rgba(15,23,32,0.94)); border: 1px solid var(--line); border-radius: 18px; padding: 14px; min-width: 0; box-shadow: 0 10px 28px -18px rgba(0,0,0,0.6); }
.v4-mh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.v4-mh h3 { font-size: .95rem; font-weight: 800; }
.v4-mh small { color: var(--mute); font-size: .68rem; text-align: right; }
.v4-big { font-family: var(--display); font-size: 2.2rem; line-height: 1.05; margin: 8px 0 10px; font-variant-numeric: tabular-nums; color: var(--text); }
.v4-lead { background: radial-gradient(260px 160px at 100% 0%, rgba(216,180,103,0.14), transparent 70%), linear-gradient(165deg, rgba(21,31,43,0.96), rgba(15,23,32,0.96)); border-color: rgba(216,180,103,0.28); padding: 18px; }
.v4-lead .v4-big { font-size: 3.2rem; color: var(--acid); }
.v4-table .v4-row:last-child { border-bottom: 0; }
.v4-pair { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .84rem; color: var(--mute); margin-top: 6px; }
.v4-pair b { color: var(--text); font-weight: 700; }
.v4-note { font-size: .88rem; color: #cfd8e3; line-height: 1.45; }
.v4-mod .v4-form:last-child, .v4-mod .v4-fx:last-child { border-bottom: 0; }
.v4-lead { grid-column: 1 / -1; }

/* ===================== v4.4 layouts ===================== */
.v4-layout { display: grid; gap: 14px; }
.v4-human { font-size: 1rem; line-height: 1.5; color: #e4ebf3; padding: 14px 16px; border-left: 3px solid var(--acid); background: rgba(216,180,103,0.05); border-radius: 0 14px 14px 0; }
.v4-cap { font-size: .78rem; color: var(--mute); line-height: 1.45; }

/* title duel */
.v4-duel { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.v4-duo small, .v4-gapbox small { display: block; color: var(--mute); font-size: .66rem; }
.v4-duo b { display: block; font-family: var(--display); font-size: 1.3rem; line-height: 1.1; margin: 4px 0; }
.v4-duo span { color: var(--mute); font-size: .78rem; }
.v4-duo.right { text-align: right; }
.v4-gapbox { text-align: center; min-width: 92px; }
.v4-gapbox b { display: block; font-family: var(--display); font-size: 2.6rem; color: var(--acid); line-height: 1; }
.v4-gapbox i { display: block; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--sky), var(--acid)); margin-top: 8px; }
.v4-race { position: relative; margin-top: 18px; display: grid; gap: 6px; }
.v4-racer { position: relative; height: 22px; }
.v4-racer::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.v4-racer span { position: absolute; top: 0; transform: translateX(-50%); }
.v4-racer b { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--acid); font-size: 0; box-shadow: 0 0 10px rgba(216,180,103,0.5); }

/* relegation */
.v4-sink { display: grid; gap: 8px; }
.v4-srow { display: grid; grid-template-columns: 26px minmax(0,1fr) minmax(0,1.3fr) 34px; gap: 8px; align-items: center; }
.v4-spos, .v4-sname { font-size: .84rem; }
.v4-sname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.v4-spos { color: var(--mute); font-variant-numeric: tabular-nums; }
.v4-strack { position: relative; height: 10px; border-radius: 99px; background: rgba(255,255,255,0.06); }
.v4-strack i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--hot), #ff9a6b); animation: v4grow .9s cubic-bezier(.2,.8,.2,1) both; }
.v4-strack em { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 1px dashed var(--text); }
.v4-srow b { text-align: right; font-size: .86rem; }

/* form heatmap */
.v4-heat { display: grid; gap: 6px; }
.v4-hrow { display: grid; grid-template-columns: minmax(0,1fr) auto 28px; gap: 8px; align-items: center; }
.v4-hname { font-size: .84rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v4-cells { display: inline-grid; grid-auto-flow: column; gap: 4px; }
.v4-cells i { width: 22px; height: 22px; border-radius: 6px; display: block; }
.v4-cells i.w { background: var(--acid); }
.v4-cells i.d { background: var(--gold); }
.v4-cells i.l { background: rgba(240,100,92,0.85); }
.v4-cells i.now { outline: 2px solid var(--text); outline-offset: 2px; }
.v4-hrow b { text-align: right; font-size: .86rem; }

/* goal factory */
.v4-quad { width: 100%; height: auto; }
.v4-quad .v4-axis { stroke: var(--line2); stroke-dasharray: 4 4; }
.v4-quad text { fill: var(--mute); font-size: 9px; font-family: var(--body); }
.v4-quad .v4-lbl { font-size: 8px; }
.v4-quad .v4-dot { fill: var(--acid); }
.v4-quad text:not(.v4-lbl) { fill: var(--text); font-weight: 700; }

/* mismatch slope */
.v4-slopesvg { width: 100%; height: auto; }
.v4-slopesvg text { fill: var(--text); font-size: 10px; font-family: var(--body); font-weight: 700; }
.v4-slopesvg .v4-lbl { fill: var(--mute); font-size: 8px; font-weight: 600; }
.v4-slope { stroke-width: 2; fill: none; }
.v4-slope.up { stroke: var(--acid); }
.v4-slope.down { stroke: var(--hot); }

/* fixture board */
.v4-fixtures { display: grid; gap: 10px; }
.v4-fxc { position: relative; padding: 12px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); }
.v4-fxh { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: .86rem; }
.v4-fxh i { color: var(--mute); font-style: normal; font-weight: 400; }
.v4-fxh small { color: var(--mute); font-size: .72rem; white-space: nowrap; }
.v4-tag { position: absolute; top: 10px; right: 12px; font-style: normal; font-size: .6rem; padding: 3px 7px; border-radius: 99px; }
.v4-tag.toss { background: rgba(255,200,61,0.15); color: var(--gold); }
.v4-tag.sure { background: rgba(143,179,232,0.15); color: var(--sky); }

/* match layouts */
.v4-mlayout { display: grid; gap: 12px; margin-top: 22px; padding: 16px; border-radius: 18px; background: linear-gradient(165deg, rgba(21,31,43,0.94), rgba(15,23,32,0.94)); border: 1px solid var(--line); }
.v4-mlab { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--acid); }
.v4-mlayout .v4-track { position: relative; height: 84px; margin: 0 4px; }
.v4-mlayout .v4-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 99px; background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(216,180,103,0.25)); }
.v4-mlayout .v4-line { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--line2); }
.v4-mlayout .v4-line em, .v4-mlayout .v4-ghost em { position: absolute; top: -2px; left: 4px; font-style: normal; font-size: .62rem; color: var(--mute); white-space: nowrap; }
.v4-mlayout .v4-line.safe { border-left-color: rgba(240,100,92,0.6); }
.v4-mlayout .v4-ghost { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 1.5px dashed var(--sky); }
.v4-mlayout .v4-ghost em { top: 18px; left: -22px; color: var(--sky); }
.v4-mlayout .v4-mk { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 14px rgba(216,180,103,0.5); }
.v4-mlayout .v4-mk.away { background: var(--sky); box-shadow: 0 0 14px rgba(143,179,232,0.5); }
.v4-mlayout .v4-mk b { position: absolute; left: 50%; transform: translateX(-50%); top: 22px; white-space: nowrap; font-size: .72rem; font-weight: 800; }
.v4-mlayout .v4-mk.away b { top: -26px; }

.v4-pscale { position: relative; height: 70px; margin: 0 6px; }
.v4-pscale::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 99px; background: rgba(255,255,255,0.07); }
.v4-pbar { position: absolute; top: 50%; height: 6px; margin-top: -3px; border-radius: 99px; background: var(--gold); }
.v4-pm { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; }
.v4-pm.model { background: var(--acid); }
.v4-pm.price { background: var(--sky); }
.v4-pm b { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .7rem; font-weight: 700; }
.v4-pm.model b { top: -22px; }
.v4-pm.price b { top: 18px; }

.v4-twin { display: grid; gap: 10px; }
.v4-tr { display: grid; grid-template-columns: minmax(0,1fr) 2fr 38px; gap: 8px; align-items: center; font-size: .86rem; font-weight: 600; }
.v4-tr span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v4-tbar { height: 14px; border-radius: 99px; background: rgba(255,255,255,0.06); overflow: hidden; display: block; }
.v4-tbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--acid-d), var(--acid)); border-radius: 99px; animation: v4grow .9s cubic-bezier(.2,.8,.2,1) both; }
.v4-tr.away .v4-tbar i { background: linear-gradient(90deg, #2b8fd1, var(--sky)); }
.v4-tr b { text-align: right; }

.v4-gauge svg { width: 100%; max-width: 260px; height: auto; display: block; margin: 0 auto; }
.v4-arc { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 12; stroke-linecap: round; }
.v4-needle { stroke: var(--acid); stroke-width: 3; stroke-linecap: round; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.v4-hub { fill: var(--acid); }
.v4-gl { display: flex; justify-content: space-between; font-size: .76rem; color: var(--mute); margin-top: 4px; gap: 6px; }
@keyframes v4grow { from { width: 0 !important; } }

/* ===================== v4.6 match lifecycle ===================== */
.v4-stage { margin-top: 22px; padding: 16px; border-radius: 18px; background: linear-gradient(165deg, rgba(21,31,43,0.94), rgba(15,23,32,0.94)); border: 1px solid var(--line); display: grid; gap: 12px; }
.v4-stg-h { font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--acid); }
.v4-st-live .v4-stg-h { color: var(--hot); }
.v4-st-ht .v4-stg-h { color: var(--gold); }
.v4-st-ft .v4-stg-h { color: var(--sky); }
.v4-score { display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 6px 12px; align-items: center; font-size: .9rem; font-weight: 600; }
.v4-score b { font-family: var(--display); font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.v4-formpair, .v4-table-after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v4-formpair .right, .v4-table-after .right { text-align: right; }
.v4-formpair small, .v4-table-after small, .v4-next small { display: block; color: var(--mute); font-size: .68rem; }
.v4-formpair .v4-dots { display: inline-flex; gap: 4px; margin-top: 4px; }
.v4-formpair .v4-dots i { width: 14px; height: 14px; border-radius: 5px; display: block; }
.v4-formpair .v4-dots i.w { background: var(--acid); }
.v4-formpair .v4-dots i.d { background: var(--gold); }
.v4-formpair .v4-dots i.l { background: rgba(240,100,92,0.85); }
.v4-table-after b { display: block; font-family: var(--display); font-size: 1.6rem; margin-top: 2px; }
.v4-table-after span { color: var(--mute); font-size: .78rem; }
.v4-sub { font-size: .7rem; color: var(--mute); }
.v4-nexts { display: grid; gap: 8px; }
.v4-next { padding: 10px 12px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); }
.v4-next b { display: block; font-size: .95rem; margin-top: 2px; }
.v4-next span { color: var(--mute); font-size: .78rem; }

/* ===================== v4.7 movers and week in review ===================== */
.v4-movers, .v4-week { margin-top: 22px; padding: 16px; border-radius: 18px; background: linear-gradient(165deg, rgba(21,31,43,0.94), rgba(15,23,32,0.94)); border: 1px solid var(--line); display: grid; gap: 12px; }
.v4-mhead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.v4-mhead h2 { font-size: 1.1rem; }
.v4-mhead small { color: var(--mute); font-size: .72rem; }
.v4-mvgroup { display: grid; gap: 6px; }
.v4-mvgroup > small { color: var(--mute); font-size: .68rem; }
.v4-mv { display: grid; grid-template-columns: 22px minmax(0,1fr) auto 30px; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); }
.v4-mv.up .v4-arrow { color: var(--acid); }
.v4-mv.down .v4-arrow { color: var(--hot); }
.v4-mv.up b { color: var(--acid); }
.v4-mv.down b { color: var(--hot); }
.v4-mvname { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v4-mvchg { color: var(--mute); font-size: .76rem; font-variant-numeric: tabular-nums; }
.v4-mv b { font-family: var(--display); font-size: 1.2rem; text-align: right; }
.v4-wk-results { display: grid; gap: 6px; }
.v4-wk-r { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--panel2); font-size: .86rem; font-weight: 600; }
.v4-wk-r b { font-family: var(--display); font-size: 1.1rem; text-align: center; font-variant-numeric: tabular-nums; }
.v4-wk-r .right { text-align: right; }
.v4-wk-next { display: grid; gap: 6px; }
.v4-wk-n { display: grid; gap: 2px; padding: 8px 10px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); }
.v4-wk-n span { font-weight: 600; font-size: .9rem; }
.v4-wk-n i { color: var(--mute); font-style: normal; font-weight: 400; }
.v4-wk-n small { color: var(--mute); font-size: .74rem; }

/* =========================================================
   2030 layer: wider desktop layout, spotlight picks, probability split bars,
   and a cleaner league table. Mobile keeps its single column.
   ========================================================= */

/* Desktop: use the screen. Board on the left, a sticky side column on the right. */
@media (min-width: 1100px) {
  .wrap { max-width: 1340px; padding-top: 26px; }
  .h30 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
  .h30-main { min-width: 0; }
  .h30-side { position: sticky; top: 84px; display: grid; gap: 16px; }
  .h30-side .block { margin: 0; }
  .h30-side .v4-more { margin: 0; }
}

/* Spotlight: the strongest model picks, as cards with a probability ring. */
.spots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 18px; }
@media (min-width: 900px) { .spots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.spot {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: 14px; border-radius: 18px; text-decoration: none; color: var(--text);
  background: radial-gradient(120% 90% at 100% 0%, rgba(216,180,103,.10), transparent 60%), var(--panel);
  border: 1px solid var(--line); transition: transform .18s ease, border-color .18s ease;
}
.spot:hover { transform: translateY(-2px); border-color: rgba(216,180,103,.45); }
.spot-lg { font: 700 .66rem var(--mono); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-m { font-weight: 800; font-size: .95rem; line-height: 1.25; }
.spot-m i { font-style: normal; color: var(--mute); font-weight: 600; padding: 0 2px; }
.spot-row { display: flex; align-items: center; gap: 12px; }
.ring {
  --p: 0; flex: 0 0 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--acid) calc(var(--p) * 1%), rgba(255,255,255,.08) 0);
}
.ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--panel); }
.ring b, .ring small { position: relative; font: 800 1rem var(--display); }
.ring small { font-size: .62rem; margin-left: -2px; align-self: flex-start; margin-top: 16px; color: var(--mute); }
.spot-pick { display: flex; flex-direction: column; min-width: 0; }
.spot-pick small { font: 700 .62rem var(--mono); color: var(--mute); }
.spot-pick b { font-weight: 800; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-pick em { font-style: normal; font: 700 .8rem var(--mono); color: var(--acid); }

/* Probability split: the model's home / draw / away shares as one bar. */
.split { display: flex; gap: 2px; height: 6px; border-radius: 6px; overflow: hidden; flex: 0 0 120px; background: rgba(255,255,255,.06); }
.split i { display: block; height: 100%; min-width: 2px; }
.sp-h { background: var(--acid); }
.sp-d { background: #7d8ea3; }
.sp-a { background: var(--hot); }

/* Match rows: a little more air on desktop. */
@media (min-width: 1100px) {
  .mrow.pk { grid-template-columns: 62px minmax(0, 1fr) 250px auto 34px; padding: 12px 14px; }
  .mrow.pk .split { flex-basis: 150px; }
}

/* League tables: clearer header, zebra rows, zone colours for the top and bottom. */
.stand th { position: sticky; top: 0; background: var(--panel); z-index: 1; padding: 10px 6px; }
.stand tbody tr:nth-child(even) td { background: rgba(255,255,255,.015); }
.stand tbody tr:hover td { background: rgba(216,180,103,.05); }
.stand td:first-child { font-weight: 800; }
.stand tr.zone-top td:first-child { box-shadow: inset 3px 0 0 var(--acid); }
.stand tr.zone-down td:first-child { box-shadow: inset 3px 0 0 var(--hot); }
.stand td.l, .stand th.l { text-align: left; }
/* Desktop rows: the pick line sits on top and the probability bar gets its own line under it, so nothing overlaps. */
@media (min-width: 1100px) {
  .mrow.pk > .pkrow { flex-wrap: wrap; row-gap: 6px; }
  .mrow.pk .split { flex: 0 0 100%; height: 5px; }
}
.ring b { font-size: .92rem; letter-spacing: -.02em; }
.ring small { display: none; }

/* Phone rows: show the full pick name and keep the probability bar on its own line. */
@media (max-width: 760px) {
  .mrow.pk > .pkrow { flex-wrap: wrap; row-gap: 6px; }
  .mrow.pk .pkline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
  .mrow.pk .pkline b { white-space: normal; overflow: visible; text-overflow: clip; flex: 1 1 auto; }
  .mrow.pk .split { flex: 0 0 100%; height: 5px; order: 3; }
  .spot-pick b { white-space: normal; }
  .spot-m { font-size: .9rem; }
}

/* Fixture tags sit on their own line under the team names, so they never cover the kick-off time. */
.v4-fxc .v4-tag { position: static; display: inline-block; margin: 0 0 8px; }
/* League tables: the top four get the lime marker, whatever the league. */
.stand tbody tr:nth-child(-n+4) td:first-child { box-shadow: inset 3px 0 0 var(--acid); }

/* Match page, desktop: win probability on the left, every price on the right. */
@media (min-width: 1100px) {
  .m30 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 20px; align-items: start; }
  .m30 .block { margin: 0; }
  .m30-a .block h2, .m30-b .block h2 { margin-bottom: 12px; }
}

/* Model vs market card on the match page */
.mvm .mvm-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.mvm .mvm-row:first-of-type { border-top: 0; }
.mvm-n { font-weight: 700; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mvm-bars { display: grid; gap: 4px; }
.mvm-bars i { display: block; height: 7px; border-radius: 6px; }
.mv-m { background: var(--acid); }
.mv-k { background: rgba(255,255,255,.22); }
.mvm-v { font: 800 .95rem var(--display); white-space: nowrap; text-align: right; }
.mvm-v small { font: 600 .7rem var(--mono); color: var(--mute); }
.mvm-key { margin: 10px 0 0; font: 600 .7rem var(--mono); color: var(--mute); }
.mvm-key i { display: inline-block; width: 12px; height: 6px; border-radius: 4px; margin: 0 4px 0 8px; vertical-align: middle; }
.mvm-key i:first-child { margin-left: 0; }
.mvm{margin-bottom:14px}.mvm h2{margin:0 0 6px}

/* Join block */
.join-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.join-btn { flex: 1 1 140px; text-align: center; padding: 11px 14px; border-radius: 12px; font-weight: 800; text-decoration: none; font-size: .9rem; }
.join-btn.tg { background: var(--sky); color: #04131c; }
.join-btn.wa { background: var(--acid); color: #0a1204; }
.foot-join { font-size: .84rem; margin-top: 10px; }
.foot-join a { color: var(--acid); text-decoration: none; }

/* Track record rows */
.tr-list { display: grid; gap: 0; }
.tr-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 200px) 64px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.tr-d { font: 600 .74rem var(--mono); color: var(--mute); }
.tr-m b { display: block; font-size: .9rem; }
.tr-m small { color: var(--mute); font-size: .74rem; }
.tr-p { font-size: .84rem; min-width: 0; }
.tr-p small { display: block; color: var(--mute); font: 600 .62rem var(--mono); }
.tr-p em { font-style: normal; color: var(--acid); font-family: var(--mono); }
.tr-s { font: 800 .72rem var(--mono); text-align: center; padding: 5px 8px; border-radius: 999px; border: 1px solid var(--line2); }
.tr-s.won { color: var(--acid); border-color: rgba(216,180,103,.5); }
.tr-s.lost { color: var(--hot); border-color: rgba(240,100,92,.5); }
@media (max-width: 640px) { .tr-row { grid-template-columns: 56px minmax(0, 1fr) 58px; } .tr-p { display: none; } }

/* =========================================================
   League board: a matchday layout with a league-coloured identity bar.
   ========================================================= */
.lgb { --lh: 150; --lc: hsl(var(--lh) 85% 62%); --lc-soft: hsla(var(--lh), 85%, 62%, .14); display: grid; gap: 18px; margin-top: 10px; }
.lgb-hero {
  position: relative; overflow: hidden; border-radius: 20px; padding: 18px 20px; border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--lc-soft), transparent 60%), var(--panel);
  display: grid; gap: 14px;
}
.lgb-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--lc); }
.lgb-id { display: flex; gap: 14px; align-items: center; min-width: 0; }
.lgb-id > div { min-width: 0; }
.lgb-id small { display: block; font: 700 .66rem var(--mono); color: var(--lc); }
.lgb-id h1 { margin: 2px 0 4px; font: 700 clamp(1.25rem, 3vw, 1.7rem) var(--body); letter-spacing: -.02em; }
.lgb-id p { margin: 0; color: var(--mute); font-size: .9rem; }
.lgb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lgb-stats > div { background: var(--ink2); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; min-width: 0; }
.lgb-stats b { display: block; font: 800 1.25rem var(--mono); font-variant-numeric: tabular-nums; }
.lgb-stats span { display: block; color: var(--mute); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lgb-strip { display: grid; gap: 8px; }
.lgb-strip h2, .lgb-section h2, .lgb-table h2, .lgb-others h2 { margin: 0 0 10px; font: 700 .8rem var(--mono); color: var(--mute); }
.lgb-best { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.lgb-chip {
  flex: 0 0 auto; display: grid; gap: 2px; min-width: 190px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--lc);
}
.lgb-chip b { font: 800 1.1rem var(--mono); color: var(--lc); }
.lgb-chip span { font-size: .84rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lgb-chip em { font-style: normal; color: var(--mute); font-size: .76rem; }
.lgb-grid { display: grid; gap: 18px; min-width: 0; }
.lgb-main, .lgb-side { min-width: 0; display: grid; gap: 18px; align-content: start; }
.lgb-day { margin-bottom: 14px; }
.lgb-day h3 { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; font-size: .92rem; font-weight: 700; }
.lgb-day h3 small { color: var(--mute); font: 600 .72rem var(--mono); }
.lgb-list { display: grid; border-left: 2px solid var(--line); margin-left: 6px; padding-left: 14px; gap: 8px; position: relative; }
.lgb-fx {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.1fr) 18px; gap: 12px; align-items: center;
  padding: 11px 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.lgb-fx::before { content: ""; position: absolute; left: -21px; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: var(--lc); }
.lgb-fx:hover { border-color: var(--lc); transform: translateX(2px); }
.lgb-time { font: 700 .86rem var(--mono); color: var(--mute); font-variant-numeric: tabular-nums; }
.lgb-teams { display: grid; gap: 4px; min-width: 0; }
.lgb-teams > span { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; min-width: 0; }
.lgb-teams > span:last-child { color: var(--mute); font-weight: 600; }
.lgb-read { display: grid; gap: 6px; min-width: 0; }
.lgb-pick { font-size: .8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lgb-pick small { color: var(--mute); margin-right: 6px; font: 600 .62rem var(--mono); }
.lgb-pick b { color: var(--lc); margin-left: 4px; font-family: var(--mono); }
.lgb-pick.none { color: var(--mute); }
.lgb-go { color: var(--mute); font-size: 1.2rem; text-align: center; }
.lgb-table { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.lgb-table .tablewrap { border: 0; background: none; margin: 0; }
.lgb-table .tblcap { display: none; }
.lgb-others { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.lgb .stand th { position: sticky; top: 0; }
.lgb .stand td:first-child { color: var(--lc); }
@media (min-width: 1100px) {
  .lgb-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
  .lgb-side { position: sticky; top: 84px; }
  .lgb-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}
@media (max-width: 640px) {
  .lgb-fx { grid-template-columns: 46px minmax(0, 1fr) 14px; }
  .lgb-read { grid-column: 2 / 3; }
  .lgb-go { display: none; }
  .lgb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Contact buttons */
.cbtns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 20px; }
.cbtn { text-align: left; display: grid; gap: 4px; padding: 16px; border-radius: 16px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); cursor: pointer; font: inherit; }
.cbtn:hover { border-color: var(--acid); }
.cbtn b { font-size: 1rem; }
.cbtn span { color: var(--mute); font-size: .84rem; }
@media (max-width: 560px) { .cbtns { grid-template-columns: 1fr; } }
.linkish { background: none; border: 0; padding: 0; color: var(--acid); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.join-btn { border: 0; cursor: pointer; font: inherit; }

/* Kick-off passed but no live score in our feed: say so plainly. */
.pst.pend { opacity: .85; }

/* Shown when a live minute has not moved for a while */
.stale-note { color: var(--hot); font: 600 .72rem var(--mono); white-space: nowrap; }

/* Phones: spotlight picks become a compact horizontal strip instead of tall cards. */
@media (max-width: 760px) {
  .spots { display: flex; overflow-x: auto; gap: 8px; scroll-snap-type: x mandatory; margin: 4px -12px 14px; padding: 0 12px; scrollbar-width: none; }
  .spots::-webkit-scrollbar { display: none; }
  .spot { flex: 0 0 176px; scroll-snap-align: start; padding: 10px; gap: 6px; border-radius: 14px; }
  .spot-lg { font-size: .58rem; }
  .spot-m { font-size: .8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .spot-row { gap: 8px; align-items: center; }
  .ring { flex: 0 0 40px; height: 40px; }
  .ring::before { inset: 4px; }
  .ring b { font-size: .72rem; }
  .spot-pick small { display: none; }
  .spot-pick b { font-size: .78rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .spot-pick em { font-size: .72rem; }
}

/* ---- Betting categories on phones: wrap into rows, never slide sideways, page never scrolls sideways ---- */
html, body { overflow-x: hidden; max-width: 100%; }
@media (max-width: 760px) {
  nav.catbar, .catbar {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box;
    padding: 6px 8px !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .catbar .catscroll, .catscroll {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .catscroll > a, .catscroll > button, .catpill {
    flex: 0 0 auto !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    padding: 6px 10px !important;
    white-space: nowrap;
  }
}

/* ---- Footer as cards ---- */
.foot-card .foot-brand, .foot-card .foot-col, .foot-card .foot-bar {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
.foot-card .foot-grid { gap: 14px; }
.foot-card .foot-bar { margin-top: 16px; border-top: 1px solid var(--line); }
.foot-card .foot-col a { display: block; padding: 4px 0; }

/* ---- Page headings: centred and composed ---- */
.pagehead { text-align: center; }
.pagehead h1 { margin-left: auto; margin-right: auto; }
.pagehead p { margin-left: auto; margin-right: auto; max-width: 62ch; }
.pagehead .chips { justify-content: center; }
.block-head { justify-content: center; text-align: center; }
.block-head h2 { margin-left: auto; margin-right: auto; }

/* ================= Weekend match predictions ================= */
.wk-wrap { max-width: 1100px; margin: 0 auto; padding: 0 14px; }
.wk-intro { text-align: center; color: var(--mute); max-width: 68ch; margin: 6px auto 18px; font-size: .93rem; line-height: 1.6; }
.wk-day { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin: 14px 0; }
.wk-day > header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; margin-bottom: 12px; }
.wk-day > header h2 { margin: 0; font-size: 1rem; font-weight: 800; color: var(--text); }
.wk-date { color: var(--mute); font-size: .78rem; }
.wk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wk-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--panel2); border: 1px solid var(--line); border-radius: 13px; padding: 10px 12px; }
.wk-row > a { display: grid; gap: 2px; min-width: 0; color: var(--text); text-decoration: none; flex: 1; }
.wk-when { font-size: .7rem; color: var(--mute); }
.wk-teams { font-weight: 700; font-size: .92rem; line-height: 1.3; }
.wk-teams em { color: var(--mute); font-style: normal; font-weight: 500; }
.wk-league { font-size: .72rem; color: var(--mute); }
.wk-pick { flex: none; font-size: .7rem; font-weight: 800; color: #0a1020; background: var(--acid); border-radius: 99px; padding: 5px 10px; white-space: nowrap; }
.wk-score { flex: none; font-weight: 900; font-size: 1rem; color: var(--text); white-space: nowrap; }
.wk-score i { font-style: normal; color: var(--mute); margin: 0 4px; }
.wk-empty { color: var(--mute); font-size: .86rem; text-align: center; background: var(--panel2); border: 1px dashed var(--line2); border-radius: 13px; padding: 14px; margin: 0; }
.wk-hot { background: linear-gradient(180deg, rgba(216,180,103,0.07), var(--panel) 60%); border-color: rgba(216,180,103,0.22); }
.wk-hotgrid { display: grid; gap: 8px; grid-template-columns: 1fr; }
.wk-hotcard { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--panel2); border: 1px solid rgba(216,180,103,0.20); border-radius: 13px; padding: 11px 12px; }
.wk-hotcard > a { color: var(--text); text-decoration: none; font-weight: 700; font-size: .9rem; flex: 1; min-width: 0; }
.wk-hotcard small { display: block; color: var(--mute); font-weight: 500; font-size: .72rem; margin-top: 3px; }
.wk-faq { margin: 0; text-align: left; }
.wk-faq dt { font-weight: 800; margin-top: 12px; color: var(--text); }
.wk-faq dd { margin: 4px 0 0; color: var(--mute); font-size: .9rem; line-height: 1.55; }
@media (min-width: 760px) {
  .wk-list { grid-template-columns: 1fr 1fr; }
  .wk-hotgrid { grid-template-columns: 1fr 1fr; }
  .wk-day { padding: 20px; }
}

/* ================= Footer: centred cards with compact links ================= */
.foot-card { text-align: center; }
.foot-card .foot-grid { grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .foot-card .foot-grid { grid-template-columns: 1fr 1fr 1fr; } }
.foot-card .foot-brand { text-align: center; }
.foot-card .foot-brand p { margin-left: auto; margin-right: auto; }
.foot-card .foot-col { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.foot-card .foot-col h5 { width: 100%; text-align: center; margin: 0 0 4px; }
.foot-card .foot-col a { display: inline-block; padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--panel2); font-size: 12px; line-height: 1.2; white-space: nowrap; }
.foot-card .foot-col a:hover { border-color: var(--acid); }
.foot-card .foot-bar { flex-direction: column; align-items: center; text-align: center; }
.foot-card .foot-bar p { margin-left: auto; margin-right: auto; }

/* ================= Category strip: tighter on phones ================= */
@media (max-width: 760px) {
  .catbar .catscroll, .catscroll { gap: 5px !important; }
  .catbar .catscroll > a, .catscroll > a, .catpill { font-size: 11px !important; padding: 5px 9px !important; }
}

/* ---- Round fixes: rows never overflow, picks wrap, smaller text ---- */
.wk-wrap, .wk-day, .wk-list, .wk-row, .wk-row > a, .wk-hotcard { max-width: 100%; min-width: 0; box-sizing: border-box; }
.wk-list { grid-template-columns: minmax(0, 1fr); }
.wk-row { flex-wrap: wrap; }
.wk-row > a { flex: 1 1 60%; }
.wk-teams { overflow-wrap: anywhere; font-size: .86rem; }
.wk-pick { white-space: normal; text-align: center; font-size: .66rem; max-width: 100%; }
.wk-fav { background: var(--panel); color: var(--acid); border: 1px solid rgba(216,180,103,0.35); }
.wk-when { font-size: .66rem; }
.wk-league { font-size: .66rem; }
@media (min-width: 760px) { .wk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* footer smaller on phones */
.foot-card .foot-col h5 { font-size: .64rem; }
.foot-card .foot-col a { font-size: 10.5px; padding: 4px 8px; }
.foot-card .foot-brand p { font-size: .78rem; }
.foot-card .foot-bar p { font-size: .68rem; }

/* category strip: slimmer on phones */
@media (max-width: 760px) {
  .catbar, nav.catbar { padding: 4px 6px !important; }
  .catbar .catscroll, .catscroll { gap: 4px !important; }
  .catbar .catscroll > a, .catscroll > a, .catpill { font-size: 10px !important; padding: 3px 7px !important; line-height: 1.1 !important; }
}

/* ---------- Scout AI helper (corner, fixed, small) ---------- */
.scout { position: fixed; right: 12px; bottom: 12px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.scout-fab { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; min-height: 44px; border-radius: 999px; background: var(--panel); border: 1px solid rgba(216,180,103,.4); box-shadow: 0 8px 24px rgba(0,0,0,.5); font-family: var(--mono); font-weight: 700; font-size: .8rem; color: var(--text); transition: transform .2s, border-color .2s; }
.scout-fab:hover { transform: translateY(-2px); border-color: var(--acid); }
.scout-fab img { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.scout-fab[aria-expanded="true"] { border-color: var(--acid); }
.scout-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); animation: scoutPulse 2s infinite; flex: none; }
@keyframes scoutPulse { 0% { box-shadow: 0 0 0 0 rgba(216,180,103,.6); } 70% { box-shadow: 0 0 0 9px rgba(216,180,103,0); } 100% { box-shadow: 0 0 0 0 rgba(216,180,103,0); } }
.scout-panel { width: min(310px, calc(100vw - 24px)); max-height: min(460px, 64vh); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line2); border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.6); overflow: hidden; animation: scoutIn .25s ease; }
.scout-panel[hidden] { display: none; }
@keyframes scoutIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.scout-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.scout-id { display: flex; align-items: center; gap: 10px; }
.scout-id img { width: 34px; height: 34px; border-radius: 10px; }
.scout-id b { display: block; font-family: var(--display); font-size: 1.05rem; line-height: 1.1; }
.scout-id small { color: var(--mute); font-size: .7rem; }
.scout-x { width: 32px; height: 32px; border-radius: 50%; background: var(--panel2); color: var(--text); font-size: 1.2rem; line-height: 1; }
.scout-log { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.scout-msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: .84rem; line-height: 1.45; animation: scoutIn .25s ease; }
.scout-msg.bot { background: var(--panel2); align-self: flex-start; border-bottom-left-radius: 4px; }
.scout-msg.me { background: var(--acid); color: #0a1020; align-self: flex-end; font-weight: 600; border-bottom-right-radius: 4px; }
.scout-msg a { color: var(--acid); font-weight: 700; }
.scout-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; }
.scout-chips button { padding: 8px 11px; min-height: 36px; border-radius: 999px; border: 1px solid var(--line2); font-size: .76rem; font-weight: 600; background: transparent; }
.scout-chips button:hover { border-color: var(--acid); color: var(--acid); }
.scout-ask { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--line); }
.scout-ask input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line2); background: var(--ink2); font-size: 16px; }
.scout-ask button { padding: 10px 14px; border-radius: 12px; background: var(--acid); color: #0a1020; font-weight: 800; min-height: 42px; }

/* ---------- Notes page ---------- */
.notes-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 10px; }
.mic-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; min-height: 48px; border-radius: 999px; background: var(--acid); color: #0a1020; font-weight: 800; }
.mic-btn[aria-pressed="true"] { background: var(--hot); color: #fff; animation: scoutPulse 1.4s infinite; }
.mic-btn:disabled { opacity: .5; }
.notes-btn { padding: 10px 14px; min-height: 44px; border-radius: 12px; border: 1px solid var(--line2); font-weight: 700; font-size: .8rem; }
.notes-btn:hover { border-color: var(--acid); color: var(--acid); }
.notes-box { width: 100%; min-height: 260px; padding: 14px; border-radius: var(--r); border: 1px solid var(--line2); background: var(--ink2); color: var(--text); font-size: 16px; line-height: 1.55; resize: vertical; }
.notes-status { font-size: .8rem; color: var(--mute); min-height: 1.2em; margin-top: 8px; }

/* Keep the footer's last lines clear of the Scout button */
.foot { padding-bottom: 88px; }
.mainnav { overflow-x: auto; scrollbar-width: none; }
.mainnav::-webkit-scrollbar { display: none; }

/* ---------- Scout: noticeable without covering content ---------- */
.scout-bubble { position: relative; opacity: 0; transform: translateY(6px) scale(.96); pointer-events: none; transition: opacity .3s, transform .3s; background: var(--acid); color: #0a1020; font-weight: 800; font-size: .78rem; padding: 8px 12px; border-radius: 12px 12px 4px 12px; box-shadow: 0 10px 24px rgba(0,0,0,.45); text-decoration: none; white-space: nowrap; margin-right: 4px; }
.scout-bubble.on { opacity: 1; transform: none; pointer-events: auto; }
.scout-bubble b { margin-left: 4px; }
.scout-fab.scout-blink { animation: scoutBlink 3.6s ease-in-out infinite; }
@keyframes scoutBlink {
  0%, 78%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 0 rgba(216,180,103,0); }
  84% { box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 7px rgba(216,180,103,.45); }
  90% { box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 0 rgba(216,180,103,0); }
}
@media (prefers-reduced-motion: reduce) { .scout-fab.scout-blink, .scout-dot { animation: none; } }

/* ---------- AI slip builder page ---------- */
.sb-wrap { max-width: 760px; margin: 0 auto; }
.sb-hero { display: flex; gap: 14px; align-items: center; margin: 8px 0 18px; }
.sb-hero img { width: 56px; height: 56px; border-radius: 16px; flex: none; }
.sb-hero h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin: 4px 0 6px; }
.sb-hero p { color: var(--mute); font-size: .92rem; }
.sb-kick { display: inline-block; font-family: var(--mono); font-size: .7rem; color: var(--acid); }
.sb-stage { min-height: 320px; }
.sb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.sb-chips-empty { color: var(--mute); font-size: .82rem; }
.sb-chip { padding: 8px 14px; min-height: 40px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line2); font-weight: 700; font-size: .8rem; animation: sbIn .3s ease; }
.sb-chip:hover { border-color: var(--acid); color: var(--acid); }
.sb-top-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; min-height: 36px; }
.sb-back { padding: 8px 12px; min-height: 40px; border-radius: 12px; color: var(--mute); font-weight: 700; font-size: .85rem; }
.sb-back:hover { color: var(--text); }
.sb-dots { display: flex; gap: 8px; margin-left: auto; }
.sb-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); transition: all .3s; }
.sb-dots i.on { background: var(--acid); transform: scale(1.25); }
.sb-dots i.done { background: var(--acid-d); }
.sb-card { background: var(--panel); border: 1px solid var(--line2); border-radius: 20px; padding: 22px 18px; animation: sbIn .32s ease; }
.sb-card h2 { font-size: clamp(1.5rem, 5vw, 1.9rem); margin-bottom: 6px; }
.sb-q-sub { color: var(--mute); font-size: .9rem; margin-bottom: 14px; }
.sb-q-foot { color: var(--mute); font-size: .78rem; margin-top: 12px; }
.sb-opts { display: grid; gap: 10px; }
.sb-opt { text-align: left; padding: 16px 16px; min-height: 64px; border-radius: 16px; background: var(--panel2); border: 1px solid var(--line2); display: flex; flex-direction: column; gap: 3px; transition: transform .15s, border-color .15s, background .15s; }
.sb-opt b { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.01em; }
.sb-opt span { color: var(--mute); font-size: .82rem; }
.sb-opt:hover, .sb-opt:focus-visible { border-color: var(--acid); }
.sb-opt.on { border-color: var(--acid); background: rgba(216,180,103,.08); }
.sb-opt.pop { transform: scale(.96); background: rgba(216,180,103,.16); }
.sb-surprise { display: block; width: 100%; margin: 12px 0 0; padding: 14px; min-height: 48px; border-radius: 16px; border: 1px dashed var(--acid); color: var(--acid); font-weight: 800; }
.sb-type { display: flex; gap: 8px; margin-top: 12px; }
.sb-type input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--ink2); font-size: 16px; }
.sb-type button { padding: 12px 16px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line2); font-weight: 800; min-height: 46px; }
.sb-btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 12px 14px; min-height: 46px; border-radius: 14px; border: 1px solid var(--line2); font-weight: 700; font-size: .84rem; text-decoration: none; }
.sb-btn:hover { border-color: var(--acid); color: var(--acid); }
.sb-btn.solid { background: var(--acid); border-color: var(--acid); color: #0a1020; }
.sb-link { color: var(--mute); font-weight: 700; font-size: .8rem; }
.sb-link:hover { color: var(--hot); }
.sb-nothing-btns { display: grid; gap: 10px; margin-top: 14px; }
.sb-loading { text-align: center; padding: 36px 18px; }
.sb-pulse { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.sb-pulse i { width: 12px; height: 12px; border-radius: 50%; background: var(--acid); animation: sbBounce 1s infinite ease-in-out; }
.sb-pulse i:nth-child(2) { animation-delay: .15s; }
.sb-pulse i:nth-child(3) { animation-delay: .3s; }
.sb-mine { margin-top: 26px; }
.sb-mine-h { font-size: 1.5rem; margin-bottom: 4px; }
.sb-mine-card { background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; padding: 14px; margin-top: 10px; }
.sb-mine-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.sb-mine-card ul { list-style: none; margin: 8px 0 10px; color: var(--mute); font-size: .82rem; display: grid; gap: 4px; }
.sb-calc { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sb-calc label { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--mute); }
.sb-calc input { width: 96px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line2); background: var(--ink2); font-size: 16px; }
.sb-calc div { text-align: right; display: grid; }
.sb-calc b { font-family: var(--display); font-size: 1.5rem; color: var(--acid); }
.sb-calc small { color: var(--mute); font-size: .72rem; }
.sb-seo { margin-top: 30px; }
.sb-seo h2 { font-size: 1.1rem; margin: 20px 0 8px; }
.sb-fine-page { color: var(--mute); font-size: .8rem; margin-top: 18px; }
.sb-toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); opacity: 0; z-index: 90; background: var(--acid); color: #0a1020; font-weight: 800; padding: 10px 16px; border-radius: 999px; transition: .25s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; font-size: .84rem; }
.sb-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* The result popup: white, with the site's colours as accents */
.sb-ov { position: fixed; inset: 0; z-index: 100; background: rgba(4,8,12,.62); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .22s; }
.sb-ov.on { opacity: 1; }
.sb-lock { overflow: hidden; }
.sb-sheet { background: #ffffff; color: #0b1118; width: 100%; max-height: 92vh; max-height: 92dvh; overflow-y: auto; border-radius: 24px 24px 0 0; padding: 10px 18px calc(18px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -18px 50px rgba(0,0,0,.4); transform: translateY(40px); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.sb-ov.on .sb-sheet { transform: none; }
.sb-grip { width: 44px; height: 5px; border-radius: 99px; background: #d6dde6; margin: 0 auto 10px; }
.sb-sheet .sb-kick { color: #8a6a1f; }
.sb-sheet h2 { color: #0b1118; font-size: 1.5rem; margin-top: 2px; }
.sb-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.sb-x { width: 38px; height: 38px; border-radius: 50%; background: #eef2f6; color: #0b1118; font-size: 1.4rem; line-height: 1; flex: none; }
.sb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 10px; }
.sb-stats > div { background: #f4f7f1; border-radius: 14px; padding: 10px; border-top: 3px solid #b8933f; }
.sb-stats small { display: block; color: #5b6676; font-size: .7rem; }
.sb-stats b { font-family: var(--display); font-size: 1.5rem; color: #0b1118; }
.sb-honest { color: #3f4a59; font-size: .82rem; margin-bottom: 10px; }
.sb-note-risk { background: #ffe9ee; color: #8a1630; }
.sb-note { background: #fff7d6; color: #6b5200; padding: 8px 10px; border-radius: 10px; font-size: .8rem; margin-bottom: 10px; }
.sb-legs { list-style: none; display: grid; gap: 8px; margin: 6px 0 12px; }
.sb-leg { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid #e3e9dc; border-radius: 14px; }
.sb-leg-m b { display: block; font-size: .92rem; color: #0b1118; }
.sb-leg-m span { color: #8a6a1f; font-size: .8rem; font-weight: 700; }
.sb-leg-r { display: flex; align-items: center; gap: 8px; flex: none; }
.sb-leg-r strong { font-family: var(--display); font-size: 1.3rem; color: #0b1118; }
.sb-swap { padding: 7px 10px; min-height: 36px; border-radius: 10px; background: #0b1118; color: #ffffff; font-size: .74rem; font-weight: 800; }
.sb-swap:hover { background: #8a6a1f; }
.sb-why { margin: 6px 0 12px; }
.sb-why summary { cursor: pointer; font-weight: 800; color: #0b1118; padding: 8px 0; }
.sb-why-row { border-top: 1px solid #e3e9dc; padding: 10px 0; display: grid; gap: 4px; font-size: .84rem; }
.sb-why-row b { color: #0b1118; }
.sb-why-row span { color: #8a6a1f; font-weight: 700; }
.sb-why-row p { color: #3f4a59; }
.sb-bars { display: grid; gap: 4px; margin: 4px 0; }
.sb-bars label { font-size: .72rem; color: #5b6676; display: flex; justify-content: space-between; }
.sb-bars em { font-style: normal; color: #0b1118; font-weight: 700; }
.sb-bars i { display: block; height: 7px; border-radius: 99px; background: linear-gradient(90deg, #b8933f var(--w), #eef2f6 var(--w)); }
.sb-bars i.mk { background: linear-gradient(90deg, #0b1118 var(--w), #eef2f6 var(--w)); }
.sb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.sb-sheet .sb-btn { background: #ffffff; color: #0b1118; border-color: #d6dde6; }
.sb-sheet .sb-btn:hover { border-color: #8a6a1f; color: #8a6a1f; }
.sb-sheet .sb-btn.solid { background: #b8933f; border-color: #b8933f; color: #0a1020; }
.sb-fine { color: #5b6676; font-size: .72rem; margin-top: 12px; }
@media (min-width: 720px) {
  .sb-ov { align-items: center; }
  .sb-sheet { max-width: 520px; border-radius: 24px; max-height: 88vh; }
}
@keyframes sbIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sbBounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-8px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sb-card, .sb-chip, .sb-pulse i { animation: none; } .sb-sheet, .sb-ov { transition: none; } }

/* ---------- Scout cluster: big logo opens the AI slip builder, small green FAQ opens the helper ---------- */
.scout { gap: 8px; }
.scout-go { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); border: 2px solid rgba(216,180,103,.55); box-shadow: 0 8px 24px rgba(0,0,0,.5); transition: transform .2s, border-color .2s; text-decoration: none; }
.scout-go:hover { transform: translateY(-2px); border-color: var(--acid); }
.scout-go img { width: 52px; height: 52px; border-radius: 14px; }
.scout-go.scout-blink { animation: scoutBlinkRing 3.6s ease-in-out infinite; }
@keyframes scoutBlinkRing {
  0%, 78%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 0 rgba(216,180,103,0); }
  84% { box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 8px rgba(216,180,103,.45); }
  90% { box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 0 rgba(216,180,103,0); }
}
.scout-faq { align-self: flex-end; padding: 6px 12px; min-height: 30px; border-radius: 999px; background: var(--acid); color: #0a1020; font-family: var(--mono); font-weight: 800; font-size: .68rem; box-shadow: 0 6px 16px rgba(0,0,0,.45); }
.scout-faq:hover { background: var(--acid-d); }
@media (prefers-reduced-motion: reduce) { .scout-go.scout-blink { animation: none; } }
.scout-list { display: grid; gap: 6px; }
.scout-row { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line2); text-decoration: none; }
.scout-row b { font-size: .8rem; color: var(--text); }
.scout-row span { font-size: .72rem; color: var(--acid); font-weight: 700; }
.scout-row:hover { border-color: var(--acid); }
.scout-more { font-size: .76rem; color: var(--mute); }
.scout-more a { color: var(--acid); font-weight: 700; }

/* ---------- Builder page: the first question fits under the site header ---------- */
.sb-wrap { padding-top: 0; }
.sb-hero { margin: 0 0 8px; gap: 10px; }
.sb-hero img { width: 36px; height: 36px; border-radius: 11px; }
.sb-hero h1 { font-size: 1.35rem; margin: 0; }
.sb-hero p { font-size: .78rem; margin: 2px 0 0; }
.sb-stage { min-height: 0; }
.sb-chips { margin-bottom: 8px; }
.sb-top-row { margin-bottom: 6px; min-height: 30px; }
.sb-card { padding: 14px 12px; border-radius: 18px; }
.sb-card h2 { font-size: 1.35rem; margin-bottom: 10px; }
.sb-opts.sb-cols-3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sb-opts.sb-cols-2 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sb-opt { min-height: 78px; padding: 11px 10px; border-radius: 14px; }
.sb-opt b { font-size: 1.2rem; }
.sb-opt span { font-size: .72rem; line-height: 1.25; }
.sb-q-foot { font-size: .72rem; margin-top: 8px; }
.sb-surprise { margin: 10px 76px 0 0; padding: 10px; min-height: 42px; width: auto; }
.sb-type { margin: 8px 76px 0 0; }
.sb-type input { padding: 10px 12px; }
.sb-type button { padding: 10px 14px; min-height: 44px; }

/* FAQ badge tucked under the bottom edge of the ring */
.scout-stack { position: relative; width: 62px; height: 62px; }
.scout-stack .scout-go { position: absolute; inset: 0; }
.scout-faq { position: absolute; right: -10px; bottom: -14px; width: 34px; height: 34px; min-height: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; background: var(--acid); color: #0a1020; box-shadow: 0 4px 12px rgba(0,0,0,.5); border: 2px solid var(--panel); }
.scout-faq span { font-family: var(--mono); font-size: .36rem; font-weight: 900; line-height: 1; }
.scout-faq:hover { background: var(--acid-d); }
.sb-home { margin-left: auto; font-size: .78rem; font-weight: 700; color: var(--acid); text-decoration: none; align-self: flex-start; white-space: nowrap; }
.sb-hero { align-items: center; }

/* The builder fills one phone screen. My slip and the guide start below the fold. */
.sb-screen { min-height: calc(100vh - 24px); min-height: calc(100dvh - 24px); display: flex; flex-direction: column; }
.sb-screen .sb-stage { flex: 1 0 auto; }

/* ---------- Builder page: extra sections below the builder ---------- */
.sb-more { margin-top: 28px; }
.sb-h { font-size: 1.4rem; margin-bottom: 10px; }
.sb-h + p, .sb-more > p { color: var(--mute); font-size: .9rem; }
.sb-widgets { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .sb-widgets { grid-template-columns: 1fr 1fr; } }
.sb-widget { background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; padding: 16px; }
.sb-widget h3 { font-size: 1rem; margin: 6px 0 8px; }
.sb-stat2 { display: flex; gap: 12px; margin-bottom: 6px; }
.sb-stat2 > div { flex: 1; background: var(--panel2); border-radius: 12px; padding: 10px; text-align: center; }
.sb-stat2 b { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--acid); }
.sb-stat2 span { font-size: .72rem; color: var(--mute); }
.sb-top3 { list-style: none; display: grid; gap: 8px; }
.sb-top3 a { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--panel2); text-decoration: none; }
.sb-top3 a span { font-size: .74rem; color: var(--acid); font-weight: 700; }
.sb-calc2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sb-calc2 label { display: grid; gap: 4px; font-size: .78rem; color: var(--mute); }
.sb-calc2 input { padding: 10px; border-radius: 10px; border: 1px solid var(--line2); background: var(--ink2); font-size: 16px; }
.sb-ret { margin-top: 10px; color: var(--mute); }
.sb-ret b { font-family: var(--display); font-size: 1.4rem; color: var(--acid); }
.sb-steps { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .sb-steps { grid-template-columns: repeat(2, 1fr); } }
.sb-step { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 12px; font-size: .88rem; color: var(--mute); }
.sb-step b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--acid); color: #0a1020; font-family: var(--display); }
.sb-faq { background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; margin-top: 8px; }
.sb-faq summary { cursor: pointer; font-weight: 700; }
.sb-faq p { color: var(--mute); font-size: .88rem; margin-top: 8px; }

/* =====================================================================
   v5 - "Matchday programme": navy ink, ivory type, brass accent.
   One memorable device: the rule (a hairline from 0 to 100) that shows our chance against the market's.
   ===================================================================== */
:root { --brass: #d8b467; --ivory: #eeeae0; --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 14px 32px -18px rgba(0,0,0,.7); }
body { background: var(--ink); background-image: radial-gradient(1100px 520px at 50% -180px, rgba(216,180,103,.07), transparent 70%); background-attachment: scroll; font-size: 16px; }
body::before { display: none; }
.wrap { max-width: 1180px; padding: 18px 16px 48px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 99; font-weight: 700; }
.skip:focus { left: 12px; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.012em; line-height: 1.12; }
h3 { font-family: var(--display); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(10,16,32,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1180px; margin: 0 auto; padding: 8px 16px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.logo { gap: 9px; font-family: var(--display); font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; }
.logo-t b { background: none; -webkit-background-clip: border-box; color: var(--brass); font-weight: 800; }
.logo-mark { width: 24px; height: 24px; border: 3px solid var(--brass); }
.logo-mark::after { inset: 3px; background: var(--brass); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; position: relative; }
.top-cta { background: var(--brass); color: var(--ink); font-weight: 800; font-size: .8rem; padding: 8px 13px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.top-cta:hover { filter: brightness(1.07); }
.saved { padding: 6px 10px; border-radius: 999px; font-size: .95rem; }
.age { width: 28px; height: 28px; font-size: .64rem; border-color: rgba(240,100,92,.7); }
.mainnav { order: 3; width: 100%; margin: 0 -8px; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.mainnav::-webkit-scrollbar { display: none; }
.mainnav a { padding: 10px 11px; border-radius: 0; font-size: .86rem; font-weight: 600; color: var(--mute); background: none; border-bottom: 2px solid transparent; }
.mainnav a:hover { background: none; color: var(--text); }
.mainnav a.on { background: none; color: var(--ivory); border-bottom-color: var(--brass); }
.bt > summary { list-style: none; cursor: pointer; font-weight: 700; font-size: .8rem; color: var(--text); padding: 7px 12px; border: 1px solid var(--line2); border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.bt > summary::-webkit-details-marker { display: none; }
.bt > summary i { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.bt[open] > summary { border-color: var(--brass); color: var(--brass); }
.bt-panel { position: fixed; left: 0; right: 0; top: 52px; max-height: calc(100vh - 70px); overflow: auto; background: var(--ink2); border-bottom: 1px solid var(--line2); padding: 16px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.8); }
.bt-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 12px; }
.bt-g { display: flex; flex-direction: column; gap: 2px; }
.bt-g b { font-size: .74rem; color: var(--brass); margin-bottom: 4px; font-weight: 700; }
.bt-g a, .bt-foot a { color: var(--text); text-decoration: none; font-size: .88rem; padding: 6px 0; }
.bt-g a:hover, .bt-foot a:hover { color: var(--brass); }
.bt-foot { max-width: 1180px; margin: 14px auto 0; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 18px; }
@media (min-width: 900px) {
  .top-in { flex-wrap: nowrap; padding-top: 0; height: 58px; gap: 22px; }
  .mainnav { order: 0; width: auto; margin: 0; }
  .mainnav a { padding: 20px 12px 18px; }
  .top-right { margin-left: auto; }
  .bt { position: static; }
  .bt-panel { top: 58px; }
  .bt-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
}
@media (max-width: 420px) { .saved { display: none; } }

.ticker { background: var(--ink2); border-block: 1px solid var(--line); }
.ticker-label { background: transparent; color: var(--brass); font-size: .74rem; font-weight: 700; padding: 9px 12px; border-right: 1px solid var(--line); }
.ticker-label.live { background: transparent; color: var(--hot); }
.ticker-window { padding: 9px 0; }
.t-item { font-family: var(--body); font-size: .78rem; }
.t-item .sc { color: var(--brass); }

/* ---- common blocks ---- */
.crumbs { font-size: .76rem; margin-bottom: 10px; }
.ph5 { margin: 6px 0 18px; max-width: 760px; }
.ph5-d { font-size: .8rem; color: var(--brass); font-weight: 600; margin-bottom: 8px; }
.ph5 h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
.ph5-s { margin-top: 10px; color: var(--mute); font-size: 1rem; max-width: 62ch; }
.pagehead { text-align: left; } .pagehead h1 { margin: 0; } .pagehead p { margin-left: 0; }
.chips { justify-content: flex-start; }
.statchip { border-radius: 8px; background: var(--panel); }
.statchip b { color: var(--brass); }
.sec { margin-top: 38px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.sec-h h2, .sec > h2 { font-size: clamp(1.35rem, 3.6vw, 1.8rem); }
.sec-h a { color: var(--brass); font-size: .84rem; font-weight: 600; text-decoration: none; }
.sec-h a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sec-sub { color: var(--mute); font-size: .92rem; margin: -6px 0 16px; max-width: 60ch; }
.block h2, .block-head h2 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.block-head { justify-content: space-between; text-align: left; }
.block-head h2 { margin: 0; }
.btn { border-radius: 10px; padding: 12px 18px; font-weight: 700; font-size: .9rem; border-color: var(--line2); background: transparent; color: var(--text); cursor: pointer; font-family: var(--body); }
.btn:hover { border-color: var(--brass); color: var(--brass); }
.btn.solid { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn.solid:hover { color: var(--ink); filter: brightness(1.07); }
.card5 { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card5 h2 { font-size: 1.2rem; margin-bottom: 10px; }
.card5 p { margin-top: 10px; font-size: .88rem; } .card5 a { color: var(--brass); }

/* ---- the rule ---- */
.rule { position: relative; display: block; height: 4px; border-radius: 2px; background: rgba(238,234,224,.12); margin: 10px 0 8px; }
.rule-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--brass); }
.rule-vs { position: absolute; top: -4px; width: 2px; height: 12px; margin-left: -1px; background: var(--ivory); border-radius: 1px; }

/* ---- hero ---- */
.hz { display: grid; gap: 22px; padding: 12px 0 4px; align-items: stretch; }
.hz-date { color: var(--brass); font-size: .84rem; font-weight: 600; margin-bottom: 10px; }
.hz-live { color: var(--hot); margin-left: 10px; }
.hz h1 { font-size: clamp(2.3rem, 8.5vw, 4rem); line-height: 1.02; letter-spacing: -.02em; }
.hz-lede { margin-top: 14px; color: #c5cbd9; font-size: 1.05rem; max-width: 52ch; line-height: 1.55; }
.hz-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hz-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.hz-stats div { min-width: 0; }
.hz-stats dt { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1; color: var(--ivory); font-variant-numeric: tabular-nums; }
.hz-stats dd { color: var(--mute); font-size: .78rem; margin-top: 4px; }
@media (min-width: 960px) { .hz { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; padding-top: 26px; } }
.pod { display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 22px; border-radius: 18px; background: linear-gradient(165deg, var(--panel2), var(--panel)); border: 1px solid rgba(216,180,103,.35); box-shadow: var(--shadow); }
.pod-k { font-size: .78rem; font-weight: 700; color: var(--brass); }
.pod-lg { display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: .82rem; margin-top: 4px; }
.pod-m { font-family: var(--serif); font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 600; line-height: 1.15; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 0 10px; align-items: baseline; }
.pod-m i, .spot-m i { font-style: normal; font-family: var(--body); font-size: .8rem; color: var(--mute); font-weight: 500; }
.pod-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 16px; }
.pod-pick small, .spot-pick small, .cx-pick small, .fx-k { display: block; color: var(--mute); font-size: .72rem; font-weight: 600; }
.pod-pick b { font-size: 1.15rem; display: block; margin-top: 2px; }
.pod-pct, .spot-pct, .cx-pct { font-family: var(--serif); font-weight: 600; color: var(--brass); line-height: .9; font-variant-numeric: tabular-nums; }
.pod-pct { font-size: 3.1rem; } .pod-pct i, .spot-pct i, .cx-pct i { font-style: normal; font-size: .5em; margin-left: 1px; }
.pod-foot, .spot-foot { display: flex; align-items: center; gap: 14px; color: var(--mute); font-size: .82rem; flex-wrap: wrap; }
.pod-foot em, .spot-foot em { font-style: normal; color: var(--ivory); font-weight: 700; }
.hz-grid { display: grid; gap: 0 36px; }
@media (min-width: 1080px) { .hz-grid { grid-template-columns: minmax(0, 1fr) 320px; } .hz-side { position: sticky; top: 76px; align-self: start; margin-top: 38px; display: flex; flex-direction: column; gap: 16px; } }
.hz-side { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }

/* ---- spotlight ---- */
.spots5 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .spots5 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.spot { display: flex; flex-direction: column; gap: 4px; text-decoration: none; padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .15s; min-width: 0; }
.spot:hover { border-color: rgba(216,180,103,.55); }
.spot-lg { color: var(--mute); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spot-m { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; margin-top: 2px; }
.spot-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 10px; }
.spot-pick b { display: block; font-size: 1rem; }
.spot-pct { font-size: 2rem; }

/* ---- fixture cards ---- */
.fxg { margin-top: 18px; }
.fxg-h { display: flex; align-items: center; gap: 10px; padding: 10px 2px; cursor: pointer; list-style: none; border-bottom: 1px solid var(--line2); }
.fxg-h::-webkit-details-marker { display: none; }
.fxg-h h2, .fxg-h h3 { font-family: var(--display); font-size: 1rem; font-weight: 700; letter-spacing: 0; display: flex; align-items: center; gap: 10px; margin: 0; min-width: 0; }
.fxg-h .lname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fxg-h .n { font-size: .74rem; color: var(--mute); background: var(--panel); border-radius: 999px; padding: 2px 9px; font-weight: 600; }
.fxg-h .chev { margin-left: auto; width: 8px; height: 8px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: rotate(45deg); transition: transform .15s; }
.fxg[open] > .fxg-h .chev { transform: rotate(-135deg); }
.fxg-meta { display: flex; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; align-items: center; padding: 10px 2px 2px; font-size: .78rem; color: var(--mute); }
.fxg-meta .lgnote { margin: 0; font-size: .78rem; } .fxg-meta a { color: var(--brass); text-decoration: none; font-weight: 600; } .fxg-meta a:hover { text-decoration: underline; }
.fxg-list, .cxg-list { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
@media (min-width: 760px) { .fxg-list, .cxg-list { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.fx, .cx { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; position: relative; transition: border-color .15s; }
.fx:hover, .cx:hover { border-color: var(--line2); }
.fx.mrow { display: flex; grid-template-columns: none; }
.fx-top, .cx-top { display: flex; align-items: center; gap: 10px; min-height: 28px; }
.fx-when { display: inline-flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.fx-when .w-top { font-size: .9rem; font-weight: 700; color: var(--ivory); }
.fx-when.live .w-top { color: var(--hot); }
.fx-day { font-size: .74rem; color: var(--mute); font-weight: 600; }
.fx-lg, .cx-lg { display: inline-flex; align-items: center; gap: 7px; color: var(--mute); font-size: .76rem; min-width: 0; margin-left: auto; overflow: hidden; }
.cx-lg { margin-left: 0; order: -1; flex: 1; } .cx-lg span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-lg + .star { margin-left: 0; } .fx-top .star, .cx-top .star { margin-left: auto; }
.fx-lg ~ .star { margin-left: 0; }
.fx-teams, .cx-teams { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.fx-t { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fx-t .nm { font-weight: 600; font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fx-t .crest { width: 24px; height: 24px; }
.fx-t .sc { display: none; margin-left: auto; font-size: 1rem; color: var(--ivory); min-width: 20px; }
.fx[data-state="live"] .sc, .fx[data-state="ft"] .sc, .fx[data-state="wait"] .sc, .cx[data-state="live"] .sc, .cx[data-state="ft"] .sc, .cx[data-state="wait"] .sc { display: inline-block; }
.fx-p { margin-left: auto; font-size: .9rem; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; }
.fx-t .sc + .fx-p { margin-left: 10px; }
.fx-p.lead { color: var(--brass); }
.fx-rule { display: flex; align-items: center; gap: 10px; }
.fx .split { flex: 1; display: flex; height: 4px; border-radius: 2px; overflow: hidden; gap: 2px; background: none; }
.fx .split i { display: block; height: 100%; border-radius: 2px; }
.fx .split .sp-h { background: var(--brass); } .fx .split .sp-d { background: var(--draw); } .fx .split .sp-a { background: var(--sky); }
.fx-draw { font-size: .72rem; color: var(--mute); white-space: nowrap; }
.fx-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.fx-pick { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; flex: 1; }
.fx-pick .fx-k { flex-basis: 100%; }
.fx-pick b { font-size: .95rem; font-weight: 700; color: var(--ivory); }
.fx-pick i { font-style: normal; color: var(--brass); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.fx-pick.none b { color: var(--mute); font-weight: 600; }
.fx-act { display: flex; gap: 6px; align-items: center; flex: none; }
.fx[data-state="pre"] .pst.pend { display: none; }
.pst { font-family: var(--body); font-size: .68rem; font-weight: 700; padding: 2px 8px; }
.pst.won { background: rgba(88,199,154,.14); color: var(--good); border-color: rgba(88,199,154,.5); }
.pst.on { color: var(--good); border-color: rgba(88,199,154,.4); }
.pst.lost { background: rgba(232,104,95,.14); color: var(--bad); border-color: rgba(232,104,95,.5); }
.pst.off { color: var(--bad); border-color: rgba(232,104,95,.4); }
.odd { height: 38px; min-width: 56px; padding: 0 10px; border-radius: 9px; background: transparent; border: 1px solid var(--line2); flex-direction: row; gap: 6px; }
.odd small { display: none; }
.odd b { font-family: var(--body); font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.odd:hover:not(:disabled) { border-color: var(--brass); }
.odd.on, .odd.mp.won:not(.on) { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.odd.mp:not(.on) { border-color: rgba(216,180,103,.7); box-shadow: none; color: var(--brass); }
.odd.mp.lost:not(.on) { border-color: var(--bad); color: var(--bad); box-shadow: none; }
.fx .more { height: 38px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); color: var(--mute); font-size: .8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.fx .more::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.fx.open .more::after { transform: rotate(-135deg); }
.fx .more:hover { color: var(--text); border-color: var(--line2); }
.fx .mks { display: none; border-top: 1px solid var(--line); padding-top: 10px; flex-direction: column; gap: 10px; }
.fx.open .mks { display: flex; }
.mkx-l { display: block; font-size: .72rem; color: var(--mute); font-weight: 600; margin-bottom: 5px; }
.mkx-b { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.mkx-b .odd { flex-direction: column; gap: 0; height: 46px; justify-content: center; }
.mkx-b .odd small { display: block; font-size: .64rem; color: var(--mute); }
.mkx-b .odd.on small { color: var(--ink); }
.mks-go { font-size: .8rem; color: var(--brass); text-decoration: none; font-weight: 600; }
.star { width: 30px; height: 30px; border-radius: 8px; }
.fx .mks .mk { display: none; }

/* ---- bet-type cards ---- */
.cxg-h { font-family: var(--display); font-size: 1rem; font-weight: 700; padding: 10px 2px; border-bottom: 1px solid var(--line2); display: flex; align-items: center; gap: 10px; }
.cxg-h .n { font-size: .74rem; color: var(--mute); background: var(--panel); border-radius: 999px; padding: 2px 9px; font-weight: 600; }
.cxg { margin-top: 18px; }
.cx-teams span { display: flex; }
.cx-read { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 4px; }
.cx-pick b { font-size: 1.05rem; display: block; margin-top: 2px; }
.cx-pct { font-size: 2.3rem; }
.cx .rule { margin: 4px 0 2px; }
.cx-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .76rem; color: var(--mute); }
.cx-legend .pos { color: var(--good); font-weight: 700; } .cx-legend .neg { color: var(--bad); font-weight: 700; }
.cx-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.cx-foot .odd { margin-left: auto; min-width: 84px; }

/* ---- toolbar, day tabs ---- */
.daytabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; }
.dt { text-decoration: none; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-weight: 700; font-size: .88rem; display: inline-flex; flex-direction: column; line-height: 1.2; min-width: 76px; }
.dt small { font-weight: 500; color: var(--mute); font-size: .72rem; }
.dt.on { background: var(--brass); border-color: var(--brass); color: var(--ink); } .dt.on small { color: rgba(10,16,32,.7); }
.dt:hover:not(.on) { border-color: var(--line2); }
.toolbar { margin: 6px 0 10px; }
.search input { border-radius: 10px; background: var(--panel); border: 1px solid var(--line); padding: 11px 14px; }
.search input:focus { border-color: var(--brass); outline: none; }
.lgtoggle { padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--mute); font-size: .8rem; font-weight: 600; }
.lgjump a { border-radius: 8px; background: var(--panel); border: 1px solid var(--line); padding: 6px 11px; }
.lgjump a b { color: var(--brass); }
.mnote { font-size: .8rem; }
.seemore { text-align: left; color: var(--brass); font-size: .84rem; padding: 10px 2px; }

/* ---- sponsor slots ---- */
.ad { position: relative; margin: 18px 0; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.ad-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; min-height: 64px; }
.ad-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ad-copy b { font-size: .95rem; } .ad-copy span { font-size: .82rem; color: var(--mute); }
.ad-cta { flex: none; background: var(--brass); color: var(--ink); font-weight: 700; font-size: .8rem; padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
.ad-logo { width: 72px; height: 40px; object-fit: contain; flex: none; border-radius: 6px; background: #fff; padding: 3px; }
.ad-tag { position: absolute; top: -9px; left: 14px; background: var(--ink); color: var(--mute); font-size: .68rem; font-weight: 600; padding: 0 8px; }
.ad-open { border-style: dashed; border-color: var(--line2); background: transparent; }
.ad-open .ad-cta { background: transparent; color: var(--brass); border: 1px solid rgba(216,180,103,.5); }
.ad-side .ad-link { flex-direction: column; align-items: flex-start; min-height: 130px; justify-content: center; }
.ad-side { margin: 0; }
@media (max-width: 520px) { .ad-link { flex-wrap: wrap; } .ad-cta { margin-left: auto; } }

/* ---- bet type tiles ---- */
.catgroup { margin-top: 20px; }
.grp { font-family: var(--display); font-size: .9rem; font-weight: 700; color: var(--brass); margin: 0 0 10px; letter-spacing: 0; }
.catgrid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.catgrid.small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.catcard { padding: 14px 16px; border-radius: 12px; gap: 5px; background: var(--panel); transition: border-color .15s, background .15s; }
.catcard:hover { transform: none; border-color: rgba(216,180,103,.55); background: var(--panel2); }
.catcard b { font-family: var(--display); font-size: .98rem; font-weight: 700; }
.catcard span { font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.catcard i { color: var(--brass); font-size: .78rem; font-weight: 700; font-family: var(--body); }
.catcard i.off { color: var(--mute); font-weight: 500; }
@media (max-width: 520px) { .catgrid { grid-template-columns: repeat(2, minmax(0,1fr)); } .catgrid.small { grid-template-columns: repeat(2, minmax(0,1fr)); } .catcard { padding: 12px; } .catcard span { font-size: .78rem; } }

/* ---- slips ---- */
.slips5 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
@media (min-width: 860px) { .slips5 { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.slipc { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; }
.slipc:hover { border-color: rgba(216,180,103,.55); }
.slipc small { color: var(--mute); font-size: .74rem; }
.slipc strong { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: var(--brass); line-height: 1.05; font-variant-numeric: tabular-nums; }
.slipc b { font-size: .92rem; } .slipc span { color: var(--mute); font-size: .78rem; }
.slipc.off strong { display: none; }

/* ---- editorial + FAQ ---- */
.ed { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.ed > h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 18px; }
.ed-grid { display: grid; gap: 22px 40px; }
@media (min-width: 860px) { .ed-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.ed-b h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.ed-b p, .an5 p, .story p { font-family: var(--serif); font-size: 1.06rem; line-height: 1.65; color: #cdd2de; margin-bottom: 12px; max-width: 64ch; }
.ed-b a, .an5 a, .story a { color: var(--brass); }
.story { margin-top: 36px; padding: 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.story h2 { font-size: 1.4rem; margin-bottom: 12px; }
.story small { color: var(--mute); font-size: .74rem; }
.faq5 { margin-top: 44px; }
.faq5 > h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); margin-bottom: 16px; }
.faq5-grid { display: grid; gap: 0 40px; }
@media (min-width: 860px) { .faq5-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.faq5-i { padding: 16px 0; border-top: 1px solid var(--line); }
.faq5-i h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.faq5-i p { color: #bcc3d2; font-size: .95rem; line-height: 1.6; }
.prose { max-width: 72ch; } .prose h2 { font-family: var(--serif); font-size: 1.4rem; margin: 26px 0 10px; }
.prose p, .prose li { color: #c8cedb; font-size: 1.02rem; line-height: 1.65; }
.prose a { color: var(--brass); }

/* ---- match page ---- */
.mh5 { margin: 6px 0 16px; }
.mh5-l { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; color: var(--mute); font-size: .84rem; }
.mh5-l a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: var(--text); }
.mh5 h1 { font-size: clamp(1.5rem, 5vw, 2.3rem); margin-top: 10px; max-width: 24ch; }
.mh5-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 18px; padding: 20px 14px; border-radius: 16px; background: linear-gradient(165deg, var(--panel2), var(--panel)); border: 1px solid var(--line); }
.mh5-t { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 700; font-size: 1rem; min-width: 0; overflow-wrap: anywhere; }
.mh5-t .crest { width: 48px; height: 48px; font-size: .9rem; }
.mh5-mid { text-align: center; }
.mh5-sc { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.mh5-sc i { font-style: normal; color: var(--mute); margin: 0 6px; }
.mh5-mid small { display: block; color: var(--mute); font-size: .76rem; margin-top: 6px; }
.vd5 { display: flex; gap: 16px; justify-content: space-between; align-items: stretch; padding: 20px; border-radius: 16px; border: 1px solid rgba(216,180,103,.4); background: linear-gradient(165deg, rgba(216,180,103,.1), rgba(216,180,103,.02)); flex-wrap: wrap; }
.vd5-main { flex: 1 1 260px; min-width: 0; }
.vd5-main small, .vd5-side small { display: block; color: var(--brass); font-size: .76rem; font-weight: 700; }
.vd5-main h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); margin: 4px 0; }
.vd5-main p { color: var(--mute); font-size: .9rem; }
.vd5-side { display: flex; gap: 22px; align-items: flex-end; }
.vd5-side b { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.pbar { display: grid; grid-template-columns: minmax(70px, 130px) 1fr 44px; gap: 10px; align-items: center; margin: 10px 0; }
.pbar .bar { height: 6px; border-radius: 3px; background: rgba(238,234,224,.1); overflow: hidden; }
.pbar .bar i { display: block; height: 100%; border-radius: 3px; background: var(--brass); }
.pbar.d .bar i { background: var(--draw); } .pbar.a .bar i { background: var(--sky); }
.pbar b { text-align: right; font-variant-numeric: tabular-nums; }
.mkgroup { margin-top: 16px; } .mkgroup h3 { font-size: .8rem; color: var(--mute); font-weight: 600; margin-bottom: 8px; }
.mkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.mkcell { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.mkcell .odd { flex-direction: column; gap: 0; height: 50px; } .mkcell .odd small { display: block; font-size: .66rem; }
.mkcell > small { text-align: center; color: var(--mute); font-size: .7rem; }
.an5 { max-width: 760px; } .an5-u { font-family: var(--body) !important; font-size: .8rem !important; color: var(--mute) !important; }
.mvm, .block { margin-top: 28px; }
.mvm-bars .mv-m, .mvm-key .mv-m { background: var(--brass); } .mvm-bars .mv-k, .mvm-key .mv-k { background: var(--ivory); opacity: .55; }
.v4-more { background: var(--panel); border-radius: 12px; border: 1px solid var(--line); }

/* ---- league tweaks ---- */
.lgb-hero { border-radius: 16px; }
.lgb-id h1 { font-family: var(--serif); font-size: clamp(1.6rem, 5vw, 2.4rem); }

/* ---- advertise ---- */
.pl5 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pl5 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.pl5-c { padding: 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.pl5-c svg { width: 100%; max-width: 220px; height: auto; margin-bottom: 12px; }
.pl5-c svg rect { fill: rgba(238,234,224,.1); } .pl5-c svg .pv-hi { fill: var(--brass); }
.pl5-c h3 { font-size: 1.05rem; margin-bottom: 4px; } .pl5-c p { color: #c0c7d5; font-size: .92rem; } .pl5-c small { display: block; margin-top: 8px; color: var(--mute); }

/* ---- footer ---- */
.foot-card { max-width: 1180px; margin: 40px auto 0; padding: 36px 16px 110px; border-top: 1px solid var(--line); background: none; border-radius: 0; text-align: left; }
.foot-card .foot-grid { grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 760px) { .foot-card .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot-col h5 { font-family: var(--display); font-size: .8rem; color: var(--brass); }
.foot-col a:hover { color: var(--brass); }
.foot-join { display: flex; gap: 14px; flex-wrap: wrap; }
.foot-bar { flex-direction: column; gap: 12px; }
.age-pill { background: var(--hot); color: #fff; border-radius: 6px; padding: 1px 7px; font-size: .7rem; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } .ticker-track { animation: none; } }

/* ---- v5 fixes: no overflow, quieter Scout, no "Pending" noise ---- */
.hz, .hz-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .hz { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
@media (min-width: 1080px) { .hz-grid { grid-template-columns: minmax(0, 1fr) 320px; } }
.hz-main, .hz-side, .spots5 > *, .fxg-list > *, .cxg-list > * { min-width: 0; }
[data-state="pre"] .pst.pend { display: none; }
.scout { right: 10px; bottom: 10px; }
.scout-go.scout-blink { animation: none; }
.scout-go img { width: 40px; height: 40px; }
.scout-go { width: 48px; height: 48px; padding: 0; opacity: .92; }
.scout-faq { transform: scale(.86); transform-origin: right bottom; }
.fx .split { width: auto; max-width: none; min-width: 0; flex: 1; height: 4px; }
.fx .split i { min-width: 2px; }
.fx-top { justify-content: flex-start; }
.fx-t .sc { background: none; border: 0; padding: 0; font-weight: 700; }
.fx-teams, .cx-teams { align-items: stretch; text-align: left; }
.fx-t .sc { box-shadow: none; width: auto; height: auto; border-radius: 0; }
.fx-t .sc::before, .fx-t .sc::after { display: none; }
.pod-foot { margin-top: auto; padding-top: 14px; }

/* ---- v5.1: slip page overflow fix, no forced full-screen gap ---- */
.sb-widgets, .sb-steps { grid-template-columns: minmax(0, 1fr); }
.sb-widget, .sb-calc2 label, .sb-step { min-width: 0; }
.sb-calc2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sb-calc2 input, input, select, textarea { max-width: 100%; width: 100%; box-sizing: border-box; }
.sb-screen { min-height: min(calc(100dvh - 24px), 620px); }
.wrap { overflow-x: clip; }
.search input { width: 100%; }

/* ---- v5.2: scores on every card, league rows and the match page header ---- */
.lgb-teams .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgb-teams .sc { display: none; margin-left: auto; min-width: 22px; height: auto; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; font-size: 1rem; text-align: right; }
.lgb-fx[data-state="live"] .sc, .lgb-fx[data-state="ft"] .sc, .lgb-fx[data-state="wait"] .sc { display: inline-block; }
.lgb-fx[data-state="live"] .lgb-time, .lgb-fx[data-state="wait"] .lgb-time { color: var(--hot); }
.lgb-fx[data-state="wait"] .lgb-time, .lgb-fx[data-state="ft"] .lgb-time { font-size: .74rem; }
.lgb-fx[data-state="pre"] .pst { display: none; }
.lgb-pick .pst { margin-left: 8px; }
.mh5-live { display: none; }
.mh5-board[data-state="live"] .mh5-live, .mh5-board[data-state="ft"] .mh5-live, .mh5-board[data-state="wait"] .mh5-live { display: block; }
.mh5-board[data-state="live"] .mh5-ko-wrap, .mh5-board[data-state="ft"] .mh5-ko-wrap, .mh5-board[data-state="wait"] .mh5-ko-wrap { display: none; }
.mh5-live .sc { display: inline; min-width: 0; height: auto; padding: 0; margin: 0; background: none; border: 0; box-shadow: none; border-radius: 0; font: inherit; color: inherit; }
.mh5-board[data-state="live"] .mh5-live { color: var(--hot); }
.mh5-board[data-state="live"] small.w-top { color: var(--hot); }

/* ---- v5.2: accumulator legs show live sign, score and result ---- */
.leg .legr { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-weight: 700; white-space: nowrap; }
.leg .legr i { font-style: normal; color: var(--mute); }
.leg .legr .sc { display: none; margin: 0; min-width: 0; height: auto; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; font-size: .95rem; color: var(--text); }
.leg .legr i { display: none; }
.leg[data-state="live"] .legr .sc, .leg[data-state="ft"] .legr .sc, .leg[data-state="wait"] .legr .sc { display: inline; }
.leg[data-state="live"] .legr i, .leg[data-state="ft"] .legr i, .leg[data-state="wait"] .legr i { display: inline; }
.leg[data-state="live"] .legr .sc, .leg[data-state="live"] .w-top { color: var(--hot); }
.leg .legr .pst { margin-left: 6px; }
.leg[data-state="pre"] .pst { display: none; }
.acca-note { margin: 4px 0 10px; color: var(--mute); font-size: .82rem; }
.leg { grid-template-columns: 52px minmax(0, 1fr) auto auto; gap: 8px; }
.leg .legt .w-top { font-size: .72rem; text-align: center; }
.leg[data-state="pre"] .legr { display: none; }
.lgb-fx[data-state="wait"] .pst { display: none; }
