:root {
  --ink: #0a1430;          /* page background: deep Flyers navy (the site uses no black or grey backgrounds) */
  --panel: #13265a;        /* cards and raised sections */
  --panel-hi: #1b3a84;
  --navy: #0e1c41;         /* Flyers navy */
  --navy-hi: #16306f;
  --gold: #f6d000;         /* Flyers gold: the one colour that means "buy" */
  --gold-hi: #ffe14a;
  --text: #ffffff;
  --muted: #b9c4e4;
  --line: rgba(160, 185, 255, .2);
  --r: 16px;
  /* One font for the whole site: Archivo at a single width. Headlines and text use exactly the same
     letterforms; only size and weight change. */
  --display: "Archivo", Arial, sans-serif;
  --body: "Archivo", Arial, sans-serif;
}

/* Archivo is a variable-width font. Pinning it to one width (76%) here means every piece of text on
   the site, headline or paragraph, is drawn from the same design. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 76%; font-display: swap;
  src: url(https://fonts.gstatic.com/s/archivo/v25/k3kQo8UDI-1M0wlSfdnoLg.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 76%; font-display: swap;
  src: url(https://fonts.gstatic.com/s/archivo/v25/k3kQo8UDI-1M0wlSfdfoLnnA.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4; }
/* Form controls and SVG text otherwise fall back to the system font. */
button, input, select, textarea, option, svg text { font-family: var(--body); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; margin: 0; line-height: 1; }
h2 { font-size: clamp(34px, 4vw, 50px); letter-spacing: .3px; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--gold); color: #000; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Small shared pieces ---------- */
.eyebrow {
  display: block; margin-bottom: 8px;
  font: 700 14px/1 var(--display); letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 800 17px/1 var(--display); letter-spacing: 1.1px; text-transform: uppercase; white-space: nowrap;
  cursor: pointer; transition: transform .15s, background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.gold { background: var(--gold); color: #0a1430; box-shadow: 0 8px 24px -10px rgba(246, 208, 0, .7); }
.btn.gold:hover { background: var(--gold-hi); }
.btn.ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn.ghost:hover { border-color: #fff; }
.btn.outline { border-color: rgba(246, 208, 0, .55); color: var(--gold); background: transparent; }
.btn.outline:hover { background: var(--gold); color: #0a1430; }
.btn.lg { min-height: 56px; padding: 0 30px; font-size: 20px; }
.btn.block { width: 100%; min-height: 52px; font-size: 19px; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 14px/1.2 var(--body); color: var(--muted); transition: color .2s;
}
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover { color: var(--gold); }
.text-link:hover::after { transform: translateX(3px); }
.pill {
  display: inline-block; padding: 5px 10px 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); color: #fff;
  font: 700 12px/1 var(--display); letter-spacing: 1.2px; text-transform: uppercase;
}
.pill.gold { background: var(--gold); color: #0a1430; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.thumb { position: relative; overflow: hidden; background: var(--panel); border-radius: var(--r); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
a:hover > .thumb img { transform: scale(1.05); }

/* ---------- Header: clear over the hero, glass once you scroll ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 36px;
  padding: 16px 32px;
  border-bottom: 1px solid transparent;
  transition: padding .25s, background .25s, border-color .25s;
}
.site-header.scrolled, .site-header.menu-open {
  padding-block: 8px;
  background: rgba(10, 20, 48, .82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-color: var(--line);
}
.brand img { width: 124px; height: auto; transition: width .25s; }
.scrolled .brand img { width: 88px; }
.primary { display: flex; align-items: center; gap: 30px; }
.primary a, .more-btn, .icon-link {
  font: 700 18px/1 var(--display); letter-spacing: 1.2px; text-transform: uppercase;
  color: #fff; background: none; border: 0; padding: 8px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px; transition: color .2s;
}
.primary a:hover, .more-btn:hover, .icon-link:hover { color: var(--gold); }
.burger { display: grid; gap: 4px; }
.burger i { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
/* Team dropdown: opens on hover or keyboard focus */
.nav-drop { position: relative; }
.caret { width: 7px; height: 7px; margin: -4px 0 0 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.nav-drop:hover .caret, .nav-drop:focus-within .caret { transform: rotate(225deg); margin-top: 4px; }
.nav-sub {
  position: absolute; top: 100%; left: -20px; z-index: 5; min-width: 250px; padding: 8px;
  display: grid; background: rgba(10, 20, 48, .98); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.primary .nav-sub a { display: flex; padding: 13px 14px; font-size: 17px; }
.primary .nav-sub a:hover { background: rgba(255, 255, 255, .06); }
.more-inner { grid-template-columns: repeat(6, 1fr); gap: 24px; }
.footer-main { grid-template-columns: 1fr repeat(4, 1fr) 1.3fr; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 24px; }
/* Flyers TV logo beside Buy tickets: links to the Flyers TV page. */
.tv-logo { display: block; flex: none; line-height: 0; transition: transform .2s, filter .2s; }
.tv-logo img { width: auto; height: 47px; }
.tv-logo:hover { transform: translateY(-1px); filter: brightness(1.15); }
/* Elite League badge: in the header beside the Flyers TV logo, and in the footer. Both link to the league's site. */
.league-logo { display: block; flex: none; line-height: 0; transition: transform .2s, filter .2s; }
.league-logo img { width: auto; height: 50px; }
.league-logo:hover { transform: translateY(-1px); filter: brightness(1.08); }
.header-actions:has(.league-logo) { gap: 18px; }
/* The very bottom of every page: the Flyers crest beside the league badge, with the membership line beneath. */
.footer-marks { padding: 26px 0 36px; border-top: 1px solid var(--line); text-align: center; }
.footer-marks-row { display: flex; justify-content: center; align-items: center; gap: 34px; }
.footer-marks a { display: block; line-height: 0; transition: transform .2s, filter .2s; }
.footer-marks a:hover { transform: translateY(-2px); filter: brightness(1.1); }
.footer-marks .footer-logo img { width: 156px; height: auto; }
.footer-marks .league-badge img { width: auto; height: 82px; }
.footer-marks p { max-width: none; margin: 16px 0 0; color: #fff; font: 700 14px/1.3 var(--display); letter-spacing: 1.4px; text-transform: uppercase; white-space: nowrap; }
.smallprint:has(+ .footer-marks) { padding-bottom: 20px; }
@media (max-width: 760px) { .header-actions, .header-actions:has(.league-logo) { gap: 12px; } .tv-logo img { height: 36px; } .league-logo img { height: 38px; } }
.icon-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }

.more-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(10, 20, 48, .97); border-bottom: 1px solid var(--line);
  max-height: calc(100vh - 70px); max-height: calc(100dvh - 110px); overflow-y: auto;   /* chrome.js sets the exact height when it opens */
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: env(safe-area-inset-bottom);
}
.more-inner { width: min(1240px, 100% - 48px); margin: 0 auto; padding: 32px 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.more-inner h3 { font-size: 22px; color: var(--gold); margin-bottom: 12px; }
.more-inner a { display: block; padding: 7px 0; color: var(--muted); }
.more-inner a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 800px; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 150px 0 120px;
  background:
    repeating-linear-gradient(-55deg, transparent 0 120px, rgba(255, 255, 255, .02) 120px 240px),
    linear-gradient(180deg, #10204a, var(--ink));
}
.hero-art { position: absolute; inset: 0 0 0 auto; width: 62%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; filter: grayscale(1) contrast(1.15) brightness(1.1); }
.hero-art::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, var(--navy) 10%, #1856a6 55%, var(--gold) 130%);
  mix-blend-mode: multiply; opacity: .4;
}
.hero-art::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(10, 20, 48, .8) 18%, rgba(10, 20, 48, 0) 46%),
    linear-gradient(0deg, var(--ink) 0%, rgba(10, 20, 48, 0) 40%);
}
.hero-inner { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: end; }
.tag {
  display: inline-block; background: var(--gold); color: #000; border-radius: 6px;
  font: 800 15px/1 var(--display); letter-spacing: 1.4px; text-transform: uppercase;
  padding: 8px 12px 6px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(56px, 7.6vw, 108px); font-weight: 900; line-height: .9; letter-spacing: -.5px; }
.lede { margin-top: 22px; font-size: 19px; color: #d5d9e6; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.next-card {
  padding: 24px; border-radius: 22px;
  background: rgba(14, 28, 65, .72);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.next-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.next-top .eyebrow { margin: 0; }
.next-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 20px 0 14px; }
.team { display: grid; justify-items: center; gap: 10px; text-align: center; font: 700 17px/1.1 var(--display); letter-spacing: .8px; text-transform: uppercase; }
.team img { width: 78px; height: 78px; object-fit: contain; }
.vs { font: 800 22px/1 var(--display); color: var(--muted); }
.next-when { text-align: center; font-size: 14px; color: #d5d9e6; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.countdown div { padding: 10px 0 8px; border-radius: 12px; background: rgba(255, 255, 255, .07); text-align: center; }
.countdown b { display: block; font: 800 32px/1 var(--display); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.live { margin: 18px 0; text-align: center; font: 800 22px/1 var(--display); text-transform: uppercase; color: var(--gold); }
.next-card .text-link { display: flex; justify-content: center; margin-top: 14px; }

/* ---------- Reassurance strip ---------- */
.assure {
  position: relative; z-index: 5; margin-top: -56px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
}
.assure > div { display: flex; align-items: center; gap: 16px; padding: 22px 26px; }
.assure > div + div { border-left: 1px solid var(--line); }
.assure svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(246, 208, 0, .12); fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.assure p { font-size: 14px; color: var(--muted); }
.assure b { display: block; font-size: 16px; color: #fff; }
.assure a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Paragraph spacing: any paragraph that directly follows another gets clear space above it.
   Written with :where() so it never overrides a more specific spacing rule elsewhere. */
:where(main) p + p { margin-top: 1.1em; }

/* Small "watch live on Flyers TV" prompt shown beside home games */
.tv-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font: 600 13px/1.2 var(--body); color: inherit; }
.tv-link::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 3px rgba(255, 59, 48, .22); }
.tv-link:hover { text-decoration: underline; }

/* ---------- Cup night band ---------- */
.cup {
  margin-top: 56px; position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(90% 160% at 85% 50%, #1e3f8f, var(--navy) 55%, #070b1c 100%);
  border-block: 2px solid var(--gold);
}
.cup::before { content: "CUP NIGHT"; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); font: 900 clamp(120px, 20vw, 300px)/.8 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(246, 208, 0, .16); white-space: nowrap; pointer-events: none; }
/* Trimmed homepage: hero, cup night, next home games, shop, news. */
body > main > .cup { margin-top: 0; }
.hero { padding-bottom: 72px; }
.games { padding: 72px 0; }
.shop { padding: 72px 0; }
.news { padding: 72px 0; }
.cup-inner > * { min-width: 0; }
.cup-kicker { max-width: 100%; line-height: 1.25 !important; }
.cup-inner { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; padding: 44px 0; }
.cup-date { display: grid; justify-items: center; padding: 16px 22px 14px; background: rgba(8, 16, 40, .6); border: 1px solid rgba(246, 208, 0, .5); color: var(--gold); }
.cup-date span { font: 800 18px/1 var(--display); letter-spacing: 2px; text-transform: uppercase; }
.cup-date b { font: 900 84px/.95 var(--display); color: #fff; }
.cup-kicker { display: inline-block; padding: 7px 12px 6px; background: var(--gold); color: #0a1430; font: 800 14px/1 var(--display); letter-spacing: 1.6px; text-transform: uppercase; }
.cup h2 { font-size: clamp(44px, 6.4vw, 96px); font-weight: 900; line-height: .9; margin: 14px 0 12px; }
.cup h2 i { font-style: normal; color: var(--gold); text-transform: lowercase; }
.cup p { font-weight: 500; color: #d5d9e6; }
.cup-sth { margin-top: 12px; padding: 12px 16px; background: rgba(8, 16, 40, .5); border-left: 4px solid var(--gold); max-width: 70ch; }
.cup-sth b { color: var(--gold); }
.cup-side { display: grid; gap: 18px; justify-items: center; }
.cup-crests { display: flex; gap: 14px; }
.cup-crests img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.cup-btn { background: var(--gold); color: #0a1430; min-height: 58px; padding: 0 32px; font-size: 21px; box-shadow: 0 10px 28px -10px rgba(246, 208, 0, .7); }
.cup-inner:hover .cup-btn { background: var(--gold-hi); transform: translateY(-2px); }
.fx.cupgame { border-color: var(--gold); box-shadow: inset 5px 0 0 var(--gold); }
@media (max-width: 1100px) { .cup-inner { grid-template-columns: auto 1fr; } .cup-side { grid-column: 1 / -1; grid-template-columns: auto 1fr; justify-items: start; align-items: center; } }
@media (max-width: 760px) { .cup-inner { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; } .cup-date { justify-self: start; grid-auto-flow: column; gap: 10px; align-items: baseline; padding: 10px 16px; } .cup-date b { font-size: 44px; } .cup-crests img { width: 64px; height: 64px; } .cup-side { grid-template-columns: 1fr; } .cup-btn { width: 100%; } }

/* ---------- Home games ---------- */
.games { padding: 96px 0; }
.result-chip {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--muted); transition: border-color .2s;
}
.result-chip:hover { border-color: var(--gold); }
.result-chip img { width: 30px; height: 30px; object-fit: contain; }
.result-chip b { font: 800 22px/1 var(--display); color: #fff; }
.result-chip em { font-style: normal; font-weight: 600; color: var(--gold); }

.fixtures { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fx {
  display: grid; grid-template-columns: 74px 64px 1fr auto; align-items: center; gap: 22px;
  padding: 16px 22px 16px 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s, transform .2s, background .2s;
}
.fx:hover { border-color: rgba(246, 208, 0, .5); transform: translateY(-2px); background: var(--panel-hi); }
.fx.next { border-color: rgba(246, 208, 0, .6); background: linear-gradient(100deg, var(--navy) 0%, var(--panel) 70%); }
.fx-date { display: grid; justify-items: center; padding: 10px 0 8px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.fx-date span { font: 700 13px/1 var(--display); letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.fx-date b { font: 800 36px/1.05 var(--display); }
.fx-logo { width: 64px; height: 64px; object-fit: contain; }
.fx-main h3 { font-size: 26px; letter-spacing: .3px; }
.fx-main h3 i { font-style: normal; color: var(--muted); font-weight: 700; padding: 0 3px; text-transform: lowercase; }
.fx-main p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.fx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fx-tags:empty { display: none; }
.fx-cta { display: flex; align-items: center; gap: 22px; }
.fx.empty { display: block; padding: 28px; color: var(--muted); }
.games-foot { display: flex; align-items: center; gap: 24px; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Ways to buy ---------- */
.options { padding-bottom: 96px; }
.options-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.option {
  display: flex; flex-direction: column; gap: 10px; padding: 26px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s, transform .2s, background .2s;
}
.option:hover { border-color: rgba(246, 208, 0, .5); transform: translateY(-3px); background: var(--panel-hi); }
.option svg { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: rgba(246, 208, 0, .12); fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.option h3 { font-size: 28px; margin-top: 8px; }
.option p { font-size: 15px; color: var(--muted); flex: 1; }
.go { font: 700 14px/1 var(--body); color: var(--gold); margin-top: 6px; }
.go::after { content: " →"; }

/* ---------- Shop rail ---------- */
.shop { padding: 88px 0 96px; background: var(--panel); border-block: 1px solid var(--line); }
.rail-nav { display: flex; align-items: center; gap: 10px; }
.rail-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25);
  background: none; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s;
}
.rail-nav button:hover { border-color: var(--gold); color: var(--gold); }
.rail-nav .btn { margin-left: 8px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4.3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: -4px; padding: 4px;
}
.rail::-webkit-scrollbar { display: none; }
.product { scroll-snap-align: start; }
.product .thumb { aspect-ratio: 4 / 5; background: #e9ebf1; }
.badge {
  position: absolute; z-index: 1; top: 12px; left: 12px; padding: 6px 10px 5px; border-radius: 999px;
  background: var(--gold); color: #0a1430;
  font: 800 13px/1 var(--display); letter-spacing: 1.2px; text-transform: uppercase;
}
.product h3 { font: 600 15px/1.35 var(--body); text-transform: none; margin-top: 14px; }
.product:hover h3 { color: var(--gold); }
.price { margin-top: 6px; font: 800 24px/1 var(--display); }
.price small { font: 500 13px/1 var(--body); color: var(--muted); }

/* ---------- News ---------- */
.news { padding: 96px 0; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card .thumb { aspect-ratio: 800 / 410; }
.news-card time { display: block; margin-top: 14px; font-size: 13px; color: var(--muted); }
.news-card h3 { font: 600 16px/1.35 var(--body); text-transform: none; margin-top: 6px; }
.news-card:hover h3, .feature:hover h3 { color: var(--gold); }

/* ---------- What's on ---------- */
.features { padding-bottom: 96px; }
.yt {
  display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; font: 600 14px/1 var(--body); transition: border-color .2s;
}
.yt svg { width: 24px; height: 24px; fill: #e02020; }
.yt:hover { border-color: var(--gold); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature .thumb { aspect-ratio: 4 / 5; }
.feature h3 { font: 600 16px/1.35 var(--body); text-transform: none; margin-top: 14px; }

/* ---------- Standings ---------- */
.standings { padding-bottom: 96px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
th, td { padding: 13px 14px; text-align: center; border-bottom: 1px solid var(--line); }
th { font: 700 14px/1 var(--display); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
td.l, th.l { text-align: left; }
td.l { font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tr.us td { background: var(--navy); color: var(--gold); font-weight: 600; }

/* ---------- Plan your visit ---------- */
.visit { padding: 88px 0 96px; background: radial-gradient(120% 160% at 50% 120%, var(--navy-hi), var(--navy) 45%, #081029 100%); }
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.visit-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r); background: rgba(10, 20, 48, .5); border: 1px solid rgba(255, 255, 255, .12); }
.visit-card h3 { font-size: 26px; }
.visit-card p { color: #d5d9e6; flex: 1; }
.visit-card p a:hover { color: var(--gold); }
.visit-card .text-link { color: var(--gold); margin-top: 6px; }

/* ---------- Fixtures ribbon (pinned above the header on every page) ---------- */
.ribbon {
  position: fixed; inset: 0 0 auto 0; z-index: 55; height: 40px;
  display: flex; align-items: center;
  background: var(--gold); color: #0a1430; font-size: 13px;
}
.ribbon-label {
  flex: none; align-self: stretch; display: flex; align-items: center; padding: 0 16px;
  background: #0a1430; color: var(--gold);
  font: 800 15px/1 var(--display); letter-spacing: 1.6px; text-transform: uppercase;
}
.ribbon-track { flex: 1; min-width: 0; overflow: hidden; }
.ribbon-move { display: flex; width: max-content; animation: ribbon 60s linear infinite; }
.ribbon:hover .ribbon-move, .ribbon:focus-within .ribbon-move { animation-play-state: paused; }
.ribbon-move > div { display: flex; }
.ribbon-move a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 22px; white-space: nowrap; border-right: 1px solid rgba(10, 20, 48, .2); }
.ribbon-move a:hover { background: rgba(10, 20, 48, .1); }
.ribbon-move b { font-weight: 700; }
.ribbon-move span { font: 800 16px/1 var(--display); letter-spacing: .6px; text-transform: uppercase; }
.ribbon-move img { width: 22px; height: 22px; object-fit: contain; }
.ribbon-move em { font-style: normal; }
.ribbon-move i { font-style: normal; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #0a1430; color: var(--gold); font-size: 11px; letter-spacing: .6px; text-transform: uppercase; }
.ribbon .social { flex: none; margin: 0; gap: 0; padding: 0 8px; background: #0a1430; align-self: stretch; align-items: center; }
.ribbon .social a { width: 34px; height: 34px; border: 0; color: #fff; }
.ribbon .social a:hover { background: none; color: var(--gold); }
.ribbon .social svg { width: 17px; height: 17px; }
@keyframes ribbon { to { transform: translateX(-50%); } }
.has-ribbon .site-header { top: 40px; }
.has-ribbon .skip:focus { top: 52px; }
@media (max-width: 760px) { .ribbon .social { display: none; } .ribbon-label { padding: 0 10px; font-size: 13px; } .ribbon-move a { padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) { .ribbon-move { animation: none; } .ribbon-track { overflow-x: auto; scrollbar-width: none; } .ribbon-move > div[aria-hidden] { display: none; } }

/* ---------- Sponsors (shown above the footer on every page) ---------- */
.sponsors { padding: 64px 0; background: var(--ink); border-top: 1px solid var(--line); }
.sponsors-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.sponsor-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
/* Each logo sits in one cell that is exactly the size of its tile's inside. Without that fixed cell, iPhones
   size a wide logo (Motorpoint) by its own width and it spills out of the tile. */
.sponsor-grid li { min-width: 0; }
.sponsor-grid a {
  display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; height: 120px; padding: 18px;
  background: #fff; border-radius: var(--r); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.sponsor-grid a.dark { background: #000; }
.sponsor-grid a:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--gold); }
.sponsor-grid img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 1100px) { .sponsor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .sponsors { padding: 48px 0; } .sponsor-grid { grid-template-columns: repeat(2, 1fr); } .sponsor-grid a { height: 96px; } }

/* ---------- Footer ---------- */
.footer-band { border-bottom: 1px solid var(--line); }
.band-inner { display: flex; align-items: center; gap: 28px; padding: 30px 0; flex-wrap: wrap; }
.band-title { font: 800 34px/1 var(--display); text-transform: uppercase; }
.social { margin-left: auto; display: flex; gap: 8px; }
.social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: #000; }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.footer-main { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr) 1.4fr; gap: 32px; padding: 56px 0 40px; }
.footer-logo img { width: 160px; }
.footer-main h3 { font-size: 19px; font-weight: 700; letter-spacing: 1.4px; margin-bottom: 12px; }
.footer-main a { display: block; padding: 5px 0; color: var(--muted); font-size: 15px; }
.footer-main a:hover { color: var(--gold); }
address { font-style: normal; color: var(--muted); font-size: 15px; }
address h3 { color: #fff; }
.legal { border-top: 1px solid var(--line); padding: 22px 0 34px; font-size: 13px; color: var(--muted); }

/* ---------- Phone buy bar ---------- */
.buybar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .primary a { display: none; }
  .icon-link { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .next-card { max-width: 460px; }
  .hero { padding-bottom: 110px; }
  .hero-art { width: 100%; opacity: .5; }
  .options-grid, .news-grid, .features-grid, .more-inner { grid-template-columns: repeat(2, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 20px) / 3.3); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap, .more-inner { width: calc(100% - 32px); }
  body:has(.buybar), body:has(.s-sticky) { padding-bottom: 76px; }   /* room for the sticky buy bar, only on pages that have one */
  .site-header { padding: 10px 16px; gap: 14px; }
  .site-header.scrolled, .site-header.menu-open { padding-block: 6px; }
  .brand img, .scrolled .brand img { width: 76px; }
  .header-actions .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
  .header-actions .btn svg { display: none; }
  .hero { min-height: 0; padding: 120px 0 96px; }
  .lede { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .assure { grid-template-columns: 1fr; margin-top: -48px; }
  .assure > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .assure > div { padding: 16px 18px; }
  .games, .news { padding: 64px 0; }
  .options, .features, .standings { padding-bottom: 64px; }
  .shop, .visit { padding: 60px 0 64px; }
  .fx { grid-template-columns: 62px 1fr; gap: 14px; padding: 14px; }
  .fx-logo { display: none; }
  .fx-main h3 { font-size: 22px; }
  .fx-cta { grid-column: 1 / -1; justify-content: space-between; }
  .fx-cta .btn { flex: 1; max-width: 220px; }
  .options-grid, .visit-grid { grid-template-columns: 1fr; }
  .option { padding: 20px; }
  .rail { grid-auto-columns: 62%; gap: 14px; }
  .rail-nav button { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .features-grid { gap: 14px; }
  .more-inner { grid-template-columns: 1fr 1fr; padding: 20px 0 28px; }
  .social { margin-left: 0; }
  .footer-main { gap: 28px 20px; }

  .buybar {
    position: fixed; inset: auto 0 0 0; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(14, 28, 65, .94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, .16);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .buybar.show { transform: none; }
  .buybar p { min-width: 0; }
  .buybar span { display: block; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); }
  .buybar b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* No stranded words or letters: headings break into even lines, body text never leaves one word alone on the last line, and a name is never split mid-word (fitNames in data.js shrinks it to fit instead). */
h1, h2, h3, h4, .btn { text-wrap: balance; }
p, li, dd, dt, figcaption, blockquote, label { text-wrap: pretty; }
.pf-copy h1, .pl-name { overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.pf-copy h1 > *, .pl-name > * { white-space: nowrap; }
.pf-copy h1, .pl-name { white-space: nowrap; }
.pf-copy h1 .outline { display: block; }

/* A page never scrolls sideways: anything wider than the screen is clipped, and media scales down to fit. */
html, body { max-width: 100%; overflow-x: clip; }
img, video, iframe, table { max-width: 100%; }

/* Phones: small labels never go below 12px. */
@media (max-width: 760px) { .pl-meta, .st-role, .ph small, .pf-sponsor span, .s-feature-tag small, .hi dt, .tm-over, .md-kicker, .h-kicker { font-size: 12px; } }

/* Statutory small print at the foot of every page, on computers and phones alike. */
.smallprint { padding-top: 22px; padding-bottom: 34px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.55; color: var(--muted); }
.smallprint p { max-width: none; margin: 0 0 6px; text-wrap: wrap; }
.smallprint nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
.smallprint a { color: #c5cadb; text-decoration: underline; text-underline-offset: 3px; }
.smallprint a:hover { color: var(--gold); }
@media (max-width: 760px) { .smallprint { font-size: 10.5px; padding-bottom: 28px; } .smallprint nav { gap: 6px 14px; } .smallprint a { padding: 4px 0; } }

/* ---------- Home page in club colours ----------
   The landing page sits on Flyers navy with gold accents, not black and grey. The banner photo is shown in colour
   with a navy wash, and every panel on the page takes a navy tone. */
body[data-page="home"] { --ink: #0a1430; --panel: #13265a; --line: rgba(160, 185, 255, .2); --muted: #b9c4e4; background: #0a1430; }
body[data-page="home"] .hero {
  background:
    repeating-linear-gradient(-55deg, transparent 0 120px, rgba(255, 255, 255, .025) 120px 240px),
    radial-gradient(90% 130% at 78% 28%, #1e3f8f 0%, var(--navy) 52%, #0a1430 100%);
  border-bottom: 3px solid var(--gold);
}
body[data-page="home"] .hero-art img { filter: saturate(1.08) contrast(1.06); }
body[data-page="home"] .hero-art::before { background: linear-gradient(120deg, rgba(14, 28, 65, .78) 0%, rgba(22, 48, 111, .42) 55%, rgba(246, 208, 0, .14) 120%); mix-blend-mode: normal; opacity: 1; }
body[data-page="home"] .hero-art::after {
  background:
    linear-gradient(90deg, var(--navy) 0%, rgba(14, 28, 65, .82) 18%, rgba(14, 28, 65, 0) 48%),
    linear-gradient(0deg, #0a1430 0%, rgba(10, 20, 48, 0) 38%);
}
body[data-page="home"] .next-card { background: rgba(14, 28, 65, .86); border: 1px solid rgba(246, 208, 0, .45); border-top: 4px solid var(--gold); }
body[data-page="home"] .countdown div { background: rgba(255, 255, 255, .1); }
body[data-page="home"] .hero .lede { color: #dfe5f6; }

/* Phones: the crest, menu button, Flyers TV logo, basket and Buy tickets all have to fit on one row,
   so the menu button shows its three lines without the word "More" and everything tightens up. */
@media (max-width: 620px) {
  .site-header { gap: 8px; }
  .brand { flex: none; }
  .brand img, .scrolled .brand img { width: 56px; }
  .primary { gap: 0; }
  .more-btn { font-size: 0; gap: 0; padding: 12px 6px; }
  body[data-page="shop"] .buy-w { display: none; }   /* the shop also shows the basket, so its button reads "Tickets" */
  .header-actions { gap: 8px; }
  .tv-logo img { height: 28px; }
  .league-logo img { height: 30px; }
  .header-actions:has(.league-logo) { gap: 7px; }
  .site-header { padding-inline: 12px; }
  .footer-marks { padding: 22px 0 28px; }
  .footer-marks-row { gap: 24px; }
  .footer-marks .footer-logo img { width: 124px; }
  .footer-marks .league-badge img { height: 66px; }
  .footer-marks p { font-size: 12px; letter-spacing: 1px; margin-top: 14px; }
  .header-actions .btn { padding: 0 12px; font-size: 14px; white-space: nowrap; }
  .header-actions .basket-btn { width: 40px; height: 40px; }
}

/* The menu (seven items and "More") sits beside the crest and the Buy tickets button. It tightens a little on
   smaller computer screens and folds into the "More" button below 1100px. */
@media (max-width: 1359.98px) and (min-width: 1100px) {
  .site-header { gap: 26px; }
  .primary { gap: 18px; }
  .primary a, .more-btn { font-size: 16px; letter-spacing: .6px; gap: 6px; }
}
/* Very small phones (under 360px wide; on the shop the league badge stays in the footer only): a smaller crest, and the button reads "Tickets". */
@media (max-width: 359px) { .brand img, .scrolled .brand img { width: 46px; } .buy-w { display: none; } body[data-page="shop"] .league-logo { display: none; } }

/* ---------- Footer: final layout ----------
   Three calm bands on one centre line: the link columns, the legal small print, then the two crests with the
   membership line as the last thing on the page. Each band has the same space above and below it. */
.site-footer .footer-main { grid-template-columns: repeat(5, 1fr) 1.2fr; gap: 32px; padding: 52px 0 48px; }
.site-footer .smallprint { margin-top: 0; padding: 30px 0; text-align: center; }
.site-footer .smallprint p { max-width: 900px; margin: 0 auto 6px; text-wrap: balance; }
.site-footer .smallprint nav { justify-content: center; gap: 6px 24px; margin-top: 16px; }
.site-footer .footer-marks { padding: 38px 0 46px; }
.site-footer .footer-marks-row { gap: 0; }
.site-footer .footer-marks .footer-logo { padding-right: 38px; }
.site-footer .footer-marks .league-badge { padding-left: 38px; border-left: 1px solid var(--line); }
.site-footer .footer-marks .footer-logo img { width: 150px; }
.site-footer .footer-marks .league-badge img { height: 78px; }
.site-footer .footer-marks p { margin-top: 20px; font-size: 13px; letter-spacing: 2px; color: var(--muted); }
@media (max-width: 1100px) {
  .site-footer .footer-main { grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
}
@media (max-width: 760px) {
  .site-footer .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding: 40px 0 36px; }
  .site-footer .footer-main address { grid-column: 1 / -1; }
  .site-footer .smallprint { padding: 26px 0; }
  .site-footer .smallprint nav { gap: 4px 18px; margin-top: 12px; }
  .site-footer .footer-marks { padding: 30px 0 calc(38px + env(safe-area-inset-bottom)); }
  .site-footer .footer-marks .footer-logo { padding-right: 26px; }
  .site-footer .footer-marks .league-badge { padding-left: 26px; }
  .site-footer .footer-marks .footer-logo img { width: 122px; }
  .site-footer .footer-marks .league-badge img { height: 64px; }
  .site-footer .footer-marks p { margin-top: 16px; font-size: 11.5px; letter-spacing: 1.4px; }
}

/* ---------- Sponsors: five tiles to a row (three on a tablet, two on a phone) ----------
   The tiles wrap, and a last row that is not full sits in the middle. So the list looks tidy whatever the number
   of sponsors, and nothing here needs changing when one is added or removed. --per is how many go in a row. */
.sponsor-grid { --per: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sponsor-grid li { flex: 0 0 calc((100% - (var(--per) - 1) * 12px) / var(--per) - .1px); }
@media (max-width: 1100px) { .sponsor-grid { --per: 3; } }
@media (max-width: 760px) { .sponsor-grid { --per: 2; } }

/* ---------- Social icons in each network's own colour ---------- */
.social a { border: 0; color: #fff; transition: transform .2s, filter .2s; }
.social a:hover { background: var(--so, #000); color: #fff; transform: translateY(-2px); filter: brightness(1.12); }
.social .so-facebook  { --so: #1877f2; background: #1877f2; }
.social .so-instagram { --so: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); background: var(--so); }
.social .so-x         { --so: #000; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.social .so-tiktok    { --so: #010101; background: #010101; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.social .so-tiktok svg { filter: drop-shadow(1.5px 1.5px 0 #fe2c55) drop-shadow(-1.5px -1.5px 0 #25f4ee); }
.social .so-youtube   { --so: #ff0000; background: #ff0000; }
.social .so-linkedin  { --so: #0a66c2; background: #0a66c2; }
/* The small icons in the fixtures strip: coloured discs, a touch smaller. */
.ribbon .social { gap: 5px; padding: 0 10px; }
.ribbon .social a { width: 26px; height: 26px; color: #fff; }
.ribbon .social a:hover { background: var(--so, #000); color: #fff; }
.ribbon .social svg { width: 14px; height: 14px; }

/* ---------- Home page news: one lead story with a list beside it ---------- */
.nw-all { min-height: 42px; padding: 0 18px; font-size: 15px; }
.nw { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.nw-pic { overflow: hidden; background: var(--panel); }
.nw-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.nw time { font-size: 13px; font-weight: 600; letter-spacing: .4px; color: var(--muted); }
.nw h3 { text-transform: none; letter-spacing: -.01em; transition: color .2s; }
.nw-lead { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #101f4b; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.nw-lead:hover { border-color: rgba(246, 208, 0, .6); transform: translateY(-2px); }
.nw-lead .nw-pic { aspect-ratio: 16 / 9; }
.nw-lead-text { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 26px; }
.nw-lead h3 { margin-top: 10px; font: 800 clamp(24px, 2.5vw, 34px)/1.12 var(--display); text-wrap: balance; }
.nw-lead p { margin-top: 10px; max-width: 62ch; font-size: 16px; line-height: 1.55; color: #c9d0e6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-go { margin-top: auto; padding-top: 18px; font-size: 15px; font-weight: 700; color: var(--gold); }
.nw-go::after { content: " →"; display: inline-block; margin-left: 4px; transition: transform .2s; }
.nw-lead:hover .nw-go::after { transform: translateX(4px); }
.nw-list { display: grid; grid-auto-rows: 1fr; border-radius: 20px; overflow: hidden; background: #101f4b; border: 1px solid var(--line); }
.nw-row { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 20px 16px 16px; transition: background .2s; }
.nw-row + .nw-row { border-top: 1px solid var(--line); }
.nw-row:hover { background: rgba(255, 255, 255, .05); }
.nw-row .nw-pic { aspect-ratio: 16 / 10; border-radius: 12px; }
.nw-row h3 { margin-top: 5px; font: 700 18px/1.28 var(--display); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw a:hover h3 { color: var(--gold); }
.nw a:hover .nw-pic img { transform: scale(1.04); }
@media (max-width: 1100px) {
  .nw { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nw-all { min-height: 40px; }
  .nw-lead, .nw-list { border-radius: 16px; }
  .nw-lead-text { padding: 18px 18px 20px; }
  .nw-lead p { font-size: 15px; }
  .nw-row { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 14px 16px 14px 14px; }
  .nw-row .nw-pic { border-radius: 10px; }
  .nw-row h3 { font-size: 16px; }
}

/* Home page: upcoming home games and the news sit closer together, with a faint line between the two sections. */
.games { padding-bottom: 56px; }
.news { padding-top: 56px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .games { padding-bottom: 40px; } .news { padding-top: 40px; } }

/* The three "do something" items in the top menu (Tickets, Shop, Flyers TV) are soft coloured pills that sit
   together: gold for tickets, blue for the shop, red with a live dot for Flyers TV. The pill turns solid on the
   page it belongs to. */
.primary { --nav-gap: 30px; }
.primary a.nav-pill { gap: 8px; padding: 8px 13px; border-radius: 999px; color: #fff; background: rgba(var(--pill), .15); box-shadow: inset 0 0 0 1px rgba(var(--pill), .7); transition: background .2s, box-shadow .2s, color .2s; }
.primary a.nav-pill:hover, .primary .nav-drop:focus-within > a.nav-pill { color: #fff; background: rgba(var(--pill), .32); }
.primary a.nav-pill[aria-current="page"] { color: var(--pill-ink, #fff); background: rgb(var(--pill-solid, var(--pill))); box-shadow: none; }
.primary a.nav-join { margin-right: calc(10px - var(--nav-gap)); }
.nav-gold { --pill: 246, 208, 0; --pill-ink: #0a1430; }
.nav-blue { --pill: 110, 168, 255; --pill-ink: #0a1430; }
.nav-live { --pill: 255, 59, 48; --pill-solid: 217, 43, 34; }
.primary a.nav-live { padding-left: 11px; }
.primary a.nav-live::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; }
.primary a.nav-live[aria-current="page"]::before { background: #fff; }
@media (max-width: 1359.98px) and (min-width: 1100px) { .primary { --nav-gap: 18px; } }
.primary a, .more-btn { white-space: nowrap; }   /* menu words never break onto two lines */

/* ---------- Footer link columns: compact ----------
   Smaller headings and links with less space between them, so the block takes far less height. */
.site-footer .footer-main { gap: 22px 24px; padding: 32px 0 28px; }
.site-footer .footer-main h3 { margin-bottom: 7px; font-size: 14px; letter-spacing: 1.6px; color: #fff; }
.site-footer .footer-main a { padding: 2.5px 0; font-size: 14px; line-height: 1.35; }
.site-footer .footer-main address { font-size: 14px; line-height: 1.5; }
.site-footer .footer-main address a { padding: 1px 0; }
@media (max-width: 1100px) {
  .site-footer .footer-main { grid-template-columns: repeat(3, 1fr); gap: 22px 20px; }
}
@media (max-width: 760px) {
  /* Phones: three short columns per row would squeeze the longer links, so two columns, tightly spaced. */
  .site-footer .footer-main { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 26px 0 22px; }
  .site-footer .footer-main a { padding: 4.5px 0; }
  .site-footer .footer-main address a { padding: 2px 0; }
}
@media (max-width: 1100px) { footer.site-footer .footer-main:has(> :nth-child(6)) { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  footer.site-footer .footer-main:has(> :nth-child(6)) { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-main address { grid-column: auto; overflow-wrap: anywhere; }
}

/* ---------- The "More" menu ----------
   On a computer it holds just Club, Fans and Commercial, in three columns; Tickets, Team, Matches and Flyers TV are
   in the top bar. Below 1100px the top bar is folded away, so those four come back into the menu. */
@media (min-width: 1100px) {
  .more-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .more-inner .only-folded { display: none; }
}

/* ---------- Page loader ----------
   A full-screen Flyers crest with a gold ring spinning round it. It covers the page while it opens and again
   when a visitor clicks through to another page. chrome.js decides when to hide it (class "ld-done" on <html>)
   and when to bring it back (class "ld-leave").
   If chrome.js never runs, the loader takes itself away after four seconds so a page can never stay covered. */
html::before, html::after { content: ""; position: fixed; z-index: 2147483000; pointer-events: none; transition: opacity .28s ease, visibility 0s linear 0s; }
html::before { inset: 0; pointer-events: auto; background: #0b1533 url("https://fifeflyers.co.uk/wp-content/uploads/2025/02/logo-600x310.png") center / 132px auto no-repeat; }
html::after { left: 50%; top: 50%; width: 196px; height: 196px; margin: -98px 0 0 -98px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .1); border-top-color: var(--gold); border-right-color: var(--gold); animation: ld-spin .95s linear infinite; z-index: 2147483001; }
html.ld-done:not(.ld-leave)::before, html.ld-done:not(.ld-leave)::after { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s ease, visibility 0s linear .28s; }
html.ld-leave::before, html.ld-leave::after { transition-duration: .12s, 0s; }
html:not(.ld-js)::before { animation: ld-giveup .3s ease 4s forwards; }
html:not(.ld-js)::after { animation: ld-spin .95s linear infinite, ld-giveup .3s ease 4s forwards; }
@keyframes ld-spin { to { transform: rotate(360deg); } }
@keyframes ld-giveup { to { opacity: 0; visibility: hidden; } }
@media (max-width: 760px) {
  html::before { background-size: 104px auto; }
  html::after { width: 156px; height: 156px; margin: -78px 0 0 -78px; }
}
@media (prefers-reduced-motion: reduce) { html::after { animation: none; border-color: rgba(246, 208, 0, .55); } html:not(.ld-js)::after { animation: ld-giveup .3s ease 4s forwards; } }
@media print { html::before, html::after { display: none; } }
/* ---------- Analytics: cookie consent banner ----------
   A small card in the bottom corner, shown once to ask before analytics cookies are used (analytics.js).
   "Accept" and "No thanks" are the same size, as the UK regulator asks. */
.ck { position: fixed; left: 20px; bottom: 20px; z-index: 9000; width: min(440px, calc(100vw - 40px)); padding: 20px 22px; background: #0b1533; color: #e7eaf3; border: 1px solid rgba(255, 255, 255, .16); border-top: 3px solid var(--gold); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); font: 400 15px/1.5 var(--body); }
.ck p { margin: 0; }
.ck b { color: #fff; }
.ck a:not(.btn) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ck-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.ck-actions .btn { justify-content: center; min-height: 46px; padding-left: 12px; padding-right: 12px; }
.ck-actions .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
body:has(.buybar) .ck, body:has(.s-sticky) .ck, body:has(.pd-bar) .ck { bottom: 104px; }
@media (max-width: 560px) { .ck { left: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 16px; font-size: 14px; } }
/* Test panel, only ever shown with ?analytics=test in the address. */
.an-test { position: fixed; right: 16px; bottom: 16px; z-index: 9001; width: min(400px, calc(100vw - 32px)); max-height: 46vh; overflow: auto; padding: 14px 16px; background: #fff; color: #10182f; border: 2px solid var(--gold); box-shadow: 0 14px 40px rgba(0, 0, 0, .4); font: 400 13px/1.45 var(--body); }
.an-test b { display: block; margin-bottom: 6px; font-size: 13px; }
.an-test ol { margin: 0; padding-left: 20px; }
.an-test li { margin: 3px 0; overflow-wrap: anywhere; }
.an-test small { display: block; margin-top: 8px; color: #5a6176; }
@media print { .ck, .an-test { display: none; } }
/* ---------- Player profile: game-by-game record ----------
   One line per game the player has played, newest first: date, opponent, result, then his goals, assists,
   points and penalty minutes. The first eight show; "Show all" opens the rest. */
.pf-games { padding-bottom: 60px; }
.pf-games-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; margin-bottom: 10px; }
.pf-games-head p { font-size: 14px; color: var(--muted); }
.pf-g-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 84px repeat(4, 46px); gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: #d6dae6; font-variant-numeric: tabular-nums; }
.pf-g-row span:nth-child(n+4) { text-align: center; }
.pf-g-row i { font-style: normal; color: var(--muted); }
.pf-g-row span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: #fff; }
.pf-g-row em { margin-left: 10px; font: 700 11px/1 var(--body); font-style: normal; letter-spacing: .6px; text-transform: uppercase; color: var(--gold); }
.pf-g-row .W { font-weight: 700; color: var(--gold); }
.pf-g-row .L { color: #aab2c8; }
.pf-g-row .n { font-weight: 800; color: #fff; }
.pf-g-row .z { color: rgba(255, 255, 255, .28); }
.pf-g-row.head { padding: 8px 0; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); border-bottom-color: rgba(255, 255, 255, .28); }
.pf-g-row.head span:nth-child(2) { font-weight: 600; color: var(--muted); }
.pf-g-row.sum { border-bottom: 0; border-top: 1px solid rgba(255, 255, 255, .28); font-weight: 800; color: #fff; }
.pf-g-row.more { display: none; }
.pf-games.all .pf-g-row.more { display: grid; }
.pf-games-all { margin-top: 16px; padding: 0 0 4px; background: none; border: 0; border-bottom: 2px solid var(--gold); color: #fff; font: 700 14px/1.2 var(--body); cursor: pointer; }
.pf-games-all:hover { color: var(--gold); }
@media (max-width: 640px) {
  .pf-g-row { grid-template-columns: 50px minmax(0, 1fr) 52px repeat(3, 22px); gap: 6px; font-size: 14px; }
  .pf-g-row i, .pf-g-row span:nth-child(7) { display: none; }
  .pf-g-row em { display: block; margin: 3px 0 0; }
}
/* Under an enquiry form once it has been sent: the same message to copy, for visitors with no email app
   (mailWithCopy in chrome.js). */
.mail-copy { display: grid; gap: 10px; justify-items: start; margin-top: 18px; font-size: 14px; line-height: 1.5; text-align: left; }
.mail-copy a { text-decoration: underline; text-underline-offset: 3px; }
.mail-copy textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; background: rgba(255, 255, 255, .06); color: inherit; font: inherit; resize: vertical; }

/* A link to where a set of figures is kept live (the Elite League website, the streaming provider): used under
   the roster's team leaders, a player's game list, the fixtures, results and standings, and the Flyers TV replays. */
.live-src { margin-top: 18px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.light .live-src { color: var(--ink-muted); }
.live-src a, .pf-games-head p a { text-decoration: underline; text-underline-offset: 3px; }
.live-src a:hover, .pf-games-head p a:hover { color: var(--gold); }
.light .live-src a:hover { color: var(--ink-text); }

/* The club's email addresses, each with what it is for (CLUB_EMAILS and emailList() in data.js). Shown on the
   Business personnel tab and in the FAQ page's "Still need a hand?" card; it takes the colours of whichever it is in. */
.mail-list { flex: 1 1 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 24px; margin: 6px 0 0; padding-top: 16px; border-top: 1px solid rgba(128, 138, 170, .35); }
.mail-list > div { display: grid; gap: 4px; min-width: 0; flex: none; }
.mail-list dt { font: 600 12px/1.2 var(--body); letter-spacing: .4px; opacity: .72; }
.mail-list dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.mail-list a { padding-bottom: 1px; border-bottom: 1px solid rgba(246, 208, 0, .65); }
.mail-list a:hover { border-bottom-color: var(--gold); }
@media (max-width: 1100px) { .mail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mail-list { grid-template-columns: 1fr; } }
