:root {
  font-family: "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  --bg: #edf3f6;
  --surface: #fff;
  --ink: #102639;
  --muted: #495f70;
  --line: #d4e0e6;
  --accent: #066b65;
  --mast: #102a3d;
  --mast-ink: #f5fbfd;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
[hidden] { display: none !important; }
a { color: inherit; }
button, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #4b9cf5; outline-offset: 3px; }
.frame { width: min(1184px, calc(100% - 88px)); margin-inline: auto; }
.design-bar { background: #f8fafb; color: #344655; border-bottom: 1px solid #d9e1e5; }
.design-inner {
  width: min(1184px, calc(100% - 88px)); margin: auto; min-height: 50px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.demo-label { font-size: .75rem; font-weight: 750; letter-spacing: .09em; }
.demo-label span { margin-inline: .25em; }
.design-inner nav { display: flex; gap: 4px; }
.design-inner a {
  font-size: .875rem; font-weight: 650; padding: 6px 13px;
  text-decoration: none; border-radius: 5px;
}
.design-inner a:hover { background: #e9eef0; }
.design-inner a[aria-current] { background: #182b37; color: #fff; }
.site { min-height: calc(100vh - 50px); display: flex; flex-direction: column; }
.site main { flex: 1; }
.masthead {
  position: relative; min-height: 71px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; color: var(--mast-ink);
  isolation: isolate;
}
.masthead::before {
  content: ""; position: absolute; inset: 0;
  z-index: -1; background: var(--mast); box-shadow: 0 0 0 100vmax var(--mast);
  clip-path: inset(0 -100vmax);
}
.site { overflow-x: clip; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.23rem; font-weight: 760; letter-spacing: -.04em; white-space: nowrap; }
.brand-second { margin-left: .16em; }
.brand-mark { width: 32px; height: 30px; display: inline-flex; justify-content: center; align-items: flex-end; gap: 3px; padding: 6px; border-radius: 6px; background: #137f77; }
.brand-mark i, .pitch-signal i { width: 4px; height: 40%; background: currentColor; border-radius: 1px; }
.brand-mark i:nth-child(2), .pitch-signal i:nth-child(2) { height: 69%; }
.brand-mark i:nth-child(3), .pitch-signal i:nth-child(3) { height: 100%; }
.main-nav { display: flex; align-self: stretch; gap: 28px; }
.main-nav button { padding: 4px 2px 0; color: inherit; background: none; border: 0; border-bottom: 3px solid transparent; font-size: .925rem; font-weight: 650; }
.main-nav button:hover, .main-nav button[aria-current] { border-bottom-color: #69d7c5; }
.sport-label { font-size: .75rem; letter-spacing: .14em; font-weight: 700; }
.hero { position: relative; padding: 49px 0 31px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: .875rem; font-weight: 750; }
.date-mark { display: inline-block; width: 10px; height: 10px; border: 2px solid currentColor; border-radius: 2px; margin-right: 5px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 13px; font-size: clamp(3rem, 6vw, 5.1rem); line-height: 1; letter-spacing: -.065em; }
h1 em { color: var(--accent); font-style: normal; }
.intro { max-width: 42rem; margin: 0; color: var(--muted); line-height: 1.55; font-size: 1.0625rem; }
.hero-art { display: none; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 31px; }
.metrics > div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 19px 17px; }
.metrics dt { font-weight: 675; font-size: .9rem; color: var(--muted); }
.metrics dd { font-size: 2.03rem; line-height: 1.18; margin: 2px 0 3px; font-weight: 750; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.metrics dd small { font-size: .95rem; letter-spacing: 0; }
.metrics div > span { color: var(--muted); font-size: .8125rem; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 23px; align-items: start; margin-bottom: 37px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-bottom: 13px; }
.section-kicker { font-size: .75rem; letter-spacing: .115em; margin-bottom: 5px; }
h2 { line-height: 1.14; letter-spacing: -.035em; margin-bottom: 0; font-size: 1.75rem; }
.filter { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 650; color: var(--muted); }
.filter select { appearance: none; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 8px 28px 8px 10px; width: 158px; cursor: pointer; }
.filter { position: relative; }
.filter::after, .chevron { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.filter::after { position: absolute; right: 12px; pointer-events: none; }
.match-list { display: grid; gap: 8px; }
.match { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.match summary {
  display: grid; grid-template-columns: 39px minmax(0, 1fr) 60px 68px 10px;
  align-items: center; gap: 14px; padding: 11px 15px; list-style: none; cursor: pointer;
}
.match summary:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.match summary::-webkit-details-marker { display: none; }
.match-badge { width: 39px; height: 39px; border-radius: 9px; display: grid; place-items: center; background: var(--badge-color); color: #fff; font-weight: 780; font-size: .75rem; }
.fixture, .match-number { display: grid; gap: 2px; }
.fixture strong { font-size: 1.03rem; }
.fixture-meta, .market { font-size: .8125rem; color: var(--muted); }
.match-number { text-align: right; }
.match-number > span { color: var(--muted); font-size: .8125rem; }
.match-number > strong { font-size: 1.19rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price strong { color: var(--accent); }
.match-number small { font-size: .75rem; }
.chevron { justify-self: end; color: var(--muted); margin-top: -3px; }
.match[open] .chevron { transform: rotate(225deg); margin-top: 3px; }
.match-detail { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 12px 15px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.match-detail strong { color: var(--ink); }
.sidebar { border: 1px solid var(--line); border-radius: 10px; padding: 21px; background: var(--surface); }
.sidebar h2 { font-size: 1.37rem; }
.sidebar-list { margin: 12px 0; }
.sidebar-list div, .history-list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.sidebar-list span, .sidebar-note { color: var(--muted); font-size: .875rem; }
.sidebar-note { margin: 12px 0 10px; line-height: 1.45; }
.text-button { border: 0; padding: 2px 0; background: none; color: var(--accent); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; font-size: .875rem; }
.site-footer { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding: 16px 0 23px; color: var(--muted); font-size: .8125rem; }
.secondary { padding: 55px 0 65px; }
.history-list, .method-grid { margin-top: 25px; }
.history-list { max-width: 720px; }
.history-list div { padding: 15px 0; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.method-grid article { border: 1px solid var(--line); background: var(--surface); padding: 19px; border-radius: 8px; }
.method-grid h2 { font-size: 1.3rem; margin-bottom: 9px; }
.method-grid p { margin-bottom: 0; color: var(--muted); line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

[data-design="terminal"] {
  --bg: #101719; --surface: #161f22; --ink: #edf3eb; --muted: #a9b9b6;
  --line: #314144; --accent: #b4ef80; --mast: #101719; --mast-ink: #edf3eb;
  color-scheme: dark; font-family: "Consolas", "Courier New", monospace;
}
[data-design="terminal"] .masthead { border-bottom: 1px solid var(--line); min-height: 62px; }
[data-design="terminal"] .brand-mark { background: var(--accent); color: #152217; border-radius: 0; }
[data-design="terminal"] .main-nav button { border-bottom-width: 2px; }
[data-design="terminal"] .main-nav button[aria-current],
[data-design="terminal"] .main-nav button:hover { border-color: var(--accent); }
[data-design="terminal"] .sport-label { color: var(--accent); }
[data-design="terminal"] .hero { padding: 36px 0 25px; }
[data-design="terminal"] h1 { font-size: clamp(2rem, 6.7vw, 4.65rem); letter-spacing: -.085em; }
[data-design="terminal"] .eyebrow { text-transform: uppercase; }
[data-design="terminal"] .metrics { gap: 0; border: 1px solid var(--line); margin-bottom: 29px; }
[data-design="terminal"] .metrics > div { border: 0; border-radius: 0; }
[data-design="terminal"] .metrics > div + div { border-left: 1px solid var(--line); }
[data-design="terminal"] .metrics dd { color: var(--accent); }
[data-design="terminal"] .workspace { grid-template-columns: minmax(0, 1fr); }
[data-design="terminal"] .sidebar { display: grid; grid-template-columns: 1fr 2fr; align-items: start; gap: 0 20px; border-radius: 0; }
[data-design="terminal"] .sidebar h2 { grid-column: 1; }
[data-design="terminal"] .sidebar-list { grid-column: 2; grid-row: 1 / span 3; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
[data-design="terminal"] .sidebar-list div { display: grid; border: 0; padding: 0; }
[data-design="terminal"] .sidebar-list strong { font-size: 1.45rem; color: var(--accent); }
[data-design="terminal"] .sidebar-note { margin-bottom: 5px; }
[data-design="terminal"] .text-button { justify-self: start; }
[data-design="terminal"] .match-list { gap: 0; border: 1px solid var(--line); }
[data-design="terminal"] .match { border: 0; border-radius: 0; }
[data-design="terminal"] .match + .match { border-top: 1px solid var(--line); }
[data-design="terminal"] .match:nth-child(even) { background: #1a2527; }
[data-design="terminal"] .match summary { grid-template-columns: minmax(0, 1fr) 86px 90px 13px; }
[data-design="terminal"] .match-badge { display: none; }
[data-design="terminal"] .filter select, [data-design="terminal"] .method-grid article { border-radius: 0; }

[data-design="arena"] {
  --bg: #e7eee7; --line: #c6d5c9; --ink: #17382d; --muted: #405b50;
  --accent: #176149; --mast: #e7eee7; --mast-ink: #17382d;
  font-family: "Segoe UI", system-ui, sans-serif;
}
[data-design="arena"] .brand-mark { background: #245942; color: #e5f2a5; }
[data-design="arena"] .main-nav button[aria-current], [data-design="arena"] .main-nav button:hover { border-color: #2a694b; }
[data-design="arena"] .hero { padding: 33px 38px 35px; background: #123e32; color: #fcfff0; border-radius: 16px; overflow: hidden; margin: 7px 0 17px; }
[data-design="arena"] .hero h1 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.07em; }
[data-design="arena"] .hero h1 em { display: block; color: #e4f298; font-style: italic; padding-right: .13em; }
[data-design="arena"] .hero .eyebrow, [data-design="arena"] .hero .intro { color: #d2e6d7; }
[data-design="arena"] .hero .intro { max-width: 28rem; }
[data-design="arena"] .hero-art { display: block; position: absolute; inset: 0 0 0 52%; background: linear-gradient(104deg, #123e32 1%, #19533e 65%, #2b6043); }
.pitch { position: absolute; border: 1px solid #9fc49b; width: 75%; height: 74%; top: 13%; left: 15%; opacity: .68; transform: rotate(-12deg); }
.pitch .halfway, .pitch .centre, .pitch .box, .pitch .spot { position: absolute; }
.pitch .halfway { left: 50%; border-left: 1px solid #9fc49b; height: 100%; }
.pitch .centre { top: 50%; left: 50%; transform: translate(-50%, -50%); height: 42%; aspect-ratio: 1; border: 1px solid #9fc49b; border-radius: 50%; }
.pitch .box { top: 28%; height: 44%; width: 16%; border: 1px solid #9fc49b; }
.pitch .box.left { left: -1px; }
.pitch .box.right { right: -1px; }
.pitch .spot { top: 50%; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #e4f298; transform: translate(-50%, -50%); }
.pitch-signal { position: absolute; left: 64%; top: 14%; height: 19%; display: flex; gap: 6px; align-items: flex-end; color: #e4f298; }
.pitch-signal i { width: 6px; }
[data-design="arena"] .workspace { grid-template-columns: minmax(0, 1fr); gap: 14px; }
[data-design="arena"] .match-list { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px; }
[data-design="arena"] .match { border-radius: 13px; overflow: hidden; }
[data-design="arena"] .match summary { grid-template-columns: max-content 1fr 12px; gap: 10px; padding: 13px 16px; }
[data-design="arena"] .match-badge { grid-row: 1; grid-column: 1; }
[data-design="arena"] .fixture { grid-row: 1; grid-column: 2 / -1; }
[data-design="arena"] .match-number { text-align: left; grid-row: 2; }
[data-design="arena"] .sidebar { display: none; }

@media (max-width: 800px) {
  .frame, .design-inner { width: calc(100% - 36px); }
  .workspace { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .sidebar { max-width: 100%; }
  [data-design="arena"] .match-list { grid-template-columns: 1fr; }
  [data-design="arena"] .hero-art { inset-inline-start: 50%; opacity: .54; }
  [data-design="terminal"] .sidebar { grid-template-columns: 1fr; }
  [data-design="terminal"] .sidebar-list { grid-column: 1; grid-row: auto; margin-top: 12px; }
}
@media (max-width: 550px) {
  .frame, .design-inner { width: calc(100% - 28px); }
  .design-inner { min-height: 58px; gap: 8px; }
  .demo-label { max-width: 107px; line-height: 1.15; letter-spacing: .03em; }
  .demo-label span { display: none; }
  .design-inner a { padding: 6px 7px; }
  .masthead { min-height: 87px; flex-wrap: wrap; justify-content: flex-start; gap: 0; padding-top: 11px; }
  .brand { width: 100%; }
  .main-nav { gap: 22px; min-height: 39px; }
  .sport-label { display: none; }
  .hero { padding: 32px 0 22px; }
  .metrics { gap: 6px; margin-bottom: 23px; }
  .metrics > div { padding: 9px 7px 10px; border-radius: 6px; }
  .metrics dd { font-size: 1.42rem; }
  .metrics dt, .metrics div > span { font-size: .76rem; }
  .metrics dd small { font-size: .7rem; }
  .section-head h2 { font-size: 1.45rem; }
  .filter > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .filter select { width: 151px; font-size: .8rem; padding-inline: 7px 22px; }
  .match summary { grid-template-columns: minmax(0, 1fr) 37px 42px 7px; gap: 7px; padding: 9px; }
  .match-badge { display: none; }
  .fixture strong { font-size: .95rem; }
  .fixture-meta, .market { font-size: .75rem; }
  .match-number > strong { font-size: 1rem; }
  .match-number > span { font-size: .75rem; }
  .method-grid { grid-template-columns: 1fr; }
  [data-design="terminal"] .match summary { grid-template-columns: minmax(0, 1fr) 40px 47px 7px; }
  [data-design="terminal"] .intro { font-size: .95rem; }
  [data-design="arena"] .hero { padding: 22px 17px 23px; }
  [data-design="arena"] .hero-art { inset-inline-start: 48%; opacity: .3; }
  [data-design="arena"] .match-badge { display: grid; }
}

@media (max-width: 360px) {
  .design-inner { align-items: start; flex-direction: column; gap: 5px; padding-block: 8px; }
  .demo-label { max-width: none; }
  .demo-label span { display: inline; }
}

