/* Newcastle Benfield design system — shared foundations.
   Colour comes from theme-first.css / theme-athletic.css. */
:root {
  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  --gutter: 16px;
  --r: 3px;
  --header-h: 64px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.55 var(--f-text); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; }
/* Two-tone ring: the inner and outer colours contrast with each other, so one of them shows on any background. */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 3px var(--focus-inner); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* Type */
.display { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: .005em; text-wrap: balance; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); }
.small { font-size: .8125rem; }

/* Prototype notice */
.protobar { background: var(--ink); color: var(--bg); font-size: .75rem; line-height: 1.4; padding: 8px 0; }
.protobar strong { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-right: 8px; }
@media (max-width: 719px) { .protobar { padding: 6px 0; } .protobar .more { display: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); color: var(--header-ink); border-bottom: 1px solid var(--header-line); }
.site-header::after { content: ""; display: block; height: var(--kit-strip-h, 0px); background: var(--kit-strip, none); }
.site-header > .wrap { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand-name { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: .95; }
.brand-name small { display: block; font-family: var(--f-text); font-stretch: 100%; font-size: .625rem; font-weight: 600; letter-spacing: .14em; color: var(--header-muted); margin-top: 3px; }
.nav { display: none; }
.nav a { text-decoration: none; font-weight: 600; font-size: .875rem; padding: 12px 10px; border-radius: var(--r); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--header-hover); }
.menu-btn { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--header-line); border-radius: var(--r); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
.drawer { display: none; border-top: 1px solid var(--header-line); padding: 8px 0 20px; }
.drawer.open { display: block; }
.drawer a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-family: var(--f-display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; border-bottom: 1px solid var(--header-line); }
@media (min-width: 960px) {
  .nav { display: flex; gap: 2px; } .menu-btn, .drawer, .drawer.open { display: none; }
}

/* Team switch */
.switch { display: flex; border: 1px solid var(--header-line); border-radius: 999px; padding: 3px; font-size: .75rem; font-weight: 700; }
.switch a { text-decoration: none; padding: 0 14px; min-height: 44px; display: flex; align-items: center; border-radius: 999px; white-space: nowrap; }
.switch a[aria-current="true"] { background: var(--switch-on-bg); color: var(--switch-on-ink); }
.teambar { background: var(--header-bg); color: var(--header-ink); border-bottom: 1px solid var(--header-line); }
.teambar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 6px; }
.teambar p { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--header-muted); }
@media (max-width: 479px) { .teambar p { display: none; } .teambar .wrap { justify-content: center; } }

/* Roundels stand in for crests until official artwork is supplied */
.roundel { --s: 44px; width: var(--s); height: var(--s); flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: calc(var(--s) * .4); letter-spacing: .02em; border: 2px solid currentColor; background: transparent; }
.roundel.club { border-color: var(--roundel-ring); color: var(--roundel-ink); background: var(--roundel-bg); }
.roundel.lg { --s: 64px; } .roundel.sm { --s: 32px; border-width: 1.5px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: var(--r); text-decoration: none; font-weight: 700; font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; background: var(--btn-bg); color: var(--btn-ink); border: 2px solid var(--btn-bg); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn:hover { filter: brightness(1.08); }
.link { font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; color: var(--link); display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }

/* Hero scoreboard */
.hero { background: var(--hero-bg); color: var(--hero-ink); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--hero-stripe) 0 72px, transparent 72px 144px); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 32px; padding-block: 40px 44px; }
.hero .eyebrow { color: var(--hero-accent); }
.hero h1 { font-size: clamp(3rem, 13.5vw, 7.25rem); margin: 14px 0 20px; }
.hero h1.long { font-size: clamp(2.5rem, 10.5vw, 5.25rem); }
.hero h1 .v { display: block; font-size: .32em; font-stretch: 100%; font-weight: 600; letter-spacing: .1em; opacity: .75; margin: .35em 0 .3em; }
.hero-meta { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; font-weight: 600; margin-bottom: 28px; padding-top: 16px; border-top: 1px solid var(--hero-rule); }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta dt { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; font-weight: 600; }
.hero-meta dd { font-size: 1rem; line-height: 1.3; }
@media (min-width: 640px) { .hero-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; } .hero-meta dd { font-size: 1.125rem; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 639px) { .hero-actions .btn { flex: 1 1 auto; padding: 0 16px; } }
.hero .btn { background: var(--hero-btn-bg); color: var(--hero-btn-ink); border-color: var(--hero-btn-bg); }
.hero .btn.ghost { background: transparent; color: var(--hero-ink); border-color: currentColor; }
.resultcard { background: var(--hero-card-bg); color: var(--hero-card-ink); border-radius: var(--r); padding: 20px; align-self: end; }
.hero .resultcard .eyebrow { color: var(--hero-card-muted); }
.resultcard header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.pill { display: inline-block; font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; background: var(--hero-card-ink); color: var(--hero-card-bg); }
.scoreline { display: grid; grid-template-columns: 1fr auto; row-gap: 10px; align-items: center; }
.scoreline .side { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; min-width: 0; }
.scoreline .score { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; min-width: 1.2ch; text-align: right; }
.resultcard footer { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hero-card-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: .8125rem; color: var(--hero-card-muted); }
.resultcard footer { align-items: center; }
.resultcard footer a { color: var(--hero-card-ink); font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.55fr 1fr; gap: 56px; padding-block: 64px 72px; }
}

/* Form strip */
.formstrip { background: var(--strip-bg); color: var(--strip-ink); border-bottom: 1px solid var(--line); }
.formstrip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-block: 14px; font-size: .875rem; }
.formstrip strong { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 1.5rem; line-height: 1; margin-right: 6px; }
.form { display: flex; gap: 4px; align-items: center; }
.form b { width: 26px; height: 26px; display: grid; place-items: center; font-size: .75rem; font-weight: 800; border-radius: 2px; border: 2px solid currentColor; }
.form b.W { background: var(--strip-ink); color: var(--strip-bg); border-color: var(--strip-ink); }
.form b.L { border-style: dashed; opacity: .8; }

/* Sections */
.section { padding-block: 48px; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(2rem, 7vw, 3.25rem); }
.grid-2 { display: grid; gap: 40px; }
@media (min-width: 900px) { .section { padding-block: 72px; } .grid-2 { grid-template-columns: 1.15fr 1fr; gap: 64px; } }
.source { font-size: .75rem; color: var(--muted); margin-top: 14px; }
.source a { color: inherit; }
.box h2 .demo, .kicker .demo { margin-left: 8px; }
.demo { display: inline-block; font-size: .625rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 2px 6px; border: 1.5px dashed currentColor; border-radius: 2px; color: var(--muted); vertical-align: middle; white-space: nowrap; }

/* Fixture rows */
.fx { border-top: 2px solid var(--ink); }
.fx li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fx .d { text-align: center; line-height: 1; }
.fx .d b { display: block; font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 2rem; font-variant-numeric: tabular-nums; }
.fx .d span { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fx .m { min-width: 0; }
.fx .m strong { display: block; font-size: 1.0625rem; line-height: 1.25; }
.fx .m span { font-size: .8125rem; color: var(--muted); }
.fx .r { text-align: right; font-size: .8125rem; font-weight: 700; }
.fx .r .sc { display: block; font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ha { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .6875rem; font-weight: 800; border: 1.5px solid currentColor; }
.ha.H { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.month { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 28px 0 10px; }

/* League table */
.tablewrap { overflow-x: auto; }
table.league { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .9375rem; }
table.league caption { text-align: left; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
table.league th, table.league td { padding: 11px 6px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.league thead th { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
table.league th[scope="row"], table.league thead th:nth-child(2) { text-align: left; font-weight: 500; white-space: normal; }
table.league td:first-child, table.league thead th:first-child { text-align: left; width: 2.2em; color: var(--muted); }
table.league td.pts { font-weight: 800; }
table.league tr.us th, table.league tr.us td { background: var(--us-bg); color: var(--us-ink); font-weight: 800; }
table.league tr.us td:first-child { color: var(--us-ink); box-shadow: inset 4px 0 0 var(--us-mark); padding-left: 12px; }
table.league abbr { text-decoration: none; }
@media (max-width: 639px) { table.league .wide { display: none; } }

/* News */
.news { display: grid; gap: 32px; }
.lead { display: grid; gap: 18px; text-decoration: none; }
.plate { aspect-ratio: 16 / 9; background: var(--plate-bg); color: var(--plate-ink); border-radius: var(--r); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 20px; }
.plate::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--plate-stripe) 0 12.5%, transparent 12.5% 25%); }
.plate .big { position: relative; font-size: clamp(3.5rem, 16vw, 8rem); line-height: .8; }
.plate .cap { position: absolute; top: 16px; left: 20px; right: 20px; display: flex; justify-content: space-between; gap: 8px; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lead h3 { font-size: clamp(2rem, 6vw, 3rem); }
.lead p, .story p { font-family: var(--f-serif); font-size: 1.0625rem; color: var(--muted); max-width: 60ch; }
.kicker { font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--link); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-bottom: 6px; }
.kicker time { color: var(--muted); font-weight: 600; }
.stories { border-top: 2px solid var(--ink); }
.story { display: block; text-decoration: none; padding: 18px 0; border-bottom: 1px solid var(--line); }
.story h3 { font-family: var(--f-text); font-stretch: 100%; font-weight: 700; font-size: 1.1875rem; line-height: 1.25; text-transform: none; margin-bottom: 4px; }
.story p { font-size: .9375rem; }
a.lead:hover h3, a.story:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 900px) { .news { grid-template-columns: 1.4fr 1fr; gap: 56px; } }

/* Matchday */
.matchday { background: var(--band-bg); color: var(--band-ink); }
.matchday .section-head h2 { color: var(--band-ink); }
.facts { display: grid; gap: 0; border-top: 2px solid currentColor; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--band-line); }
.facts dt { font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.facts dd { font-size: 1rem; }
.facts dd small { display: block; opacity: .8; font-size: .8125rem; margin-top: 2px; }
.groundname { font-size: clamp(2.5rem, 10vw, 5rem); margin-bottom: 14px; }
.matchday .btn { background: var(--band-btn-bg); color: var(--band-btn-ink); border-color: var(--band-btn-bg); margin-top: 24px; }

/* Squad */
.squad { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.player { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; min-height: 168px; gap: 16px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.player .no { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: clamp(3.5rem, 15vw, 6.5rem); line-height: .8; color: var(--no-ink); font-variant-numeric: tabular-nums; }
.player .pos { font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--link); }
.player .nm { font-weight: 700; line-height: 1.2; }
.player .sp { font-size: .6875rem; color: var(--muted); margin-top: 4px; }
.staffcard { margin-top: 20px; padding: 18px 20px; border: 1px solid var(--line); border-left: 4px solid var(--link); background: var(--surface); border-radius: var(--r); }
.staffcard strong { display: block; font-size: 1.25rem; }
@media (min-width: 640px) { .squad { grid-template-columns: repeat(4, 1fr); } .player { aspect-ratio: 4 / 5; } }

/* Story timeline */
.timeline { border-top: 2px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline b { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--link); }
.storyintro { font-family: var(--f-serif); font-size: 1.25rem; line-height: 1.45; max-width: 34ch; margin-top: 16px; }

/* Sponsors */
.tiers { display: grid; gap: 28px; }
.tier h3 { font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.slot { min-height: 84px; display: grid; place-items: center; text-align: center; padding: 12px; border: 1.5px dashed var(--line-strong); border-radius: var(--r); font-size: .8125rem; color: var(--muted); }
.slot.real { border-style: solid; color: var(--ink); font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 1.75rem; text-transform: uppercase; }
.slot.real small { display: block; font-family: var(--f-text); font-stretch: 100%; font-size: .6875rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
@media (min-width: 720px) { .tier.p .slots { grid-template-columns: 1fr 1fr; } .tier.s .slots { grid-template-columns: repeat(4, 1fr); } }

/* Social + cross */
.socials { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.socials a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 700; }
.socials a span { color: var(--muted); font-weight: 500; }
.socials a:hover { color: var(--link); }
@media (min-width: 720px) { .socials.wide { grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 0; } .socials.wide a { border-top: 2px solid var(--ink); } .socials.wide a:nth-child(n+3) { border-top: 0; } }
/* The club's other team: a full-width band high on the homepage, so both sides carry weight */
.cross { display: block; text-decoration: none; background: var(--cross-bg); color: var(--cross-ink); padding-block: 36px; position: relative; overflow: hidden; }
.cross::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--cross-stripe) 0 40px, transparent 40px 80px); }
.cross .wrap { position: relative; display: grid; gap: 20px; }
.cross h2 { font-size: clamp(2.25rem, 9vw, 3.75rem); margin-top: 8px; }
.cross dl { display: grid; gap: 0; font-size: .9375rem; border-top: 2px solid currentColor; }
.cross dl div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--cross-rule); align-items: baseline; }
.cross dt { font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.cross dd { font-weight: 700; }
.cross:hover .go { border-bottom-width: 4px; }
@media (min-width: 900px) { .cross { padding-block: 48px; } .cross .wrap { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; } }
.cross .go { display: inline-block; margin-top: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; border-bottom: 2px solid currentColor; }

/* Tabs (fixtures page) */
.pagehead { background: var(--hero-bg); color: var(--hero-ink); position: relative; overflow: hidden; }
.pagehead::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--hero-stripe) 0 72px, transparent 72px 144px); }
.pagehead .wrap { position: relative; padding-block: 36px 0; }
.pagehead h1 { font-size: clamp(2.75rem, 11vw, 5.5rem); margin: 10px 0 24px; }
.pagehead .eyebrow { color: var(--hero-accent); }
.tabs { display: flex; gap: 4px; }
.tabs button { min-height: 48px; padding: 0 18px; border: 0; background: transparent; color: var(--hero-ink); font-weight: 800; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; border-radius: var(--r) var(--r) 0 0; opacity: .85; }
.tabs button[aria-selected="true"] { background: var(--bg); color: var(--ink); opacity: 1; }
[role="tabpanel"][hidden] { display: none; }
@media (max-width: 479px) { .tabs { gap: 0; } .tabs button { flex: 1; padding: 0 8px; } }
.narrow { max-width: 820px; }

