/* ==========================================================================
   FC BERLIN · Site styles
   Brand: FC_Berlin_Brand_Guide.html (Anton / Inter / JetBrains Mono,
   FCB Blue, Ink Black, Concrete Grey, Bone White, Sky Tint, Signal Yellow).
   Kit colours: home FCB Blue, away black.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0f1012;
  --ink-2: #16171a;
  --ink-3: #1f2125;
  --ink-4: #2b2e33;
  --bone: #f3f1ec;
  --bone-2: #e9e6df;
  --bone-3: #d8d4ca;
  --mist: #a8aaae;          /* secondary text on ink (8:1) */
  --stone: #5a5d63;         /* secondary text on bone (6:1) */
  --blue: #4f8fc0;          /* FCB Blue, home kit */
  --blue-deep: #2e5e82;
  --sky: #aacfe9;
  --signal: #f6c324;        /* used sparingly: live / next-match marker */

  --line: rgba(243, 241, 236, 0.12);
  --line-strong: rgba(243, 241, 236, 0.22);
  --line-ink: rgba(15, 16, 18, 0.12);
  --line-ink-strong: rgba(15, 16, 18, 0.22);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-data: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;

  --maxw: 1360px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 68px;
  --section-y: clamp(72px, 10vw, 136px);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--ink-4) var(--ink);
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--blue);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color 160ms ease;
}
p a:hover, .prose a:hover, .link:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--blue); color: var(--ink); }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}
.light :focus-visible { outline-color: var(--blue-deep); }

.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 8px;
  background: var(--bone); color: var(--ink); font-weight: 700; font-size: 0.9375rem;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display, h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  text-wrap: balance;
}
.t-hero { font-size: clamp(3.4rem, 10.5vw, 9rem); line-height: 0.88; letter-spacing: -0.005em; }
.t-page { font-size: clamp(3rem, 8vw, 6.5rem); line-height: 0.9; letter-spacing: -0.003em; }
.t-h2 { font-size: clamp(2.1rem, 4.6vw, 3.75rem); line-height: 0.94; letter-spacing: 0; }
.t-h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.012em; text-transform: none; }
.t-lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; letter-spacing: -0.006em; color: color-mix(in srgb, var(--bone) 82%, transparent); max-width: 40ch; text-wrap: pretty; }
.t-small { font-size: 0.9375rem; line-height: 1.5; letter-spacing: 0.002em; }
.t-meta { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.t-data { font-family: var(--font-data); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.muted { color: var(--mist); }
.light .muted { color: var(--stone); }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 68ch; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--bone);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 8px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 0.9375rem; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(0.97); transition-duration: 80ms; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--bone); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--bone); }
.btn--blue { --btn-bg: var(--blue); --btn-fg: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.light .btn--ghost { --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-ink-strong); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --btn-bg: #fff; }
  .btn--ghost:hover { --btn-bg: rgba(243, 241, 236, 0.08); box-shadow: inset 0 0 0 1.5px var(--bone); }
  .btn--ink:hover { --btn-bg: #000; }
  .btn--blue:hover { --btn-bg: #62a0cf; }
  .light .btn--ghost:hover { --btn-bg: rgba(15, 16, 18, 0.05); box-shadow: inset 0 0 0 1.5px var(--ink); }
}

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 8px;
  color: var(--bone);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: transform 140ms var(--ease-out), background-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:active { transform: scale(0.94); }
.icon-btn:disabled { opacity: 0.3; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .icon-btn:not(:disabled):hover { background: rgba(243, 241, 236, 0.08); box-shadow: inset 0 0 0 1.5px var(--bone); }
}

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.9375rem;
}
.text-link svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover svg { transform: translateX(3px); }
}

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sky);
}
.light .tag { color: var(--blue-deep); }
.tag--home { color: var(--sky); }
.light .tag--home { color: var(--blue-deep); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  transition: background-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.site-header::before {
  /* translucent material, only once the page has scrolled */
  content: ""; position: absolute; inset: 0;
  background: rgba(15, 16, 18, 0.72);
  -webkit-backdrop-filter: saturate(170%) blur(20px);
  backdrop-filter: saturate(170%) blur(20px);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line); opacity: 0; transition: opacity 280ms var(--ease-out);
}
.site-header.is-solid::before, .site-header.is-solid::after { opacity: 1; }
.site-header .wrap {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-crest { width: 36px; height: 36px; color: var(--bone); }
.brand-word { font-family: var(--font-display); font-size: 1.375rem; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.005em;
  color: color-mix(in srgb, var(--bone) 78%, transparent);
  transition: color 160ms ease, background-color 160ms ease;
}
.nav a svg { width: 14px; height: 14px; opacity: 0.7; }
.nav a[aria-current="page"] { color: var(--bone); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--blue);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--bone); background: rgba(243, 241, 236, 0.07); }
}
.nav .btn { margin-left: 10px; }

.menu-toggle { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; margin-right: -10px; border-radius: 999px;
    transition: transform 140ms var(--ease-out);
  }
  .menu-toggle:active { transform: scale(0.92); }
  .menu-toggle .bars { position: relative; width: 22px; height: 12px; }
  .menu-toggle .bars i {
    position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--bone);
    transition: transform 260ms var(--ease-out), top 260ms var(--ease-out);
  }
  .menu-toggle .bars i:first-child { top: 0; }
  .menu-toggle .bars i:last-child { top: 10px; }
  .menu-open .menu-toggle .bars i:first-child { top: 5px; transform: rotate(45deg); }
  .menu-open .menu-toggle .bars i:last-child { top: 5px; transform: rotate(-45deg); }
}

/* Mobile menu sheet */
.menu-sheet {
  position: fixed; inset: 0; z-index: 55;
  padding: calc(var(--header-h) + 12px) var(--gutter) 40px;
  background: rgba(15, 16, 18, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(24px);
  backdrop-filter: saturate(160%) blur(24px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  opacity: 0; visibility: hidden;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
  overflow-y: auto;
}
.menu-open .menu-sheet { opacity: 1; visibility: visible; transition: opacity 240ms var(--ease-out), visibility 0s; }
.menu-sheet nav a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(2.25rem, 10vw, 3.25rem); line-height: 1; text-transform: uppercase;
  transform: translateY(12px); opacity: 0;
  transition: transform 200ms var(--ease-out), opacity 160ms ease;
}
.menu-sheet nav a small { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; color: var(--mist); text-transform: none; }
.menu-open .menu-sheet nav a { transform: none; opacity: 1; transition: transform 420ms var(--ease-out), opacity 300ms var(--ease-out); }
.menu-open .menu-sheet nav a:nth-child(2) { transition-delay: 30ms; }
.menu-open .menu-sheet nav a:nth-child(3) { transition-delay: 60ms; }
.menu-open .menu-sheet nav a:nth-child(4) { transition-delay: 90ms; }
.menu-open .menu-sheet nav a:nth-child(5) { transition-delay: 120ms; }
.menu-open .menu-sheet nav a:nth-child(6) { transition-delay: 150ms; }
.menu-sheet nav a[aria-current="page"] { color: var(--sky); }
.menu-sheet .menu-foot { display: grid; gap: 14px; }
.menu-sheet .menu-foot .btn { width: 100%; }
@media (min-width: 961px) { .menu-sheet { display: none; } }
.menu-open, .menu-open body { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(640px, min(100svh, 1000px));
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 clamp(28px, 4vw, 48px);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%;
  animation: hero-settle 1600ms var(--ease-out) both;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 16, 18, 0.7) 0%, rgba(15, 16, 18, 0) 22%),
    linear-gradient(0deg, rgba(15, 16, 18, 0.96) 0%, rgba(15, 16, 18, 0.72) 30%, rgba(15, 16, 18, 0.12) 64%, rgba(15, 16, 18, 0) 80%),
    linear-gradient(90deg, rgba(15, 16, 18, 0.55) 0%, rgba(15, 16, 18, 0) 55%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-copy { max-width: 46rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky);
}

.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero h1 .line > span { display: block; animation: line-up 1100ms var(--ease-out) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: 90ms; }
.hero .t-lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-copy > * { animation: fade-up 900ms var(--ease-out) both; }
.hero-copy > .eyebrow { animation-delay: 60ms; }
.hero-copy > .t-lead { animation-delay: 220ms; }
.hero-copy > .hero-actions { animation-delay: 300ms; }

@keyframes hero-settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (min-width: 901px) {
  .hero { min-height: max(600px, min(calc(100svh - 118px), 920px)); }
  .hero-media {
    left: auto; width: min(66%, 1180px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  }
  .hero-media img { object-position: 50% 34%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(15, 16, 18, 0.65) 0%, rgba(15, 16, 18, 0) 20%),
      linear-gradient(0deg, rgba(15, 16, 18, 0.85) 0%, rgba(15, 16, 18, 0) 34%),
      linear-gradient(90deg, var(--ink) 34%, rgba(15, 16, 18, 0.7) 46%, rgba(15, 16, 18, 0) 66%);
  }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero .eyebrow { text-shadow: 0 1px 12px rgba(15, 16, 18, 0.9); }
  .hero-media img { object-position: 50% 18%; }
}

/* ---------- Team badges ---------- */
.badge { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; }
.badge img { width: 100%; height: 100%; object-fit: contain; }
.badge.is-initials {
  border-radius: 50%; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.02em; color: var(--bone);
}

