:root {
  --navy:var(--fc17-navy950); --panel:var(--fc17-navy800); --raised:var(--fc17-navy700);
  --red:var(--fc17-red); --red-hover:var(--fc17-redHover); --accent:var(--fc17-redTextOnNavy);
  --white:var(--fc17-white); --ice:var(--fc17-ice); --ink:var(--fc17-ink); --muted:var(--fc17-muted);
  --border:var(--fc17-darkBorder); --light-border:var(--fc17-lightBorder);
  --display:var(--fc17-font-display); --section:var(--fc17-sectionGap); --gap:var(--fc17-gap);
  color-scheme:dark;
}
*, *::before, *::after { box-sizing:border-box; }
[hidden] { display:none !important; }
html { scroll-padding-top:var(--fc17-anchorOffset); }
body { margin:0; font-size:var(--fc17-body-size); line-height:var(--fc17-body-lh); }
body:has(dialog[open]) { overflow:hidden; }
main { min-height:50vh; }
img { display:block; max-width:100%; }
a { color:inherit; text-underline-offset:.19em; }
button,select { font:inherit; }
button { color:inherit; cursor:pointer; }
button:disabled { cursor:default; }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { font-family:var(--display); letter-spacing:-.02em; line-height:1.08; }
h1 { font-size:var(--fc17-h1-size); line-height:var(--fc17-h1-lh); font-weight:800; text-transform:uppercase; }
h2 { font-size:var(--fc17-h2-size); font-weight:800; }
h3 { font-size:var(--fc17-h3-size); font-weight:700; }
p + p { margin-top:1em; }
.eyebrow { font-weight:700; letter-spacing:.07em; text-transform:uppercase; font-size:.875rem; color:var(--muted); }
.lead { font-size:var(--fc17-lead-size); line-height:1.5; max-width:58ch; color:var(--muted); }
.muted { color:var(--muted); margin-block:12px; }
.sr-only,.skip:not(:focus) { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip { position:absolute; z-index:20; top:8px; left:8px; padding:12px 16px; background:var(--ice); color:var(--ink); }
.cover { width:100%; height:100%; object-fit:cover; object-position:var(--focal,50% 50%); }
.fc17-light { color:var(--ink); background:var(--ice); color-scheme:light; }
.fc17-stat,.fc17-score { font-family:var(--display); font-weight:800; line-height:1; }
.fc17-stat { font-size:var(--fc17-stat-size); }
.score { font-size:var(--fc17-score-size); white-space:nowrap; text-align:center; }
.text-link,.button,.plain,.team-nav a,.team-switch a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; }
.text-link { font-weight:700; text-decoration:none; }
.text-link:hover { text-decoration:underline; }
.button { background:var(--red); color:var(--white); padding:10px 20px; font-family:var(--display); font-size:1.06rem; font-weight:800; letter-spacing:.04em; text-decoration:none; text-transform:uppercase; }
.button:hover { background:var(--red-hover); }
.light-button { background:var(--white); color:var(--ink); }
.light-button:hover { background:var(--ice); }
.plain { padding:8px 12px; border:1px solid var(--border); background:transparent; }
.plain:hover { background:var(--panel); }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px 20px; margin-top:20px; }

