:root {
  --hub-void: #000;
  --hub-canvas: #000;
  --hub-surface: #121617;
  --hub-raised: #191e20;
  --hub-soft: #202628;
  --hub-text: #f2f3f1;
  --hub-text-soft: #c6ccca;
  --hub-muted: #929b98;
  --hub-line: #343b3d;
  --hub-line-strong: #596163;
  --hub-green: #00a650;
  --hub-red: #e1262f;
  --hub-page: min(1240px, calc(100% - 40px));
}

html { background: #000; color-scheme: dark; scroll-behavior: smooth; }
body.match-hub-page { margin: 0; background: var(--hub-canvas); color: var(--hub-text); }
.match-hub-page ::selection { background: var(--hub-green); color: #fff; }
.match-hub-page :focus-visible { outline: 3px solid var(--hub-text); outline-offset: 4px; }
.match-hub-page button,
.match-hub-page a { text-underline-offset: .22em; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 20; padding: 10px 14px; background: #fff; color: #070909; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.hub-masthead { display: grid; width: var(--hub-page); min-height: 104px; align-items: center; grid-template-columns: auto 1fr auto; gap: 28px; margin: 0 auto; border-bottom: 1px solid var(--hub-line); }
.hub-brand { display: flex; align-items: center; gap: 12px; color: var(--hub-text); font-size: .62rem; font-weight: 750; letter-spacing: .09em; text-decoration: none; }
.hub-logo-plaque { display: grid; width: 92px; height: 44px; place-items: center; background: transparent; }
.hub-logo-plaque img { display: block; width: 80px; height: auto; }
.hub-fixture-label { display: grid; justify-items: center; gap: 8px; }
.hub-fixture-label strong { display: flex; align-items: center; gap: 14px; font-family: var(--font-editorial); font-size: clamp(1.65rem, 3vw, 2.7rem); font-weight: 520; line-height: 1; }
.hub-fixture-label strong img { width: 46px; height: 46px; object-fit: contain; background: transparent; }
.hub-fixture-label strong i { color: var(--hub-muted); font: 720 .56rem/1 var(--font-primary); text-transform: uppercase; }
.hub-fixture-label small,
.hub-private-state { color: var(--hub-muted); font-size: .59rem; letter-spacing: .07em; text-transform: uppercase; }
.hub-private-state { justify-self: end; }
.hub-shell { width: var(--hub-page); margin: 0 auto; padding: 0 0 110px; }
.video-stage { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1px; background: var(--hub-line); }
.video-stage-single { grid-template-columns: minmax(0, 1fr); }
.video-choice { display: grid; min-height: 254px; grid-template-columns: minmax(180px, .9fr) 1.1fr; align-items: stretch; background: var(--hub-surface); }
.video-choice .video-media { display: grid; grid-template-rows: 1fr auto; min-width: 0; }
.video-choice .video-media .video-credit { margin: 0; padding: 10px 12px; color: var(--hub-muted); font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; font-weight: 400; text-transform: none; }
.video-thumbnail { position: relative; display: block; min-height: 254px; overflow: hidden; background: var(--hub-void); color: var(--hub-text); }
.video-thumbnail img { width: 100%; height: 100%; min-height: 254px; display: block; object-fit: cover; transition: transform 280ms cubic-bezier(.16, 1, .3, 1), filter 280ms cubic-bezier(.16, 1, .3, 1); }
.video-thumbnail::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgb(7 9 9 / .58)); content: ""; pointer-events: none; }
.video-thumbnail:hover img { filter: brightness(.82); transform: scale(1.025); }
.video-thumbnail:focus-visible { z-index: 1; outline: 3px solid var(--hub-green); outline-offset: -3px; }
.video-play { position: absolute; right: 20px; bottom: 20px; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--hub-text); color: var(--hub-void); box-shadow: 0 12px 30px rgb(0 0 0 / .36); transition: transform 220ms cubic-bezier(.16, 1, .3, 1); }
.video-thumbnail:hover .video-play { transform: scale(1.08); }
.video-play svg { display: block; margin-left: 2px; }
.video-cover-fallback,
.video-cover-status { min-height: 254px; display: grid; place-items: center; padding: 24px; background: var(--hub-void); color: var(--hub-text); font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-align: center; text-decoration: none; text-transform: uppercase; }
.video-cover-fallback:hover { background: #111515; }
.video-cover-fallback:focus-visible { outline: 3px solid var(--hub-green); outline-offset: -3px; }
.video-cover-status { color: var(--hub-muted); }
.video-choice > div:last-child { display: grid; align-content: end; justify-items: start; gap: 10px; padding: 28px; }
.video-choice h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -.035em; line-height: 1; }
.video-choice p { margin: 0; color: var(--hub-muted); font-size: .72rem; }
.video-choice a { min-height: 46px; display: inline-flex; align-items: center; margin-top: 8px; padding: 0 18px; border: 1px solid var(--hub-line-strong); border-radius: 4px; color: var(--hub-text); font-size: .68rem; font-weight: 750; text-decoration: none; text-transform: uppercase; }
.video-choice a:hover { background: var(--hub-text); color: var(--hub-void); }
.hub-tabs { position: sticky; top: 0; z-index: 10; margin-inline: calc((100vw - 100%) / -2); border-block: 1px solid var(--hub-line); background: var(--hub-void); }
.hub-tabs > div { display: flex; width: var(--hub-page); gap: 8px; margin: 0 auto; padding: 10px 0; overflow-x: auto; scrollbar-color: var(--hub-line-strong) var(--hub-void); scrollbar-width: thin; }
.hub-tabs button { display: grid; min-width: 140px; min-height: 68px; flex: 1 0 auto; align-content: center; gap: 7px; padding: 0 17px; border: 1px solid var(--hub-line); border-radius: 2px; background: var(--hub-surface); color: var(--hub-text-soft); font: 720 .68rem/1 var(--font-primary); letter-spacing: .045em; text-align: left; white-space: nowrap; cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease; }
.hub-tabs button span { color: inherit; text-transform: uppercase; }
.hub-tabs button small { color: var(--hub-muted); font-size: .58rem; font-weight: 520; letter-spacing: .01em; }
.hub-tabs button:hover { transform: translateY(-2px); border-color: var(--hub-line-strong); background: var(--hub-raised); color: var(--hub-text); }
.hub-tabs button[aria-selected="true"] { border-color: var(--hub-green); background: var(--hub-raised); color: var(--hub-text); box-shadow: inset 0 -3px var(--hub-green); }
.hub-tabs button[aria-selected="true"] small { color: var(--hub-text-soft); }
@media (prefers-reduced-motion: reduce) { .hub-tabs button { transition: none; } .hub-tabs button:hover { transform: none; } }
.hub-panel { min-height: 620px; padding: clamp(48px, 7vw, 82px) 0 30px; }
.video-panel { min-height: min(720px, calc(100svh - 138px)); }
.video-panel .video-stage { max-width: 980px; }
.panel-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); align-items: end; gap: 42px; margin-bottom: 46px; }
.panel-heading h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.4rem); letter-spacing: -.04em; line-height: .9; }
.panel-heading p { margin: 0; color: var(--hub-text-soft); font-family: var(--font-editorial); font-size: 1.08rem; }
.video-panel .panel-heading { display: block; }
.video-panel .panel-heading p { margin-top: 18px; white-space: nowrap; }