/* ---------- Next match bar (home, directly under the hero) ---------- */
.match-bar { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nm {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: 20px clamp(24px, 4vw, 64px);
  padding-block: clamp(22px, 2.6vw, 34px);
}
.nm-head { display: flex; align-items: center; gap: 14px; }
.nm-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.nm-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(246, 195, 36, 0.18); }
.nm-count { font-size: 0.8125rem; color: var(--mist); }
.nm-when { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 0.9375rem; color: var(--mist); }
.nm-when strong { color: var(--bone); font-weight: 700; }
.nm-when .t-data { font-size: 0.9375rem; color: var(--bone); }
.nm-matchup { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nm-side { display: flex; align-items: center; gap: 14px; }
.nm-side:first-child { flex-direction: row-reverse; text-align: right; }
.nm-crest { width: 52px; height: 52px; color: var(--bone); flex: none; }
.nm-badge { width: 58px; height: 58px; }
.nm-name { font-family: var(--font-display); font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1; text-transform: uppercase; max-width: 15ch; }
.nm-vs { font-family: var(--font-data); font-size: 0.8125rem; color: var(--mist); }
.nm-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.nm-note { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--mist); text-wrap: pretty; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 1080px) {
  .nm { grid-template-columns: minmax(0, 1fr) auto; }
  .nm-matchup { grid-column: 1 / -1; grid-row: 1; justify-content: flex-start; }
  .nm-side:first-child { flex-direction: row; text-align: left; }
}
@media (max-width: 640px) {
  .nm { grid-template-columns: 1fr; }
  .nm-matchup { gap: 12px; }
  .nm-crest { width: 40px; height: 40px; }
  .nm-badge { width: 44px; height: 44px; }
  .nm-side { gap: 10px; }
  .nm-actions { justify-content: flex-start; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.light { background: var(--bone); color: var(--ink); color-scheme: light; }
.light ::selection { background: var(--blue-deep); color: var(--bone); }
.ink-2 { background: var(--ink-2); }
.blue { background: var(--blue); color: var(--ink); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head p { max-width: 44ch; margin-top: 14px; }

/* ---------- Story rail ---------- */
.rail-controls { display: flex; gap: 10px; }
.rail {
  --tile: clamp(160px, 19vw, 236px);
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--tile);
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 6px var(--gutter) 10px;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.wrap > .rail { margin-inline: calc(var(--gutter) * -1); }
@media (min-width: 1488px) {
  .rail { padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); margin-inline: calc((100vw - var(--maxw)) / -2 - var(--gutter)); scroll-padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); }
}
.story-tile {
  scroll-snap-align: start;
  display: grid; gap: 12px; text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.story-tile .frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden;
  background: var(--ink-3);
  outline: 2px solid transparent; outline-offset: 3px;
  transition: transform 160ms var(--ease-out), outline-color 220ms ease;
}
.story-tile.is-new .frame { outline-color: var(--blue); }
.story-tile .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease-out); }
.story-tile .frame .play {
  position: absolute; right: 10px; bottom: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(15, 16, 18, 0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--bone);
}
.story-tile .frame .play svg { width: 14px; height: 14px; margin-left: 2px; }
.story-tile:active .frame { transform: scale(0.97); }
.story-tile .name, .story-tile .sub { display: block; }
.story-tile .name { font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; line-height: 1.25; }
.story-tile .sub { font-size: 0.8125rem; color: var(--mist); margin-top: 2px; }
.light .story-tile .sub { color: var(--stone); }
@media (hover: hover) and (pointer: fine) {
  .story-tile:hover .frame img { transform: scale(1.035); }
}
.story-tile:focus-visible { outline: none; }
.story-tile:focus-visible .frame { outline-color: var(--sky); }
.rail-meta { margin-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Year one / season sheet ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.season-sheet { margin-top: 36px; border-top: 1px solid var(--line-ink-strong); }
.season-sheet > div {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line-ink);
}
.season-sheet dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--stone); padding-top: 3px; }
.season-sheet dd { font-size: 1rem; line-height: 1.45; }
.season-sheet dd .t-data { font-size: 1.0625rem; font-weight: 600; }
.ink-sheet { border-top-color: var(--line-strong); }
.ink-sheet > div { border-bottom-color: var(--line); }
.ink-sheet dt { color: var(--mist); }
@media (max-width: 520px) { .season-sheet > div { grid-template-columns: 1fr; gap: 2px; } }

.mosaic { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 14px; align-items: end; }
.mosaic figure { overflow: hidden; border-radius: var(--r-m); background: var(--bone-3); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .m-a { grid-row: span 2; aspect-ratio: 4 / 5; }
.mosaic .m-b { aspect-ratio: 1 / 1; }
.mosaic .m-c { aspect-ratio: 4 / 3; }
.mosaic figcaption { display: none; }

/* ---------- News ---------- */
.news-lead {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.news-lead .media { aspect-ratio: 3 / 2; border-radius: var(--r-m); overflow: hidden; background: var(--ink-3); }
.news-lead .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.news-lead h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 0.95; margin-top: 14px; text-wrap: balance; }
.news-lead p { margin-top: 14px; color: var(--mist); max-width: 46ch; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 0.8125rem; color: var(--mist); }
.light .news-meta { color: var(--stone); }
.news-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line);
}
.light .news-list { border-top-color: var(--line-ink-strong); }
.news-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.news-item .thumb { aspect-ratio: 1; border-radius: var(--r-s); overflow: hidden; background: var(--ink-3); }
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.012em; margin-top: 6px; text-wrap: balance; }
.news-card-link { border-radius: var(--r-m); }
.news-grid > a { display: block; }
@media (hover: hover) and (pointer: fine) {
  .news-card-link:hover .media img { transform: scale(1.03); }
  .news-card-link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
}
@media (max-width: 900px) {
  .news-lead { grid-template-columns: 1fr; }
  .news-list { grid-template-columns: 1fr; }
}

/* news index */
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.news-grid .media { aspect-ratio: 3 / 2; border-radius: var(--r-m); overflow: hidden; background: var(--bone-3); margin-bottom: 18px; }
.news-grid .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.news-grid h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 0.96; margin-top: 10px; text-wrap: balance; }
.news-grid p { margin-top: 10px; color: var(--stone); max-width: 52ch; }
@media (max-width: 760px) { .news-grid { grid-template-columns: 1fr; } }

/* article */
.article-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); }
.article-hero h1 { margin-top: 18px; max-width: 16ch; }
.article-hero .t-lead { margin-top: 20px; max-width: 52ch; }
.article-media { margin-top: clamp(32px, 4vw, 56px); border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-3); }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article-body { display: grid; grid-template-columns: minmax(0, 68ch) 1fr; gap: 56px; margin-top: clamp(40px, 5vw, 72px); }
.article-body .prose { font-size: 1.125rem; line-height: 1.7; }
.article-aside { font-size: 0.9375rem; color: var(--mist); display: grid; gap: 12px; align-content: start; }
@media (max-width: 900px) { .article-body { grid-template-columns: 1fr; gap: 28px; } }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.gallery button { aspect-ratio: 1; border-radius: var(--r-s); overflow: hidden; background: var(--ink-3); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gallery button:hover img { transform: scale(1.04); } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(96px, 16vw, 200px)) 0 clamp(36px, 5vw, 64px);
}
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; animation: hero-settle 1400ms var(--ease-out) both; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(15, 16, 18, 0.97) 6%, rgba(15, 16, 18, 0.6) 48%, rgba(15, 16, 18, 0.35) 100%);
}
.page-hero .t-lead { margin-top: 18px; }
.page-hero .hero-actions { margin-top: 26px; }
.page-hero--plain { padding-top: calc(var(--header-h) + clamp(56px, 9vw, 120px)); }
.page-hero--plain::before { display: none; }

/* ---------- Squad ---------- */
.squad-group + .squad-group { margin-top: clamp(48px, 6vw, 80px); }
.squad-group h2 { display: flex; align-items: baseline; gap: 14px; }
.squad-group h2 .count { font-family: var(--font-data); font-size: 0.9375rem; color: var(--mist); letter-spacing: 0; }
.squad-list { margin-top: 18px; border-top: 1px solid var(--line-strong); }
.squad-row {
  position: relative;
  display: grid;
  grid-template-columns: 4.25rem 56px minmax(0, 1.35fr) minmax(0, 1.25fr) minmax(0, 1fr) 150px;
  align-items: center; gap: 18px;
  min-height: 84px; padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease;
}
.squad-row .num { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; text-align: center; }
.squad-row .num.tba { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; color: var(--mist); }
.avatar {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none;
  display: grid; place-items: center;
  background: var(--ink-3);
  font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.02em; color: var(--mist);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
/* Story rings on squad photos removed Nov 30 (signing story links stay). */

.squad-row .who strong { display: block; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.25; }
.squad-row .who span { font-size: 0.9375rem; color: var(--mist); }
.squad-row .cell { font-size: 0.9375rem; color: color-mix(in srgb, var(--bone) 86%, transparent); }
.squad-row .cell small { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--mist); margin-bottom: 2px; }
.squad-row .action { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 700; color: var(--sky); }
.squad-row .action svg { width: 14px; height: 14px; }
.row-hit { position: absolute; inset: 0; border-radius: 8px; z-index: 1; }
.row-hit:focus-visible { outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) {
  .squad-row:hover { background: rgba(243, 241, 236, 0.04); }
}
.squad-row:active { background: rgba(243, 241, 236, 0.06); }
@media (max-width: 900px) {
  .squad-row { grid-template-columns: 3rem 48px minmax(0, 1fr) auto; gap: 14px; min-height: 76px; }
  .squad-row .avatar { width: 48px; height: 48px; }
  .squad-row .num { font-size: 1.75rem; }
  .squad-row .cell { display: none; }
  .squad-row .action span { display: none; }
}
.staff-list { border-top: 1px solid var(--line-strong); }
.staff-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.staff-list .name { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.012em; }
.staff-list .role { color: var(--mist); }
.light .staff-list { border-top-color: var(--line-ink-strong); }
.light .staff-list li { border-bottom-color: var(--line-ink); }
.light .staff-list .role { color: var(--stone); }
@media (max-width: 640px) { .staff-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Fixtures ---------- */
.fixture-feature {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-l);
  background: var(--ink); color: var(--bone);
  box-shadow: 0 40px 80px -48px rgba(15, 16, 18, 0.55);
}
.date-block { text-align: center; min-width: 6.5rem; }
.date-block .dow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky); }
.date-block .day { font-family: var(--font-display); font-size: clamp(3.5rem, 6vw, 5rem); line-height: 0.9; }
.date-block .mon { font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.fixture-feature h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 0.95; }
.fixture-feature .meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--mist); font-size: 0.9375rem; }
.fixture-feature .actions { display: grid; gap: 10px; }
@media (max-width: 860px) {
  .fixture-feature { grid-template-columns: auto 1fr; }
  .fixture-feature .actions { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; }
}
@media (max-width: 480px) { .fixture-feature .actions { grid-auto-flow: row; } .fixture-feature .actions .btn { width: 100%; } }

.month + .month { margin-top: clamp(44px, 5vw, 64px); }
.month h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.fixture-list { margin-top: 16px; border-top: 1px solid var(--line-ink-strong); }
.fixture {
  display: grid; grid-template-columns: 5.5rem 4.75rem minmax(0, 1.4fr) minmax(0, 1fr) 5.5rem 48px;
  gap: 16px; align-items: center;
  padding: 16px 4px; border-bottom: 1px solid var(--line-ink);
}
.fixture .when .dow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); }
.fixture .when .d { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
.fixture .opp { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.012em; line-height: 1.3; }
.fixture .opp .pre { font-weight: 500; color: var(--stone); margin-right: 4px; }
.fixture .venue { font-size: 0.9375rem; color: var(--stone); }
.fixture .time { font-size: 0.9375rem; }
.fixture .tbc { margin-left: 8px; }
.fixture .score { font-family: var(--font-data); font-weight: 700; }
.fixture.is-past { opacity: 0.55; }
.fixture.is-next { background: linear-gradient(90deg, rgba(79, 143, 192, 0.12), rgba(79, 143, 192, 0) 70%); }
.fixture .cal { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-ink-strong); }
@media (hover: hover) and (pointer: fine) { .fixture .cal:hover { background: rgba(15, 16, 18, 0.06); box-shadow: inset 0 0 0 1.5px var(--ink); } }
@media (max-width: 860px) {
  .fixture { grid-template-columns: 4rem minmax(0, 1fr) 44px; grid-template-areas: "when opp cal" "when sub cal"; row-gap: 4px; }
  .fixture .when { grid-area: when; }
  .fixture .ha { display: none; }
  .fixture .opp { grid-area: opp; }
  .fixture .venue, .fixture .time { grid-area: sub; }
  .fixture .time { display: none; }
  .fixture .cal-wrap { grid-area: cal; }
}
.fixture .sub-mobile { display: none; }
@media (max-width: 860px) { .fixture .venue { font-size: 0.9375rem; } }