.masthead { background:var(--navy); border-bottom:1px solid var(--border); position:relative; z-index:5; }
.masthead-inner,.drawer-head { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.masthead-inner { min-height:var(--fc17-headerHeightDesktop); }
.brand { display:inline-flex; align-items:center; gap:12px; flex:none; text-decoration:none; font:900 1.65rem/.94 var(--display); letter-spacing:-.02em; }
.brand-crest { width:57px; height:63px; object-fit:contain; }
.desktop-nav > ul,.desktop-nav ul ul,.footer ul,#drawer ul,.breadcrumbs ol { list-style:none; margin:0; padding:0; }
.desktop-nav > ul { display:flex; gap:clamp(12px,2vw,32px); align-items:center; }
.desktop-nav li { position:relative; }
.desktop-nav > ul > li > :is(a,button) {
  display:flex; align-items:center; justify-content:center; min-width:44px; min-height:55px; border:0; background:none; color:var(--white); padding:0 2px;
  font:800 1.125rem/1 var(--display); letter-spacing:.015em; text-transform:uppercase; text-decoration:none; white-space:nowrap;
}
.desktop-nav > ul > li.current > :is(a,button)::after { position:absolute; bottom:0; left:1px; right:1px; content:""; height:3px; background:var(--red); }
.desktop-nav :is(a,button):hover { color:var(--accent); }
.desktop-nav .drop ul { position:absolute; top:100%; right:0; min-width:208px; z-index:6; background:var(--panel); border:1px solid var(--border); border-top:3px solid var(--red); }
.desktop-nav .drop ul a { display:flex; align-items:center; min-height:44px; padding:6px 14px; text-decoration:none; white-space:nowrap; }
.desktop-nav .drop ul a:hover { background:var(--raised); }
.menu-toggle,.close { display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid var(--border); background:var(--panel); }
.menu-toggle { display:none; }
.menu-toggle span { width:19px; height:2px; background:currentColor; box-shadow:0 -6px,0 6px; }
.close { font-size:1.75rem; line-height:1; }
dialog { padding:0; color:var(--white); background:var(--navy); border:1px solid var(--border); }
dialog::backdrop { background:rgb(3 11 23 / 76%); }
#drawer { position:fixed; inset:0 0 0 auto; margin:0; height:100dvh; max-height:100dvh; width:min(100%,420px); max-width:100%; overflow:auto; }
.drawer-head { padding:16px; border-bottom:1px solid var(--border); }
#drawer nav { padding:12px 16px 24px; }
#drawer nav :is(a,summary) { display:flex; min-height:44px; align-items:center; width:100%; padding:8px 12px; text-decoration:none; }
#drawer nav :is(a,summary):hover { background:var(--panel); }
#drawer summary { cursor:pointer; color:var(--white); font-weight:700; }
#drawer details { border-top:1px solid var(--border); }
#drawer details a { padding-inline-start:24px; color:var(--muted); }
.footer { border-top:1px solid var(--border); margin-top:var(--section); padding:40px 0 24px; background:var(--navy); }
.footer-grid { display:grid; grid-template-columns:1.15fr repeat(4,1fr); gap:var(--gap); align-items:start; }
.footer-grid h2 { font-size:1.25rem; text-transform:uppercase; }
.footer li a { display:inline-flex; align-items:center; min-height:44px; color:var(--muted); text-decoration:none; }
.footer li a:hover { text-decoration:underline; }
.footer-line { display:flex; flex-wrap:wrap; gap:8px 18px; border-top:1px solid var(--border); padding-top:16px; margin-top:24px; color:var(--muted); font-size:.875rem; }

.hero { position:relative; isolation:isolate; min-height:var(--fc17-heroHeight); background:var(--panel); overflow:hidden; }
.hero:not(.has-hero-photo)::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(113deg,var(--navy) 0 56%,transparent 56%),linear-gradient(113deg,var(--panel) 0 76%,var(--raised) 76%);
}
.hero-media,.women-media,.path-tile > img { position:absolute; inset:0; z-index:-2; }
.has-hero-photo::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgb(8 28 54 / 92%),rgb(8 28 54 / 34%) 63%,transparent),linear-gradient(0deg,var(--navy),transparent 53%); }
.hero-inner { min-height:inherit; display:flex; align-items:end; padding-block:48px 56px; }
.hero-copy { max-width:760px; width:100%; }
.hero-copy .eyebrow { color:var(--white); font-family:var(--display); font-size:1.04rem; letter-spacing:.16em; }
.hero h1 { margin:12px 0 10px; font-size:var(--fc17-hero-size); font-weight:800; font-style:italic; line-height:var(--fc17-hero-lh); }
.hero-sub { font:700 clamp(1.35rem,2.2vw,1.9rem)/1.18 var(--display); }
.hero .button { margin-top:20px; }
.home-stack { display:grid; gap:var(--section); padding-top:32px; }
.home-stack > *, .split > *, .feature-grid > *, .tile-grid > *, .news-grid > *, .player-grid > * { min-width:0; }
.match-controls,.section-title,.filter-bar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; }
.section-title { align-items:baseline; margin-bottom:12px; padding-top:12px; border-top:1px solid var(--border); }
.section-title h2 { text-transform:uppercase; }
.filter-bar { justify-content:flex-start; margin-bottom:16px; }
.segments { display:flex; flex-wrap:wrap; gap:2px; }
.segments button { background:var(--panel); border:0; padding:8px 14px; min-height:44px; min-width:44px; font:800 1.03rem/1 var(--display); letter-spacing:.025em; text-transform:uppercase; }
.segments button:hover { background:var(--raised); }
.segments button:is([aria-pressed="true"],[aria-selected="true"]) { background:var(--red); }
.segments button:is([aria-pressed="true"],[aria-selected="true"]):hover { background:var(--red-hover); }
.match-controls { margin-bottom:0; }
.match-slider { position:relative; }
.match-strip { display:grid; grid-auto-flow:column; grid-auto-columns:1fr; gap:1px; background:var(--light-border); }
.match-card { display:block; padding:14px 16px 16px; text-decoration:none; transition:background 150ms; min-height:150px; }
.match-card:hover,.result-row:hover { background:#e9edf3; text-decoration:underline; }
.match-meta { display:flex; justify-content:space-between; flex-wrap:wrap; gap:3px 8px; font-size:.83rem; font-weight:700; text-transform:uppercase; }
.score-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(66px,auto) minmax(0,1fr); align-items:center; gap:8px; font-weight:700; }
.match-card .score-grid { margin-top:10px; }
.side { display:flex; align-items:center; flex-direction:column; gap:6px; text-align:center; line-height:1.13; overflow-wrap:anywhere; }
.crest { display:inline-flex; justify-content:center; align-items:center; width:40px; height:44px; flex:none; }
.crest-image { width:100%; height:100%; object-fit:contain; }
.crest-text { min-width:34px; min-height:32px; display:grid; place-items:center; background:var(--panel); color:var(--white); font:700 .94rem/1 var(--display); padding-inline:3px; }
.match-card .score,.result-row .score { font-size:clamp(1.75rem,3.3vw,2.5rem); }
.slider-controls { display:flex; width:max-content; gap:6px; margin-top:6px; }
.slider-controls button,.lightbox-head button,#lightbox .actions button { min-width:44px; min-height:44px; background:var(--panel); border:1px solid var(--border); }
.slider-controls button { font-size:1.6rem; line-height:1; }
.slider-controls button:disabled { opacity:.48; }
.strip-footer { text-align:end; }
.split { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:var(--gap); }
.home-split > :last-child { border-inline-start:1px solid var(--border); padding-inline-start:var(--gap); }
.home-standings .segments { margin-bottom:8px; }
.full-standings { margin-top:4px; }
.news-list { display:grid; }
.news-card a { text-decoration:none; display:flex; flex-direction:column; height:100%; }
.news-card a:hover .news-title { text-decoration:underline; }
.news-card { background:var(--panel); }
.news-card.compact-news { background:transparent; border-bottom:1px solid var(--border); padding-block:10px; }
.compact-news.has-cover a { display:grid; grid-template-columns:minmax(108px,1fr) minmax(0,1.7fr); align-items:center; gap:16px; }
.news-copy { padding:16px; display:flex; flex-direction:column; gap:5px; }
.compact-news .news-copy { padding:0; }
.news-image { aspect-ratio:16/9; overflow:hidden; }
.news-title { font-family:var(--display); font-size:var(--fc17-h3-size); line-height:1.1; font-weight:700; }
.news-card small,.news-excerpt { color:var(--muted); }
.news-grid,.tile-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--gap); }
.women-feature,.path-tile { position:relative; isolation:isolate; overflow:hidden; }
.women-feature { background:var(--red); min-height:210px; display:flex; align-items:center; }
.women-feature:not(.has-photo)::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(113deg,transparent 68%,var(--red-hover) 68% 82%,var(--panel) 82%); }
.women-feature.has-photo::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,var(--red) 0 42%,rgb(200 16 46 / 80%) 56%,var(--navy) 100%); }
.women-feature .women-media { left:auto; width:57%; }
.women-copy { padding:20px clamp(16px,4vw,52px); }
.women-copy .eyebrow { color:var(--white); font-weight:800; font-family:var(--display); font-size:1.125rem; }
.women-copy p:not(.eyebrow) { margin:7px 0; font-weight:600; }
.women-figures { display:flex; align-items:baseline; flex-wrap:wrap; font:800 1.4rem/1 var(--display); text-transform:uppercase; gap:8px 24px; }
.women-figures span + span { border-inline-start:2px solid var(--white); padding-inline-start:24px; }
.women-figures sup { font-size:.55em; vertical-align:.27em; }
.leader-grid,.mixed-leaders { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--gap); }
.mixed-leaders { grid-template-columns:1fr 2fr; }
.mixed-leaders > .leader-grid:first-child { grid-template-columns:1fr; }
.mixed-leaders > .leader-grid:last-child { grid-template-columns:repeat(2,minmax(0,1fr)); }
.leader { min-width:0; padding:12px 16px; border-top:1px solid var(--border); border-inline-start:3px solid var(--border); }
.leader h3 a { min-height:44px; display:inline-flex; align-items:center; text-decoration:none; overflow-wrap:anywhere; }
.leader h3 a:hover { text-decoration:underline; }
.leader p { font:800 1.1rem/1 var(--display); text-transform:uppercase; }
.leader .fc17-stat { color:var(--accent); margin-inline-end:4px; }
.feature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--gap); }
.path-tile { display:flex; align-items:end; min-height:240px; background:var(--panel); border:1px solid var(--border); }
.path-tile.has-photo { min-height:320px; }
.path-tile.has-photo::after { position:absolute; inset:0; z-index:-1; content:""; background:linear-gradient(0deg,var(--navy),rgb(8 28 54 / 60%) 45%,transparent); }
.path-copy { padding:var(--fc17-cardPaddingDesktop); }
.path-copy h2 { font-style:italic; text-transform:uppercase; }
.path-copy p { margin:9px 0 13px; }
.instagram { border-top:1px solid var(--border); padding-top:8px; }
.social-title { min-height:44px; display:inline-flex; align-items:center; text-decoration:none; font-size:1.5rem; }
.social-title:hover { text-decoration:underline; }
.instagram-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:4px; }
.instagram-grid a { aspect-ratio:1; }
.partners-marks { display:flex; gap:24px; align-items:center; flex-wrap:wrap; }
.partners-marks img,.partner-name img { max-width:140px; max-height:56px; object-fit:contain; }
.empty { padding:24px; background:var(--panel); border:1px solid var(--border); }
.empty a { margin-top:4px; }
.breadcrumbs { padding-block:8px; }
.breadcrumbs ol { display:flex; flex-wrap:wrap; align-items:center; column-gap:9px; color:var(--muted); font-size:.91rem; }
.breadcrumbs li { display:flex; align-items:center; }
.breadcrumbs li:not(:last-child)::after { content:"/"; margin-inline-start:9px; }
.breadcrumbs a { display:inline-flex; align-items:center; min-height:44px; }
.page-content { padding-block:12px 0; }
.intro { min-height:175px; padding:24px 0; display:flex; align-items:center; gap:var(--gap); }
.intro h1 { margin:5px 0 9px; overflow-wrap:anywhere; }
.intro:not(.with-photo) .lead { max-width:66ch; }
.intro-photo { width:min(48%,620px); aspect-ratio:16/9; height:auto; flex:none; }
.page-section { margin-top:var(--section); }
.team-context { display:grid; gap:10px; border-block:1px solid var(--border); padding:8px 0; }
.team-switch,.team-nav { display:flex; flex-wrap:wrap; gap:4px 14px; }
.team-nav a,.team-switch a { text-decoration:none; padding-inline:9px; font-weight:700; }
.team-nav a:hover,.team-switch a:hover { background:var(--panel); }
.team-nav a[aria-current="page"] { box-shadow:inset 0 -3px var(--red); }
.team-switch a { min-width:74px; font:800 1.05rem/1 var(--display); text-transform:uppercase; background:var(--panel); }
.team-switch a[aria-current="true"] { background:var(--red); }
.filter { display:inline-flex; flex-direction:column; gap:4px; font-size:.875rem; font-weight:700; }
.filter select { min-height:44px; width:100%; max-width:100%; border:1px solid var(--border); border-radius:var(--fc17-radiusControl); background:var(--panel); padding:6px 12px; color:var(--white); font-size:1rem; }
[data-month] { margin-bottom:24px; }
[data-month] > h2 { font-size:var(--fc17-h3-size); margin-block:16px 6px; }
.result-list { border-top:3px solid var(--red); }
.result-row { display:grid; grid-template-columns:minmax(120px,1fr) minmax(0,3fr) minmax(80px,.55fr); align-items:center; gap:14px; padding:12px 16px; text-decoration:none; border-bottom:1px solid var(--light-border); }
.result-row .side { flex-direction:row; }
.result-row .side.home { flex-direction:row-reverse; text-align:right; justify-content:end; }
.result-row .side.away { text-align:left; }
.result-meta { display:flex; flex-direction:column; font-size:.875rem; }
.result-status { display:flex; align-items:center; justify-content:end; gap:8px; font-size:.8rem; white-space:nowrap; }
.outcome { display:grid; place-items:center; width:24px; height:24px; color:var(--white); background:var(--panel); font-weight:700; }
.outcome.w { background:var(--fc17-win); }
.outcome.d { background:#80500c; }
.outcome.l { background:var(--fc17-loss); }
.table-scroll { overflow-x:auto; max-width:100%; }
table { border-collapse:collapse; width:100%; font-variant-numeric:tabular-nums; text-align:center; }
caption { background:var(--ice); color:var(--ink); padding:9px 12px; text-align:left; font-weight:700; }
thead { background:#e8ecf2; }
td,th { padding:8px 10px; border-bottom:1px solid var(--light-border); }
th[scope="row"] { text-align:left; }
table a { display:inline-flex; min-height:44px; align-items:center; }
.full-table { border-top:3px solid var(--red); }
.full-table table { min-width:600px; }
.compact td,.compact th { padding:6px 8px; }
.table-club { display:flex; align-items:center; gap:7px; line-height:1.15; }
.table-club .crest { width:26px; height:27px; }
.table-club .crest-text { min-width:23px; min-height:22px; font-size:.72rem; }
.col-points,.col-rank { font-weight:800; }
.balcatta { background:var(--red); color:var(--white); }
.stat-strip { display:grid; grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); gap:var(--gap); margin-top:20px; }
.stat-strip > div { background:var(--panel); border-top:3px solid var(--red); padding:16px; }
.stat-strip strong,.stat-strip span { display:block; }
.stat-strip span { color:var(--muted); }
.stat-panel,.stat-panel > section,.stat-table { margin-top:16px; }
.stat-table table { min-width:560px; }
.stat-table th button { color:var(--ink); background:none; border:0; min-height:44px; min-width:44px; font-weight:700; padding:4px; text-decoration:underline; }
.player-grid,.product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--gap); }
.player-card,.product-card { display:block; text-decoration:none; background:var(--panel); border:1px solid var(--border); }
.player-card:hover,.product-card:hover { border-color:var(--accent); }
.portrait { display:grid; place-items:center; position:relative; aspect-ratio:3/4; overflow:hidden; width:100%; background:var(--panel); border-bottom:1px solid var(--border); }
.initials { font:800 clamp(2.5rem,7vw,5.5rem)/1 var(--display); color:var(--muted); }
.jersey { position:absolute; inset:8px auto auto 8px; padding:4px 8px; background:var(--red); font-weight:700; }
.player-card-copy,.product-card > span { display:grid; gap:4px; padding:12px; }
.player-card-copy strong,.product-card strong { font:700 var(--fc17-h3-size)/1.1 var(--display); overflow-wrap:anywhere; }
.player-card-copy small { color:var(--muted); }
.profile-head { display:grid; grid-template-columns:minmax(160px,1fr) minmax(0,2fr); gap:var(--gap); align-items:center; margin-bottom:16px; }
.profile-head > .portrait { max-width:280px; }
.match-head { padding:28px 16px; text-align:center; background:var(--panel); border-top:3px solid var(--red); }
.match-head h1 { margin:8px 0 20px; }
.stadium-score { grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr); max-width:880px; margin-inline:auto; }
.stadium-score .crest { width:68px; height:74px; }
.stadium-score .side > span:nth-child(2) { font:700 var(--fc17-h3-size)/1.1 var(--display); }
.stadium-score .score small,.stadium-score .side small { display:block; font:600 .83rem/1.3 var(--fc17-font-body); margin-block-start:4px; color:var(--muted); white-space:normal; }
.match-venue { margin-top:18px; color:var(--muted); }
[data-match-panel] { margin-top:16px; }
.timeline,.xi-list,.detail-list,.milestones { padding:0; list-style:none; margin:0 0 16px; }
.timeline { display:grid; gap:4px; }
.event { display:grid; gap:12px; grid-template-columns:minmax(44px,60px) 1fr; align-items:center; min-height:54px; padding:8px 12px; background:var(--panel); max-width:70%; }
.event-away { justify-self:end; width:70%; }
.event-home { width:70%; }
.event-time { color:var(--accent); font-weight:700; text-align:center; }
.event-detail { display:grid; min-width:0; }
.event-detail small { color:var(--muted); }
.event-detail a,.xi-list a { display:inline-flex; min-height:44px; align-items:center; }
.xi-list li,.detail-list li { border-bottom:1px solid var(--border); padding:6px 0; }
.xi-list li { display:grid; grid-template-columns:32px 1fr; align-items:center; }
.detail-list li strong { display:inline-block; margin-right:8px; }
.tile { display:block; background:var(--panel); padding:var(--fc17-cardPaddingDesktop); border:1px solid var(--border); min-width:0; }
.tile h2,.tile h3 { margin-bottom:6px; }
.tile p + .text-link { margin-top:6px; }
.tile-link { text-decoration:none; font:700 var(--fc17-h3-size)/1.15 var(--display); }
.tile-link:hover { border-color:var(--accent); text-decoration:underline; }
.prose { width:min(100%,760px); margin:12px 0 24px; font-size:1.125rem; line-height:1.6; }
.article-date { color:var(--muted); margin-block:0 12px; }
.editorial-figure,.product-figure { margin:20px 0; max-width:820px; }
.editorial-figure .cover { aspect-ratio:16/9; height:auto; }
.product-figure { max-width:430px; }
.product-figure .cover,.product-card .cover { height:auto; aspect-ratio:1; object-fit:contain; background:var(--ice); padding:12px; }
.product-card { color:var(--ink); background:var(--ice); }
.product-figure figcaption,.editorial-figure figcaption { color:var(--muted); margin-top:8px; }
.price { font:800 2rem/1.1 var(--display); margin-block:12px; }
.milestones { max-width:820px; }
.milestones li { display:grid; grid-template-columns:87px 1fr; align-items:center; gap:14px; padding:10px 0; border-bottom:1px solid var(--border); }
.milestones strong { color:var(--accent); font:800 1.65rem/1 var(--display); }
.photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--gap); }
.photo-tile { aspect-ratio:4/3; background:var(--panel); border:0; padding:0; }
#lightbox { max-width:min(92vw,1100px); max-height:92dvh; padding:12px; }
.lightbox-head { display:flex; justify-content:end; }
#lightbox figure { margin:0; }
#lightbox img { width:auto; height:auto; max-height:65dvh; object-fit:contain; }
#lightbox .actions { justify-content:space-between; }
@media (max-width:1199px) {
  .desktop-nav { display:none; }
  .menu-toggle { display:grid; }
  .masthead-inner { min-height:72px; }
  .brand-crest { width:48px; height:52px; }
  .footer-grid { grid-template-columns:repeat(4,1fr); }
  .footer-grid > .brand { grid-column:1/-1; }
  .player-grid,.product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 950px) {
  .split { grid-template-columns:1fr; }
  .home-split > :last-child { border-inline-start:0; padding-inline-start:0; }
}
@media (max-width:767px) {
  .masthead-inner { min-height:66px; }
  .brand { font-size:1.4rem; }
  .brand-crest { width:40px; height:46px; }
  .hero-inner { padding-block:32px; }
  .hero:not(.has-hero-photo)::after { background:linear-gradient(112deg,var(--navy) 0 76%,var(--panel) 76% 91%,var(--raised) 91%); }
  .home-stack { padding-top:18px; }
  .match-controls { gap:5px; }
  .match-controls .segments button { padding-inline:10px; }
  .match-strip { grid-auto-columns:89%; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:thin; }
  .match-card { padding:12px; scroll-snap-align:start; }
  .match-card:focus-visible { outline-offset:-4px; }
  .news-grid,.tile-grid { grid-template-columns:1fr; }
  .feature-grid { grid-template-columns:1fr; }
  .leader-grid,.mixed-leaders > .leader-grid:last-child { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mixed-leaders { grid-template-columns:1fr; gap:8px; }
  .leader { padding:8px 10px; }
  .path-copy,.tile { padding:var(--fc17-cardPaddingMobile); }
  .path-tile { min-height:180px; }
  .women-figures { gap:8px 16px; }
  .women-figures span + span { padding-inline-start:16px; }
  .footer { padding-top:24px; }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-content { padding-top:0; }
  .intro { min-height:140px; padding-block:16px; }
  .intro.with-photo { display:grid; }
  .intro-photo { width:100%; }
  .result-row { grid-template-columns:1fr auto; gap:8px; padding:10px 11px; }
  .result-meta { grid-row:1; }
  .result-row .score-grid { grid-column:1/-1; grid-row:2; }
  .result-status { grid-row:1; }
  .result-row .side.home,.result-row .side.away { flex-direction:column; text-align:center; }
  .profile-head { grid-template-columns:1fr; gap:0; }
  .profile-head > .portrait { width:min(52%,220px); margin-inline:auto; }
  .player-grid,.product-grid,.photo-grid,.instagram-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .player-card-copy,.product-card > span { padding:9px; }
  .team-nav { gap:2px 8px; }
  .team-nav a { padding-inline:6px; }
  .stadium-score { grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr); gap:4px; }
  .stadium-score .crest { width:45px; height:48px; }
  .event-home,.event-away { width:100%; max-width:100%; }
}
@media (max-width:374px) {
  .match-controls .segments button { padding-inline:8px; }
  .compact :is(.col-played,.col-gd) { display:none; }
}

