/* Caterpillar Premiership — site styles */
:root {
  --gold: #FFB700; --gold-dark: #8A6200; --black: #000; --page: #F3F3F3; --card: #FFF; --text: #1A1A1A; --muted: #666;
  --line: #E2E2E2; --line-2: #EDEDED; --win: #1A1A1A; --loss: #C8102E; --draw: #8C8C8C; --bye: #FFB700;
  --club1: #000; --club2: #FFB700; --accent-dark-bg: var(--gold); --accent-light-bg: var(--text);
  --radius: 6px; --shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --wrap: 1272px; --side: 184px;
  --font: 'Heebo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
#main:focus, #main:focus-visible { outline: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--gold); color: #000; padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
main { min-height: 60vh; padding-bottom: 56px; outline: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.num, .mc-score, .pts, td, .val, .total b, .mh-score { font-variant-numeric: tabular-nums; }

/* ---------- crests ---------- */
.crest { --s: 32px; position: relative; display: inline-grid; place-items: center; width: var(--s); height: var(--s); flex: none; vertical-align: middle; }
.crest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.crest.ok img { opacity: 1; }
.crest.ok b { display: none; }
.crest:not(.ok) { border-radius: 50%; background: var(--c1, #333); box-shadow: inset 0 0 0 calc(var(--s) * .07) var(--c2, #FFB700); }
.crest b { display: block; color: #fff; font-size: calc(var(--s) * .3); font-weight: 900; letter-spacing: .02em; text-shadow: 0 1px 1px rgba(0,0,0,.4); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 18px; border-radius: 4px; border: 2px solid transparent; font-weight: 700; font-size: 14px; line-height: 1.1; white-space: nowrap; text-decoration: none !important; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--gold); color: #000; }
.btn-primary:hover { background: #FFC633; }
.btn-outline { border-color: var(--text); background: #fff; }
.btn-outline:hover { background: var(--page); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-lg { min-height: 48px; padding: 12px 24px; font-size: 15px; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled], .odds-btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; border-radius: 4px; position: relative; }
.icon-btn svg { width: 22px; height: 22px; }
.link-btn { border: 0; background: none; padding: 0; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- sidebar ---------- */
body { padding-left: var(--side); }
.topbar { display: none; }
.side { position: fixed; left: 0; top: 0; bottom: 0; width: var(--side); background: #0B0B0B; color: #fff; display: flex; flex-direction: column; z-index: 60; }
body.themed .side { box-shadow: inset -4px 0 0 var(--accent-dark-bg); }
.brand { display: block; padding: 26px 0 30px; flex: none; }
.brand img { width: 84px; height: 84px; object-fit: contain; margin: 0 auto; }
.mainnav { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.mainnav ul { list-style: none; margin: 0; padding: 0; }
.nav-l { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 35px; padding: 0 16px 0 27px; border: 0; background: none; color: #fff; font: 800 11.5px/1 var(--font); letter-spacing: .22em; text-transform: uppercase; position: relative; text-align: left; }
.nav-l:hover { color: var(--accent-dark-bg); text-decoration: none; }
li.active > .nav-l::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: var(--accent-dark-bg); }
.nav-l svg { width: 18px; height: 18px; transition: transform .2s; }
.has-dd.open .nav-l svg { transform: rotate(180deg); }
.dd { display: none; padding: 2px 0 8px; }
.has-dd.open .dd { display: block; }
.dd a { display: block; padding: 7px 16px 7px 40px; font-size: 13px; font-weight: 600; color: #D8D8D8; }
.dd a:hover, .nav2 a:hover { color: var(--accent-dark-bg); text-decoration: none; }
.dd a.on, .nav2 li.active a { color: var(--accent-dark-bg); }
.nav2 { margin-top: 18px !important; padding-bottom: 16px !important; }
.nav2 a { display: block; padding: 8px 27px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #fff; }
.side-foot { flex: none; }
.side-row { display: flex; align-items: center; gap: 12px; width: 100%; height: 44px; padding: 0 27px; border: 0; border-top: 1px solid #000; background: #2A2A2A; color: #fff; font-weight: 700; font-size: 14px; text-align: left; position: relative; }
.side-row.dark { background: #161616; }
.side-row svg { width: 18px; height: 18px; flex: none; }
.side-row:hover { background: #383838; text-decoration: none; }
.side-claim { padding: 10px 14px; }
.coin-row svg { width: 22px; height: 22px; } .coin-row b { font-weight: 800; font-variant-numeric: tabular-nums; }
.acct-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 6px; border-radius: 18px; background: #1d1d1d; color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.coin-pill svg { width: 24px; height: 24px; }
.coin-pill:hover { text-decoration: none; background: #2a2a2a; }
.pop-wrap { position: relative; }
.pop { position: absolute; left: 10px; bottom: calc(100% + 6px); width: 280px; background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.35); padding: 14px; z-index: 70; }
.pop a { display: block; padding: 8px 6px; font-weight: 600; border-radius: 4px; }
.pop a:hover { background: var(--page); text-decoration: none; }
.pop .link-btn { margin: 8px 6px 2px; }
.pop-bal { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; }
.pop-bal svg { width: 26px; } .pop-bal b { font-size: 20px; }
.notes-pop { width: 340px; max-width: calc(100vw - 24px); } .notes-pop h3 { font-size: 15px; margin-bottom: 8px; }
.notes-pop ul { list-style: none; margin: 0; padding: 0; max-height: 360px; overflow: auto; }
.notes-pop li a { font-weight: 500; font-size: 14px; }
.notes-pop li.new a { background: #FFF6DB; }
.notes-pop .label { display: block; margin-bottom: 2px; }
.dot { margin-left: auto; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #000; font: 800 11px/20px var(--font); font-style: normal; text-align: center; }
.avatar { --s: 40px; width: var(--s); height: var(--s); border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--c1) 0 55%, var(--c2) 55% 100%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.avatar span { font-weight: 900; font-size: calc(var(--s) * .28); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.menu-btn { color: #fff; }
.topbar { position: relative; height: 60px; background: #0B0B0B; color: #fff; align-items: center; gap: 10px; padding: 0 12px; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.brand-sm img { width: 44px; height: 44px; object-fit: contain; }

/* ---------- match strip (home) ---------- */
.ticker { background: #111; color: #fff; border-bottom: 1px solid #000; }
.ticker-inner { display: flex; align-items: stretch; max-width: none; padding: 0 0 0 22px; }
.tick-head { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 12px 18px 12px 0; }
.tick-head strong { font-size: 15px; font-weight: 900; white-space: nowrap; }
.tick-head a { font-size: 12px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }
.tick-arrow { flex: none; width: 36px; border: 0; background: #111; color: #fff; display: grid; place-items: center; }
.tick-arrow:hover { background: #222; }
.tick-arrow svg { width: 18px; }
.tick-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; }
.tick-track::-webkit-scrollbar { display: none; }
.tick-card { flex: none; width: 178px; padding: 10px 16px 12px; scroll-snap-align: start; display: grid; gap: 3px; color: #fff; }
.tick-card:hover { background: #1C1C1C; text-decoration: none; }
.tick-card .mc-team { display: flex; align-items: center; gap: 8px; height: 22px; }
.tick-card .mc-name strong { font-size: 13px; font-weight: 400; white-space: nowrap; }
.tick-card .mc-score { margin-left: auto; font-weight: 400; font-size: 15px; }
.tick-card .mc-team.win strong, .tick-card .mc-team.win .mc-score { font-weight: 800; }
.tick-status { font-size: 11px; color: #D0D0D0; }
.tick-status i { color: var(--gold); font-style: normal; }
.tick-link { margin-top: 6px; background: #2A2A2A; border-radius: 4px; text-align: center; font-size: 11px; font-weight: 600; padding: 5px; }
.tick-card:hover .tick-link { background: var(--gold); color: #000; }
.tick-bye { flex: none; padding: 10px 16px; display: grid; gap: 6px; align-content: start; font-size: 13px; }
.tick-bye span:not(.tick-status) { display: flex; align-items: center; gap: 6px; }

/* ---------- page furniture ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 32px 0 0; margin-bottom: 28px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; }
.page-head p { margin: 6px 0 0; color: var(--muted); max-width: 720px; }
.page-head .wrap { padding-bottom: 24px; }
.page-head .tabs { margin: 18px 0 -24px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 32px 0 14px; }
.card .sec-head, .col-side .sec-head { margin: 0 0 12px; }
.sec-head.pad { padding: 16px 18px 0; }
.sec-head h2 { font-size: 22px; font-weight: 900; }
.card .sec-head h2 { font-size: 18px; }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.more svg { width: 14px; }
.more.light { color: #fff; }
.label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text); }
.label::before { content: ''; width: 8px; height: 8px; background: var(--accent-dark-bg); border-radius: 1px; }
.label.light { color: #fff; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 20px; }
.card.flush { padding: 0; overflow: hidden; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.empty { padding: 28px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed #D0D0D0; border-radius: var(--radius); }
.card .empty { border: 0; padding: 16px 8px; }
.empty a { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.fun-note { font-size: 12px; color: var(--muted); margin: 10px 0; display: flex; gap: 6px; align-items: baseline; }
.fun-note::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); transform: translateY(1px); }
.banner-note { background: #FFF6DB; border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 4px; margin-bottom: 20px; font-weight: 500; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.col-side { position: sticky; top: 130px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; }
.tabs a { padding: 12px 16px; font-weight: 700; white-space: nowrap; position: relative; color: var(--muted); }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.on { color: var(--text); }
.tabs a.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 4px; background: var(--gold); border-radius: 2px 2px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 13px; }
.chip:hover { border-color: var(--text); text-decoration: none; }
.chip.on { background: #000; color: #fff; border-color: #000; }
.chip-club { border-color: var(--club1); box-shadow: inset 3px 0 0 var(--club1); }
button.chip { cursor: pointer; }
.loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 120px 20px; font-weight: 600; color: var(--muted); }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--gold); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.feed-error { text-align: center; padding: 100px 20px; } .feed-error h1 { font-size: 26px; margin-bottom: 6px; } .feed-error p { color: var(--muted); }
.tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 3px; background: var(--page); text-transform: uppercase; letter-spacing: .03em; margin-left: 6px; }
.tag-inj { background: #FDE7E9; color: #9B0D23; } .tag-sus { background: #1A1A1A; color: #fff; }
.sev { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: .03em; }
.sev-minor { background: #FFF1C7; color: #6B4C00; } .sev-moderate { background: #FFD9B0; color: #7A3700; } .sev-severe { background: #C8102E; color: #fff; }

/* ---------- story cards ---------- */
.art { position: relative; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, var(--a1) 0 62%, color-mix(in srgb, var(--a1) 80%, #000) 62% 100%); border-radius: var(--radius) var(--radius) 0 0; }
.art-stripe { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 54%, var(--a2) 54% 57%, transparent 57% 61%, var(--a2) 61% 62%, transparent 62%); opacity: .9; }
.art .art-crest, .art .art-logo { position: absolute; right: 7%; top: 50%; transform: translateY(-50%) rotate(-6deg); width: 42%; height: auto; aspect-ratio: 1; opacity: .95; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.art .art-crest:not(.ok) { box-shadow: inset 0 0 0 8px var(--c2); }
.art .art-crest:not(.ok) b { font-size: 40px; }
.art-lg { aspect-ratio: 16/8; }
.story { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; }
.story-link { display: flex; flex-direction: column; width: 100%; }
.story-link:hover { text-decoration: none; }
.story-link:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.story-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.story h3 { font-size: 17px; font-weight: 800; line-height: 1.22; }
.story .meta { margin-top: auto; font-size: 12px; color: var(--muted); font-weight: 500; }
.story-mine { box-shadow: 0 0 0 3px var(--club1), var(--shadow); }
.story-lg .story-link { display: grid; grid-template-columns: 1.55fr 1fr; background: #000; color: #fff; }
.story-lg .art { border-radius: 0; aspect-ratio: auto; min-height: 380px; height: 100%; }
.story-lg .story-body { padding: 32px; justify-content: center; gap: 12px; }
.story-lg .label { color: #fff; }
.story-lg h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; line-height: 1.08; }
.story-lg .standfirst { color: #D6D6D6; font-size: 16px; margin: 0; }
.story-lg .meta { color: #9A9A9A; margin-top: 8px; }
.hero-grid { display: grid; gap: 20px; padding-top: 24px; }
.top-stories, .story-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.story-row { grid-template-columns: repeat(3, 1fr); }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-sec .sec-head { border-bottom: 3px solid #000; padding-bottom: 8px; }

/* ---------- daily + my club ---------- */
.daily { display: flex; align-items: center; gap: 18px; background: #000; color: #fff; border-radius: var(--radius); padding: 18px 22px; margin-top: 20px; }
.col-side .daily { margin-top: 0; margin-bottom: 20px; flex-wrap: wrap; }
.daily h2 { font-size: 19px; font-weight: 900; } .daily p { margin: 2px 0 0; color: #CFCFCF; font-size: 14px; }
.daily .btn { margin-left: auto; }
.coin-big svg { width: 48px; height: 48px; }
.my-club { margin-top: 24px; padding: 24px 0 8px; background: linear-gradient(120deg, var(--c1) 0 70%, color-mix(in srgb, var(--c1) 75%, #000) 70%); border-bottom: 6px solid var(--c2); }
.mcs-head { display: flex; align-items: center; gap: 14px; color: #fff; margin-bottom: 16px; flex-wrap: wrap; }
.mcs-head h2 { font-size: 24px; font-weight: 900; }
.mcs-head .more { margin-left: auto; }
.badge-member { display: inline-block; padding: 4px 10px; border-radius: 3px; background: var(--gold); color: #000; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.badge-member.big { padding: 10px 16px; font-size: 13px; }
.mcs-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.mcs-grid .card { margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.mcs-next { display: flex; flex-direction: column; gap: 12px; }
.mcs-teams { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.mcs-last { display: flex; flex-direction: column; gap: 6px; }
.mcs-last > span:last-child { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.mcs-ladder { display: flex; align-items: baseline; gap: 10px; }
.mcs-ladder b { font-size: 30px; font-weight: 900; }
.mcs-news a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }

/* ---------- match cards ---------- */
.match-list { display: grid; gap: 14px; }
.match-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.match-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; }
.mc-top { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.mc-status { text-transform: uppercase; letter-spacing: .05em; font-weight: 800; color: var(--text); }
.mc-body { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.match-card .mc-team { display: flex; align-items: center; gap: 12px; }
.match-card .mc-team:last-child { flex-direction: row-reverse; text-align: right; }
.match-card .mc-name { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.match-card .mc-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-card .mc-name strong { font-size: 17px; font-weight: 800; }
.match-card .mc-name span { font-size: 12px; color: var(--muted); }
.match-card .mc-score { font-size: 34px; font-weight: 900; margin-left: auto; line-height: 1; }
.match-card .mc-team:last-child .mc-score { margin-left: 0; margin-right: auto; }
.match-card .mc-team:not(.win) .mc-score { color: #9A9A9A; }
.mc-mid { font-weight: 800; color: var(--muted); font-size: 13px; text-transform: uppercase; }
.ft-tag { background: #000; color: #fff; padding: 3px 8px; border-radius: 3px; font-size: 11px; }
.mc-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.mc-actions .btn { min-height: 34px; font-size: 13px; padding: 6px 14px; }
.round-bar { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; margin-bottom: 20px; }
.rb-scroll { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.rb { flex: none; min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 4px; font-weight: 800; position: relative; font-variant-numeric: tabular-nums; }
.rb small { position: absolute; top: 2px; font-size: 8px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.rb.cur { box-shadow: inset 0 -3px 0 var(--gold); }
.rb.on { background: #000; color: #fff; } .rb.on small { color: var(--gold); }
.rb:hover { text-decoration: none; background: var(--page); } .rb.on:hover { background: #000; }
.rb-arrow { width: 36px; height: 42px; display: grid; place-items: center; border-radius: 4px; }
.rb-arrow svg { width: 18px; }
.round-title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.round-title h2 { font-size: 28px; font-weight: 900; }
.theme { font-weight: 700; color: var(--gold-dark); }
.bye-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 20px; margin-top: 14px; }
.bye-row a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* ---------- match centre ---------- */
.match-hero { background: linear-gradient(100deg, var(--h1) 0 49.8%, #000 49.8% 50.2%, var(--a1) 50.2% 100%); color: #fff; position: relative; }
.match-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.45)); pointer-events: none; }
.mh-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; padding-top: 36px; padding-bottom: 36px; }
.mh-team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.mh-team h2 { font-size: 26px; font-weight: 900; }
.mh-team > span { font-size: 13px; opacity: .9; }
.mh-score { font-size: 64px !important; font-weight: 900; line-height: 1; opacity: 1 !important; }
.mh-team:not(.win) .mh-score { opacity: .6 !important; }
.mh-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.mh-round { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.mh-ft { background: #000; color: var(--gold); font-weight: 900; padding: 6px 14px; border-radius: 3px; text-transform: uppercase; font-size: 13px; }
.mh-vs { font-size: 34px; font-weight: 900; }
.mh-venue { font-size: 13px; opacity: .9; }
.match-hero.slim .mh-inner { padding-top: 20px; padding-bottom: 20px; }
.match-hero.slim .mh-team h2 { font-size: 20px; }
.match-hero + .tabs { background: none; margin-top: 0; }
.summary-grid, .preview-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.preview-grid > :nth-child(3), .preview-grid > :nth-child(4) { grid-column: span 1; }
.sc-cols { display: flex; justify-content: space-between; margin-bottom: 8px; }
.sc-cols h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.sc-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-2); align-items: start; }
.sc-row ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-weight: 600; }
.sc-row ul.right { text-align: right; }
.sc-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 2px; }
.votes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.votes li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.vote-n { width: 34px; height: 34px; border-radius: 50%; background: #000; color: var(--gold); display: grid; place-items: center; font-weight: 900; font-size: 16px; }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line-2); }
.compare tbody th { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.compare tbody td { font-weight: 800; font-size: 16px; width: 38%; }
.compare thead th .crest { margin: 0 auto; }
.two-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two-sides h4 { font-size: 14px; margin-bottom: 6px; }
.out-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.out-list .muted { display: block; font-weight: 400; font-size: 13px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #000; color: #fff; flex-wrap: wrap; }
.cta-card p { margin: 4px 0 0; color: #BDBDBD; }

/* ---------- tables / ladder ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.ladder, table.data { width: 100%; border-collapse: collapse; background: #fff; }
.ladder th, .data th { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); text-align: center; padding: 12px 8px; border-bottom: 2px solid #000; white-space: nowrap; }
.data th { text-align: left; } .data th.r, .data td.r { text-align: right; }
.ladder td, .data td { padding: 10px 8px; border-bottom: 1px solid var(--line-2); text-align: center; white-space: nowrap; }
.data td { text-align: left; }
.data td a, .ladder td a { font-weight: 700; }
.data tr.lead td { background: #FFF6DB; font-weight: 700; }
.ladder .club-col, .data .club-col { text-align: left; }
.club-col a, td.club-col { display: flex; align-items: center; gap: 10px; }
.ladder .pos { width: 64px; text-align: left; padding-left: 16px; }
.pos-n { display: inline-block; width: 22px; font-weight: 900; font-size: 15px; }
.ladder .pts { font-weight: 900; font-size: 16px; }
.ladder tr.cutline td { border-bottom: 3px solid var(--gold); }
.ladder tr.mine td { background: color-mix(in srgb, var(--club1) 8%, #fff); }
.ladder tr.mine td:first-child { box-shadow: inset 4px 0 0 var(--club1); }
.ladder.mini td, .ladder.mini th { padding: 8px 5px; font-size: 14px; }
.ladder.mini .pos { width: 40px; padding-left: 4px; }
.mv { display: inline-flex; align-items: center; gap: 1px; font-size: 11px; font-weight: 800; vertical-align: middle; }
.mv svg { width: 9px; height: 9px; }
.mv-up { color: #000; } .mv-up svg { color: var(--gold); }
.mv-down { color: var(--loss); } .mv-0 { color: #BBB; }
.cut-note { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); padding: 10px 16px; margin: 0; }
.cut-note span { width: 24px; height: 3px; background: var(--gold); }
.form { display: inline-flex; gap: 4px; }
.fd { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 10px; font-weight: 900; font-style: normal; color: #fff; }
.fd-W { background: var(--win); } .fd-L { background: var(--loss); } .fd-D { background: var(--draw); } .fd-B { background: var(--bye); color: #000; }

/* leaders */
.leaders { list-style: none; margin: 0; padding: 0; }
.leaders li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.leaders li:last-child { border-bottom: 0; }
.leaders .rank { width: 20px; font-weight: 900; color: var(--muted); }
.leaders .who { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.leaders .who strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaders .who span { font-size: 12px; color: var(--muted); }
.leaders .val { font-weight: 900; font-size: 18px; text-align: right; }
.leaders .val small { display: block; font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.leaders li.top { background: #FFF6DB; margin: 0 -10px; padding: 10px; border-radius: 4px; border-bottom: 0; }
.leaders li.top .rank { color: #000; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.stat-grid .card { margin: 0; }
.totals { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.total { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; border-top: 4px solid #000; }
.total b { display: block; font-size: 30px; font-weight: 900; line-height: 1.1; }
.total span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.total.pos { border-top-color: var(--gold); } .total.neg { border-top-color: var(--loss); }
td.pos, .pos-v { color: #000; } td.neg { color: var(--loss); } td.r.pos { font-weight: 800; }

/* Dally M */
.dm-leader { display: flex; align-items: center; gap: 24px; padding: 28px 32px; border-radius: var(--radius); color: #fff; margin-bottom: 20px; background: linear-gradient(110deg, #000 0 55%, var(--c1) 55%); }
.dm-leader h2 { font-size: 34px; font-weight: 900; } .dm-leader h2 a:hover { text-decoration-color: var(--gold); }
.dm-leader p { margin: 4px 0 0; color: #D0D0D0; } .dm-leader .label { color: #fff; }
.dm-votes { margin-left: auto; font-size: 64px; font-weight: 900; line-height: 1; text-align: center; color: var(--gold); text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.dm-votes small { display: block; font-size: 13px; color: #fff; text-transform: uppercase; letter-spacing: .06em; }

/* clubs */
.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.club-grid.small { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 12px; }
.club-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 12px 18px; border-radius: var(--radius); color: #fff; text-align: center; background: linear-gradient(160deg, var(--c1) 0 68%, color-mix(in srgb, var(--c1) 70%, #000) 68%); border-bottom: 5px solid var(--c2); transition: transform .15s, box-shadow .15s; }
.club-tile:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.club-tile strong { font-size: 17px; font-weight: 900; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.club-tile span { font-size: 12px; opacity: .85; }
.club-grid.small .club-tile { padding: 14px 8px 12px; } .club-grid.small .club-tile strong { font-size: 14px; }
.club-tile.on { outline: 4px solid var(--gold); outline-offset: 2px; }
.club-hero { color: #fff; background: linear-gradient(110deg, var(--c1) 0 64%, color-mix(in srgb, var(--c1) 72%, #000) 64%); border-bottom: 6px solid var(--c2); margin-bottom: 28px; }
.ch-inner { display: flex; align-items: center; gap: 28px; padding-top: 36px; padding-bottom: 36px; flex-wrap: wrap; }
.ch-inner h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; text-shadow: 0 2px 6px rgba(0,0,0,.3); }
.ch-inner p { margin: 2px 0 0; opacity: .9; }
.ch-inner > .btn, .ch-inner > .badge-member { margin-left: auto; }
.ch-stats { display: flex; gap: 28px; margin-top: 16px; flex-wrap: wrap; }
.ch-stats span { display: flex; flex-direction: column; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; opacity: .95; }
.ch-stats b { font-size: 28px; letter-spacing: 0; font-weight: 900; }
.status-pill { display: flex; gap: 8px; align-items: center; margin-top: 10px !important; }
.fixtures { list-style: none; margin: 0; padding: 0; }
.fx { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.fx-rd { font-weight: 900; color: var(--muted); }
.fx-opp { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.fx.bye .fx-opp { color: var(--muted); }
.fx-res { display: flex; align-items: center; gap: 8px; font-weight: 800; font-variant-numeric: tabular-nums; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.facts dt { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; padding-top: 2px; }
.facts dd { margin: 0; font-weight: 600; }
.squad { list-style: none; margin: 0; padding: 0; columns: 1; }
.squad li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.squad li a { font-weight: 700; } .squad .muted { font-size: 13px; margin-left: auto; }
.filter-bar { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-bar input, .filter-bar select { height: 44px; border: 1px solid #CFCFCF; border-radius: 4px; padding: 0 12px; background: #fff; min-width: 0; }
.filter-bar input { flex: 1 1 260px; }

/* casualty / judiciary / records */
.cw-grid, .sus-grid, .record-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.cw-club h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 8px; }
.cw-club ul { list-style: none; margin: 0; padding: 0; }
.cw-club li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.cw-club li > div:first-child { display: flex; flex-direction: column; }
.cw-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ret { font-size: 13px; font-weight: 700; }
.sus-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sus-top > div { display: flex; flex-direction: column; }
.record { border-top: 4px solid var(--gold); } .record b { display: block; font-size: 44px; font-weight: 900; line-height: 1.1; margin-top: 6px; } .record p { margin: 4px 0 0; }

/* article */
.article { padding-top: 32px; }
.article h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 900; line-height: 1.06; margin: 12px 0; }
.article .standfirst { font-size: 20px; color: #3A3A3A; margin: 0 0 18px; line-height: 1.4; }
.byline { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.byline strong { color: var(--text); }
.article .art { border-radius: var(--radius); margin-bottom: 28px; }
.article-body { font-size: 18px; line-height: 1.7; }
.article-body h2 { font-size: 24px; font-weight: 900; margin: 32px 0 8px; }
.article-body p { margin: 0 0 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.prose { background: #fff; padding: 28px 32px; border-radius: var(--radius); box-shadow: var(--shadow); font-size: 16px; }
.prose h2 { font-size: 20px; margin: 22px 0 8px; } .prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: 6px; }

/* ---------- odds ---------- */
.odds-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.odds-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; display: grid; gap: 12px; }
.odds-head { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.odds-head span { flex: 1; text-align: center; }
.odds-btns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.odds-btns.n5 { grid-template-columns: repeat(5, 1fr); }
.odds-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 8px; border: 1px solid #D5D5D5; background: #fff; border-radius: 4px; font-size: 12px; font-weight: 600; text-align: center; transition: border-color .12s, background .12s; min-width: 0; }
.odds-btn span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; white-space: nowrap; }
.odds-btn strong { font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.odds-btn:hover:not([disabled]) { border-color: #000; }
.odds-btn.on { background: #000; color: #fff; border-color: #000; }
.odds-btn.on strong { color: var(--gold); }
.odds-btn.row { flex-direction: row; justify-content: space-between; text-align: left; padding: 10px 14px; }
.odds-btn.row small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.odds-btn.row.on small { color: #BDBDBD; }
.small-link { font-size: 13px; font-weight: 700; display: inline-flex; gap: 4px; align-items: center; } .small-link svg { width: 14px; }
.market-match .mm-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; }
.mm-head div { display: flex; flex-direction: column; flex: 1; text-align: center; }
.mm-head strong { font-size: 18px; }
.market { margin-top: 14px; }
.market h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.market.fts { border-top: 1px solid var(--line-2); padding-top: 12px; }
.market.fts summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.market.fts summary::-webkit-details-marker { display: none; }
.market.fts summary h4 { margin: 0; }
.market.fts summary svg { width: 18px; margin-left: auto; transition: transform .2s; }
.market.fts[open] summary svg { transform: rotate(180deg); }
.fts-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; max-height: 420px; overflow: auto; }
.bet-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.bet { border-left: 4px solid #000; margin: 0; }
.bet-won { border-left-color: var(--gold); } .bet-lost { border-left-color: var(--loss); } .bet-void { border-left-color: var(--draw); }
.bet-top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.bet-status { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.bet ul { list-style: none; margin: 0; padding: 0; }
.bet li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.bet li > span { display: flex; flex-direction: column; } .bet li .muted { font-size: 12px; }
.leg-won strong::after { content: ' ✓'; color: var(--gold-dark); } .leg-lost strong { text-decoration: line-through; color: var(--muted); }
.bet-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13px; }
.rich .avatar { margin-right: 2px; }

/* bet slip */
.slip-btn { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px; border: 0; border-radius: 26px; background: #000; color: #fff; font-weight: 800; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.slip-btn svg { width: 22px; } .slip-btn b { min-width: 24px; height: 24px; border-radius: 12px; background: var(--gold); color: #000; display: grid; place-items: center; font-size: 13px; }
.slip { position: fixed; right: 20px; bottom: 84px; z-index: 71; width: 380px; max-width: calc(100vw - 24px); max-height: calc(100vh - 120px); overflow: auto; background: #fff; border-radius: 10px; box-shadow: 0 16px 48px rgba(0,0,0,.35); }
.slip-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; background: #000; color: #fff; position: sticky; top: 0; z-index: 1; }
.slip-head h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; } .slip-head h2 svg { width: 20px; } .slip-head .icon-btn { color: #fff; }
.slip-body { list-style: none; margin: 0; padding: 6px 18px; }
.slip-item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.slip-item > div { display: flex; flex-direction: column; } .slip-item .muted { font-size: 12px; }
.slip-item .icon-btn { width: 30px; height: 30px; } .slip-item .icon-btn svg { width: 16px; }
.slip-item.closed { opacity: .55; }
.slip-price { font-weight: 900; font-size: 17px; font-variant-numeric: tabular-nums; }
.seg { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 18px 0; border: 1px solid #000; border-radius: 4px; overflow: hidden; }
.seg button { border: 0; background: #fff; padding: 8px; font-weight: 700; font-size: 13px; }
.seg button.on { background: #000; color: #fff; }
.slip-foot { padding: 12px 18px 16px; display: grid; gap: 8px; }
.slip-foot label, .order label, form.card label, .auth-card label { font-weight: 700; font-size: 13px; }
.stake-row { display: flex; gap: 6px; align-items: center; }
.stake-row input { flex: 1; min-width: 0; height: 42px; border: 1px solid #BDBDBD; border-radius: 4px; padding: 0 10px; font-weight: 800; font-size: 16px; }
.stake-row .chip { padding: 6px 10px; }
.slip-line { display: flex; justify-content: space-between; margin: 0; font-size: 14px; }
.slip-line.big { font-size: 16px; } .slip-line.big b { font-size: 18px; }
.slip-warn { color: var(--loss); font-size: 13px; font-weight: 600; margin: 4px 18px; }
.order .slip-warn { margin: 6px 0 0; }

/* ---------- tickets ---------- */
.ticket-list { display: grid; gap: 12px; }
.tl-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 20px; align-items: center; margin: 0; }
.tl-teams { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.tl-from { font-weight: 800; white-space: nowrap; }
.seat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; margin-top: 24px; }
.seat-layout .col-side { top: 130px; }
.stadium { width: 100%; max-width: 720px; margin: 0 auto; }
.st-outer { fill: #2A2A2A; }
.pitch { fill: #3B3B3B; stroke: #fff; stroke-width: 2; }
.pitch-line { stroke: rgba(255,255,255,.35); stroke-width: 1.5; }
.pitch-text { fill: rgba(255,255,255,.5); font: 900 18px var(--font); text-anchor: middle; letter-spacing: .3em; }
.bay path { stroke: #2A2A2A; stroke-width: 1.5; transition: filter .12s; }
.bay text { font: 800 14px var(--font); text-anchor: middle; pointer-events: none; }
.bay[data-action] { cursor: pointer; }
.bay[data-action]:hover path, .bay:focus-visible path { filter: brightness(1.15); stroke: #fff; stroke-width: 3; }
.bay:focus-visible { outline: none; }
.bay-premium path { fill: #FFB700; } .bay-premium text { fill: #000; }
.bay-sideline path { fill: #F2F2F2; } .bay-sideline text { fill: #000; }
.bay-end path { fill: #9A9A9A; } .bay-end text { fill: #000; }
.bay-ga path { fill: #5E5E5E; } .bay-ga text { fill: #fff; }
.bay-inner path { fill: var(--club1); stroke: var(--gold); stroke-width: 3; } .bay-inner text { fill: #fff; }
.bay.locked path { fill: #555; opacity: .6; } .bay.locked text { fill: #CCC; }
.bay.sel path { stroke: #fff; stroke-width: 5; filter: drop-shadow(0 0 6px rgba(255,183,0,.9)); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 13px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.sw { width: 16px; height: 16px; border-radius: 3px; display: inline-block; border: 1px solid #BDBDBD; }
.sw-premium { background: #FFB700; } .sw-sideline { background: #F2F2F2; } .sw-end { background: #9A9A9A; } .sw-ga { background: #5E5E5E; }
.sw-inner { background: var(--club1); border: 2px solid var(--gold); } .sw-free { background: #fff; } .sw-sel { background: #000; } .sw-taken { background: #D5D5D5; border-color: #D5D5D5; }
.field-label { text-align: center; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 6px; background: var(--page); border-radius: 4px; margin-bottom: 10px; }
.seat-grid { display: grid; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.seat-row { display: flex; gap: 5px; align-items: center; justify-content: center; min-width: max-content; }
.row-l { width: 18px; text-align: center; font-weight: 800; color: var(--muted); font-size: 12px; }
.seat { width: 30px; height: 30px; border: 1px solid #BDBDBD; background: #fff; border-radius: 6px 6px 3px 3px; font-size: 10px; font-weight: 700; color: #555; padding: 0; }
.seat:hover:not([disabled]) { border-color: #000; color: #000; }
.seat.sel { background: #000; border-color: #000; color: var(--gold); }
.seat.taken { background: #D5D5D5; border-color: #D5D5D5; color: transparent; cursor: not-allowed; }
.order-list { list-style: none; margin: 0 0 12px; padding: 0; }
.order-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.order-list .icon-btn { width: 28px; height: 28px; } .order-list .icon-btn svg { width: 14px; }
.order input, form.card input:not([type=checkbox]):not([type=radio]), form.card select, .auth-card input { width: 100%; height: 44px; border: 1px solid #BDBDBD; border-radius: 4px; padding: 0 12px; background: #fff; margin: 4px 0 14px; }
.order .slip-line { margin: 4px 0; }
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.eticket { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.12); display: flex; flex-direction: column; padding-bottom: 16px; }
.et-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: linear-gradient(100deg, var(--h1) 0 50%, var(--a1) 50%); color: #fff; font-weight: 800; font-size: 13px; }
.et-void { margin-left: auto; background: #fff; color: #000; padding: 2px 8px; border-radius: 3px; text-transform: uppercase; font-size: 11px; }
.et-teams { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px; font-size: 16px; text-align: center; }
.et-seat { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 16px; border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); padding: 12px 0; text-align: center; }
.et-seat dt { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }
.et-seat dd { margin: 0; font-size: 26px; font-weight: 900; }
.et-venue, .et-holder { margin: 10px 16px 0; font-size: 14px; } .et-holder { font-weight: 800; margin-top: 2px; }
.et-code { width: 120px; height: 120px; margin: 14px auto; image-rendering: pixelated; }
.eticket .btn { margin: 0 16px; width: auto; }
.eticket:has(.et-void) { opacity: .65; }

/* memberships */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { display: flex; flex-direction: column; gap: 12px; border-top: 6px solid var(--c1); margin: 0; }
.tier.featured { box-shadow: 0 0 0 3px var(--gold), var(--shadow); }
.tier-top { display: flex; align-items: center; gap: 12px; } .tier-top h3 { font-size: 22px; font-weight: 900; margin: 0; }
.tier-price { margin: 0; } .tier-price b { font-size: 34px; font-weight: 900; } .tier-price span { display: block; font-size: 13px; color: var(--muted); }
.tier ul { margin: 0; padding-left: 18px; flex: 1; } .tier li { margin-bottom: 6px; }

/* account / auth */
.auth { display: grid; place-items: center; padding-top: 40px; }
.auth-card { width: 100%; max-width: 440px; padding: 32px; display: flex; flex-direction: column; }
.auth-card > img { align-self: center; margin-bottom: 12px; }
.auth-card h1 { font-size: 28px; font-weight: 900; text-align: center; margin-bottom: 6px; }
.auth-card > p.muted { text-align: center; margin: 0 0 16px; }
.auth-card .btn-lg { margin-top: 6px; }
.google { gap: 10px; margin-bottom: 6px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 14px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; font-weight: 600; margin: 16px 0 4px; }
.auth-links a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.gate { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gate h2 { font-size: 26px; font-weight: 900; } .gate p { color: var(--muted); max-width: 460px; margin: 0; }
.profile-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; } .profile-top > div { display: flex; flex-direction: column; }
.avatars { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.avatars legend { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.av-opt { cursor: pointer; border-radius: 50%; padding: 2px; }
.av-opt input { position: absolute; opacity: 0; }
.av-opt:has(input:checked) { box-shadow: 0 0 0 3px var(--gold); }
.av-opt:has(input:focus-visible) { outline: 3px solid #000; }
.switch { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; font-weight: 500 !important; font-size: 14px !important; }
.switch input { width: 20px; height: 20px; accent-color: #000; }
.balance-card { display: flex; align-items: center; gap: 16px; background: #000; color: #fff; }
.balance-card > svg { width: 56px; height: 56px; }
.balance-card b { display: block; font-size: 36px; font-weight: 900; line-height: 1.05; }
.balance-card .label { color: #fff; }
.link-list { list-style: none; margin: 0; padding: 0; } .link-list li { padding: 9px 0; border-bottom: 1px solid var(--line-2); font-weight: 700; } .link-list li:last-child { border: 0; }
.inline-form { display: flex; gap: 6px; } .inline-form input { height: 34px; border: 1px solid #BDBDBD; border-radius: 4px; padding: 0 8px; width: 110px; }

/* promo */
.promo { margin-top: 32px; }
.promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border-radius: var(--radius); background: linear-gradient(110deg, #000 0 60%, #1E1E1E 60%); color: #fff; border-left: 8px solid var(--gold); flex-wrap: wrap; }
.promo-inner h2 { font-size: 30px; font-weight: 900; margin: 6px 0; } .promo-inner p { margin: 0; color: #CFCFCF; } .promo-inner .label { color: #fff; }

/* ---------- footer ---------- */
#site-footer { background: #000; color: #fff; margin-top: 24px; }
.ftr-clubs { border-bottom: 1px solid #222; }
.ftr-clubs .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.ftr-clubs a { opacity: .85; transition: opacity .15s, transform .15s; } .ftr-clubs a:hover { opacity: 1; transform: scale(1.08); }
.ftr-partners { border-bottom: 1px solid #222; }
.ftr-partners .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; }
.ftr-partners .label { color: #9A9A9A; }
.partner { font-weight: 900; font-size: 17px; letter-spacing: .02em; color: #D8D8D8; text-transform: uppercase; }
.ftr-main { display: flex; justify-content: space-between; gap: 32px; padding-top: 36px; padding-bottom: 24px; flex-wrap: wrap; }
.ftr-brand { display: flex; align-items: center; gap: 14px; } .ftr-brand div { display: flex; flex-direction: column; } .ftr-brand strong { font-size: 18px; } .ftr-brand span { color: #9A9A9A; font-size: 13px; }
.ftr-links { display: flex; gap: 56px; flex-wrap: wrap; }
.ftr-links div { display: flex; flex-direction: column; gap: 8px; }
.ftr-links h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark-bg); margin-bottom: 4px; }
.ftr-links a { color: #E0E0E0; font-size: 14px; }
.ftr-legal { border-top: 1px solid #222; padding-top: 18px; padding-bottom: 32px; font-size: 13px; color: #A8A8A8; }
.ftr-legal p { margin: 0 0 4px; } .ftr-legal .updated { margin-top: 10px; color: #777; }

/* toasts */
#toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(460px, calc(100vw - 24px)); pointer-events: none; }
.toast { background: #000; color: #fff; padding: 12px 18px; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.3); font-weight: 600; border-left: 5px solid var(--gold); transition: opacity .4s, transform .4s; }
.toast-error { border-left-color: var(--loss); }
.toast.out { opacity: 0; transform: translateY(8px); }

/* ---------- layout pass: page heads, filters, cards ---------- */
.page-head { padding: 0; margin-bottom: 20px; border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.page-head .wrap { padding-top: 16px; padding-bottom: 14px; }
.page-head h1 { font-size: 26px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.page-head p { font-size: 14px; margin-top: 2px; }
.page-head .tabs { margin: 14px 0 -14px; }
.slash { color: var(--gold); font-style: normal; font-weight: 800; }
.sec-head h2::after { content: ' /'; color: var(--gold); }
.col-side, .seat-layout .col-side { top: 24px; }
.btn-outline { border-color: var(--gold); }
.center { text-align: center; }
.note.top { margin: -6px 0 14px; }
.theme { margin: -12px 0 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.filters .push { margin-left: auto; }
.sel select, .stepper, .psearch { height: 40px; background-color: #fff; border: 1px solid #D9D9D9; border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.sel select { padding: 0 38px 0 14px; min-width: 160px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.stepper { display: inline-flex; align-items: center; }
.stepper a, .stepper .off { width: 40px; height: 38px; display: grid; place-items: center; }
.stepper a svg { width: 16px; height: 16px; }
.stepper > span:not(.off) { min-width: 96px; text-align: center; }
.psearch { display: flex; flex: 1 1 320px; max-width: 520px; overflow: hidden; }
.psearch input { flex: 1; min-width: 0; border: 0; padding: 0 14px; background: none; }
.psearch button { width: 42px; border: 0; background: var(--gold); color: #000; display: grid; place-items: center; }
.psearch button svg { width: 18px; height: 18px; }
.seg2 { display: inline-flex; background: #fff; border: 1px solid #D9D9D9; border-radius: 4px; overflow: hidden; }
.seg2 a { padding: 8px 28px; font-size: 13px; font-weight: 700; }
.seg2 a:hover { text-decoration: none; background: var(--page); }
.seg2 a.on { background: var(--gold); color: #000; }

/* home top */
.home-top { background: #141414; color: #fff; display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(340px, 1fr); }
.hero-lead { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-lead:hover { text-decoration: none; }
.hero-lead:hover h2 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; text-decoration-thickness: 3px; }
.hero-lead .art { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.hero-lead .art .art-crest, .hero-lead .art .art-logo { top: 38%; width: 30%; right: 12%; }
.hero-lead::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.88) 92%); }
.hero-text { position: relative; z-index: 1; padding: 0 64px 44px; max-width: 840px; }
.hero-text h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.12; margin: 10px 0 14px; }
.hero-text p { margin: 0 0 12px; font-size: 16px; color: #EDEDED; }
.hero-text .meta, .hero-item .meta { font-size: 13px; color: #B5B5B5; }
.hero-list { padding: 24px 28px; display: grid; align-content: start; gap: 24px; }
.hero-item { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 16px; color: #fff; align-items: start; }
.hero-item:hover { text-decoration: none; } .hero-item:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.hero-item h3 { font-size: 15px; font-weight: 700; line-height: 1.25; margin: 8px 0 22px; }
.hero-item .art { border-radius: 6px; aspect-ratio: 140/116; }
.hero-item .art .art-crest b { font-size: 18px; }
.hero-item.mine, .hero-lead.mine { box-shadow: inset 4px 0 0 var(--accent-dark-bg); } .hero-item.mine { padding-left: 12px; }
.ntag { display: inline-block; background: var(--gold); color: #000; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 2px 7px; border-radius: 2px; }
.home-top + section .daily { margin-top: 24px; }

/* match cards */
.match-card { padding: 0; text-align: center; }
.mc-kicker { margin: 0; padding: 14px 16px 0; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #444; }
.mc-link { display: block; color: inherit; } .mc-link:hover { text-decoration: none; background: #FCFCFC; }
.mc-row { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 10px 20px 18px; }
.mc-n { flex: 1 1 0; min-width: 0; font-size: 20px; font-weight: 500; text-align: left; display: flex; flex-direction: column; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mc-n.home { text-align: right; align-items: flex-end; }
.mc-n small { font-size: 12px; color: var(--muted); font-weight: 400; }
.mc-s { font-size: 36px; font-weight: 300; min-width: 48px; font-variant-numeric: tabular-nums; line-height: 1; }
.mc-s.win { font-weight: 800; }
.mc-state { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #444; min-width: 70px; }
.mc-state.up { font-size: 15px; font-weight: 800; }
.mc-foot { border-top: 1px solid var(--line); padding: 14px 16px 18px; }
.mc-venue { margin: 0 0 4px; font-size: 14px; color: #333; }
.mc-actions { margin-top: 12px; padding-top: 0; border-top: 0; gap: 16px; }
.mc-actions .btn { min-width: 200px; min-height: 40px; font-size: 14px; }
.match-grid .mc-actions .btn { min-width: 0; }
.match-grid .mc-row { gap: 12px; } .match-grid .mc-row .crest { --s: 44px !important; }
.match-grid .mc-n { font-size: 16px; } .match-grid .mc-s { font-size: 28px; min-width: 34px; } .match-grid .mc-state { min-width: 0; font-size: 10px; }

/* match centre */
.mc-banner { height: 340px; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 20px; font-size: 20px; background: linear-gradient(100deg, color-mix(in srgb, var(--h1) 75%, #000), #0A0F1E 36%, #0A0F1E 64%, color-mix(in srgb, var(--a1) 75%, #000)); }
.mc-banner img { width: 84px; height: 84px; object-fit: contain; }
.mc-wrap { margin-top: -180px; position: relative; }
.mc-hero { margin-bottom: 16px; }
.mc-hero .mc-row { padding: 22px 20px 30px; gap: 32px; }
.mc-hero .mc-n { font-size: 30px; } .mc-hero .mc-s { font-size: 60px; min-width: 96px; }
.tabs-card { background: #fff; border-radius: 6px; box-shadow: var(--shadow); border: 0; justify-content: center; margin-bottom: 24px; }
.tabs-card a { font-size: 14px; font-weight: 500; } .tabs-card a.on { font-weight: 700; } .tabs-card a.on::after { bottom: 0; height: 3px; }
.score-card { text-align: center; padding: 30px 18px; }
.sb + .sb { margin-top: 36px; }
.sb-head { display: flex; justify-content: center; align-items: baseline; gap: 44px; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.sb-head b { font-weight: 400; min-width: 30px; } .sb-head b.hi { font-weight: 800; }
.sb-lists { display: grid; grid-template-columns: 1fr 1fr; }
.sb-lists ul { list-style: none; margin: 0; padding: 0 24px; font-size: 14px; text-align: left; line-height: 1.35; }
.sb-lists ul.r { text-align: right; border-right: 1px solid var(--line); }
.sb-lists a { font-weight: 400; }

/* ladder */
table.ladder { background: transparent; }
.ladder th { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13px; color: #555; border-bottom: 1px solid var(--line); padding: 14px 8px; }
.ladder td { background: #fff; height: 46px; padding: 3px 8px; font-size: 13px; border-bottom: 1px solid var(--line); }
.ladder td.club-col { display: table-cell; }
.ladder .club-col a { gap: 0; }
.ladder .tname { border-left: 1px solid var(--line); margin-left: 12px; padding: 9px 0 9px 12px; font-weight: 500; }
.ladder .pts { font-weight: 800; font-size: 13px; }
.ladder .pos { width: 58px; padding-left: 14px; }
.pos-n { width: auto; margin-right: 5px; font-weight: 500; font-size: 13px; }
.mv svg { width: 8px; height: 8px; } .mv-up svg { color: var(--gold-dark); }
.ladder .next a { display: inline-block; }
.ladder.mini td { height: 40px; } .ladder.mini .tname { border: 0; margin-left: 8px; padding-left: 0; }

/* players + stats */
.p-grid, .st-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; align-items: start; }
.p-tile, .st-lead { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 2px; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 88%, #000), color-mix(in srgb, var(--c1) 55%, #000)); text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.p-tile { height: 148px; border-radius: 4px; padding: 16px; }
.p-tile:hover, .st-lead:hover { text-decoration: none; filter: brightness(1.1); }
.p-name { font-size: 17px; font-weight: 600; line-height: 1.1; margin-bottom: 6px; position: relative; z-index: 1; }
.p-pos, .p-club { font-size: 12px; position: relative; z-index: 1; }
.p-tile > .crest, .st-lead > .crest { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); text-shadow: none; }
.st-card { position: relative; background: #fff; box-shadow: var(--shadow); border-radius: 2px; overflow: hidden; }
.st-h { position: absolute; left: 0; right: 0; top: 0; z-index: 2; margin: 0; padding: 12px 16px; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.st-lead { height: 164px; padding: 50px 16px 0; }
.st-lead > .crest { --s: 88px !important; }
.st-lead b { font-size: 28px; font-weight: 800; line-height: 1.1; margin-top: 4px; position: relative; z-index: 1; }
.st-lead > .crest { top: 60%; }
.st-card ol { list-style: none; margin: 0; padding: 0; }
.st-card li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 16px; border-bottom: 1px solid var(--line-2); }
.st-card li a { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; min-width: 0; }
.st-card li a strong { font-weight: 500; } .st-card li a span { color: #777; font-size: 12px; }
.st-card li b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.st-more { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 14px; font-size: 13px; font-weight: 600; text-decoration: underline; }
.st-more svg { width: 14px; height: 14px; }
.more svg { height: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .two-col, .seat-layout { grid-template-columns: minmax(0, 1fr); }
  .col-side { position: static; }
  .news-grid, .p-grid, .st-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mcs-grid { grid-template-columns: 1fr 1fr; }
  .home-top { grid-template-columns: minmax(0, 1fr); }
  .hero-lead { min-height: 440px; }
  .hero-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  html { scroll-padding-top: 76px; }
  body { padding-left: 0; }
  body.nav-open { overflow: hidden; }
  #site-header { position: sticky; top: 0; z-index: 60; }
  .topbar { display: flex; }
  .side { top: 60px; width: 264px; transform: translateX(-100%); transition: transform .25s; }
  body.nav-open .side { transform: none; box-shadow: 8px 0 32px rgba(0,0,0,.5); }
  .brand { display: none; }
  .mainnav { padding-top: 14px; }
  .nav-l { height: 44px; font-size: 13px; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .top-stories, .news-grid, .story-row, .p-grid, .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .match-grid, .odds-grid, .summary-grid, .preview-grid, .tier-grid, .mcs-grid, .hero-list { grid-template-columns: minmax(0, 1fr); }
  .hero-text { padding: 0 20px 28px; } .hero-lead { min-height: 360px; } .hero-list { padding: 20px 16px; }
  .ticker-inner { padding-left: 12px; } .tick-arrow { display: none; } .tick-head { padding-right: 10px; }
  .mc-row, .mc-hero .mc-row { gap: 10px; padding: 10px 10px 16px; }
  .mc-row .crest { --s: 40px !important; } .mc-hero .mc-row .crest { --s: 52px !important; }
  .mc-n, .mc-hero .mc-n { font-size: 15px; } .mc-s { font-size: 26px; min-width: 30px; } .mc-hero .mc-s { font-size: 36px; min-width: 44px; }
  .mc-state { min-width: 0; font-size: 9px; letter-spacing: .06em; }
  .mc-actions { gap: 8px; } .mc-actions .btn { min-width: 0; flex: 1 1 120px; }
  .mc-banner { height: 250px; } .mc-wrap { margin-top: -120px; }
  .sb-head { gap: 24px; } .sb-lists ul { padding: 0 12px; }
  .tl-row { grid-template-columns: 1fr auto; }
  .tl-row .muted { grid-column: 1 / -1; order: 3; }
  .mh-score { font-size: 44px !important; }
  .mh-team h2 { font-size: 18px; }
  .mh-team .crest { --s: 64px !important; }
  .dm-leader { flex-wrap: wrap; padding: 20px; } .dm-votes { margin-left: 0; }
  .odds-btns.n5 { grid-template-columns: repeat(2, 1fr); }
  .fts-list { grid-template-columns: 1fr; }
  .daily { flex-wrap: wrap; } .daily .btn { margin-left: 0; width: 100%; }
  .cw-grid, .sus-grid, .record-grid, .bet-list { grid-template-columns: 1fr; }
  .ftr-links { gap: 32px; }
  .filters .push { margin-left: 0; }
}
@media (max-width: 520px) {
  .top-stories, .news-grid, .story-row, .st-grid { grid-template-columns: minmax(0, 1fr); }
  .mc-n small { display: none; }
  .p-tile > .crest { --s: 72px !important; right: 6px; }
  .slip { right: 12px; bottom: 80px; }
  .slip-btn { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.auth-card .hint { margin: -8px 0 14px; }
.auth-links { justify-content: center; }

/* PretzelBets rework */
.odds-btns.n3 { grid-template-columns: repeat(3, 1fr); } .odds-btns.n4 { grid-template-columns: repeat(4, 1fr); }
.bm-row { margin-bottom: 14px; padding: 14px 18px; }
.bm-head { display: flex; align-items: center; gap: 10px; font-size: 16px; padding-bottom: 12px; }
.bm-head .muted { margin-left: auto; font-size: 13px; }
.bm-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bm-main h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.bm-more { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 12px; font-size: 13px; font-weight: 700; }
.bm-more svg { width: 14px; height: 14px; }
.bet-match { padding-top: 16px; }
.crumbs { display: flex; justify-content: space-between; margin: 0 0 14px; }
.chip small { font-weight: 700; opacity: .6; }
.bet-match .market:first-child { margin-top: 0; }
.bet-match .market + .market { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.ts-table th[scope=row] { text-align: left; text-transform: none; letter-spacing: 0; border-bottom: 1px solid var(--line-2); color: var(--text); font-size: 14px; padding: 8px 12px; }
.ts-table th[scope=row] .muted { display: block; font-weight: 400; font-size: 12px; }
.ts-table thead th:not(:first-child), .ts-table td { text-align: center; }
.ts-table td { padding: 6px 4px; }
.ts-table .odds-btn { width: 100%; min-width: 64px; padding: 7px 4px; } .ts-table .odds-btn strong { font-size: 14px; }
@media (max-width: 860px) { .bm-main { grid-template-columns: minmax(0, 1fr); } .bm-head .muted { display: none; } .odds-btns.n4 { grid-template-columns: repeat(2, 1fr); } }

.combo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.combo { margin: 0; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--gold); }
.combo p { margin: 0; font-size: 13px; } .combo ul { margin: 4px 0; padding-left: 18px; font-size: 14px; font-weight: 600; flex: 1; }
.combo-foot { display: flex; align-items: center; justify-content: space-between; } .combo-foot b { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.fut-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fut-l { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 14px; font-weight: 700; white-space: normal !important; }
@media (max-width: 1100px) { .combo-grid { grid-template-columns: minmax(0, 1fr); } .fut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fut-grid { grid-template-columns: minmax(0, 1fr); } }

/* tipping */
.tip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tip-card { margin: 0; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.tip-card.drew { box-shadow: 0 0 0 2px var(--draw), var(--shadow); }
.tip-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 10px; }
.tip-vs { align-self: center; font-weight: 800; color: var(--muted); text-transform: uppercase; font-size: 13px; }
.tip-team { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px 12px; border: 2px solid var(--line); background: #fff; border-radius: 6px; text-align: center; transition: border-color .12s, background .12s; }
.tip-team strong { font-size: 16px; font-weight: 800; } .tip-team span { font-size: 12px; color: var(--muted); }
.tip-team:hover:not([disabled]) { border-color: #000; }
.tip-team.on { border-color: #000; background: #000; color: #fff; } .tip-team.on span { color: #CFCFCF; }
.tip-team.on::after { content: 'Your tip'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #000; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 2px 8px; border-radius: 3px; white-space: nowrap; }
.tip-team[disabled] { cursor: default; } .tip-team[disabled]:not(.on) { opacity: .7; }
.tip-team.won { box-shadow: inset 0 -4px 0 var(--gold); }
.tip-score { font-size: 24px; font-weight: 900; line-height: 1; margin-top: 2px; font-variant-numeric: tabular-nums; }
.tip-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.crowd { flex: 1 1 80px; max-width: 160px; height: 6px; border-radius: 3px; background: #D5D5D5; overflow: hidden; } .crowd i { display: block; height: 100%; background: #000; }
.tip-st { margin-left: auto; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 3px; background: var(--page); }
.tip-st.ok { background: var(--gold); color: #000; } .tip-st.no { background: #FDE7E9; color: #9B0D23; } .tip-st.auto, .tip-st.miss { color: var(--muted); }
.tip-margin { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line-2); margin: 0; font-size: 13px; font-weight: 700; }
.tip-margin input { width: 96px; height: 38px; border: 1px solid #BDBDBD; border-radius: 4px; padding: 0 10px; font-weight: 800; }
.tip-save { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 14px 18px; background: #000; color: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.tip-save > div { display: flex; flex-direction: column; } .tip-save b { font-size: 18px; } .tip-save .muted { color: #BDBDBD; } .tip-save a { color: #fff; text-decoration: underline; }
.tip-sum { font-size: 14px; } .tip-sum b { font-size: 16px; }
.tip-promo p { margin: 0 0 12px; font-size: 14px; }
table.data tr.me td { background: #FFF6DB; font-weight: 700; }
.note.pad-x { padding: 0 18px; margin: 0 0 8px; }
@media (max-width: 860px) { .tip-grid { grid-template-columns: minmax(0, 1fr); } .tip-save { padding: 10px 12px; gap: 10px; } .tip-save b { font-size: 16px; } .tip-save .muted { font-size: 11px; } .tip-save .btn-lg { min-height: 42px; padding: 8px 16px; } }

/* crest contrast: solid colours under the gradients, read by the crest picker */
.art, .club-tile, .club-hero, .my-club, .p-tile, .st-lead { background-color: var(--a1, var(--c1)); }
.club-tile, .club-hero, .my-club, .p-tile, .st-lead { background-color: var(--c1); }
.dm-leader { background-color: #000; }

/* competition picker (Draw) */
.comp-pick { position: relative; }
.comp-pick summary { list-style: none; display: flex; align-items: center; gap: 10px; height: 40px; min-width: 260px; padding: 0 12px; background: #fff; border: 1px solid #D9D9D9; border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.06); cursor: pointer; font-weight: 600; }
.comp-pick summary::-webkit-details-marker { display: none; }
.comp-pick summary > svg { width: 16px; height: 16px; margin-left: auto; transition: transform .2s; }
.comp-pick[open] summary > svg { transform: rotate(180deg); }
.comp-logo { width: 26px; height: 26px; object-fit: contain; flex: none; }
.comp-menu { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 320px; background: #fff; border-radius: 8px; box-shadow: 0 12px 32px rgba(0,0,0,.18); padding: 8px; display: grid; gap: 2px; }
.comp-menu a { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 6px; border: 2px solid transparent; font-size: 15px; }
.comp-menu a:hover { background: var(--page); text-decoration: none; }
.comp-menu a.on { border-color: var(--gold); }
.comp-empty { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.comp-empty img { width: 96px; height: 96px; object-fit: contain; } .comp-empty h2 { font-size: 24px; font-weight: 900; } .comp-empty p { margin: 0; color: var(--muted); max-width: 440px; }
.mc-comp { display: grid; place-items: center; width: 96px; height: 96px; background: #fff; border-radius: 50%; } .mc-comp img { width: 64px; height: 64px; object-fit: contain; }
@media (max-width: 520px) { .comp-pick, .comp-pick summary { width: 100%; min-width: 0; } .comp-menu { min-width: 0; width: 100%; } }

a.partner { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a.partner:hover { color: #fff; }

/* home: line the sidebar up with the first section heading */
.home-main > .col-side { margin-top: 32px; }
/* two-across result cards: crest with the name underneath, scores in the middle */
.match-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.match-grid .match-card { min-width: 0; }
.mc-row.nr { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 10px 14px 16px; }
.nr-team { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; text-align: center; }
.nr-team strong { font-size: 15px; font-weight: 600; line-height: 1.15; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nr-team small { font-size: 12px; color: var(--muted); }
.nr-mid { display: flex; align-items: center; gap: 10px; }
.nr-mid .mc-s { font-size: 30px; min-width: 0; }
.nr-mid .mc-state { min-width: 0; font-size: 10px; }

/* partners: spread evenly across the strip */
.ftr-partners .wrap { justify-content: space-between; }
.ftr-partners .wrap > .partner { flex: 1 1 0; text-align: center; }
@media (max-width: 860px) { .ftr-partners .wrap > .partner { flex-basis: 100%; } }
/* scrolling match bar */
.tick-set { display: flex; flex: none; }
.tick-track.auto { scroll-snap-type: none; }

/* finals: one left-to-right path */
.finals-banner { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px; margin-bottom: 24px; border-left: 6px solid var(--gold); flex-wrap: wrap; }
.finals-banner h2 { font-size: 22px; font-weight: 900; margin: 4px 0; } .finals-banner p { margin: 0; color: var(--muted); }
.finals-banner .btn { margin-left: auto; }
.finals-banner.champ { background: linear-gradient(100deg, #FFF6DB, #fff 60%); border-left-color: var(--c1); }
.finals-banner.champ h2 { font-size: 30px; }
.finals-path { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 0; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.fx-col { display: flex; flex-direction: column; padding: 0 14px; position: relative; scroll-snap-align: start; }
.fx-col:first-child { padding-left: 0; } .fx-col:last-child { padding-right: 0; }
.fx-col + .fx-col::before { content: ''; position: absolute; left: -7px; top: 14px; width: 14px; height: 14px; border-top: 3px solid var(--gold); border-right: 3px solid var(--gold); transform: rotate(45deg); }
.fx-col-h { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; padding-bottom: 10px; border-bottom: 3px solid #000; margin-bottom: 14px; white-space: nowrap; }
.fx-step { width: 24px; height: 24px; border-radius: 50%; background: #000; color: var(--gold); display: grid; place-items: center; font-size: 12px; flex: none; }
.fx-games { display: flex; flex-direction: column; justify-content: space-around; gap: 14px; flex: 1; }
.fx-card { background: #fff; border-radius: 8px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 10px 12px 8px; position: relative; }
.fx-card.gf { border: 2px solid var(--gold); box-shadow: 0 6px 18px rgba(255,183,0,.25); }
.fx-link { display: block; color: inherit; } .fx-link:hover { text-decoration: none; } .fx-card:has(.fx-link):hover { border-color: #000; }
.fx-label { margin: 0 0 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fx-side { display: grid; grid-template-columns: 30px 30px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line-2); }
.fx-label + .fx-side { border-top: 0; }
.fx-seed { font-size: 11px; font-weight: 800; color: var(--muted); text-align: center; }
.fx-name { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.fx-score { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; min-width: 28px; text-align: right; }
.fx-side.won .fx-name { font-weight: 900; } .fx-side.lost { opacity: .5; } .fx-side.lost .fx-score { font-weight: 400; }
.fx-side.mine { box-shadow: inset 3px 0 0 var(--club1); }
.fx-side.tbd .fx-name { font-weight: 500; font-size: 13px; color: var(--muted); font-style: italic; }
.fx-tbd { width: 26px; height: 26px; border-radius: 50%; border: 2px dashed #C9C9C9; justify-self: center; }
.fx-note { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .finals-path { grid-auto-columns: minmax(78vw, 1fr); } .finals-banner .btn { margin-left: 0; } }

/* ============ Look: CAT gold identity with broadcast touches ============ */
:root { --display: 'Barlow Condensed', 'Heebo', sans-serif; --radius: 0px; }
h1, h2, h3, .page-head h1, .sec-head h2, .hero-text h2, .mc-n, .mc-s, .total b, .ch-inner h1, .fx-col-h, .st-lead b, .tip-team strong { font-family: var(--display); letter-spacing: .01em; }
.page-head { background: #000; color: #fff; box-shadow: none; position: relative; overflow: hidden; }
.page-head::after { content: ''; position: absolute; right: -40px; top: 0; bottom: 0; width: 320px; background: repeating-linear-gradient(115deg, transparent 0 22px, var(--gold) 22px 34px); opacity: .9; }
.page-head h1 { font-size: 44px; font-weight: 800; text-transform: uppercase; } .page-head p { color: #BDBDBD; } .page-head .tabs a { color: #BDBDBD; } .page-head .tabs a.on { color: #fff; }
.slash { display: none; }
.sec-head h2 { font-size: 28px; font-weight: 800; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.sec-head h2::after { content: none; }
.sec-head h2::before { content: ''; width: 14px; height: 22px; background: var(--gold); transform: skewX(-18deg); }
.card, .match-card, .story, .st-card, .odds-card, .tip-card, .fx-card { border-radius: 0; box-shadow: none; border: 1px solid #E2E2E2; border-top: 4px solid #000; }
.card:hover, .match-card:hover { border-top-color: var(--gold); }
.btn { border-radius: 0; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); padding-left: 22px; padding-right: 22px; font-family: var(--display); font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.ntag, .label::before { border-radius: 0; }
.side { background: #000; border-right: 6px solid var(--gold); }
li.active > .nav-l { background: var(--gold); color: #000; } li.active > .nav-l::before { display: none; }
.nav-l { font-family: var(--display); font-size: 16px; letter-spacing: .08em; font-weight: 700; }
.ticker { background: #000; border-bottom: 4px solid var(--gold); }
.tick-head { background: var(--gold); color: #000; padding: 12px 18px; margin-right: 8px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.tick-head a { text-decoration-color: #000; }
.home-top { background: #000; } .hero-text h2 { font-size: 52px; font-weight: 800; text-transform: uppercase; line-height: .98; }
.mc-s { font-weight: 600; font-size: 44px; } .mc-s.win { font-weight: 800; color: #000; }
.ladder th { background: #000; color: #fff; text-transform: uppercase; font-family: var(--display); font-size: 14px; letter-spacing: .05em; border: 0; }
.ladder tr.cutline td { border-bottom: 4px solid var(--gold); }
.daily { border-radius: 0; background: #000; border-left: 10px solid var(--gold); }
#site-footer { border-top: 8px solid var(--gold); }
/* broadcast touches */
.page-head h1, .hero-text h2, .sec-head h2 { font-style: italic; }
.sec-head h2 { display: inline-flex; background: var(--gold); color: #000; padding: 4px 24px 4px 14px; font-size: 22px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.sec-head h2::before { content: none; }
.news-sec .sec-head, .sec-head { border-bottom: 2px solid #000; }
.mc-s { background: #111; color: #fff; padding: 2px 12px; font-weight: 800; font-size: 34px; transform: skewX(-10deg); min-width: 56px; text-align: center; }
.mc-s.win { background: var(--gold); color: #000; }
.mc-state { color: #000; font-weight: 700; }
.page-head > * { position: relative; z-index: 1; }
.nav-l { letter-spacing: .05em; line-height: 1.1; }
.hero-text h2 { font-size: clamp(30px, 4.2vw, 52px); }
@media (max-width: 760px) {
  .page-head::after { width: 110px; right: -30px; opacity: .55; }
  .page-head h1 { font-size: 34px; }
  .hero-text h2 { font-size: 30px; line-height: 1.02; }
  .mc-s { font-size: 24px; min-width: 40px; padding: 2px 8px; }
  .sec-head h2 { font-size: 19px; }
}
@media (max-width: 760px) { .match-card, .mc-foot, .mc-actions { min-width: 0; max-width: 100%; } .mc-actions { flex-wrap: wrap; } }
@media (max-width: 760px) {
  .mc-row.nr { gap: 6px; padding: 8px 10px 14px; }
  .mc-row.nr .mc-s { font-size: 22px; min-width: 34px; padding: 1px 6px; }
  .mc-row.nr .mc-state { font-size: 9px; letter-spacing: .02em; }
  .mc-row.nr .nr-mid { gap: 5px; }
  .nr-team strong { font-size: 14px; }
}
@media (max-width: 560px) { .match-grid { grid-template-columns: minmax(0, 1fr) !important; } }
/* Club colours shown true: solid club colour with a secondary-colour stripe, no black wash */
.club-tile { position: relative; overflow: hidden; background: var(--c1); }
.club-tile::before { content: ''; position: absolute; top: 0; right: 0; width: 30%; height: 62%; background: linear-gradient(115deg, transparent 0 40%, var(--c2) 40% 52%, transparent 52% 66%, var(--c2) 66% 72%, transparent 72%); opacity: .9; pointer-events: none; }
.club-tile > * { position: relative; }
.club-hero { background: linear-gradient(115deg, transparent 0 74%, var(--c2) 74% 76%, transparent 76% 79%, var(--c2) 79% 80%, transparent 80%), var(--c1); }
.my-club { background: linear-gradient(115deg, transparent 0 76%, var(--c2) 76% 78%, transparent 78%), var(--c1); }
.club-tile .crest img, .club-hero .crest img, .my-club .crest img, .p-tile .crest img { filter: drop-shadow(0 2px 5px rgba(0,0,0,.28)); }
.club-tile strong, .club-tile span { text-shadow: 0 1px 3px rgba(0,0,0,.45); }
/* Ladder: premiership odds beside the next game */
.ladder td.next .next-in { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.lad-odds { display: inline-flex; flex-direction: column; align-items: center; min-width: 62px; padding: 3px 8px 4px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font: 800 14px/1.1 var(--font, 'Heebo'), sans-serif; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.lad-odds small { font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lad-odds:hover { border-color: #000; } .lad-odds.on { background: var(--gold); border-color: var(--gold); } .lad-odds.on small { color: #000; }
.lad-odds[disabled] { opacity: .45; cursor: not-allowed; }