/* ---------- Club page ---------- */
.values { margin-top: 32px; border-top: 1px solid var(--line-ink-strong); }
.values div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line-ink); }
.values dt { font-weight: 700; }
.values dd { color: var(--stone); }
@media (max-width: 560px) { .values div { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.contact-grid h3 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); margin-bottom: 12px; }
.contact-grid ul { display: grid; gap: 8px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Join / partner (FCB Blue) ---------- */
.join { display: grid; grid-template-columns: 1fr 1fr; }
.join > div { padding: clamp(8px, 1vw, 16px) clamp(0px, 4vw, 56px) clamp(8px, 1vw, 16px) 0; }
.join > div + div { padding-left: clamp(0px, 4vw, 56px); padding-right: 0; border-left: 1px solid rgba(15, 16, 18, 0.22); }
.join h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 0.94; }
.join p { margin-top: 16px; max-width: 40ch; font-weight: 500; }
.join .btn { margin-top: 26px; }
@media (max-width: 860px) {
  .join { grid-template-columns: 1fr; gap: 48px; }
  .join > div, .join > div + div { padding: 0; border: 0; }
  .join > div + div { padding-top: 48px; border-top: 1px solid rgba(15, 16, 18, 0.22); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding: clamp(64px, 8vw, 104px) 0 32px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand { display: grid; gap: 18px; align-content: start; }
.foot-brand .crest { width: 72px; height: 72px; color: var(--bone); }
.foot-brand p { color: var(--mist); max-width: 34ch; font-size: 0.9375rem; }
.foot-col h2 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); margin-bottom: 14px; }
.foot-col ul { display: grid; gap: 10px; }
.foot-col li { font-size: 0.9375rem; line-height: 1.5; }
.foot-col a { font-size: 0.9375rem; color: color-mix(in srgb, var(--bone) 88%, transparent); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .foot-col a:hover { color: var(--bone); } }
.foot-bottom { margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--mist); }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Story viewer ---------- */
.sv { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; touch-action: none; }
.sv[hidden] { display: none; }
.sv-scrim { position: absolute; inset: 0; background: rgba(8, 8, 9, 0.9); -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%); opacity: 0; }
.sv-stage { position: relative; display: flex; align-items: center; gap: 28px; }
.sv-card {
  --h: min(90svh, 900px);
  position: relative; overflow: hidden;
  height: var(--h); width: calc(var(--h) * 0.6);
  border-radius: var(--r-l);
  background: #0b0b0c;
  transform-origin: 0 0;
  will-change: transform;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8);
  user-select: none; -webkit-user-select: none;
}
.sv-bg { position: absolute; inset: -10%; background-size: cover; background-position: center; filter: blur(30px) saturate(140%) brightness(0.55); transform: scale(1.1); transition: background-image 0s; }
.sv-slide { position: absolute; left: 0; right: 0; top: 70px; bottom: 76px; display: grid; place-items: center; }
.sv-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; -webkit-user-drag: none; }
.sv-chrome { transition: opacity 220ms var(--ease-out); }
.sv.is-holding .sv-chrome { opacity: 0; transition-duration: 160ms; }
.sv-top { position: absolute; left: 0; right: 0; top: 0; padding: 12px 14px 0; z-index: 3; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent); }
.sv-bars { display: flex; gap: 4px; }
.sv-bars span { position: relative; flex: 1; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(243, 241, 236, 0.28); }
.sv-bars i { position: absolute; inset: 0; background: var(--bone); transform-origin: 0 50%; transform: scaleX(0); }
.sv-head { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.sv-head .avatar { width: 36px; height: 36px; box-shadow: 0 0 0 2px rgba(243, 241, 236, 0.85); }
.sv-head .who { flex: 1; min-width: 0; line-height: 1.2; }
.sv-head .who strong { display: block; font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-head .who span { font-size: 0.8125rem; color: rgba(243, 241, 236, 0.75); }
.sv-head .icon-btn { width: 40px; height: 40px; box-shadow: none; }
.sv-head .icon-btn:active { transform: scale(0.9); }
.sv-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
}
.sv-bottom .meta { min-width: 0; font-size: 0.9375rem; line-height: 1.3; }
.sv-bottom .meta strong { display: block; font-weight: 700; }
.sv-bottom .meta span { color: rgba(243, 241, 236, 0.75); }
.sv-tap { position: absolute; top: 70px; bottom: 76px; z-index: 2; -webkit-tap-highlight-color: transparent; }
.sv-tap.prev { left: 0; width: 32%; }
.sv-tap.next { right: 0; width: 68%; }
.sv-nav { flex: none; }
.sv-nav .icon-btn { width: 52px; height: 52px; background: rgba(243, 241, 236, 0.08); box-shadow: none; }
.sv-nav .icon-btn svg { width: 22px; height: 22px; }
.sv-sheet {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 5;
  padding: 18px 18px 20px; border-radius: 18px;
  background: rgba(22, 23, 26, 0.86);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 -20px 40px -20px rgba(0, 0, 0, 0.5);
  transform: translateY(calc(100% + 16px));
  transition: transform 220ms var(--ease-out);
}
.sv-sheet.is-open { transform: none; transition: transform 420ms var(--ease-drawer); }
.sv-sheet .grab { width: 36px; height: 4px; border-radius: 4px; background: rgba(243, 241, 236, 0.3); margin: -6px auto 14px; }
.sv-sheet h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.875rem; line-height: 0.95; }
.sv-sheet .pos { margin-top: 6px; font-size: 0.9375rem; color: var(--mist); }
.sv-sheet .tagline { margin-top: 12px; font-weight: 600; text-wrap: pretty; }
.sv-sheet ul { margin-top: 12px; display: grid; gap: 8px; }
.sv-sheet li { position: relative; padding-left: 16px; font-size: 0.9375rem; line-height: 1.4; color: rgba(243, 241, 236, 0.88); }
.sv-sheet li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.sv-sheet .row { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.sv-sheet .close-sheet { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; box-shadow: none; }
.sv-live { position: absolute; }
@media (max-width: 640px), (max-height: 560px) {
  .sv-stage { width: 100%; height: 100%; gap: 0; }
  .sv-card { --h: 100%; width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
  .sv-top { padding-top: max(12px, env(safe-area-inset-top)); }
  .sv-slide { top: calc(70px + env(safe-area-inset-top)); bottom: calc(76px + env(safe-area-inset-bottom)); }
  .sv-tap { top: calc(70px + env(safe-area-inset-top)); bottom: calc(76px + env(safe-area-inset-bottom)); }
  .sv-bottom { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .sv-nav { display: none; }
}

/* ---------- Lightbox (article galleries) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 4vh 4vw; background: rgba(8, 8, 9, 0.92); opacity: 0; visibility: hidden; transition: opacity 180ms ease, visibility 0s linear 180ms; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 240ms var(--ease-out), visibility 0s; }
.lightbox img { max-height: 88vh; width: auto; border-radius: var(--r-s); transform: scale(0.97); transition: transform 320ms var(--ease-out); }
.lightbox.is-open img { transform: none; }
.lightbox .icon-btn { position: absolute; top: 16px; right: 16px; }

/* ---------- Utilities ---------- */
.stack-s > * + * { margin-top: 8px; }
.mt-l { margin-top: clamp(32px, 4vw, 56px); }
.center { text-align: center; }
.note { font-size: 0.9375rem; color: var(--stone); margin-top: 24px; }
.light hr, hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Reduced motion / transparency / contrast ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; scroll-behavior: auto !important; }
  .story-tile .frame img, .news-lead .media img, .news-grid .media img, .gallery img { transition: none; }
  .menu-sheet nav a { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header::before, .material, .menu-sheet, .sv-sheet, .sv-scrim { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header::before { background: var(--ink); }
  .material { background: var(--ink-2); }
  .sv-sheet { background: var(--ink-2); }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(243, 241, 236, 0.35); --line-ink: rgba(15, 16, 18, 0.4); --mist: #c9cbce; --stone: #3d4045; }
}

/* fixtures: time shown inline with the venue on small screens */
.fixture .m-time { display: none; }
@media (max-width: 860px) { .fixture .m-time { display: inline; } }
.fixture-feature .nm-label { color: var(--bone); }
.nav a.btn { height: 40px; padding: 0 18px; color: var(--btn-fg); }
@media (hover: hover) and (pointer: fine) { .nav a.btn:hover { color: var(--btn-fg); background: #fff; } }
.squad-row .action { white-space: nowrap; }
.fixture-feature .btn--ghost { --btn-fg: var(--bone); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
@media (hover: hover) and (pointer: fine) { .fixture-feature .btn--ghost:hover { --btn-bg: rgba(243, 241, 236, 0.08); box-shadow: inset 0 0 0 1.5px var(--bone); } }
.fixture-feature :focus-visible { outline-color: var(--sky); }
.article-media img { object-position: 50% 30%; }
@media (max-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 46svh); }
  .hero-media { bottom: auto; height: calc(var(--header-h) + 62svh); }
  .hero-media img { object-position: 50% 42%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(15, 16, 18, 0.6) 0%, rgba(15, 16, 18, 0) 18%),
      linear-gradient(0deg, var(--ink) 0%, var(--ink) calc(100% - var(--header-h) - 62svh), rgba(15, 16, 18, 0.65) calc(100% - var(--header-h) - 44svh), rgba(15, 16, 18, 0) calc(100% - var(--header-h) - 22svh));
  }
  .t-hero { font-size: clamp(4rem, 17vw, 6rem); }
}
@media (max-width: 560px) {
  .fixture-feature { grid-template-columns: 1fr; gap: 18px; }
  .date-block { display: flex; align-items: baseline; gap: 10px; text-align: left; min-width: 0; }
  .date-block .day { font-size: 3rem; }
}
.foot-col h2 { font-family: var(--font-body); }

/* ==========================================================================
   V3.1 additions (Nov 8): badges in fixtures, player stats, staff profiles,
   photo band, triptych page heroes, faces on signing tiles.
   ========================================================================== */

/* Page hero with three photos side by side (portrait shots fill wide
   screens without heavy cropping). Phones show the first photo only. */
.page-hero .bg.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: var(--ink); }
.page-hero .bg.tri img { min-width: 0; }
.page-hero .bg.tri img:nth-child(2) { animation-delay: 60ms; }
.page-hero .bg.tri img:nth-child(3) { animation-delay: 120ms; }
@media (max-width: 760px) {
  .page-hero .bg.tri { grid-template-columns: 1fr; }
  .page-hero .bg.tri img + img { display: none; }
}

/* Fixtures: opponent badges */
.fixture .opp { display: flex; align-items: center; gap: 14px; min-width: 0; }
.fixture .opp-badge { width: 40px; height: 40px; }
.light .badge.is-initials { background: rgba(15, 16, 18, 0.06); box-shadow: inset 0 0 0 1px var(--line-ink-strong); color: var(--ink); }
.ff-opp { display: flex; align-items: center; gap: clamp(14px, 2vw, 22px); margin-top: 12px; }
.ff-badge { width: clamp(52px, 6vw, 76px); height: clamp(52px, 6vw, 76px); }
.fixture-feature .ff-opp h2 { margin: 0; }
@media (max-width: 860px) { .fixture .opp-badge { width: 34px; height: 34px; } .fixture .opp { gap: 10px; } }

/* Squad: 2025-26 stats */
.squad-row .who .honour { display: block; margin-top: 4px; font-size: 0.8125rem; font-weight: 600; color: var(--signal); }
.squad-row .who .m-stats { display: none; }
.pstats { display: flex; gap: clamp(6px, 0.8vw, 12px); }
.pstats div { display: grid; gap: 1px; width: 2.75rem; }
.pstats dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; color: var(--mist); }
.pstats dd { font-family: var(--font-data); font-size: 1.0625rem; font-weight: 600; color: var(--bone); font-variant-numeric: tabular-nums; }
.squad-row .cell.stats small { margin-bottom: 4px; }
.tag--new { color: var(--sky); box-shadow: inset 0 0 0 1px rgba(170, 207, 233, 0.4); }
.squad-note { margin-top: 32px; max-width: 70ch; }
@media (max-width: 900px) {
  .squad-row .who .m-stats { display: block; margin-top: 3px; font-size: 0.8125rem; color: var(--sky); }
}

/* Signing tiles: her face next to her name */
.tile-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tile-who .face { flex: none; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--ink-3); box-shadow: 0 0 0 1.5px var(--line-strong); }
.tile-who .face img { width: 100%; height: 100%; object-fit: cover; }
.tile-who > span:last-child { min-width: 0; }

