:root {
  --night: var(--fc19-navy-950);
  --navy: var(--fc19-navy-800);
  --blue: var(--fc19-blue-600);
  --red: var(--fc19-red-600);
  --gold: var(--fc19-gold-400);
  --ice: var(--fc19-surface);
  --ink: var(--fc19-ink);
  --muted: var(--fc19-muted);
  --line: var(--fc19-line);
  --display: var(--fc19-font-display);
  --body: var(--fc19-font-body);
  --radius: var(--fc19-radius-card);
  --shadow: var(--fc19-shadow);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--ice); font: 400 1rem/1.55 var(--body); }
main { min-height: 55vh; }
img { display: block; height: auto; max-width: 100%; }
h1,h2,h3,p,figure,ol,ul,dl,dd { margin: 0; }
p + p { margin-top: .85em; }
h1,h2,h3 { font-family: var(--display); font-weight: 800; line-height: 1.04; }
h1 { font-size: var(--fc19-h1-size); }
h2 { font-size: var(--fc19-h2-size); }
h3 { font-size: var(--fc19-h3-size); }
a { color: var(--navy); text-underline-offset: .22em; }
a:hover { color: var(--blue); }
button,select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
:is(.site-header,.hero,.site-footer,.mast,.match-panel,.performers,.heritage) :focus-visible { outline-color: var(--gold); }
.wrap { width: min(100%, var(--fc19-container)); margin-inline: auto; padding-inline: var(--fc19-page-pad); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 20; left: 12px; top: 12px; transform: translateY(-150%); background: var(--gold); color: var(--ink); padding: 10px 18px; }
.skip:focus { transform: none; }
.kicker { color: var(--gold); font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .36rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.15rem; }
.button,.text-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; font-weight: 700; gap: .45rem; }
.button { padding: .55rem 1rem; border: 1px solid transparent; color: var(--night); background: var(--gold); border-radius: 4px; line-height: 1.12; }
.button:hover { background: #f5cf7e; color: var(--night); }
.button.outline { color: #fff; background: #071a3a4f; border-color: #bacce6; }
.button.outline:hover { background: var(--navy); color: #fff; }
.button.plain { background: white; border-color: var(--line); color: var(--navy); }
.text-link { color: var(--navy); font-size: .91rem; text-decoration: underline; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.inner-card { padding: clamp(1rem,2.5vw,1.8rem); }
.inner-card h2 { font-size: clamp(1.55rem,2.3vw,2.25rem); }
.inner-card h3 { margin-top: 1rem; }
.inner-card p,.inner-card address { margin: .55rem 0; }
.body-space { padding-block: clamp(1.5rem,3.5vw,3rem) clamp(2.25rem,5vw,4.5rem); }
.prose { max-width: 49rem; }
.prose > p { margin: 1rem 0; }
.prose > h2 { margin-top: 1.65rem; }
.prose > h2:first-child { margin-top: 0; }
.two-col { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--fc19-gutter); align-items: start; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--fc19-gutter); }
.empty { padding: clamp(1.5rem,4vw,3rem); text-align: center; max-width: 52rem; margin-inline: auto; }
.empty svg { color: var(--blue); margin-bottom: .6rem; }
.empty p { margin: .6rem 0 1.15rem; }
.notice { padding: .85rem 1rem; margin-bottom: 1rem; background: #fff3d9; border-inline-start: 4px solid #b37f22; border-radius: 3px; font-weight: 600; }
.footnote { color: var(--muted); font-size: .9rem; margin: .8rem 0 1.25rem; }
.related { margin-top: 1.45rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.related h2 { font-size: 1.55rem; }
.section-head { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin: 0 0 .8rem; }
.section-head h2,.match-panel h2,.performers h2,.heritage h2,.shop-title h2,.partners-strip h2 { text-transform: uppercase; font-style: italic; }
.section-head > a { margin-left: auto; }
.red-rule { width: 48px; height: 3px; display: inline-block; background: var(--red); transform: skewX(-14deg); }
.gold-rule { width: 118px; height: 5px; display: block; background: var(--gold); transform: skewX(-22deg); margin: .7rem 0 1rem; }
.crest { object-fit: contain; height: auto; aspect-ratio: 1; }
.checker { position: absolute; pointer-events: none; background: conic-gradient(#fff 25%, var(--red) 0 50%, #fff 0 75%, var(--red) 0) 0 0 / 44px 44px; transform: skewX(-23deg); }

.site-header { position: relative; z-index: 10; color: white; background: linear-gradient(105deg,#07183c,#0a2353 38%,#061735 72%); border-bottom: 2px solid #123363; }
.header-grid { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(1.2rem,3vw,3rem); }
.brand { min-height: 76px; display: inline-flex; align-items: center; gap: .8rem; color: white; text-decoration: none; align-self: center; }
.brand:hover { color: white; }
.brand .crest { width: clamp(52px,6.1vw,86px); flex: 0 0 auto; }
.brand-type strong { display: block; font: 800 clamp(1.32rem,2.1vw,1.98rem)/.89 var(--display); text-transform: uppercase; }
.brand-type small { display: block; letter-spacing: .045em; font-size: .72rem; font-weight: 700; margin-top: .57rem; text-transform: uppercase; }
.brand-type small span { color: var(--gold); margin-inline: .23rem; }
.header-grid > .brand { grid-row: span 2; }
.utility { display: flex; justify-content: flex-end; align-items: center; gap: .8rem; min-height: 61px; border-bottom: 1px solid #526581; }
.utility-social,.utility-shop { display: inline-flex; min-height: 44px; min-width: 44px; gap: .35rem; align-items: center; justify-content: center; text-decoration: none; color: #fff; }
.utility-shop { padding-inline: .83rem; font-weight: 700; text-transform: uppercase; font-size: .82rem; background: #c91924; border-radius: 4px; }
.utility-social:hover,.utility-shop:hover { color: #fff; background: #8e1520; }
.desktop-nav { display: flex; align-items: stretch; justify-content: space-between; gap: .2rem; }
.nav-item { display: inline-flex; align-items: center; position: relative; min-height: 46px; padding: 0 .45rem; text-decoration: none; color: #fff; font: 700 clamp(.85rem,1.15vw,1.08rem)/1 var(--display); text-transform: uppercase; letter-spacing: .025em; }
.nav-item:hover { color: var(--gold); }
.nav-item.is-active::after { content: ""; height: 3px; background: var(--gold); position: absolute; inset: auto 0 0; }
.club-menu { position: relative; display: flex; }
.club-sub { display: none; position: absolute; top: 100%; left: 0; width: 13rem; background: var(--night); border: 1px solid #38527b; box-shadow: 0 12px 30px #0004; }
.club-menu:not(.dismissed):is(:hover,:focus-within) .club-sub { display: grid; }
.club-sub .nav-item { padding-inline: .95rem; }
.menu-toggle,.mobile-nav { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--night); }
.hero-visual { position: absolute; inset: 0; z-index: -1; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: var(--fc19-hero-gradient); }
.hero-image { width: 73%; height: 100%; margin-left: auto; object-fit: cover; object-position: 64% center; }
.hero-graphic { width: 73%; height: 100%; overflow: hidden; position: absolute; inset: 0 0 0 auto;
  background: repeating-linear-gradient(140deg,transparent 0 42px,#4c7dde12 43px 44px,transparent 45px 74px),linear-gradient(122deg,#0b2150 15%,#103174 61%,#1646a1 100%); }
.hero-graphic::before { content: ""; position: absolute; inset: -38% -7% -42% 48%; transform: skewX(-25deg);
  border-inline: 1px solid #81aaff55; background: linear-gradient(135deg,#15489a50,#05163622); box-shadow: -32px 0 0 #3774d439,-36px 0 0 #081835,28px 0 0 #b7d1ff1e; }
.hero-graphic .crest { position: absolute; top: 50%; right: 13%; width: clamp(220px,29vw,480px); transform: translateY(-50%) rotate(-9deg);
  opacity: .33; filter: drop-shadow(0 14px 30px #04102d); }
.ghost-field { position: absolute; width: 58%; height: 74%; top: 13%; right: -14%; transform: skewX(-25deg); border: 1px solid #abc2eb5e; border-radius: 50%; }
.hero > .checker { height: 142px; width: 106px; left: -49px; top: -16px; opacity: .92; mask-image: linear-gradient(#000 57%, transparent); }
.hero-inner { min-height: clamp(460px,37vw,555px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 2.3rem; }
.hero-name { font-weight: 700; text-transform: uppercase; letter-spacing: .23em; font-size: .91rem; display: flex; align-items: center; gap: .7rem; }
.hero-name::before { content: ""; width: 32px; height: 3px; background: var(--red); transform: skewX(-18deg); }
.hero h1 { color: #fff; font-size: clamp(3.8rem,6.75vw,6.5rem); font-weight: 900; font-style: italic; line-height: .82; text-transform: uppercase; letter-spacing: -.015em; margin: .7rem 0 .14rem; }
.hero-copy { max-width: 25rem; color: #f2f6ff; font-size: 1.05rem; margin: 0 0 1.15rem; }
.hero .button { font-size: .92rem; text-transform: uppercase; }

.mast { background: repeating-linear-gradient(133deg,transparent 0 56px,#27468434 57px 58px,transparent 59px 95px),linear-gradient(103deg,var(--night),var(--navy) 83%,#123777); color: white; padding: .65rem 0 1.35rem; }
.mast h1 { overflow-wrap: anywhere; }
.mast .kicker { margin-top: .35rem; }
.lead { color: #e0eafe; margin: .38rem 0 0; font-weight: 500; }
.crumbs { color: #dfe9fb; font-size: .84rem; }
.crumbs ol { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0 .55rem; }
.crumbs li:not(:first-child)::before { content: "/"; margin-right: .55rem; color: var(--gold); }
.crumbs a { display: inline-flex; align-items: center; min-height: 36px; color: #fff; }

.site-footer { color: #fff; background: linear-gradient(100deg,#09295b 0%,var(--night) 51%); }
.footer-grid { display: grid; grid-template-columns: 1.65fr 1.5fr repeat(4,minmax(0,1fr)); gap: .9rem 1.05rem; padding-block: 1.65rem; }
.footer-grid a { color: #e7effe; }
.footer-grid > :not(:first-child) { border-left: 1px solid #57709a; padding-left: .8rem; }
.footer-grid > div:not(:first-child) a { display: block; width: fit-content; min-height: 27px; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid h2 { margin-bottom: .45rem; font-size: 1.18rem; text-transform: uppercase; }
.footer-grid .brand { min-height: auto; }
.footer-grid .brand .crest { width: clamp(45px,5vw,70px); }
.footer-grid .brand strong { font-size: clamp(1.15rem,1.6vw,1.58rem); }
address { font-style: normal; overflow-wrap: anywhere; }
.footer-grid address { font-size: .94rem; }
.footer-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding-block: .75rem; border-top: 1px solid #49618b; color: #d9e4f8; font-size: .86rem; }
.footer-end a { color: inherit; }


.sporting { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: var(--fc19-gutter); padding-block: .85rem; align-items: stretch; }
.match-panel { position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: start; gap: .55rem; padding: 1rem clamp(1rem,2vw,1.75rem) .75rem;
  background: radial-gradient(ellipse at 25% 20%, #13377b,transparent 65%), var(--night); color: white; border-radius: var(--radius); }
.match-panel > .checker { z-index: -1; inset: 0 auto auto -32px; width: 53px; height: 76px; background-size: 30px 30px; mask-image: linear-gradient(#000 55%,transparent); }
.match-panel h2 { font-size: clamp(1.75rem,3vw,2.6rem); }
.tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .8rem; }
.tabs a { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; padding: .4rem .78rem; border-radius: 4px; line-height: 1.2; }
.home-tabs a { background: #102b5d; color: #fff; border: 1px solid #60779f; }
.home-tabs a[aria-selected="true"] { background: #fff; color: var(--night); border-color: #fff; }
.section-tabs { border-bottom: 1px solid var(--line); margin: 1.1rem 0 1rem; padding-bottom: .55rem; }
.section-tabs a { background: white; border: 1px solid var(--line); }
.section-tabs a[aria-selected="true"] { color: white; background: var(--navy); border-color: var(--navy); }
.latest-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.latest-card { display: grid; text-decoration: none; color: var(--ink); background: white; border: 1px solid #cfd7e4; border-radius: 5px; padding: .68rem; gap: .52rem; }
.latest-card:hover { color: var(--navy); background: #f0f5ff; }
.compact-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .12rem .35rem; color: var(--navy); font-size: .75rem; font-weight: 700; }
.compact-side { min-height: 33px; display: flex; align-items: center; gap: .42rem; overflow-wrap: anywhere; }
.compact-side .crest { width: 23px; flex: 0 0 auto; }
.compact-side b { margin-left: auto; min-width: 1.75rem; text-align: center; background: var(--night); color: #fff; border-radius: 3px; }
.compact-status { text-align: center; }
.tag { display: inline-flex; justify-content: center; align-items: center; background: #e2e9f2; padding: .14rem .55rem; color: var(--night); border-radius: 20px; font-size: .75rem; font-weight: 700; line-height: 1.25; }
.compact-status .tag { background: #e1f3e8; color: #0e5732; }
.match-panel .text-link,.performers .text-link { color: #fff; }
.upcoming { display: grid; align-content: center; min-height: 170px; }
.upcoming .text-link { justify-content: start; }
.ladder-panel { overflow: hidden; align-self: stretch; display: flex; flex-direction: column; }
.ladder-panel header { background: var(--navy); color: #fff; padding: .65rem .9rem; }
.ladder-panel h2 { font-size: clamp(1.45rem,2.4vw,2.05rem); text-transform: uppercase; }
.ladder-info { display: flex; justify-content: space-between; align-items: center; gap: .25rem .65rem; flex-wrap: wrap; padding: .18rem .65rem 0; margin-top: auto; }
.ladder-info small { font-size: .76rem; color: var(--muted); }
.ladder-info .text-link { font-size: .84rem; }
.table-scroll { overflow-x: auto; background: white; border-radius: var(--radius); border: 1px solid var(--line); max-width: 100%; }
.table-scroll table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table-scroll :is(th,td) { padding: .62rem .72rem; border-bottom: 1px solid #e2e7ee; text-align: center; white-space: nowrap; }
.table-scroll .team-col { text-align: left; white-space: normal; min-width: 10rem; }
.team-col .crest { width: 24px; flex: none; }
.team-col > span { display: flex; align-items: center; gap: .45rem; }
.table-scroll thead { background: #e0e8f4; color: var(--night); }
.table-scroll tbody tr:nth-child(even) { background: #f6f8fb; }
.table-scroll .club-row,.table-scroll .club-row:nth-child(even) { color: var(--night); background: var(--gold); }
.points { font-weight: 700; }
.points sup { margin-inline-start: .12rem; }
.compact-table { border: 0; border-radius: 0; }
.compact-table :is(th,td) { padding: .32rem .4rem; font-size: .83rem; }
.compact-table .team-col { min-width: 6rem; line-height: 1.2; }
.compact-table .crest { width: 18px; }

.performers { background: linear-gradient(111deg,#10316f,#061735 46%,#092451); color: white; }
.performers-grid { display: grid; grid-template-columns: 1.15fr repeat(4,minmax(0,1fr)); align-items: stretch; padding-block: 1rem; }
.performers-intro { padding: .45rem .85rem .2rem 0; }
.performers-intro h2 { font-size: clamp(2rem,3.7vw,3.3rem); line-height: .88; }
.performers-intro .text-link { margin-top: .22rem; }
.leader { display: flex; flex-direction: column; align-items: start; justify-content: space-between; gap: .2rem; min-height: 143px;
  overflow: hidden; padding: .5rem .75rem .5rem clamp(.64rem,1.6vw,1.35rem); position: relative; isolation: isolate; border-left: 1px solid #8ea0bb; color: white; text-decoration: none; }
.leader:hover { color: #fff; background: #17428361; }
.leader-label { font: italic 800 clamp(.94rem,1.5vw,1.2rem)/1.07 var(--display); text-transform: uppercase; }
.leader > strong { font: italic 900 clamp(2.6rem,4.5vw,4.25rem)/.88 var(--display); }
.leader-name { background: var(--gold); color: var(--night); font: 800 clamp(.91rem,1.45vw,1.13rem)/1.2 var(--display); text-transform: uppercase; padding: .28rem .58rem; border-radius: 3px; }
.leader-initials { position: absolute; z-index: -1; top: .65rem; right: .2rem; font: italic 900 clamp(2.7rem,7vw,6.4rem)/1 var(--display); color: #29477a; }
.leader-photo { position: absolute; z-index: -1; bottom: 0; right: 0; height: 100%; width: 65%; object-fit: cover; }

.home-news { background: linear-gradient(146deg,#f0f2f6 0%,#fff 34%,#f5f6f8 100%); padding-block: 1.1rem 1.45rem; }
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--fc19-gutter); }
.news-card { position: relative; display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.news-card:hover { box-shadow: var(--fc19-shadow-hover); }
.news-card.text-only { border-top: 4px solid var(--navy); }
.news-frame { display: block; overflow: hidden; aspect-ratio: 16/9; }
.news-frame img { width: 100%; height: 100%; object-fit: cover; }
.news-copy { padding: clamp(.9rem,1.8vw,1.34rem); }
.news-copy h3 { margin: .3rem 0 .55rem; }
.news-copy h3 a { color: var(--night); text-decoration: none; }
.news-copy h3 a:hover { text-decoration: underline; }
.news-copy h3 a::after { content: ""; position: absolute; inset: 0; }
.news-meta { display: flex; gap: .25rem .65rem; justify-content: space-between; flex-wrap: wrap; color: var(--muted); font-size: .84rem; font-weight: 600; }
.news-meta span { color: #a71721; font-weight: 700; text-transform: uppercase; }
.category-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; }
.category-filter { min-height: 44px; border: 1px solid var(--line); background: white; color: var(--navy); padding: .4rem .7rem; border-radius: 4px; font-weight: 600; }
.category-filter[aria-pressed="true"] { background: var(--navy); color: white; }

.heritage { display: grid; grid-template-columns: 5fr 7fr; color: #fff; background: linear-gradient(110deg,#09265a,#061735); }
.heritage-media { position: relative; overflow: hidden; }
.heritage-media .checker { top: -30px; left: -42px; width: 120px; height: 160px; mask-image: linear-gradient(#000 47%,transparent); }
.heritage-image,.heritage-emblem { width: 100%; height: 100%; min-height: 235px; object-fit: cover; }
.heritage-emblem { display: grid; place-items: center; background: repeating-linear-gradient(143deg,transparent 0 24px,#507cc134 25px 26px,transparent 27px 54px),linear-gradient(130deg,#1b4590,#082353); }
.heritage-emblem .crest { width: clamp(116px,15vw,195px); filter: drop-shadow(0 8px 18px #02163777); transform: rotate(-8deg); }
.heritage-content { position: relative; max-width: 810px; padding: clamp(1.15rem,2.8vw,2.65rem) var(--fc19-page-pad) 1.5rem clamp(1.2rem,4vw,3.6rem); }
.heritage-content::before { content: ""; inset: 0 auto 0 -15px; width: 23px; background: #0a2350; position: absolute; transform: skewX(-9deg); }
.heritage-copy { display: grid; grid-template-columns: minmax(10rem,.82fr) minmax(0,1.25fr); gap: .7rem 1.4rem; align-items: center; }
.heritage-copy h2 { line-height: .91; }
.heritage-bottom { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .65rem 1.1rem; margin-top: .95rem; }
.heritage-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .7rem; flex: 1 1 330px; max-width: 485px; }
.heritage-facts > div { display: grid; justify-items: center; align-content: start; gap: .28rem; text-align: center; }
.heritage-facts svg { color: var(--gold); }
.heritage-facts strong { font-size: .77rem; line-height: 1.12; text-transform: uppercase; }
.social-section { background: white; padding-block: .9rem; }
.social-icon { display: inline-flex; color: #a81546; }
.social-note { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1.2rem; padding: .2rem .85rem; background: var(--ice); border-left: 3px solid var(--gold); }
.shop-feature { background: #e9eef6; border-block: 1px solid var(--line); }
.shop-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2.2fr); }
.shop-title { position: relative; isolation: isolate; overflow: hidden; padding: 1.15rem 1.35rem 1.35rem; background: linear-gradient(115deg,#123679,var(--night)); color: white; }
.shop-title .checker { inset: 0 auto auto -31px; width: 40px; height: 72px; z-index: -1; background-size: 26px 26px; }
.shop-title h2 { line-height: .9; }
.shop-copy { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; align-items: center; padding: 1rem 0 1rem clamp(1rem,3vw,2.5rem); }
.shop-copy .button,.partners-strip .text-link { margin-left: auto; }
.partners-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.2rem; padding-block: 1.15rem; }
.partners-strip h2 { font-size: 1.65rem; }


.filters { display: flex; flex-wrap: wrap; gap: .65rem 1rem; padding: .9rem; align-items: end; }
.filters label,.stat-controls label { display: grid; gap: .27rem; font-weight: 600; color: var(--navy); }
select { border: 1px solid #aab7ca; border-radius: 4px; padding: .45rem .62rem; min-height: 44px; color: var(--night); background: white; max-width: 100%; }
.result-count { margin: .9rem 0; font-weight: 600; color: var(--muted); }
.result-list { display: grid; gap: .55rem; }
.match-row { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); display: grid; align-items: center;
  grid-template-columns: minmax(160px,1.05fr) minmax(0,2.4fr) minmax(45px,auto); padding: .6rem .8rem; gap: .45rem .9rem; text-decoration: none; }
.match-row:hover { background: #eff5ff; }
.row-meta { font-size: .85rem; color: var(--muted); display: grid; line-height: 1.22; gap: .23rem; }
.row-meta > span:first-child { font-weight: 700; color: var(--navy); }
.row-board { display: grid; grid-template-columns: minmax(0,1fr) minmax(3.7rem,auto) minmax(0,1fr); gap: .45rem; align-items: center; }
.row-team { display: flex; justify-content: end; align-items: center; gap: .42rem; text-align: right; font-weight: 700; overflow-wrap: anywhere; line-height: 1.16; }
.row-team:last-child { justify-content: start; text-align: left; }
.row-team .crest { width: 23px; flex: 0 0 auto; }
.row-team:first-child .crest { order: 1; }
.row-score { display: grid; text-align: center; color: var(--night); }
.row-score b { font: 800 1.65rem/.96 var(--display); font-variant-numeric: tabular-nums; }
.row-score small { font-size: .74rem; line-height: 1.2; }
.outcome.w { background: #d8f0e3; color: #0b5330; }
.outcome.d { background: #e3e9f3; color: #263b5f; }
.outcome.l { background: #f9e3e4; color: #811c25; }
.scoreboard { color: #fff; border-radius: var(--radius); background: radial-gradient(ellipse at center,#173d80,var(--night)); padding: clamp(.9rem,3vw,2rem); text-align: center; }
.scoreboard-inner { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: clamp(.35rem,2vw,1.7rem); }
.board-team { display: grid; align-content: start; justify-items: center; gap: .28rem; overflow-wrap: anywhere; line-height: 1.06; }
.board-team .crest { width: clamp(46px,6vw,83px); }
.board-team small { color: #d6e4ff; text-transform: uppercase; font-size: .76rem; letter-spacing: .11em; }
.board-team strong { font: 800 clamp(1.16rem,3vw,2.6rem)/.98 var(--display); }
.board-score { display: grid; justify-items: center; gap: .28rem; }
.board-score > b { font: 900 clamp(2.65rem,6vw,5rem)/.9 var(--display); font-variant-numeric: tabular-nums; }
.board-score small { color: #e2ecff; font-size: .82rem; }
.scoreboard > p { color: #eef4ff; margin-top: .75rem; }
.single-panel { margin-top: 1rem; }
.match-overview { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: .85rem; align-items: start; }
.fact-list { margin-top: .55rem; }
.fact-list > div { padding: .7rem 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.fact-list dt { color: var(--muted); font-size: .84rem; font-weight: 600; }
.fact-list dd { font-weight: 600; }
.event-list,.lineup-list,.sub-list { margin-top: .55rem; }
.event-list,.sub-list { padding-left: 0; list-style: none; }
.event { display: grid; grid-template-columns: 3.25rem 1fr; gap: .52rem; padding: .46rem 0; border-bottom: 1px solid var(--line); }
.event-minute { font-weight: 700; font-variant-numeric: tabular-nums; }
.event-info { border-left: 3px solid #91a5c4; padding-left: .55rem; overflow-wrap: anywhere; }
.event.goal .event-info { border-color: #167044; }
.event.yellow_card .event-info { border-color: #ad771b; }
.event.red_card .event-info { border-color: #bf242d; }
.event-label { display: block; font-size: .81rem; font-weight: 700; }
.event-label > span { color: var(--muted); font-weight: 500; }
.event a,.lineup-list a,.sub-list a { font-weight: 600; }
.event-info strong { margin-left: .35rem; }
.lineup-list { padding-left: 1.6rem; }
.lineup-list li,.sub-list li { padding: .37rem 0; border-bottom: 1px solid #e5eaf2; }
.sub-list li b { display: inline-block; min-width: 2.5rem; }
.coach strong { margin-right: .3rem; }

.ladder-table { margin-bottom: .75rem; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(105px,1fr)); gap: .55rem; }
.metric-grid > div { display: grid; padding: .65rem .75rem; background: white; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); }
.metric-grid strong { font: italic 800 clamp(1.7rem,3.4vw,2.7rem)/1 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.metric-grid span { color: var(--muted); font-weight: 600; font-size: .88rem; }
.squad-group + .squad-group { margin-top: 1.58rem; }
.squad-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; }
.squad-card { display: flex; min-width: 0; flex-direction: column; position: relative; overflow: hidden; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); box-shadow: var(--shadow); }
.squad-mark,.profile-mark { display: grid; place-items: center; background: repeating-linear-gradient(145deg,transparent 0 21px,#2b55a43b 22px 23px,transparent 24px 42px),linear-gradient(155deg,#102d65,var(--night)); }
.squad-mark { min-height: 114px; color: #d0e0ff; font: italic 900 clamp(2.2rem,4vw,4rem)/1 var(--display); }
.squad-photo { aspect-ratio: 3/4; width: 100%; object-fit: cover; }
.squad-number { position: absolute; top: .35rem; right: .4rem; background: var(--gold); padding: .1rem .36rem; color: var(--night); border-radius: 3px; font-size: .82rem; font-weight: 700; }
.squad-card strong { overflow-wrap: anywhere; font: 800 clamp(1.16rem,2vw,1.6rem)/1.08 var(--display); padding: .55rem .67rem .28rem; }
.squad-card small { color: var(--muted); padding: 0 .67rem .58rem; font-size: .83rem; }
.squad-card:hover strong { text-decoration: underline; }
.profile-top { display: grid; grid-template-columns: minmax(110px,16%) 1fr; gap: .95rem; align-items: center; margin-bottom: 1.2rem; overflow: hidden; }
.profile-top > div:last-child { padding: .7rem .9rem .7rem 0; }
.profile-top p { margin: .45rem 0 0; }
.profile-mark { min-height: 145px; height: 100%; color: var(--gold); font: italic 900 clamp(2.2rem,5vw,4.2rem)/1 var(--display); }
.profile-photo { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.stat-controls { margin: .35rem 0 .65rem; }
.stat-controls label { width: fit-content; }
[data-panel=team] .section-head:not(:first-child) { margin-top: 1.65rem; }
[data-panel=team] h3 { margin-top: .95rem; }
.form-line { margin-top: .55rem; }

.article-cover { width: 100%; max-height: 540px; object-fit: cover; border-radius: var(--radius); }
.article-lead { font-size: clamp(1.13rem,2.2vw,1.38rem); font-weight: 600; line-height: 1.45; }
.article-body .editorial-date { text-transform: uppercase; font-size: .86rem; font-weight: 600; color: var(--muted); }
.article-sources { margin-top: .8rem; }
.article-sources summary,.mobile-club summary { min-height: 44px; cursor: pointer; line-height: 44px; font-weight: 600; }
.info-icon { display: inline-grid; place-items: center; width: 47px; height: 47px; background: #e7eef9; color: var(--blue); border-radius: 5px; margin-bottom: .35rem; }
.info-card { height: 100%; }
.history-list { list-style: none; padding: 0 0 0 1rem; border-left: 2px solid var(--gold); margin: 1.25rem 0; }
.history-list li { display: grid; grid-template-columns: 4.6rem minmax(0,1fr); gap: .65rem; max-width: 51rem; border-bottom: 1px solid var(--line); padding: .8rem 0; }
.history-list li > span { color: var(--navy); font: italic 900 1.85rem/1 var(--display); }
.history-list h2 { font-size: 1.6rem; margin-bottom: .25rem; }
.honour .kicker { color: #795313; }
.honour svg { color: #90621a; }
.legend > span { color: var(--blue); font: italic 800 2.5rem/1 var(--display); display: block; margin-bottom: .45rem; }
.gallery-figure { max-width: 420px; margin-bottom: 1.3rem; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery-image { width: 100%; max-height: 400px; object-fit: contain; background: var(--night); }
.gallery-figure figcaption { padding: .6rem .8rem; }
.gallery-figure figcaption small { display: block; }
.gallery-figure [data-gallery] { display: block; cursor: zoom-in; }
.gallery-figure [data-gallery]:focus-visible { outline-offset: -5px; }
dialog { max-width: min(92vw,760px); max-height: 94vh; padding: 1rem; background: white; color: var(--ink); border-radius: var(--radius); border: 1px solid var(--line); }
dialog::backdrop { background: #061735de; }
dialog img { max-height: 70vh; margin: .65rem auto; }
.video-card { height: 100%; }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.55fr 1.4fr 1fr; }
  .footer-grid > :nth-child(4) { border: 0; padding-left: 0; }
  .heritage-copy { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 979px) {
  .header-grid { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
  .utility,.desktop-nav { display: none; }
  .menu-toggle { min-height: 44px; display: inline-flex; align-items: center; gap: .45rem; background: #0d2858; color: white; border: 1px solid #7487a9; border-radius: 4px; padding: .4rem .65rem; font-weight: 700; }
  .mobile-nav { display: grid; position: absolute; inset: 100% 0 auto; background: var(--night); border-bottom: 2px solid var(--gold); padding: .4rem var(--fc19-page-pad) .8rem; max-height: min(71vh,620px); overflow: auto; box-shadow: 0 16px 26px #0007; }
  .mobile-nav .nav-item { min-height: 44px; border-bottom: 1px solid #2d4875; }
  .mobile-club { color: white; display: block; border-bottom: 1px solid #2d4875; }
  .mobile-club summary { padding-inline: .45rem; text-transform: uppercase; font-family: var(--display); }
  .mobile-club a { display: flex; padding-left: 1.2rem; }
  .sporting { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }
  .compact-table .wide-col { display: none; }
  .shop-copy .button { margin-left: 0; }
}
@media (max-width: 767px) {
  .header-grid { min-height: 70px; }
  .brand { min-height: 66px; gap: .55rem; }
  .brand .crest { width: 50px; }
  .brand-type strong { font-size: 1.32rem; }
  .brand-type small { font-size: .68rem; margin-top: .3rem; }
  .hero-inner { min-height: 410px; padding-block: 2rem 1.4rem; }
  .hero h1 { font-size: clamp(2.77rem,11vw,4.7rem); line-height: .87; }
  .hero-visual::after { background: linear-gradient(90deg,#061735 0%,#061735db 53%,#06173537 100%); }
  .hero-graphic .crest { right: -17%; opacity: .24; width: clamp(205px,55vw,300px); }
  .hero > .checker { opacity: .72; width: 75px; height: 76px; background-size: 30px 30px; left: -50px; }
  .hero-copy { max-width: 20rem; font-size: .98rem; }
  .hero .button { font-size: .83rem; padding-inline: .64rem; }
  .hero .actions { gap: .4rem; }
  .sporting { grid-template-columns: minmax(0,1fr); }
  .match-panel { padding: .85rem .75rem .58rem; }
  .compact-meta { font-size: .72rem; }
  .compact-side { font-size: .91rem; }
  .compact-side .crest { width: 19px; }
  .compact-side b { min-width: 1.32rem; }
  .ladder-info { padding-inline: .5rem; }
  .performers-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .performers-intro { grid-column: 1/-1; display: flex; align-items: start; flex-wrap: wrap; gap: .05rem .55rem; }
  .performers-intro .kicker { width: 100%; }
  .performers-intro h2 { font-size: 2.05rem; }
  .performers-intro h2 br { display: none; }
  .performers-intro .text-link { margin-left: auto; margin-top: -.3rem; }
  .leader { min-height: 116px; background: #2c54a02a; }
  .leader-initials { font-size: 4.1rem; }
  .news-grid,.card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .heritage { grid-template-columns: minmax(0,1fr); }
  .heritage-content::before { display: none; }
  .heritage-emblem,.heritage-image { min-height: auto; height: 152px; }
  .heritage-emblem .crest { width: 104px; }
  .heritage-content { padding: 1rem var(--fc19-page-pad) 1.25rem; }
  .heritage-copy h2 br,.shop-title h2 br { display: none; }
  .shop-grid { grid-template-columns: minmax(0,1fr); padding-inline: 0; }
  .shop-title,.shop-copy { padding-inline: var(--fc19-page-pad); }
  .shop-title .checker { left: auto; right: -14px; width: 85px; }
  .shop-copy .info-icon { margin: 0; }
  .partners-strip .text-link { margin-left: 0; }
  .match-row { grid-template-columns: minmax(0,1fr) auto; gap: .5rem; }
  .row-meta { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: .2rem .55rem; }
  .row-team .crest { width: 19px; }
  .match-overview { grid-template-columns: minmax(0,1fr); }
  .squad-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .table-scroll :is(th,td) { padding: .48rem .55rem; }
  .compact-table :is(th,td) { padding: .35rem .33rem; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding-block: 1rem; }
  .footer-grid > :nth-child(odd) { padding-left: 0; border: 0; }
  .footer-grid > :nth-child(even) { padding-left: .65rem; border-left: 1px solid #57709a; }
  .footer-grid > div:not(:first-child) a { min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 490px) {
  .section-head { gap: .2rem .55rem; }
  .red-rule { width: 27px; }
  .section-head > a { margin-left: 0; }
  .home-news .section-head > a { margin-left: auto; }
  .latest-card { padding: .5rem; }
  .compact-side .crest { display: none; }
  .latest-grid { gap: .42rem; }
  .news-grid,.card-grid,.two-col { grid-template-columns: minmax(0,1fr); }
  .squad-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .board-score .tag { font-size: .68rem; max-width: 4.8rem; text-align: center; }
  .board-score small { max-width: 5.25rem; }
  .row-team .crest { display: none; }
  .row-team { font-size: .93rem; }
  .match-row > .outcome { font-size: .69rem; padding-inline: .4rem; }
  .profile-top { grid-template-columns: minmax(86px,28%) 1fr; gap: .6rem; }
  .history-list li { grid-template-columns: 3.4rem minmax(0,1fr); }
  .footer-grid > :first-child,.footer-grid > address { grid-column: 1/-1; border: 0; padding-left: 0; }
}
@media (max-width: 355px) {
  .wrap { padding-inline: 12px; }
  .leader-initials { font-size: 3.3rem; }
  .compact-meta { display: grid; }
  .brand .crest { width: 43px; }
  .brand-type strong { font-size: 1.19rem; }
  .brand-type small { font-size: .64rem; }
  .header-grid { gap: .4rem; }
  .menu-toggle { padding-inline: .47rem; }
}
@media (prefers-reduced-motion: no-preference) {
  a,button { transition: color var(--fc19-motion),background-color var(--fc19-motion),box-shadow var(--fc19-motion); }
}

/* Keep focus visible inside cards whose artwork clips to their border. */
:is(.leader,.squad-card,.latest-card):focus-visible { outline-offset: -4px; }
.news-card:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (min-width: 980px) {
  .site-header { position: sticky; top: 0; }
  html { scroll-padding-top: 7.25rem; }
}
@media (min-width: 356px) and (max-width: 490px) {
  .compact-side .crest { display: block; width: 15px; }
}
.board-team { align-self: start; }
.board-mark { width: clamp(46px,6vw,83px); aspect-ratio: 1; }
.board-score small { display: flex; flex-wrap: wrap; justify-content: center; column-gap: .55rem; }
.board-score small span { white-space: nowrap; }
.gallery-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: var(--fc19-gutter); }
.gallery-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
@media (max-width: 767px) {
  .gallery-layout { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 490px) {
  .gallery-links { grid-template-columns: minmax(0,1fr); }
}

/* Stage02 pictorial layouts use the existing FC19 tokens. */
.hero:has(.hero-image) .hero-visual::after {
  background: linear-gradient(90deg,#061735 0%,#061735 27%,#061735ea 36%,#06173563 57%,#06173513 82%);
}
.hero-image { width: 73%; object-position: 66% 42%; }
.hero-image[data-asset-id="hero-first-team-2026"] { object-position: 55% 36%; }
.hero-credit {
  position: absolute;
  right: max(var(--fc19-page-pad),calc((100% - 1344px) / 2));
  bottom: .8rem;
  display: grid;
  max-width: min(32rem,42%);
  padding: .35rem .6rem;
  color: #fff;
  background: #061735ed;
  border-radius: 4px;
  font-size: .78rem;
  line-height: 1.42;
}
.hero-credit small { font-size: inherit; }
.hero-credit a,.heritage-figure figcaption a { color: inherit; }
.media-figure { background: #fff; border-radius: var(--radius); overflow: hidden; }
.media-figure > img { width: 100%; object-fit: cover; }
.media-figure figcaption,.gallery-item figcaption {
  display: grid;
  padding: .55rem .76rem;
  border-top: 1px solid var(--line);
  color: var(--night);
  font-size: .91rem;
}
.media-figure figcaption small,.gallery-item figcaption small { color: var(--muted); font-size: .8rem; }
.media-figure figcaption a,.gallery-item figcaption a { display: inline-block; min-height: 28px; }
.heritage-figure { position: relative; height: 100%; min-height: 275px; border-radius: 0; background: var(--navy); }
.heritage-figure > img { height: 100%; min-height: 275px; object-position: 50% 52%; }
.heritage-figure figcaption {
  position: absolute;
  inset: auto 1rem .65rem 1rem;
  background: #061735f0;
  color: white;
  border: none;
  border-radius: 4px;
  padding: .35rem .55rem;
}
.heritage-figure figcaption small { color: white; }
.heritage-content::before { pointer-events: none; }
.fact-art {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: .9rem clamp(1rem,3vw,2rem);
  background: repeating-linear-gradient(143deg,transparent 0 29px,#8bace92c 30px 31px,transparent 32px 51px),linear-gradient(117deg,var(--night),var(--navy));
  color: white;
}
.fact-art.royal { background-color: var(--blue); background-image: repeating-linear-gradient(141deg,transparent 0 22px,#91b2f432 23px 24px,transparent 25px 48px),linear-gradient(115deg,var(--navy),#1646a1); }
.fact-art.red { background: linear-gradient(120deg,#081735 45%,#9f1524); }
.fact-art > span { color: var(--gold); font-size: .86rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.fact-art > strong { overflow-wrap: anywhere; font: italic 900 clamp(2.1rem,5.5vw,5rem)/.9 var(--display); text-transform: uppercase; }
.news-card { overflow: hidden; }
.news-card:focus-within { outline-offset: 3px; }
.news-frame { position: relative; }
.image-context { position: absolute; inset: auto auto .55rem .55rem; background: var(--night); color: #fff; border-radius: 4px; padding: .21rem .5rem; font-size: .8rem; font-weight: 600; }
.article-figure { margin-bottom: 1.3rem; }
.article-figure > img { max-height: 500px; }
.article-match-video { margin: 1.5rem 0; }
.article-match-video .text-link { display: inline-block; margin-top: .75rem; }
.article-body > .fact-art { max-height: 320px; margin-bottom: 1.15rem; border-radius: var(--radius); }
.related-stories,.related-matches,.archive-links,.archive-preview { margin-top: clamp(1.1rem,3vw,2.3rem); }
.club-card-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.info-card { overflow: hidden; }
.history-intro { align-items: center; }
.history-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); align-items: start; gap: var(--fc19-gutter); margin-top: 1.25rem; }
.history-list { margin-top: 0; }
.history-portrait { max-width: 430px; }
.history-portrait img { aspect-ratio: 4 / 4.2; object-position: center 30%; }
.feature-image img { aspect-ratio: 16 / 10; }
.honour-year { color: var(--navy); font: italic 900 clamp(2rem,4vw,3.5rem)/.9 var(--display); }
.honour-detail,.archive-academy { margin-top: 1.35rem; }
.legend-bio { border-top: 3px solid var(--gold); overflow: hidden; }
.legend-figure { border-radius: 0; background: var(--ice); }
.legend-figure img { width: 100%; height: clamp(185px,20vw,290px); object-fit: contain; }
.legend-figure figcaption { min-height: 74px; }
.legend-bio .inner-card { padding-top: 1rem; }
.legend-bio h2,.partner-block h2,.product-card h3 { color: var(--navy); }
.stadium-feature { margin-bottom: 1.25rem; }
.stadium-feature img { height: clamp(210px,39vw,530px); object-position: center 47%; }
.ground-update,.season-notice,.season-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.2rem;
  margin-block: 1rem 1.35rem;
}
.season-notice { align-items: flex-start; justify-content: flex-start; max-width: 52rem; margin-inline: auto; padding: 1.1rem; }
.season-notice > div { flex: 1 1 260px; }
.season-notice h2 { font-size: 1.7rem; }
.season-notice p { margin-top: .35rem; }
.season-summary { justify-content: flex-start; margin-bottom: .55rem; }
.season-summary .form-line { margin: 0; }
.contact-venue { overflow: hidden; }
.contact-figure { border-radius: 0; }
.contact-figure img { aspect-ratio: 16 / 8; object-position: center 43%; }

.team-mark { display: inline-grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; vertical-align: middle; }
.team-mark .crest { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.board-mark { display: grid; place-items: center; }
.board-mark .team-mark { width: 100%; height: 100%; }
.compact-side .team-mark { width: 25px; height: 25px; }
.row-team:first-child .team-mark { order: 1; }
.compact-table .team-mark { width: 19px; height: 19px; }
.compact-side strong,.row-team { overflow-wrap: anywhere; }
.fixture-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.fixture-tile { display: grid; min-width: 0; overflow: hidden; padding: .9rem; text-decoration: none; color: var(--night); gap: .6rem; border-top: 3px solid var(--navy); }
.fixture-tile:hover { background: #eaf1fc; color: var(--navy); }
.tile-label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem; color: var(--muted); font-size: .85rem; font-weight: 700; }
.tile-board { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: start; gap: .65rem; text-align: center; }
.tile-board > strong { align-self: start; font: 900 clamp(1.8rem,4vw,3.1rem)/1 var(--display); min-width: 3rem; }
.tile-team { display: grid; min-width: 0; justify-items: center; gap: .35rem; font-weight: 700; overflow-wrap: anywhere; line-height: 1.1; }
.tile-team .team-mark { width: 37px; height: 37px; }
.tile-foot { font-size: .83rem; color: var(--muted); }
.video-card { overflow: hidden; }
.video-watch { display: block; text-decoration: none; color: inherit; }
.video-watch:focus-visible { outline-offset: -6px; }
.video-art { position: relative; aspect-ratio: 16 / 9; display: grid; align-content: center; justify-items: center; gap: .5rem;
  background: repeating-linear-gradient(145deg,transparent 0 37px,#4275c52b 38px 39px,transparent 40px 68px),radial-gradient(ellipse at 53% 47%,#264e98,var(--night)); color: white; }
.video-art-match { display: flex; align-items: center; gap: clamp(.75rem,3vw,1.6rem); }
.video-art-match .team-mark { width: clamp(32px,7vw,72px); height: clamp(32px,7vw,72px); }
.video-art-match strong { font: italic 900 clamp(2.8rem,6vw,5.2rem)/.95 var(--display); }
.video-series { color: var(--gold); text-transform: uppercase; font-size: .85rem; font-weight: 700; letter-spacing: .065em; }
.video-art-play { display: inline-grid; position: absolute; bottom: .65rem; right: .75rem; place-items: center; color: var(--night); background: var(--gold); width: 43px; height: 43px; border-radius: 50%; }
.video-watch:hover .video-art-play { background: #fff; }
.video-poster { width: 100%; height: 100%; object-fit: cover; }
.match-page .video-watch { max-width: 590px; margin-top: .65rem; }

.portrait { display: grid; place-items: center; position: relative; overflow: hidden; aspect-ratio: 3 / 4; min-width: 0; width: 100%; background: linear-gradient(145deg,#103174,var(--night)); color: #c6d9ff; }
.portrait-img { object-fit: cover; width: 100%; height: 100%; }
.portrait-initials { font: italic 900 clamp(1.9rem,5vw,4.2rem)/1 var(--display); }
.squad-portrait { max-height: none; }
.profile-top { grid-template-columns: minmax(86px,180px) 1fr; }
.profile-portrait .portrait-initials { color: var(--gold); }
.leader-portrait { position: absolute; inset: auto 0 0 auto; width: min(52%,105px); max-height: 100%; opacity: .42; z-index: -1; }
.leader-portrait .portrait-initials { opacity: .62; }
.leader-portrait:has(.portrait-img) { opacity: .8; }

.social-gallery { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .55rem; }
.social-tile { position: relative; min-width: 0; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--ice); text-decoration: none; }
.social-tile:hover > span { text-decoration: underline; }
.social-tile > img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 38%; }
.social-tile > span { display: flex; align-items: center; flex: 1; padding: .35rem .55rem; font-size: .83rem; font-weight: 650; }
.gallery-actions { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .65rem; }
.product-card { overflow: hidden; min-width: 0; background: white; }
.product-card > img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #e6e6e6; }
.product-card > div { padding: .6rem .65rem; }
.product-card h3 { font-size: clamp(1.08rem,1.8vw,1.55rem); }
.shop-grid { grid-template-columns: minmax(170px,1fr) minmax(0,3fr); align-items: start; gap: .7rem; padding-block: .75rem; }
.shop-title { align-self: stretch; }
.shop-title > p:not(.kicker) { margin: .5rem 0; }
.shop-title .button { margin-top: .35rem; }
.archive-note { margin-bottom: .75rem; }
.partner-name,.partner-block { border-left: 3px solid var(--gold); }
.partner-name { padding-left: .75rem; }
.partner-name :is(small,strong) { display: block; }
.partner-name small { color: var(--muted); font-weight: 600; }
.partner-name strong { color: var(--navy); font: 800 clamp(1.25rem,2.2vw,1.6rem)/1.12 var(--display); }
.album-card { position: relative; overflow: hidden; }
.album-card h2 a::after { content: ""; position: absolute; inset: 0; }
.album-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.photo-grid { margin-block: 1rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--fc19-gutter); align-items: start; }
.gallery-item { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.gallery-item > a { display: block; cursor: zoom-in; }
.gallery-item > a:focus-visible { outline-offset: -4px; }
.gallery-item > a img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; }

@media (max-width: 979px) {
  .social-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .hero:has(.hero-image) .hero-visual { inset: 0 0 auto; height: clamp(210px,64vw,390px); }
  .hero:has(.hero-image) .hero-visual::after { background: linear-gradient(180deg,#06173512 28%,#06173540 52%,var(--night) 99%); }
  .hero-image { width: 100%; object-position: 53% 43%; }
  .hero-image[data-asset-id="hero-first-team-2026"] { object-position: 50% 32%; }
  .hero:has(.hero-image) .hero-inner { min-height: auto; padding-top: clamp(172px,49vw,310px); padding-bottom: .75rem; }
  .hero-credit { position: static; max-width: none; width: fit-content; margin: 0 var(--fc19-page-pad) .8rem; padding-inline: 0; background: none; }
  .hero-credit a { display: inline-block; }
  .heritage-figure > img { height: 220px; min-height: 0; }
  .heritage-figure { min-height: 0; }
  .history-grid { grid-template-columns: minmax(0,1fr); }
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shop-grid { grid-template-columns: minmax(0,1fr); padding-inline: var(--fc19-page-pad); }
  .shop-title { border-radius: var(--radius); }
  .squad-portrait { font-size: .95rem; }
  .profile-top { grid-template-columns: minmax(82px,28%) 1fr; }
}
@media (max-width: 490px) {
  .latest-grid,.fixture-grid { grid-template-columns: minmax(0,1fr); }
  .compact-side .team-mark { width: 23px; height: 23px; }
  .compact-side .team-mark .crest { display: block; width: 100%; }
  .row-team .team-mark { width: 17px; height: 17px; }
  .row-team .team-mark .crest { display: block; width: 100%; }
  .board-mark .team-mark { width: 100%; height: 100%; }
  .photo-grid { grid-template-columns: minmax(0,1fr); }
  .social-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .social-tile > span { min-height: 44px; }
}


button.video-watch { width: 100%; border: 0; padding: 0; text-align: center; }
.video-watch .video-art { width: 100%; }
.video-frame { aspect-ratio: 16 / 9; background: var(--night); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }


.heritage-content { align-self: center; }
.heritage-figure > img { position: absolute; inset: 0; min-height: 0; }
.social-tile > img[data-asset-id="legend-mark-viduka"],
.social-tile > img[data-asset-id="legend-jason-culina"] { object-position: center top; }
@media (max-width: 767px) {
  .heritage-figure { height: 220px; }
  .heritage-figure > img { height: 100%; }
}


.match-source-figure { max-width: 29rem; margin: 1.5rem auto; }
.match-source-figure img { width: 100%; height: auto; }