.result-deck { display: grid; max-width: 980px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(22px, 6vw, 80px); margin: 0 auto; padding: clamp(28px, 5vw, 54px); background: var(--hub-surface); box-shadow: 0 24px 70px rgb(0 0 0 / .34); }
.result-side { display: grid; align-self: start; justify-items: center; gap: 14px; font-family: var(--font-editorial); font-size: clamp(1.2rem, 2.6vw, 2rem); text-align: center; }
.result-crest { width: 70px; height: 70px; object-fit: contain; background: transparent; }
.result-score { display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 12px; font-family: var(--font-primary); font-size: clamp(4.5rem, 10vw, 8rem); font-weight: 450; font-variant-numeric: tabular-nums; text-align: center; }
.result-score > span { font-size: inherit; font-weight: inherit; letter-spacing: -.04em; line-height: .75; }
.result-score > i { color: var(--hub-text); font-size: .65em; font-weight: inherit; font-style: normal; line-height: .75; }
.result-score > small { font-weight: 400; grid-column: 1 / -1; margin-top: 16px; color: var(--hub-muted); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.hub-standfirst { max-width: 32ch; margin: 52px 0; font-family: var(--font-editorial); font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.06; }
.report-facts-section { max-width: 980px; margin: 48px auto 0; }
#report-panel > * + * { margin-top: 88px; }
#report-panel > .story-lineup { margin-bottom: 0; }
.report-facts-section h2 { margin: 0 0 20px; font-size: 1.4rem; letter-spacing: -.02em; }
.result-scorers { overflow-wrap: anywhere; margin: 0; padding: 0; list-style: none; color: var(--hub-text-soft); font: .8rem/1.65 var(--font-primary); }
.result-scorers time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.report-match-events { margin: 0; padding: 0; list-style: none; }
.report-match-events span { overflow-wrap: anywhere; }
.report-match-events time { font-variant-numeric: tabular-nums; }
.report-match-events img { display: block; object-fit: contain; }
.report-match-events img:not([src*="/card-"]) { filter: brightness(0) invert(1); }
.report-stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--hub-line-strong); }
.report-stat { min-width: 0; padding: clamp(24px, 3vw, 36px); background: var(--hub-surface); }
.report-stat h3 { margin: 0 0 18px; color: var(--hub-text); font: 700 clamp(.95rem, 1.5vw, 1.15rem)/1.2 var(--font-primary); letter-spacing: .025em; text-align: center; text-transform: uppercase; }
.report-stat-values { display: grid; grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr); align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.report-stat-values img { display: block; width: 112px; height: 112px; object-fit: contain; }
.report-stat-values strong { min-width: 0; color: var(--hub-green); font: 650 clamp(2.1rem, 4.5vw, 3.4rem)/1 var(--font-primary); letter-spacing: -.04em; overflow-wrap: anywhere; }
.report-stat-values strong:last-child { color: var(--hub-text); text-align: right; }
.report-stat-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; color: var(--hub-text-soft); font: 500 clamp(.9rem, 1.5vw, 1rem)/1.25 var(--font-editorial); }
.report-stat-teams span { min-width: 0; overflow-wrap: anywhere; }
.report-stat-teams span:last-child { text-align: right; }
.report-data-note { margin: 14px 0 0; color: var(--hub-muted); font-size: .72rem; }
.report-match-events li { display: grid; grid-template-columns: 58px minmax(130px, 1fr) minmax(0, 2fr) minmax(110px, .8fr); align-items: center; column-gap: 16px; padding: 11px 0; border-top: 1px solid var(--hub-line); }
.report-match-events .match-event-kind,
.report-match-events .match-event-people { display: flex; align-items: center; min-width: 0; gap: 8px; }
.report-match-events .match-event-kind img { flex: none; width: 20px; height: 20px; }
.report-match-events .match-event-people { flex-wrap: wrap; column-gap: 18px; row-gap: 4px; }
.report-match-events strong { color: var(--hub-text-soft); font-size: .86rem; }
.report-match-events small { color: var(--hub-muted); font-size: .78rem; }
.report-match-events .match-event-team { text-align: right; overflow-wrap: anywhere; }
.lead-player { display: grid; max-width: 740px; gap: 8px; margin: 48px 0; padding: 28px 30px; border: 1px solid var(--hub-line); border-radius: 14px; color: var(--hub-text); text-decoration: none; }
.lead-player span { color: var(--hub-muted); font-size: .63rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.lead-player strong { font-family: var(--font-editorial); font-size: 2rem; font-weight: 540; }
.lead-player small { color: var(--hub-text-soft); font-size: .78rem; }
.home-story { max-width: 72ch; margin: 64px auto 0; font-family: var(--font-editorial); font-size: 1.18rem; line-height: 1.62; }
.home-story h2 { margin: 2.8em 0 .7em; font-family: var(--font-primary); font-size: 2.2rem; letter-spacing: -.03em; }

.story-moments { max-width: 860px; margin: 0; padding: 0; list-style: none; }
.story-moments li { display: grid; min-height: 94px; grid-template-columns: 58px 34px 1fr; align-items: start; gap: 18px; padding: 20px 0; border-top: 1px solid var(--hub-line); }
.story-moments time { font-weight: 750; font-variant-numeric: tabular-nums; }
.story-moments img { filter: brightness(0) invert(1); }
.story-moments strong { font-family: var(--font-editorial); font-size: 1.35rem; }
.story-moments p { margin: 6px 0 0; color: var(--hub-muted); }
.award-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hub-line); }
.award-card { min-height: 230px; display: grid; align-content: end; gap: 10px; padding: 28px; background: var(--hub-surface); }
.award-card span,
.award-card small { color: var(--hub-muted); font-size: .62rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.award-card h2 { margin: 0; font-family: var(--font-editorial); font-size: 2rem; font-weight: 520; }
.award-card p { margin: 0; color: var(--hub-text-soft); font-size: .76rem; }
.jmr-awards { margin: 0 0 64px; }
.jmr-awards-heading { max-width: 920px; margin: 0 auto 28px; }
.jmr-awards-heading h2 { margin: 0 0 20px; font-size: 2rem; letter-spacing: -.03em; }
.jmr-awards-heading p { margin: 0; color: var(--hub-text-soft); font-size: .8rem; }
.jmr-awards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 248px)); justify-content: center; gap: 24px; }
.jmr-award-sticker { display: grid; width: 100%; min-height: 340px; box-sizing: border-box; justify-items: center; align-content: start; gap: 7px; padding: 24px 20px; background: #101213 url("/assets/awards/jmr-award-frame-v1-7db057a86add.webp") center / 100% 100% no-repeat; color: #f4ead2; text-align: center; }
.jmr-award-sticker h3 { margin: 0 0 5px; color: #e3c779; font-size: .76rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.jmr-award-photo, .jmr-award-photo-missing { display: grid; width: 112px; height: 112px; margin-bottom: 5px; border-radius: 50%; object-fit: cover; place-items: center; }
.jmr-award-photo-missing { background: var(--hub-raised); color: var(--hub-muted); font: 500 2.8rem/1 var(--font-editorial); }
.jmr-award-player { min-height: 38px; max-width: 100%; font-size: 1rem; line-height: 1.2; overflow-wrap: anywhere; }
.jmr-award-position { color: #c6ccca; font-size: .72rem; }
.jmr-award-metric { margin-top: 4px; color: #e3c779; font-size: 1.55rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.jmr-award-rating { font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.jmr-award-rating small, .jmr-award-shared, .jmr-award-support { color: #c6ccca; font-size: .7rem; font-weight: 400; }
.jmr-motm-gold { background-image: url("/assets/awards/jmr-motm-gold-v1-9c43b19e21fc.webp"); }
.jmr-motm-gold h3, .jmr-motm-gold .jmr-award-metric { color: #e3c779; }
.jmr-motm-silver { background-image: url("/assets/awards/jmr-motm-silver-v1-8765ffe098fc.webp"); }
.jmr-motm-silver h3, .jmr-motm-silver .jmr-award-metric { color: #d4dce3; }
.jmr-motm-bronze { background-image: url("/assets/awards/jmr-motm-bronze-v1-fba7b8850ffa.webp"); }
.jmr-motm-bronze h3, .jmr-motm-bronze .jmr-award-metric { color: #e7ad83; }
.jmr-motm .jmr-award-metric small { font-size: .7rem; font-weight: 400; color: #c6ccca; }
.jmr-award-empty { align-content: center; gap: 24px; }
.jmr-award-empty p { max-width: 20ch; margin: 0; color: #c6ccca; font-size: .85rem; line-height: 1.5; }
.editorial-control { margin-top: 14px; border-top: 1px solid var(--hub-line); }
.editorial-control > summary { padding-top: 12px; color: var(--hub-muted); font: 720 .62rem/1.3 var(--font-primary); cursor: pointer; text-transform: uppercase; }
.editorial-control form { display: grid; gap: 10px; margin-top: 14px; }
.editorial-control label { display: grid; gap: 5px; color: var(--hub-muted); font: 700 .6rem/1.3 var(--font-primary); text-transform: uppercase; }
.editorial-control input,
.editorial-control select,
.editorial-control textarea { box-sizing: border-box; width: 100%; border: 1px solid var(--hub-line-strong); border-radius: 3px; background: var(--hub-void); color: var(--hub-text); font: 400 .75rem/1.4 var(--font-primary); }
.editorial-control input,
.editorial-control select { min-height: 40px; padding: 0 10px; }
.editorial-control textarea { padding: 9px 10px; resize: vertical; }
.editorial-control button { min-height: 40px; border: 0; border-radius: 3px; background: var(--hub-text); color: var(--hub-void); font-weight: 750; cursor: pointer; }
.player-ledger { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; margin-top: 56px; }
.player-ledger section > h2 { margin: 0 0 16px; font-family: var(--font-editorial); font-weight: 520; }
.player-ledger details { border-top: 1px solid var(--hub-line); }
.player-ledger summary { display: grid; min-height: 58px; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; cursor: pointer; }
.player-ledger summary span { color: var(--hub-muted); font-size: .66rem; font-variant-numeric: tabular-nums; }
.player-identity { display: flex; min-width: 0; align-items: center; gap: 12px; }
.player-identity img { width: 42px; height: 42px; flex: none; border-radius: 50%; background: #fff; object-fit: cover; }
.player-identity strong { color: var(--hub-text); overflow-wrap: anywhere; }
.player-ledger dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0 0 18px; background: var(--hub-line); }
.player-ledger dl div { display: flex; justify-content: space-between; padding: 9px 12px; background: var(--hub-soft); font-size: .66rem; }
.player-ledger dd { margin: 0; font-weight: 700; }

.next-fixture { max-width: 760px; padding: 42px; background: var(--hub-surface); }
.next-fixture h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 0; font: 520 clamp(2rem, 5vw, 4rem)/1 var(--font-editorial); }
.next-fixture-team { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.next-fixture-team strong { font: inherit; overflow-wrap: anywhere; }
.next-fixture-crest { display: block; width: 52px; height: 52px; flex: none; background: transparent; object-fit: contain; }
.next-fixture-vs { color: var(--hub-muted); font: 750 .6rem/1 var(--font-primary); text-transform: uppercase; }
.next-fixture p { color: var(--hub-muted); }
.next-fixture time { font-size: .72rem; font-weight: 700; }
.hub-detail { margin-top: 42px; border-block: 1px solid var(--hub-line); }
.hub-detail > summary { min-height: 58px; display: flex; align-items: center; font-weight: 720; cursor: pointer; }
.hub-detail > div { padding: 8px 0 30px; }
.story-news { margin-top: 68px; padding-top: 24px; border-top: 1px solid var(--hub-line-strong); }
.story-news header { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.story-news h2 { margin: 0; font: 520 clamp(2rem, 4vw, 3.5rem)/1 var(--font-editorial); letter-spacing: -.03em; }
.story-news header p { max-width: 34ch; margin: 0; color: var(--hub-muted); font-size: .76rem; line-height: 1.5; }
.story-news ol { margin: 0; padding: 0; list-style: none; }
.story-news li { display: grid; grid-template-columns: 175px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--hub-line); }
.story-news time { color: var(--hub-muted); font-size: .7rem; font-variant-numeric: tabular-nums; }
.story-news a { color: var(--hub-text); font: 520 clamp(1.2rem, 2vw, 1.7rem)/1.18 var(--font-editorial); text-decoration-color: var(--hub-muted); }
.story-news a:hover { color: var(--hub-green); text-decoration-color: currentColor; }
.lineup-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.lineup-summary h2,
.standing-table h2 { font-family: var(--font-editorial); font-weight: 520; }
.story-lineup { margin: 0 0 68px; }
.story-lineup-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--hub-line); padding-bottom: 16px; }
.story-lineup-heading h2 { margin: 0; font: 520 clamp(2rem, 4vw, 3.5rem)/1 var(--font-editorial); letter-spacing: -.03em; }
.story-lineup-heading p { margin: 8px 0 0; color: var(--hub-text-soft); font-size: .85rem; }
.story-lineup-heading > span { color: var(--hub-muted); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.lineup-layout { display: grid; grid-template-columns: minmax(0, 680px) minmax(235px, 1fr); align-items: start; gap: clamp(22px, 3vw, 42px); }
.lineup-starters { min-width: 0; }
.lineup-pitch { --lineup-player-width: 106px; position: relative; min-height: 680px; aspect-ratio: 680 / 820; overflow: hidden; background: #10211b; }
.lineup-pitch-lines { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.lineup-pitch-players { position: absolute; inset: 3% 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-around; margin: 0; padding: 0; list-style: none; }
.lineup-pitch-row { flex: none; margin: 0 auto; padding: 0; list-style: none; }
.lineup-pitch-row ol { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0; padding: 0; list-style: none; }
.lineup-pitch-row-1 { width: var(--lineup-player-width); }
.lineup-pitch-row-2 { width: calc(32% + var(--lineup-player-width)); }
.lineup-pitch-row-3 { width: calc(56% + var(--lineup-player-width)); }
.lineup-pitch-row-4 { width: calc(72% + var(--lineup-player-width)); }
.lineup-pitch-row-5 { width: calc(80% + var(--lineup-player-width)); }
.lineup-player { min-width: 0; padding: 7px 4px; color: var(--hub-text); text-align: center; }
.lineup-pitch-player { flex: none; width: var(--lineup-player-width); padding: 0; }
.lineup-player-bust { display: block; width: 38px; height: 38px; margin: 0 auto 4px; }
.lineup-player-photo { border-radius: 50%; object-fit: cover; }
.lineup-pitch-player strong { min-height: 24px; padding: 4px 3px; background: rgb(7 18 14 / .9); border-radius: 3px; }
.lineup-player strong { display: block; font-size: clamp(.67rem, 1.15vw, .9rem); line-height: 1.22; overflow-wrap: anywhere; }
.lineup-player-events { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 3px; margin-top: 5px; }
.lineup-badge { display: inline-flex; align-items: center; gap: 1px; min-height: 18px; color: var(--hub-text); font-size: .62rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lineup-pitch-player .lineup-badge { padding: 1px 2px; background: rgb(7 18 14 / .9); border-radius: 2px; }
.lineup-badge img, .lineup-legend img { display: block; width: 16px; height: 16px; flex: none; }
.lineup-bench { min-width: 0; border-top: 1px solid var(--hub-line-strong); }
.lineup-bench h3 { margin: 16px 0; font: 520 1.6rem/1 var(--font-editorial); }
.lineup-bench ol, .lineup-starter-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.lineup-bench .lineup-player, .lineup-starter-list .lineup-player { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; column-gap: 10px; min-height: 56px; padding: 9px 0; border-bottom: 1px solid var(--hub-line); text-align: left; }
.lineup-bench .lineup-player-bust, .lineup-starter-list .lineup-player-bust { margin: 0; }
.lineup-bench .lineup-player strong, .lineup-starter-list .lineup-player strong { min-width: 0; font-size: .86rem; }
.lineup-bench .lineup-player-events, .lineup-starter-list .lineup-player-events { justify-content: flex-end; margin: 0; }
.lineup-coverage { margin: 14px 0; color: var(--hub-text-soft); font-size: .78rem; line-height: 1.5; }
.lineup-legend { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--hub-line); list-style: none; }
.lineup-legend li { display: inline-flex; align-items: center; gap: 6px; color: var(--hub-text-soft); font-size: .69rem; }
.standing-table { overflow-x: auto; padding-bottom: 30px; }
.standing-table table { width: 100%; min-width: 850px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.standing-table th,
.standing-table td { padding: 10px 12px; border-bottom: 1px solid var(--hub-line); text-align: right; }
.standing-table th:nth-child(3) { text-align: left; }
.standing-table tbody tr { background: color-mix(in srgb, var(--standing-zone, transparent) 22%, var(--hub-canvas)); }
.standing-table tbody tr:hover { background: color-mix(in srgb, var(--standing-zone, transparent) 34%, var(--hub-raised)); }
.standing-team { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.standing-team img { width: 24px; height: 24px; object-fit: contain; background: transparent; }
.standing-zone-cell { width: 64px; padding-inline: 5px !important; text-align: center !important; }
.standing-zone-icons { display: flex; align-items: center; justify-content: center; gap: 4px; }
.standing-zone-cell svg { display: block; flex: none; width: 20px; height: 23px; }
.standing-relegation { color: #ff747b; }
.standing-competition-logo { display: block; flex: none; width: 28px; height: 28px; padding: 2px; border-radius: 4px; background: #fff; object-fit: contain; }
.standing-logo-europa { object-fit: cover; object-position: center top; }
.standing-form-cell { min-width: 124px; }
.standing-form { display: inline-flex; justify-content: flex-end; gap: 3px; }
.standing-form span { display: inline-grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; color: var(--hub-void); font-size: .56rem; font-weight: 800; }
.standing-form .form-win { background: #67d898; }
.standing-form .form-draw { background: #c6ccca; }
.standing-form .form-loss { background: #ff747b; }
.standing-form-unavailable { color: var(--hub-muted); }
.standing-zone-champion { --standing-zone: #d3b34e; }
.standing-zone-champions,
.standing-zone-direct { --standing-zone: #386be0; }
.standing-zone-europa,
.standing-zone-playoff-seeded { --standing-zone: #e78632; }
.standing-zone-conference,
.standing-zone-playoff-unseeded { --standing-zone: #52b888; }
.standing-zone-relegation,
.standing-zone-eliminated { --standing-zone: #d64e57; }
.standing-subject th { color: #fff; font-weight: 800; }
.standing-legend { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 26px 0 0; padding: 0; list-style: none; }
.standing-legend li { display: flex; align-items: center; gap: 8px; color: var(--hub-text-soft); font-size: .67rem; }
.standing-legend i { width: 18px; height: 10px; background: var(--standing-zone); }
.standing-note { max-width: 76ch; color: var(--hub-muted); font-size: .68rem; line-height: 1.55; }
.competition-bracket { display: flex; gap: 42px; overflow-x: auto; padding: 12px 0 32px; }
.competition-bracket section { min-width: 230px; align-self: center; }
.competition-bracket section h2 { font-size: .72rem; text-transform: uppercase; }
.competition-bracket article { display: grid; margin: 24px 0; background: var(--hub-raised); }
.competition-bracket article span { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-bottom: 1px solid var(--hub-line); font-size: .72rem; }
.hub-empty { max-width: 62ch; padding: 24px 0; color: var(--hub-muted); font-family: var(--font-editorial); font-size: 1.2rem; }
.hub-footer { display: grid; width: var(--hub-page); grid-template-columns: 180px minmax(0, 1fr); align-items: start; gap: 36px; margin: 0 auto; padding: 28px 0 42px; border-top: 1px solid var(--hub-line); color: var(--hub-muted); font-size: .68rem; }
.hub-footer-brand { display: block; width: 180px; background: #000; }
.hub-footer-brand img { display: block; width: 100%; height: auto; }
.hub-footer-details { display: grid; justify-items: start; gap: 12px; min-width: 0; }
.hub-footer-details p { margin: 0; max-width: 72ch; }
.hub-footer-details .photo-credits h2 { margin: 0 0 4px; color: var(--hub-text-soft); font-size: inherit; font-weight: 700; }
.hub-footer-details .photo-credits ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hub-footer-details small { color: var(--hub-text-soft); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 900px) {
  .hub-masthead { grid-template-columns: auto 1fr; }
  .hub-private-state { display: none; }
  .hub-fixture-label { justify-items: end; text-align: right; }
  .panel-heading { grid-template-columns: 1fr; gap: 18px; }
  .video-stage { grid-template-columns: 1fr; }
  .video-choice { grid-template-columns: .7fr 1.3fr; }
  .award-shelf { grid-template-columns: 1fr; }
  .award-card { min-height: 160px; }
  .player-ledger { grid-template-columns: 1fr; }
  .lineup-layout { grid-template-columns: minmax(0, 1fr); }
  .lineup-bench ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
}

@media (max-width: 600px) {
  .report-stats-grid { grid-template-columns: minmax(0, 1fr); }
  .report-stat-values { grid-template-columns: minmax(0, 1fr) clamp(80px, 25vw, 112px) minmax(0, 1fr); }
  .report-stat-values img { width: clamp(80px, 25vw, 112px); height: clamp(80px, 25vw, 112px); }
  .next-fixture { padding: 24px; }
  .next-fixture h2 { display: grid; justify-items: start; gap: 14px; }
  .next-fixture-crest { width: 44px; height: 44px; }
  .story-news header, .story-news li { display: block; }
  .story-news header p { margin-top: 10px; }
  .story-news li { padding: 18px 0; }
  .story-news time { display: block; margin-bottom: 7px; }
  :root { --hub-page: min(100% - 24px, 1240px); }
  .hub-masthead { min-height: 66px; gap: 12px; }
  .hub-brand > span:last-child { display: none; }
  .hub-logo-plaque { width: 76px; height: 38px; }
  .hub-logo-plaque img { width: 66px; }
  .hub-fixture-label strong { font-size: .86rem; }
  .hub-fixture-label small { font-size: .5rem; }
  .hub-shell { padding-bottom: 72px; }
  .video-choice { min-height: 0; grid-template-columns: 112px 1fr; }
  .video-thumbnail,
  .video-thumbnail img,
  .video-cover-fallback,
  .video-cover-status { min-height: 170px; }
  .video-play { right: 12px; bottom: 12px; width: 44px; height: 44px; }
  .video-choice > div:last-child { padding: 18px; }
  .video-choice h2 { font-size: 1.35rem; }
  .video-panel .panel-heading p { white-space: normal; }
  .hub-tabs button { min-width: 124px; min-height: 66px; padding: 0 12px; font-size: .58rem; }
  .hub-panel { padding-top: 42px; }
  .result-deck { grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px 18px; }
  .result-score { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .result-score { font-size: 4.8rem; }
  .result-side { font-size: 1.1rem; }
  .result-crest { width: 58px; height: 58px; }
  .report-facts-section { margin-top: 34px; }
  #report-panel > * + * { margin-top: 56px; }
  .story-moments li { grid-template-columns: 48px 28px 1fr; gap: 12px; }
  .player-ledger summary { grid-template-columns: 1fr auto; }
  .player-ledger summary span:last-child { display: none; }
  .player-ledger dl { grid-template-columns: 1fr; }
  .lineup-summary { grid-template-columns: 1fr; }
  .story-lineup-heading > span { display: none; }
  .lineup-pitch { --lineup-player-width: 62px; min-height: 730px; aspect-ratio: auto; }
  .lineup-player-bust { width: 30px; height: 30px; margin-bottom: 3px; }
  .lineup-pitch-player strong { min-height: 22px; padding: 3px 2px; }
  .lineup-pitch-player strong { font-size: .65rem; }
  .lineup-bench .lineup-player, .lineup-starter-list .lineup-player { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .lineup-bench ol { grid-template-columns: 1fr; }
  .hub-footer { grid-template-columns: 1fr; gap: 20px; padding-bottom: 42px; }
}

@media (max-width: 360px) {
  .lineup-pitch { --lineup-player-width: 49px; }
  .lineup-player-bust { width: 26px; height: 26px; }
  .lineup-pitch-player strong { font-size: .58rem; }
  .lineup-pitch-player .lineup-player-events { gap: 2px; margin-top: 3px; }
  .lineup-pitch-player .lineup-badge { min-height: 15px; font-size: .53rem; }
  .lineup-pitch-player .lineup-badge img { width: 13px; height: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .video-thumbnail img,
  .video-play { transition: none; }
}

.analyst-teaser {
  display: grid; gap: 8px; margin: 24px 0; padding: 18px 20px;
  border: 1px solid var(--hub-line); color: inherit; text-decoration: none;
}
.analyst-teaser span,
.analyst-reader header span,
.analyst-editor > header span {
  color: var(--hub-muted); font-size: .75rem; font-weight: 750; line-height: 1.2;
  letter-spacing: .08em; text-transform: uppercase;
}
.analyst-reader,
.analyst-editor {
  margin: 0 0 42px; padding: 24px; border: 1px solid var(--hub-line);
  background: var(--hub-surface);
}
.analyst-reader h2, .analyst-editor h2 { margin: 8px 0 20px; }
.analyst-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--hub-line);
}
.analyst-cards article { padding: 20px; background: var(--hub-surface); }
.analyst-cards h3, .analyst-candidate h3 { margin: 0 0 8px; font-size: 1rem; }
.analyst-cards p, .analyst-candidate p { line-height: 1.55; }
.analyst-status {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px;
}
.analyst-status div { padding: 12px; background: var(--hub-raised); }
.analyst-status dt { color: var(--hub-muted); font-size: .75rem; text-transform: uppercase; }
.analyst-status dd { margin: 5px 0 0; overflow-wrap: anywhere; }
.analyst-candidate {
  margin: 20px 0; padding: 18px; border: 1px solid var(--hub-line-strong);
  background: var(--hub-raised);
}
.analyst-review, .analyst-generate { display: grid; gap: 12px; margin-top: 20px; }
.analyst-review label, .analyst-generate label { display: grid; gap: 6px; }
.analyst-review textarea { width: 100%; font-family: ui-monospace, monospace; }

@media (max-width: 719px) {
  .analyst-reader, .analyst-editor { padding: 18px; }
  .analyst-cards, .analyst-status { grid-template-columns: 1fr; }
}

.question-measurement { margin-block: 16px; padding-block: 14px; border-block: 1px solid var(--hub-line); }
.question-measurement dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.question-measurement dl div { min-width: 0; }
.question-measurement dd { margin: 4px 0 0; font-weight: 700; }
.analyst-workspace pre { overflow: auto; max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) { .question-measurement dl { grid-template-columns: 1fr; } }

/* Keep event roles adjacent to their players, preserving entry/exit colours. */
.report-match-events .match-event-person { display: flex; align-items: center; gap: 8px; min-width: 0; }
.report-match-events .match-event-person img { flex: none; filter: none; width: 20px; height: 20px; }
@media (max-width: 760px) {
  .report-match-events li { grid-template-columns: 48px minmax(0, 1fr); align-items: start; column-gap: 12px; row-gap: 4px; }
  .report-match-events .match-event-kind,
  .report-match-events .match-event-people,
  .report-match-events .match-event-team { grid-column: 2; }
  .report-match-events .match-event-team { text-align: left; }
}