/* Staff profiles */
.staff-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(28px, 3vw, 40px); }
.staff-photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden;
  background: var(--ink-3); display: grid; place-items: center;
}
.ink-2 .staff-photo { background: var(--ink); }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-photo .ph-crest { position: absolute; right: 14px; bottom: 14px; width: 30px; height: 30px; color: var(--bone); opacity: 0.22; }
.staff-photo .ph-initials { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.5rem); color: rgba(243, 241, 236, 0.2); letter-spacing: 0.02em; }
.staff-name { margin-top: 14px; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.25; }
.staff-role { margin-top: 2px; font-size: 0.9375rem; color: var(--mist); }
.staff-bio { margin-top: 12px; font-size: 0.9375rem; line-height: 1.55; color: color-mix(in srgb, var(--bone) 86%, transparent); text-wrap: pretty; }
.staff-bio.is-empty { color: var(--mist); font-style: italic; }
@media (max-width: 960px) { .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Club page photo band */
.club-photos { background: var(--bone); padding-bottom: var(--section-y); }
.photo-band {
  display: grid; gap: 10px;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(180px, 20vw, 300px));
  grid-template-areas: "a b d" "c b e";
}
.photo-band button { position: relative; overflow: hidden; border-radius: var(--r-m); background: var(--ink-3); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease-out); }
.photo-band .pb-a { grid-area: a; } .photo-band .pb-b { grid-area: b; } .photo-band .pb-c { grid-area: c; }
.photo-band .pb-d { grid-area: d; } .photo-band .pb-e { grid-area: e; }
.photo-band .pb-a img { object-position: 50% 62%; }
.photo-band .pb-b img { object-position: 50% 25%; }
.photo-band .pb-c img { object-position: 50% 40%; }
.photo-band .pb-d img { object-position: 60% 40%; }
@media (hover: hover) and (pointer: fine) { .photo-band button:hover img { transform: scale(1.035); } }
.photo-band button:active img { transform: scale(0.99); }
@media (max-width: 760px) {
  .photo-band { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 200px 200px; grid-template-areas: "a a" "b d" "c e"; }
}
@media (prefers-reduced-motion: reduce) { .photo-band img { transition: none; } }

/* Squad page: title, then the team photo shown whole */
.squad-hero { padding-bottom: 0; }
.squad-hero-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.squad-hero-head .hero-actions { margin-top: 0; }
.team-photo { margin-top: clamp(28px, 4vw, 48px); }
.team-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-l); background: var(--ink-3); }
.team-photo figcaption { margin-top: 12px; font-size: 0.8125rem; color: var(--mist); }

/* ==========================================================================
   V3.2 (Nov 9): game stats, player profiles, team admin
   ========================================================================== */
.squad-row .action { position: relative; z-index: 2; padding: 8px 4px; border-radius: 8px; }
.squad-row .action:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .squad-row .action:hover { color: var(--bone); } }

/* Season leaders strip on the squad page */
.leaders { margin-bottom: clamp(40px, 5vw, 64px); }
.leaders h2 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.leaders h2 .muted { text-transform: none; letter-spacing: 0; font-weight: 500; }
.leaders ul { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-m); overflow: hidden; }
.leaders li { background: var(--ink-2); padding: 16px 18px; display: grid; gap: 2px; }
.leaders .l-label { font-size: 0.8125rem; color: var(--mist); }
.leaders .l-value { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.05; }
.leaders .l-tie { font-size: 0.8125rem; color: var(--mist); }
.leaders .l-name { justify-self: start; text-align: left; font-weight: 700; color: var(--sky); }
@media (hover: hover) and (pointer: fine) { .leaders .l-name:hover { text-decoration: underline; text-underline-offset: 3px; } }

