:root {
  color-scheme: light;
  --bg: #f3f6f0;
  --surface: #fff;
  --header: #f9fbf9;
  --text: #223e2e;
  --muted: #526c5b;
  --brand: #097452;
  --accent: #2b573d;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 6 4.5 4 4.5-4' fill='none' stroke='%23526c5b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --on-accent: #fff;
  --soft: #eaf2e7;
  --line: #dce7da;
  --warning: #a13d38;
  --warning-bg: #fcece9;
  --finished-score: #000;
  --gold: #9b7526;
  --stadium: url("/assets/stadium-day.webp");
  --shadow: 0 14px 42px #203b2b12;
  --page-gutter: clamp(14px, 2.75vw, 40px);
  --page-width: 1440px;
  --hero-wash: #eef5e9;
  font: 15px/1.55 system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #14201a;
  --surface: #1c2a22;
  --header: #18241e;
  --text: #e7f1e7;
  --muted: #adbfaf;
  --brand: #cfff8b;
  --accent: #bcf18d;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 6 4.5 4 4.5-4' fill='none' stroke='%23adbfaf' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --on-accent: #1b3022;
  --soft: #243a2c;
  --line: #34483a;
  --warning: #ffb0a7;
  --warning-bg: #452822;
  --finished-score: var(--text);
  --gold: #dfbb61;
  --stadium: url("/assets/stadium-night.webp");
  --shadow: 0 14px 42px #09100970;
  --hero-wash: #182a20;
}
* { box-sizing: border-box; }
body { display: flex; flex-direction: column; min-width: 320px; min-height: 100vh; min-height: 100dvh; margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button[disabled] { cursor: default; opacity: .53; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
[hidden] { display: none !important; }
.icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; }
.skip-link { position: absolute; z-index: 60; top: 12px; left: 12px; transform: translateY(-150%); padding: 10px 16px; background: var(--surface); border-radius: 8px; }
.skip-link:focus { transform: none; }

.topbar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--header) 96%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.topbar-inner { max-width: var(--page-width); min-height: 72px; margin: auto; padding-inline: var(--page-gutter); display: flex; align-items: center; gap: clamp(24px, 4.2vw, 64px); }
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--brand); font-size: 24px; line-height: 1; font-weight: 800; white-space: nowrap; }
.brand img { flex: none; }
.topnav, .top-actions { display: flex; align-items: center; }
.topnav { align-items: stretch; align-self: stretch; gap: clamp(19px, 2.5vw, 37px); white-space: nowrap; }
.topnav a { position: relative; display: flex; align-items: center; font-size: 14px; font-weight: 650; }
.topnav a[aria-current="page"] { color: var(--accent); }
.topnav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 12px; left: calc(50% - 11px); width: 22px; height: 3px; border-radius: 4px; background: var(--accent); }
.topnav a:hover { color: var(--brand); }
.topnav a:focus-visible { outline-offset: -3px; border-radius: 6px; }
.expert-nav { position: relative; }
.expert-nav > summary { position: relative; display: flex; align-items: center; gap: 3px; height: 100%; list-style: none; cursor: pointer; font-size: 14px; font-weight: 650; }
.expert-nav > summary::-webkit-details-marker { display: none; }
.expert-nav > summary > .icon { width: 13px; height: 13px; transform: rotate(90deg); }
.expert-nav[open] > summary > .icon { transform: rotate(-90deg); }
.expert-nav:is(.is-active, [open]) > summary, .expert-nav > summary:hover { color: var(--accent); }
.expert-nav.is-active > summary::after { content: ""; position: absolute; bottom: 12px; left: calc(50% - 11px); width: 22px; height: 3px; border-radius: 4px; background: var(--accent); }
.expert-nav > summary:focus-visible { outline-offset: -3px; border-radius: 6px; }
.expert-nav-menu { position: absolute; top: calc(100% - 5px); left: 50%; transform: translateX(-50%); z-index: 1; min-width: 175px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.topnav .expert-nav-menu a { padding: 9px 12px; border-radius: 7px; }
.topnav .expert-nav-menu a:is(:hover, :focus-visible, [aria-current="page"]) { background: var(--soft); }
.topnav .expert-nav-menu a[aria-current="page"]::after { content: none; }
.top-actions { justify-content: flex-end; gap: 10px; margin-left: auto; white-space: nowrap; }
.app-link { padding: 8px; font-size: 13px; font-weight: 650; }
.app-link > .icon { display: none; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; padding: 0 8px; border: 0; border-radius: 9px; background: transparent; color: var(--text); font-weight: 650; font-size: 12px; }
.icon-button:hover, .app-link:hover { background: var(--soft); border-radius: 8px; }
.account-link { display: flex; align-items: center; gap: 8px; padding: 5px; min-width: 0; font-weight: 700; }
.account-link > span:not(.member-avatar) { overflow: hidden; text-overflow: ellipsis; max-width: 8ch; }
.member-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.placeholder { display: inline-grid; place-items: center; background: var(--soft); color: var(--accent); font-weight: 750; }

#main-content { position: relative; flex: 1; width: 100%; max-width: var(--page-width); margin: 0 auto; padding: 30px var(--page-gutter) 60px; min-height: 60vh; }
#main-content:focus { outline: none; }
body[data-page="home"] #main-content { padding-top: clamp(14px, 2vw, 25px); }
.home-content { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(14px, 2vw, 23px); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2.8vw, 40px);
  min-height: 296px;
  padding-inline: clamp(22px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--hero-wash) 32%, transparent), color-mix(in srgb, var(--hero-wash) 87%, transparent) 62%, var(--hero-wash)), var(--stadium) center 53% / cover;
  box-shadow: var(--shadow);
}
.hero-art { min-width: 0; display: flex; align-items: center; justify-content: center; }
.hero-art img { width: clamp(210px, 22vw, 290px); height: auto; filter: drop-shadow(0 18px 24px #122e2240); }
.hero-copy { min-width: 0; padding-block: 18px; }
.hero :is(h1, h2) { margin-block: 8px 9px; color: var(--text); font-size: clamp(35px, 3.7vw, 53px); font-weight: 820; line-height: 1.13; letter-spacing: -.04em; text-wrap: balance; }
.hero p { max-width: 38ch; margin-bottom: 12px; color: var(--muted); font-size: 14px; text-wrap: pretty; }
.hero .button { padding-inline: 14px; }
.eyebrow { display: inline-block; color: var(--muted); font-weight: 650; font-size: 10px; letter-spacing: .19em; }
.text-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: 6px; border: 0; padding: 4px 0; background: none; color: var(--accent); font-size: 13px; font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link .icon { width: 15px; height: 15px; }
.back-link { margin-bottom: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 41px; padding: 8px 15px; color: var(--accent); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13px; font-weight: 700; text-align: center; }
.button:hover:not([disabled]) { border-color: var(--accent); }
.button .icon { width: 16px; height: 16px; }
.button.primary { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.button.primary:hover:not([disabled]) { filter: brightness(.94); }
.login-link { min-height: 39px; padding-inline: 14px; }
.badge { display: inline-flex; padding: 3px 8px; border-radius: 6px; color: var(--accent); background: var(--soft); font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge.live { background: var(--warning-bg); color: var(--warning); }
.page-title { padding: 4px 0 16px; }
.page-title h1 { color: var(--text); font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; overflow-wrap: anywhere; }
.page-title .eyebrow { margin-bottom: 8px; }
.page-title p { max-width: 68ch; margin-top: 7px; font-size: 13px; color: var(--muted); line-height: 1.7; white-space: pre-line; }

.panel { min-width: 0; margin: 0 0 18px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; }
.home-content .panel, .split .panel { margin: 0; }
.panel.transparent { padding: 0; background: transparent; border: 0; }
.panel.transparent > .empty { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.section-head > div { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.section-head h2 { font-size: 17px; line-height: 1.35; }
.section-head a { flex: 0 0 auto; }
.league-panel .section-head { margin-bottom: 5px; }
.league-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.league-group { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: color-mix(in srgb, var(--soft) 35%, var(--surface)); }
.league-group h3 { margin-bottom: 7px; font-size: 13px; }
.league-group .league-group-note { margin: 0 0 6px; }
.league-strip { display: flex; gap: 6px; flex-wrap: wrap; color: var(--accent); font-size: 13px; font-weight: 700; }
.league-strip a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.league-strip a:hover { border-color: var(--accent); }
.league-strip small { min-width: 1.4em; padding: 0 4px; border-radius: 4px; background: var(--soft); color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.home-columns { display: grid; grid-template-columns: 1.35fr 1fr minmax(250px, .9fr); gap: 20px; align-items: start; }
.download-ad { position: relative; display: grid; grid-template-rows: auto 1fr; isolation: isolate; overflow: hidden; padding: clamp(17px, 2vw, 26px); border-radius: 15px; color: #f2f8ec; background: radial-gradient(ellipse at 72% 80%, #456b4e, #234934 57%, #1a382b 100%); }
.download-ad::after { content: ""; position: absolute; inset: auto -28% -31% auto; z-index: -1; width: 120%; aspect-ratio: 1; border: 1px solid #b9dca642; border-radius: 50%; box-shadow: 0 0 0 32px #c5efae0b, 0 0 0 64px #c5efae08; }
.download-ad img { grid-row: 2; align-self: center; justify-self: center; width: min(100%, 196px); height: auto; filter: drop-shadow(0 12px 16px #101e1475); }
.download-ad .eyebrow { margin-bottom: 7px; color: #c8e4bf; }
.download-ad h2 { font-size: clamp(23px, 2.5vw, 35px); line-height: 1.13; }
.download-ad p { max-width: 26ch; margin: 10px 0 13px; color: #deebd7; font-size: 13px; }
.download-ad .button { color: #224533; background: #f5faf1; }
.empty { display: grid; align-content: center; justify-items: center; gap: 7px; min-height: 138px; padding: 23px 16px; color: var(--muted); text-align: center; font-size: 14px; }
.empty p { font-size: 13px; }
.empty-icon { display: inline-grid; place-items: center; width: 35px; height: 35px; color: var(--accent); border-radius: 50%; background: var(--soft); }
.notice, .loading { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--text); overflow-wrap: anywhere; }
.notice a { color: var(--accent); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.notice.problem { color: var(--warning); background: var(--warning-bg); }
.notice small { display: block; font-size: 12px; }
.loading { margin: 40px auto; max-width: 390px; text-align: center; }
.section-note { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.inline-actions, .match-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 16px; }

.match-grid, .card-grid { display: grid; gap: 14px; }
.match-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.match-card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 9px; min-width: 0; padding: 12px 12px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.match-card:hover { border-color: var(--accent); box-shadow: 0 4px 14px #203b2b13; }
.match-card.is-live { border-color: color-mix(in srgb, var(--warning) 38%, var(--line)); }
.match-card header { display: flex; align-items: start; justify-content: space-between; gap: 6px; font-size: 12px; }
.match-card-kickoff { display: grid; gap: 1px; min-width: 0; }
.match-card-kickoff b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-card-kickoff time, .match-meta small, .match-state small { color: var(--muted); }
.match-card-kickoff time { font-size: 11px; font-variant-numeric: tabular-nums; }
.match-card .badge { max-width: 58%; overflow: hidden; padding: 2px 6px; font-size: 11px; text-overflow: ellipsis; display: inline-block; }
.match-card .match-teams { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; align-items: start; align-self: center; }
.match-card .team { width: 100%; gap: 5px; }
.match-card .team-mark { flex-shrink: 0; width: 34px; height: 34px; }
.match-card .team b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.6em; font-size: 12px; line-height: 1.3; }
.match-card :is(.score, .score-vs) { align-self: start; margin-top: 7px; font-size: 20px; line-height: 1.2; }
.match-card .score-vs { font-size: 13px; margin-top: 10px; }
.match-card-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 6px; min-height: 33px; border-top: 1px solid var(--line); color: var(--accent); font-size: 12px; font-weight: 700; }
.match-card-footer small { color: var(--muted); font-size: 11px; font-weight: 500; }
.match-card-footer > span { display: inline-flex; align-items: center; gap: 3px; margin-inline-start: auto; }
.match-card-footer .icon { width: 13px; height: 13px; }
.match-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; justify-items: center; }
.team { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-width: 0; max-width: 100%; text-align: center; }
.team b { max-width: 100%; font-size: 13px; overflow-wrap: anywhere; }
.match-penalty-cards { display: inline-flex; flex: none; gap: 3px; }
.match-penalty-card { display: inline-flex; align-items: center; justify-content: center; min-width: 11px; height: 15px; padding-inline: 1px; border-radius: 2px; color: #fff; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.match-penalty-card.is-yellow { background: #f5a412; }
.match-penalty-card.is-red { background: #e45b65; }
.match-card > .match-facts { margin: 0; font-size: 11px; }
.team-mark { width: 37px; height: 37px; object-fit: contain; border-radius: 6px; }
.team-mark.placeholder { border-radius: 50%; }
.score, .score-vs { white-space: nowrap; color: var(--accent); }
.score { font-size: 24px; font-weight: 810; font-variant-numeric: tabular-nums; }
.score i { font-style: normal; color: var(--muted); }
:is([data-home-matches], .score-centre) [data-match-status="live"] :is(.score, .score i, .match-period-table td > strong) {
  color: var(--warning);
}
:is([data-home-matches], .score-centre) [data-match-status="finished"] :is(.score, .score i, .match-period-table td > strong) {
  color: var(--finished-score);
}
.score-vs { font-size: 15px; font-weight: 750; letter-spacing: .1em; }
.match-row { display: grid; grid-template-columns: minmax(7em, .7fr) minmax(0, 3fr) minmax(5em, .5fr) 18px; align-items: center; gap: 12px; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.match-row:last-child { border-bottom: 0; }
.match-row:hover, .plain-row[href]:hover, .card-link:hover { background: var(--soft); }
.match-row .match-teams { width: 100%; }
.match-row .match-teams .team { flex-direction: row; justify-self: end; }
.match-row .match-teams .team:last-child { flex-direction: row-reverse; justify-self: start; }
.match-row .team-mark { width: 26px; height: 26px; }
.match-meta, .match-state { display: grid; justify-items: start; }
.match-row-result { min-width: 0; }
.match-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin-top: 4px; color: var(--muted); }
.match-facts.match-list-facts { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 6px; }
.match-list-facts > .is-home { justify-self: end; }
.match-list-facts > .is-away { justify-self: start; }
.match-facts-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; min-width: 0; }
.scoreboard .match-facts { color: #dcead5; }
.match-period-table { min-width: 0; max-width: 100%; overflow-x: auto; }
.match-period-table caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.match-period-table th, .match-period-table td { padding: 5px 8px; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.match-period-table tbody th { width: 100%; text-align: start; white-space: normal; }
.match-period-table .team { flex-direction: row; justify-content: flex-start; text-align: start; }
.match-period-table .team-mark { width: 20px; height: 20px; flex-shrink: 0; }
.match-period-table > small { display: block; margin: 4px 0; color: var(--muted); }
.scoreboard .match-period-table { width: min(100%, 690px); }
.scoreboard .match-period-table .team-mark { width: 22px; height: 22px; }
.scoreboard .match-period-table .team b { font-size: 12px; }
.scoreboard .match-period-table th, .scoreboard .match-period-table td { border-color: #ffffff30; }
.scoreboard .match-period-table thead { background: #ffffff18; }
.scoreboard .match-period-table > small { color: #dcead5; }
.scoreboard { display: grid; justify-items: center; align-content: center; gap: 15px; min-height: 264px; padding: 25px 20px; border-radius: 16px; color: #f2f8ef; background: radial-gradient(at 50% 70%, #42704c, #244333); text-align: center; margin-bottom: 18px; }
.scoreboard header { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.scoreboard header small { align-self: center; color: #dcead5; }
.scoreboard .match-teams { width: min(100%, 690px); }
.scoreboard .team { gap: 10px; }
.scoreboard .team b { color: #f2f8ef; font-size: 16px; }
.scoreboard .team-mark { width: 62px; height: 62px; }
.scoreboard .team-mark.placeholder { color: #f2f8ef; background: #ffffff27; }
.scoreboard .score, .scoreboard .score-vs, .scoreboard .score i { color: #f2f8ef; font-size: clamp(23px, 5vw, 47px); }
.scoreboard p { color: #e2f0d9; font-size: 13px; }
.tabs { display: flex; align-items: center; gap: 6px; padding: 6px; margin-bottom: 17px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.tabs a { padding: 8px 12px; border-radius: 7px; font-weight: 700; white-space: nowrap; font-size: 13px; }
.tabs a[aria-current="page"], .tabs a:hover { color: var(--accent); background: var(--soft); }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: center; }
th, td { padding: 10px; border-bottom: 1px solid var(--line); }
th { font-weight: 720; }
thead { background: var(--soft); }
.trend { max-width: 820px; margin: 0 auto; }
.trend svg { width: 100%; height: auto; }
.trend path { fill: none; stroke-width: 2; }
.trend .chart-grid { stroke: var(--line); stroke-width: 1; }
.trend .chart-home { stroke: var(--brand); }
.trend .chart-away { stroke: var(--gold); }
.trend-event.home { fill: var(--brand); }
.trend-event.away { fill: var(--gold); }
.trend h3, .trend-source { text-align: center; }
.trend-axis { fill: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.trend-source { margin: 8px 0 0; }
.match-trend-overview { margin: 0 0 16px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.football-trend > header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin: 0 0 8px; }
.football-trend > header span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.trend-periods { display: flex; flex-wrap: wrap; gap: 4px; margin-inline-start: auto; }
.trend-periods button { border: 1px solid transparent; border-radius: 7px; background: transparent; padding: 5px 8px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; }
.trend-periods button[aria-pressed="true"] { border-color: var(--line); background: var(--soft); color: var(--accent); font-weight: 700; }
.football-chart-scroll { overflow-x: auto; padding-bottom: 4px; }
.football-chart-grid { display: grid; grid-template-columns: clamp(106px, 17vw, 190px) minmax(510px, 1fr); }
.football-chart-teams {
  display: grid; grid-template-rows: repeat(2, 60px); padding: 23px 8px 0 0;
  position: sticky; inset-inline-start: 0; z-index: 1; background: var(--surface);
}
.football-chart-teams > div { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; }
.football-chart-teams b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.football-chart-badge { flex: 0 0 24px; width: 24px; height: 24px; object-fit: contain; }
.football-chart-plot { position: relative; height: 144px; margin-inline: 12px; }
.football-chart-field { position: absolute; inset: 23px 0 1px; width: 100%; height: 120px; border-radius: 6px; }
.football-chart-field rect.home { fill: var(--brand); opacity: .06; }
.football-chart-field rect.away { fill: var(--gold); opacity: .10; }
.football-chart-field line { stroke: var(--line); }
.football-chart-field .football-momentum.home { fill: var(--brand); stroke: var(--brand); }
.football-chart-field .football-momentum.away { fill: var(--gold); stroke: var(--gold); }
.football-chart-field .football-momentum { opacity: .53; }
.football-chart-field path.football-momentum { stroke: none; }
.football-chart-field .football-chart-cutoff { stroke: var(--accent); stroke-width: 1.5; }
.football-chart-tick {
  position: absolute; top: 0; left: var(--time); translate: -50% 0;
  color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums;
}
.football-chart-tick.half { color: var(--accent); font-weight: 750; }
.football-chart-marker {
  position: absolute; left: clamp(9px, var(--time), 100% - 9px); translate: -50% 0;
  display: inline-flex; align-items: center; gap: 1px; white-space: nowrap;
}
.football-chart-marker { padding: 2px; border: 0; border-radius: 4px; background: var(--surface); color: var(--text); cursor: pointer; }
.football-chart-marker[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--brand); }
.football-chart-marker.home { top: 27px; }
.football-chart-marker.away { bottom: 5px; }
.football-event-icon { flex: none; width: 18px; height: 18px; }
.football-chart-marker small { color: var(--text); background: var(--surface); border-radius: 6px; padding: 0 3px; font-size: 10px; }
.trend-marker-details { color: var(--muted); font-size: 13px; margin: 6px 0; }
.trend-marker-details ul { list-style: none; padding: 6px 10px; margin: 0; border-inline-start: 2px solid var(--brand); background: var(--soft); }
.trend-marker-details li { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.trend-marker-details strong { color: var(--text); }
.basketball-quarter-chart header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 10px; }
.basketball-quarter-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 12px; }
.basketball-quarter-legend span { display: inline-flex; gap: 5px; align-items: center; overflow-wrap: anywhere; }
.basketball-quarter-legend span::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.basketball-quarter-legend .away::before { background: var(--gold); }
.basketball-quarter-chart ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.basketball-quarter-chart li { min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.basketball-quarter-chart li.is-current { background: var(--soft); border-color: var(--accent); }
.basketball-quarter-chart li > strong { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 7px; margin-bottom: 3px; font-size: 12px; }
.basketball-quarter-chart li > strong small { color: var(--muted); font-weight: 500; }
.basketball-quarter-score { display: grid; grid-template-columns: minmax(0, 1fr) 3ch; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; font-size: 12px; }
.basketball-quarter-score b { text-align: end; }
.basketball-quarter-track { height: 4px; border-radius: 99px; background: var(--line); }
.basketball-quarter-track i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.basketball-quarter-score.away .basketball-quarter-track i { background: var(--gold); }
.football-chart-totals { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 0; padding: 0; list-style: none; }
.football-chart-totals li, .match-event-type { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.football-chart-totals li span, .match-event-type { color: var(--muted); }
.football-chart-note { margin: 6px 0 0; }
.match-event-type { margin-inline-end: 8px; vertical-align: middle; }
.match-event-type .football-event-icon, .football-chart-totals .football-event-icon { width: 15px; height: 15px; }
.stat-overviews { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.stat-overview { margin-bottom: 14px; text-align: center; }
.stat-overview h3 { margin: 4px 0 12px; }
.stat-rings { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 34px; }
.stat-ring-item { display: grid; justify-items: center; gap: 6px; min-width: 0; max-width: 100%; overflow-wrap: anywhere; --stat-color: var(--brand); }
.stat-ring-item.away { --stat-color: var(--gold); }
.stat-ring { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: conic-gradient(var(--stat-color) var(--stat-progress), var(--line) 0); }
.stat-ring b { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--surface); font-variant-numeric: tabular-nums; }
.match-timeline .match-event { border-inline-start: 3px solid var(--line); }
.match-timeline .match-event.home { border-inline-start-color: var(--brand); }
.match-timeline .match-event.away { border-inline-start-color: var(--gold); }
.match-timeline time, .match-timeline .match-event > strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.match-timeline .match-event > span { flex: 1; }
.match-event-filters { flex-wrap: wrap; border: 0; background: none; padding: 0; margin: 8px 0 12px; }
.match-event-filters a { padding: 5px 10px; }
.match-event-players { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; color: var(--muted); font-size: 13px; }
.match-event-players a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.match-stat-table th { overflow-wrap: anywhere; }
.match-stat-table thead .team { gap: 4px; }
.match-stat-table thead .team-mark { width: 25px; height: 25px; }
.match-stat-table thead .team b { font-size: 13px; }
.match-stat-table tbody th { color: var(--muted); font-size: 13px; }
.match-stat-table tbody td { font-weight: 700; }
.match-stat-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--soft) 44%, var(--surface)); }
.basketball-shot-rate { display: block; margin-top: 1px; color: var(--muted); font-size: 11px; font-weight: 500; }
.basketball-team-stats .basketball-stat-group th,
.basketball-box-score .basketball-stat-group th,
.football-team-stats .football-stat-group th { padding: 7px 10px; color: var(--muted); background: var(--soft); text-align: start; font-size: 12px; }
.basketball-box-scores { display: grid; min-width: 0; gap: 16px; }
.basketball-box-team { min-width: 0; }
.basketball-box-team h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.basketball-box-team h3 .team-mark { flex: 0 0 24px; width: 24px; height: 24px; }
.basketball-box-scroll { max-width: 100%; border: 1px solid var(--line); border-radius: 9px; }
.basketball-box-score { border-collapse: separate; border-spacing: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.basketball-box-score :is(th, td) { padding: 6px 8px; white-space: nowrap; }
.basketball-box-score thead th { color: var(--muted); background: var(--soft); }
.basketball-box-score thead th:first-child, .basketball-box-score th[scope="row"] {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  min-width: 120px;
  max-width: 195px;
  border-inline-end: 1px solid var(--line);
  text-align: start;
}
.basketball-box-score th[scope="row"] { white-space: normal; background: var(--surface); }
.basketball-box-score tbody:last-child tr:last-child > * { border-bottom: 0; }
.basketball-box-player { display: flex; align-items: center; gap: 7px; }
.basketball-box-player .lineup-player-photo { flex: 0 0 23px; width: 23px; height: 23px; }
.basketball-box-player span { min-width: 0; }
.basketball-box-player b, .basketball-box-player small { display: block; overflow-wrap: anywhere; }
.basketball-box-player small { color: var(--muted); font-weight: 500; font-size: 11px; }
.basketball-fixture-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 14px; padding: 0 12px; color: var(--muted); font-size: 12px; }
.basketball-fixture-details span { overflow-wrap: anywhere; }
.stat-compare td::after {
  content: "";
  display: block;
  width: min(100%, 7rem);
  height: 4px;
  margin: 4px auto 0;
  border-radius: 999px;
}
.stat-compare td:first-child::after { background: linear-gradient(to left, var(--brand) var(--home-bar), var(--line) var(--home-bar)); }
.stat-compare td:last-child::after { background: linear-gradient(to right, var(--gold) var(--away-bar), var(--line) var(--away-bar)); }
.lineup-team { min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
.lineup-team h3 small { color: var(--accent); }
.lineup-group h4 { margin: 10px 4px 4px; font-size: 13px; color: var(--muted); }
.lineup-player-photo { width: 29px; height: 29px; flex-shrink: 0; object-fit: cover; border-radius: 50%; }
.match-lineups .player-number { flex-shrink: 0; }
.match-comparison { display: grid; gap: 14px; }
.match-comparison > section { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.match-comparison h3, .match-comparison h4 { margin: 0 0 8px; }
.match-comparison .split > section { min-width: 0; }
.match-intelligence { display: grid; gap: 18px; }
.match-intelligence h3 { margin-bottom: 8px; font-size: 16px; }
.intelligence-summary { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.intelligence-summary p, .intelligence-entry p { white-space: pre-wrap; overflow-wrap: anywhere; }
.intelligence-summary small, .intelligence-source { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.intelligence-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.intelligence-team { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.intelligence-team > header { display: flex; align-items: center; gap: 9px; padding-bottom: 8px; }
.intelligence-team > header small, .intelligence-entry-meta small { color: var(--muted); }
.intelligence-team .team-mark { flex: none; width: 32px; height: 32px; }
.intelligence-team h4, .intelligence-entry h4 { margin: 0; overflow-wrap: anywhere; }
.intelligence-entry { padding: 10px 0; border-top: 1px solid var(--line); }
.intelligence-entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin-bottom: 6px; }
.intelligence-entry h4 + p { margin-top: 3px; }
.intelligence-entry p { line-height: 1.7; }
.intel-negative { background: var(--warning-bg); color: var(--warning); }
.intel-neutral { background: var(--bg); color: var(--muted); }
.intelligence-empty { display: grid; justify-items: center; }
@media (max-width: 680px) {
  .intelligence-teams { grid-template-columns: minmax(0, 1fr); }
}
.comparison-standings { table-layout: fixed; }
.comparison-standings th, .comparison-standings td { padding: 8px 4px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.comparison-standings th:nth-child(2) { width: 35%; text-align: start; }
.comparison-standings th[scope="row"] { text-align: start; }
.comparison-standings td:last-child { font-weight: 750; }
.comparison-standings small { display: block; color: var(--muted); font-weight: 400; }
.comparison-fixture .badge { flex-shrink: 0; }
.match-odds-filters { flex-wrap: wrap; }
.match-index-sections { flex-wrap: wrap; margin-bottom: 8px; }
.match-index-sections a { padding: 6px 9px; white-space: normal; }
.match-index-archive { gap: 10px; }
.match-index-archive-table { min-width: 18rem; font-variant-numeric: tabular-nums; }
.match-index-archive-table caption { padding: 8px 10px; text-align: start; font-weight: 700; }
.match-index-archive-table :is(th, td) { padding: 7px 8px; font-size: 13px; }
.match-odds-filters a { padding: 6px 9px; white-space: normal; }
.match-odds { gap: 12px; }
.match-odds-card { min-width: 0; padding: clamp(8px, 1.3vw, 14px); border: 1px solid var(--line); border-radius: 12px; }
.match-odds-card header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.match-odds-card h3 { margin: 0; overflow-wrap: anywhere; }
.match-odds-card table { table-layout: fixed; }
.match-odds-wide table { table-layout: auto; min-width: 26rem; }
.match-odds-card table :is(th, td) { padding: 7px 4px; font-size: clamp(11px, 2.9vw, 13px); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.match-odds-card th:first-child { width: 38%; text-align: start; }
.match-odds-card th small { display: block; color: var(--muted); font-size: clamp(10px, 2.7vw, 11px); font-weight: 400; }
.match-odds-card details, .match-odds-card > .section-note { margin: 10px 0 0; }
.match-odds-card summary { padding: 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--accent); background: var(--surface); font-weight: 700; cursor: pointer; }
.match-odds-card details[open] summary { margin-bottom: 4px; }
.odds-history-scroll { max-height: min(48vh, 25rem); border: 1px solid var(--line); border-radius: 7px; scrollbar-width: thin; }
.odds-history-scroll thead th { position: sticky; top: 0; z-index: 1; background: var(--soft); }
.odds-change { margin-inline-start: 2px; font-size: .85em; font-weight: 800; }
.odds-up { color: var(--warning); }
.odds-down { color: var(--accent); }
.legend { display: flex; justify-content: center; gap: 17px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: var(--brand); }
.legend span:last-child::before { background: var(--gold); }
.player-number { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); font-weight: 700; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 11px; padding: 15px; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.filter-bar label { flex: 1 1 140px; min-width: 0; }
label > span { display: block; margin: 0 0 4px; font-size: 13px; font-weight: 700; }
input, textarea, select { display: block; min-width: 0; width: 100%; padding: 8px 11px; min-height: 41px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--bg); }
select:not([multiple], [size]) {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: var(--select-end-padding, 36px);
  background-image: var(--select-arrow);
  background-repeat: no-repeat;
  background-position: right var(--select-arrow-inset, 12px) center;
  background-size: 16px 16px;
}
select:not([multiple], [size]):enabled { cursor: pointer; }
select:not([multiple], [size]):enabled:hover { border-color: var(--muted); }
select:not([multiple], [size]):focus-visible { outline-offset: 2px; }
@media (forced-colors: active) {
  select:not([multiple], [size]) {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
    padding-inline-end: 11px;
  }
}
:is(input, select):disabled { opacity: .68; }
textarea { resize: vertical; }
.stack-form { display: grid; gap: 12px; max-width: 700px; }
.stack-form > .button { justify-self: start; }
.inline-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 14px 0 0; }
.inline-form .grow { flex: 1 1 15ch; }
.form-error { min-height: 1.25em; color: var(--warning); font-size: 13px; overflow-wrap: anywhere; }
.form-error:empty { min-height: 0; }
.inline-form .form-error { width: 100%; }
.pagination { display: flex; justify-content: end; gap: 10px; margin-top: 14px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 17px; }
.split h3 { padding: 5px 0; }
.rows { display: grid; }
.plain-row, .card-link { display: flex; align-items: center; gap: 11px; padding: 11px 9px; min-width: 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.plain-row > span:nth-last-child(2), .plain-row > span:first-child, .card-body { flex: 1 1 auto; min-width: 0; }
.plain-row b { display: block; font-weight: 725; }
.plain-row small, .card-body small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.plain-row:last-child, .rows .card-link:last-child { border-bottom: 0; }
.plain-row .badge, .plain-row .row-image, .plain-row .player-number { flex: 0 0 auto; }
.row-image { width: 40px; height: 40px; object-fit: cover; border-radius: 9px; }
.card-grid .card-link { flex-direction: column; align-items: start; padding: 13px; border: 1px solid var(--line); border-radius: 10px; }
.card-grid .card-link .icon { align-self: end; }
.card-grid .story-image { width: 100%; height: clamp(100px, 13vw, 185px); }
.card-body h3 { font-size: 15px; margin: 3px 0; line-height: 1.4; }
.card-body p { color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.story-image { flex: 0 0 auto; width: 92px; height: 74px; border-radius: 7px; object-fit: cover; }
.profile-head { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; min-width: 0; }
.profile-head .page-title { padding-bottom: 9px; }
.profile-image { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 16px; object-fit: cover; font-size: 25px; }
.profile-actions { margin-left: auto; display: flex; gap: 9px; flex-wrap: wrap; }
.reading { margin: 0 0 18px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.article-cover { max-height: 460px; max-width: 100%; margin: 12px 0; border-radius: 9px; object-fit: contain; }
.prose { max-width: 83ch; padding: 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.85; }
.editorial-columns { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.editorial-columns > * { min-width: 0; }
.creator-preview { max-width: 840px; }
.creator-preview > h2 { margin-top: 14px; overflow-wrap: anywhere; }
.creator-preview .stack-form, .creator-preview-link { margin-top: 18px; }
[data-creator-fixture-status] { flex-basis: 100%; margin: 0; }
[data-creator-fixture-status]:empty { display: none; }
/* The original news introduction is a compact editorial banner. */
.news-companion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 30px;
  min-height: 188px;
  padding: 8px clamp(24px, 4vw, 52px);
  overflow: hidden;
  border-radius: 18px;
  background: var(--soft);
}
.news-companion-copy h1 { font-size: 30px; font-weight: 700; line-height: 1.4; letter-spacing: -.8px; }
.news-companion-copy h1 em { display: inline-block; margin-inline-start: 8px; color: var(--brand); font-style: normal; }
.news-companion-copy p { margin-top: 12px; color: var(--muted); font-size: 13px; }
.news-companion-copy small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.news-companion-figure { position: relative; display: grid; place-items: center; min-width: 0; height: 172px; isolation: isolate; }
.news-companion-figure::before { content: ""; position: absolute; inset-inline-start: 50%; bottom: 6px; width: 74%; max-width: 164px; height: 31px; transform: translateX(-50%) rotate(-7deg); border: 1px solid var(--line); border-radius: 50%; background: var(--surface); z-index: -1; }
.news-companion-figure img { width: 180px; height: 180px; object-fit: contain; transform: translateY(-2px); filter: drop-shadow(0 8px 12px #183d2c22); }
.news-companion-name { position: absolute; inset-inline-start: 50%; bottom: 0; display: flex; align-items: center; gap: 7px; padding: 5px 10px; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); font-size: 10px; white-space: nowrap; }
.news-companion-name::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.news-companion-name b { padding-inline-start: 7px; border-inline-start: 1px solid var(--line); color: var(--brand); font-size: 9px; }
@media (max-width: 720px) {
  .news-companion { grid-template-columns: minmax(0, 1fr) 124px; gap: 8px; min-height: 150px; padding: 16px 20px; }
  .news-companion-copy h1 { font-size: 22px; }
  .news-companion-copy h1 em { display: block; margin-inline-start: 0; }
  .news-companion-copy p { margin-top: 8px; }
  .news-companion-figure { height: 117px; }
  .news-companion-figure img { width: 124px; height: 124px; }
}
@media (max-width: 400px) {
  .news-companion { grid-template-columns: minmax(0, 1fr) 92px; padding: 14px; }
  .news-companion-copy h1 { font-size: 20px; }
  .news-companion-figure { height: 93px; }
  .news-companion-figure img { width: 92px; height: 92px; }
  .news-companion-name { padding-inline: 6px; gap: 5px; }
  .news-companion-name b { padding-inline-start: 5px; }
}
.brief-list { list-style: none; padding: 0; margin: 0; }
.brief-list li + li { border-top: 1px solid var(--line); }
.brief-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 4px; border-radius: 6px; }
.brief-row:hover { background: var(--soft); }
.brief-row > span { display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 7px; background: var(--soft); color: var(--accent); font-size: 12px; font-weight: 700; }
.brief-row b, .brief-row small { display: block; overflow-wrap: anywhere; }
.brief-row small { color: var(--muted); font-size: 12px; }
.brief-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.brief-controls .section-note { margin: 0; }
.article-figure { margin: 16px 0; }
.article-figure .article-cover { width: 100%; max-height: clamp(180px, 43vw, 435px); margin: 0 0 6px; object-fit: contain; background: var(--soft); }
.article-figure .article-cover.placeholder { min-height: 110px; }
.article-figure figcaption { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.article-figure figcaption a { text-decoration: underline; text-underline-offset: 2px; }
.article-comment { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.article-comment-author { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; }
.article-comment small { display: block; color: var(--muted); }
.article-comment p { margin-top: 4px; white-space: pre-wrap; }
.news-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(235px, 24vw, 305px);
  align-items: start;
  gap: clamp(18px, 2vw, 27px);
  margin-top: 26px;
}
.news-editorial .news-main, .news-listing { display: grid; gap: 16px; min-width: 0; }
.news-categories { min-width: 0; }
.news-categories .tabs { gap: clamp(20px, 3vw, 30px); margin: 0; padding: 0; overflow: visible; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.news-categories .tabs a { position: relative; padding: 8px 0 13px; border-radius: 0; color: var(--muted); font-size: 14px; }
.news-categories .tabs a:is(:hover, [aria-current="page"]) { color: var(--accent); background: transparent; }
.news-categories .tabs a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--accent); }
.news-stories.panel { padding: 0 clamp(14px, 2vw, 24px); }
.news-story { display: grid; align-items: stretch; gap: clamp(12px, 2vw, 22px); min-width: 0; padding-block: 18px; }
.news-story:has(.news-story-image) { grid-template-columns: minmax(0, 1fr) clamp(82px, 13vw, 144px); }
.news-story + .news-story { border-top: 1px solid var(--line); }
.news-story-copy { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.news-story h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 17px; font-weight: 650; line-height: 1.6; overflow-wrap: anywhere; }
.news-story:hover h3, .article-rail-story:hover h3 { color: var(--brand); }
.news-story-image { width: 100%; aspect-ratio: 144 / 100; border-radius: 10px; object-fit: cover; }
.news-story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.news-feed-meta { gap: 3px 5px; color: #617168; }
.news-feed-details, .news-feed-reads, .news-sport-badge { display: inline-flex; align-items: center; gap: 4px; }
.news-feed-details { flex-wrap: wrap; }
.news-feed-reads { white-space: nowrap; }
.news-feed-reads .icon { width: 13px; height: 13px; }
.news-sport-badge { padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.news-sport-football { color: #087756; background: #dff3e9; }
.news-sport-basketball { color: #bf3021; background: #fdeceb; }
:root[data-theme="dark"] .news-feed-meta { color: #a5b4ab; }
:root[data-theme="dark"] .news-sport-football { color: #9ee0bd; background: #1e3b31; }
:root[data-theme="dark"] .news-sport-basketball { color: #ffb4ad; background: #47282b; }
.news-stories .pagination { padding-block: 12px; border-top: 1px solid var(--line); }
.news-brief { min-width: 0; }
.news-editorial .panel { margin-bottom: 0; }
.news-brief .section-head { margin-bottom: 8px; }
.news-brief .brief-row { align-items: start; padding: 13px 3px; }
.news-brief .brief-row > span { min-width: 26px; height: 26px; border-radius: 50%; }
.news-brief .brief-row > .icon { align-self: center; width: 13px; height: 13px; }
.news-brief .brief-row b { font-size: 13px; line-height: 1.6; }
.news-brief .brief-row small { margin-top: 2px; }
.news-brief-action { flex: 1 1 auto; }
.news-feature {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-height: clamp(260px, 34vw, 385px);
  border-radius: 15px;
  background: #193f31;
  color: #fff;
}
.news-feature > img, .news-feature::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.news-feature > img { object-fit: cover; z-index: -2; }
.news-feature::after { content: ""; z-index: -1; background: linear-gradient(0deg, #132819f5 0%, #132819cf 31%, #13281945 72%, transparent); }
.news-feature-copy { padding: clamp(18px, 3vw, 27px); min-width: 0; overflow-wrap: anywhere; }
.news-feature-copy .badge { background: #d2f36b; color: #28472f; }
.news-feature-copy h2 { margin-top: 12px; font-size: clamp(23px, 2.7vw, 34px); line-height: 1.4; letter-spacing: -.025em; text-wrap: balance; }
.news-feature-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin-top: 10px; color: #e3eee3; font-size: 12px; }
.news-feature-meta .icon { width: 14px; height: 14px; }
.expert-plan-title p, .expert-tile p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.news-feature:hover .news-feature-copy h2 { text-decoration: underline; text-underline-offset: 4px; }
.article-summary { margin: 14px 0; padding: 12px 16px; border-left: 3px solid var(--accent); border-radius: 0 9px 9px 0; background: var(--soft); line-height: 1.75; overflow-wrap: anywhere; }
.expert-hub { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 1.8vw, 22px); }
.expert-hub > .panel { margin: 0; }
.editorial-page-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.editorial-page-nav .tabs { flex: 1 1 auto; }
.expert-section-nav.tabs { margin: 0; flex-wrap: wrap; }
.expert-section-nav.tabs a { white-space: normal; }
.expert-filters, .expert-prediction-filters, .expert-scope { min-width: 0; padding: clamp(12px, 1.6vw, 20px); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.expert-filter-segments, .expert-scope { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.expert-segments { display: flex; flex-wrap: wrap; gap: 3px; padding: 4px; border-radius: 9px; background: var(--bg); }
.expert-segments a { padding: 5px 10px; border-radius: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.expert-segments a:is(:hover, [aria-current="page"]) { color: var(--accent); background: var(--soft); }
.expert-segments a[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--line); }
.expert-reset { margin-inline-start: auto; font-size: 13px; }
.expert-scope { background: var(--soft); }
.expert-scope small, .expert-scope strong { display: block; overflow-wrap: anywhere; }
.expert-scope small { color: var(--muted); }
.expert-filters .filter-bar { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto auto; align-items: end; padding: 0; margin: 14px 0 0; border: 0; border-radius: 0; }
.expert-filters .expert-free-filter { display: flex; align-items: center; gap: 7px; min-height: 41px; font-size: 13px; font-weight: 650; }
.expert-free-filter input { width: 16px; min-height: 0; margin: 0; padding: 0; accent-color: var(--accent); }
.expert-hub .expert-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.expert-directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); gap: 12px; }
.expert-person { display: grid; gap: 10px; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.expert-person-identity { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; }
.expert-person-identity:hover { color: var(--accent); }
.expert-person-identity .icon { width: 14px; color: var(--muted); }
.expert-person-identity small, .expert-person-bio { color: var(--muted); font-size: 13px; }
.expert-person-bio { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: 2lh; overflow: hidden; }
.expert-person-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 8px 10px; border-radius: 8px; background: var(--soft); }
.expert-person-stats span { color: var(--muted); font-size: 11px; }
.expert-person-stats b { display: block; color: var(--accent); font-size: 18px; font-variant-numeric: tabular-nums; }
.expert-person > .button { justify-self: start; min-height: 32px; padding: 4px 10px; font-size: 13px; }
.expert-tile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: start;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.expert-tile:hover, .plan-fixture:hover { border-color: var(--accent); }
.expert-tile-avatar { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; background: var(--soft); font-size: 18px; }
.expert-tile p, .expert-plan-title p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.expert-tile-record { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 6px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--accent); font-size: 13px; }
.expert-plan-tile { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.expert-plan-meta, .expert-plan-footer, .expert-plan-footer > span { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.expert-plan-meta, .expert-plan-footer { justify-content: space-between; }
.expert-plan-meta :is(small, time), .expert-plan-footer small { color: var(--muted); font-size: 12px; }
.expert-plan-author { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
.expert-plan-author .row-image { width: 27px; height: 27px; border-radius: 50%; }
.expert-plan-title:hover h3, .expert-plan-author:hover span { text-decoration: underline; text-underline-offset: 3px; }
.expert-plan-footer { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.expert-plan-match { display: grid; gap: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--text); }
.expert-plan-match:hover { border-color: var(--muted); }
.expert-plan-match > small { color: var(--muted); font-size: 12px; }
.expert-match-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; font-size: 13px; }
.expert-match-teams > span { display: flex; align-items: center; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.expert-match-teams > span:last-child { justify-content: flex-end; text-align: end; }
.expert-match-teams > strong { white-space: nowrap; color: var(--accent); font-variant-numeric: tabular-nums; }
.expert-match-logo { flex: 0 0 21px; width: 21px; height: 21px; border-radius: 50%; object-fit: contain; }
.prediction-hub { gap: 16px; }
.prediction-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 148px;
  padding: 20px 30px;
  overflow: hidden;
  border-radius: 15px;
  background: #203f2a;
  color: #eff6e9;
}
:root[data-theme="dark"] .prediction-banner { background: #172824; }
.prediction-banner h1 { position: relative; z-index: 1; margin: 0; font-size: 19px; line-height: 1.55; letter-spacing: -.3px; font-weight: 750; }
.prediction-banner h1 span { color: #d1ef7a; }
:root[data-theme="dark"] .prediction-banner h1 span { color: #b6ee80; }
.prediction-banner img { position: absolute; width: 138px; height: 138px; object-fit: contain; right: 40px; bottom: -20px; opacity: .12; transform: rotate(-20deg); pointer-events: none; }
.prediction-section-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px; }
.prediction-section-bar > .text-link { margin-inline-start: auto; font-size: 12px; }
.prediction-section-bar .expert-section-nav { padding: 0; border: 0; background: none; }
.prediction-section-bar .expert-section-nav a { padding: 8px 12px; border: 1px solid transparent; }
.prediction-section-bar .expert-section-nav a[aria-current="page"] { color: var(--on-accent); background: var(--accent); }
.expert-prediction-filters { justify-content: flex-start; gap: 8px 14px; padding: 10px 14px; border-radius: 10px; }
.expert-prediction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.expert-prediction-tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(14px, 1.8vw, 24px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow-wrap: anywhere;
}
.prediction-card-meta, .prediction-card-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; color: var(--muted); font-size: 12px; }
.prediction-card-meta .badge { font-size: 11px; }
.prediction-card-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.prediction-card-footer > a { margin-inline-start: auto; }
.prediction-card-footer small, .prediction-matchup > small { font-size: 11px; }
.prediction-matchup { display: grid; gap: 6px; min-width: 0; padding: 7px 0; border-radius: 6px; }
.prediction-matchup:hover .expert-match-teams b { color: var(--accent); }
.prediction-matchup > small { color: var(--muted); }
.prediction-matchup .expert-match-teams { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; font-size: 14px; }
.prediction-matchup .expert-match-teams > span { gap: 8px; }
.prediction-matchup .expert-match-teams > strong { min-width: 40px; text-align: center; font-size: 20px; }
.prediction-matchup .expert-match-logo { flex-basis: 32px; width: 32px; height: 32px; }
.expert-prediction-outcome { padding: 6px 9px; border-radius: 7px; background: var(--soft); color: var(--accent); font-size: 12px; }
.expert-prediction-outcome strong { margin-inline-end: 4px; }
.prediction-results > .empty { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.editorial-detail { width: min(100%, 1220px); margin-inline: auto; }
.editorial-detail .editorial-columns { grid-template-columns: minmax(0, 2.2fr) minmax(235px, 1fr); }
.editorial-detail .reading { padding: clamp(15px, 3vw, 34px); }
.editorial-detail .page-title { padding: 0; }
.editorial-detail .page-title h1 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.4; text-wrap: balance; }
.editorial-detail .reading > .badge + .page-title { margin-top: 10px; }
.editorial-detail .reading .prose { max-width: 75ch; font-size: 16px; line-height: 1.85; }
.editorial-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.editorial-detail .reading > .inline-actions { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); gap: 8px; }
.editorial-detail .inline-actions .button { max-width: 100%; white-space: normal; }
.article-detail { width: 100%; }
.article-detail .article-columns { grid-template-columns: minmax(0, 1fr) clamp(235px, 24vw, 305px); gap: clamp(18px, 2vw, 27px); }
.article-detail .reading { margin: 0; padding: clamp(16px, 2.5vw, 25px); }
.article-detail .page-title h1 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.5; }
.article-detail .reading .prose { max-width: 78ch; line-height: 1.9; }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 13px; color: var(--muted); font-size: 13px; }
.article-byline-mark { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--accent); }
.article-byline-copy { flex: 1 1 auto; min-width: 0; }
.article-byline-copy > strong, .article-byline-copy > time { display: block; overflow-wrap: anywhere; }
.article-byline-copy > strong { color: var(--text); }
.article-byline-copy > time { font-size: 12px; }
.article-counts { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; color: var(--muted); font-size: 12px; }
.article-detail .article-figure { margin-block: 21px 18px; }
.article-detail .article-figure .article-cover { height: clamp(180px, 36vw, 300px); max-height: none; border-radius: 12px; object-fit: cover; }
.article-detail .article-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px; border: 1px solid var(--line); border-radius: 10px; }
.article-detail .article-summary > .icon { margin-top: 3px; color: var(--accent); }
.article-detail .article-summary strong { display: block; margin-bottom: 2px; color: var(--accent); }
.article-detail .article-comments { margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--line); }
.article-detail .article-comments > h2 { margin-bottom: 12px; font-size: 17px; }
.article-sidebar { display: grid; align-content: start; gap: 15px; }
.article-sidebar .article-related { margin: 0; }
.article-related .section-head { margin-bottom: 4px; }
.article-rail-story { display: grid; align-items: start; gap: 10px; padding-block: 12px; }
.article-rail-story:has(.article-rail-thumb) { grid-template-columns: 68px minmax(0, 1fr); }
.article-rail-story + .article-rail-story { border-top: 1px solid var(--line); }
.article-rail-story:last-child { padding-bottom: 0; }
.article-rail-thumb { width: 68px; height: 56px; border-radius: 7px; object-fit: cover; }
.article-rail-copy { min-width: 0; }
.article-rail-copy h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 13px; font-weight: 650; line-height: 1.6; overflow-wrap: anywhere; }
.article-rail-copy .news-story-meta { padding-top: 4px; font-size: 11px; }
.article-comments .empty { min-height: 74px; padding: 13px 5px 4px; font-size: 13px; }
.article-comments .empty-icon { display: none; }
.article-comment-form { display: grid; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.article-comment-form label { display: grid; gap: 5px; font-weight: 650; }
.article-comment-form textarea { width: 100%; min-height: 78px; padding: 9px 11px; font-weight: 400; }
.article-comment-form .button { justify-self: end; }
.article-comment-form .form-error { margin: 0; }
.article-comment-form .form-error:empty { display: none; }
.editorial-access { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.editorial-access p { flex: 1 1 12em; color: var(--text); }
.plan-detail-body { margin-top: 18px; }
.plan-detail-body h2 { margin-bottom: 8px; font-size: 17px; }
.plan-fixture { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3px 10px; padding: 11px 14px; margin: 14px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.plan-fixture small, .plan-fixture span { color: var(--muted); }
.plan-fixture small, .plan-fixture strong { grid-column: 1; overflow-wrap: anywhere; }
.plan-fixture .icon { grid-column: 2; grid-row: 1 / 3; }
.prediction-detail { max-width: 880px; }
.prediction-detail .reading > .prediction-matchup { margin-block: 12px; }
.prediction-analysis { margin: 16px 0; padding-top: 14px; border-top: 1px solid var(--line); }
.prediction-analysis h2, .prediction-distribution h2 { margin: 0 0 8px; font-size: 16px; }
.prediction-detail .reading .prediction-basis { margin: 0; line-height: 1.7; white-space: pre-line; }
.prediction-distribution { margin-top: 18px; }
.prediction-detail .notice { margin-top: 14px; }
.probabilities { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.probabilities li { display: grid; grid-template-columns: minmax(0, 1fr); flex: 1 1 min(75px, 100%); min-width: 0; gap: 3px; padding: clamp(8px, 2vw, 14px); border-radius: 8px; background: var(--soft); overflow-wrap: anywhere; }
.probabilities li span { color: var(--muted); font-size: 13px; font-weight: 650; }
.probabilities li strong { color: var(--accent); font-size: clamp(18px, 4.6vw, 27px); font-variant-numeric: tabular-nums; }
.probabilities li meter { width: 100%; height: 6px; margin-top: 3px; appearance: none; border: 0; border-radius: 999px; background: var(--line); }
.probabilities li meter::-webkit-meter-bar { border: 0; border-radius: 999px; background: var(--line); }
.probabilities li meter::-webkit-meter-optimum-value { border-radius: 999px; background: var(--accent); }
.probabilities li meter::-moz-meter-bar { border-radius: 999px; background: var(--accent); }
:is(.expert-prediction-tile, .prediction-detail) .probabilities li { grid-template-columns: minmax(0, 1fr) auto; align-items: center; flex-basis: 0; gap: 5px 7px; padding: 8px 10px; border: 1px solid var(--line); }
:is(.expert-prediction-tile, .prediction-detail) .probabilities li span { font-size: 12px; font-weight: 550; }
:is(.expert-prediction-tile, .prediction-detail) .probabilities li strong { color: var(--text); font-size: 17px; line-height: 1; }
:is(.expert-prediction-tile, .prediction-detail) .probabilities li meter { grid-column: 1 / -1; height: 5px; }
.probabilities li:not(.is-leading) meter::-webkit-meter-optimum-value { background: var(--muted); }
.probabilities li:not(.is-leading) meter::-moz-meter-bar { background: var(--muted); }
:is(.expert-prediction-tile, .prediction-detail) .probabilities .is-leading { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
:is(.expert-prediction-tile, .prediction-detail) .probabilities .is-leading strong { color: var(--accent); }
@media (max-width: 1000px) {
  .expert-prediction-grid { gap: 16px; }
}
@media (max-width: 720px) {
  .expert-prediction-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .prediction-banner { min-height: 116px; padding: 16px 19px; }
  .prediction-banner img { width: 102px; height: 102px; right: 16px; bottom: -15px; }
  .prediction-matchup .expert-match-teams { gap: 7px; font-size: 12px; }
  .prediction-matchup .expert-match-teams > span { gap: 5px; }
  .prediction-matchup .expert-match-teams > strong { min-width: 28px; font-size: 16px; }
  .prediction-matchup .expert-match-logo { flex-basis: 24px; width: 24px; height: 24px; }
  :is(.expert-prediction-tile, .prediction-detail) .probabilities li { gap: 4px; padding: 7px; }
  :is(.expert-prediction-tile, .prediction-detail) .probabilities li strong { font-size: 15px; }
}
@media (max-width: 420px) {
  :root:lang(en) :is(.expert-prediction-tile, .prediction-detail) .probabilities li { grid-template-columns: minmax(0, 1fr); }
}
.consultation-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-bottom: 16px; }
.consultation-heading .page-title { padding: 0; }
.consultation-heading .page-title h1 { font-size: 24px; }
.consultation-heading .tabs { justify-self: start; margin: 0; max-width: 100%; }
.consultation-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); grid-template-areas: "sidebar chat"; align-items: start; gap: 18px; }
.consultation-main { grid-area: chat; min-width: 0; }
.consultation-sidebar { grid-area: sidebar; min-width: 0; }
.consultation-sidebar .button { width: 100%; }
.consultation-sidebar .button:not(:last-child) { margin-bottom: 8px; }
.consultation-sidebar [aria-current="page"] { border-radius: 7px; background: var(--soft); }
.consultation-intro { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 11px; background: var(--soft); }
.consultation-intro img { flex: 0 0 auto; width: clamp(42px, 7vw, 64px); height: auto; }
.consultation-intro p { margin-top: 3px; color: var(--muted); }
.consultation-login { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; }
.consultation-login p { flex: 1 1 215px; color: var(--muted); }
.consultation-match-search { margin: 10px 0 14px; }
.consultation-match-search summary { cursor: pointer; color: var(--accent); font-weight: 700; }
.consultation-match-search .filter-bar { margin-top: 8px; }
.consultation-composer { max-width: none; }
.consultation-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.consultation-status { margin: 0; color: var(--muted); font-size: 13px; }
.consultation-status:empty { display: none; }
.consultation-prompts { display: flex; flex-wrap: wrap; gap: 7px; }
.consultation-prompts .button { min-height: 34px; padding: 5px 10px; }
.consultation-thread { margin: 4px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.consultation-thread > h3 { font-size: 15px; }
.consultation-thread .ai-history { padding: 12px 0; overflow-wrap: anywhere; }
.consultation-thread .ai-history:last-child { border-bottom: 0; }
.consultation-composer .ai-answer:empty, .consultation-composer .form-error:empty { display: none; }
.consultation-composer .ai-answer .notice { overflow-wrap: anywhere; }
@media (max-width: 770px) {
  .editorial-columns { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .editorial-detail .editorial-columns { grid-template-columns: minmax(0, 1fr); }
  .news-editorial { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
  .news-editorial .news-main, .news-listing { gap: 13px; }
  .news-story { padding-block: 13px; }
  .news-story h3 { font-size: 15px; }
  .news-brief .brief-row { padding-block: 10px; }
  .expert-hub .expert-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consultation-heading { grid-template-columns: minmax(0, 1fr); }
  .consultation-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "chat" "sidebar"; gap: 0; }
}
@media (max-width: 520px) {
  .editorial-detail .reading .prose { font-size: 15px; }
  .article-detail .article-figure .article-cover { height: auto; aspect-ratio: 16 / 9; }
  .article-counts { flex-basis: 100%; }
  .prediction-detail .reading > .inline-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prediction-detail .inline-actions .button { padding-inline: 8px; }
  .expert-section-nav.tabs { gap: 4px; }
  .expert-section-nav.tabs a { padding-inline: 8px; }
  .expert-filters .filter-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .expert-filters .filter-bar > label:has(input[type="search"]), .expert-filters .filter-bar > label:has(select) { grid-column: 1 / -1; }
  .expert-hub .expert-plan-grid { grid-template-columns: minmax(0, 1fr); }
  .consultation-login .button { width: 100%; }
}
.chat-message { align-items: start; }
.chat-message > span:first-child { flex: 0 0 min(20ch, 32%); }
.chat-author { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.chat-author b { min-width: 0; }
/* The compact badge uses the App prototype's shield and palette for each tier. */
.vip-badge {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: none;
  align-items: center;
  width: 58px;
  height: 22px;
  padding-inline: 19px 3px;
  justify-content: center;
  color: var(--vip-ink);
  font: italic 800 12px/1 Arial, sans-serif;
  white-space: nowrap;
  vertical-align: middle;
}
.vip-badge::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px 0 2px 10px;
  border: 1px solid var(--vip-base);
  border-radius: 0 11px 11px 0;
  background: linear-gradient(115deg, var(--vip-light), var(--vip-base));
}
.vip-badge > img {
  position: absolute;
  inset: -1px auto auto 0;
  width: 21px;
  height: 24px;
}
.vip-badge[data-vip-level="0"] { --vip-light: #f5f7fa; --vip-base: #dde4ec; --vip-ink: #495563; }
.vip-badge[data-vip-level="1"] { --vip-light: #fcf6ee; --vip-base: #ead7bc; --vip-ink: #714915; }
.vip-badge[data-vip-level="2"] { --vip-light: #f1f6ff; --vip-base: #cbdaf2; --vip-ink: #365383; }
.vip-badge[data-vip-level="3"] { --vip-light: #fff4eb; --vip-base: #f6d2bb; --vip-ink: #934312; }
.vip-badge[data-vip-level="4"] { --vip-light: #f0f6ff; --vip-base: #c0d7fa; --vip-ink: #2e4d88; }
.vip-badge[data-vip-level="5"] { --vip-light: #f8f1ff; --vip-base: #dfc9f4; --vip-ink: #60418b; }
.vip-badge[data-vip-level="6"] { --vip-light: #f4f2ff; --vip-base: #d3cdfc; --vip-ink: #433a8b; }
.vip-badge[data-vip-level="7"] { --vip-light: #fff2f7; --vip-base: #f1c4d4; --vip-ink: #8f2c4b; }
.vip-badge[data-vip-level="8"] { --vip-light: #f5ecff; --vip-base: #bd95df; --vip-ink: #4c286e; }
.chat-message p { white-space: pre-wrap; }

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  grid-template-areas: "brand card";
  gap: clamp(14px, 2vw, 24px);
  max-width: 1010px;
  margin: 16px auto;
}
.auth-brand {
  grid-area: brand;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 390px;
  padding: clamp(22px, 3vw, 38px);
  border-radius: 18px;
  color: #f4f9ee;
  background: radial-gradient(at 64% 82%, #487f52, #224735);
}
.auth-brand .eyebrow { color: #d8eed5; }
.auth-slogan { margin: 7px 0 0; font-size: clamp(27px, 3.5vw, 40px); line-height: 1.2; font-weight: 800; }
.auth-brand img { justify-self: end; align-self: end; width: min(100%, 274px); height: auto; }
.auth-card { grid-area: card; min-width: 0; padding: clamp(18px, 3vw, 34px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.auth-card .page-title { padding: 0 0 16px; }
.auth-card h1 { font-size: clamp(25px, 3vw, 34px); line-height: 1.16; }
.auth-card .page-title p { margin-top: 7px; font-size: 14px; line-height: 1.55; }
.qr-pane { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.qr-pane h2 { font-size: 17px; line-height: 1.35; }
.qr-pane > .button { width: 100%; }
#qr-content {
  display: grid;
  justify-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  text-align: center;
}
#qr-status { margin: 0; color: var(--muted); font-size: 13px; }
#qr-content canvas { display: block; width: min(100%, 218px); height: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.wallet-panel { background: var(--soft); }
.wallet-value { display: grid; gap: 3px; color: var(--accent); }
.wallet-value > span { font-size: 13px; font-weight: 700; }
.wallet-value strong { font-size: clamp(30px, 5vw, 48px); line-height: 1.1; font-weight: 830; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.wallet-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block: 14px; }
.wallet-actions .button { padding-inline: 7px; line-height: 1.35; }
.wallet-panel .section-note { margin-bottom: 0; }
.member-grid { margin-bottom: 18px; }
.rule-list, .quote-details { display: grid; gap: 7px; }
.rule-list > div, .quote-details > div { display: grid; grid-template-columns: minmax(90px, 13ch) 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rule-list > div:last-child, .quote-details > div:last-child { border: 0; }
.rule-list dt, .quote-details dt { color: var(--muted); font-weight: 700; }
.quote-details dd { text-align: right; font-weight: 750; }
.quote-details > div { grid-template-columns: 1fr 1fr; }
dialog { width: min(calc(100% - 26px), 495px); max-height: calc(100dvh - 28px); border-radius: 14px; padding: 22px; color: var(--text); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
dialog::backdrop { background: #1422199e; }
dialog .inline-actions { justify-content: flex-end; margin: 4px 0 0; }
.site-search-results { display: grid; gap: 12px; margin-top: 14px; }
.site-search-results section { border-top: 1px solid var(--line); padding-top: 10px; min-width: 0; }
.site-search-results h3, .site-search-results p { margin: 0 0 6px; }
.site-search-results a { display: grid; gap: 2px; padding: 8px; border-radius: 8px; overflow-wrap: anywhere; }
.site-search-results a:hover, .site-search-results a:focus-visible { background: var(--soft); }
.site-search-results small, .site-search-results p { color: var(--muted); }
.download-qr { text-align: center; }
.download-qr canvas { display: block; margin: 12px auto; max-width: 100%; }
.download-qr .inline-actions { margin-top: 14px; }
.toast { position: fixed; z-index: 30; right: 19px; bottom: 19px; max-width: min(420px, calc(100vw - 38px)); border: 1px solid var(--line); padding: 12px 15px; background: var(--surface); border-radius: 10px; color: var(--text); box-shadow: var(--shadow); }

.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--page-width); margin: 0 auto; padding: 22px var(--page-gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 13px 23px; }
.footer-inner b { color: var(--accent); }
.footer-inner p, .footer-inner small { color: var(--muted); font-size: 12px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 13px; font-size: 13px; }
.footer-inner a:hover { color: var(--accent); text-decoration: underline; }

@media (max-width: 1200px) {
  .topbar-inner { gap: clamp(17px, 3vw, 40px); }
  .top-actions { gap: 5px; }
  .app-link { font-size: 12px; }
  .topnav { gap: clamp(14px, 2vw, 25px); }
  .topnav a, .expert-nav > summary { font-size: 13px; }
  .home-columns { gap: 13px; }
}
@media (max-width: 1080px) {
  .topbar-inner { position: relative; gap: 5px 18px; flex-wrap: wrap; justify-content: space-between; min-height: 0; padding-top: 8px; }
  .topnav { order: 3; flex: 1 1 100%; min-width: 0; overflow: auto; min-height: 42px; gap: 24px; }
  .topnav a[aria-current="page"]::after, .expert-nav.is-active > summary::after { bottom: 1px; }
  .expert-nav { position: static; }
  .expert-nav-menu { top: calc(100% + 4px); right: var(--page-gutter); left: auto; transform: none; }
  .top-actions { margin: 0; }
}
@media (max-width: 960px) {
  .home-columns { grid-template-columns: 1fr 1fr; }
  .home-columns .download-ad { grid-column: 1 / -1; min-height: 185px; }
  .home-columns .download-ad img { width: 165px; top: 7px; right: 12px; }
  .match-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .brand { font-size: 20px; gap: 5px; }
  .brand img { width: 31px; height: 31px; }
  .topnav { justify-content: space-between; gap: 3px; }
  .topnav a, .expert-nav > summary { padding: 0 3px; font-size: 12px; }
  .top-actions { gap: 1px; }
  .app-link > span, .locale-button > span { display: none; }
  .top-actions .app-link { display: grid; place-items: center; min-height: 34px; padding: 6px; }
  .app-link > .icon { display: inline-block; }
  .icon-button { min-height: 34px; padding-inline: 6px; }
  .login-link { padding: 5px 8px; min-height: 32px; }
  .login-link .icon { display: none; }
  #main-content { padding-top: 16px; }
  .hero {
    grid-template-columns: minmax(0, 1fr) 32%;
    min-height: 217px;
    gap: 5px;
    padding-inline: 13px;
    border-radius: 15px;
    background-image: linear-gradient(90deg, var(--hero-wash), color-mix(in srgb, var(--hero-wash) 92%, transparent) 60%, color-mix(in srgb, var(--hero-wash) 53%, transparent)), var(--stadium);
    background-position: center, 65% 50%;
  }
  .hero-art { grid-column: 2; grid-row: 1; }
  .hero-art img { width: 100%; }
  .hero-copy { grid-column: 1; grid-row: 1; padding-block: 14px; }
  .hero :is(h1, h2) { font-size: clamp(22px, 6.8vw, 37px); margin-block: 5px 7px; }
  .hero p { font-size: 12px; margin-bottom: 9px; }
  .hero .eyebrow { font-size: 8px; }
  .hero .button { min-height: 36px; padding: 6px 9px; font-size: 12px; }
  .section-head > div { display: block; }
  .section-head h2 { font-size: 16px; }
  .home-columns, .split { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .league-groups { grid-template-columns: 1fr; gap: 8px; }
  .panel { padding: 13px; border-radius: 12px; }
  .home-match-board .match-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82%, 280px);
    gap: 8px;
    overflow-x: auto;
    padding: 4px 3px 7px;
    margin: -4px -3px -7px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 3px;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
  .home-match-board .match-grid:has(.match-card:only-child) { grid-auto-columns: 100%; }
  .match-card { scroll-snap-align: start; }
  .match-card:focus-visible { outline-offset: -2px; }
  .match-row { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; }
  .match-row .match-row-result, .match-row .match-period-table { grid-row: 2; grid-column: 1 / -1; }
  .match-row .match-state { justify-items: end; }
  .match-row > .icon { display: none; }
  .scoreboard .team-mark { width: 43px; height: 43px; }
  .scoreboard .team b { font-size: 13px; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid .story-image { height: auto; max-height: 185px; }
  .profile-head { flex-wrap: wrap; }
  .profile-image { width: 59px; height: 59px; }
  .profile-actions { margin-left: 0; }
  .reading { padding: 13px; }
  .app-platforms { justify-content: center; }
}
@media (max-width: 400px) {
  html[lang="en"] .topbar .brand span { max-inline-size: 4.6em; white-space: normal; }
}
@media (max-width: 360px) {
  .topbar-inner { column-gap: 8px; }
  .brand { gap: 4px; font-size: 18px; }
  .top-actions :is(.icon-button, .app-link) { padding-inline: 4px; }
  .top-actions .account-link > span:not(.member-avatar) { display: none; }
  .topnav { gap: 0; }
  html[lang="en"] .topnav { justify-content: flex-start; gap: 5px; }
  .topnav a, .expert-nav > summary { padding-inline: 1px; font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

.sports-archive-card{padding:1rem;border:1px solid var(--line);border-radius:12px}
.sports-archive-card h3,.sports-archive-card p{margin:.35rem 0}
.sports-archive-card small,.sports-archive-card dt{color:var(--muted)}
.sports-archive-card .archive-body{white-space:pre-wrap;overflow-wrap:anywhere}
.sports-archive-card dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(7rem,1fr));gap:.5rem;margin:.7rem 0 0}
.sports-archive-card dl>div{padding:.5rem;border:1px solid var(--line);border-radius:7px;overflow-wrap:anywhere}
.sports-archive-card dt{font-size:.8rem}
.sports-archive-card dd{margin:.2rem 0 0;font-variant-numeric:tabular-nums}
.lottery-products { flex-wrap: wrap; margin-block: 12px; }
.lottery-products a { flex: 1; text-align: center; }
.lottery-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-block: 10px; }
.lottery-dates--with-issue { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lottery-variants { flex-wrap: wrap; }
.lottery-dates .button { min-width: 0; padding-inline: 4px; }
.lottery-dates [aria-current="date"] { border-color: var(--accent); color: var(--on-accent); background: var(--accent); }
.lottery-advanced { margin-block: 6px; }
.lottery-advanced > summary { padding: 6px 4px; cursor: pointer; color: var(--accent); font-size: 13px; font-weight: 700; }
.lottery-query { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 8px; }
.lottery-query .filter-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 0; padding: 8px; }
.lottery-query label, .lottery-query input { min-width: 0; }
.lottery-query label > span { margin-bottom: 4px; }
.lottery-match-filter { margin: 6px 0; }
.lottery-source { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin: 10px 0 8px; color: var(--muted); }
.lottery-source .button { min-height: 30px; padding: 3px 8px; font-size: 12px; }
.lottery-results, .lottery-issue-records { display: grid; gap: 10px; }
.lottery-issue { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.lottery-issue > header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0 0 9px; }
.lottery-issue > header h3 { margin: 0; font-size: 16px; }
.lottery-issue > header small, .lottery-record-meta small, .lottery-market > small { color: var(--muted); }
.lottery-issue-details { display: grid; gap: 8px; margin-bottom: 10px; }
.lottery-pools, .lottery-markets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 8px; }
.lottery-pools > section, .lottery-market, .lottery-outcomes { min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 9px; }
.lottery-pools h4, .lottery-record h5 { margin: 0; font-size: 13px; }
.lottery-pools .lottery-fields, .lottery-market .lottery-fields, .lottery-outcomes .lottery-fields { margin-top: 6px; }
.lottery-record { min-width: 0; display: grid; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.lottery-record-meta, .lottery-market > header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; }
.lottery-record-meta small { min-width: 0; overflow-wrap: anywhere; }
.lottery-record-meta .text-link { white-space: nowrap; }
.lottery-status { display: flex; flex-wrap: wrap; gap: 4px; }
.lottery-status .badge, .lottery-single { padding: 1px 6px; font-size: 11px; }
.lottery-on-sale, .lottery-drawn { color: var(--on-accent); background: var(--accent); }
.lottery-fixture { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; margin: 0; padding: 8px; border-radius: 8px; background: var(--soft); text-align: center; font-size: clamp(14px, 2vw, 17px); overflow-wrap: anywhere; }
.lottery-fixture strong { font-variant-numeric: tabular-nums; color: var(--accent); white-space: nowrap; }
.lottery-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 54px), 1fr)); gap: 4px; margin: 0; font-variant-numeric: tabular-nums; }
.lottery-fields > div { min-width: 0; padding: 4px; border-radius: 6px; text-align: center; background: var(--soft); overflow-wrap: anywhere; }
.lottery-fields dt { color: var(--muted); font-size: 12px; }
.lottery-fields dd { margin: 1px 0 0; font-weight: 700; }
.lottery-issue-details .lottery-fields, .lottery-outcomes .lottery-fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 108px), 1fr)); }
.lottery-issue-details .lottery-fields > div { background: var(--surface); }
.lottery-more > summary { padding: 4px 0; cursor: pointer; color: var(--accent); font-weight: 700; }
.lottery-more[open] > summary { margin-bottom: 5px; }
@media (max-width: 520px) {
  .lottery-issue, .lottery-record { padding: 8px; }
  .lottery-products a { padding-inline: 5px; }
  .lottery-dates .button { padding-inline: 2px; font-size: 12px; }
  .lottery-issue-details .lottery-fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 95px), 1fr)); }
}

.score-dates{display:flex;gap:8px;overflow-x:auto;padding:8px 0 16px}.score-dates .button{flex:1;min-width:76px;white-space:nowrap}.score-dates [aria-current="date"]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}

.score-quick-filters { display: flex; flex: 1 1 24rem; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; padding: 4px; }
.score-quick-filters a, .score-filter-details > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}
.score-quick-filters a { border: 1px solid var(--line); white-space: nowrap; }
.score-quick-filters a:hover, .score-filter-details > summary:hover { color: var(--accent); background: var(--soft); }
.score-quick-filters a[aria-current]:not([aria-current="false"]), .score-quick-filters a[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--on-accent);
  background: var(--accent);
}
.score-filter-details { min-width: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.score-filter-details[open] { flex-basis: 100%; }
.score-filter-details > summary { display: flex; justify-content: space-between; cursor: pointer; list-style: none; }
.score-filter-details > summary::-webkit-details-marker { display: none; }
.score-filter-details > summary::after {
  content: "";
  flex: 0 0 7px;
  height: 7px;
  margin-inline: 2px;
  border-inline-end: 1.5px solid currentColor;
  border-block-end: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.score-filter-details[open] > summary { color: var(--accent); background: var(--soft); }
.score-filter-details[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
.score-filter-details > form { min-width: 0; padding: 12px; margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; }
.score-league-options {
  display: grid;
  flex: 1 1 100%;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr));
  gap: 6px;
  min-width: 0;
  max-height: min(42vh, 300px);
  padding: 4px;
  overflow: auto;
}
.score-league-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.score-league-option:hover, .score-league-option:has(input:checked) { background: var(--soft); }
.score-league-option > span { margin: 0; }
.score-league-option input[type="checkbox"] { width: 17px; height: 17px; min-height: 0; padding: 0; margin: 0; accent-color: var(--accent); }
.score-league-option small { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.score-league-actions { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.score-league-actions .button { min-height: 36px; padding: 5px 10px; }
.score-filter-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.score-filter-summary:empty { display: none; }
.score-filter-summary a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 620px) {
  .score-quick-filters { flex-basis: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .score-filter-details { flex: 1 1 9rem; }
  .score-filter-details > form { padding: 9px; }
}

.collection-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.collection-row > .collection-link { display: grid; grid-template-columns: auto minmax(0, 1fr); }
.collection-link > .collection-copy { grid-column: 2; min-width: 0; overflow-wrap: anywhere; }


/* Sports database: service navigation and grouped online archive. */
.database-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.database-sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.database-sidebar h2 { font-size: 17px; margin-bottom: 12px; }
.database-sidebar a { display: grid; gap: 4px; padding: 13px 12px; border-radius: 10px; }
.database-sidebar a:hover, .database-sidebar a[aria-current] { background: var(--soft); color: var(--brand); }
.database-sidebar small, .database-note { color: var(--muted); font-size: 12px; }
.database-main { min-width: 0; }
.database-main .filter-bar { margin-top: 0; }
.database-note { margin: 9px 0 16px; }
.database-main .panel { margin-bottom: 20px; }
@media (max-width: 800px) {
  .database-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .database-sidebar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 10px; }
  .database-sidebar h2 { grid-column: 1 / -1; margin: 0 2px 4px; font-size: 15px; }
  .database-sidebar a { align-items: center; min-height: 39px; padding: 5px 3px; text-align: center; font-size: 13px; overflow-wrap: anywhere; }
  :root:lang(en) .database-sidebar a { font-size: 12px; }
  .database-sidebar small { display: none; }
}
@media (max-width: 345px) {
  .database-sidebar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  :root:lang(en) .database-sidebar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.database-table { overflow-x: auto; }
.database-table table { border-collapse: collapse; width: 100%; white-space: nowrap; }
.database-table th, .database-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); }
.database-table th { color: var(--muted); background: var(--soft); }
/* Complete account and content workflows, including long bilingual text. */
.ai-history { padding: 18px 0; border-bottom: 1px solid var(--line); }
.ai-history h3 { margin-bottom: 10px; }
.ai-history small { color: var(--muted); }
.stack-form + .stack-form { margin-top: 24px; }
input[type="file"] { width: 100%; max-width: 100%; }
.live-update-status { min-height: 1.5em; }
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 2px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-inline-end: 6px;
  border: solid var(--accent);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.faq-list summary:hover { color: var(--accent); }
.faq-list details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq-list p { max-width: 64ch; padding: 0 2px 14px; color: var(--muted); overflow-wrap: anywhere; }
.support-page { max-width: 1080px; margin-inline: auto; }
.support-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(255px, 1fr); align-items: start; gap: 16px; }
.support-grid-member { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; }
.support-grid > .panel { margin: 0; }
.support-contact { background: color-mix(in srgb, var(--soft) 55%, var(--surface)); }
.support-contact-icon, .about-link-icon { display: inline-grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--accent); background: var(--surface); }
.support-contact h2 { margin-top: 10px; font-size: 19px; }
.support-contact p { margin: 7px 0 14px; color: var(--muted); }
.support-grid .stack-form, .support-thread .stack-form { max-width: none; }
.support-grid .form-error:empty, .support-thread .form-error:empty { display: none; }
.support-ticket-link { display: grid; grid-template-columns: minmax(0, 1fr) auto 15px; align-items: center; gap: 8px; padding-block: 10px; }
.support-ticket-link + .support-ticket-link { border-top: 1px solid var(--line); }
.support-ticket-link b { overflow-wrap: anywhere; }
.support-ticket-link time, .ticket-message time { display: block; color: var(--muted); font-size: 12px; }
.support-ticket-link .icon { width: 15px; height: 15px; color: var(--accent); }
.support-ticket-link:hover b { text-decoration: underline; text-underline-offset: 3px; }
.support-ticket-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.support-thread { max-width: 840px; }
.ticket-messages { display: grid; gap: 10px; }
.ticket-message { width: fit-content; max-width: min(92%, 66ch); padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; background: var(--bg); }
.ticket-message-own { justify-self: end; border-radius: 12px 12px 4px 12px; background: var(--soft); }
.ticket-message-system { justify-self: center; border-radius: 10px; text-align: center; }
.ticket-message header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 4px; }
.ticket-message p { white-space: pre-wrap; overflow-wrap: anywhere; }
.support-thread form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 660px) {
  .support-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .support-contact .button { width: 100%; }
  .support-ticket-badges { max-width: 6.8rem; }
}
@media (max-width: 620px) {
  .plain-row { flex-wrap: wrap; }
  .plain-row > span { min-width: 0; }
  .wallet-value strong { overflow-wrap: anywhere; }
  .inline-actions, .match-actions { gap: 8px; }
}
.hero-controls { display: flex; gap: 5px; margin-top: 12px; }
.hero-controls button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--surface); font-size: 11px; }
.hero-controls button:hover { border-color: var(--accent); }
.hero-controls button[aria-pressed="true"] { color: var(--on-accent); background: var(--accent); }

.match-animation { display: block; width: 100%; aspect-ratio: 900 / 365; border: 0; background: var(--surface); border-radius: 12px; }
.animation-status-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; }
.animation-status-row .section-note { margin: 0; }
.match-page-title { font-size:clamp(20px,3vw,28px); margin:16px 0; overflow-wrap:anywhere; }

/* Home portal and match viewing layout */
.home-content .section-head > div { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.home-content .section-head h2 { font-size: clamp(17px, 1.65vw, 22px); letter-spacing: -.02em; }
.home-match-board { background: color-mix(in srgb, var(--soft) 25%, var(--surface)); }
.home-match-band + .home-match-band { margin-top: 16px; padding-top: 11px; border-top: 1px solid var(--line); }
.home-match-band-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 10px; margin-bottom: 8px; }
.home-match-band h3 { font-size: 14px; }
.home-match-band h3 a { display: flex; align-items: center; gap: 7px; }
.home-match-band h3 a:hover { color: var(--brand); }
.home-match-band h3 .icon { width: 24px; height: 24px; padding: 4px; border-radius: 7px; color: var(--accent); background: var(--soft); }
.home-match-band .empty { min-height: 95px; padding-block: 12px; border: 1px dashed var(--line); border-radius: 10px; }
.home-portal-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, 26%); gap: clamp(13px, 1.6vw, 20px); align-items: start; }
.home-editorial { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.home-feature { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: end; min-height: 300px; border-radius: 12px; color: var(--text); background: var(--soft); }
.home-feature.has-cover { color: #fff; background: #203a2b; }
.home-feature.has-cover::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #14291ff5, #14291f38 75%); }
.home-feature-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-feature-copy { min-width: 0; padding: clamp(16px, 2vw, 25px); }
.home-feature-copy h3 { margin: 10px 0 6px; font-size: clamp(18px, 1.95vw, 25px); line-height: 1.35; overflow-wrap: anywhere; }
.home-feature-copy p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; opacity: .92; font-size: 13px; }
.home-feature-copy > span:last-child { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 13px; font-weight: 750; }
.home-feature-copy .icon, .home-brief h3 .icon { width: 16px; height: 16px; }
.home-brief { min-width: 0; padding: clamp(11px, 1.35vw, 16px); border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--soft) 38%, var(--surface)); }
.home-brief h3 { display: flex; align-items: center; gap: 7px; font-size: 16px; }
.home-brief > .text-link { margin-top: 7px; }
.home-portal-columns > .download-ad { align-self: stretch; }
.home-expert-columns .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-expert-columns .card-link:only-child { grid-column: span 2; }
.match-page-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin-bottom: 12px; }
.match-page-heading > * { margin: 0; }
.match-page-heading .match-page-title { flex: 1 1 12rem; min-width: 0; font-size: clamp(19px, 2.4vw, 29px); line-height: 1.3; }
.match-centre .scoreboard { width: 100%; min-height: 0; gap: 14px; padding: 0 0 14px; margin: 0; overflow: hidden; color: var(--text); background: var(--surface); border: 1px solid var(--line); }
.match-centre .scoreboard header { width: 100%; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--soft); text-align: start; }
.match-centre .scoreboard header > span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.match-centre .scoreboard header small, .match-centre .scoreboard .match-facts, .match-centre .scoreboard .match-period-table > small { color: var(--muted); }
.match-centre .scoreboard header > span:first-child small { margin-inline-start: 6px; }
.match-centre .scoreboard .match-teams { width: min(calc(100% - 24px), 740px); justify-items: stretch; }
.match-centre .scoreboard .match-teams > a { min-width: 0; }
.match-centre .scoreboard .match-teams .team { justify-content: flex-end; }
.match-centre .scoreboard .match-teams > :first-child .team,
.match-centre .scoreboard .match-teams > .team:first-child { flex-direction: row; }
.match-centre .scoreboard .match-teams > :last-child .team,
.match-centre .scoreboard .match-teams > .team:last-child { flex-direction: row-reverse; }
.match-centre .scoreboard .team b { color: var(--text); }
.match-centre .scoreboard .match-teams .team-mark { flex: none; width: clamp(34px, 4vw, 48px); height: clamp(34px, 4vw, 48px); }
.match-centre .scoreboard .team-mark.placeholder { color: var(--accent); background: var(--soft); }
.match-centre .scoreboard .score, .match-centre .scoreboard .score i, .match-centre .scoreboard .score-vs { color: var(--accent); font-size: clamp(24px, 4vw, 42px); }
.match-centre .scoreboard .score i { color: var(--muted); }
.match-centre .scoreboard .score-vs { font-size: clamp(17px, 2vw, 25px); }
.match-centre .scoreboard .match-facts { width: 100%; padding: 7px 10px 0; border-top: 1px solid var(--line); }
.match-centre .scoreboard .match-period-table thead { background: var(--soft); }
.match-centre .scoreboard .match-period-table th, .match-centre .scoreboard .match-period-table td { border-color: var(--line); }
.match-centre .live-update-status { margin: 5px 0 0; min-height: 0; }
.match-jump-links, .match-side-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.match-jump-links { gap: 6px 8px; margin: 10px 0 13px; }
.match-jump-links .text-link { min-height: 36px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.match-centre-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 28%); align-items: start; gap: 18px; margin-bottom: 16px; }
.match-centre-main, .match-centre-side { display: grid; gap: 16px; }
.match-centre-grid > *, .match-centre-grid [data-local-panel] { min-width: 0; }
.match-centre-main > *, .match-centre-side > * { min-width: 0; margin: 0; }
[data-football-match-info] > .panel { margin: 0; }
.football-match-info { display: grid; gap: 7px; margin: 0; }
.football-match-info > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; padding-block: 4px; }
.football-match-info > div + div { border-top: 1px solid var(--line); }
.football-match-info dt { color: var(--muted); font-size: 12px; }
.football-match-info dd { margin: 0; font-weight: 600; font-size: 13px; overflow-wrap: anywhere; }
.match-detail-column > .panel { margin-bottom: 0; }
.match-centre-grid .match-trend-overview .football-momentum { margin-bottom: 0; }
.match-centre .football-chart-grid { grid-template-columns: clamp(92px, 15vw, 170px) minmax(410px, 1fr); }
.football-chart-scroll-note { display: none; margin: 3px 0 0; }
.match-broadcast h2 { margin-bottom: 8px; font-size: 17px; }
.match-broadcast .match-animation { background: var(--soft); }
.match-animation-empty { display: grid; justify-items: center; gap: 8px; padding: 14px; border: 1px dashed var(--line); border-radius: 10px; }
.match-animation-empty .empty { min-height: 0; padding: 0; }
.match-local-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border-bottom: 1px solid var(--line); margin: 0 0 10px; }
.match-local-tabs button { min-height: 38px; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 4px; font-weight: 700; font-size: 13px; }
.match-local-tabs button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.match-side-live [data-chat-messages] { max-height: 280px; overflow: auto; }
.match-side-live [data-chat-status] { color: var(--muted); font-size: 13px; }
.match-side-live [data-local-panel] > .section-note:last-child { margin-bottom: 0; }
.match-side-live .chat-message { flex-wrap: wrap; gap: 5px 10px; }
.match-side-live .chat-message > span:first-child { flex-basis: 100%; }
.match-side-live .chat-message > p { min-width: 0; overflow-wrap: anywhere; flex: 1; }
.match-side-live .comparison-fixture { padding-inline: 0; }
.match-standings-preview { list-style: none; padding: 0; margin: 0; }
.match-standings-preview a { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-block: 9px; }
.match-standings-preview small { display: block; color: var(--muted); }
.match-detail-column > .tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin-bottom: 9px; }
.match-detail-column > .basketball-match-tabs.tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.match-detail-column > .tabs:has(a[href$="tab=shots"]) { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.match-detail-column > .tabs a { display: grid; place-items: center; min-height: 36px; padding: 6px 4px; text-align: center; white-space: normal; }
.match-shots { --shot-home: #8ff0c3; --shot-away: #ffd786; display: grid; gap: 12px; }
.shot-map-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; align-items: end; gap: 8px 12px; }
.shot-map-filters label { min-width: 0; color: var(--muted); font-size: .82rem; }
.shot-map-filters select { width: 100%; min-width: 0; min-height: 36px; margin-top: 4px; }
.shot-map-filters [role="status"] { align-self: end; padding-bottom: 8px; color: var(--muted); font-size: .82rem; }
.shot-map-pitch { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #285f4a; border-radius: 12px; background: repeating-linear-gradient(90deg, #194c3b 0 8.33%, #1d5642 8.33% 16.66%); }
.shot-map-pitch > svg { display: block; width: 100%; height: auto; }
.shot-map-lines { fill: none; stroke: #d4ead8; stroke-opacity: .68; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.shot-map-trajectory { stroke: var(--shot-home); stroke-width: 2.2; stroke-dasharray: 5 3; vector-effect: non-scaling-stroke; }
.shot-map-trajectory.away { stroke: var(--shot-away); }
.shot-map-marker { position: absolute; left: var(--shot-x); top: var(--shot-y); z-index: 1; display: grid; width: 24px; height: 24px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: transparent; transform: translate(-50%, -50%); cursor: pointer; }
.shot-map-marker::before, .shot-key { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--shot-home); }
.shot-map-marker::before { content: ''; box-shadow: 0 0 0 1px #143829; }
.shot-map-marker.away::before, .shot-key.away { border-radius: 2px; background: var(--shot-away); }
.shot-map-marker.goal::before { outline: 1.5px solid #fff; outline-offset: 2px; }
.shot-map-marker[aria-pressed="true"], .shot-map-marker:focus-visible, .shot-map-marker:hover { z-index: 2; }
.shot-map-marker[aria-pressed="true"]::before, .shot-map-marker:focus-visible::before { outline: 2px solid #fff; outline-offset: 3px; }
.shot-map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 13px; color: var(--muted); font-size: .8rem; }
.shot-map-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.shot-key { flex: none; border: 1px solid #2b6852; }
.shot-key.away { border-color: #946c24; }
.shot-key.goal { border: 2px double var(--brand); background: transparent; }
.shot-map-selected { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.shot-map-selected h3, .shot-map-selected dl, .shot-map-selected dd { margin: 0; }
.shot-map-selected h3 { font-size: 1rem; overflow-wrap: anywhere; }
.shot-map-selected small, .shot-map-selected dt { color: var(--muted); font-size: .8rem; }
.shot-map-selected dl { display: flex; gap: 16px; }
.shot-map-selected dd { font-size: 1.12rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.shot-map-list { max-height: 320px; overflow: auto; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 10px; }
.shot-map-list li + li { border-top: 1px solid var(--line); }
.shot-map-list button { display: grid; width: 100%; grid-template-columns: auto minmax(2.5rem, auto) minmax(0, 1fr) minmax(0, auto); align-items: center; gap: 5px 9px; min-height: 38px; padding: 6px 11px; border: 0; background: transparent; color: var(--text); text-align: start; cursor: pointer; }
.shot-map-list button:hover, .shot-map-list button[aria-pressed="true"] { background: var(--soft); }
.shot-map-list button:focus-visible { outline-offset: -2px; }
.shot-map-list button span, .shot-map-list button small { color: var(--muted); font-variant-numeric: tabular-nums; }
.shot-map-list button strong { overflow-wrap: anywhere; }
.lineup-formation { margin: 0 0 14px; }
.lineup-formation figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; margin-bottom: 7px; }
.lineup-formation figcaption span { color: var(--muted); font-size: .82rem; }
.lineup-pitch-player { position: absolute; left: var(--player-x); top: var(--player-y); display: grid; width: clamp(18px, 4vw, 30px); height: clamp(18px, 4vw, 30px); place-items: center; border: 1px solid #2b6852; border-radius: 50%; background: #8ff0c3; color: #143829; font-size: clamp(.62rem, 2.1vw, .9rem); font-weight: 800; text-decoration: none; transform: translate(-50%, -50%); }
.lineup-pitch-player.away { border-color: #946c24; border-radius: 7px; background: #ffd786; }
.lineup-pitch-player:focus-visible { outline: 2px solid white; outline-offset: 1px; }
.lineup-player-card { padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.lineup-player-card:last-child { border-bottom: 0; }
.lineup-player-card > .plain-row { border: 0; padding-bottom: 4px; }
.lineup-player-details { margin-inline: 7px; }
.lineup-player-details summary { width: fit-content; padding: 3px 5px; color: var(--brand); font-size: .8rem; cursor: pointer; }
.lineup-player-details summary small { margin-left: 4px; color: var(--muted); }
.lineup-player-details dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.5rem), 1fr)); gap: 6px; margin: 4px 0 0; }
.lineup-player-details dl > div { min-width: 0; padding: 5px 7px; border-radius: 7px; background: var(--soft); }
.lineup-player-details dt { color: var(--muted); font-size: .75rem; overflow-wrap: anywhere; }
.lineup-player-details dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lineup-absences { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.lineup-absences h3 { margin-bottom: 10px; }
.lineup-absences h4 { margin-bottom: 5px; color: var(--muted); font-size: .88rem; }
.lineup-absences ul { margin: 0; padding: 0; list-style: none; }
.lineup-absences li { padding: 8px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.lineup-absences li > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.lineup-absences li .badge { flex: none; }
.lineup-absences small { display: block; margin-top: 3px; color: var(--muted); }
@media (max-width: 600px) {
  .match-detail-column > .tabs:has(a[href$="tab=shots"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shot-map-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-map-filters [role="status"] { grid-column: 1 / -1; padding-bottom: 0; }
}
.match-detail-column .stat-overviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); max-width: 42rem; gap: 8px; margin: 8px auto 12px; }
.match-detail-column .stat-overview { margin: 0; padding: 10px 5px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.match-detail-column .stat-overview h3 { margin: 0 0 8px; font-size: 14px; }
.match-detail-column .stat-rings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 3rem), 1fr)); max-width: 13rem; gap: 5px; margin-inline: auto; }
.match-detail-column .stat-ring { width: clamp(48px, 15vw, 68px); height: clamp(48px, 15vw, 68px); }
.match-detail-column .stat-ring b { width: calc(100% - 9px); height: calc(100% - 9px); font-size: clamp(10px, 3.1vw, 13px); white-space: nowrap; }
.match-detail-column .stat-ring-item small { line-height: 1.35; }
.match-detail-column .match-stat-table { table-layout: fixed; }
.match-detail-column .match-stat-table td { font-variant-numeric: tabular-nums; }
.match-detail-column .match-stat-table :is(th, td) { padding-inline: 7px; }
@media (max-width: 880px) {
  .match-centre-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .match-centre-main, .match-centre-side { gap: 12px; }
}
@media (max-width: 1050px) {
  .home-portal-columns:not(.home-expert-columns) { grid-template-columns: minmax(0, 1fr); }
  .download-ad { grid-template: auto / minmax(0, 1fr) minmax(95px, 29%); align-items: center; gap: 10px; }
  .download-ad img { grid-area: 1 / 2; width: min(100%, 140px); }
  .download-ad::after { width: 55%; inset: auto -12% -80% auto; }
  .home-expert-columns .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  .home-expert-columns { grid-template-columns: minmax(0, 1fr); }
  .home-editorial { grid-template-columns: minmax(0, 1fr); }
  .home-feature { min-height: clamp(245px, 45vw, 300px); }
}
@media (max-width: 540px) {
  .home-content .section-head { gap: 6px; }
  .home-content .section-head .eyebrow { font-size: 8px; }
  .home-content .section-head a { font-size: 12px; }
  .home-expert-columns .card-grid { grid-template-columns: minmax(0, 1fr); }
  .home-expert-columns .card-link:only-child { grid-column: auto; }
}
@media (max-width: 680px) {
  .match-centre .scoreboard header { gap: 4px 8px; padding-inline: 9px; }
  .match-centre .scoreboard .match-teams { align-items: start; gap: 7px; }
  .match-centre .scoreboard .match-teams > .team,
  .match-centre .scoreboard .match-teams > :is(:first-child, :last-child) .team { flex-direction: column; gap: 6px; }
  .match-centre .scoreboard .match-teams > :is(.score, .score-vs) { align-self: center; }
  .match-centre-grid .panel { padding: 13px; }
  .comparison-standings :is(th, td) { padding-inline: 2px; font-size: 12px; }
  .comparison-standings th[scope="row"] a { font-size: inherit; }
  .match-odds-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; }
  .match-odds-filters a { display: grid; align-items: center; min-height: 34px; padding: 4px 2px; font-size: 12px; text-align: center; overflow-wrap: anywhere; }
  .match-detail-column > .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 555px) {
  .match-centre .football-chart-scroll-note { display: block; }
}

/* Scores and archive layouts. */
.score-centre-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin-bottom: 12px; }
.score-centre-heading .page-title { padding: 0; }
.score-centre-heading .page-title .eyebrow { margin-bottom: 4px; }
.score-centre-heading .page-title h1 { font-size: 24px; }
.score-centre-heading .score-views { margin: 0; }
.database-heading .page-title { padding-bottom: 14px; }
.database-heading h1 { font-size: 22px; }
.archive-identity h1 { font-size: 24px; }
.score-centre-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 16px;
}
.score-centre-toolbar .tabs, .score-centre-controls .tabs, .database-heading .tabs { margin: 0; }
.score-centre-toolbar .score-sports { flex-shrink: 0; max-width: 100%; }
.score-centre-search { flex: 1 1 220px; min-width: 0; }
.score-centre-search .filter-bar, .database-primary-search .filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
}
.score-centre-search label, .database-primary-search label { flex: 1; min-width: 0; margin: 0; }
.score-centre-search input, .database-primary-search input { width: 100%; }
.score-centre-search .visually-hidden, .database-primary-search .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.score-density { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.score-density .button { min-height: 32px; padding: 4px 9px; border-color: transparent; }
.score-density [aria-current="page"] { color: var(--accent); background: var(--soft); }
.score-archive-link { white-space: nowrap; }
.score-centre-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); align-items: start; gap: 18px; }
.score-centre-rail { padding: 14px; }
.score-centre-rail h2 { font-size: 15px; margin-bottom: 9px; }
.score-league-shortcuts { display: grid; gap: 3px; margin-bottom: 12px; }
.score-league-shortcuts .button { min-height: 35px; justify-content: flex-start; border-color: transparent; padding: 5px 8px; }
.score-league-shortcuts .button:hover, .score-league-shortcuts .button[aria-current="page"] { border-color: var(--line); background: var(--soft); }
.score-centre-rail .score-filter-details > form { display: block; }
.score-centre-rail .score-league-options { grid-template-columns: minmax(0, 1fr); padding-inline: 0; }
.score-centre-main, .score-centre-list { min-width: 0; }
.score-centre-main .score-dates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0 0 8px; }
.score-centre-main .score-dates a { min-width: 0; flex-direction: column; gap: 1px; padding: 5px 4px; font-variant-numeric: tabular-nums; }
.score-centre-main .score-dates small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.score-centre-main .score-dates a:focus-visible { outline-offset: -3px; }
.score-date-scope { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 14px; margin: 0 0 9px; color: var(--muted); }
.score-date-scope nav { display: flex; flex-wrap: wrap; gap: 0 12px; font-size: 13px; }
.score-centre-list { padding: 12px; }
.score-centre-controls { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 8px; align-items: start; }
.score-centre-controls .tabs { min-width: 0; }
.score-centre-controls:has(.score-filter-details[open]) { grid-template-columns: minmax(0, 1fr); }
.score-centre-list > .score-quick-filters { padding: 8px 0; }
.score-centre-list [data-score-results] > .section-note,
.score-centre-list .score-update-note { margin: 5px 2px 8px; }
.score-centre-list > .score-filter-summary { margin-bottom: 8px; }
.score-filter-chip { padding: 3px 7px; border-radius: 6px; background: var(--soft); }
.score-match-groups { display: grid; gap: 9px; }
.score-match-group { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.score-match-group > header { display: flex; align-items: center; gap: 7px; min-height: 34px; padding: 6px 10px; background: var(--soft); }
.score-match-group > header h3 { min-width: 0; font-size: 13px; overflow-wrap: anywhere; }
.score-match-group > header small { margin-inline-start: auto; color: var(--muted); font-size: 11px; white-space: nowrap; }
.score-league-logo { width: 21px; height: 21px; flex-shrink: 0; object-fit: contain; border-radius: 4px; }
.score-match-group .score-league-logo.placeholder { font-size: 10px; }
.score-match-group .match-row { grid-template-columns: 5.4rem minmax(0, 1fr) 5.4rem 16px; }
.score-match-group .match-meta { font-variant-numeric: tabular-nums; }
.score-match-group .match-state { justify-items: end; }
.score-match-group .match-state .badge { max-width: 100%; white-space: normal; text-align: end; }
.score-match-group .match-teams .team-mark { flex: none; }
.score-match-group .score { font-size: 18px; }
.score-compact .score-match-group .match-row { padding-block: 7px; }
.score-compact .score-match-group .match-facts { font-size: 11px; margin-top: 2px; }
.score-compact .score-match-group .match-period-table,
.score-full .score-match-group .score-basketball-summary { display: none; }
.score-compact .score-match-group .team-mark { width: 21px; height: 21px; }
.score-football-details {
  margin-top: 7px;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.score-football-details .match-facts { margin: 0; }
.database-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.database-search-panel > .filter-bar { margin-top: 8px; }
.database-primary-search { margin-bottom: 12px; }
.database-advanced { padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; }
.database-advanced > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 41px;
  cursor: pointer;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
}
.database-advanced > summary::-webkit-details-marker { display: none; }
.database-advanced > summary > span { display: flex; align-items: center; gap: 8px; }
.database-advanced[open] > summary > .icon { transform: rotate(90deg); }
.database-advanced .filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  margin: 0;
  padding: 4px 0 12px;
  border: 0;
  background: transparent;
}
.database-advanced .filter-bar label { min-width: 0; }
.database-advanced .filter-bar :is(input[type="date"], select) { min-width: 0; height: 42px; }
.database-search-panel .database-result-tabs { margin-bottom: 12px; }
.intelligence-directory { display: grid; gap: 12px; }
.intelligence-directory-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; }
.intelligence-directory-tools nav { display: flex; flex-wrap: wrap; gap: 6px; }
.intelligence-directory-tools .button { min-height: 35px; padding: 5px 9px; }
.intelligence-directory-tools .button[aria-current="date"] { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.intelligence-directory-tools > span { color: var(--muted); font-size: 12px; }
.intelligence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.intelligence-preview { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.intelligence-preview:hover { border-color: var(--accent); }
.intelligence-preview :is(header, footer) { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 5px 8px; }
.intelligence-preview header small { display: block; }
.intelligence-preview :is(header, footer) small { color: var(--muted); }
.intelligence-preview .team-mark { width: 30px; height: 30px; }
.intelligence-preview .score { font-size: 20px; }
.intelligence-preview ul { display: grid; align-content: start; gap: 6px; margin: 0; padding: 9px; list-style: none; background: var(--bg); border-radius: 8px; }
.intelligence-preview li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 7px; font-size: 13px; }
.intelligence-preview li p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.intelligence-preview footer span { display: inline-flex; gap: 6px; align-items: center; color: var(--accent); font-weight: 700; font-size: 13px; }
.intelligence-preview footer .icon { width: 15px; height: 15px; }
@media (max-width: 850px) {
  .intelligence-grid { grid-template-columns: minmax(0, 1fr); }
}
.database-result-tabs small { margin-inline-start: 4px; color: var(--muted); font-variant-numeric: tabular-nums; }
.database-results-heading, .database-result-group > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.database-results-heading { margin: 9px 0; }
.database-results-heading h2 { font-size: 20px; }
.database-results-heading small { color: var(--muted); }
.database-result-group { margin-top: 14px; }
.database-result-group > header { padding: 7px 10px; border-radius: 8px; background: var(--soft); }
.database-result-group > header :is(h2, h3) { font-size: 15px; }
.database-result-group .match-row { padding-inline: 8px; }
.archive-shell { padding: 0; }
.archive-masthead { padding: 13px 20px 17px; border-radius: inherit; border-end-start-radius: 0; border-end-end-radius: 0; background: linear-gradient(115deg, var(--soft), var(--surface) 82%); }
.archive-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.archive-crumb .icon { width: 14px; height: 14px; }
.archive-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.archive-title { min-width: 0; overflow-wrap: anywhere; }
.archive-title h1 { margin: 3px 0 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.18; }
.archive-title p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.archive-title .badge { padding: 1px 7px; font-size: 11px; }
.archive-mark { flex: none; width: 64px; height: 64px; padding: 7px; border: 1px solid var(--line); border-radius: 15px; background: #fff; object-fit: contain; }
.archive-mark.placeholder { background: var(--soft); }
.archive-match-marks { display: flex; flex: none; align-items: center; }
.archive-match-marks .archive-mark { width: 49px; height: 49px; }
.archive-match-marks .archive-mark + .archive-mark { margin-inline-start: -8px; }
.archive-shell .archive-tabs { flex-wrap: wrap; overflow: visible; border-inline: 0; border-radius: 0; margin: 0; padding: 6px 16px; }
.archive-section-body { padding: 14px 20px 20px; min-width: 0; }
.archive-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; }
.archive-toolbar .filter-bar { flex: 0 1 auto; flex-wrap: nowrap; gap: 8px; max-width: 100%; margin: 0; padding: 8px 10px; background: var(--bg); }
.archive-toolbar .filter-bar label { flex: 1 1 8rem; min-width: min(7rem, 100%); max-width: 14rem; }
.archive-toolbar .filter-bar :is(input, select) { background-color: var(--surface); }
.archive-toolbar .filter-bar button { flex: none; white-space: nowrap; }
.archive-toolbar :is(.inline-actions, .archive-board-tabs) { margin: 0; }
.archive-toolbar .archive-board-tabs { padding: 4px; }
.archive-shell .database-result-group > header { margin-bottom: 8px; }
.archive-shell .empty { min-height: 110px; padding: 15px; border: 1px dashed var(--line); border-radius: 10px; background: var(--bg); }
.archive-season-groups, .archive-rank-groups { display: grid; gap: 14px; min-width: 0; }
.archive-season-group { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.archive-season-group header, .archive-elo header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 14px; margin-bottom: 10px; }
.archive-season-group h3, .archive-rank-group h2, .archive-elo h2 { margin: 0; font-size: 16px; }
.archive-season-group header p, .archive-season-group header small, .archive-elo header p, .archive-elo-value small { margin: 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.archive-season-group header a { font-size: inherit; }
.archive-stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); gap: 8px; }
.archive-stat { display: grid; align-content: start; gap: 2px; min-width: 0; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow-wrap: anywhere; }
.archive-stat dt { color: var(--muted); font-size: 13px; }
.archive-stat dd { margin: 0; }
.archive-stat strong { color: var(--accent); font-size: clamp(19px, 2vw, 25px); line-height: 1.25; font-variant-numeric: tabular-nums; }
.archive-season-more { margin-top: 10px; }
.archive-season-more summary { width: fit-content; margin-bottom: 8px; color: var(--accent); cursor: pointer; font-weight: 700; }
.archive-stat-source { color: var(--muted); font-size: 11px; }
.basketball-season-summary, .basketball-season-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}
.basketball-season-summary > div, .basketball-season-details > div {
  min-width: 0;
  padding: 9px 12px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}
.basketball-season-summary dt, .basketball-season-details dt { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.basketball-season-summary dd, .basketball-season-details dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.basketball-season-summary dd { color: var(--accent); font-size: 20px; }
.basketball-season-more { margin-top: 8px; }
.basketball-season-more summary { width: fit-content; padding: 5px 0; cursor: pointer; color: var(--accent); font-size: 13px; font-weight: 650; }
.basketball-season-more .basketball-season-details { margin-top: 6px; }
.basketball-archive-scroll-hint { display: none; }
.archive-table .basketball-archive-table { table-layout: auto; white-space: nowrap; }
.archive-table .basketball-archive-table tr > :nth-child(2) { text-align: center; }
.basketball-archive-table tr > :first-child { min-width: 9rem; text-align: start; white-space: normal; }
.basketball-archive-table tbody small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.basketball-archive-games .archive-game-title { max-width: 20rem; padding: 0; }
.basketball-archive-games .archive-game-team { display: flex; align-items: center; text-align: end; justify-content: end; }
.basketball-archive-games .archive-game-team:last-child { flex-direction: row-reverse; text-align: start; }
.basketball-archive-games .archive-game-mark { width: 23px; height: 23px; }
.basketball-archive-games .archive-game-title strong { font-size: 14px; }
@media (max-width: 720px) {
  .basketball-season-summary, .basketball-season-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .basketball-archive-scroll-hint { display: block; }
  .basketball-archive-games .archive-game-title { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 5px; }
  .basketball-archive-games .archive-game-title strong { grid-area: 1 / 2 / span 2; }
  .basketball-archive-games .archive-game-team { justify-content: start; text-align: start; }
  .basketball-archive-games .archive-game-mark { display: none; }
}
.archive-table { position: relative; border: 1px solid var(--line); border-radius: 10px; }
.archive-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.archive-table table { white-space: normal; font-variant-numeric: tabular-nums; }
.archive-table :is(th, td) { padding: 7px 10px; vertical-align: middle; text-align: center; }
.archive-table tbody tr:nth-child(even) { background: var(--bg); }
.archive-table tbody tr:hover { background: var(--soft); }
.archive-table tbody th { color: var(--text); background: transparent; }
.archive-table tr > :nth-child(2), .archive-player-ranks tr > :nth-child(3) { text-align: start; overflow-wrap: anywhere; }
.archive-table tbody tr:last-child > * { border-bottom: 0; }
.archive-standings td:last-child, .archive-season-board .archive-board-value { color: var(--accent); font-weight: 800; }
.archive-season-board th[aria-sort] { color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, var(--soft)); }
.archive-team-link { display: flex; align-items: center; gap: 7px; width: fit-content; color: var(--accent); }
.archive-team-mark { flex: none; width: 24px; height: 24px; object-fit: contain; font-size: 11px; }
.archive-team-link:hover { text-decoration: underline; }
.archive-column-short { display: none; }
.archive-cards { display: grid; gap: 9px; }
.archive-cards--grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.archive-cards .sports-archive-card { min-width: 0; padding: 12px; overflow-wrap: anywhere; }
.archive-cards--grid .sports-archive-card { display: flex; flex-direction: column; }
.archive-cards--grid .sports-archive-card dl { margin-top: auto; padding-top: 6px; }
.archive-cards .sports-archive-card h3 { font-size: 16px; line-height: 1.35; }
.archive-cards .sports-archive-card h3 a { color: var(--accent); }
.archive-cards .sports-archive-card h3 a:hover { text-decoration: underline; }
.archive-cards .sports-archive-card dl { grid-template-columns: repeat(auto-fit, minmax(min(100%, 5rem), 1fr)); }
.archive-cards .sports-archive-card dl > div { background: var(--bg); }
.archive-cards--schedule .sports-archive-card dl { display: flex; flex-wrap: wrap; gap: 4px; }
.archive-cards--schedule .sports-archive-card dl > div { display: flex; align-items: baseline; gap: 5px; padding: 2px 6px; }
.archive-cards--schedule .sports-archive-card dd { margin: 0; font-size: 12px; }
.archive-rank-group { min-width: 0; }
.archive-rank-group h2 { margin-bottom: 7px; }
.archive-rank-scroll { overflow-x: auto; }
.archive-table .archive-detail-ranks { table-layout: auto; }
.archive-detail-ranks th { white-space: nowrap; }
.archive-detail-ranks th:first-child { width: 2.5rem; }
.archive-detail-ranks :is(th, td):nth-child(2) { min-width: 8rem; }
.archive-detail-ranks th[scope="row"] { white-space: normal; }
.archive-detail-ranks td { white-space: nowrap; }
.archive-rank-key { color: var(--accent); font-weight: 800; }
.archive-scroll-hint { display: none; margin: -2px 0 6px; color: var(--muted); font-size: 12px; }
.archive-cards .archive-team-title,
.archive-cards .archive-team-title a { display: flex; align-items: center; gap: 8px; }
.archive-game-title { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 5px; padding-block: 4px; }
.archive-game-title strong { color: var(--accent); font-size: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.archive-game-team { display: grid; justify-items: center; align-content: center; gap: 5px; min-width: 0; text-align: center; font-size: 13px; overflow-wrap: anywhere; }
.archive-game-mark { flex: none; width: 30px; height: 30px; padding: 2px; border-radius: 7px; background: #fff; object-fit: contain; font-size: 13px; }
.archive-game-mark.placeholder { background: var(--soft); }
.archive-elo { display: grid; gap: 8px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.archive-elo header { margin: 0; }
.archive-elo-value { display: grid; justify-items: end; gap: 1px; }
.archive-elo-value strong { color: var(--accent); font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums; }
.archive-elo svg { display: block; width: 100%; height: clamp(90px, 17vw, 150px); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.archive-elo svg :is(path, polyline) { fill: none; vector-effect: non-scaling-stroke; }
.archive-elo-guides { stroke: var(--line); }
.archive-elo svg polyline { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.archive-elo svg circle { fill: var(--accent); }
.archive-elo-range { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; color: var(--muted); font-size: 12px; }
.archive-elo .archive-table { background: var(--surface); }
.archive-elo-table tr > :nth-child(2) { text-align: end; }
@media (max-width: 900px) {
  .archive-scroll-hint { display: block; }
}
@media (max-width: 620px) {
  .archive-masthead { padding: 10px 12px 14px; }
  .archive-crumb { margin-bottom: 6px; }
  .archive-identity { gap: 10px; }
  .archive-mark { width: 48px; height: 48px; padding: 5px; border-radius: 11px; }
  .archive-match-marks .archive-mark { width: 36px; height: 36px; }
  .archive-shell .archive-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)); gap: 4px; padding: 6px 9px; }
  .archive-shell .archive-tabs a { display: grid; place-items: center; min-height: 36px; padding: 4px; font-size: 12px; text-align: center; white-space: normal; overflow-wrap: anywhere; }
  .archive-section-body { padding-inline: 12px; }
  .archive-toolbar .filter-bar { flex-wrap: wrap; width: 100%; padding: 7px; }
  .archive-toolbar .filter-bar label { flex-basis: 5.5rem; min-width: min(5.5rem, 100%); max-width: none; }
  .archive-toolbar .filter-bar :is(input, select) { padding-inline-start: 7px; font-size: 13px; }
  .archive-toolbar .filter-bar input { padding-inline-end: 7px; }
  .archive-toolbar .filter-bar select { --select-arrow-inset: 6px; --select-end-padding: 24px; }
  .archive-toolbar .filter-bar button { margin-inline-start: auto; padding-inline: 8px; }
  .archive-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-table table { table-layout: fixed; }
  .archive-table :is(th, td) { padding: 7px 3px; font-size: 12px; }
  .archive-table .text-link { font-size: inherit; }
  .archive-standings thead th:not(:nth-child(2)) { width: 2rem; }
  .archive-standings thead th:first-child, .archive-player-ranks thead th:first-child { width: 2.25rem; }
  .archive-standings--basketball thead th:last-child { width: 4.25rem; }
  .archive-season-board thead th:first-child, .archive-season-board thead th:nth-child(n+3) { width: 2.55rem; }
  .archive-player-ranks thead th:nth-child(3) { width: auto; }
  .archive-team-link { gap: 4px; }
  .archive-team-mark { width: 18px; height: 18px; }
  .archive-detail-ranks tr > :first-child { position: sticky; inset-inline-start: 0; z-index: 1; width: 2.25rem; min-width: 2.25rem; }
  .archive-detail-ranks tr > :nth-child(2) { position: sticky; inset-inline-start: 2.25rem; z-index: 1; min-width: 6.5rem; max-width: 8rem; border-inline-end: 1px solid var(--line); }
  .archive-detail-ranks thead tr > :nth-child(-n+2) { background: var(--soft); }
  .archive-detail-ranks tbody tr > :nth-child(-n+2) { background: var(--surface); }
  .archive-detail-ranks tbody tr:nth-child(even) > :nth-child(-n+2) { background: var(--bg); }
  .archive-column-label { display: none; }
  .archive-column-short { display: inline; }
}
@media (max-width: 800px) {
  .score-centre-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .score-centre-rail { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 6px 8px; align-items: start; padding: 8px; margin-bottom: 0; }
  .score-centre-rail h2 { display: none; }
  .score-league-shortcuts { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: thin; gap: 4px; margin-bottom: 0; }
  .score-league-shortcuts .button { white-space: nowrap; }
  .score-centre-rail .score-filter-details[open] { grid-column: 1 / -1; }
  .score-centre-rail .score-league-options { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); }
}
@media (max-width: 620px) {
  .score-centre-heading { margin-bottom: 10px; }
  .score-centre-heading .score-views { gap: 3px; padding: 4px; }
  .score-centre-heading .score-views a { padding-inline: 7px; font-size: 12px; }
  .score-centre-toolbar { gap: 6px 10px; }
  .score-centre-toolbar .score-sports { flex-basis: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; padding: 4px; }
  .score-centre-toolbar .score-sports a { padding: 6px 3px; text-align: center; white-space: normal; font-size: 12px; }
  .score-centre-search { flex-basis: 8rem; }
  .score-centre-main .score-dates { gap: 4px; }
  .score-centre-main .score-dates a { padding-inline: 1px; }
  .score-centre-main .score-dates b { font-size: clamp(10px, 3.1vw, 13px); }
  .score-centre-main .score-dates small { font-size: clamp(9px, 2.7vw, 11px); }
  .score-centre-list { padding: 8px; }
  .score-centre-controls .tabs { justify-content: space-between; gap: 3px; padding: 4px; }
  .score-centre-controls .tabs a { padding: 6px 4px; font-size: 12px; }
  .score-centre-list > .score-quick-filters { flex-wrap: wrap; overflow: visible; gap: 5px; }
  .score-centre-list > .score-quick-filters .button { min-height: 33px; padding: 4px 8px; }
  .score-match-group .match-row { grid-template-columns: minmax(0, 1fr) auto; padding-inline: 9px; }
  .score-match-group .match-state { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 3px 6px; }
  .database-heading { flex-wrap: wrap; padding-bottom: 10px; }
  .database-heading .page-title { padding-bottom: 0; }
  .database-advanced .filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .database-advanced .filter-bar > .button { grid-column: 1 / -1; }
  .database-result-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 4px; }
  .database-result-tabs a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3px; min-height: 36px; padding: 4px 2px; white-space: normal; font-size: 12px; text-align: center; }
  .database-result-tabs small { margin: 0; }
}
@media (max-width: 360px) {
  .score-centre-controls { grid-template-columns: minmax(0, 1fr); }
}

/* Member centre, sign-in and App download */
.member-shell {
  display: grid;
  grid-template-columns: minmax(210px, 244px) minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  align-items: start;
}
.member-sidebar {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.member-identity { display: flex; align-items: center; gap: 11px; min-width: 0; padding-bottom: 16px; }
.member-identity .profile-image { width: 52px; height: 52px; flex: 0 0 52px; }
.member-identity-name { display: flex; align-items: center; flex-wrap: wrap; min-width: 0; gap: 5px; }
.member-identity strong { font-size: 17px; overflow-wrap: anywhere; }
.member-navigation { display: grid; gap: 16px; padding-block: 16px; border-block: 1px solid var(--line); }
.member-nav-group h2 { margin-bottom: 5px; color: var(--muted); font-size: 12px; letter-spacing: .025em; }
.member-nav-group > div { display: grid; gap: 3px; }
.member-nav-group a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 7px 10px; border-radius: 8px; font-size: 13px; font-weight: 650; }
.member-nav-group a[aria-current="page"], .member-nav-group a:hover { color: var(--accent); background: var(--soft); }
.notification-count {
  flex: none;
  min-width: 18px;
  padding: 0 4px;
  margin-inline-start: auto;
  border-radius: 999px;
  background: var(--warning);
  color: var(--surface);
  font-size: 11px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 18px;
  text-align: center;
  white-space: nowrap;
}
.member-workspace .notification-title { display: flex; align-items: flex-start; gap: 6px; }
.notification-unread-dot { flex: 0 0 7px; height: 7px; margin-top: .53em; border-radius: 50%; background: var(--warning); }
.member-sidebar-actions { display: flex; gap: 7px; flex-wrap: wrap; padding-top: 14px; }
.member-sidebar-actions .button { flex: 1 0 auto; padding-inline: 9px; }
.member-workspace { min-width: 0; }
.member-workspace > .page-title { padding-top: 0; }
.member-workspace .stack-form .section-note { margin-bottom: 0; }
.member-workspace .stack-form .form-error:empty { display: none; }
.member-workspace .member-row { flex-wrap: wrap; gap: 8px 12px; }
.member-workspace .member-row > span { flex: 1 1 15ch; min-width: 0; }
.member-row > strong { color: var(--accent); font-size: 13px; font-variant-numeric: tabular-nums; }
.member-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-inline-start: auto; }
.member-row-actions .button { min-height: 36px; padding-inline: 10px; }
.member-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.member-profile-grid > .panel { margin: 0; }
.member-profile-phone, .member-avatar-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--soft);
}
.member-profile-phone { justify-content: space-between; }
.member-profile-phone span { color: var(--muted); font-size: 13px; }
.member-profile-phone b { color: var(--accent); font-size: 14px; font-variant-numeric: tabular-nums; }
.member-avatar-preview .profile-image { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; font-size: 19px; }
.member-avatar-preview strong { flex: 1 1 13ch; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 741px) {
  .member-security-form { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
  .member-security-form > :not(label) { grid-column: 1 / -1; }
}
.member-summary {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 16px 22px;
  margin-bottom: 18px;
  padding: clamp(17px, 2.4vw, 26px);
  border-radius: 16px;
  color: #f2faed;
  background: linear-gradient(120deg, #234833, #326048);
}
.member-summary .eyebrow { color: #c9dfc5; }
.member-summary-heading h2 { font-size: clamp(19px, 2.2vw, 27px); }
.member-summary dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.member-summary dl > div { padding-left: 13px; border-left: 1px solid #d9f1ca44; }
.member-summary dt { color: #d7e7d3; font-size: 12px; }
.member-summary dd { margin-top: 4px; font-size: clamp(16px, 2vw, 24px); font-weight: 760; overflow-wrap: anywhere; }

.auth-card .auth-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; align-items: stretch; padding: 4px; margin-bottom: 14px; background: var(--bg); }
.auth-modes a { display: grid; align-content: center; min-height: 40px; padding: 5px; text-align: center; white-space: normal; line-height: 1.3; }
.auth-modes a[aria-current="page"] { background: var(--surface); box-shadow: 0 1px 3px #0002; }
.auth-card .stack-form { gap: 10px; }
.auth-card .stack-form input:not([type="checkbox"]) { min-height: 44px; }
.auth-card .stack-form .section-note { margin-bottom: 0; }
.auth-code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: end; }
.auth-code-row .button { min-height: 44px; }
.auth-card .stack-form > .button.primary { width: 100%; }
.auth-agreement { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; padding-block: 3px; }
.auth-agreement input[type="checkbox"] { width: 18px; min-height: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.auth-agreement > span { margin: 0; font-size: 13px; font-weight: 400; line-height: 1.45; }
.auth-agreement a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.auth-form-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 8px 2px; color: var(--accent); font-size: 13px; font-weight: 650; }
.auth-form-link:hover { text-decoration: underline; }
.auth-card .sms-status:empty, .auth-card .form-error:empty { display: none; }
.auth-qr-steps { display: grid; gap: 8px; margin: 10px 0 14px; padding: 0; color: var(--muted); font-size: 13px; list-style: none; counter-reset: auth-qr-step; }
.auth-qr-steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 7px; align-items: start; counter-increment: auth-qr-step; }
.auth-qr-steps li::before { content: counter(auth-qr-step); display: grid; place-items: center; min-height: 22px; border-radius: 50%; background: var(--surface); color: var(--accent); font-weight: 700; }

@media (max-width: 740px) {
  .auth-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "card" "brand"; max-width: 540px; margin-block: 0; }
  .auth-card { padding: 16px; border-radius: 14px; }
  .auth-card .stack-form input:not([type="checkbox"]), .member-workspace :is(input, select, textarea) { font-size: 16px; }
  .auth-brand {
    grid-template: auto / minmax(0, 1fr) minmax(64px, 88px);
    gap: 10px;
    align-items: center;
    min-height: 0;
    padding: 11px 16px;
    border-radius: 14px;
  }
  .auth-brand img { width: 100%; align-self: center; }
  .auth-slogan { margin-top: 4px; font-size: clamp(18px, 4.8vw, 24px); }
}

.download-page { display: grid; gap: clamp(14px, 2vw, 22px); }
.download-page > .panel { margin: 0; }
.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr);
  align-items: center;
  gap: 22px;
  overflow: hidden;
  padding: clamp(20px, 3vw, 36px);
  border-radius: 21px;
  color: #f1f9ec;
  background: radial-gradient(ellipse at 81% 70%, #426d4f, #1d3d2e 77%);
}
.download-hero .page-title h1 { color: inherit; font-size: clamp(28px, 3.6vw, 40px); white-space: pre-line; }
.download-hero .page-title .eyebrow, .download-hero .page-title p { color: #d9ead7; }
.download-platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: min(100%, 335px); }
.download-platforms > div { min-width: 0; padding: 8px 11px; border: 1px solid #d0e7c948; border-radius: 9px; background: #ffffff0c; }
.download-platforms dt { font-size: 13px; font-weight: 700; }
.download-platforms dd { margin-top: 2px; color: #d9ead7; font-size: 12px; overflow-wrap: anywhere; }
.download-actions { margin: 12px 0 0; }
.download-hero .button.primary { border-color: #dcf4ce; color: #234131; background: #dcf4ce; }
.download-hero .button:not(.primary) { border-color: #d0e7c948; color: inherit; background: #ffffff14; }
.download-devices { display: grid; grid-template-columns: 1fr 1fr; align-items: end; justify-items: center; margin: 0; isolation: isolate; }
.download-devices img, .download-feature img { display: block; width: 100%; height: auto; border-radius: 18px; }
.download-devices img { max-width: 160px; border: 5px solid #132b20; box-shadow: 0 14px 32px #132b2090; }
.download-device-back { transform: translate(18%, -4%) rotate(-8deg); }
.download-device-front { transform: translateX(-10%) rotate(7deg); }
.download-devices figcaption, .download-feature figcaption { grid-column: 1 / -1; padding-top: 12px; color: var(--muted); text-align: center; font-size: 12px; }
.download-devices figcaption { color: #d9ead7; }
.download-feature-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.download-feature-nav .button { min-width: 0; padding-inline: 6px; }
.download-feature-nav button[aria-pressed="true"] { color: var(--on-accent); border-color: var(--accent); background: var(--accent); }
.download-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(135px, 34%);
  align-items: center;
  gap: clamp(20px, 6vw, 70px);
  padding: clamp(15px, 3vw, 30px);
  border-radius: 14px;
  background: var(--soft);
}
.download-feature figure { width: min(100%, 178px); margin: 0 auto; }
.download-feature img { border: 4px solid #213e30; box-shadow: var(--shadow); }
.download-feature h3 { margin-block: 7px 12px; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; }
.download-feature p { max-width: 40ch; margin-bottom: 15px; color: var(--muted); }
.about-page { display: grid; max-width: 1080px; margin-inline: auto; gap: 16px; }
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(110deg, var(--surface), var(--soft));
}
.about-intro .page-title { padding: 0 0 9px; }
.about-intro p { max-width: 56ch; color: var(--muted); }
.about-intro img { width: min(100%, 240px); height: auto; justify-self: end; }
.about-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.about-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.about-link:hover { border-color: var(--accent); }
.about-link small { display: block; color: var(--muted); font-size: 12px; }
.about-link > .icon { width: 15px; height: 15px; color: var(--accent); }
.about-link-icon { background: var(--soft); }

@media (max-width: 860px) {
  .member-shell { grid-template-columns: minmax(0, 1fr); }
  .member-sidebar { padding: 13px; }
  .member-identity { padding-bottom: 10px; }
  .member-identity .profile-image { width: 42px; height: 42px; flex-basis: 42px; }
  .member-navigation { grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); gap: 4px; padding-block: 8px; }
  .member-nav-group, .member-nav-group > div { display: contents; }
  .member-nav-group h2 { display: none; }
  .member-nav-group a { flex-direction: column; justify-content: center; gap: 4px; min-height: 52px; padding: 4px; font-size: 11px; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
  .member-nav-group a:has(.notification-count) { position: relative; }
  .member-nav-group .notification-count { position: absolute; top: 3px; inset-inline-end: max(0px, calc(50% - 32px)); margin: 0; }
  .member-sidebar-actions { padding-top: 8px; }
  .member-sidebar-actions .button { flex: 0 0 auto; }
}
@media (max-width: 700px) {
  .download-hero { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .download-hero .page-title { padding-top: 0; padding-bottom: 12px; }
  .download-devices { width: min(67%, 250px); margin: auto; }
  .about-links { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .member-summary, .download-feature { grid-template-columns: minmax(0, 1fr); }
  .member-profile-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 10px; }
  .member-workspace .member-row:has(.member-row-actions > :nth-child(2)) > span { flex-basis: 100%; }
  .member-summary dl { gap: 9px; }
  .member-summary dl > div { padding-left: 8px; }
  .download-feature { gap: 14px; }
  .download-feature figure { width: min(100%, 140px); }
  .download-feature-nav { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .download-feature-nav .button { grid-column: span 2; }
  .download-feature-nav .button:nth-child(n + 4) { grid-column: span 3; }
  .download-actions { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 6px; }
  .download-actions .button { min-width: 0; padding-inline: 6px; font-size: 12px; }
  .download-actions .button:only-child { grid-column: 1 / -1; }
  .about-intro { display: block; }
  .about-intro img { display: none; }
}
.score-views { margin-bottom: 12px; }
.followed-score-row { display: flex; align-items: center; gap: 12px; padding-block: 5px; }
.followed-score-row > :first-child { flex: 1; min-width: 0; }
.followed-score-row > .button { flex-shrink: 0; }
.followed-match-unavailable { display: grid; gap: 4px; padding: 12px; }
.followed-match-unavailable small { color: var(--muted); }
.score-alerts { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.score-alerts summary { cursor: pointer; font-weight: 650; }
.score-alert-options { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.score-alert-options label { display: inline-flex; align-items: center; gap: 6px; }
.score-alert-feed:empty { display: none; }
.score-alert-feed ul { margin: 10px 0; padding: 9px 12px 9px 32px; border-radius: 8px; background: var(--soft); }
@media (max-width: 600px) {
  .followed-score-row { align-items: stretch; flex-direction: column; gap: 4px; }
  .followed-score-row > .button { align-self: flex-end; }
}