/* Match centre */
.mc-score { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; text-align: center; padding-bottom: 36px; }
.mc-team { display: grid; justify-items: center; gap: 10px; font-weight: 700; line-height: 1.2; }
.mc-num { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: clamp(4.5rem, 22vw, 9rem); line-height: .85; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mc-num small { display: block; font-family: var(--f-text); font-stretch: 100%; font-size: .75rem; letter-spacing: .14em; margin-top: 10px; color: var(--hero-accent); }
.mc-team .roundel:not(.club) { color: var(--hero-ink); }
.article { font-family: var(--f-serif); font-size: 1.125rem; line-height: 1.65; }
.article p + p { margin-top: 1.1em; }
.article .standfirst { font-size: 1.375rem; line-height: 1.4; color: var(--ink); }
.article blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 4px solid var(--link); font-size: 1.5rem; line-height: 1.3; font-style: italic; }
.article blockquote cite { display: block; font-family: var(--f-text); font-style: normal; font-size: .8125rem; font-weight: 700; margin-top: 10px; color: var(--muted); }
.events li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.events b { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 1.375rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lineup li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.lineup b { font-variant-numeric: tabular-nums; color: var(--muted); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.box + .box { margin-top: 20px; }
.box h2 { font-size: 1.5rem; margin-bottom: 10px; }
.mc-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .mc-grid { grid-template-columns: 1.6fr 1fr; gap: 64px; } }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 48px 0 32px; }
.site-footer .cols { display: grid; gap: 32px; }
.site-footer h2 { font-size: 2.25rem; }
.site-footer a { text-underline-offset: 3px; }
.site-footer ul li { font-size: .9375rem; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.site-footer h3 { font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
.site-footer .legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--footer-line); font-size: .75rem; opacity: .8; }
@media (min-width: 640px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .site-footer .cols { grid-template-columns: 1.7fr repeat(4, 1fr); } .site-footer .cols > :first-child { grid-column: auto; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Inner pages ---------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pagehead.plain .wrap { padding-bottom: 36px; }
.pagehead .lede { max-width: 56ch; font-size: 1.0625rem; margin-top: -8px; }
.pagehead .mc-score { padding-top: 28px; }
.section-head .aside, .chips .aside { display: inline-flex; align-items: center; gap: 14px; }
.section-head.sub { margin-top: 40px; } .section-head.sub:first-child { margin-top: 0; }
.section-head.sub h2 { font-size: clamp(1.5rem, 5vw, 2.25rem); }
.fx .m a { text-decoration: none; display: inline-block; padding-block: 12px; margin-block: -12px; }
.fx .m a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.protobar a { font-weight: 700; text-underline-offset: 3px; display: inline-block; padding-block: 14px; margin-block: -14px; }
.site-footer .legal a { display: inline-block; padding-block: 14px; }
.artitle { font-size: clamp(2.25rem, 8vw, 4rem); margin: 8px 0 20px; }
.facts.lite { border-top-width: 1px; }
.facts.lite div { border-bottom-color: var(--line); }

/* News cards */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; }
.chips .aside { margin-left: auto; }
.chips button { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: transparent; font-weight: 700; font-size: .8125rem; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cards { display: grid; gap: 36px 28px; }
.card { display: block; text-decoration: none; }
.card[hidden] { display: none; }
.card .plate { margin-bottom: 14px; }
.card h3 { font-size: clamp(1.625rem, 5vw, 2rem); }
.card > p:last-child { font-family: var(--f-serif); color: var(--muted); margin-top: 8px; }
.card:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.plate .word { position: relative; font-size: clamp(2rem, 9vw, 3.25rem); line-height: .9; }
.card .plate .big { font-size: clamp(3.5rem, 14vw, 5.5rem); }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.mapplate { text-decoration: none; aspect-ratio: 4 / 3; }

/* Club */
.honours { border-top: 2px solid var(--ink); }
.honours li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.honours strong { display: block; font-size: clamp(1.625rem, 6vw, 2.5rem); }
.honours span { font-size: .875rem; color: var(--muted); }
.honours b { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 1.5rem; color: var(--link); }
.timeline.names span { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.people { display: grid; gap: 12px; }
.people .staffcard { margin-top: 0; }
.staffcard.empty { border-left-color: var(--line-strong); border-style: dashed; border-left-style: solid; }
@media (min-width: 640px) { .people { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .people { grid-template-columns: repeat(4, 1fr); } }
.pkgs { display: grid; gap: 12px; }
.pkgs .box { margin-top: 0; }
.pkgs h3 { font-size: 1.5rem; margin-bottom: 8px; }
.pkgs .small { margin-top: 10px; }
@media (min-width: 640px) { .pkgs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .pkgs { grid-template-columns: repeat(3, 1fr); } }
.matchday .hero-actions { margin-top: 24px; } .matchday .hero-actions .btn { margin-top: 0; }
.matchday .btn.ghost { background: transparent; color: var(--band-ink); border-color: currentColor; }

/* Volunteer form mock */
.adminform { display: grid; gap: 22px; align-content: start; }
.lab { display: block; font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; padding: 0; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field select, .field textarea { width: 100%; min-height: 48px; padding: 12px; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { float: left; width: 100%; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r); font-weight: 700; font-size: .875rem; }
.seg input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 3px var(--focus-inner); }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stepper { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; text-align: center; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r); }
.stepper button { height: 64px; border: 0; background: transparent; font-size: 1.75rem; font-weight: 700; cursor: pointer; }
.stepper output { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.resultcard.preview { border: 1px solid var(--hero-card-line); }
.resultcard.preview .eyebrow { color: var(--hero-card-muted); }

/* Walk-through */
.tour > li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.tour > li:first-child { border-top: 2px solid var(--ink); }
.tour .no { font-size: 3rem; color: var(--link); }
.tour h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); margin-bottom: 8px; }
.tourlinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tourlinks .btn { min-height: 44px; padding: 0 14px; font-size: .8125rem; }
.tour .facts div { grid-template-columns: 76px 1fr; padding: 10px 0; }
.tour .facts dd { font-size: .9375rem; }
.needs { display: grid; gap: 28px; margin-top: 12px; }
.needs h3 { font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 10px; border-bottom: 2px solid currentColor; }
.needs li { padding: 10px 0; border-bottom: 1px solid var(--band-line); }
@media (min-width: 900px) { .needs { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
@media (min-width: 640px) { .tour > li { grid-template-columns: 72px 1fr; } .tour .no { font-size: 4rem; } }

/* Team admin, top scorers, official links */
.hint { font-size: .8125rem; color: var(--muted); margin-top: 8px; }
.empty { color: var(--muted); padding: 14px 16px; border: 1.5px dashed var(--line-strong); border-radius: var(--r); font-size: .9375rem; }
.empty a { color: var(--link); font-weight: 700; display: inline-block; padding-block: 12px; margin-block: -6px; }
.srow { display: grid; grid-template-columns: 1fr 76px; gap: 8px; margin-bottom: 8px; }
.srow input { min-height: 48px; padding: 0 12px; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r); min-width: 0; width: 100%; }
.field legend.lab { margin-bottom: 8px; }
.stepper button:disabled { opacity: .25; cursor: not-allowed; }
.seg input:disabled + span { opacity: .45; } .seg input:disabled:checked + span { opacity: 1; } .seg input:disabled { cursor: not-allowed; }
.adminform .btn { cursor: pointer; font-family: inherit; }
.adminform .hero-actions .btn.ghost { color: var(--ink); }
.small-btn { min-height: 44px; font-size: .75rem; padding: 0 14px; margin-top: 14px; cursor: pointer; font-family: inherit; color: var(--ink); }
.savedlist li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; border-bottom: 1px solid var(--line); }
.savedlist button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; font-family: inherit; font-size: inherit; white-space: normal; text-align: left; }
.toplist { border-top: 2px solid var(--ink); }
.toplist li { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.toplist .rk { color: var(--muted); font-weight: 700; }
.toplist .nm { font-weight: 700; overflow-wrap: anywhere; }
.toplist b { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--link); }
.toplist li:first-child .nm { font-size: 1.1875rem; }
.box .toplist, .box .socials { border-top-width: 1px; }
.offline { margin-top: 6px; font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.socials.official a { flex-wrap: wrap; gap: 0 12px; padding-block: 10px; } .socials.official span { font-size: .8125rem; }
@media (max-width: 479px) { .tabs button { font-size: .75rem; letter-spacing: .04em; } }

/* Support, freshness stamp, proposal page */
.formstrip .stamp { margin-left: auto; font-size: .75rem; color: var(--muted); }
@media (max-width: 899px) { .formstrip .stamp { margin-left: 0; flex-basis: 100%; } }
.way { display: flex; flex-direction: column; text-decoration: none; }
.way .go { margin-top: auto; padding-top: 16px; align-self: flex-start; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; color: var(--link); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
a.way:hover { border-color: var(--line-strong); }
.way.sample { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.tour.asks h3 { font-size: 1.5rem; margin-bottom: 4px; }
.tour.asks > li { padding: 18px 0; align-items: center; }
.tour.asks .no { font-size: 2.25rem; }
.tourlinks .btn:not(.ghost) { border-color: var(--btn-bg); }

/* Hero badge: the club crest (or the stand-in mark) blended into the hero */
.hero-crest { position: absolute; right: -14%; top: 50%; transform: translateY(-50%); width: min(92vw, 620px); aspect-ratio: 1; display: grid; place-items: center; pointer-events: none; color: var(--hero-ink); opacity: .1; border: clamp(8px, 2vw, 16px) solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 clamp(6px, 1.4vw, 12px) transparent, inset 0 0 0 clamp(10px, 2.2vw, 18px) currentColor; }
.hero-crest span { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: min(36vw, 250px); line-height: 1; letter-spacing: .02em; }
.hero-crest.real { border: 0; box-shadow: none; border-radius: 0; opacity: .13; right: -22%; top: 34%; width: min(78vw, 420px); aspect-ratio: 337 / 295; }
@media (min-width: 900px) { .hero-crest.real { display: none; } }
.hero-crest img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 900px) { .hero-crest { right: 2%; top: 46%; width: min(46vw, 620px); } }

/* Manager's section: squad and line-up */
.sqadd { display: grid; grid-template-columns: 1fr 84px; gap: 12px; }
.sqadd .field:last-child { grid-column: 1 / -1; }
.field input { width: 100%; min-height: 48px; padding: 0 12px; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r); }
.sqno { display: inline-block; min-width: 2ch; color: var(--link); font-weight: 800; margin-right: 6px; }
.savedlist li { min-height: 48px; }
.slots2 { display: grid; gap: 8px; }
.slotrow { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 8px; }
.slotrow label { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 640px) { .slots2 { grid-template-columns: 1fr 1fr; } .sqadd { grid-template-columns: 1fr 96px 200px; } .sqadd .field:last-child { grid-column: auto; } }
.adminform .btn:disabled { opacity: .4; cursor: not-allowed; }
.pagehead .lede + .tabs { margin-top: 0; }
.sheet { background: var(--sheet-bg); color: #fff; border-radius: var(--r); overflow: hidden; }
.sheet-h { position: relative; padding: 14px 72px 12px 16px; min-height: 64px; display: grid; gap: 4px; align-content: center; border-bottom: 4px solid #f1cd31; background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 36px, transparent 36px 72px); }
.sheet-h strong { font-size: 1.5rem; } .sheet-h span { font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sheet-s { padding: 12px 16px; font-size: .8125rem; line-height: 1.5; background: var(--sheet-dark); }
.sheet-s b { text-transform: uppercase; letter-spacing: .1em; font-size: .6875rem; margin-right: 6px; }
.teamtext { font: 500 .875rem/1.6 var(--f-text); white-space: pre-wrap; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin: 0; overflow-wrap: anywhere; }

/* Score graphic, team news, player tallies */
.ftg-b { padding: 8px 16px 14px; background: repeating-linear-gradient(0deg, var(--sheet-bg) 0 50%, var(--sheet-alt) 50% 100%); }
.ftg-r { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; font-weight: 800; font-size: 1.125rem; line-height: 1.2; }
.ftg-r + .ftg-r { border-top: 2px solid rgba(255,255,255,.35); }
.ftg-r b { font-size: 3.5rem; line-height: .9; }
.teamnews { background: var(--surface); border-bottom: 1px solid var(--line); }
.teamnews .sheet { max-width: 460px; margin-inline: auto; }
.tally { display: inline-block; margin-left: 6px; }

/* Club crest */
.crest { display: block; flex: none; height: 44px; width: auto; }
.crest.sm { height: 32px; } .crest.lg { height: 72px; }
.site-header .crest { height: 48px; }
.sheet-h .crest { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); height: 46px; }
.hero-side { display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; min-width: 0; }
.hero-badge { display: none; }
@media (min-width: 900px) { .hero-side { justify-content: space-between; } .hero-badge { display: block; width: min(78%, 330px); height: auto; margin: 0 auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.25)); } }
.site-footer .crest { height: 72px; margin-bottom: 16px; }
.hero-side .resultcard { align-self: stretch; }

/* Homepage structure: quick-link tiles and tighter sections */
.tiles { background: var(--strip-bg); border-bottom: 1px solid var(--line); }
.tiles .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-inline: 0; }
.tile { display: grid; gap: 6px; align-content: center; min-height: 84px; padding: 14px var(--gutter); text-decoration: none; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.tile:nth-child(2n) { border-right: 0; }
.tile .eyebrow { color: var(--link); }
.tile strong { font-size: 1.5rem; line-height: 1; }
.tile:hover { background: var(--header-hover); }
@media (min-width: 900px) { .tiles .wrap { grid-template-columns: repeat(4, 1fr); padding-inline: var(--gutter); } .tile { border-top: 0; min-height: 96px; padding-inline: 20px; } .tile:first-child { border-left: 1px solid var(--line); } .tile:nth-child(2n) { border-right: 1px solid var(--line); } .tile strong { font-size: 1.75rem; } }
.formstrip { border-bottom: 0; }
.slots.one { grid-template-columns: 1fr 1fr; max-width: 640px; }
a.slot { text-decoration: none; font-weight: 700; color: var(--link); }
.cross dl div { grid-template-columns: 64px 1fr; }
@media (max-width: 639px) {
  .cards.compact { gap: 0; border-top: 2px solid var(--ink); }
  .cards.compact .card { display: grid; grid-template-columns: 104px 1fr; column-gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .cards.compact .plate { grid-row: 1 / 3; aspect-ratio: 1; margin: 0; padding: 10px; }
  .cards.compact .plate .cap { display: none; }
  .cards.compact .plate .big { font-size: 2.25rem; } .cards.compact .plate .word { font-size: 1.125rem; }
  .cards.compact .kicker { align-self: end; margin: 0; } .cards.compact h3 { align-self: start; font-size: 1.375rem; margin-top: 4px; }
}

/* ---------- Design options page ---------- */
.optsec { padding-bottom: 24px; }
.opt { margin: 0 0 40px; }
.opt-h { max-width: var(--wrap); margin-inline: auto; padding: 0 var(--gutter) 12px; display: grid; gap: 4px; }
.opt-id { font-size: 1.75rem; color: var(--link); }
.opt-h strong { font-size: 1.0625rem; } .opt-h span:last-child { color: var(--muted); font-size: .9375rem; max-width: 70ch; }
.opt-b { border-block: 1px solid var(--line); }
.opt-b .btn { cursor: default; }
.phones { display: grid; gap: 8px; } .opt.ph .opt-h { padding-inline: 0; } .opt.ph .opt-b { border: 0; }
@media (min-width: 900px) { .phones { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.phone { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; max-width: 380px; }
.fake-select { min-height: 48px; display: flex; align-items: center; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: var(--r); }
.choose { display: grid; gap: 6px; } .choose span { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: var(--r); font-weight: 700; } .choose b { color: var(--link); min-width: 2ch; } .choose small { margin-left: auto; font-weight: 500; color: var(--muted); }
.tri { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; border-bottom: 1px solid var(--line); font-weight: 700; } .tri b { color: var(--link); display: inline-block; min-width: 2.2ch; }
.tri-s { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: 999px; overflow: hidden; } .tri-s i { font-style: normal; font-size: .75rem; padding: 8px 10px; } .tri-s i.on { background: var(--link); color: #fff; }
.tri-count { margin-bottom: 8px; color: var(--muted); } .tri-count b { font-size: 1.75rem; color: var(--ink); }

/* Hero B: head to head */
.heroB .wrap { display: block; text-align: center; padding-block: 36px 40px; }
.h2h { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 22px 0 26px; }
.h2h-t { display: grid; justify-items: center; gap: 12px; } .h2h-t strong { font-size: clamp(1.375rem, 5.2vw, 3.25rem); line-height: .95; }
.h2h-t .crest.lg, .heroC .crest.lg { height: clamp(72px, 16vw, 132px); } .h2h-t .roundel.lg { --s: clamp(64px, 14vw, 116px); }
.h2h-v { display: grid; gap: 4px; padding: 12px clamp(10px, 2vw, 28px); border-inline: 1px solid var(--hero-rule); font-size: .8125rem; font-weight: 600; }
.h2h-v b { font-size: clamp(1.5rem, 5vw, 3rem); line-height: 1; color: var(--hero-accent); }
.heroB .hero-actions { justify-content: center; } .heroB .hero-actions .btn { flex: 0 1 auto; }
.h2h-last { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--hero-rule); font-weight: 600; } .h2h-last .eyebrow { margin-right: 8px; } .h2h-last b { font-size: 1.125rem; }
.heroB .hero-crest { display: none; }

/* Hero C: club card */
.heroC { background: var(--hero-bg); color: var(--hero-ink); }
.heroC .wrap { display: grid; gap: 24px; padding-block: 32px; }
.hc-l { display: grid; justify-items: center; text-align: center; gap: 10px; align-content: center; } .hc-l strong { font-size: clamp(2rem, 8vw, 3.75rem); } .hc-l span { font-weight: 600; font-size: .875rem; }
.hc-r { background: var(--surface); color: var(--ink); border-radius: 6px; padding: 22px; } .hc-r .eyebrow { color: var(--link); }
.hc-opp { font-size: clamp(2.25rem, 9vw, 4.25rem); margin: 8px 0 16px; }
.hc-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 20px; font-weight: 600; } .hc-meta dt { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hc-r .btn.ghost { color: var(--ink); } .hc-last { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9375rem; } .hc-last .eyebrow { color: var(--muted); margin-right: 8px; }
@media (min-width: 900px) { .heroC .wrap { grid-template-columns: 1fr 1.5fr; gap: 56px; padding-block: 56px; align-items: center; } }

/* Form B and C */
:root { --win: #17794a; --draw: #5b6478; --loss: #b3261e; }
.formB { background: var(--surface); } .formB .wrap { display: grid; gap: 16px; padding-block: 18px; }
.fb-rec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .fb-rec div { display: grid; gap: 2px; } .fb-rec b { font-size: 2.5rem; line-height: .9; } .fb-rec span { font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fb-rec div:last-child b { color: var(--link); }
.fb-run { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 4px; border-radius: 999px; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.chip b { width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,.28); display: grid; place-items: center; font-size: .8125rem; }
.chip.W { background: var(--win); } .chip.D { background: var(--draw); } .chip.L { background: var(--loss); }
@media (min-width: 900px) { .formB .wrap { grid-template-columns: auto 1fr; gap: 56px; align-items: center; } .fb-rec { gap: 36px; } .fb-run { justify-content: flex-end; } }
.formC { background: var(--surface); } .formC .wrap { padding-block: 20px; max-width: 720px; } .formC .section-head { margin-bottom: 10px; }
.formC li { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding: 10px 0 10px 12px; border-bottom: 1px solid var(--line); border-left: 6px solid var(--draw); margin-bottom: 4px; }
.formC li.W { border-left-color: var(--win); } .formC li.L { border-left-color: var(--loss); }
.fc-o { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; } .formC li.W .fc-o { color: var(--win); } .formC li.L .fc-o { color: var(--loss); } .formC li.D .fc-o { color: var(--draw); }
.fc-m { font-weight: 700; } .fc-m small { display: block; font-weight: 500; color: var(--muted); font-size: .8125rem; } .formC li b { font-size: 1.75rem; }

/* Site map and homepage plan */
.smap { display: grid; gap: 14px; } .sm-top { display: grid; justify-items: center; }
.smn { display: block; padding: 10px 12px; border-radius: var(--r); font-weight: 700; font-size: .875rem; }
.smn.n1 { background: var(--link); color: #fff; padding-inline: 40px; font-size: 1rem; } .smn.n2 { background: var(--ink); color: var(--bg); } .smn.n2.alt { background: #f1cd31; color: #182652; }
.smn.n3 { background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
.sm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .sm-col { display: grid; gap: 6px; align-content: start; }
.sm-row.side { grid-template-columns: 1fr 1fr; align-items: start; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
@media (min-width: 800px) { .sm-row { grid-template-columns: repeat(5, 1fr); } .sm-row.side { grid-template-columns: 1fr 4fr; gap: 24px; } }
.blocks { border-top: 2px solid var(--ink); max-width: 640px; } .blocks li { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.blocks b { color: var(--muted); } .blocks i { font-style: normal; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); } .blocks li.now i { color: var(--link); } .blocks li.now span { font-weight: 700; }

/* ---------- Hero, cleaned up (11 Nov review) ----------
   Flat club blue behind the text, one clear reading order: tag, match, date, facts, actions. */
.hero2::before { display: none; }
.hero2 .wrap { padding-block: 32px 36px; gap: 28px; }
.hero-main { min-width: 0; }
.hero-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .875rem; font-weight: 700; }
.hero-tag .tag { background: var(--hero-accent); color: var(--hero-btn-ink); padding: 4px 10px; border-radius: 2px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.hero2 h1 { font-size: clamp(2.75rem, 12vw, 5.75rem); line-height: .95; margin: 16px 0 14px; }
.hero2 h1.long { font-size: clamp(2.25rem, 9.4vw, 4.5rem); }
.hero2 h1 .hn { display: block; }
.hero2 h1 .v { display: inline; font-size: .55em; font-stretch: 100%; font-weight: 700; letter-spacing: 0; text-transform: lowercase; opacity: 1; margin: 0 .12em 0 0; color: var(--hero-accent); }
.hero-when { font-size: clamp(1.25rem, 5vw, 1.75rem); font-weight: 700; line-height: 1.2; }
.hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 20px 0 26px; padding-top: 18px; border-top: 1px solid var(--hero-rule); }
.hero-facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-label, #dbe7ff); margin-bottom: 2px; }
.hero-facts dd { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
@media (min-width: 640px) { .hero-facts { display: flex; flex-wrap: wrap; gap: 14px 36px; } }
@media (min-width: 900px) { .hero2 .wrap { padding-block: 56px 60px; gap: 56px; } }
.hero2 .resultcard footer a { text-underline-offset: 3px; }

/* Squad list without numbers or positions (names and appearances only) */
.squad.names .player { aspect-ratio: auto; min-height: 0; gap: 14px; padding: 16px; }
.squad.names .nm { font-size: 1.0625rem; }
.apps { display: flex; gap: 20px; border-top: 1px solid var(--line); padding-top: 10px; }
.apps dt { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.apps dd { font-size: 1.75rem; line-height: 1; color: var(--no-ink); }
.small-btn.btn:not(.ghost) { color: var(--btn-ink); }
@media (min-width: 640px) { .squad.names { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .squad.names { grid-template-columns: repeat(4, 1fr); } }

/* Player photo holder */
.player.has-ph, .squad.names .player.has-ph { padding: 0; aspect-ratio: auto; min-height: 0; gap: 0; justify-content: flex-start; }
.player.has-ph > div:not(.pho), .player.has-ph > dl { margin: 0 14px; }
.player.has-ph > div:not(.pho) { padding: 12px 0 14px; }
.player.has-ph > dl { padding: 10px 0 14px; margin-top: auto; }
.pho { position: relative; aspect-ratio: 1; overflow: hidden; display: grid; place-items: end center; background: repeating-linear-gradient(90deg, var(--plate-stripe) 0 12.5%, transparent 12.5% 25%), var(--plate-bg); }
.pho svg { width: 82%; height: auto; display: block; fill: rgba(255,255,255,.9); }
.ph-c { position: absolute; bottom: 8px; right: 8px; font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(24,38,82,.7); padding: 3px 7px; border-radius: 2px; }
.player.has-ph .no { position: absolute; top: 8px; left: 12px; z-index: 1; font-size: 2.75rem; line-height: 1; color: #fff; text-shadow: 0 2px 6px rgba(24,38,82,.5); }

/* ---------- Manager's section: tap-to-pick ---------- */
.pool { display: flex; flex-wrap: wrap; gap: 8px; }
.chipbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font: 700 .9375rem/1.1 var(--f-text); cursor: pointer; text-align: left; }
.chipbtn b { color: var(--link); }
.chipbtn:hover { border-color: var(--link); }
.chipbtn:active { background: var(--link); color: #fff; } .chipbtn:active b { color: #fff; }
#lbench .chipbtn { background: transparent; border-style: dashed; }
.poolhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; } .poolhead .lab { margin: 0; }
.seg2 { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.seg2 button { min-height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--ink); font: 700 .8125rem var(--f-text); cursor: pointer; }
.seg2 button[aria-pressed="true"] { background: var(--link); color: #fff; } .seg2 button:disabled { opacity: .4; cursor: not-allowed; }
.sugg { display: grid; margin: -4px 0 10px; border: 1.5px solid var(--link); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.sugg[hidden] { display: none; }
.sugg button { min-height: 46px; padding: 0 12px; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font: 700 1rem var(--f-text); cursor: pointer; }
.sugg button:last-child { border-bottom: 0; } .sugg button:hover { background: var(--header-hover); }
.savedlist li.sqrow { display: grid; grid-template-columns: 52px 52px 1fr; gap: 6px 8px; align-items: center; padding: 8px 0; }
.sqrow .sqnum, .sqrow select { min-height: 44px; padding: 0 8px; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r); min-width: 0; }
.sqrow .sqnum { width: 52px; text-align: center; font-weight: 800; }
.sqrow .sqname { font-weight: 700; }
.sqrow select { grid-column: 2 / 4; grid-row: 2; width: calc(100% - 52px); }
.sqrow .sqx { grid-column: 3; grid-row: 2; justify-self: end; width: 44px; height: 44px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: transparent; color: var(--ink); font-size: 1.25rem; cursor: pointer; }
@media (min-width: 640px) { .savedlist li.sqrow { grid-template-columns: 52px 52px 1fr 170px 44px; } .sqrow select { grid-column: auto; grid-row: auto; width: 100%; } .sqrow .sqx { grid-column: auto; grid-row: auto; } }
.savedlist .sqx { text-decoration: none; text-align: center; }
.btn[hidden] { display: none; }

/* ---------- Matchday graphics (manager's section) ----------
   Sizes use container units so each graphic scales as one piece and screenshots cleanly. */
.gform { max-width: 720px; margin-bottom: 20px; }
.seg.tpl { gap: 8px; }
.gfxwrap { max-width: 720px; }
.g-pitchwrap { max-width: 460px; }
.g { container-type: inline-size; position: relative; overflow: hidden; background: #fff; color: #182652; border: 1px solid var(--line); font-family: var(--f-text); }
.g * { margin: 0; }
.g-crest { display: block; height: auto; }
.g-ring { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; border: .6cqw solid currentColor; font-family: var(--f-display); font-stretch: 62%; font-weight: 800; }
.g-foot { position: absolute; left: 0; right: 0; bottom: 0; background: #182652; color: #fff; text-align: center; font-size: 2.3cqw; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; padding: 1.6cqw 0; border-top: .7cqw solid #f1cd31; }
.g-foot i { font-style: normal; color: #f1cd31; margin: 0 .6em; }
.g-big, .g-title, .g-names, .g-num { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; line-height: .9; }

/* Squad list (landscape) */
.g-squad { aspect-ratio: 4 / 3; display: grid; grid-template-columns: 1.15fr 1fr; padding: 4cqw 4cqw 9cqw; gap: 3cqw; }
.g-squad::before { content: ""; position: absolute; right: 0; top: 0; width: 9cqw; height: 9cqw; background: linear-gradient(225deg, #0049af 50%, transparent 50%); }
.g-squad .g-vs { display: flex; align-items: center; gap: 3cqw; margin-bottom: 3.5cqw; }
.g-squad .g-crest { width: 20cqw; } .g-squad .g-ring { width: 17cqw; font-size: 6.5cqw; } .g-v { font-family: var(--f-display); font-weight: 800; font-size: 6cqw; color: #0049af; }
.g-fact { display: grid; gap: .3cqw; padding: 1.4cqw 0; border-bottom: .3cqw solid #f1cd31; }
.g-fact b { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 5.4cqw; line-height: 1; color: #0049af; }
.g-fact span { font-size: 2.7cqw; font-weight: 700; }
.g-staff { list-style: none; padding: 0; margin-top: 2cqw; display: grid; gap: 1.1cqw; }
.g-staff li { font-size: 2.3cqw; font-weight: 700; text-transform: uppercase; line-height: 1.15; } .g-staff b { display: block; font-size: 1.8cqw; letter-spacing: .1em; color: #0049af; }
.g-title { font-size: 7.4cqw; color: #182652; padding-bottom: 1.4cqw; border-bottom: .4cqw solid #0049af; margin-bottom: 1.6cqw; } .g-title em { display: block; font-style: normal; color: #0049af; }
.g-list { list-style: none; padding: 0; display: grid; gap: .55cqw; counter-reset: none; }
.g-list li { display: flex; align-items: center; gap: 2cqw; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; text-transform: uppercase; font-size: 2.9cqw; line-height: 1; color: #0049af; border-bottom: .15cqw solid #dfe6f2; padding-bottom: .5cqw; }
.g-list b { display: grid; place-items: center; width: 3.4cqw; height: 3.4cqw; background: #182652; color: #fff; font-size: 1.9cqw; font-stretch: 100%; flex: none; }
.g-bar { background: #0049af; color: #fff; font-size: 1.8cqw; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .7cqw 1.4cqw; margin: 1cqw 0; }
.g-empty { font-size: 2.6cqw; color: #535d76; }

/* Matchday poster (square) and result (portrait): club blue */
.g-poster, .g-result { background: #0049af; color: #fff; text-align: center; display: grid; justify-items: center; align-content: start; border: 0; }
.g-poster::before, .g-result::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(100deg, rgba(255,255,255,.07) 0 6cqw, transparent 6cqw 12cqw); }
.g-poster > *, .g-result > * { position: relative; }
.g-poster { aspect-ratio: 1; padding: 6cqw 5cqw 11cqw; gap: 2.4cqw; }
.g-kick { font-size: 2.6cqw; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f1cd31; }
.g-poster .g-big { font-size: 17cqw; }
.g-poster .g-vs { display: flex; align-items: center; justify-content: center; gap: 5cqw; margin: 1cqw 0; } .g-poster .g-crest { width: 26cqw; } .g-poster .g-ring { width: 22cqw; font-size: 8cqw; } .g-poster .g-v { color: #f1cd31; font-size: 7cqw; }
.g-names { font-size: 6.4cqw; line-height: 1; } .g-names span { color: #f1cd31; text-transform: lowercase; font-size: .7em; }
.g-when { font-size: 3.8cqw; font-weight: 800; } .g-where { font-size: 2.8cqw; font-weight: 600; }
.g-result { aspect-ratio: 4 / 5; padding: 5cqw 5cqw 6cqw; gap: 2.4cqw; }
.g-result > .g-crest { width: 30cqw; }
.g-result .g-big { font-size: 19cqw; font-style: italic; color: #fff; text-shadow: .5cqw .5cqw 0 #182652; }
.g-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 3cqw; width: 100%; background: #fff; color: #182652; padding: 3cqw; border-radius: 1cqw; }
.g-side { display: grid; justify-items: center; gap: 1.4cqw; font-size: 3cqw; font-weight: 800; text-transform: uppercase; line-height: 1.1; } .g-side .g-crest { width: 17cqw; } .g-side .g-ring { width: 15cqw; font-size: 5.5cqw; }
.g-num { font-size: 22cqw; color: #0049af; display: flex; align-items: center; gap: 3cqw; } .g-num i { width: .5cqw; align-self: stretch; background: #0049af; }
.g-scorers { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .8cqw 3cqw; font-size: 3.2cqw; font-weight: 800; text-transform: uppercase; }
.g-scorers li::before { content: "● "; color: #f1cd31; }
.g-motm { background: #f1cd31; color: #182652; font-size: 3.6cqw; font-weight: 800; text-transform: uppercase; padding: 1.4cqw 4cqw; border-radius: .6cqw; } .g-motm b { display: block; font-size: 2cqw; letter-spacing: .14em; }
.g-thanks { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 6.4cqw; line-height: 1; margin-top: 1cqw; } .g-thanks span { display: block; font-size: .5em; font-style: normal; font-stretch: 100%; font-weight: 700; margin-top: .4em; }
.g-tag { font-size: 2.6cqw; font-weight: 800; letter-spacing: .14em; color: #f1cd31; }
.g-poster > .g-foot, .g-result > .g-foot { position: absolute; }
.g-squad { padding-top: 3cqw; }
.g-title { font-size: 6cqw; padding-bottom: 1cqw; margin-bottom: 1.1cqw; }
.g-list { gap: .34cqw; } .g-list li { font-size: 2.35cqw; padding-bottom: .34cqw; gap: 1.6cqw; } .g-list b { width: 2.7cqw; height: 2.7cqw; font-size: 1.6cqw; }
.g-bar { font-size: 1.5cqw; padding: .45cqw 1.2cqw; margin: .6cqw 0; }
.g-squad { aspect-ratio: 8 / 7; }

/* ---------- Pitch: markings, shirts and photos (12 November 2026) ----------
   Sizes use the pitch's own width (container units) so the same pitch works on a phone, a page and a graphic. */
.pitch { container-type: inline-size; position: relative; overflow: hidden; aspect-ratio: 100 / 125;
  background: radial-gradient(ellipse 70% 55% at 50% 45%, rgba(255,255,255,.12), transparent 70%), repeating-linear-gradient(180deg, #0a55c2 0 8.33%, #0049af 8.33% 16.66%); }
.pitch .lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255,255,255,.6); stroke-width: .45; }
.pitch .lines .dot { fill: rgba(255,255,255,.75); stroke: none; } .pitch .lines .goal { fill: rgba(255,255,255,.35); stroke: none; }
.pl { position: absolute; width: 19cqw; transform: translate(-50%, -6.5cqw); display: grid; justify-items: center; gap: .9cqw; text-align: center; z-index: 1; color: #fff; }
.tk { position: relative; width: 13cqw; height: 13cqw; display: grid; place-items: center; filter: drop-shadow(0 .7cqw .9cqw rgba(8,18,48,.45)); }
.tk img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: .7cqw solid #fff; background: #182652; }
.shirt { width: 100%; height: 100%; display: grid; place-items: center; padding-top: 1.6cqw;
  clip-path: polygon(33% 3%, 42% 0, 58% 0, 67% 3%, 100% 20%, 89% 43%, 79% 38%, 79% 100%, 21% 100%, 21% 38%, 11% 43%, 0 20%);
  background: linear-gradient(#182652, #182652) 50% 0 / 30% 7% no-repeat, repeating-linear-gradient(90deg, #fff 0 14.3%, #0049af 14.3% 28.6%); }
.shirt b { font-family: var(--f-display); font-stretch: 75%; font-weight: 900; font-size: 5.6cqw; line-height: 1; color: #182652; text-shadow: 0 0 .5cqw #fff, 0 0 .5cqw #fff, 0 0 .9cqw #fff; font-variant-numeric: tabular-nums; }
.ring { width: 11cqw; height: 11cqw; border-radius: 50%; display: grid; place-items: center; border: .5cqw dashed rgba(255,255,255,.75); background: rgba(255,255,255,.12); font: 800 2.7cqw/1 var(--f-text); letter-spacing: .04em; color: #fff; }
.tno, .cap { position: absolute; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-family: var(--f-display); font-weight: 900; line-height: 1; }
.tno { left: -1.2cqw; bottom: -.6cqw; min-width: 5cqw; height: 5cqw; padding: 0 .6cqw; background: #fff; color: #182652; font-size: 2.9cqw; border: .4cqw solid #182652; }
.cap { right: -1.4cqw; top: -.8cqw; width: 5cqw; height: 5cqw; background: #f1cd31; color: #182652; font-size: 3cqw; border: .4cqw solid #182652; }
.pl .nm { max-width: 100%; padding: .7cqw 1.3cqw .6cqw; border-radius: .6cqw; background: #182652; border-bottom: .45cqw solid #f1cd31; font: 800 2.9cqw/1.05 var(--f-display); font-stretch: 75%; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl .ps { font-size: 2.3cqw; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); line-height: 1; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.pitch.tap .pl { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: #fff; cursor: pointer; min-height: 44px; -webkit-tap-highlight-color: transparent; }
.pitch.tap .pl:focus-visible { outline: 3px solid #f1cd31; outline-offset: 2px; border-radius: 6px; }
.pl.on .ring { border: .6cqw solid #f1cd31; background: rgba(241,205,49,.28); color: #f1cd31; animation: nbpulse 1.4s ease-in-out infinite; }
.pl.on .ps { color: #f1cd31; }
.pl.sel .tk { border-radius: 50%; box-shadow: 0 0 0 1cqw #f1cd31; animation: nbpulse 1.4s ease-in-out infinite; }
.pl.sel .nm { background: #f1cd31; color: #182652; border-color: #182652; }
@keyframes nbpulse { 50% { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .pl.on .ring, .pl.sel .tk { animation: none; } }

/* Formation picker */
.fpick { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.fpick button { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 6px; width: 78px; padding: 8px 6px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--ink); font: 800 .8125rem/1 var(--f-text); font-variant-numeric: tabular-nums; cursor: pointer; }
.fpick svg { width: 44px; height: 55px; display: block; }
.fpick svg rect, .fpick svg line { fill: none; stroke: currentColor; stroke-width: 3; opacity: .35; } .fpick svg circle { fill: var(--link); }
.fpick button[aria-pressed="true"] { background: var(--link); border-color: var(--link); color: #fff; box-shadow: inset 0 -4px 0 #f1cd31; }
.fpick button[aria-pressed="true"] svg circle { fill: #f1cd31; } .fpick button[aria-pressed="true"] svg rect, .fpick button[aria-pressed="true"] svg line { opacity: .6; }
.lutools { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.lutools .btn { margin: 0; } .lutools .btn:disabled { opacity: .4; cursor: not-allowed; }

/* Player avatars in chips and the squad list */
.av { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--link); color: #fff; font: 800 .875rem/1 var(--f-text); letter-spacing: .02em; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.sm { width: 30px; height: 30px; font-size: .625rem; margin-left: -8px; }
.chipbtn.fit { border-color: var(--link); background: var(--header-hover); box-shadow: inset 0 0 0 1px var(--link); }
.sqph { position: relative; width: 52px; height: 52px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.sqph .av { width: 52px; height: 52px; }
.sqph i { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #f1cd31; color: #182652; font: 900 .875rem/1 var(--f-text); font-style: normal; border: 2px solid var(--surface); }
.linkbtn { border: 0; background: none; padding: 4px 0; color: var(--link); font: 600 .8125rem var(--f-text); text-decoration: underline; cursor: pointer; }
.phbox { display: grid; gap: 12px; margin-top: 28px; padding: 18px; border: 1.5px dashed var(--line-strong); border-radius: var(--r); background: var(--surface); }
.phbox h2 { font-size: 1.5rem; margin: 0 0 6px; } .phbox p { margin: 0; } .phbox .btn { justify-self: start; margin: 0; }
.pho.has img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Starting XI graphic (4:5, Instagram portrait) */
.g-lineup { aspect-ratio: 4 / 5; background: #182652; color: #fff; border: 0; display: grid; grid-template-rows: auto 1fr; }
.g-lineup::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(100deg, rgba(255,255,255,.05) 0 6cqw, transparent 6cqw 12cqw); }
.g-lineup > * { position: relative; } .g-lineup > .g-foot { position: absolute; }
.g-lineup .g-kick { font-size: 2.1cqw; letter-spacing: .1em; }
.gl-top { display: flex; align-items: center; gap: 3.4cqw; padding: 4cqw 4.5cqw 3cqw; }
.gl-top .g-crest { width: 15cqw; flex: none; }
.g-lineup .g-big { font-size: 11.5cqw; } .g-lineup .g-big em { font-style: normal; color: #f1cd31; }
.gl-vs { font-size: 3.3cqw; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; margin-top: .6cqw; }
.gl-body { display: grid; grid-template-columns: 70cqw 1fr; gap: 3cqw; padding: 0 4cqw 10cqw 4.5cqw; align-items: start; }
.gl-pitch .pitch { border-radius: 1.4cqw; box-shadow: 0 0 0 .5cqw rgba(255,255,255,.25); }
.gl-side { display: grid; gap: 1.6cqw; align-content: start; }
.gl-f { display: grid; gap: .4cqw; padding-bottom: 1.6cqw; border-bottom: .4cqw solid #f1cd31; }
.gl-f span { font-size: 1.9cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.gl-f b { font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: 6.4cqw; line-height: 1; color: #f1cd31; }
.g-lineup .g-bar { font-size: 1.9cqw; padding: .6cqw 1.2cqw; margin: 0; }
.gl-subs { list-style: none; padding: 0; display: grid; gap: 1.1cqw; }
.gl-subs li { display: flex; align-items: center; gap: 1.4cqw; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 2.5cqw; line-height: 1; text-transform: uppercase; min-width: 0; }
.gl-subs li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-subs b, .gl-subs img { flex: none; width: 4.6cqw; height: 4.6cqw; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #182652; font-size: 2.3cqw; object-fit: cover; }
.gl-cap { display: flex; align-items: center; gap: 1.2cqw; font-size: 2.2cqw; font-weight: 800; text-transform: uppercase; line-height: 1.15; padding-top: 1.6cqw; border-top: .3cqw solid rgba(255,255,255,.25); }
.gl-cap i { flex: none; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; display: grid; place-items: center; background: #f1cd31; color: #182652; font-style: normal; font-family: var(--f-display); font-weight: 900; font-size: 2.6cqw; }
.gl-tag { font-size: 2cqw; font-weight: 800; letter-spacing: .1em; color: #f1cd31; }
.g-motm.has-ph { display: flex; align-items: center; gap: 2.4cqw; text-align: left; padding: 1.2cqw 3.4cqw 1.2cqw 1.2cqw; }
.g-motm img { width: 11cqw; height: 11cqw; border-radius: 50%; object-fit: cover; border: .5cqw solid #182652; }
.g-motm span { display: block; }

/* Save-image dialog */
.shot { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(8,14,34,.78); }
.shot[hidden] { display: none; }
.shot-in { width: min(100%, 560px); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); color: var(--ink); border-radius: var(--r); padding: 16px 16px 20px; }
.shot-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; } .shot-h h2 { margin: 0; font-size: 1.75rem; }
.shot-x { width: 44px; height: 44px; border: 1.5px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.5rem; cursor: pointer; }
.shot-img img { display: block; width: 100%; height: auto; border-radius: 4px; -webkit-touch-callout: default; }
.shot-wait { display: grid; place-items: center; aspect-ratio: 4 / 5; background: var(--bg); border-radius: 4px; font-weight: 700; color: var(--muted); }
.shot-m { margin: 12px 0 0; font-size: .9375rem; }
.shot .hero-actions { margin-top: 12px; }
body.noscroll { overflow: hidden; }
#lpitch { max-width: 520px; }
@media (min-width: 900px) { .fpick { flex-wrap: wrap; overflow: visible; } }
.sqname .linkbtn { display: block; }
.slot.logo { display: grid; gap: 10px; justify-items: center; text-align: center; } .slot.logo img { width: 120px; height: 120px; object-fit: contain; border-radius: 4px; background: #000; }
.staffcard.has-ph { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: start; } .staff-ph { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--plate-bg); }

/* ---------- Player profile (12 November 2026) ---------- */
a.player { color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.player:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(24,38,82,.15); }
a.player:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { a.player { transition: none; } a.player:hover { transform: none; } }
.pp-hero { background: var(--hero-bg); color: var(--hero-ink); position: relative; overflow: hidden; }
.pp-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--hero-stripe) 0 72px, transparent 72px 144px); }
.pp-grid { position: relative; display: grid; gap: 24px; padding-block: 28px 32px; }
@media (min-width: 800px) { .pp-grid { grid-template-columns: 340px 1fr; align-items: end; gap: 40px; padding-block: 48px; } }
.pp-photo { position: relative; aspect-ratio: 1; max-width: 340px; width: 100%; border-radius: var(--r); overflow: hidden; background: var(--plate-bg); box-shadow: 0 0 0 4px var(--hero-accent); }
.pp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-photo .pho { height: 100%; aspect-ratio: auto; }
.pp-no { position: absolute; right: 12px; bottom: 6px; font-size: 5rem; line-height: 1; color: #fff; text-shadow: 0 3px 10px rgba(24,38,82,.6); }
.pp-id h1 { margin: 6px 0 8px; font-size: clamp(2.75rem, 11vw, 5.5rem); line-height: .88; text-transform: uppercase; text-wrap: balance; }
.pp-id h1 span { display: block; color: var(--hero-accent); }
.pp-pos { margin: 0 0 20px; font-size: .875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--hero-rule); border: 1px solid var(--hero-rule); border-radius: var(--r); overflow: hidden; }
.pp-tiles div { background: var(--hero-bg); padding: 12px 10px; display: grid; gap: 4px; align-content: start; }
.pp-tiles dt { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; }
.pp-tiles dd { margin: 0; font-size: 2.5rem; line-height: 1; }
@media (max-width: 420px) { .pp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pp-note { margin: 14px 0 0; font-size: .9375rem; opacity: .9; }
.pp-g { color: var(--link); }
.pp-spons { display: grid; gap: 12px; justify-items: start; } .pp-spons p { margin: 0; } .pp-spons .btn { margin: 0; }
.pp-card { max-width: 440px; }
.pp-nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.pp-step { display: grid; gap: 2px; color: var(--ink); text-decoration: none; font-weight: 800; min-height: 44px; align-content: center; }
.pp-step span { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pp-step.next { text-align: right; }
@media (max-width: 560px) { .pp-nav .wrap { grid-template-columns: 1fr 1fr; } .pp-nav .btn { grid-column: 1 / -1; grid-row: 2; justify-self: center; } }

/* Player card graphic (4:5) */
.g-player { aspect-ratio: 4 / 5; background: #182652; color: #fff; border: 0; }
.gp-photo { position: absolute; inset: 0 0 34% 0; background: #0049af; }
.gp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.gp-photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #182652); }
.gp-none { display: grid; place-items: center; height: 100%; font: 900 30cqw/1 var(--f-display); font-stretch: 62%; color: rgba(255,255,255,.25); }
.gp-crest { position: absolute; top: 4cqw; left: 4cqw; width: 15cqw; }
.gp-no { position: absolute; top: 2cqw; right: 4.5cqw; font: 900 22cqw/1 var(--f-display); font-stretch: 62%; color: #fff; text-shadow: 0 1cqw 3cqw rgba(24,38,82,.6); }
.gp-body { position: absolute; left: 0; right: 0; bottom: 8cqw; padding: 0 5.5cqw; display: grid; gap: 2cqw; }
.gp-pos { display: inline-block; justify-self: start; background: #f1cd31; color: #182652; font-size: 2.6cqw; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: .8cqw 2cqw; }
.gp-name { font: 800 6cqw/1 var(--f-display); font-stretch: 75%; text-transform: uppercase; }
.gp-name b { display: block; font-weight: 900; font-size: 2.1em; font-stretch: 62%; line-height: .88; color: #f1cd31; }
.gp-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: .4cqw solid rgba(255,255,255,.3); padding-top: 2.4cqw; margin-top: 1cqw; }
.gp-stats div { display: grid; font-size: 2.3cqw; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gp-stats b { font: 900 9cqw/1 var(--f-display); font-stretch: 62%; letter-spacing: 0; }

/* Form B on the homepage */
a.chip { text-decoration: none; } a.chip:hover { filter: brightness(1.1); } a.chip:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.fb-stamp { margin: 0; font-size: .75rem; color: var(--muted); grid-column: 1 / -1; }
.formB { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .formB .wrap { row-gap: 8px; } }

/* ---------- Season stats (13 November 2026) ---------- */
.st-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .st-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.st-board { display: grid; gap: 14px; align-content: start; margin: 0; }
.st-board h2 { margin: 0; font-size: 1.5rem; }
.st-lead { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--hero-bg); color: var(--hero-ink); text-decoration: none; }
.st-lead small { display: block; font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hero-accent); }
.st-lead strong { display: block; line-height: 1.15; }
.st-lead b { font-size: 2.75rem; line-height: .9; text-align: right; } .st-lead b small { display: block; font: 700 .625rem var(--f-text); letter-spacing: .1em; color: inherit; opacity: .85; }
.st-lead:focus-visible, .st-list a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.st-av { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: var(--plate-bg); color: #fff; font: 800 .6875rem var(--f-text); }
.st-av img { width: 100%; height: 100%; object-fit: cover; }
.st-av.lg { width: 64px; height: 64px; font-size: 1rem; box-shadow: 0 0 0 3px var(--hero-accent); }
.st-list { list-style: none; margin: 0; padding: 0; }
.st-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.st-list a { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; font-weight: 700; min-height: 36px; }
.st-list .rk { color: var(--muted); font-weight: 700; font-size: .875rem; }
.st-list b { font-size: 1.125rem; }
.st-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; }
.st-table th, .st-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.st-table .n { text-align: right; }
.st-table thead th { border-bottom: 2px solid var(--ink); padding: 0; }
.st-table thead button { width: 100%; min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--ink); font: 800 .75rem var(--f-text); letter-spacing: .1em; text-transform: uppercase; text-align: inherit; cursor: pointer; }
.st-table thead th.n button { text-align: right; }
.st-table th[aria-sort="descending"] button::after { content: " ▼"; font-size: .625rem; } .st-table th[aria-sort="ascending"] button::after { content: " ▲"; font-size: .625rem; }
.st-table tbody th { font-weight: 700; } .st-table tbody th a { color: var(--ink); }
.st-table tbody tr:hover { background: var(--header-hover); }
.st-grid > .box.st-board { margin: 0; }
.st-table tbody th, .st-table thead th:first-child { position: sticky; left: 0; background: var(--bg); z-index: 1; } .st-table tbody tr:hover th { background: var(--header-hover); }

/* ---------- Design round 2 mock-ups (13 November 2026) ---------- */
.lede-s { color: var(--muted); margin: -8px 0 20px; max-width: 60ch; }
.r2 { padding-block: 20px; background: var(--bg); overflow: hidden; }
.r2-2 { display: grid; gap: 20px; } @media (min-width: 760px) { .r2-2 { grid-template-columns: 1fr 1fr; gap: 40px; } }
.r2-h { margin: 0 0 8px; font: 800 .75rem var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.r2-k { display: block; font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--link); }
.r2-note { margin: 0; color: var(--muted); font-size: .875rem; align-self: center; }
.r2-fx { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.r2-fx li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.r2-fx b { font: 900 1.5rem/1 var(--f-display); font-stretch: 62%; } .r2-fx b small, .r2-fx span small { display: block; font: 600 .6875rem var(--f-text); color: var(--muted); text-transform: uppercase; }
.r2-fx span { font-weight: 700; }
.r2-ha { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .75rem; background: var(--line); }
.r2-ha.H { background: var(--link); color: #fff; }
.r2-tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.r2-tbl th, .r2-tbl td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: right; } .r2-tbl th:nth-child(2), .r2-tbl td:nth-child(2) { text-align: left; } .r2-tbl th:first-child, .r2-tbl td:first-child { text-align: left; width: 2em; color: var(--muted); }
.r2-tbl thead th { border-bottom: 2px solid var(--ink); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; }
.r2-tbl tr.us td { background: var(--link); color: #fff; font-weight: 800; } .r2-tbl tr.us td:first-child { color: #fff; }
.r2-cards { display: grid; gap: 10px; } @media (min-width: 640px) { .r2-cards { grid-template-columns: 1.4fr 1fr 1fr; } }
.r2-card { display: grid; gap: 4px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.r2-card strong { font: 900 1.5rem/1 var(--f-display); font-stretch: 75%; text-transform: uppercase; } .r2-card > span:last-child { color: var(--muted); font-size: .875rem; }
.r2-card.first { background: var(--hero-bg); color: var(--hero-ink); border: 0; } .r2-card.first .r2-k { color: var(--hero-accent); } .r2-card.first > span:last-child { color: inherit; opacity: .85; }
.r2-season { display: grid; gap: 16px; align-items: center; } @media (min-width: 640px) { .r2-season { grid-template-columns: auto 1fr; gap: 40px; } }
.r2-pos { display: grid; padding: 18px 24px; border-radius: var(--r); background: var(--hero-bg); color: var(--hero-ink); text-align: center; }
.r2-pos span, .r2-pos small { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; } .r2-pos b { font-size: 4.5rem; line-height: .95; color: var(--hero-accent); }
.r2-gaps { display: grid; gap: 0; margin: 0; border-top: 2px solid var(--ink); }
.r2-gaps div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); } .r2-gaps dt { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .r2-gaps dd { margin: 0; font-weight: 700; } .r2-gaps b { color: var(--link); margin-left: 6px; }
.r2-news { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); } .r2-news li { padding: 12px 0; border-bottom: 1px solid var(--line); } .r2-news strong { font-size: 1.0625rem; }
.r2-lead { display: grid; gap: 12px; } @media (min-width: 760px) { .r2-lead { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; } .r2-big { grid-row: span 2; } }
.r2-big, .r2-sm { display: grid; gap: 6px; align-content: end; padding: 18px; border-radius: var(--r); }
.r2-big { min-height: 220px; background: linear-gradient(transparent 20%, rgba(24,38,82,.9)), repeating-linear-gradient(90deg, #0049af 0 36px, #0a52bd 36px 72px); color: #fff; } .r2-big .r2-k { color: #f1cd31; } .r2-big strong { font: 900 2rem/1 var(--f-display); font-stretch: 75%; text-transform: uppercase; } .r2-big p { margin: 0; opacity: .9; }
.r2-sm { background: var(--surface); border: 1px solid var(--line); } .r2-sm strong { font-size: 1.0625rem; }
.r2-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.r2-tile { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: var(--r); background: var(--surface); border-top: 6px solid var(--link); box-shadow: 0 0 0 1px var(--line); }
.r2-tag { justify-self: start; padding: 3px 8px; background: #f1cd31; color: #182652; font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; } .r2-tile small { color: var(--muted); }
.r2-md { background: var(--band-bg); color: var(--band-ink); padding-block: 20px; margin-block: -20px; } .r2-md h3 { margin: 4px 0; font-size: 2.25rem; } .r2-md .r2-k { color: #f1cd31; } .r2-md p { margin: 0 0 12px; }
.r2-facts { display: grid; margin: 0; } .r2-facts div { display: grid; grid-template-columns: 120px 1fr; padding: 10px 0; border-bottom: 1px solid var(--band-line); } .r2-facts dt { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .8; } .r2-facts dd { margin: 0; font-weight: 700; } .r2-facts small { display: block; font-weight: 500; opacity: .8; }
.r2-ticket { display: grid; max-width: 720px; border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 10px 24px rgba(24,38,82,.12); } @media (min-width: 640px) { .r2-ticket { grid-template-columns: 1.6fr 1fr; } }
.r2-t1 { display: grid; gap: 6px; padding: 20px; background: var(--hero-bg); color: var(--hero-ink); } .r2-t1 .r2-k { color: var(--hero-accent); } .r2-t1 strong { font-size: 2.25rem; line-height: 1; text-transform: uppercase; }
.r2-t2 { display: grid; gap: 8px; align-content: center; padding: 20px; border-left: 3px dashed var(--line); font-weight: 700; } .r2-t2 .btn { justify-self: start; margin: 0; }
.r2-line { background: var(--band-bg); color: var(--band-ink); margin-block: -20px; padding-block: 14px; } .r2-line .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: .9375rem; } .r2-line .link { color: #f1cd31; text-decoration: underline; font-weight: 700; }
.r2-hd { margin-block: -20px; } .r2-hd .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-block: 12px; } .r2-hd img { height: 44px; width: auto; } .r2-hd b { font: 900 1.375rem/1 var(--f-display); font-stretch: 75%; text-transform: uppercase; }
.r2-hd nav { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-left: auto; font-size: .875rem; font-weight: 600; } .r2-hd nav span { padding: 4px 0; }
.r2-hd.a { background: #fff; color: #121c3f; } .r2-hd.a .on { color: #0049af; font-weight: 800; } .r2-kit { display: block; height: 8px; background: repeating-linear-gradient(90deg, #0049af 0 24px, #fff 24px 48px); }
.r2-hd.b { background: #0049af; color: #fff; } .r2-hd.b .on { box-shadow: inset 0 -3px 0 #f1cd31; }
.r2-hd.c { background: #fff; color: #121c3f; border-bottom: 4px solid #0049af; } .r2-hd.c .wrap { flex-direction: column; text-align: center; } .r2-hd.c img { height: 64px; } .r2-hd.c nav { margin: 0; justify-content: center; } .r2-hd.c .on { color: #0049af; font-weight: 800; }
.r2-ft { margin-block: -20px; background: var(--footer-bg); color: var(--footer-ink); } .r2-ft img { height: 48px; width: auto; display: block; } .r2-ft small { display: block; opacity: .8; font-size: .8125rem; }
.r2-ft.a .wrap { display: grid; gap: 20px; padding-block: 24px; } @media (min-width: 760px) { .r2-ft.a .wrap { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.r2-ft.a .wrap > div { display: grid; gap: 6px; align-content: start; font-size: .875rem; } .r2-ft.a b { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.r2-ft.b .wrap { display: grid; justify-items: center; gap: 12px; padding-block: 28px; text-align: center; } .r2-ft.b b { font: 900 2rem/1 var(--f-display); font-stretch: 62%; text-transform: uppercase; color: #f1cd31; }
.r2-soc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; } .r2-soc span { min-height: 44px; padding: 0 16px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 700; }
.r2-spons { background: #fff; color: #121c3f; } .r2-spons .wrap { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding-block: 14px; }
.r2-p { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 1px solid #d8d2c4; border-radius: 8px; font-weight: 800; } .r2-p img { height: 32px; width: 32px; border-radius: 4px; } .r2-p.empty { border-style: dashed; color: #535d76; font-weight: 600; }
.r2-fl { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding-block: 16px; font-size: .875rem; } .r2-fl span span { margin-right: 10px; }

/* ---------- Homepage round 2 (13 November 2026): 1B, 2B and the new matchday section ---------- */
.fxcards { display: grid; gap: 10px; }
@media (min-width: 760px) { .fxcards { grid-template-columns: 1.3fr 1fr 1fr; } }
.fxcard { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s; }
.fxcard:hover { transform: translateY(-2px); } .fxcard:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.fxc-d { display: grid; justify-items: center; text-align: center; font-size: .6875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.25; border-right: 1px solid var(--line); padding-right: 12px; }
.fxc-d b { font-size: 2.5rem; line-height: .9; color: var(--ink); }
.fxc-m { display: grid; gap: 4px; min-width: 0; } .fxc-m .eyebrow { color: var(--link); } .fxc-m strong { font-size: 1.375rem; line-height: 1; text-transform: uppercase; } .fxc-m small { color: var(--muted); font-size: .8125rem; }
.fxcard.first { background: var(--hero-bg); color: var(--hero-ink); border-color: transparent; }
.fxcard.first .fxc-d { color: inherit; border-color: var(--hero-rule); } .fxcard.first .fxc-d b { color: var(--hero-accent); } .fxcard.first .eyebrow { color: var(--hero-accent); } .fxcard.first small { color: inherit; opacity: .85; }
.fxtable { margin-top: 32px; }
@media (prefers-reduced-motion: reduce) { .fxcard { transition: none; } .fxcard:hover { transform: none; } }

.newslead { display: grid; gap: 12px; }
@media (min-width: 760px) { .newslead { grid-template-columns: 1.8fr 1fr; grid-template-rows: 1fr 1fr; } .nl-big { grid-row: span 2; } }
.nl { position: relative; display: grid; align-content: end; min-height: 170px; padding: 18px; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate;
  background: linear-gradient(180deg, transparent 30%, rgba(24,38,82,.92)), repeating-linear-gradient(90deg, #0049af 0 36px, #0a52bd 36px 72px); }
.nl-big { min-height: 320px; }
.nl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.nl.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(24,38,82,.92)); }
.nl-score { position: absolute; top: 10px; right: 16px; font-size: 5rem; line-height: 1; color: rgba(255,255,255,.18); z-index: -1; }
.nl-big .nl-score { font-size: 10rem; }
.nl-t { display: grid; gap: 6px; }
.nl-tag { justify-self: start; padding: 3px 8px; background: #f1cd31; color: #182652; font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nl strong { font-size: 1.375rem; line-height: 1; text-transform: uppercase; } .nl-big strong { font-size: clamp(1.75rem, 4vw, 2.75rem); }
.nl-dek { opacity: .9; max-width: 50ch; } .nl time { font-size: .75rem; font-weight: 700; opacity: .8; }
.nl:hover strong { text-decoration: underline; text-decoration-thickness: 2px; } .nl:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.ground { background: var(--band-bg); color: var(--band-ink); overflow: hidden; }
.ground-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .ground-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.ground .eyebrow { color: #f1cd31; }
.ground .groundname { margin: 6px 0 4px; }
.ground-brand { margin: 0 0 14px; font-weight: 700; opacity: .85; }
.ground-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 18px; font-size: 1.0625rem; }
.ground .linkbtn { color: #f1cd31; font-size: .875rem; min-height: 44px; }
.ground .btn.ghost { color: var(--band-ink); border-color: var(--band-ink); }
.ground-stats { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--band-line); }
.ground-stats li { display: grid; gap: 4px; padding: 14px 10px 0 0; } .ground-stats li + li { padding-left: 14px; border-left: 1px solid var(--band-line); }
.ground-stats b { font-size: clamp(2.25rem, 7vw, 3.25rem); line-height: .9; color: #f1cd31; } .ground-stats span { font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.ground-more { margin: 18px 0 0; font-size: .9375rem; opacity: .85; max-width: 52ch; }
.ground-art { position: relative; aspect-ratio: 5 / 4; max-width: 560px; width: 100%; justify-self: center; perspective: 900px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, #0a52bd, transparent 70%), linear-gradient(#0e1838, #182652 60%); box-shadow: inset 0 0 0 1px var(--band-line); }
.ga-lights i { position: absolute; top: 9%; width: 6px; height: 34%; background: linear-gradient(#f1cd31 0 10%, rgba(255,255,255,.35) 10%); border-radius: 3px; }
.ga-lights i::before { content: ""; position: absolute; top: -6px; left: 50%; width: 40px; height: 16px; transform: translateX(-50%); border-radius: 4px; background: #fff7d1; box-shadow: 0 0 30px 10px rgba(241,205,49,.55); }
.ga-lights i:nth-child(1) { left: 8%; } .ga-lights i:nth-child(2) { left: 30%; height: 26%; top: 15%; } .ga-lights i:nth-child(3) { right: 30%; height: 26%; top: 15%; } .ga-lights i:nth-child(4) { right: 8%; }
.ga-pitch { position: absolute; left: 50%; bottom: -6%; width: 62%; aspect-ratio: 100 / 140; transform: translateX(-50%) rotateX(58deg); transform-origin: 50% 100%; border-radius: 6px;
  background: repeating-linear-gradient(180deg, #0a55c2 0 7.14%, #0049af 7.14% 14.28%); box-shadow: 0 -10px 60px rgba(241,205,49,.25); animation: nbpitch 1.2s ease-out both; }
.ga-pitch svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255,255,255,.75); stroke-width: .8; }
.ga-pitch img { position: absolute; left: 50%; top: 50%; width: 30%; transform: translate(-50%, -50%) rotateX(-58deg); transform-origin: 50% 100%; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); }
.ga-name { position: absolute; left: 0; right: 0; top: 52%; text-align: center; font-size: clamp(1.5rem, 5vw, 2.5rem); text-transform: uppercase; color: #fff; opacity: .9; letter-spacing: .02em; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
@keyframes nbpitch { from { transform: translateX(-50%) rotateX(75deg); opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .ga-pitch { animation: none; } }
.ga-crest { position: absolute; left: 50%; top: 40%; width: 24%; transform: translateX(-50%); filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); animation: nbcrest 1.2s .2s ease-out both; }
@keyframes nbcrest { from { opacity: 0; transform: translate(-50%, 12px); } }
@media (prefers-reduced-motion: reduce) { .ga-crest { animation: none; } }
.ft-partners { background: var(--surface); color: var(--ink); border-top: 4px solid #f1cd31; margin-bottom: 40px; }
.ft-partners .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-block: 16px; }
.ft-partners .eyebrow { color: var(--muted); margin-right: 6px; }
.ft-p { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 16px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; }
.ft-p img { width: 40px; height: 40px; border-radius: 4px; object-fit: contain; background: #000; } .ft-p b { font-weight: 800; } .ft-p small { color: var(--muted); font-size: .75rem; margin-left: 4px; }
.ft-p.empty { border-style: dashed; color: var(--muted); font-weight: 600; } .ft-p:hover { border-color: var(--link); }
.site-footer { padding-top: 0; } .ft-partners { margin-bottom: 48px; }

/* ---------- Homepage rework after feedback (13 November 2026) ---------- */
.ct-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .ct-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: start; } }
.ct-grid .fxcards { grid-template-columns: 1fr; gap: 8px; }
.ct-grid .fxcard { grid-template-columns: 56px minmax(0, 1fr); padding: 12px 14px; }
.ct-grid .fxc-d { font-size: .625rem; } .ct-grid .fxc-d b { font-size: 2rem; } .ct-grid .fxc-m strong { font-size: 1.25rem; }
.ct-grid .table .wide, .ct-grid table.league .wide { display: none; }
.ct-grid .tablewrap + .source { font-size: .75rem; }

.visit { background: var(--band-bg); color: var(--band-ink); }
.visit-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
.visit .eyebrow { color: #f1cd31; } .visit .groundname { margin: 6px 0 10px; }
.visit-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 18px; font-size: 1.0625rem; }
.visit .linkbtn { color: #f1cd31; min-height: 44px; }
.visit .btn.ghost { color: var(--band-ink); border-color: var(--band-ink); }
.visit-map { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #0e1838; box-shadow: inset 0 0 0 1px var(--band-line); }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visit-map button { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; width: 100%; border: 0; cursor: pointer; color: #fff; font: inherit;
  background: radial-gradient(circle at 50% 45%, rgba(241,205,49,.18), transparent 35%), linear-gradient(28deg, transparent 47%, rgba(255,255,255,.12) 47% 49%, transparent 49%), linear-gradient(-62deg, transparent 58%, rgba(255,255,255,.1) 58% 60%, transparent 60%), linear-gradient(90deg, transparent 30%, rgba(255,255,255,.07) 30% 31%, transparent 31%), linear-gradient(0deg, transparent 64%, rgba(255,255,255,.07) 64% 65%, transparent 65%), #13204a; }
.visit-map button:focus-visible { outline: 3px solid #f1cd31; outline-offset: -3px; }
.vm-pin { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; background: #f1cd31; transform: rotate(-45deg); box-shadow: 0 6px 14px rgba(0,0,0,.4); margin-bottom: 8px; }
.vm-pin::after { content: ""; display: block; width: 12px; height: 12px; margin: 11px; border-radius: 50%; background: #182652; }
.vm-t { font-weight: 800; font-size: 1.0625rem; } .visit-map small { opacity: .75; font-size: .75rem; }

.ptn-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .ptn-grid { grid-template-columns: 1fr 1fr 2fr; } }
.ptn-tile { display: grid; grid-template-rows: 1fr auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); text-decoration: none; overflow: hidden; transition: border-color .15s, transform .15s; }
.ptn-tile:hover { border-color: var(--link); transform: translateY(-2px); }
.ptn-logo { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 16px; background: #fff; }
.ptn-logo.word { font-size: clamp(2.5rem, 7vw, 3.5rem); letter-spacing: .02em; color: #182652; }
.ptn-logo.dark { background: #000; } .ptn-logo img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.ptn-n { display: grid; gap: 2px; padding: 10px 14px 12px; border-top: 1px solid var(--line); font-weight: 800; font-size: .9375rem; line-height: 1.2; }
.ptn-n small { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ptn-cta { grid-column: 1 / -1; display: grid; gap: 10px; align-content: center; justify-items: start; padding: 22px; border-radius: var(--r); color: #fff; text-decoration: none;
  background: linear-gradient(135deg, rgba(24,38,82,.0), rgba(24,38,82,.55)), repeating-linear-gradient(90deg, #0049af 0 36px, #0a52bd 36px 72px); }
@media (min-width: 900px) { .ptn-cta { grid-column: auto; } }
.ptn-cta .eyebrow { color: #f1cd31; } .ptn-cta strong { font-size: clamp(2rem, 5vw, 3rem); line-height: .95; text-transform: uppercase; } .ptn-cta span:not(.eyebrow):not(.btn) { max-width: 46ch; opacity: .92; }
.ptn-cta .btn { margin: 4px 0 0; background: #f1cd31; color: #182652; border-color: #f1cd31; }
.ptn-tile:focus-visible, .ptn-cta:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ptn-tile { transition: none; } .ptn-tile:hover { transform: none; } }
.ptn-grid { align-items: stretch; }
.ptn-tile { grid-template-rows: auto auto; align-content: start; }
.ptn-logo { aspect-ratio: auto; height: 140px; padding: 12px; overflow: hidden; }
.ptn-logo img { height: 100%; width: auto; }
.ptn-word { font-size: 3rem; line-height: 1; color: #182652; letter-spacing: .02em; }
@media (min-width: 900px) { .ptn-logo { height: 170px; } }
.ptn-tile { grid-template-rows: 1fr auto; }
.ptn-logo { display: flex; align-items: center; justify-content: center; height: auto; min-height: 140px; }
.ptn-logo img { height: auto; width: auto; max-height: 150px; max-width: 100%; }

/* ---------- Match centre (13 November 2026) ---------- */
.mch { background: var(--hero-bg); color: var(--hero-ink); position: relative; overflow: hidden; }
.mch::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--hero-stripe) 0 72px, transparent 72px 144px); }
.mch .wrap { position: relative; padding-block: 24px 20px; }
.mch-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.mch-top .eyebrow { color: var(--hero-accent); }
.mch-res { padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.mch-res.W { background: var(--win); } .mch-res.D { background: var(--draw); } .mch-res.L { background: var(--loss); }
.mch-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 10px; margin-top: 24px; text-align: center; }
.mch-team { display: grid; justify-items: center; gap: 8px; min-width: 0; }
.mch-team strong { font: 800 clamp(1rem, 3.4vw, 1.375rem)/1.1 var(--f-display); font-stretch: 75%; text-transform: uppercase; }
.mch-team .crest.lg, .mch-team .roundel.lg { width: auto; height: clamp(64px, 16vw, 104px); }
.mch-team .roundel.lg { width: clamp(64px, 16vw, 104px); font-size: clamp(1.25rem, 5vw, 2rem); color: var(--hero-ink); }
.mch-sc { font-size: .8125rem; opacity: .9; line-height: 1.35; }
.mch-num { font-size: clamp(4.5rem, 20vw, 9rem); line-height: .85; display: flex; align-items: flex-start; justify-content: center; gap: .1em; flex-wrap: wrap; padding-top: 6px; }
.mch-num i { font-style: normal; opacity: .5; } .mch-num small { flex-basis: 100%; font: 800 .6875rem var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--hero-accent); margin-top: 10px; }
.mch-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 18px; font-size: .875rem; opacity: .9; }
.mch-meta span:empty { display: none; }
.mch-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--hero-rule); }
.mch-nav a { display: grid; gap: 2px; color: var(--hero-ink); text-decoration: none; font-weight: 700; font-size: .875rem; min-height: 44px; align-content: center; }
.mch-nav a span { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hero-accent); }
.mch-nav .nx { text-align: right; }
.mch-main { display: grid; gap: 20px; align-content: start; } .mch-main .box { margin: 0; }
.ev-ph { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; vertical-align: middle; margin-right: 8px; }
.events li.opp { opacity: .8; }
.mch-sum { font-family: var(--f-serif); font-size: 1.125rem; line-height: 1.6; margin: 0 0 12px; }
.mch-motm { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 12px; background: #f1cd31; color: #182652; border-radius: var(--r); }
.mch-motm img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; } .mch-motm small { display: block; font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; } .mch-motm strong { font-size: 1.125rem; }
.mch-all { gap: 6px; } .chip.on { box-shadow: 0 0 0 3px var(--ink); }
.events li strong { display: inline-flex; align-items: center; gap: 0; }
.box .fb-run { justify-content: flex-start; }
.share { display: grid; gap: 12px; max-width: 720px; margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.share[hidden] { display: none; }
.share .field { margin: 0; } .share textarea { width: 100%; min-height: 96px; font: inherit; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--bg); color: var(--ink); }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; } .share-btns .btn { margin: 0; }
.share-btns .btn:first-child { flex: 1 1 160px; font-size: 1rem; }
.share-btns .ico { margin-right: 8px; }

/* ---------- Fees and fines (13 November 2026) ---------- */
.mo-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-bottom: 28px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mo-sum div { display: grid; gap: 4px; padding: 14px 16px; background: var(--surface); }
.mo-sum b { font-size: clamp(1.75rem, 6vw, 2.75rem); line-height: 1; color: var(--win); } .mo-sum .o b { color: var(--loss); } .mo-sum div:last-child b { color: var(--ink); }
.mo-sum span { font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mo-box { padding: 18px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.mo-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; } .mo-h h2 { margin: 0; font-size: 1.75rem; }
.mo-fee { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; } .mo-fee input { width: 64px; min-height: 44px; padding: 0 8px; font: 800 1rem var(--f-text); text-align: center; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--bg); color: var(--ink); }
.mo-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 10px; font-size: .75rem; font-weight: 700; color: var(--muted); }
.mo-k { display: inline-flex; align-items: center; gap: 6px; } .mo-k::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.mo-k.owes::before { background: var(--loss); border-color: var(--loss); } .mo-k.paid::before { background: var(--win); border-color: var(--win); }
.chipbtn.mo-c.owes { background: var(--loss); border-color: var(--loss); color: #fff; } .chipbtn.mo-c.paid { background: var(--win); border-color: var(--win); color: #fff; }
.chipbtn.mo-c b { color: inherit; margin-left: 2px; }
.mo-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; } .mo-acts .btn { margin: 0; } .mo-acts .btn[hidden] { display: none; }
.mo-fines { margin-top: 14px; }
.mo-fine { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; align-items: center; padding: 10px 0; }
.mo-fine b { font-size: 1.125rem; } .mo-fine .btn { margin: 0; grid-column: 1; justify-self: start; } .mo-fine .sqx { grid-column: 2; justify-self: end; }
.mo-fine.paid > span, .mo-fine.paid > b { opacity: .55; text-decoration: line-through; }
.mo-owe { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.mo-owe li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mo-owe .av.sm { margin-left: 0; } .mo-owe span { font-weight: 700; } .mo-owe small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; } .mo-owe b { color: var(--loss); font-size: 1.125rem; }
.mo-box .field { margin-bottom: 16px; } .mo-box .steps { margin-bottom: 4px; }

/* ---------- Match page body, second version (13 November 2026): no boxes, no emoji ---------- */
.mx .wrap { padding-block: 8px 40px; }
.mx-sec { padding-block: 28px; border-bottom: 1px solid var(--line); }
.mx-h { margin: 0 0 16px; font: 800 .75rem var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.mx-scorers { display: flex; flex-wrap: wrap; gap: 12px; }
.mx-sc { display: grid; grid-template-columns: 72px auto; align-items: center; gap: 14px; padding-right: 22px; min-height: 72px; background: var(--navy, #182652); color: #fff; text-decoration: none; border-radius: 36px 8px 8px 36px; }
.mx-sc:hover { background: var(--link); } .mx-sc:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.mx-ph { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--link); box-shadow: 0 0 0 3px #f1cd31; font-weight: 800; }
.mx-ph img { width: 100%; height: 100%; object-fit: cover; }
.mx-nm { font: 700 1.125rem/1.05 var(--f-display); font-stretch: 75%; text-transform: uppercase; }
.mx-nm b { display: block; font-size: 1.625rem; font-weight: 900; color: #f1cd31; }
.mx-nm small { display: block; font: 800 .625rem var(--f-text); letter-spacing: .14em; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.mx-sc.motm { background: #f1cd31; color: #182652; } .mx-sc.motm .mx-ph { box-shadow: 0 0 0 3px #182652; }
.mx-none { margin: 0; font-size: 1.0625rem; color: var(--muted); }
.mx-opp { margin: 14px 0 0; color: var(--muted); font-size: .9375rem; }
.mx-pitch { max-width: 460px; }
.mx-run { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(58px, 1fr); gap: 6px; overflow-x: auto; padding: 4px 2px 8px; }
.mx-g { display: grid; grid-template-rows: 120px auto auto auto; justify-items: center; gap: 4px; padding: 0 0 6px; color: var(--ink); text-decoration: none; border-radius: 6px; font-variant-numeric: tabular-nums; }
.mx-bar { align-self: end; width: 100%; height: var(--h); border-radius: 4px 4px 0 0; background: var(--draw); }
.mx-g.W .mx-bar { background: var(--win); } .mx-g.L .mx-bar { background: var(--loss); }
.mx-g.cup .mx-bar { background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.28) 0 4px, transparent 4px 9px); }
.mx-g b { font: 900 1.125rem/1 var(--f-display); font-stretch: 75%; } .mx-g small { font-size: .6875rem; color: var(--muted); } .mx-g i { font-style: normal; font-size: .625rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.mx-g.cur { background: var(--surface); box-shadow: 0 0 0 2px var(--ink); } .mx-g.cur b { color: var(--link); }
.mx-g:hover { background: var(--header-hover); } .mx-g:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.mx-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; font-size: .8125rem; color: var(--muted); }
.mx-key span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; } .mx-key span::before { content: ""; width: 12px; height: 12px; border-radius: 2px; background: var(--draw); }
.mx-key .W::before { background: var(--win); } .mx-key .L::before { background: var(--loss); } .mx-key .c::before { background: repeating-linear-gradient(45deg, var(--ink) 0 2px, transparent 2px 4px); }
.mx-h2h { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
.mx-h2h span { font-size: .8125rem; color: var(--muted); } .mx-h2h strong { font-weight: 700; } .mx-h2h strong b { font-family: var(--f-display); font-stretch: 75%; font-size: 1.25rem; margin: 0 4px; }
.mx-h2h em { font-style: normal; font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; color: #fff; background: var(--draw); } .mx-h2h em.W { background: var(--win); } .mx-h2h em.L { background: var(--loss); }
@media (max-width: 560px) { .mx-h2h { grid-template-columns: minmax(0, 1fr) auto; } .mx-h2h span { grid-column: 1 / -1; } }
.mx-src { margin: 20px 0 0; font-size: .75rem; color: var(--muted); }

/* ---------- Line-up picker sheet (13 November 2026) ---------- */
.lsheet { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 0 max(8px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(8px, env(safe-area-inset-left, 0px)); }
.lsheet[hidden] { display: none; }
.lsh-in { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; max-height: min(62vh, 560px); max-width: 560px; margin: 0 auto; background: var(--surface); color: var(--ink); border-radius: 16px 16px 0 0; box-shadow: 0 -12px 40px rgba(8,14,34,.35); border-top: 4px solid #f1cd31; overflow: hidden; }
@media (min-width: 1000px) { .lsheet { left: auto; right: 24px; bottom: 24px; width: 400px; padding: 0; } .lsh-in { max-height: calc(100vh - 140px); border-radius: 16px; } }
.lsh-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 8px; }
.lsh-k { display: block; font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--link); }
.lsh-h strong { font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; }
.lsh-x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 1.5rem; cursor: pointer; }
#lsq { margin: 0 16px 8px; min-height: 44px; padding: 0 12px; font: inherit; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--bg); color: var(--ink); }
.lsh-list { overflow-y: auto; padding: 0 8px 8px; overscroll-behavior: contain; }
.lsh-g { margin: 10px 8px 4px; font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lsh-r { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; min-height: 56px; padding: 6px 8px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.lsh-r:hover, .lsh-r:focus-visible { background: var(--header-hover); outline: none; }
.lsh-r .av { width: 44px; height: 44px; }
.lsh-n { font-weight: 700; line-height: 1.2; } .lsh-n b { color: var(--link); margin-right: 8px; font-variant-numeric: tabular-nums; } .lsh-n small { display: block; font-weight: 500; font-size: .75rem; color: var(--muted); }
.lsh-r.used { opacity: .72; } .lsh-r.on { opacity: 1; background: var(--header-hover); } .lsh-r i { font-style: normal; font-weight: 900; color: var(--win); font-size: 1.25rem; }
.lsh-f { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px 14px; border-top: 1px solid var(--line); } .lsh-f .btn { margin: 0; } .lsh-f .btn:last-child { margin-left: auto; }
body.sheet-open #panel-lineup .mc-grid { padding-bottom: 50vh; }
@media (min-width: 1000px) { body.sheet-open #panel-lineup .mc-grid { padding-bottom: 0; } }

/* ---------- Graphic colour styles ---------- */
.gsty .sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 6px; vertical-align: -2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.sw.club { background: linear-gradient(90deg, #182652 50%, #0049af 50%); } .sw.navy { background: #182652; } .sw.blue { background: repeating-linear-gradient(90deg, #0049af 0 3px, #0a52bd 3px 6px); } .sw.gold { background: #f1cd31; } .sw.white { background: #fff; }
.g.s-navy.g-result, .g.s-navy.g-poster, .g.s-navy.g-lineup, .g.s-navy.g-cards { background: #182652; color: #fff; }
.g.s-navy.g-squad { background: #182652; color: #fff; } .g.s-navy.g-squad .g-title, .g.s-navy.g-squad .g-staff li, .g.s-navy.g-squad .g-fact span { color: #fff; } .g.s-navy.g-squad .g-list li { color: #b5d5f0; border-color: rgba(255,255,255,.15); }
.g.s-blue.g-lineup, .g.s-blue.g-cards, .g.s-blue.g-squad { background: #0049af; color: #fff; }
.g.s-blue.g-lineup::before, .g.s-blue.g-cards::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 6cqw, transparent 6cqw 12cqw); }
.g.s-blue.g-squad .g-title, .g.s-blue.g-squad .g-staff li, .g.s-blue.g-squad .g-fact span, .g.s-blue.g-squad .g-fact b, .g.s-blue.g-squad .g-staff b { color: #fff; } .g.s-blue.g-squad .g-list li { color: #fff; border-color: rgba(255,255,255,.2); } .g.s-blue.g-squad .g-v { color: #f1cd31; }
.g.s-gold { background: #f1cd31 !important; color: #182652 !important; }
.g.s-gold::before { background: repeating-linear-gradient(100deg, rgba(24,38,82,.06) 0 6cqw, transparent 6cqw 12cqw) !important; }
.g.s-gold .g-big, .g.s-gold .g-names, .g.s-gold .g-thanks, .g.s-gold .gl-vs, .g.s-gold .gl-subs li, .g.s-gold .gl-cap { color: #182652; text-shadow: none; }
.g.s-gold .g-big em, .g.s-gold .gl-f b, .g.s-gold .g-kick, .g.s-gold .g-tag, .g.s-gold .gl-tag, .g.s-gold .g-names span { color: #0049af; }
.g.s-gold .gl-f { border-color: #182652; } .g.s-gold .g-poster .g-v, .g.s-gold .g-v { color: #0049af; } .g.s-gold .g-ring { color: #182652; }
.g.s-gold .g-motm { background: #182652; color: #fff; }
.g.s-white { background: #fff !important; color: #182652 !important; border: 1px solid var(--line); }
.g.s-white::before { background: repeating-linear-gradient(100deg, rgba(0,73,175,.05) 0 6cqw, transparent 6cqw 12cqw) !important; }
.g.s-white .g-big, .g.s-white .g-names, .g.s-white .g-thanks, .g.s-white .gl-vs, .g.s-white .gl-subs li, .g.s-white .gl-cap { color: #182652; text-shadow: none; }
.g.s-white .g-big em, .g.s-white .gl-f b, .g.s-white .g-names span, .g.s-white .g-v { color: #0049af; } .g.s-white .g-kick, .g.s-white .g-tag, .g.s-white .gl-tag { color: #0049af; } .g.s-white .g-ring { color: #182652; }
.g.s-white .gl-subs b, .g.s-gold .gl-subs b { background: #182652; color: #fff; }

/* ---------- Team photos graphic (4:5) ---------- */
.g-cards { aspect-ratio: 4 / 5; background: #0049af; color: #fff; border: 0; display: grid; grid-template-rows: auto 1fr auto; }
.g-cards::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 50% at 50% 60%, rgba(255,255,255,.12), transparent 70%); }
.g-cards > * { position: relative; } .g-cards > .g-foot { position: absolute; }
.g-cards .g-big { font-size: 11.5cqw; } .g-cards .g-big em { font-style: normal; color: #f1cd31; } .g-cards .g-kick { font-size: 2.1cqw; letter-spacing: .1em; }
.gc-rows { display: grid; align-content: center; gap: 2.4cqw; padding: 0 4cqw; }
.gc-row { display: flex; justify-content: center; gap: 2.4cqw; }
.gc-p { position: relative; width: calc((100% - 4 * 2.4cqw) / 5); max-width: 17cqw; display: grid; justify-items: center; gap: 1cqw; }
.gc-p img, .gc-shirt { width: 100%; aspect-ratio: 1; border-radius: 1.6cqw; object-fit: cover; background: #182652; box-shadow: 0 0 0 .6cqw #fff, 0 1.2cqw 2.4cqw rgba(8,18,48,.4); }
.gc-shirt { display: grid; place-items: center; background: repeating-linear-gradient(90deg, #fff 0 14.3%, #0049af 14.3% 28.6%); }
.gc-shirt b { font: 900 6cqw/1 var(--f-display); font-stretch: 75%; color: #182652; text-shadow: 0 0 .6cqw #fff, 0 0 .6cqw #fff; }
.gc-p i, .gc-p em { position: absolute; top: -1cqw; display: grid; place-items: center; width: 4.6cqw; height: 4.6cqw; border-radius: 50%; font: 900 2.5cqw/1 var(--f-display); font-style: normal; border: .4cqw solid #182652; }
.gc-p i { left: -1cqw; background: #fff; color: #182652; } .gc-p em { right: -1cqw; background: #f1cd31; color: #182652; }
.gc-p span { max-width: 100%; padding: .5cqw 1cqw; background: #182652; color: #fff; border-bottom: .4cqw solid #f1cd31; font: 800 2.3cqw/1.1 var(--f-display); font-stretch: 75%; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-subs { margin: 0 4.5cqw 10cqw; font-size: 2.2cqw; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; } .gc-subs b { color: #f1cd31; letter-spacing: .14em; margin-right: 1cqw; }
.g.s-gold .gc-subs b, .g.s-white .gc-subs b { color: #0049af; }
.gc-p { max-width: 13.5cqw; } .gc-rows { gap: 1.8cqw; } .gc-row { gap: 2cqw; }
.gc-p .gc-shirt { background: repeating-linear-gradient(90deg, #fff 0 14.3%, #0049af 14.3% 28.6%); }
.g-cards .gl-top { position: relative; padding-right: 22cqw; }
.gc-f { position: absolute; right: 4.5cqw; top: 5cqw; display: grid; justify-items: end; font: 900 7cqw/1 var(--f-display); font-stretch: 62%; color: #f1cd31; }
.gc-f small { font: 700 1.8cqw var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: inherit; opacity: .85; }
.g.s-gold .gc-f, .g.s-white .gc-f { color: #0049af; }
.g.s-blue .g-title em, .g.s-navy .g-title em { color: #f1cd31; }

/* Graphics tab: the whole graphic always fits on screen, ready to share (13 November 2026) */
.gfxwrap { max-width: none; display: grid; justify-items: center; }
.gfxwrap .g { width: 100%; }
.gfxwrap .g-lineup, .gfxwrap .g-cards, .gfxwrap .g-result { max-width: calc((100svh - 150px) * .8); }
.gfxwrap .g-poster { max-width: calc(100svh - 150px); }
.gfxwrap .g-squad { max-width: calc((100svh - 150px) * 8 / 7); }
@media (min-width: 1000px) {
  .gpanel { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(0, 1.25fr); grid-template-areas: "form gfx" "share gfx"; gap: 0 40px; align-items: start; }
  .gpanel .gform { grid-area: form; max-width: none; } .gpanel .share { grid-area: share; margin-top: 0; }
  .gpanel .gfxwrap { grid-area: gfx; position: sticky; top: 96px; }
  .gfxwrap .g-lineup, .gfxwrap .g-cards, .gfxwrap .g-result { max-width: calc((100vh - 130px) * .8); }
  .gfxwrap .g-poster { max-width: calc(100vh - 130px); }
  .gfxwrap .g-squad { max-width: calc((100vh - 130px) * 8 / 7); }
}
.g-squad.few .g-list { gap: 1cqw; } .g-squad.few .g-list li { font-size: 3.1cqw; padding-bottom: .9cqw; gap: 2cqw; } .g-squad.few .g-list b { width: 3.6cqw; height: 3.6cqw; font-size: 2cqw; }
.g-squad.few .g-bar { font-size: 1.8cqw; margin: 1.4cqw 0 1cqw; }

/* Form strip left side (13 Nov 2026): league position badge and a won/drawn/lost bar */
.fb-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.fb-pos { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--r); background: var(--hero-bg); color: var(--hero-ink); text-decoration: none; }
.fb-pos b { font-size: 2.75rem; line-height: .9; color: var(--hero-accent); text-transform: uppercase; }
.fb-pos span { font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; }
.fb-pos:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.fb-wdl { flex: 1 1 200px; min-width: 0; display: grid; gap: 8px; max-width: 320px; }
.fb-bar { display: flex; gap: 3px; height: 12px; border-radius: 999px; overflow: hidden; }
.fb-bar i { display: block; } .fb-bar .W { background: var(--win); } .fb-bar .D { background: var(--draw); } .fb-bar .L { background: var(--loss); }
.fb-n { display: flex; gap: 16px; }
.fb-n span { display: inline-flex; align-items: baseline; gap: 5px; font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fb-n b { font-size: 1.5rem; line-height: 1; } .fb-n .W b { color: var(--win); } .fb-n .D b { color: var(--draw); } .fb-n .L b { color: var(--loss); }
.formB .fb-rec { display: none; }

/* Coming up and table: equal height */
.ct-grid { align-items: stretch; }
.ct-grid > div { display: flex; flex-direction: column; }
.ct-grid .fxcards { flex: 1; grid-auto-rows: 1fr; }

/* Formation: 4-1-3-2 shown, others behind Change */
.fmain { display: flex; }
.fcur { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; width: 100%; max-width: 420px; padding: 10px 14px; border: 1.5px solid var(--link); border-radius: var(--r); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.fcur-m svg { width: 40px; height: 50px; display: block; } .fcur-m svg rect, .fcur-m svg line { fill: none; stroke: currentColor; stroke-width: 3; opacity: .35; } .fcur-m svg circle { fill: var(--link); }
.fcur strong { display: block; font-size: 1.75rem; line-height: 1; } .fcur small { color: var(--muted); font-size: .8125rem; }
.fcur-c { font-weight: 800; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.fcur:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.fsel .fpick { margin-top: 10px; } .fsel .fpick[hidden] { display: none; }
@media (max-width: 640px) {
  .formB .fb-run { gap: 6px; } .formB .fb-run .eyebrow { flex-basis: 100%; }
  .formB .chip { min-height: 32px; padding: 0 8px 0 3px; gap: 5px; font-size: .8125rem; } .formB .chip b { width: 24px; height: 24px; font-size: .6875rem; }
}
.fb-left { flex-wrap: wrap; } .fb-wdl { flex: 1 1 180px; } .fb-n { flex-wrap: wrap; gap: 4px 14px; }
@media (max-width: 400px) { .fb-pos b { font-size: 2.25rem; } .fb-left { gap: 12px; } }

/* ---------- Sponsors (14 November 2026) ---------- */
.sp-logo { display: inline-grid; place-items: center; width: 100%; aspect-ratio: 3 / 2; padding: 8px; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.sp-logo.dark { background: #000; box-shadow: none; }
.sp-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sp-logo b { font-size: 2rem; color: #182652; }
.sp-logo.sm { width: 72px; padding: 4px; }
.sp-logo.xl { max-width: 340px; padding: 14px; }
.player .sp.has { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.player .sp.has .sp-logo { width: 56px; flex: none; }
.player .sp.avail { color: var(--loss); font-weight: 800; }
.spx-hero { background: var(--hero-bg); color: var(--hero-ink); } .spx-hero .wrap { padding-block: 36px 32px; } .spx-hero .eyebrow { color: var(--hero-accent); } .spx-hero h1 { margin: 6px 0 10px; font-size: clamp(2.75rem, 10vw, 5rem); line-height: .9; } .spx-hero .lede { max-width: 56ch; opacity: .92; }
.spx-team { display: grid; gap: 20px; align-items: center; padding: 20px; border-radius: var(--r); background: #000; color: #fff; }
@media (min-width: 760px) { .spx-team { grid-template-columns: 340px 1fr; gap: 36px; padding: 28px; } }
.spx-team .eyebrow { color: #e3c27a; } .spx-team h2 { margin: 6px 0 8px; font-size: clamp(1.75rem, 5vw, 2.75rem); line-height: .95; } .spx-team p { margin: 0; opacity: .85; }
.spx-row { display: grid; gap: 12px; margin-top: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.spx-p { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.spx-p .sp-logo { height: 120px; aspect-ratio: auto; } .spx-p p { margin: 0; font-weight: 800; } .spx-p small { display: block; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.spx-players { background: var(--surface); }
.spx-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.spx-c { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 14px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--ink); text-decoration: none; text-align: center; }
.spx-c:hover { border-color: var(--link); } .spx-c:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.spx-ph { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--link); color: #fff; font-weight: 800; box-shadow: 0 0 0 3px #f1cd31; }
.spx-ph img { width: 100%; height: 100%; object-fit: cover; }
.spx-c strong { line-height: 1.2; } .spx-c .sp-logo.sm { width: 110px; } .spx-c small { font-size: .75rem; color: var(--muted); }
.spx-c.open { border: 2px solid #f1cd31; } .spx-cta { padding: 6px 10px; border-radius: 999px; background: #f1cd31; color: #182652; font-size: .75rem; font-weight: 800; }
.spx-c.tbc { opacity: .78; }
.pp-sp { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.pp-sp p { margin: 0; } .pp-sp small { display: block; font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .pp-sp strong { display: block; font-size: 1.125rem; } .pp-sp span { color: var(--muted); font-size: .875rem; }
.gp-sp { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; margin-top: 2.4cqw; }
.gp-sp > div { display: grid; gap: 1cqw; } .gp-sp small { font-size: 1.9cqw; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #f1cd31; }
.gp-sp .sp-logo { aspect-ratio: auto; height: 11cqw; padding: 1cqw; border-radius: 1cqw; box-shadow: none; }
.gp-av { display: grid; place-items: center; height: 11cqw; border: .4cqw dashed rgba(255,255,255,.5); border-radius: 1cqw; font-size: 2.4cqw; font-weight: 800; text-transform: uppercase; }
.g-player .gp-body { bottom: 7cqw; }
@media (min-width: 900px) { .ptn-grid.sp4 { grid-template-columns: repeat(4, 1fr); } .ptn-grid.sp4 .ptn-cta { grid-column: 1 / -1; } }
.sp-logo { position: relative; display: block; }
.sp-logo img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); max-width: none; max-height: none; object-fit: contain; }
.sp-logo b { position: absolute; inset: 0; display: grid; place-items: center; }
.sp-logo.sm img { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
.sp-logo.xl { aspect-ratio: 3 / 2; max-width: 340px; } .sp-logo.xl img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
.spx-p .sp-logo { height: 140px; aspect-ratio: auto; }
.player .sp.has .sp-logo { height: 38px; aspect-ratio: auto; }
.pp-sp .sp-logo { height: 92px; aspect-ratio: auto; }
.gp-sp .sp-logo img { inset: .8cqw; width: calc(100% - 1.6cqw); height: calc(100% - 1.6cqw); }
.g-player.has-sp .gp-photo { inset: 0 0 46% 0; }
.g-player.has-sp .gp-body { gap: 1.4cqw; bottom: 8.5cqw; }
.g-player.has-sp .gp-name { font-size: 5cqw; } .g-player.has-sp .gp-stats { padding-top: 1.6cqw; } .g-player.has-sp .gp-stats b { font-size: 7cqw; }
.g-player.has-sp .gp-sp { margin-top: 1.2cqw; } .g-player.has-sp .gp-sp .sp-logo, .g-player.has-sp .gp-av { height: 12cqw; }

/* Feedback 15 Nov: photo hero, plain league line */
.hero.has-wall::before { z-index: 1; background: linear-gradient(90deg, rgba(0,73,175,.97) 0%, rgba(0,73,175,.9) 45%, rgba(0,73,175,.55) 100%); }
.hero.has-wall .wrap { z-index: 2; }
.hero-wall { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: 1fr; opacity: .9; filter: grayscale(.35) contrast(1.05); }
.hero-wall img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .hero-wall { grid-template-columns: repeat(4, 1fr); } .hero.has-wall::before { background: linear-gradient(180deg, rgba(0,73,175,.95), rgba(0,73,175,.88)); } }
.fb-line { display: flex; align-items: center; gap: 14px; min-width: 0; color: var(--ink); text-decoration: none; }
.fb-line b { font-size: 2.5rem; line-height: 1; color: var(--link); text-transform: uppercase; }
.fb-line strong { display: block; font-size: .9375rem; } .fb-line small { display: block; color: var(--muted); font-size: .8125rem; }
.fb-line:hover strong { text-decoration: underline; }
.hero-wall { z-index: 0; } .hero.has-wall::before { z-index: 1; }
.hero.has-wall .hero-badge { display: none; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,58,145,.96) 0%, rgba(0,73,175,.9) 50%, rgba(0,73,175,.6) 100%); }
@media (max-width: 760px) { .hero-shade { background: linear-gradient(180deg, rgba(0,58,145,.94), rgba(0,73,175,.9)); } }
.hero.has-wall .wrap { position: relative; z-index: 2; }
.gp-sp.one { grid-template-columns: 1fr; } .ptn-grid.sp4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.gp-sp.one { grid-template-columns: 1fr; } .ptn-grid.sp4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

/* League strip, third version (15 Nov): mini table and form like a club site */
.formB .wrap { display: grid; gap: 18px; padding-block: 18px; }
@media (min-width: 900px) { .formB .wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; } }
.fb-h { display: block; margin-bottom: 8px; font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fb-mini { display: block; max-width: 480px; color: var(--ink); text-decoration: none; }
.fb-r { display: grid; grid-template-columns: 28px minmax(0, 1fr) 32px 36px; gap: 8px; align-items: center; padding: 6px 8px; border-bottom: 1px solid var(--line); font-size: .875rem; font-variant-numeric: tabular-nums; }
.fb-r b { color: var(--muted); font-weight: 700; } .fb-r span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fb-r i { font-style: normal; color: var(--muted); text-align: right; } .fb-r strong { text-align: right; }
.fb-r.us { background: var(--link); color: #fff; border-radius: 4px; border-color: transparent; font-weight: 800; } .fb-r.us b, .fb-r.us i { color: rgba(255,255,255,.85); }
.fb-mini:hover .fb-r span { text-decoration: underline; } .fb-mini:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.formB .fb-run { display: block; }
.formB .fb-run > a { display: inline-grid; justify-items: center; gap: 4px; width: 48px; margin-right: 6px; text-decoration: none; }
.fres b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; color: #fff; font: 900 1.125rem/1 var(--f-display); background: var(--draw); }
.fres.W b { background: var(--win); } .fres.L b { background: var(--loss); }
.fres small { color: var(--muted); font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.fres:hover b { filter: brightness(1.1); } .fres:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
img.crest.opp { object-fit: contain; }

/* ---------- Results and fixtures cards (15 November 2026) ---------- */
.rc-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 24px 0 8px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 720px) { .rc-band { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.rc-band > * { display: grid; gap: 4px; padding: 14px 12px; background: var(--surface); color: var(--ink); text-decoration: none; }
.rc-band b { font-size: 2.25rem; line-height: 1; } .rc-band b small { font-size: .7em; margin: 0 .05em; opacity: .5; }
.rc-band span { font-size: .6875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.25; }
.rc-band .W b { color: var(--win); } .rc-band .D b { color: var(--draw); } .rc-band .L b { color: var(--loss); } .rc-band a b { color: var(--link); }
.rc-month { margin-top: 28px; }
.rc-mh { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font: 900 1.5rem/1 var(--f-display); font-stretch: 75%; text-transform: uppercase; }
.rc-mrec { display: inline-flex; gap: 6px; } .rc-mrec i { font: 800 .75rem var(--f-text); font-style: normal; padding: 4px 8px; border-radius: 999px; color: #fff; background: var(--draw); } .rc-mrec .W { background: var(--win); } .rc-mrec .L { background: var(--loss); }
.rc-mrec.n { font: 700 .8125rem var(--f-text); text-transform: none; color: var(--muted); }
.rc-list { display: grid; gap: 10px; }
.rc { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px 12px 12px; border: 1px solid var(--line); border-left: 6px solid var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--ink); text-decoration: none; }
.rc.W { border-left-color: var(--win); } .rc.D { border-left-color: var(--draw); } .rc.L { border-left-color: var(--loss); } .rc.fx { border-left-color: var(--link); }
a.rc:hover { box-shadow: 0 6px 18px rgba(24,38,82,.1); } a.rc:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.rc-d { display: grid; justify-items: center; font-size: .6875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--line); padding-right: 12px; } .rc-d b { font-size: 2rem; line-height: 1; color: var(--ink); }
.rc-m { display: grid; gap: 6px; min-width: 0; }
.rc-meta { font-size: .75rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.rc-comp { padding: 2px 7px; border-radius: 3px; background: var(--header-hover); color: var(--link); font-weight: 800; font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; } .rc-comp.cup { background: #f1cd31; color: #182652; }
.rc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rc-t { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; } .rc-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rc-t.us { font-weight: 800; }
.rc-t .crest, .rc-t .roundel { width: 28px; height: 28px; flex: none; font-size: .5625rem; } .rc-t img.crest { object-fit: contain; }
.rc-s { font: 900 1.5rem/1 var(--f-display); font-variant-numeric: tabular-nums; color: var(--muted); } .rc-s.mine { color: var(--ink); }
.rc-sc { font-size: .8125rem; color: var(--muted); }
.rc-r { display: grid; justify-items: end; gap: 4px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; } .rc-r i { font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--link); }
.rc-r.W { color: var(--win); } .rc-r.D { color: var(--draw); } .rc-r.L { color: var(--loss); } .rc-r.ko { color: var(--muted); }
@media (max-width: 520px) { .rc { grid-template-columns: 44px minmax(0, 1fr); } .rc-r { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: space-between; } .rc-d b { font-size: 1.625rem; } }
.formB .fb-run { justify-self: start; }
.formB .wrap.fb-solo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.fb-solo .fb-run { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fb-solo .fb-h { margin: 0 12px 0 0; }
.fb-all { font-weight: 800; color: var(--link); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; } .fb-all:hover { text-decoration: underline; }
.rc-sc b { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-right: 4px; }
@media (max-width: 520px) { .fb-solo .fb-h { flex-basis: 100%; margin-bottom: 4px; } }

/* Simple results rows (15 Nov 2026, second version) */
.sl-list { border-top: 1px solid var(--line); }
.sl { display: grid; grid-template-columns: 110px minmax(0, 1fr) 76px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 56px; padding: 10px 6px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
a.sl:hover { background: var(--header-hover); } a.sl:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.sl-d { font-size: .8125rem; color: var(--muted); }
.sl-t { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; font-weight: 600; text-align: right; } .sl-t.r { justify-content: flex-start; text-align: left; }
.sl-t span { overflow: hidden; text-overflow: ellipsis; } .sl-t.us { font-weight: 800; }
.sl-t .crest, .sl-t .roundel { width: 28px; height: 28px; flex: none; font-size: .5625rem; } .sl-t img.crest { object-fit: contain; }
.sl-s { justify-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 4px; background: var(--ink); color: #fff; font: 900 1.125rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.sl-s i { font-style: normal; opacity: .6; } .sl-s.W { background: var(--win); } .sl-s.L { background: var(--loss); } .sl-s.D { background: var(--draw); }
.sl-s.ko { background: transparent; color: var(--muted); font: 700 .875rem var(--f-text); }
@media (max-width: 600px) { .sl { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 4px 8px; } .sl-d { grid-column: 1 / -1; } .sl-t { font-size: .875rem; gap: 6px; } .sl-t .crest, .sl-t .roundel { width: 22px; height: 22px; } }
.visit-map.light { background: #13204a; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .grid-2 .sl { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); } .grid-2 .sl .sl-d { grid-column: 1 / -1; } }

/* Real news (15 Nov 2026) */
.card .plate.nimg { padding: 0; overflow: hidden; background: #0049af; }
.card .plate.nimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .plate.nimg.logo { background: #fff; } .card .plate.nimg.logo.dark { background: #000; }
.card .plate.nimg.logo img { object-fit: contain; padding: 18px 24px; }
.card .plate.nscore { display: flex; align-items: center; justify-content: center; gap: 18px; background: var(--hero-bg); color: #fff; }
.card .plate.nscore.W { background: linear-gradient(135deg, #0049af 60%, var(--win)); } .card .plate.nscore.L { background: linear-gradient(135deg, #0049af 60%, var(--loss)); }
.card .plate.nscore .crest, .card .plate.nscore .roundel { width: 54px; height: 54px; object-fit: contain; color: #fff; font-size: .875rem; }
.card .plate.nscore .big { color: #fff; position: static; font-size: 3.5rem; }
.card .plate.nword { display: flex; align-items: center; justify-content: center; gap: 14px; background: #182652; color: #fff; }
.nw-crest { width: 64px; height: auto; } .card .plate.nword .word { position: static; color: #fff; font-size: 2rem; }
.card .plate .cap { display: none; }
.nl.logo img { object-fit: contain; padding: 20px 20% 70px; background: #000; }
.nl.logo::before { background: linear-gradient(180deg, transparent 45%, rgba(24,38,82,.95)) !important; }
.art-img { margin: 0 0 20px; border-radius: var(--r); overflow: hidden; background: #0049af; aspect-ratio: 16 / 9; }
.art-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-img.logo { background: #fff; } .art-img.logo.dark { background: #000; } .art-img.logo img { object-fit: contain; padding: 24px 15%; }
.art-sp { display: grid; gap: 8px; margin: 20px 0; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.art-sp a { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; font-family: var(--f-text); }
.art-sp .sp-logo.sm { width: 80px; height: 48px; aspect-ratio: auto; flex: none; } .art-sp strong { display: block; font-size: .9375rem; } .art-sp small { color: var(--muted); font-size: .8125rem; }

/* Last 5 centred */
.formB .wrap.fb-solo { flex-direction: column; justify-content: center; text-align: center; gap: 6px; }
.fb-solo .fb-run { justify-content: center; } .fb-solo .fb-h { flex-basis: 100%; margin: 0 0 6px; text-align: center; }
.nl.logo { background: #000; }
.nl.logo img { inset: 0 0 auto 0; height: 58%; padding: 14px 10%; background: #000; }
.nl.logo::before { background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.9) 62%) !important; }
.nl-big.logo img { height: 62%; }
.nl-sm.logo img { inset: 0 0 0 auto; width: 42%; height: 100%; padding: 14px; }
.nl-sm.logo .nl-t { max-width: 58%; }
.nl-sm.logo::before { display: none; }
/* Player sponsors page: squad cards with the sponsor's tile first in each group */
.sps-grid .sps-logo { cursor: default; }
@media (min-width: 720px) { .sps-grid { grid-template-columns: repeat(4, 1fr); } }
/* Sponsor banner: logo shown big on its own panel, then the players it backs */
.spb { display: grid; grid-template-columns: 1fr; margin: 40px 0 14px; border-radius: var(--r); overflow: hidden; background: #182652; color: #fff; box-shadow: 0 10px 30px rgba(24,38,82,.18); position: relative; }
.spb:first-child { margin-top: 0; }
.spb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #f1cd31; }
.spb-logo { background: #fff; display: grid; place-items: center; padding: 24px; min-height: 190px; }
.spb.dark .spb-logo { background: #000; }
.spb-logo img { max-width: 100%; max-height: 170px; width: auto; height: auto; object-fit: contain; }
.spb-txt { padding: 22px 22px 26px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.spb-txt .eyebrow { color: #f1cd31; margin: 0; }
.spb-txt h2 { color: #fff; font-size: clamp(1.75rem, 6vw, 2.75rem); line-height: .95; margin: 0; }
.spb-note { color: rgba(255,255,255,.8); font-size: .9375rem; margin: 0; }
.spb-count { display: flex; align-items: center; gap: 12px; margin: 8px 0 0; font-weight: 600; color: rgba(255,255,255,.9); }
.spb-count b { color: #f1cd31; font-size: 1.25rem; }
.spb-faces { display: flex; }
.spb-faces span { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; border: 2px solid #182652; background: #0047ba; margin-left: -10px; display: grid; place-items: center; font-size: .7rem; font-weight: 800; }
.spb-faces span:first-child { margin-left: 0; }
.spb-faces img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px) { .spb { grid-template-columns: minmax(280px, 42%) 1fr; } .spb-logo { min-height: 240px; padding: 32px; } .spb-logo img { max-height: 200px; } .spb-txt { padding: 32px 36px; } }
.spb-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; padding: 10px 18px; border-radius: 999px; background: #f1cd31; color: #182652; font-weight: 800; text-decoration: none; }
.spb-btn:hover { background: #fff; } .spb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.spb-btn.off { background: transparent; color: rgba(255,255,255,.75); border: 1px dashed rgba(255,255,255,.4); font-weight: 600; font-size: .875rem; }
a.spb-logo { transition: transform .2s; } a.spb-logo:hover img { transform: scale(1.03); } .spb-logo img { transition: transform .2s; }
.spb-btn.off .demo { color: inherit; }

/* Squad: player sponsor styles V1–V4 (demo switcher) */
.spv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 24px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.spv-bar b { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-right: 4px; }
.spv-bar a { display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 800; text-decoration: none; }
.spv-bar a small { font-weight: 600; color: var(--muted); }
.spv-bar a[aria-current] { background: #182652; border-color: #182652; color: #fff; }
.spv-bar a[aria-current] small { color: #f1cd31; }
@media (max-width: 639px) { .spv-bar a small { display: none; } }
.player.spv-1 .sp.has .sp-logo { width: 64px; height: 40px; }
.spv2 { position: absolute; top: 8px; right: 8px; z-index: 2; width: 38%; max-width: 110px; }
.spv2 .sp-logo { aspect-ratio: 3 / 2; box-shadow: 0 2px 10px rgba(0,0,0,.3); border: 2px solid #fff; }
.spv2 .sp-logo.dark { border-color: #f1cd31; }
.spv3 { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: auto; padding: 10px 14px; background: #182652; border-top: 3px solid #f1cd31; color: #fff; }
.player.spv-3 > dl { margin-top: 0; }
.spv3 small { font-size: .625rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #f1cd31; flex: none; }
.spv3 .sp-logo { width: 100%; height: 52px; aspect-ratio: auto; }
.spv3.open { background: transparent; border-top: 1px dashed var(--line); } .spv3.open small { color: var(--muted); }
.spv4 { position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); width: 40%; z-index: 1; }
.spv4 .sp-logo { aspect-ratio: 2 / 1; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.25); }

/* Footer sponsors: inside the navy footer, tidy equal tiles (team sites) */
.site-footer .ft-partners:has(.ft-grid) { background: transparent; color: inherit; border-top: 0; margin-bottom: 40px; padding-top: 40px; }
.ft-partners:has(.ft-grid) .wrap { display: block; padding-block: 0 32px; border-bottom: 1px solid rgba(255,255,255,.18); }
.ft-partners:has(.ft-grid) .eyebrow { color: #f1cd31; margin: 0 0 14px; }
.ft-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .ft-grid { grid-template-columns: repeat(3, 1fr); } }
.ft-grid .ft-p { display: flex; align-items: center; gap: 14px; min-height: 0; padding: 10px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); background: rgba(255,255,255,.06); color: #fff; }
.ft-grid .ft-p:hover { border-color: #f1cd31; }
.ft-grid .ft-p:focus-visible { outline: 3px solid #f1cd31; outline-offset: 2px; }
.ft-logo { flex: none; display: grid; place-items: center; width: 96px; height: 64px; padding: 6px; border-radius: 6px; background: #fff; }
.ft-logo.dark { background: #000; }
.ft-logo { position: relative; overflow: hidden; }
.ft-logo img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; border-radius: 0; background: none; }
.ft-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ft-grid .ft-p b { font-weight: 800; line-height: 1.25; }
.ft-grid .ft-p small { margin: 0; font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #f1cd31; }

/* Footer: gold line joins page and footer on every page; sponsors as a column (Athletic) */
.site-footer { padding-top: 56px; border-top: 4px solid #f1cd31; }
.site-footer .ft-partners { margin-top: -56px; }
.ft-spons ul a { gap: 10px; }
.ft-spons .ft-logo { width: 52px; height: 36px; padding: 3px; border-radius: 4px; }
.ft-spons .ft-logo img { inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); }
.ft-spons span:not(.ft-logo) { line-height: 1.3; }
@media (min-width: 1000px) { .site-footer .cols:has(.ft-spons) { grid-template-columns: 1.5fr .9fr .9fr .9fr 1.3fr; } }

/* Player sponsors page: available to sponsor */
.spo-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 20px; padding: 16px 18px; background: #182652; color: #fff; border-radius: var(--r); border-bottom: 4px solid #f1cd31; }
.spo-cta p { margin: 0; max-width: 60ch; } .spo-cta b { color: #f1cd31; }
.spo-tag { position: absolute; top: 8px; right: 8px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: #f1cd31; color: #182652; font-size: .625rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-head .aside .aside, .section-head > .aside { white-space: nowrap; }

/* Approved Athletic site: no sample/demo labels or placeholder buttons */
.demo, .spb-btn.off { display: none !important; }

/* Player of the month */
.pp-potm { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pp-potm li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: #f1cd31; color: #182652; font-weight: 800; border-radius: 999px; }
.pp-star { font-size: 1.1em; }
.st-potm { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.st-pm { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 10px; background: #182652; color: #fff; text-decoration: none; border-bottom: 4px solid #f1cd31; }
.st-pm small { display: block; color: #f1cd31; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.st-pm strong { font-size: 1.05rem; }

/* Player page award variants */
.ppv-bar { display: inline-flex; gap: 6px; align-items: center; margin: 0 0 20px; padding: 6px; border-radius: 999px; background: #182652; color: #fff; font-size: .8rem; font-weight: 700; }
.ppv-bar span { padding: 0 8px; opacity: .7; text-transform: uppercase; letter-spacing: .08em; }
.ppv-bar a { color: #fff; text-decoration: none; padding: 6px 12px; border-radius: 999px; }
.ppv-bar a[aria-current] { background: #f1cd31; color: #182652; }
.ppv { margin-bottom: 32px; }
.ppv-star, .ppv-ball { width: 22px; height: 22px; flex: none; }
.ppv1 { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ppv1 .aw { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 10px; text-decoration: none; min-height: 118px; }
.ppv1 .aw small { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }
.ppv1 .aw strong { font-size: 1rem; line-height: 1.2; }
.ppv1 .aw span { font-size: .78rem; opacity: .8; margin-top: auto; }
.ppv1 .gold { background: #f1cd31; color: #182652; }
.ppv1 .navy { background: #182652; color: #fff; } .ppv1 .navy .ppv-star, .ppv1 .navy small { color: #f1cd31; }
.ppv1 .light { background: #fff; color: #182652; border: 1px solid rgba(24,38,82,.15); }
.ppv2 { display: grid; gap: 12px; }
.ppv2 .cab { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 12px; padding: 16px; border-radius: 12px; background: #182652; color: #fff; border-bottom: 4px solid #f1cd31; }
.ppv2 .cab .ppv-star { color: #f1cd31; width: 28px; height: 28px; } .ppv2 .cab .ppv-ball { color: #182652; width: 28px; height: 28px; }
.ppv2 .cab b { font-size: 2.4rem; line-height: 1; color: #f1cd31; }
.ppv2 .cab small { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.ppv2 .chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ppv2 .chips > * { font-size: .8rem; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.ppv3-m { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 10px 14px; border-radius: 8px; background: #f1cd31; color: #182652; font-weight: 700; }
.ppv3 { list-style: none; margin: 12px 0 0; padding: 0 0 0 18px; border-left: 3px solid #f1cd31; }
.ppv3 li { position: relative; margin: 0 0 10px; }
.ppv3 li::before { content: ''; position: absolute; left: -26px; top: 18px; width: 13px; height: 13px; border-radius: 50%; background: #182652; border: 3px solid #f1cd31; }
.ppv3 a { display: grid; grid-template-columns: 58px 1fr; gap: 4px 12px; padding: 12px 14px; border-radius: 8px; background: #fff; color: #182652; text-decoration: none; border: 1px solid rgba(24,38,82,.12); }
.ppv3 time { font-weight: 800; font-size: .85rem; }
.ppv3 .t small { display: block; font-size: .78rem; opacity: .75; }
.ppv3 .tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.ppv3 .tags:empty { display: none; }
.ppv3 .tg { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: .75rem; font-weight: 800; padding: 3px 9px 3px 4px; border-radius: 999px; }
.ppv3 .tg svg { width: 16px; height: 16px; }
.ppv3 .tg.goal { background: #182652; color: #fff; } .ppv3 .tg.goal svg { color: #182652; }
.ppv3 .tg.motm { background: #f1cd31; color: #182652; }
.ppv4-ban { display: flex; align-items: center; gap: 14px; padding: 18px 20px; margin-bottom: 24px; border-radius: 12px; background: linear-gradient(135deg, #f1cd31, #ffe27a); color: #182652; }
.ppv4-ban .ppv-star { width: 40px; height: 40px; }
.ppv4-ban small { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.ppv4-ban strong { font-size: 1.5rem; }
.ppv4-ros { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.ppv4-ros .ros { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 96px; text-align: center; color: #182652; text-decoration: none; }
.ppv4-ros .disc { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: #182652; color: #f1cd31; box-shadow: 0 0 0 4px #f1cd31; }
.ppv4-ros .disc b { color: #fff; font-size: .78rem; margin-top: 2px; }
.ppv4-ros small { font-size: .75rem; font-weight: 700; line-height: 1.2; }
.ppv4-g { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ppv4-g a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 8px; background: #fff; color: #182652; text-decoration: none; border: 1px solid rgba(24,38,82,.12); }
.ppv4-g .balls { display: flex; gap: 2px; min-width: 50px; color: #182652; }
.ppv4-g small { display: block; font-size: .78rem; opacity: .75; }

/* Season so far: design options (sv=1..4) */
.sv-sum { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.sv-sum span { display: flex; flex-direction: column; align-items: center; min-width: 72px; padding: 10px 12px; border-radius: 10px; background: var(--surface, #fff); border: 1px solid var(--line); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sv-sum b { font: 900 1.6rem/1 var(--f-display); font-stretch: 75%; color: var(--ink); margin-bottom: 2px; letter-spacing: 0; }
.sv-sum .W b { color: var(--win); } .sv-sum .L b { color: var(--loss); } .sv-sum .D b { color: var(--draw); }
.sv1, .sv2, .sv4 { display: grid; grid-auto-flow: column; gap: 6px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; }
.sv1 { grid-auto-columns: minmax(76px, 1fr); }
.sv1-g { display: grid; grid-template-rows: 70px 4px 70px auto auto auto; justify-items: center; gap: 0; padding: 6px 4px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; text-align: center; }
.sv1-up, .sv1-dn { width: 60%; display: flex; } .sv1-up { align-items: flex-end; } .sv1-dn { align-items: flex-start; }
.sv1-up i, .sv1-dn i { display: block; width: 100%; min-height: 8px; }
.sv1-up i { background: var(--win); border-radius: 4px 4px 0 0; } .sv1-dn i { background: var(--loss); border-radius: 0 0 4px 4px; }
.sv1-mid { width: 100%; height: 4px; background: var(--line); position: relative; } .sv1-mid i { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--draw); }
.sv1-g b { margin-top: 8px; font: 900 1.25rem/1 var(--f-display); font-stretch: 75%; }
.sv1-g strong { font-size: .72rem; line-height: 1.2; margin-top: 4px; } .sv1-g small { font-size: .65rem; color: var(--muted); margin-top: 2px; }
.sv1-g.cur, .sv2-g.cur, .sv4-g.cur { background: var(--surface, #fff); box-shadow: 0 0 0 2px var(--ink); }
.sv1-g:hover, .sv2-g:hover, .sv4-g:hover { background: var(--header-hover); }
.sv2 { grid-auto-columns: minmax(84px, 1fr); }
.sv2-g { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 10px; color: var(--ink); text-decoration: none; text-align: center; }
.sv2-dot { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; font: 900 1.3rem/1 var(--f-display); background: var(--draw); }
.sv2-dot.W { background: var(--win); } .sv2-dot.L { background: var(--loss); }
.sv2-g b { font: 900 1.15rem/1 var(--f-display); font-stretch: 75%; margin-top: 2px; } .sv2-g strong { font-size: .72rem; line-height: 1.2; } .sv2-g small { font-size: .65rem; color: var(--muted); }
.sv3 { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sv3 a { display: grid; grid-template-columns: 64px 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 8px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.sv3 a:hover { background: var(--header-hover); } .sv3 a.cur { background: var(--surface, #fff); box-shadow: inset 4px 0 0 var(--link); }
.sv3 time { font-size: .8rem; font-weight: 700; color: var(--muted); }
.sv3 .ha { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; font-size: .75rem; font-weight: 800; background: var(--line); }
.sv3 .t strong { display: block; font-weight: 700; } .sv3 .t small { font-size: .75rem; color: var(--muted); }
.sv3 em { font-style: normal; min-width: 56px; text-align: center; padding: 6px 10px; border-radius: 6px; color: #fff; font: 900 1.05rem/1 var(--f-display); font-stretch: 75%; background: var(--draw); }
.sv3 em.W { background: var(--win); } .sv3 em.L { background: var(--loss); }
.sv4 { grid-auto-columns: minmax(64px, 1fr); }
.sv4-g { display: grid; grid-template-rows: 90px 70px auto auto auto; justify-items: center; padding: 6px 4px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; text-align: center; }
.sv4-up, .sv4-dn { width: 56%; display: flex; flex-direction: column; align-items: center; } .sv4-up { justify-content: flex-end; border-bottom: 2px solid var(--ink); } .sv4-dn { justify-content: flex-start; }
.sv4-up i, .sv4-dn i { display: block; width: 100%; } .sv4-up i { background: #182652; border-radius: 3px 3px 0 0; } .sv4-dn i { background: #d9a7a3; border-radius: 0 0 3px 3px; }
.sv4-g em { font-style: normal; font-weight: 800; font-size: .8rem; line-height: 1.4; }
.sv4-g strong { font-size: .7rem; line-height: 1.2; margin-top: 6px; } .sv4-g small { font-size: .65rem; color: var(--muted); }
.sv4-res { margin-top: 4px; font-size: .65rem; font-weight: 900; color: #fff; padding: 2px 7px; border-radius: 999px; background: var(--draw); } .sv4-res.W { background: var(--win); } .sv4-res.L { background: var(--loss); }
.mx-key .gf::before { background: #182652; } .mx-key .ga::before { background: #d9a7a3; }

/* Results strip: smooth scroll, snap, arrows, fade edges, progress track */
.sv2-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.sv2-head .mx-h { margin: 0; }
.sv2-rec { display: flex; gap: 6px; margin: 0; } .sv2-rec span { font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; color: #fff; background: var(--draw); } .sv2-rec .W { background: var(--win); } .sv2-rec .L { background: var(--loss); }
.sv2-btns { margin-left: auto; display: flex; gap: 8px; }
.sv2-nav { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #182652; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; transition: transform .15s, opacity .15s, background .15s; }
.sv2-nav:hover:not(:disabled) { background: #f1cd31; color: #182652; transform: scale(1.06); }
.sv2-nav:disabled { opacity: .25; cursor: default; }
.sv2-nav:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sv2-wrap { position: relative; }
.sv2-wrap::before, .sv2-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 48px; z-index: 2; pointer-events: none; transition: opacity .2s; }
.sv2-wrap::before { left: 0; background: linear-gradient(to right, var(--bg, #f4f1ea), transparent); }
.sv2-wrap::after { right: 0; background: linear-gradient(to left, var(--bg, #f4f1ea), transparent); }
.sv2-wrap.at-start::before, .sv2-wrap.at-end::after { opacity: 0; }
.sv2 { display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 8px 4px 6px; overscroll-behavior-x: contain; }
.sv2::-webkit-scrollbar { display: none; }
.sv2.drag { scroll-behavior: auto; scroll-snap-type: none; cursor: grabbing; user-select: none; }
@media (pointer: fine) { .sv2 { cursor: grab; } }
.sv2-g { position: relative; flex: 0 0 104px; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; text-align: center; transition: background .15s, transform .15s; }
.sv2-g::before { content: ""; position: absolute; top: 33px; left: -2px; right: -2px; height: 3px; background: var(--line); z-index: 0; }
.sv2-g:first-child::before { left: 50%; } .sv2-g:last-child::before { right: 50%; }
.sv2-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; font: 900 1.3rem/1 var(--f-display); background: var(--draw); box-shadow: 0 0 0 4px var(--bg, #f4f1ea); transition: transform .15s; }
.sv2-dot.W { background: var(--win); } .sv2-dot.L { background: var(--loss); }
.sv2-g:hover { background: var(--surface, #fff); } .sv2-g:hover .sv2-dot { transform: scale(1.08); }
.sv2-g.cur { background: var(--surface, #fff); box-shadow: 0 0 0 2px #182652, 0 6px 16px rgba(24,38,82,.12); }
.sv2-g.cur .sv2-dot { box-shadow: 0 0 0 4px var(--surface, #fff), 0 0 0 6px #f1cd31; }
.sv2-g b { font: 900 1.2rem/1 var(--f-display); font-stretch: 75%; margin-top: 4px; }
.sv2-g strong { font-size: .76rem; line-height: 1.2; }
.sv2-g small { font-size: .66rem; color: var(--muted); }
.sv2-g em { font-style: normal; font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: #f1cd31; color: #182652; margin-top: 2px; }
.sv2-track { position: relative; height: 4px; margin: 10px 4px 0; border-radius: 2px; background: var(--line); overflow: hidden; }
.sv2-track i { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: #182652; transition: left .1s linear; }
@media (prefers-reduced-motion: reduce) { .sv2 { scroll-behavior: auto; } .sv2-g, .sv2-dot, .sv2-nav { transition: none; } }
@media (max-width: 560px) { .sv2-g { flex-basis: 92px; } .sv2-wrap::before, .sv2-wrap::after { width: 28px; } }

/* Results strip arrows v2: small arrows on the strip's edges, desktop only (phones swipe) */
.sv2-wrap .sv2-nav { position: absolute; top: 34px; z-index: 3; width: 36px; height: 36px; font-size: 1.4rem; background: #fff; color: #182652; box-shadow: 0 2px 10px rgba(24,38,82,.25); opacity: 0; transition: opacity .2s, transform .15s, background .15s; }
.sv2-wrap .sv2-nav.prev { left: 4px; } .sv2-wrap .sv2-nav.next { right: 4px; }
.sv2-wrap:hover .sv2-nav:not(:disabled), .sv2-wrap .sv2-nav:focus-visible { opacity: 1; }
.sv2-wrap .sv2-nav:disabled { opacity: 0 !important; pointer-events: none; }
.sv2-wrap .sv2-nav:hover:not(:disabled) { background: #f1cd31; color: #182652; }
@media (hover: none) { .sv2-wrap .sv2-nav { display: none; } }