/* Player profile sheet */
dialog.profile {
  margin: auto; padding: 0; border: 0; color: var(--bone);
  width: min(640px, calc(100vw - 32px)); max-height: min(88svh, 900px);
  background: var(--ink-2); border-radius: var(--r-l);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px -20px rgba(0, 0, 0, 0.8);
  overscroll-behavior: contain;
}
dialog.profile[open] { animation: sheet-in 260ms var(--ease-out) both; }
dialog.profile.is-closing { animation: sheet-out 160ms ease-in both; }
dialog.profile::backdrop { background: rgba(8, 9, 10, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in 260ms ease both; }
dialog.profile.is-closing::backdrop { animation: fade-out 160ms ease both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(10px) scale(0.985); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@media (max-width: 640px) {
  dialog.profile { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: var(--r-l) var(--r-l) 0 0; max-height: 92svh; }
  @keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }
  @keyframes sheet-out { to { transform: translateY(100%); } }
}
.p-inner { position: relative; padding: clamp(22px, 3vw, 32px); display: grid; gap: 22px; }
.p-close { position: absolute; top: 14px; right: 14px; }
.p-head { display: flex; align-items: center; gap: 20px; padding-right: 44px; }
.p-head .avatar { width: 104px; height: 104px; font-size: 1.5rem; }
.p-num { font-family: var(--font-data); font-size: 0.875rem; color: var(--sky); }
.p-head h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 0.95; text-transform: uppercase; margin-top: 4px; }
.p-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; }
.p-facts dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); }
.p-facts dd { font-size: 0.9375rem; }
.p-inner > .btn { justify-self: start; }
.p-block { border-top: 1px solid var(--line); padding-top: 18px; }
.p-block h3 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); display: flex; align-items: center; gap: 10px; }
.p-block .pstats { margin-top: 12px; flex-wrap: wrap; }
.pstats--lg { gap: 14px 26px; }
.pstats--lg div { width: auto; min-width: 2.5rem; }
.pstats--lg dd { font-size: 1.5rem; }
.p-block .honour { margin-top: 10px; font-size: 0.875rem; font-weight: 600; color: var(--signal); }
.p-cards { margin-top: 10px; font-size: 0.875rem; color: var(--mist); }
.p-log { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 0.875rem; }
.p-log th { text-align: left; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); padding: 0 8px 8px 0; }
.p-log td { padding: 10px 8px 10px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.p-opp { display: inline-flex; align-items: center; gap: 8px; }
.p-badge { width: 22px; height: 22px; font-size: 0.625rem; }
.potm, .so, .sub-in { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; }
.potm { background: var(--signal); color: var(--ink); }
.so { box-shadow: inset 0 0 0 1px var(--sky); color: var(--sky); }
.sub-in { color: var(--mist); box-shadow: inset 0 0 0 1px var(--line-strong); }
.card { display: inline-block; width: 9px; height: 13px; border-radius: 2px; margin-right: 4px; vertical-align: -2px; }
.card--yellow { background: #f6c324; } .card--blue { background: #4f8fc0; } .card--red { background: #d64545; }
@media (max-width: 480px) { .p-log th:nth-child(1), .p-log td:nth-child(1) { display: none; } }

/* Fixtures: player of the match on results */
.potm-line { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--stone); }
.potm-line .link { font-weight: 700; color: var(--ink); }

/* Preview pill shown to a signed-in admin */
.preview-pill {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 999px;
  background: var(--signal); color: var(--ink); font-size: 0.875rem; font-weight: 700;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
}
.preview-pill a { text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }

/* ---------- Team admin ---------- */
.adm { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 64px)); min-height: 80svh; }
.adm-login { max-width: 380px; margin: clamp(20px, 6vw, 80px) auto; display: grid; gap: 12px; text-align: center; justify-items: center; }
.adm-crest { width: 64px; height: 64px; color: var(--bone); margin-bottom: 6px; }
.adm-form { width: 100%; display: grid; gap: 10px; margin-top: 14px; text-align: left; }
.adm-form label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mist); }
.adm input[type=text], .adm input[type=password], .adm input[type=number], .adm select {
  width: 100%; min-height: 44px; padding: 0 12px; border-radius: 10px;
  background: var(--ink-3); color: var(--bone); border: 1px solid var(--line-strong); font: inherit; font-size: 1rem;
}
.adm input:focus-visible, .adm select:focus-visible { outline: 2px solid var(--sky); outline-offset: 1px; }
.adm-err { color: #ff8a80; font-size: 0.875rem; }
.shake { animation: shake 360ms var(--ease-out); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.adm-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.adm-status { margin-top: 6px; font-size: 0.875rem; color: var(--mist); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.adm-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5fbf7f; margin: 0 4px 0 6px; }
.adm-dot.is-warn { background: var(--signal); }
.adm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-import { position: relative; overflow: hidden; }
.adm-import input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.adm-grid { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 24px; align-items: start; }
.adm-games { position: sticky; top: calc(var(--header-h) + 16px); }
.adm-games ul { display: grid; gap: 4px; }
.adm-games button { width: 100%; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; text-align: left; transition: background-color 160ms ease; }
.adm-games button[aria-current] { background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-strong); }
@media (hover: hover) and (pointer: fine) { .adm-games button:hover { background: var(--ink-2); } }
.adm-badge { width: 32px; height: 32px; font-size: 0.75rem; }
.adm-g strong { display: block; font-size: 0.9375rem; line-height: 1.25; }
.adm-g span { font-size: 0.8125rem; color: var(--mist); }
.adm-gs { font-size: 0.75rem; }
.adm-editor { background: var(--ink-2); border-radius: var(--r-l); padding: clamp(18px, 3vw, 32px); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.adm-head { display: flex; align-items: center; gap: 16px; }
.adm-badge-lg { width: 56px; height: 56px; }
.adm-head h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1; text-transform: uppercase; }
.adm-sec { border: 0; padding: 0; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.adm-sec legend { float: left; width: 100%; margin-bottom: 12px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.adm-sec legend .muted { text-transform: none; letter-spacing: 0; font-weight: 500; }
.adm-sec > *:not(legend) { clear: both; }
.adm-score { display: flex; align-items: flex-end; gap: 14px; }
.adm-score label { display: grid; gap: 6px; font-size: 0.875rem; color: var(--mist); flex: 1; max-width: 200px; }
.adm-score input { font-family: var(--font-data); font-size: 1.5rem; min-height: 56px; text-align: center; }
.adm-dash { padding-bottom: 14px; color: var(--mist); }
.adm-lineup { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.adm-lineup th, .adm-lineup td { padding: 6px 8px 6px 0; text-align: left; border-top: 1px solid var(--line); }
.adm-lineup thead th { border-top: 0; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); }
.adm-lineup td { width: 110px; }
.adm-lineup tbody th { font-weight: 600; }
.adm-lineup .adm-group th { padding-top: 14px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sky); border-top: 0; }
.adm input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--blue); cursor: pointer; }
.adm-row { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.adm-field { display: grid; gap: 6px; font-size: 0.875rem; color: var(--mist); min-width: min(320px, 100%); }
.adm-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.adm-list { display: grid; gap: 8px; margin-bottom: 12px; counter-reset: n; }
.adm-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.adm-hints { margin-top: 22px; display: grid; gap: 6px; }
.adm-hints li { font-size: 0.875rem; color: var(--signal); padding-left: 18px; position: relative; }
.adm-hints li::before { content: "!"; position: absolute; left: 0; font-weight: 800; }
.adm-save { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.adm-totals { margin-top: clamp(40px, 5vw, 64px); }
.adm-totals h2 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.adm-scroll { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; white-space: nowrap; }
.adm-table th, .adm-table td { padding: 8px 12px 8px 0; text-align: left; border-bottom: 1px solid var(--line); }
.adm-table thead th { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; color: var(--mist); }
.adm-help { margin-top: 32px; font-size: 0.9375rem; color: var(--mist); max-width: 70ch; }
.adm-help summary { cursor: pointer; font-weight: 700; color: var(--bone); }
.adm-help ol { margin: 12px 0 12px 20px; list-style: decimal; display: grid; gap: 6px; }
.adm-help code { font-family: var(--font-data); font-size: 0.875em; }
.adm-toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 70; transform: translate(-50%, 20px); opacity: 0;
  padding: 12px 18px; border-radius: 12px; background: var(--bone); color: var(--ink); font-weight: 600; font-size: 0.9375rem;
  transition: opacity 200ms ease, transform 260ms var(--ease-out); pointer-events: none; max-width: calc(100vw - 32px);
}
.adm-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 860px) {
  .adm-grid { grid-template-columns: 1fr; }
  .adm-games { position: static; }
  .adm-games ul { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .adm-games li { flex: 0 0 240px; scroll-snap-align: start; }
  .adm-list li { grid-template-columns: 1fr 44px; }
  .adm-list li select:nth-child(2) { grid-column: 1; }
  .adm-list li .icon-btn { grid-row: 1 / span 2; grid-column: 2; }
  .adm-lineup td { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  dialog.profile[open], dialog.profile.is-closing, dialog.profile::backdrop { animation: none; }
  .shake { animation: none; }
}

/* Profile bio */
.p-bio h4 { margin-top: 16px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); }
.p-about { margin-top: 12px; font-size: 0.9375rem; line-height: 1.6; text-wrap: pretty; }
.p-list { margin-top: 10px; display: grid; gap: 8px; }
.p-list li { position: relative; padding-left: 16px; font-size: 0.9375rem; line-height: 1.5; color: color-mix(in srgb, var(--bone) 88%, transparent); text-wrap: pretty; }
.p-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.p-clubs { margin-top: 8px; font-size: 0.9375rem; line-height: 1.6; }
/* Club headshots are framed waist-up: zoom in on the face in small circles */
.avatar img[src*="assets/people/"], .tile-who .face img[src*="assets/people/"], .sv-head .avatar img[src*="assets/people/"] { transform: scale(1.5); transform-origin: 50% 24%; }

.staff-more summary { margin-top: 10px; cursor: pointer; font-size: 0.875rem; font-weight: 700; color: var(--sky); list-style: none; }
.staff-more summary::-webkit-details-marker { display: none; }
.staff-more summary::after { content: " +"; }
.staff-more[open] summary::after { content: " -"; }
.staff-clubs strong { color: var(--bone); font-weight: 700; }

/* ==========================================================================
   V3.3 (Nov 9): season switcher, results, match centre, detailed profiles
   ========================================================================== */
.plink { font: inherit; color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .plink:hover { text-decoration-color: currentColor; } }

/* Season switcher */
.season-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.season-bar label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); }
.select-wrap { position: relative; display: inline-block; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.season-bar select {
  appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 44px 0 16px; border-radius: 8px;
  background: var(--ink); color: var(--bone); border: 0; font: inherit; font-weight: 700; font-size: 0.9375rem; cursor: pointer;
}
.season-bar .select-wrap { color: var(--bone); }
.season-bar select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.season-card .display { font-size: clamp(2.5rem, 5vw, 3.75rem); }

/* Fixture rows that open the match centre */
.fixture { position: relative; }
.fixture.has-link { cursor: pointer; transition: background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .fixture.has-link:hover { background: rgba(15, 16, 18, 0.04); } }
.fixture .row-link { position: absolute; inset: 0; z-index: 0; }
.fixture .cal-wrap, .fixture .potm-line .plink, .fixture .potm-line button { position: relative; z-index: 1; }
.fixture.is-past.has-link { opacity: 1; }
.fixture .score--w { color: #1f7a3f; }
.fixture .score--l { color: #b3261e; }

/* Profile: season tables and game logs */
.p-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.p-sum { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 0.9375rem; }
.p-sum th, .p-sum td { padding: 8px 10px 8px 0; text-align: left; white-space: nowrap; }
.p-sum thead th { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; color: var(--mist); }
.p-sum tbody th { font-weight: 600; color: var(--mist); font-size: 0.875rem; }
.p-sum tbody td { font-size: 1.125rem; font-weight: 600; }
.p-sum tbody tr + tr th, .p-sum tbody tr + tr td { border-top: 1px solid var(--line); }
.p-logwrap { margin-top: 14px; }
.p-logwrap summary { cursor: pointer; font-size: 0.875rem; font-weight: 700; color: var(--sky); list-style: none; }
.p-logwrap summary::-webkit-details-marker { display: none; }
.p-logwrap summary::after { content: " +"; }
.p-logwrap[open] summary::after { content: " -"; }
.p-log a.p-opp { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.p-log td { white-space: nowrap; }
.mins { color: var(--mist); font-size: 0.8125rem; }

/* ---------- Match centre ---------- */
.mc-hero { padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(32px, 5vw, 56px); background: radial-gradient(120% 90% at 50% 0%, #1b2a36 0%, var(--ink) 60%); }
.mc-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 0.875rem; color: var(--mist); text-align: center; }
.mc-meta .link { color: var(--sky); }
.mc-score { margin-top: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(12px, 3vw, 48px); }
.mc-side { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.mc-crest { width: clamp(64px, 9vw, 112px); height: clamp(64px, 9vw, 112px); color: var(--bone); }
.mc-badge { width: clamp(64px, 9vw, 112px); height: clamp(64px, 9vw, 112px); }
.mc-name { font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.75rem); line-height: 1; text-transform: uppercase; }
.mc-num { display: grid; grid-template-columns: auto auto auto; align-items: center; justify-items: center; column-gap: clamp(10px, 2vw, 22px); }
.mc-num .t-data { font-family: var(--font-display); font-size: clamp(3.5rem, 10vw, 7rem); line-height: 1; }
.mc-dash { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--mist); }
.mc-status { grid-column: 1 / -1; margin-top: 8px; font-size: 0.875rem; color: var(--mist); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.res-w { color: #6fd08c; } .res-l { color: #ff8a80; } .res-t { color: var(--sky); }
.mc-potm { margin-top: 22px; text-align: center; font-size: 0.9375rem; }
.mc-body { color: var(--ink); }
.mc-body h3 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); margin-bottom: 12px; }
.mc-grids { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px 40px; }
.mc-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.mc-table th, .mc-table td { padding: 10px 10px 10px 0; text-align: left; border-bottom: 1px solid var(--line-ink); white-space: nowrap; }
.mc-table thead th { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; color: var(--stone); border-bottom-color: var(--line-ink-strong); }
.mc-table tbody th { font-weight: 700; }
.mc-sec { margin-top: clamp(36px, 5vw, 56px); }
.mc-timeline { display: grid; border-top: 1px solid var(--line-ink-strong); }
.mc-goal { display: grid; grid-template-columns: 3.25rem 40px minmax(0, 1fr) auto 3.5rem; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-ink); }
.mc-goal.is-us { background: linear-gradient(90deg, rgba(79, 143, 192, 0.1), rgba(79, 143, 192, 0) 60%); }
.mc-min { font-size: 1.125rem; font-weight: 700; padding-left: 8px; }
.mc-gbadge { display: grid; place-items: center; }
.mc-crest-sm { width: 30px; height: 30px; color: var(--ink); }
.mc-badge-sm { width: 30px; height: 30px; }
.mc-what { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.mc-scorer { font-weight: 700; }
.mc-ast { flex-basis: 100%; font-size: 0.875rem; color: var(--stone); }
.mc-str { height: 20px; font-size: 0.6875rem; padding: 0 8px; }
.mc-when { font-size: 0.8125rem; color: var(--stone); }
.mc-run { font-size: 1rem; font-weight: 700; text-align: right; padding-right: 8px; }
.mc-pens td { white-space: normal; }
.mc-boxes { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 32px 48px; align-items: start; }
.mc-box .mc-keepers { margin-top: 18px; }
.mc-start { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: var(--bone); font-size: 0.625rem; font-weight: 800; vertical-align: 1px; }
.mc-facts { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 14px 36px; font-size: 0.9375rem; }
.mc-facts dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); }
.mc-body .card { vertical-align: -1px; }
.mc-nav { display: flex; justify-content: space-between; gap: 16px; padding-block: 28px 8px; }
.mc-navlink { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 700; }
.mc-navlink small { display: block; font-size: 0.75rem; font-weight: 600; color: var(--mist); }
.mc-navlink svg { width: 18px; height: 18px; }
.mc-navlink.is-next { text-align: right; }
@media (hover: hover) and (pointer: fine) { .mc-navlink:hover { background: var(--ink-2); } }
@media (max-width: 640px) {
  .mc-goal { grid-template-columns: 2.75rem 30px minmax(0, 1fr) 3rem; gap: 10px; }
  .mc-when { display: none; }
  .mc-name { font-size: 1rem; }
  .mc-nav { flex-direction: column; }
}
.mc-body.section { padding-top: clamp(32px, 5vw, 56px); }
dialog.profile { width: min(720px, calc(100vw - 32px)); overflow-x: hidden; }
.p-inner, .p-inner > *, .p-block { min-width: 0; }
.p-log td:nth-child(4), .p-log td:nth-child(5) { white-space: normal; min-width: 7rem; }
.p-log .mins { display: inline; word-spacing: 2px; }
.p-list li, .p-about, .p-clubs { overflow-wrap: anywhere; }
@media (max-width: 640px) { dialog.profile { width: 100vw; } }

/* Admin v2 */
.adm input[type=text], .adm input[type=url] {
  width: 100%; min-height: 44px; padding: 0 12px; border-radius: 10px;
  background: var(--ink-3); color: var(--bone); border: 1px solid var(--line-strong); font: inherit; font-size: 1rem;
}
.adm input::placeholder { color: var(--mist); opacity: 0.7; }
.adm-season select { min-height: 36px; padding: 0 36px 0 14px; border-radius: 999px; background: var(--ink-3); color: var(--bone); border: 1px solid var(--line-strong); font: inherit; font-weight: 700; font-size: 0.875rem; appearance: none; -webkit-appearance: none; cursor: pointer; }
.adm-season::after { right: 14px; width: 7px; height: 7px; }
.adm-head { flex-wrap: wrap; }
.adm-head > div { flex: 1; min-width: 200px; }
.adm-bigscore { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; }
.adm-note { margin-top: 10px; font-size: 0.8125rem; color: var(--mist); }
.adm-sm { min-width: 160px; flex: 0 1 200px; }
.adm-wide { flex: 1 1 100%; }
.adm .adm-num { width: 72px; min-height: 38px; text-align: center; padding: 0 6px; }
.adm-lineup td { width: auto; }
.adm-lineup td:nth-child(n+2) { width: 84px; }
.adm-auto { color: var(--sky); font-weight: 700; }
.adm-off th { color: var(--mist); font-weight: 500; }
.adm-keepers li { grid-template-columns: minmax(160px, 1.4fr) repeat(4, minmax(70px, 0.6fr)) minmax(90px, 0.7fr) 44px; align-items: end; }
.adm-keepers label { display: grid; gap: 4px; font-size: 0.75rem; color: var(--mist); }
.adm-keepers output { min-height: 44px; display: grid; place-items: center; font-weight: 700; color: var(--sky); }
.adm-events li.ev { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: var(--ink-3); box-shadow: inset 3px 0 0 var(--ink-4); grid-template-columns: 1fr; }
.adm-events li.ev.is-us { box-shadow: inset 3px 0 0 var(--blue); }
.adm-events .ev-top { display: grid; gap: 8px; grid-template-columns: minmax(130px, 1.4fr) 80px 110px minmax(120px, 1fr) 56px 44px; align-items: center; }
.adm-pens .ev-top { grid-template-columns: minmax(130px, 1.4fr) 80px 110px 110px 96px 44px; }
.adm-events .ev-people { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adm-events select, .adm-events input { background: var(--ink-2) !important; }
.adm-events .ev-top .icon-btn { justify-self: end; }
.adm-min { text-align: center; font-weight: 700; color: var(--sky); }
.adm-adds { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-shots { border-collapse: collapse; }
.adm-shots th, .adm-shots td { padding: 6px 10px 6px 0; text-align: left; }
.adm-shots thead th { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; color: var(--mist); }
.adm-save .link { color: var(--sky); }
@media (max-width: 1180px) {
  .adm-keepers li { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px; border-radius: 12px; background: var(--ink-3); }
  .adm-keepers li > select { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .adm-events .ev-top, .adm-pens .ev-top { grid-template-columns: 1fr 1fr 1fr; }
  .adm-events .ev-top > select:first-child { grid-column: 1 / -1; }
  .adm-events .ev-people { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .adm-keepers li { grid-template-columns: 1fr 1fr; }
}
.home-news { padding-top: clamp(48px, 6vw, 88px); }

/* Labels that used to be outlined chips */
.fixture .ha .tag { color: var(--stone); }
.fixture .ha .tag--home { color: var(--blue-deep); }
.tag--new { color: var(--sky); box-shadow: none; }
.mc-str { height: auto; padding: 0; font-size: 0.6875rem; color: var(--blue-deep); }
.fixture .tbc { margin-left: 10px; color: var(--stone); }

/* Add to calendar menu */
.cal-menu {
  position: absolute; z-index: 90; width: min(320px, calc(100vw - 24px));
  padding: 14px; border-radius: 14px;
  background: var(--ink-2); color: var(--bone);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 24px 60px -16px rgba(0, 0, 0, 0.7);
  animation: cal-in 180ms var(--ease-out) both;
}
.cal-menu[hidden] { display: none; }
@keyframes cal-in { from { opacity: 0; transform: translateY(-4px) scale(0.98); } }
.cal-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); padding: 2px 6px 8px; }
.cal-menu ul { display: grid; gap: 2px; }
.cal-menu a { display: grid; gap: 2px; padding: 10px; border-radius: 8px; }
.cal-menu a strong { font-size: 0.9375rem; }
.cal-menu a span { font-size: 0.8125rem; color: var(--mist); line-height: 1.35; }
@media (hover: hover) and (pointer: fine) { .cal-menu a:hover { background: var(--ink-3); } }
.cal-menu a:active { background: var(--ink-3); }
.cal-close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--mist); }
.cal-close svg { width: 16px; height: 16px; }
.cal-menu.is-sheet { position: fixed; left: 0 !important; right: 0; top: auto !important; bottom: 0; width: 100%; border-radius: 16px 16px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); animation: cal-sheet 240ms var(--ease-out) both; }
@keyframes cal-sheet { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .cal-menu, .cal-menu.is-sheet { animation: none; } }

/* ---------- Fixtures: tighter top, match preview ---------- */
.section--schedule { padding-top: clamp(28px, 4vw, 48px); }
.fixture .row-link { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; border-radius: 4px; -webkit-tap-highlight-color: transparent; }
.fixture .row-link:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.fixture.has-link:active { background: rgba(15, 16, 18, 0.06); }
.cal-menu.is-fixed { position: fixed; }

dialog.fx-sheet { width: min(680px, calc(100vw - 32px)); }
.fx-head { display: flex; align-items: center; gap: 18px; padding-right: 44px; }
.fx-badge { width: 76px; height: 76px; }
.fx-when { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sky); }
.fx-head h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 0.95; text-transform: uppercase; margin-top: 6px; }
.fx-tags { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 0.875rem; color: var(--mist); }
.fx-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 1.125rem; font-weight: 700; }
.fx-result .muted { font-size: 0.875rem; font-weight: 500; }
.fx-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fx-series { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-top: 12px; font-size: 0.9375rem; color: var(--mist); }
.fx-series strong { font-size: 1.125rem; color: var(--bone); }
.fx-first { margin-top: 12px; font-size: 0.9375rem; color: var(--mist); }
.fx-meets { margin-top: 14px; display: grid; }
.fx-meet { padding: 12px 0; border-top: 1px solid var(--line); }
.fx-meet.is-this { position: relative; }
.fx-meet.is-this::before { content: "This game"; display: block; margin-bottom: 4px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky); }
.fx-meet-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.fx-res { font-weight: 700; }
.fx-meet .fx-res { width: 1.25em; }
.res-n { color: var(--mist); }
.fx-score { font-weight: 700; font-size: 1.0625rem; }
.fx-meet-when { font-size: 0.875rem; color: var(--mist); }
.fx-recap { margin-top: 6px; font-size: 0.9375rem; line-height: 1.55; color: color-mix(in srgb, var(--bone) 88%, transparent); text-wrap: pretty; }
.fx-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; font-size: 0.875rem; font-weight: 600; }
.fx-links .link { color: var(--sky); }
.fx-opp { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.fx-badge-sm { width: 48px; height: 48px; }
.fx-opp-name { font-weight: 700; font-size: 1.0625rem; }
.fx-opp .muted { font-size: 0.875rem; }
.fx-past { margin-top: 12px; display: grid; gap: 8px; }
.fx-past div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 12px; font-size: 0.9375rem; }
.fx-past dt { font-family: var(--font-data); color: var(--mist); font-size: 0.875rem; }
.fx-venue { display: grid; gap: 2px; margin-top: 12px; font-size: 0.9375rem; }
.fx-venue strong { font-size: 1.0625rem; }
.fx-venue .muted { font-size: 0.875rem; }
.fx-map { margin-top: 14px; border-radius: var(--r-m); overflow: hidden; background: var(--ink-3); aspect-ratio: 16 / 9; box-shadow: inset 0 0 0 1px var(--line); }
.fx-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.fx-maplinks { margin-top: 12px; }
@media (max-width: 640px) {
  dialog.fx-sheet { width: 100vw; max-width: 100vw; }
  .fx-head { align-items: flex-start; gap: 14px; }
  .fx-badge { width: 56px; height: 56px; }
  .fx-map { aspect-ratio: 4 / 3; }
  .fx-past div { grid-template-columns: 4.75rem 1fr; }
}
.fx-maplinks .btn, .fx-actions .btn { text-decoration: none; }

