:root {
  color-scheme: dark;
  --bg: #0c1011;
  --surface: #14191a;
  --surface-raised: #181e1e;
  --surface-soft: #101516;
  --line: rgba(235, 241, 232, .10);
  --line-strong: rgba(235, 241, 232, .17);
  --text: #f1f3ec;
  --muted: #8c9690;
  --quiet: #5e6a65;
  --lime: #c8f36a;
  --lime-dark: #98c448;
  --sky: #80c9f2;
  --inter-blue: #4c79d8;
  --display: Impact, "Arial Narrow", "Liberation Sans Narrow", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
.site-shell { width: min(100%, 1512px); min-height: 100vh; margin: 0 auto; padding: 0 46px; }
.topbar { height: 86px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 33px; height: 33px; display: block; }
.brand-name, .footer-brand span { font-family: var(--display); font-size: 21px; letter-spacing: .045em; line-height: 1; }
.brand-period { color: var(--lime); }
.brand-divider { width: 1px; height: 19px; background: var(--line-strong); margin: 0 3px 0 7px; }
.brand-subtitle { color: #9ba59e; font-size: 9px; font-weight: 700; letter-spacing: .19em; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.search-wrap { width: min(330px, 34vw); position: relative; }
.search-wrap input { width: 100%; height: 42px; padding: 0 49px 0 39px; border: 1px solid var(--line); border-radius: 5px; background: #111617; color: var(--text); font-size: 12px; outline: 0; transition: border-color .18s, background .18s; }
.search-wrap input::placeholder { color: #849089; }
.search-wrap input:focus { border-color: rgba(200, 243, 106, .62); background: #141a19; }
.search-icon { width: 16px; height: 16px; position: absolute; left: 14px; top: 13px; fill: none; stroke: #9aa39d; stroke-width: 1.5; pointer-events: none; }
.search-shortcut { position: absolute; top: 13px; right: 12px; color: #68736d; font: 10px var(--body); letter-spacing: .04em; pointer-events: none; }
.search-results { position: absolute; z-index: 8; top: calc(100% + 8px); left: 0; width: 100%; padding: 7px; border: 1px solid var(--line-strong); border-radius: 6px; background: #171d1d; box-shadow: 0 16px 40px rgba(0, 0, 0, .42); }
.search-result-button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 12px 10px; border: 0; border-radius: 4px; text-align: left; background: transparent; color: var(--text); cursor: pointer; }
.search-result-button:hover, .search-result-button:focus-visible { outline: 0; background: rgba(200, 243, 106, .09); }
.search-result-title { display: grid; gap: 4px; font-size: 12px; font-weight: 650; }
.search-result-title small { color: var(--muted); font-size: 10px; font-weight: 500; }
.search-result-score { color: var(--lime); font-family: var(--display); font-size: 17px; letter-spacing: .08em; }
.search-empty { padding: 13px 11px; color: #a4ada6; font-size: 11px; line-height: 1.5; }
.menu-button { display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 4px; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-button span { width: 15px; height: 1px; background: var(--text); }
.main-content { padding: 34px 0 0; }
.page-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 15px 1px; color: var(--lime); font-size: 9px; font-weight: 750; letter-spacing: .18em; }
.kicker-mark { width: 6px; height: 6px; background: var(--lime); transform: rotate(45deg); }
.kicker-line { width: 45px; height: 1px; margin-left: 3px; background: rgba(200, 243, 106, .32); }
.archive-note { color: #89938d; font-size: 10px; font-weight: 450; letter-spacing: .01em; }
.match-hero { min-height: 340px; position: relative; overflow: hidden; isolation: isolate; padding: 25px 34px 20px; border: 1px solid rgba(255,255,255,.09); border-radius: 6px; background: #15191a; }
.hero-photo, .hero-grain { position: absolute; z-index: -2; inset: 0; pointer-events: none; }
.hero-photo { background: linear-gradient(90deg, rgba(8,11,12,.97) 0%, rgba(8,11,12,.78) 26%, rgba(8,11,12,.66) 52%, rgba(8,11,12,.84) 100%), linear-gradient(0deg, rgba(8,11,12,.84), transparent 65%), url('/assets/stadium-night.jpg') center 49% / cover no-repeat; opacity: .76; filter: grayscale(.25); transform: scale(1.015); }
.hero-grain { z-index: -1; opacity: .15; background-image: radial-gradient(rgba(255,255,255,.42) .45px, transparent .55px); background-size: 5px 5px; mix-blend-mode: soft-light; }
.match-hero::after { content: ""; position: absolute; z-index: -1; right: -76px; top: -150px; width: 360px; height: 360px; border: 1px solid rgba(200,243,106,.18); border-radius: 50%; box-shadow: 0 0 0 39px rgba(200,243,106,.025), 0 0 0 78px rgba(200,243,106,.018); }
.hero-topline, .hero-bottomline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.competition-label, .historic-tag { display: inline-flex; align-items: center; gap: 9px; color: #d6ddd6; font-size: 9px; font-weight: 750; letter-spacing: .15em; }
.competition-icon { color: var(--lime); font-size: 14px; }
.competition-separator { color: #67716b; }
.competition-round { color: var(--lime); }
.historic-tag { color: #adb6b0; font-size: 8px; letter-spacing: .12em; }
.historic-tag span { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 9px rgba(200,243,106,.52); }
.scoreboard { min-height: 217px; display: grid; grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr); align-items: center; column-gap: 18px; max-width: 910px; margin: 0 auto; padding: 16px 0 13px; }
.team-block { display: flex; align-items: center; gap: 18px; min-width: 0; }
.away-team { justify-content: flex-end; text-align: right; }
.team-crest { width: 70px; height: 70px; position: relative; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.31); clip-path: polygon(50% 0, 90% 16%, 94% 67%, 50% 100%, 6% 67%, 10% 16%); }
.team-crest span { position: relative; z-index: 1; font-family: var(--display); font-size: 17px; letter-spacing: .07em; }
.city-crest { background: linear-gradient(145deg, rgba(126,201,242,.25), rgba(11,36,54,.78)); color: #e5f7ff; border-color: #8ad0f6; }
.city-crest::before, .city-crest::after { content: ""; position: absolute; width: 45px; height: 1px; background: rgba(141,215,255,.75); transform: rotate(45deg); }
.city-crest::after { transform: rotate(-45deg); }
.city-crest i { position: absolute; width: 8px; height: 8px; border: 1px solid #e9f7ff; border-radius: 50%; }
.inter-crest { background: linear-gradient(135deg, #061c32 0 49%, #1456a0 50% 100%); color: white; border-color: #7da9ec; }
.inter-crest::before { content: ""; position: absolute; width: 27px; height: 27px; border: 1px solid rgba(255,255,255,.78); border-radius: 50%; }
.team-label { margin: 0 0 6px; color: #aab4ad; font-size: 8px; font-weight: 700; letter-spacing: .19em; }
.team-info h1, .team-info h2 { margin: 0; color: #f5f5ee; font-family: var(--display); font-size: clamp(26px, 3.1vw, 39px); font-weight: 500; letter-spacing: .025em; line-height: .97; text-transform: uppercase; }
.team-info h2 { font-size: clamp(30px, 3.4vw, 43px); }
.team-nickname { margin: 8px 0 0; color: #99a49d; font-size: 8px; font-weight: 650; letter-spacing: .18em; }
.score-block { display: flex; align-items: center; justify-content: center; flex-direction: column; }
.score-numbers { display: flex; align-items: center; gap: 13px; color: var(--text); font-family: var(--display); font-size: clamp(72px, 8vw, 97px); letter-spacing: .035em; line-height: .95; font-variant-numeric: tabular-nums; }
.score-dash { padding: 0 2px; color: rgba(255,255,255,.35); font-size: .72em; }
.final-whistle { display: flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--lime); font-size: 8px; font-weight: 800; letter-spacing: .17em; }
.final-whistle span { width: 5px; height: 5px; background: var(--lime); border-radius: 50%; }
.hero-bottomline { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); }
.goal-summary, .venue-summary { display: flex; align-items: center; gap: 9px; min-width: 0; color: #c2cbc4; font-size: 10px; }
.goal-minute { color: var(--lime); font-family: var(--display); font-size: 17px; letter-spacing: .04em; }
.goal-summary strong { color: white; font-weight: 700; }
.goal-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }
.goal-scorer-club { padding: 3px 5px; border: 1px solid rgba(200,243,106,.25); border-radius: 2px; color: var(--lime); font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.venue-summary { color: #bbc4bd; }
.venue-summary svg { width: 14px; height: 14px; fill: none; stroke: var(--lime); stroke-width: 1.4; flex: 0 0 auto; }
.venue-summary i { color: #59635d; font-style: normal; }
.hero-index { position: absolute; right: 22px; bottom: 19px; color: #a9b1aa; font-family: var(--display); font-size: 10px; letter-spacing: .1em; }
.hero-index span { color: var(--lime); }
.match-toolbar { min-height: 57px; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.match-context { display: flex; align-items: center; gap: 12px; min-width: 0; }
.context-label { color: var(--lime); font-size: 8px; font-weight: 800; letter-spacing: .16em; white-space: nowrap; }
.context-divider { width: 1px; height: 13px; background: var(--line-strong); }
.context-copy { overflow: hidden; color: #a9b2ac; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.report-link { display: inline-flex; align-items: center; gap: 7px; color: #d3d9d3; font-size: 8px; font-weight: 750; letter-spacing: .1em; text-decoration: none; transition: color .2s; white-space: nowrap; }
.report-link:hover { color: var(--lime); }
.report-link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.section-tabs { height: 57px; display: flex; align-items: stretch; gap: 34px; border-bottom: 1px solid var(--line-strong); }
.tab-button { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 2px 0 0; border: 0; background: transparent; color: #79847e; font-size: 9px; font-weight: 800; letter-spacing: .13em; cursor: pointer; transition: color .18s; }
.tab-button::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; transform: scaleX(0); background: var(--lime); transition: transform .2s ease; }
.tab-button:hover, .tab-button.is-active { color: var(--text); }
.tab-button.is-active::after { transform: scaleX(1); }
.tab-number { color: #58635d; font-family: var(--display); font-size: 12px; letter-spacing: .04em; }
.tab-button.is-active .tab-number { color: var(--lime); }
.tab-endnote { display: flex; align-items: center; gap: 8px; margin-left: auto; color: #717c75; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.tab-endnote strong { color: #a5afa8; font-weight: 650; }
.tab-panel { display: none; padding-top: 23px; animation: panel-in .26s ease both; }
.tab-panel.is-active { display: block; }
@keyframes panel-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.overview-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .88fr); gap: 17px; align-items: start; }
.card { border: 1px solid var(--line); border-radius: 5px; background: linear-gradient(145deg, rgba(24,30,30,.95), rgba(17,22,22,.95)); }
.timeline-card { min-height: 432px; padding: 23px 25px 18px; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.eyebrow { margin: 0 0 7px; color: #8b9690; font-size: 8px; font-weight: 750; letter-spacing: .17em; }
.card-heading h2, .panel-intro h2 { margin: 0; color: var(--text); font-family: var(--display); font-size: 26px; font-weight: 500; letter-spacing: .025em; line-height: 1; }
.heading-period { color: var(--lime); }
.heading-meta { padding-top: 6px; color: #79847d; font-size: 8px; font-weight: 700; letter-spacing: .13em; white-space: nowrap; }
.heading-meta b { margin-left: 6px; color: var(--lime); font-family: var(--display); font-size: 13px; font-weight: 500; }
.timeline-list { position: relative; margin-top: 20px; padding: 3px 0 0 5px; }
.timeline-list::before { content: ""; position: absolute; top: 10px; bottom: 13px; left: 47px; width: 1px; background: linear-gradient(var(--lime) 0 28%, rgba(255,255,255,.14) 28%); }
.timeline-event { position: relative; display: grid; grid-template-columns: 31px 18px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 73px; }
.timeline-event:last-child { min-height: 55px; }
.event-minute { padding-top: 1px; color: #b9c2bb; font-family: var(--display); font-size: 15px; letter-spacing: .03em; text-align: right; }
.event-rail { z-index: 1; display: grid; place-items: center; padding-top: 4px; }
.event-marker { width: 9px; height: 9px; border: 2px solid #57625b; border-radius: 50%; background: #171d1c; }
.event-marker.goal { width: 11px; height: 11px; border-color: var(--lime); background: var(--lime); box-shadow: 0 0 0 4px rgba(200,243,106,.10); }
.event-marker.big-chance { border-color: #e7bb75; background: #e7bb75; }
.event-copy { padding: 0 0 15px; border-bottom: 1px solid rgba(255,255,255,.055); }
.timeline-event:last-child .event-copy { border-bottom: 0; }
.event-title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: #e7ebe5; font-size: 11px; font-weight: 700; }
.event-title strong { color: var(--lime); font-weight: 700; }
.event-chip { padding: 2px 5px; border-radius: 2px; background: rgba(200,243,106,.10); color: var(--lime); font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.event-detail { margin: 0; color: #818c85; font-size: 9px; line-height: 1.45; }
.timeline-end { display: flex; align-items: center; gap: 9px; margin: 2px 0 0 48px; color: #6f7a73; font-size: 7px; font-weight: 800; letter-spacing: .16em; }
.timeline-end span { width: 4px; height: 4px; background: #737e76; border-radius: 50%; }
.overview-rail { display: grid; gap: 14px; }
.snapshot-card, .quick-stats-card { padding: 20px 21px; }
.compact-heading { align-items: center; }
.compact-heading h2 { font-size: 23px; }
.spark-mark { color: var(--lime); font-size: 20px; }
.match-note { margin: 16px 0 14px; color: #b4bdb6; font-size: 10px; line-height: 1.65; }
.note-divider { height: 1px; background: var(--line); }
.player-of-match { display: flex; align-items: center; gap: 11px; padding-top: 15px; }
.player-avatar { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(200,243,106,.38); border-radius: 50%; background: linear-gradient(145deg, rgba(200,243,106,.16), rgba(200,243,106,.035)); color: var(--lime); font-family: var(--display); font-size: 19px; }
.player-of-match > div:nth-child(2) { display: grid; gap: 3px; }
.player-of-match .eyebrow { margin: 0; font-size: 7px; }
.player-of-match strong { color: #eef1e9; font-size: 11px; }
.player-club { color: #87928a; font-size: 8px; }
.award-mark { margin-left: auto; color: var(--lime); font-size: 17px; }
.text-button { padding: 5px 0; border: 0; background: transparent; color: #99a49c; font-size: 7px; font-weight: 800; letter-spacing: .1em; cursor: pointer; }
.text-button span { margin-left: 3px; color: var(--lime); font-size: 11px; }
.text-button:hover { color: var(--lime); }
.quick-stats { display: grid; gap: 10px; margin-top: 17px; }
.quick-stat { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 10px; align-items: center; }
.quick-stat-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #a7b0a9; font-size: 9px; }
.quick-stat-values { display: flex; justify-content: space-between; color: #e4e9e1; font-weight: 700; font-variant-numeric: tabular-nums; }
.quick-stat-values span:last-child { color: #a7b0a9; }
.quick-stat-track { height: 3px; display: flex; gap: 2px; margin-top: 5px; }
.quick-stat-track span { display: block; height: 100%; background: var(--sky); border-radius: 2px; }
.quick-stat-track span:last-child { margin-left: auto; background: var(--inter-blue); }
.quick-stat-pct { color: #738078; font-size: 8px; text-align: right; }
.panel-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 2px 0 18px; }
.panel-intro .eyebrow { margin-bottom: 8px; }
.panel-intro h2 { font-size: 31px; }
.formation-label { color: #7e8982; font-size: 8px; font-weight: 750; letter-spacing: .11em; }
.formation-label strong { margin-left: 6px; color: #c3cbc4; font-weight: 700; }
.lineup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lineup-card { padding: 19px 21px 21px; }
.lineup-head { display: flex; align-items: center; gap: 11px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.lineup-mini-crest { width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid rgba(128,201,242,.45); border-radius: 50%; color: var(--sky); font-family: var(--display); font-size: 11px; }
.lineup-card.inter-lineup .lineup-mini-crest { border-color: rgba(76,121,216,.7); color: #91b0fa; }
.lineup-head h3 { margin: 0; font-family: var(--display); font-size: 19px; font-weight: 500; letter-spacing: .02em; }
.lineup-head p { margin: 3px 0 0; color: #7f8a83; font-size: 8px; letter-spacing: .08em; }
.lineup-head .formation { margin-left: auto; color: #e5e9e2; font-family: var(--display); font-size: 17px; }
.player-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 16px; padding-top: 12px; }
.player-row { display: flex; align-items: baseline; gap: 7px; min-width: 0; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.04); color: #d5dbd4; font-size: 9px; }
.player-row::before { content: ""; width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: var(--sky); }
.inter-lineup .player-row::before { background: var(--inter-blue); }
.player-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.substitutions-card { margin-top: 16px; padding: 18px 21px 10px; }
.substitutions-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.substitutions-head h3 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 500; }
.substitutions-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; margin-top: 11px; }
.substitution-row { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.substitution-minute { color: var(--lime); font-family: var(--display); font-size: 13px; }
.substitution-copy { display: grid; gap: 4px; color: #d8ded6; font-size: 9px; }
.substitution-copy small { color: #79847d; font-size: 8px; }
.statistics-card { padding: 22px 28px 17px; }
.statistics-key { display: grid; grid-template-columns: 1fr 150px 1fr; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.club-key { display: flex; align-items: center; gap: 8px; color: #d7ddd6; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.club-key i { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
.inter-key { justify-content: flex-end; }
.inter-key i { background: var(--inter-blue); }
.stats-center-label { color: #68736c; font-size: 7px; font-weight: 800; letter-spacing: .14em; text-align: center; }
.statistics-list { display: grid; }
.stat-row { padding: 16px 0 13px; border-bottom: 1px solid rgba(255,255,255,.055); }
.stat-values { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; margin-bottom: 9px; font-family: var(--display); font-size: 21px; font-variant-numeric: tabular-nums; }
.stat-values span:first-child { color: #eaf2f3; }
.stat-values span:nth-child(2) { color: #98a39b; font-family: var(--body); font-size: 8px; font-weight: 750; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.stat-values span:last-child { color: #c5d3f4; text-align: right; }
.stat-bars { height: 4px; display: flex; gap: 4px; }
.stat-bars span { height: 100%; border-radius: 3px; background: var(--sky); }
.stat-bars span:last-child { background: var(--inter-blue); }
.stat-bars .zero-bar { width: 2px !important; opacity: .35; }
.stats-source-note { margin: 15px 0 0; color: #738078; font-size: 8px; }
.site-footer { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { opacity: .9; }
.footer-brand span { font-size: 15px; }
.site-footer > p { margin: 0; color: #c0c8c0; font-size: 9px; }
.site-footer > p span { margin-left: 7px; color: #737e76; }
.footer-sources { display: flex; align-items: center; gap: 8px; color: #647068; font-size: 8px; }
.footer-sources span { margin-right: 3px; font-weight: 750; letter-spacing: .1em; }
.footer-sources a { color: #aab4ac; text-decoration: none; }
.footer-sources a:hover { color: var(--lime); }
.footer-sources i { font-style: normal; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); border: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

@media (min-width: 1200px) {
  .main-content { padding-top: 39px; }
  .match-hero { min-height: 360px; padding-top: 28px; }
  .scoreboard { min-height: 230px; }
  .timeline-card { min-height: 445px; }
}

@media (max-width: 900px) {
  .site-shell { padding: 0 26px; }
  .overview-layout { grid-template-columns: minmax(0, 1.1fr) minmax(270px, .9fr); gap: 12px; }
  .timeline-card { padding: 21px 19px 16px; }
  .snapshot-card, .quick-stats-card { padding: 18px 16px; }
  .team-crest { width: 59px; height: 59px; }
  .scoreboard { grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); }
  .team-block { gap: 12px; }
  .lineup-grid { gap: 11px; }
  .lineup-card { padding: 17px 15px; }
}

@media (max-width: 700px) {
  .site-shell { padding: 0 18px; }
  .topbar { height: 70px; }
  .brand { gap: 8px; }
  .brand-mark { width: 29px; height: 29px; }
  .brand-name { font-size: 18px; }
  .brand-divider, .brand-subtitle { display: none; }
  .topbar-right { gap: 10px; }
  .search-wrap { width: min(245px, 52vw); }
  .search-wrap input { height: 38px; padding-left: 34px; font-size: 10px; }
  .search-icon { left: 12px; top: 11px; }
  .search-shortcut { display: none; }
  .main-content { padding-top: 25px; }
  .match-hero { min-height: 336px; padding: 19px 18px 16px; }
  .hero-photo { background-position: 55% center; }
  .hero-topline { align-items: flex-start; flex-direction: column; gap: 9px; }
  .competition-label { font-size: 8px; }
  .historic-tag { font-size: 7px; }
  .scoreboard { min-height: 211px; grid-template-columns: minmax(0, 1fr) 101px minmax(0, 1fr); column-gap: 6px; padding: 15px 0 12px; }
  .team-block { gap: 0; align-items: flex-start; flex-direction: column; }
  .away-team { align-items: flex-end; }
  .team-crest { order: 0; width: 47px; height: 47px; margin-bottom: 9px; }
  .team-crest span { font-size: 13px; }
  .team-info h1, .team-info h2 { font-size: clamp(20px, 6vw, 27px); line-height: .96; }
  .team-label { margin-bottom: 5px; font-size: 7px; }
  .team-nickname { margin-top: 6px; font-size: 6px; letter-spacing: .11em; }
  .score-numbers { gap: 7px; font-size: 66px; }
  .final-whistle { margin-top: 10px; font-size: 7px; }
  .mobile-break { display: block; }
  .hero-bottomline { align-items: flex-start; flex-direction: column; gap: 10px; padding-top: 12px; }
  .goal-summary, .venue-summary { font-size: 9px; }
  .hero-index { right: 17px; bottom: 15px; font-size: 8px; }
  .match-toolbar { min-height: 51px; }
  .context-label { font-size: 7px; }
  .context-copy { font-size: 9px; }
  .report-link { font-size: 7px; gap: 4px; }
  .section-tabs { height: 52px; gap: clamp(15px, 5vw, 28px); }
  .tab-button { gap: 6px; font-size: 8px; }
  .tab-number { font-size: 11px; }
  .tab-endnote { display: none; }
  .tab-panel { padding-top: 16px; }
  .overview-layout { grid-template-columns: 1fr; gap: 12px; }
  .timeline-card { min-height: 0; padding: 19px 17px 16px; }
  .overview-rail { grid-template-columns: 1fr 1fr; gap: 10px; }
  .snapshot-card, .quick-stats-card { padding: 15px 13px; }
  .compact-heading h2 { font-size: 20px; }
  .match-note { font-size: 9px; }
  .player-of-match { gap: 8px; }
  .player-avatar { width: 31px; height: 31px; }
  .player-club { font-size: 7px; }
  .award-mark { font-size: 14px; }
  .quick-stats { gap: 9px; margin-top: 14px; }
  .quick-stat-label { font-size: 8px; }
  .quick-stat-pct { font-size: 7px; }
  .panel-intro { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 14px; }
  .panel-intro h2 { font-size: 27px; }
  .formation-label { font-size: 7px; }
  .lineup-grid { grid-template-columns: 1fr; gap: 10px; }
  .lineup-card { padding: 15px; }
  .player-list { gap: 1px 10px; }
  .substitutions-card { padding: 15px; }
  .substitutions-list { grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .statistics-card { padding: 17px 16px 14px; }
  .statistics-key { grid-template-columns: 1fr 78px 1fr; }
  .club-key { gap: 5px; font-size: 7px; letter-spacing: .06em; }
  .stats-center-label { font-size: 6px; }
  .stat-row { padding: 13px 0 11px; }
  .stat-values { font-size: 19px; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; padding: 15px 0; gap: 12px; }
  .site-footer > p { width: calc(100% - 110px); text-align: right; font-size: 8px; line-height: 1.5; }
  .site-footer > p span { display: block; margin: 2px 0 0; }
  .footer-sources { width: 100%; justify-content: flex-end; }
}

@media (max-width: 420px) {
  .site-shell { padding: 0 12px; }
  .brand-name { font-size: 16px; }
  .topbar-right { gap: 7px; }
  .search-wrap { width: 48vw; }
  .search-wrap input { padding-right: 8px; font-size: 9px; }
  .match-hero { padding-left: 13px; padding-right: 13px; }
  .scoreboard { grid-template-columns: minmax(0, 1fr) 83px minmax(0, 1fr); column-gap: 3px; }
  .score-numbers { font-size: 58px; }
  .team-info h1, .team-info h2 { font-size: 21px; }
  .team-crest { width: 42px; height: 42px; }
  .venue-summary { max-width: calc(100% - 45px); }
  .hero-index { right: 12px; }
  .report-link span { max-width: 72px; overflow: hidden; text-overflow: ellipsis; }
  .overview-rail { grid-template-columns: 1fr; }
  .snapshot-card, .quick-stats-card { padding: 17px; }
  .snapshot-card .match-note { max-width: 42em; }
  .site-footer > p { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* In-page official highlights and the future live-video slot. */
[hidden] { display: none !important; }
.watch-intro { align-items: center; }
.watch-in-page { display: inline-flex; align-items: center; gap: 8px; color: #a9b4ac; font-size: 8px; font-weight: 750; letter-spacing: .12em; }
.watch-in-page i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 9px rgba(200,243,106,.4); }
.watch-layout { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(310px, .82fr); gap: 14px; align-items: start; }
.highlight-player-card { overflow: hidden; }
.video-stage { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #050708; }
.video-launch, .highlight-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-launch { display: block; overflow: hidden; padding: 0; background: #050708; cursor: pointer; }
.video-launch img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .75; transition: transform .45s ease, opacity .3s ease; }
.video-launch:hover img { transform: scale(1.025); opacity: .9; }
.video-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,8,8,.75), transparent 65%); }
.play-button { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; display: grid; place-items: center; transform: translate(-50%, -50%); border: 1px solid rgba(200,243,106,.8); border-radius: 50%; background: rgba(9,13,13,.78); box-shadow: 0 0 0 8px rgba(200,243,106,.09); transition: background .2s, box-shadow .2s; }
.video-launch:hover .play-button { background: var(--lime); box-shadow: 0 0 0 11px rgba(200,243,106,.12); }
.play-button svg { width: 22px; height: 22px; fill: var(--lime); transform: translateX(1px); }
.video-launch:hover .play-button svg { fill: #111613; }
.launch-label { position: absolute; left: 20px; bottom: 17px; color: #f0f4ea; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.video-details { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 20px 19px; }
.video-details .eyebrow { margin-bottom: 7px; color: var(--lime); }
.video-details h3 { margin: 0; color: var(--text); font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: .025em; line-height: 1.08; }
.video-publisher { margin: 7px 0 0; color: #89948c; font-size: 9px; }
.video-count { padding-top: 4px; color: #a2ada4; font-family: var(--display); font-size: 12px; letter-spacing: .08em; white-space: nowrap; }
.video-count::first-letter { color: var(--lime); }
.highlight-list-card { padding: 18px 17px 10px; }
.highlight-list-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 0 2px 13px; border-bottom: 1px solid var(--line); }
.highlight-list-heading .eyebrow { margin-bottom: 6px; font-size: 7px; }
.highlight-list-heading h3 { margin: 0; color: var(--text); font-family: var(--display); font-size: 21px; font-weight: 500; }
.list-count { color: #78837c; font-size: 7px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.highlight-list { display: grid; gap: 1px; max-height: 371px; overflow-y: auto; scrollbar-color: #39443e transparent; scrollbar-width: thin; }
.highlight-entry { width: 100%; display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 11px; align-items: center; padding: 11px 3px; border: 0; border-bottom: 1px solid rgba(255,255,255,.055); background: transparent; text-align: left; cursor: pointer; transition: background .18s, border-color .18s; }
.highlight-entry:hover, .highlight-entry.is-active { background: rgba(200,243,106,.045); }
.highlight-entry.is-active { box-shadow: inset 2px 0 0 var(--lime); }
.highlight-thumbnail { position: relative; overflow: hidden; width: 96px; aspect-ratio: 16 / 9; border-radius: 3px; background: #080b0b; }
.highlight-thumbnail img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .76; }
.highlight-thumbnail i { position: absolute; right: 6px; bottom: 5px; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(8,11,11,.78); }
.highlight-thumbnail svg { width: 11px; height: 11px; fill: var(--text); transform: translateX(1px); }
.highlight-entry.is-active .highlight-thumbnail i { border-color: var(--lime); background: var(--lime); }
.highlight-entry.is-active .highlight-thumbnail svg { fill: #111613; }
.highlight-entry-copy { min-width: 0; display: grid; gap: 5px; }
.highlight-entry-title { overflow: hidden; color: #e8ece5; font-size: 9px; font-weight: 700; line-height: 1.35; text-overflow: ellipsis; }
.highlight-entry-meta { overflow: hidden; color: #8d9890; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.highlight-entry-publisher { color: var(--lime); font-size: 7px; font-weight: 750; letter-spacing: .045em; }
.live-placeholder { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 18px 20px; border-color: rgba(231,187,117,.19); background: linear-gradient(105deg, rgba(231,187,117,.045), rgba(17,22,22,.96) 48%); }
.live-icon { width: 39px; height: 39px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 3px; border: 1px solid rgba(231,187,117,.3); border-radius: 50%; background: rgba(231,187,117,.06); }
.live-icon span { width: 3px; border-radius: 3px; background: #bd9860; }
.live-icon span:nth-child(1) { height: 9px; }
.live-icon span:nth-child(2) { height: 17px; }
.live-icon span:nth-child(3) { height: 12px; }
.live-copy { min-width: 0; flex: 1; }
.live-copy .eyebrow { margin-bottom: 5px; color: #c4a16d; }
.live-copy h3 { margin: 0; color: #e7e9e1; font-family: var(--display); font-size: 19px; font-weight: 500; letter-spacing: .02em; }
.live-copy .live-description { max-width: 650px; margin: 6px 0 0; color: #919b92; font-size: 9px; line-height: 1.55; }
.fifa-live-links { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 10px; }
.fifa-live-link { display: inline-flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid rgba(200,243,106,.25); border-radius: 3px; color: var(--lime); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-decoration: none; transition: background .2s, border-color .2s; }
.fifa-live-link:hover { border-color: rgba(200,243,106,.55); background: rgba(200,243,106,.06); }
.fifa-live-link span { color: #89948c; font-size: 7px; font-weight: 700; }
.fifa-terms-link { color: #a0aaa2; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-decoration: underline; text-underline-offset: 3px; }
.live-status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 8px; border: 1px solid rgba(231,187,117,.22); border-radius: 3px; color: #c9a671; font-size: 7px; font-weight: 800; letter-spacing: .11em; white-space: nowrap; }
.live-status i { width: 5px; height: 5px; border-radius: 50%; background: #c9a671; }
.video-disclaimer { margin: 10px 1px 0; color: #6e7971; font-size: 8px; line-height: 1.5; }
.video-disclaimer a { color: #a7b29f; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .watch-layout { grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr); gap: 10px; }
  .highlight-entry { grid-template-columns: 78px minmax(0,1fr); gap: 8px; }
  .highlight-thumbnail { width: 78px; }
  .highlight-list-card { padding-left: 13px; padding-right: 13px; }
}

@media (max-width: 700px) {
  .watch-intro { align-items: flex-start; }
  .watch-in-page { font-size: 7px; }
  .watch-layout { grid-template-columns: 1fr; gap: 10px; }
  .video-details { padding: 15px; }
  .video-details h3 { font-size: 20px; }
  .highlight-list-card { padding: 15px 13px 8px; }
  .highlight-list { max-height: 310px; }
  .highlight-entry { grid-template-columns: 98px minmax(0,1fr); gap: 11px; }
  .highlight-thumbnail { width: 98px; }
  .live-placeholder { align-items: flex-start; flex-wrap: wrap; gap: 11px; padding: 15px; }
  .live-copy { flex-basis: calc(100% - 52px); }
  .live-status { margin-left: 50px; }
}

@media (max-width: 420px) {
  .section-tabs { gap: clamp(10px, 3.8vw, 18px); }
  .tab-button { gap: 4px; font-size: 7px; letter-spacing: .08em; }
  .tab-number { font-size: 10px; }
  .watch-in-page { font-size: 6px; letter-spacing: .07em; }
  .highlight-entry { grid-template-columns: 85px minmax(0,1fr); }
  .highlight-thumbnail { width: 85px; }
  .live-status { margin-left: 0; }
}