/* Match centre: report */
.mc-report { max-width: 68ch; margin-bottom: clamp(28px, 4vw, 44px); }
.mc-report h3 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); }
.mc-report p { margin-top: 10px; font-size: 1.0625rem; line-height: 1.6; text-wrap: pretty; }
.mc-report .link { display: inline-block; margin-top: 10px; font-weight: 600; }

/* ---------- News filter ---------- */
.news-filter { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.nf-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); }
.nf-opts { display: flex; gap: 22px; flex-wrap: wrap; }
.nf-opts button { position: relative; padding: 8px 0; font-weight: 600; font-size: 1rem; color: var(--stone); background: none; border: 0; cursor: pointer; }
.nf-opts button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out); }
.nf-opts button[aria-pressed="true"] { color: var(--ink); }
.nf-opts button[aria-pressed="true"]::after { transform: none; }
@media (hover: hover) and (pointer: fine) { .nf-opts button:hover { color: var(--ink); } }

/* ---------- Match report page ---------- */
.rep-title { max-width: 22ch; }
.rep-byline { margin-top: 14px; font-size: 0.9375rem; font-weight: 600; color: var(--mist); }
.rep-board-wrap { margin-top: clamp(28px, 4vw, 44px); }
.rep-board {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px clamp(16px, 3vw, 40px);
  padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}
.rb-team { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; min-width: 0; }
.rb-badge, .rb-crest { width: clamp(56px, 7vw, 80px); height: clamp(56px, 7vw, 80px); }
.rb-crest { display: grid; place-items: center; color: var(--bone); }
.rb-crest svg { width: 88%; height: 88%; }
.rb-name { font-weight: 700; font-size: clamp(0.9375rem, 1.6vw, 1.125rem); line-height: 1.25; }
.rb-score { display: grid; grid-template-columns: auto auto auto; align-items: center; justify-items: center; column-gap: 10px; font-family: var(--font-display); font-size: clamp(3rem, 8vw, 5.25rem); line-height: 0.9; }
.rb-score .t-data { font-family: var(--font-display); }
.rb-dash { color: var(--mist); }
.rb-status { grid-column: 1 / -1; margin-top: 10px; font-family: var(--font-body, inherit); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); }
.rb-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--mist); }
.rb-meta strong { color: var(--bone); font-weight: 600; }
.rb-cta { grid-column: 1 / -1; justify-self: center; text-decoration: none; }
.article-media--portrait { aspect-ratio: 4 / 5; max-width: 560px; margin-inline: auto; }

.rep-watch { margin-top: clamp(48px, 6vw, 80px); }
.vids { display: grid; gap: 20px; margin-top: 20px; }
.vids--2 { grid-template-columns: 2fr 1fr; align-items: start; }
@media (max-width: 860px) { .vids--2 { grid-template-columns: 1fr; } }
.vid { margin: 0; }
.vid-frame, .vid-iframe { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-m); overflow: hidden; background: #000; }
.vid-frame { cursor: pointer; padding: 0; }
.vid-frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; transition: opacity 200ms ease, transform 420ms var(--ease-out); }
.vid-btn { position: absolute; left: 50%; top: 50%; width: clamp(56px, 7vw, 76px); height: clamp(56px, 7vw, 76px); margin: calc(clamp(56px, 7vw, 76px) / -2) 0 0 calc(clamp(56px, 7vw, 76px) / -2); display: grid; place-items: center; border-radius: 50%; background: var(--bone); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transition: transform 200ms var(--ease-out); }
.vid-btn svg { width: 42%; height: 42%; margin-left: 6%; }
@media (hover: hover) and (pointer: fine) { .vid-frame:hover img { opacity: 1; transform: scale(1.02); } .vid-frame:hover .vid-btn { transform: scale(1.06); } }
.vid-frame:active .vid-btn { transform: scale(0.96); }
.vid-frame:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.vid figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 12px; font-size: 0.875rem; color: var(--mist); }
.vid figcaption strong { font-size: 1rem; color: var(--bone); }

.rep-results { margin-top: 2.2em; padding-top: 1.6em; border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.5; }
.rep-results h2 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); }
.rep-results h3 { margin-top: 1.1em; font-size: 0.9375rem; font-weight: 700; color: var(--bone); }
.rep-results ul { margin-top: 0.5em; display: grid; gap: 4px; }
.rep-results li { color: color-mix(in srgb, var(--bone) 82%, transparent); }

.rep-photos { margin-top: clamp(56px, 7vw, 96px); }
.rep-photos .section-head { align-items: baseline; }
.rep-photos .section-head p { margin: 0; font-size: 0.9375rem; }
.rep-gallery { margin-top: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rep-gallery button[hidden] { display: none; }
@media (max-width: 900px) { .rep-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rep-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.rep-more { margin-top: 24px; text-align: center; }
.rep-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.rep-nav-link { display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--r-m); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: background-color 160ms ease; }
.rep-nav-link .muted { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.rep-nav-link strong { font-size: 1.0625rem; line-height: 1.3; }
.rep-nav-link.is-next { text-align: right; }
@media (hover: hover) and (pointer: fine) { .rep-nav-link:hover { background: var(--ink-3); } }
@media (max-width: 640px) { .rep-nav { grid-template-columns: 1fr; } .rep-nav-link.is-next { text-align: left; } }

/* Photo viewer: previous / next */
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 16px; }
.lightbox .lb-next { right: 16px; }
.lightbox .lb-prev[hidden], .lightbox .lb-next[hidden] { display: none; }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 0.875rem; color: var(--mist); }
@media (max-width: 640px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 10px; transform: none; } .lightbox img { max-height: 78vh; } }

/* ---------- Supporter wall (supporters.html) ---------- */
.sup-section { overflow: hidden; }
.sup-crest {
  position: absolute; right: -6vw; top: 50%; width: min(62vw, 760px); height: auto;
  transform: translateY(-50%); color: var(--bone); opacity: 0.035; pointer-events: none;
}
.sup-intro { max-width: 60ch; margin-bottom: clamp(36px, 5vw, 64px); }
.sup-intro p + p { margin-top: 1em; }
.sup-season { position: relative; }
.sup-season + .sup-season { margin-top: clamp(56px, 8vw, 104px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.sup-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: clamp(22px, 3vw, 36px); }
.sup-title { font-size: clamp(2.6rem, 6vw, 4.75rem); line-height: 0.9; color: var(--blue); }
.sup-meta {
  font-family: var(--font-data); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist);
}
.sup-wall {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.18em 0; max-width: 1180px;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: 0.005em; color: var(--bone);
}
/* Each name carries its dot in front; the list is pulled left by one dot's
   width and clipped, so the dot at the start of every line is hidden. */
.sup-wall { margin-left: -0.9em; clip-path: inset(-0.5em -0.5em -0.5em 0.9em); }
.sup-wall li { display: inline-flex; align-items: center; }
.sup-wall li::before {
  content: ""; flex: none; width: 0.22em; height: 0.22em; margin-inline: 0.34em;
  border-radius: 50%; background: var(--blue);
}
.sup-season--past .sup-wall { font-size: clamp(1.25rem, 2.4vw, 2rem); color: color-mix(in srgb, var(--bone) 88%, transparent); }
.sup-season--past .sup-title { font-size: clamp(2rem, 4vw, 3.25rem); }
@media (hover: hover) and (pointer: fine) {
  .sup-wall li { transition: color 180ms ease; }
  .sup-wall li:hover { color: var(--sky); }
}
@media (prefers-reduced-motion: no-preference) {
  .sup-wall li { animation: fade-up 700ms var(--ease-out) both; }
  .sup-wall li:nth-child(n+6) { animation-delay: 80ms; }
  .sup-wall li:nth-child(n+11) { animation-delay: 160ms; }
  .sup-wall li:nth-child(n+16) { animation-delay: 240ms; }
  .sup-wall li:nth-child(n+21) { animation-delay: 320ms; }
}
.sup-cta { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px 48px; }
.sup-cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 0.92; }
.sup-cta p { max-width: 46ch; margin-top: 14px; font-weight: 500; }
.sup-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Club page teaser */
.sup-teaser { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; }
.sup-teaser .sup-wall { font-size: clamp(1.25rem, 2.2vw, 1.75rem); margin-top: 22px; }
@media (max-width: 760px) { .sup-teaser { grid-template-columns: 1fr; } }

/* ---------- Partners and packages (supporters.html) ---------- */
.ptn-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
.ptn { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); }
.ptn-role {
  font-family: var(--font-data); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone);
}
.ptn-name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 0.95; color: var(--ink); }
.ptn a { text-decoration: none; }
@media (max-width: 760px) { .ptn-list { grid-template-columns: 1fr; gap: 28px; } }

.pk-head { margin: clamp(64px, 9vw, 112px) 0 clamp(24px, 3vw, 36px); max-width: 62ch; }
.pk-head p { margin-top: 14px; }
.light .pk-head p { color: var(--stone); }
.ink-2 .pk-head p { color: var(--mist); }
.pk-grid { display: grid; gap: 16px; }
.pk-grid--biz { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pk-grid--sup { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pk {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-m);
}
.light .pk { background: var(--bone-2); box-shadow: inset 0 0 0 1px var(--line-ink); }
.ink-2 .pk { background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pk--lead { grid-column: 1 / -1; background: var(--ink) !important; color: var(--bone); box-shadow: none !important; }
.pk-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pk-name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.75rem; line-height: 1; }
.pk-limit {
  font-family: var(--font-data); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-deep); white-space: nowrap;
}
.ink-2 .pk-limit, .pk--lead .pk-limit { color: var(--sky); }
.pk-prices { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.pk-price { display: flex; align-items: baseline; gap: 8px; }
.pk-price b { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.25rem); line-height: 1; letter-spacing: 0; }
.pk-price small { font-family: var(--font-data); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); }
.ink-2 .pk-price small, .pk--lead .pk-price small { color: var(--mist); }
.ink-2 .pk-price b, .pk--lead .pk-price b { color: var(--blue); }
.pk-blurb { font-size: 0.9375rem; line-height: 1.55; }
.light .pk:not(.pk--lead) .pk-blurb { color: #2b2e33; }
.pk-perks { display: grid; gap: 8px; font-size: 0.9375rem; line-height: 1.45; padding-top: 14px; border-top: 1px solid var(--line-ink); }
.ink-2 .pk-perks, .pk--lead .pk-perks { border-top-color: var(--line); }
.pk-perks li { position: relative; padding-left: 20px; }
.pk-perks li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 2px; background: var(--blue); }
.pk--lead .pk-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.pk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 36px); }

.pk-steps {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 28px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line);
}
.pk-step-n { font-family: var(--font-data); font-size: 0.8125rem; font-weight: 600; color: var(--sky); }
.pk-steps h3 { font-size: 1.0625rem; font-weight: 700; margin: 8px 0 6px; letter-spacing: -0.01em; }
.pk-steps p { font-size: 0.9375rem; line-height: 1.5; color: var(--mist); }

.sup-legacy-label { font-family: var(--font-data); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky); margin-bottom: 10px; }
.sup-wall--legacy { font-size: clamp(2rem, 4.6vw, 3.75rem); color: var(--blue); margin-bottom: clamp(24px, 3vw, 36px); }

@media (max-width: 1100px) {
  .pk-grid--sup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pk-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pk-grid--biz, .pk-grid--sup { grid-template-columns: 1fr; }
  .pk--lead .pk-perks { grid-template-columns: 1fr; }
  .pk-steps { grid-template-columns: 1fr; }
}

/* ---------- Partner logo strip (home and supporters.html) ---------- */
.partners-strip { border-top: 1px solid var(--line); }
.ps-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: clamp(22px, 3vw, 36px); }
.ps-title {
  font-family: var(--font-data); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist);
}
.pmq {
  --pmq-gap: clamp(48px, 7vw, 96px);
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.pmq-track {
  display: flex; align-items: center; gap: var(--pmq-gap); width: max-content;
  padding-right: var(--pmq-gap);
  animation: pmq-roll 38s linear infinite;
}
.pmq:hover .pmq-track, .pmq:focus-within .pmq-track { animation-play-state: paused; }
@keyframes pmq-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pmq-item { flex: none; display: flex; align-items: center; height: clamp(44px, 5vw, 60px); }
.pmq-item img { height: 100%; width: auto; max-width: 220px; object-fit: contain; opacity: 0.86; transition: opacity 180ms ease; }
.pmq-item:hover img { opacity: 1; }
.pmq-word {
  font-family: var(--font-display); text-transform: uppercase; white-space: nowrap;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1; letter-spacing: 0.01em; color: var(--bone); opacity: 0.86;
}
/* On light sections the logos are drawn in ink */
.pmq--ink .pmq-item img { filter: brightness(0); opacity: 0.82; }
.pmq--ink .pmq-word { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .pmq { -webkit-mask-image: none; mask-image: none; }
  .pmq-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 28px; padding-inline: var(--gutter); }
  .pmq-item[aria-hidden="true"] { display: none; }
}

/* Club page: Year one follows the photo band on the same light ground */
.club-photos + .section.light { padding-top: clamp(32px, 4vw, 64px); }

/* ==========================================================================
   v4 (Nov 2026): live games, lineup graphic, league table, server admin
   ========================================================================== */

/* live marker */
.live-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--signal); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(246, 195, 36, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(246, 195, 36, 0); } }
.mc-hero.is-live { box-shadow: inset 0 -3px 0 var(--signal); }
.mc-num.is-bump .t-data { animation: scoreBump 600ms var(--ease-out); }
@keyframes scoreBump { 0% { transform: scale(1); } 35% { transform: scale(1.12); color: var(--signal); } 100% { transform: scale(1); } }
.nm.is-live .nm-live { color: var(--signal); }
.nm.is-live .nm-live i { animation: livePulse 1.6s ease-in-out infinite; }
.nm-score { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
@media (prefers-reduced-motion: reduce) { .live-dot::before, .nm.is-live .nm-live i, .mc-num.is-bump .t-data { animation: none; } }

/* scoring summary: one heading per quarter */
.mc-qhead { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 8px; border-bottom: 1px solid var(--line-ink-strong); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.mc-qhead:first-child { padding-top: 6px; }
.mc-qhead .muted { font-weight: 600; letter-spacing: 0.02em; text-transform: none; color: var(--stone); }

/* lineup graphic: an arena pitch with boards, 6 a side */
.mc-lineup h3 .muted { color: var(--stone); font-weight: 600; margin-left: 6px; }
.pt-wrap { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.pt { position: relative; aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden; border: 6px solid #e9e6df;
  box-shadow: 0 0 0 1px var(--line-ink-strong), 0 18px 40px rgba(15, 16, 18, 0.18);
  background: repeating-linear-gradient(180deg, #17583c 0 12.5%, #145034 12.5% 25%); }
.pt > span { position: absolute; border: 2px solid rgba(243, 241, 236, 0.5); pointer-events: none; }
.pt-half { left: 0; right: 0; top: 50%; height: 0; border-width: 2px 0 0 !important; }
.pt-circle { left: 50%; top: 50%; width: 28%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
.pt-box { left: 24%; right: 24%; bottom: -2px; height: 14%; border-bottom: 0 !important; border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.pt-box.is-top { top: -2px; bottom: auto; border-top: 0 !important; border-bottom: 2px solid rgba(243, 241, 236, 0.5) !important; border-radius: 0 0 50% 50% / 0 0 30% 30%; }
.pt ul { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.pt li { position: absolute; width: 96px; transform: translate(-50%, -50%); }
.pt-tok { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; background: none; border: 0; padding: 4px 0; color: var(--bone); cursor: pointer; font: inherit; border-radius: var(--r-s); }
span.pt-tok { cursor: default; }
.pt-tok:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.pt-shirt { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--ink); font-size: 1rem; font-weight: 700;
  box-shadow: 0 0 0 2px rgba(15, 16, 18, 0.35), 0 4px 10px rgba(0, 0, 0, 0.3); transition: transform 160ms var(--ease-out); }
.pt-shirt.is-gk { background: var(--signal); }
.pt-cap { position: absolute; right: -5px; top: -5px; width: 18px; height: 18px; border-radius: 50%; background: var(--bone); color: var(--ink); font-size: 0.625rem; font-weight: 800; display: grid; place-items: center; }
.pt-name { font-size: 0.8125rem; font-weight: 700; line-height: 1.15; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); max-width: 96px; }
.pt-ev { display: inline-flex; gap: 4px; }
.pt-g, .pt-a { display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; font-size: 0.6875rem; font-weight: 800; line-height: 1; }
.pt-g { background: rgba(15, 16, 18, 0.55); color: var(--bone); }
.pt-g svg { width: 12px; height: 12px; margin-right: 2px; }
.pt-g svg:last-child { margin-right: 0; }
.pt-a { background: rgba(243, 241, 236, 0.18); color: var(--bone); }
@media (hover: hover) and (pointer: fine) { .pt-tok:not(span):hover .pt-shirt { transform: scale(1.07); } .pt-tok:not(span):hover .pt-name { text-decoration: underline; } }
.pt-bench h4, .pt-list h4 { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; }
.pt-bench ul, .pt-list ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-ink-strong); }
.pt-bench li, .pt-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-ink); min-height: 44px; }
.pt-bench li .t-data, .pt-list li .t-data { width: 2rem; color: var(--stone); }
.pt-bench .pt-ev { margin-left: auto; }
.pt-bench .pt-g { background: var(--ink); color: var(--bone); }
.pt-bench .pt-a { background: var(--line-ink-strong); color: var(--ink); }
.pt-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) {
  .pt-wrap, .pt-list { grid-template-columns: 1fr; }
  .pt { max-width: 420px; width: 100%; margin-inline: auto; }
  .pt li { width: 78px; }
  .pt-shirt { width: 38px; height: 38px; font-size: 0.9375rem; }
  .pt-name { font-size: 0.75rem; max-width: 78px; }
}

/* league table */
.standings-sec .section-head .muted { max-width: none; }
.st-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.st-table th, .st-table td { padding: 12px 8px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.st-table thead th { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); }
.st-table abbr { text-decoration: none; }
.st-table .st-team { text-align: left; width: 100%; white-space: normal; font-weight: 600; }
.st-table th.st-team { display: flex; align-items: center; gap: 12px; }
.st-table .st-pos { width: 2.5rem; color: var(--mist); }
.st-table .st-pts { font-weight: 800; }
.st-badge, .st-crest { width: 28px; height: 28px; flex: none; object-fit: contain; }
.st-crest { color: var(--bone); }
.st-none { display: inline-block; border-radius: 50%; background: var(--ink-4); }
.st-table tr.is-us { background: rgba(79, 143, 192, 0.16); }
.st-table tr.is-us td, .st-table tr.is-us th { border-bottom-color: rgba(79, 143, 192, 0.45); }
.st-table tr.is-us .st-pos { color: var(--sky); box-shadow: inset 3px 0 0 var(--blue); }
.st-table tr.is-us .st-team span { color: var(--sky); }
.standings-home .st-table { max-width: 760px; }
@media (max-width: 600px) { .st-table th, .st-table td { padding: 11px 5px; font-size: 0.875rem; } .st-table .st-g { display: none; } .st-badge, .st-crest { width: 22px; height: 22px; } .st-table th.st-team { gap: 8px; } }

/* admin: tabs, lineup slots, table editor */
.adm-tabs { display: flex; gap: 6px; margin: 12px 0 6px; }
.adm-tabs button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong, rgba(243,241,236,.22)); background: transparent; color: inherit; font: 600 0.875rem/1 var(--font-body, inherit); cursor: pointer; }
.adm-tabs button[aria-selected="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.adm-dot.is-live { background: var(--signal); }
.adm-pitch { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 12px; }
.adm-slot.is-gk span { color: var(--signal); }
.adm-stand input[type="text"] { min-width: 12rem; }
.adm-stand .adm-num { width: 4.5rem; }
.adm-import input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.adm-import { position: relative; cursor: pointer; }

/* ==========================================================================
   V3.14 (Nov 30): player pages (player.html?id=<slug>)
   ========================================================================== */
a.pt-tok { text-decoration: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(24px, 3vw, 36px); font-size: 0.875rem; font-weight: 600; color: var(--mist); }
.crumbs a { color: var(--sky); }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.pl-hero { padding-bottom: clamp(32px, 4vw, 56px); }
.pl-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pl-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-m); background: var(--ink-2); display: grid; place-items: center; isolation: isolate; }
.pl-photo img { width: 100%; height: 100%; object-fit: cover; animation: hero-settle 1400ms var(--ease-out) both; }
.pl-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; background: linear-gradient(0deg, rgba(15, 16, 18, 0.7), rgba(15, 16, 18, 0)); pointer-events: none; }
.pl-bignum { position: absolute; right: 18px; bottom: 6px; z-index: 1; font-family: var(--font-display); font-size: clamp(4.5rem, 9vw, 8rem); line-height: 1; color: var(--bone); opacity: 0.9; }
.pl-photo.is-empty .ph-crest { position: absolute; left: 18px; bottom: 18px; width: 34px; height: 34px; color: var(--bone); opacity: 0.22; }
.pl-photo.is-empty .ph-initials { font-family: var(--font-display); font-size: clamp(4rem, 9vw, 7rem); color: rgba(243, 241, 236, 0.2); }
.pl-intro .eyebrow { margin-bottom: 14px; }
.pl-name span { display: block; }
.pl-name { overflow-wrap: anywhere; }
.pl-honour { margin-top: 18px; font-weight: 700; color: var(--signal); }
.pl-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line-strong); }
.pl-facts div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.pl-facts dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); }
.pl-facts dd { margin-top: 4px; font-size: 1.0625rem; font-weight: 600; overflow-wrap: anywhere; }
.pl-snap { margin-top: 24px; }
.pl-snap .pstats { margin-top: 10px; flex-wrap: wrap; }
.pl-intro .hero-actions { margin-top: 26px; }
.pl-body { padding-top: 0; }
.pl-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; border-top: 1px solid var(--line-strong); padding-top: clamp(32px, 4vw, 56px); }
.pl-cols .t-h2 { margin-bottom: 18px; }
.pl-about .p-bio > :first-child { margin-top: 0; }
.pl-stats .p-block:first-of-type { border-top: 0; padding-top: 0; }
.pl-stats .p-block + .p-block { margin-top: 22px; }
.pl-stats .note { margin-top: 22px; font-size: 0.8125rem; color: var(--mist); line-height: 1.55; }
.pl-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding-bottom: var(--section-y); }
.pl-navlink { display: grid; gap: 4px; padding: 16px 0; min-width: 0; }
.pl-navlink small { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); }
.pl-navlink strong { font-size: 1.0625rem; overflow-wrap: anywhere; }
.pl-navlink .t-data { color: var(--sky); }
.pl-navlink--next { text-align: right; }
.pl-all { font-weight: 700; color: var(--sky); padding: 12px 4px; }
@media (hover: hover) and (pointer: fine) { .pl-navlink:hover strong, .pl-all:hover { text-decoration: underline; text-underline-offset: 3px; } }
@media (max-width: 900px) {
  .pl-grid { grid-template-columns: minmax(0, 1fr); }
  .pl-photo { max-width: 520px; width: 100%; }
  .pl-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pl-nav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pl-all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { .pl-photo img { animation: none; } }
