/* Darwen FC — site styles
   Palette drawn from the kit and crest: Salmoner red, the deep red of the player-photo backdrop, crest gold & navy. */

:root {
  --red: #c8102e;
  --red-600: #a50d24;
  --red-deep: #870e10;          /* matches player photo backgrounds exactly */
  --red-ink: #3a0608;
  --gold: #d8b64c;
  --gold-soft: #f1e3a6;
  --navy: #1d3561;
  --ink: #140a0b;
  --ink-2: #2a1d1e;
  --paper: #f6f3ee;
  --card: #ffffff;
  --muted: #6d6264;
  --line: #e6dfd7;
  --win: #1f8a4c;
  --draw: #9a8a3a;
  --loss: #c8102e;

  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 10, 11, .06), 0 8px 24px -12px rgba(20, 10, 11, .18);
  --shadow-lg: 0 24px 60px -20px rgba(20, 10, 11, .45);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }

h1, h2, h3, .display { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: .005em; text-transform: uppercase; margin: 0; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.eyebrow.on-dark { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.3em; border-radius: 999px; border: 0;
  font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(200, 16, 46, .7); }
.btn-primary:hover { background: var(--red-600); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; }
.link-arrow { font-family: var(--display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: '→'; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: .78rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 34px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .motto { font-family: var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.topbar .social { display: flex; gap: 14px; align-items: center; }
.topbar .social svg { width: 15px; height: 15px; fill: currentColor; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--red); color: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .15); }
.site-header::after { content: ''; position: absolute; inset: auto 0 -3px 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold)); }
.site-header .wrap { display: flex; align-items: center; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 60px; width: auto; margin-block: 6px -18px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); position: relative; z-index: 2; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; line-height: .9; }
.brand-name small { display: block; font-size: .62rem; letter-spacing: .22em; font-weight: 600; opacity: .8; margin-top: 4px; }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a { font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: 8px 12px; border-radius: 999px; opacity: .92; }
.nav a:hover { background: rgba(255, 255, 255, .12); opacity: 1; }
.nav a[aria-current="page"] { background: rgba(0, 0, 0, .22); opacity: 1; }
.nav .btn { margin-left: 8px; padding: .55em 1.1em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; }
.nav-toggle svg { width: 28px; height: 28px; stroke: #fff; }

@media (max-width: 1180px) {
  .brand img { height: 52px; margin-bottom: -10px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 3px) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--red-ink); padding: 8px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: .2s ease; box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1.2rem; }
  .nav .btn { margin: 16px 0 0; justify-content: center; }
  .topbar .motto { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url('../img/site/hero.webp') center 35% / cover; transform: scale(1.03); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20, 6, 8, .96) 0%, rgba(58, 6, 8, .86) 42%, rgba(58, 6, 8, .35) 100%),
              linear-gradient(0deg, rgba(20, 10, 11, .9), transparent 45%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px); }
.hero h1 { font-size: clamp(3.2rem, 8.5vw, 7rem); margin: 14px 0 18px; }
.hero h1 span { color: var(--gold); display: block; }
.hero p.lede { font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 34ch; color: rgba(255, 255, 255, .82); margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.match-card {
  background: rgba(255, 255, 255, .06); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg);
}
.match-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .12); }
.chip.gold { background: var(--gold); color: var(--ink); }
.chip.red { background: var(--red); color: #fff; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fixture-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; text-align: center; }
.fixture-team img { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 10px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4)); }
.fixture-team .name { font-family: var(--display); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; line-height: 1; }
.fixture-vs { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--gold); padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, .25); }
.fixture-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0; font-size: .88rem; color: rgba(255, 255, 255, .8); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown div { background: rgba(0, 0, 0, .3); border-radius: 10px; padding: 10px 4px 8px; text-align: center; }
.countdown b { display: block; font-family: var(--display); font-size: 2rem; line-height: 1; font-weight: 800; }
.countdown span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.match-card-actions { display: flex; gap: 8px; margin-top: 16px; }
.match-card-actions .btn { flex: 1; justify-content: center; font-size: .9rem; padding: .7em 1em; }

@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- results ticker ---------- */
.ticker { background: var(--ink); color: #fff; border-top: 1px solid rgba(255, 255, 255, .08); }
.ticker .wrap { display: flex; align-items: stretch; gap: 0; overflow-x: auto; scrollbar-width: none; }
.ticker .wrap::-webkit-scrollbar { display: none; }
.ticker-label { flex: none; display: flex; align-items: center; padding: 0 18px 0 0; font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--gold); }
.ticker-item { flex: none; display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-left: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; white-space: nowrap; }
.ticker-item img { width: 22px; height: 22px; object-fit: contain; }
.ticker-item .score { font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.ticker-item small { opacity: .55; font-size: .75rem; }

/* result pill */
.res { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; font-family: var(--display); font-weight: 800; font-size: .9rem; color: #fff; flex: none; }
.res.W { background: var(--win); } .res.D { background: var(--draw); } .res.L { background: var(--loss); }
.form-row { display: flex; gap: 5px; }

/* ---------- sections ---------- */
section { padding-block: clamp(48px, 7vw, 88px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-top: 6px; }
.dark { background: var(--ink); color: #fff; }
.red-band { background: var(--red-deep); color: #fff; }

/* stat tiles */
.glance { position: relative; z-index: 3; padding: 28px 0 0; }
.glance-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.glance-tile { padding: 20px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.glance-tile:last-child { border-right: 0; }
.glance-tile .label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.glance-tile .value { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; display: flex; align-items: baseline; gap: 2px; }
.glance-tile .value sup { font-size: .45em; color: var(--red); }
.glance-tile .sub { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glance-tile .player-mini { display: flex; align-items: center; gap: 12px; }
.glance-tile .player-mini img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--red-deep); }
@media (max-width: 860px) {
  .glance-grid { grid-template-columns: 1fr 1fr; }
  .glance-tile:nth-child(2) { border-right: 0; }
  .glance-tile:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- home: news + table ---------- */
.news-table { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 1000px) { .news-table { grid-template-columns: 1fr; } }

.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.news-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-card .thumb { aspect-ratio: 16/10; background: var(--red-deep) url('../img/site/crest.webp') center / auto 55% no-repeat; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .thumb img { transform: scale(1.04); }
.news-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card h3 { font-size: 1.45rem; line-height: 1.02; }
.news-card p { margin: 0; color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; gap: 10px; align-items: center; font-size: .75rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: auto; }
.tag { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: rgba(200, 16, 46, .1); color: var(--red); }
.tag.ladies { background: rgba(29, 53, 97, .1); color: var(--navy); }
.tag.club { background: rgba(216, 182, 76, .2); color: #7a6214; }
.news-card.feature { grid-column: 1 / -1; flex-direction: row; }
.news-card.feature .thumb { flex: 1.3; aspect-ratio: auto; min-height: 300px; }
.news-card.feature .body { flex: 1; padding: 28px; justify-content: center; }
.news-card.feature h3 { font-size: 2.2rem; }
.news-card.feature p { -webkit-line-clamp: 4; }
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card.feature { flex-direction: column; }
  .news-card.feature .thumb { min-height: 0; aspect-ratio: 16/10; }
  .news-card.feature h3 { font-size: 1.7rem; }
}

/* league table */
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ink); color: #fff; }
.panel-head h3 { font-size: 1.35rem; }
.panel-head small { display: block; font-family: var(--body); text-transform: none; font-weight: 500; font-size: .72rem; letter-spacing: 0; opacity: .6; margin-top: 4px; }
.seg { display: inline-flex; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; padding: 5px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.seg.light { background: rgba(20, 10, 11, .06); }
.seg.light button { color: var(--muted); }
.seg.light button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.league { width: 100%; border-collapse: collapse; font-size: .86rem; }
.league th { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 10px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.league td { padding: 9px 6px; text-align: center; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.league th:nth-child(2), .league td:nth-child(2) { text-align: left; }
.league td:first-child { width: 34px; font-weight: 700; color: var(--muted); position: relative; }
.league .club { display: flex; align-items: center; gap: 9px; font-weight: 600; white-space: nowrap; }
.league .club img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.league .club span { overflow: hidden; text-overflow: ellipsis; }
.league td.pts { font-weight: 800; font-family: var(--display); font-size: 1.05rem; }
.league tr.us td { background: rgba(200, 16, 46, .08); }
.league tr.us td:first-child { color: var(--red); }
.league tr.us .club { color: var(--red); font-weight: 800; }
.league tr.zone-promo td:first-child { box-shadow: inset 3px 0 0 var(--win); }
.league tr.zone-playoff td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.league tr.zone-relegation td:first-child { box-shadow: inset 3px 0 0 var(--loss); }
.league tr.gap td { padding: 2px; font-size: .7rem; color: var(--muted); letter-spacing: .3em; }
.league .hide-sm { }
@media (max-width: 520px) { .league .hide-sm { display: none; } }
.table-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; font-size: .75rem; color: var(--muted); gap: 12px; flex-wrap: wrap; }
.legend { display: flex; gap: 12px; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: 0; }

/* ---------- #OneClub split ---------- */
.oneclub { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.team-panel { position: relative; border-radius: 20px; overflow: hidden; color: #fff; padding: 28px; min-height: 340px; display: flex; flex-direction: column; isolation: isolate; }
.team-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(135, 14, 16, .92), rgba(20, 10, 11, .96)); }
.team-panel.ladies::before { background: linear-gradient(160deg, rgba(29, 53, 97, .94), rgba(20, 10, 11, .96)); }
.team-panel .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.team-panel h3 { font-size: 2.4rem; margin: 6px 0 18px; }
.team-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.team-stats div { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px; }
.team-stats b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.team-stats span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.team-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.team-line .k { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.team-panel .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 800px) { .oneclub { grid-template-columns: 1fr; } }

/* ---------- leaders ---------- */
.leaders { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .leaders { grid-template-columns: 1fr; } }
.leader-hero { position: relative; border-radius: 20px; overflow: hidden; background: var(--red-deep); color: #fff; min-height: 420px; display: flex; text-decoration: none; }
.leader-hero img { position: absolute; right: -4%; bottom: 0; height: 100%; width: auto; max-width: none; object-fit: contain; }
.leader-hero .info { position: relative; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(90deg, rgba(135, 14, 16, 1) 35%, rgba(135, 14, 16, 0)); width: 70%; }
.leader-hero .big { font-family: var(--display); font-weight: 800; font-size: 7rem; line-height: .8; color: var(--gold); }
.leader-hero h3 { font-size: 2.6rem; margin-top: 12px; }
.leader-hero h3 small { display: block; font-size: .5em; opacity: .75; letter-spacing: .06em; }
.leader-list { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 8px 8px 12px; display: flex; flex-direction: column; }
.leader-list .seg { margin: 12px 12px 8px; align-self: flex-start; }
.leader-row { display: grid; grid-template-columns: 26px 44px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; }
.leader-row:hover { background: var(--paper); }
.leader-row .rank { font-family: var(--display); font-weight: 800; color: var(--muted); font-size: 1.1rem; text-align: center; }
.leader-row img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--red-deep); }
.leader-row .nm { font-weight: 700; line-height: 1.2; }
.leader-row .nm small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.leader-row .val { font-family: var(--display); font-weight: 800; font-size: 1.7rem; }
.bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--red); border-radius: 4px; }

/* season in numbers */
.numbers { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; }
@media (max-width: 900px) { .numbers { grid-template-columns: 1fr; } }
.wdl { display: flex; height: 44px; border-radius: 10px; overflow: hidden; margin: 14px 0 10px; }
.wdl div { display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: #fff; min-width: 34px; }
.split-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.split-grid div { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 14px; }
.split-grid b { font-family: var(--display); font-size: 2rem; font-weight: 800; display: block; line-height: 1; }
.split-grid span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.goal-chart { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 190px; margin-top: 18px; }
.goal-chart .col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 3px; }
.goal-chart .bars { display: flex; gap: 4px; align-items: flex-end; height: 100%; width: 100%; justify-content: center; }
.goal-chart .bars i { display: block; width: min(22px, 40%); border-radius: 4px 4px 0 0; position: relative; }
.goal-chart .bars i.for { background: var(--gold); }
.goal-chart .bars i.against { background: rgba(255, 255, 255, .28); }
.goal-chart .bars i b { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: .72rem; font-weight: 700; }
.goal-chart .lbl { font-size: .7rem; opacity: .6; margin-top: 6px; font-variant-numeric: tabular-nums; }
.chart-legend { display: flex; gap: 16px; font-size: .78rem; opacity: .8; }
.chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }

/* squad strip */
.squad-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 240px); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.squad-strip > * { scroll-snap-align: start; }

/* ---------- player card ---------- */
.p-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--red-deep); color: #fff; text-decoration: none; display: block; aspect-ratio: 3/4; border: 0; padding: 0; text-align: left; width: 100%; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.p-card img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.p-card:hover img.photo { transform: scale(1.04); }
.p-card img.photo.placeholder { object-fit: contain; object-position: center 30%; padding: 18% 22% 30%; opacity: .35; }
.p-card::after { content: ''; position: absolute; inset: 30% 0 0; background: linear-gradient(0deg, rgba(20, 6, 8, .97) 22%, rgba(20, 6, 8, .6) 55%, rgba(20, 6, 8, 0)); }
.p-card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; z-index: 1; }
.p-card .pos { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.p-card .first { display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; line-height: 1; margin-top: 4px; opacity: .9; }
.p-card .last { display: block; font-family: var(--display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; line-height: .95; }
.p-card .mini { display: flex; gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .72rem; opacity: .9; }
.p-card .mini b { font-family: var(--display); font-size: 1.15rem; margin-right: 3px; }
.p-card .corner { position: absolute; top: 12px; left: 12px; z-index: 1; display: flex; gap: 6px; flex-wrap: wrap; }
.p-card .corner .chip { background: rgba(20, 6, 8, .55); backdrop-filter: blur(6px); font-size: .62rem; }
.p-card .corner .chip.gold { background: var(--gold); }

/* ---------- sponsorship ---------- */
.packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .packages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .packages { grid-template-columns: 1fr; } }
.package { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.package.highlight { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.package h3 { font-size: 1.5rem; }
.package .price { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.package .price small { font-size: .38em; font-weight: 600; letter-spacing: .06em; opacity: .75; margin-left: 4px; }
.package ul { margin: 4px 0 0; padding: 0; list-style: none; font-size: .88rem; display: grid; gap: 6px; opacity: .88; }
.package li::before { content: '✓'; margin-right: 8px; font-weight: 800; color: var(--gold); }
.package.highlight li::before { color: var(--red); }
.package .btn { margin-top: auto; align-self: flex-start; }

.sponsor-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.sponsor-wall a, .sponsor-wall div { background: #fff; border-radius: 12px; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow); }
.sponsor-wall img { width: 100%; height: 100%; object-fit: cover; }
.principal { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; background: var(--card); border-radius: 20px; padding: 26px 30px; box-shadow: var(--shadow); margin-bottom: 20px; }
.principal img { height: 64px; width: auto; }

/* ---------- heritage ---------- */
.heritage { position: relative; overflow: hidden; }
.heritage .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 6vw, 80px); align-items: center; }
.heritage .year { font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 18vw, 15rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--gold); }
.heritage h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); margin: 10px 0 16px; }
.heritage p { color: rgba(255, 255, 255, .8); max-width: 60ch; }
@media (max-width: 760px) { .heritage .wrap { grid-template-columns: 1fr; } }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.visit .map { border-radius: 20px; overflow: hidden; min-height: 320px; background: url('../img/site/ground.webp') center / cover; position: relative; }
.visit .map span { position: absolute; left: 16px; bottom: 16px; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.prices div { background: var(--card); border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.prices b { font-family: var(--display); font-size: 2rem; font-weight: 800; display: block; line-height: 1; }
.prices span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts { display: grid; gap: 10px; font-size: .92rem; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.facts dt, .facts .k { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 56px 0 28px; font-size: .9rem; }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { font-family: var(--display); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .crest-line { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.site-footer .crest-line img { height: 64px; }
.site-footer .crest-line b { font-family: var(--display); font-size: 1.6rem; color: #fff; text-transform: uppercase; display: block; line-height: 1; }
.site-footer .bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .78rem; }
.site-footer .social { display: flex; gap: 10px; margin-top: 16px; }
.site-footer .social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.site-footer .social a:hover { background: var(--red); }
.site-footer .social svg { width: 16px; height: 16px; fill: #fff; }
@media (max-width: 860px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }

/* ---------- page header (inner pages) ---------- */
.page-hero { background: var(--red-deep); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 80% 20%, rgba(200, 16, 46, .7), transparent 60%), linear-gradient(0deg, rgba(20, 6, 8, .6), transparent); }
.page-hero .crest-bg { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); height: 140%; opacity: .08; z-index: -1; }
.page-hero .wrap { padding-block: clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); margin: 10px 0 14px; }
.page-hero .facts-row { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.page-hero .facts-row b { color: #fff; font-family: var(--display); font-size: 1.3rem; margin-right: 4px; }

/* ---------- squad page ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 28px; position: sticky; top: calc(var(--header-h) + 3px); z-index: 10; background: var(--paper); padding: 12px 0; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { border: 0; background: var(--card); padding: 8px 16px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--line); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.filters button .count { opacity: .5; margin-left: 4px; }
.select { border: 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 9px 36px 9px 16px; font: inherit; font-size: .88rem; font-weight: 600; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23140a0b' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.pos-group { margin-bottom: 44px; }
.pos-group h2 { font-size: 2rem; display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.pos-group h2 small { font-size: .9rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; }
.squad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
@media (max-width: 520px) { .squad-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .p-card .last { font-size: 1.45rem; } .p-card .meta { padding: 12px; } .p-card .mini { gap: 8px; } }

.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.staff-card { background: var(--card); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); border-left: 4px solid var(--red); }
.staff-card b { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; display: block; line-height: 1; }
.staff-card span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.stats-table-wrap { overflow-x: auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.stats-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.stats-table th { position: sticky; top: 0; background: var(--ink); color: #fff; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 12px 10px; text-align: center; font-weight: 700; }
.stats-table th button { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.stats-table th button[aria-sort]::after { content: ' ↓'; color: var(--gold); }
.stats-table th:first-child, .stats-table td:first-child { text-align: left; }
.stats-table td { padding: 10px; text-align: center; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.stats-table tr:hover td { background: var(--paper); cursor: pointer; }
.stats-table .who { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.stats-table .who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--red-deep); }
.stats-table .who small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.stats-table td.hl { font-weight: 800; color: var(--red); }

/* ---------- player profile (modal) ---------- */
.profile { position: fixed; inset: 0; z-index: 100; display: none; }
.profile.open { display: block; }
.profile-backdrop { position: absolute; inset: 0; background: rgba(20, 6, 8, .72); backdrop-filter: blur(4px); animation: fade .2s ease; }
.profile-sheet {
  position: absolute; inset: 24px; max-width: 1180px; margin: 0 auto; background: var(--paper); border-radius: 22px; overflow: hidden;
  display: grid; grid-template-columns: minmax(300px, 420px) 1fr; box-shadow: var(--shadow-lg); animation: rise .28s cubic-bezier(.2, .9, .3, 1.1);
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.profile-visual { position: relative; background: var(--red-deep); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.profile-visual img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile-visual img.photo.placeholder { object-fit: contain; padding: 15% 20% 40%; opacity: .3; }
.profile-visual::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgba(20, 6, 8, .96) 10%, transparent); }
.profile-visual .ghost-name { position: absolute; top: 18px; left: -6px; font-family: var(--display); font-weight: 800; font-size: 7.5rem; line-height: .8; text-transform: uppercase; color: rgba(255, 255, 255, .06); white-space: nowrap; pointer-events: none; }
.profile-visual .id { position: relative; z-index: 1; padding: 26px; }
.profile-visual .pos { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.profile-visual h2 { font-size: clamp(2.6rem, 4.6vw, 3.8rem); margin-top: 8px; }
.profile-visual h2 small { display: block; font-size: .45em; font-weight: 600; opacity: .85; }
.profile-visual .sponsor-tag { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: .82rem; padding: 10px 14px; background: rgba(255, 255, 255, .1); border-radius: 12px; backdrop-filter: blur(6px); }
.profile-visual .sponsor-tag b { color: var(--gold); }

.profile-body { overflow-y: auto; padding: 28px clamp(20px, 3vw, 36px) 36px; overscroll-behavior: contain; }
.profile-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 22px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: inline-grid; place-items: center; flex: none; }
.icon-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.profile-nav { display: flex; gap: 8px; }
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 26px; }
.stat-tile { background: var(--card); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.stat-tile b { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; display: block; }
.stat-tile span { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat-tile small { display: block; font-size: .75rem; color: var(--muted); margin-top: 4px; }
.stat-tile.accent { background: var(--red); color: #fff; }
.stat-tile.accent span, .stat-tile.accent small { color: rgba(255, 255, 255, .8); }
@media (max-width: 700px) { .stat-tiles { grid-template-columns: 1fr 1fr; } }
.profile h4 { font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 12px; }
.contrib { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; margin-bottom: 26px; }
.spark { display: flex; gap: 4px; align-items: flex-end; height: 70px; }
.spark div { flex: 1; display: flex; flex-direction: column-reverse; gap: 2px; height: 100%; justify-content: flex-start; position: relative; }
.spark .base { height: 6px; border-radius: 3px; background: var(--line); }
.spark .base.played { background: #cbbfb4; }
.spark .base.sub { background: repeating-linear-gradient(45deg, #cbbfb4 0 3px, var(--line) 3px 6px); }
.spark .g { height: 16px; border-radius: 3px; background: var(--red); }
.spark .m { height: 16px; border-radius: 3px; background: var(--gold); }
.spark-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .72rem; color: var(--muted); margin-top: 10px; }
.spark-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.log { width: 100%; border-collapse: collapse; font-size: .86rem; background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.log th { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.log td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.log th:nth-child(2), .log td:nth-child(2) { text-align: left; }
.log tr:last-child td { border-bottom: 0; }
.log .opp { font-weight: 600; }
.log .opp small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.card-y, .card-r { display: inline-block; width: 11px; height: 15px; border-radius: 2px; background: #f2c200; vertical-align: -2px; }
.card-r { background: var(--red); }
.comp-list { display: grid; gap: 8px; margin-bottom: 26px; }
.comp-list div { display: flex; justify-content: space-between; background: var(--card); border-radius: 10px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .9rem; }
.sponsor-cta { margin-top: 26px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 20px 22px; border-radius: 16px; background: var(--ink); color: #fff; }
.sponsor-cta b { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; display: block; line-height: 1; }
.sponsor-cta p { margin: 6px 0 0; font-size: .85rem; opacity: .75; }
.source-note { font-size: .74rem; color: var(--muted); margin-top: 20px; }

@media (max-width: 860px) {
  .profile-sheet { inset: 0; border-radius: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; overflow-y: auto; }
  .profile-visual { min-height: 62vh; }
  .profile-body { overflow: visible; }
  .profile-close-float { position: fixed; top: 14px; right: 14px; z-index: 3; }
}
@media (min-width: 861px) { .profile-close-float { display: none; } }

/* ---------- news list / article ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .news-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-list { grid-template-columns: 1fr; } }
.article-hero { background: var(--ink); color: #fff; }
.article-hero .wrap { max-width: 860px; padding-block: 48px 36px; }
.article-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 14px 0; }
.article-image { max-width: 1000px; margin: -1px auto 0; }
.article-image img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 0 0 20px 20px; }
.prose { max-width: 720px; margin: 0 auto; padding: 40px var(--gutter) 64px; font-size: 1.08rem; line-height: 1.75; }
.prose h2 { font-size: 2rem; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.5rem; margin: 1.4em 0 .4em; }
.prose p:first-child { font-size: 1.22rem; font-weight: 500; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--red); font-family: var(--display); font-size: 1.6rem; line-height: 1.15; text-transform: uppercase; }
.prose img { border-radius: 12px; margin: 1.5em 0; }
.prose a { color: var(--red); }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 400; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--red); border-color: transparent; }
.form .hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: 10px; font-size: .92rem; }
.notice.ok { background: rgba(31, 138, 76, .12); color: #145c33; }
.notice.err { background: rgba(200, 16, 46, .1); color: var(--red-600); }

/* skeleton */
.skel { background: linear-gradient(90deg, #ece6df 25%, #f5f0ea 50%, #ece6df 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { padding: 32px; text-align: center; color: var(--muted); background: var(--card); border-radius: var(--radius); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
[hidden] { display: none !important; }

/* ---------- small-screen overflow guards ---------- */
.site-footer .grid > *, .enquire > *, .visit > *, .numbers > *, .leaders > *, .news-table > * { min-width: 0; }
.site-footer li, .facts span { overflow-wrap: anywhere; }
.form input, .form select, .form textarea { width: 100%; min-width: 0; }
@media (max-width: 560px) {
  .site-footer .grid { grid-template-columns: 1fr; gap: 28px; }
  .split-grid, .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split-grid b, .prices b { font-size: 1.6rem; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .team-panel { padding: 22px; }
  .team-line { flex-direction: column; align-items: flex-start; gap: 6px; }
  .leader-hero { min-height: 360px; }
  .leader-hero .info { width: 85%; padding: 22px; }
  .leader-hero .big { font-size: 5rem; }
  .fixture-team img { width: 56px; height: 56px; }
  .fixture-team .name { font-size: 1.05rem; }
  .countdown b { font-size: 1.6rem; }
  .match-card { padding: 18px; }
  .glance-tile { padding: 16px; }
  .glance-tile .value { font-size: 2.1rem; }
  .section-head h2 { font-size: 2.2rem; }
  .profile-visual { min-height: 70vh; }
}
html, body { overflow-x: clip; }
.profile-sheet > * { min-width: 0; }

/* ---------- two-team hero, badges, team tags ---------- */
.match-stack { display: grid; gap: 14px; }
.match-card.compact { padding: 16px 18px; }
.match-card.compact .match-card-head { margin-bottom: 12px; }
.match-card.compact.ladies { border-color: rgba(120, 150, 210, .35); }
.match-card.compact.soonest { border-color: rgba(216, 182, 76, .55); }
.match-card.compact .fixture-team img, .match-card.compact .fixture-team .initials { width: 48px; height: 48px; margin: 0 auto 6px; }
.match-card.compact .fixture-team .name { font-size: 1.02rem; }
.match-card.compact .fixture-vs { font-size: .95rem; padding: 6px 9px; }
.match-card.compact .fixture-meta { margin: 10px 0 12px; font-size: .8rem; }
.countdown-row { display: flex; gap: 8px; align-items: stretch; }
.countdown-row .countdown { flex: 1; gap: 6px; }
.match-card.compact .countdown div { padding: 7px 2px 5px; }
.match-card.compact .countdown b { font-size: 1.45rem; }
.match-card.compact .countdown span { font-size: .58rem; }
.icon-cal { flex: none; width: 52px; border: 0; border-radius: 10px; background: var(--gold); color: var(--ink); display: grid; place-items: center; }
.icon-cal:hover { background: #e6c763; }
.icon-cal svg { width: 22px; height: 22px; }
.initials { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(145deg, #f3efe9, #d9d0c5); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6), 0 6px 10px rgba(0, 0, 0, .3); flex: none; }
.initials.sm, img.sm { width: 22px !important; height: 22px !important; font-size: .55rem; box-shadow: none; object-fit: contain; }
.initials.xs, img.xs { width: 22px; height: 22px; font-size: .55rem; box-shadow: none; }
.league .club .initials.xs { background: #efe9e2; }
.team-tag { font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 6px; border-radius: 4px; background: rgba(200, 16, 46, .9); color: #fff; }
.team-tag.ladies { background: #3a5da8; }
.form-line { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.form-line small { width: 46px; font-size: .7rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.scorer-line { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-top: 6px; min-width: 0; }
.scorer-line img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--red-deep); flex: none; }
.scorer-line .num { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; min-width: 1.1em; }
.scorer-line span:last-child { display: grid; font-size: .82rem; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.scorer-line small { font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 600px) {
  .form-line { flex-wrap: wrap; gap: 2px 8px; margin-top: 6px; } .form-line small { width: 100%; }
  .scorer-line { gap: 7px; } .scorer-line img { width: 28px; height: 28px; } .scorer-line .num { font-size: 1.35rem; }
  .scorer-line span:last-child { white-space: normal; line-height: 1.15; }
}
.form-line .res { width: 20px; height: 20px; font-size: .78rem; }
.leader-hero.ladies img { right: 0; }
@media (max-width: 560px) {
  .match-card.compact .fixture-team img, .match-card.compact .fixture-team .initials { width: 40px; height: 40px; }
  .match-card.compact .countdown b { font-size: 1.2rem; }
  .icon-cal { width: 44px; }
}
.cmp { display: grid; gap: 10px; }
.cmp-row { display: grid; grid-template-columns: 100px 1fr 32px; align-items: center; gap: 12px; font-size: .85rem; font-weight: 600; }
.cmp-row .bar { height: 10px; margin: 0; }
.cmp-row b { font-family: var(--display); font-size: 1.3rem; text-align: right; }
.page-hero.ladies-hero { background: #243a6b; }
.page-hero.ladies-hero::before { background: radial-gradient(ellipse at 80% 20%, rgba(80, 120, 200, .6), transparent 60%), linear-gradient(0deg, rgba(10, 16, 35, .6), transparent); }
.squad-row + .squad-row { margin-top: 36px; }
.squad-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.squad-row-head h3 { font-size: 1.6rem; }

/* ---------- policies ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .7); }
.crumbs a { text-decoration: none; color: var(--gold); }
.crumbs a:hover { text-decoration: underline; }
.policies-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.policies-layout.index { grid-template-columns: minmax(0, 1fr) 320px; }
.policy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.policy-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--red); transition: transform .2s, box-shadow .2s; }
.policy-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.policy-card h2 { font-size: 1.5rem; }
.policy-card p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.policy-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.policy-nav ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.policy-nav a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink); }
.policy-nav a:hover { background: var(--card); }
.policy-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.policy-body { padding: 0; max-width: none; margin: 0; font-size: 1rem; line-height: 1.7; }
.policy-body p:first-child { font-size: inherit; font-weight: inherit; }
.policy-body .policy-meta { font-size: .78rem !important; letter-spacing: .08em; text-transform: uppercase; font-weight: 700 !important; color: var(--muted); }
.policy-body h3, .policy-body h4 { margin: 1.4em 0 .4em; }
.policy-body ul, .policy-body ol { padding-left: 1.3em; }
.policy-body li { margin: .3em 0; }
.policy-actions { margin-top: 2em; }
.welfare-box { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; position: sticky; top: calc(var(--header-h) + 24px); }
.welfare-box h3 { font-size: 1.5rem; margin: 6px 0 10px; }
.welfare-box p { margin: 0 0 10px; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.welfare-box a { color: var(--gold); font-weight: 700; overflow-wrap: anywhere; }
.welfare-box .small { font-size: .8rem; opacity: .8; }
@media (max-width: 1100px) { .policies-layout { grid-template-columns: 220px minmax(0, 1fr); } .policies-layout > .welfare-box { grid-column: 1 / -1; position: static; } }
@media (max-width: 760px) {
  .policies-layout, .policies-layout.index { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .policy-nav { position: static; order: 3; }
  .welfare-box { position: static; }
}
@media print {
  .topbar, .site-header, .site-footer, .policy-nav, .welfare-box, .policy-actions, .crest-bg { display: none !important; }
  .page-hero { background: none !important; color: #000; } .page-hero::before { display: none; }
  .policies-layout { display: block; }
}
.site-footer .grid { grid-template-columns: 1.3fr repeat(4, 1fr); }
@media (max-width: 1100px) { .site-footer .grid { grid-template-columns: 1fr 1fr 1fr; } .site-footer .grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .grid { grid-template-columns: 1fr; } }

/* ---------- venue hire ---------- */
.venue-hero { position: relative; color: #fff; background: var(--ink) center / cover no-repeat; isolation: isolate; padding: 0; }
.venue-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 6, 8, .92), rgba(20, 6, 8, .55) 55%, rgba(20, 6, 8, .2)), linear-gradient(0deg, rgba(20, 6, 8, .7), transparent 50%); }
.venue-hero .wrap { padding-block: clamp(70px, 11vw, 150px) clamp(50px, 7vw, 90px); }
.venue-hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); margin: 12px 0 14px; }
.venue-hero .lede { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46ch; color: rgba(255, 255, 255, .88); margin: 0 0 26px; }
.venue-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.venue-intro h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin: 6px 0 16px; }
.venue-intro p { font-size: 1.06rem; line-height: 1.7; margin: 0 0 14px; }
.perfect-for { background: var(--red-deep); color: #fff; border-radius: 20px; padding: 26px; }
.perfect-for ul { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 10px; }
.perfect-for li { font-weight: 600; display: flex; gap: 10px; align-items: center; }
.perfect-for li::before { content: '✓'; color: var(--gold); font-weight: 800; }
.venue-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.venue-feature { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.venue-feature b { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; display: block; line-height: 1.05; }
.venue-feature p { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.venue-gallery { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
.venue-gallery a { border-radius: var(--radius); overflow: hidden; display: block; }
.venue-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.venue-gallery a:hover img { transform: scale(1.04); }
.venue-gallery .big { grid-column: span 2; grid-row: span 2; }
.venue-gallery.g2 { grid-template-columns: 1.4fr 1fr; grid-auto-rows: 340px; }
.venue-gallery.g2 .big { grid-column: auto; grid-row: auto; }
.venue-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.venue-section { background: var(--card); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.venue-section h2 { font-size: 2rem; margin-bottom: 8px; }
.checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.checks legend { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form .check { display: flex; flex-direction: row; align-items: center; gap: 8px; font-size: .92rem; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 500; }
.form .check input { width: 18px; height: 18px; accent-color: var(--red); }
.other-venue { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); text-decoration: none; max-width: 360px; }
.other-venue img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; }
.other-venue span { font-family: var(--display); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; }
.other-venue small { display: block; font-family: var(--body); font-size: .7rem; letter-spacing: .1em; color: var(--gold); font-weight: 700; }
@media (max-width: 900px) { .venue-intro { grid-template-columns: 1fr; } .venue-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .venue-features { grid-template-columns: 1fr; }
  .venue-gallery, .venue-gallery.g2 { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .venue-gallery .big { grid-column: auto; grid-row: auto; }
}
@media (min-width: 1181px) and (max-width: 1340px) { .nav a { padding: 8px 9px; font-size: .95rem; } .brand-name { font-size: 1.4rem; } }
.squad-row-head h3 small { font-family: var(--body); font-size: .8rem; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--muted); margin-left: 10px; }
.venue-gallery.g4 { grid-template-columns: 1.6fr 1fr 1fr; grid-auto-rows: 220px; }
.venue-gallery.g4 .big { grid-column: auto; grid-row: span 2; }
.venue-gallery.g4 a:nth-child(2) { grid-column: span 2; }
.enquire { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .enquire { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 600px) { .venue-gallery.g4 { grid-template-columns: 1fr; } .venue-gallery.g4 .big, .venue-gallery.g4 a:nth-child(2) { grid-row: auto; grid-column: auto; } }
.site-footer .staff-login { color: var(--gold); white-space: nowrap; }

/* ---------- Fixtures dropdown in the main nav ---------- */
.nav-drop { position: relative; }
.nav-drop > button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: inherit; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; opacity: .92; }
.nav-drop > button:hover, .nav-drop.open > button { background: rgba(255, 255, 255, .12); opacity: 1; }
.nav-drop > button[aria-current="page"] { background: rgba(0, 0, 0, .22); opacity: 1; }
.nav-drop > button svg { transition: transform .15s; }
.nav-drop.open > button svg { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -4px); min-width: 250px; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; pointer-events: none; transition: .15s ease; z-index: 60; }
.nav-drop.open .nav-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.nav .nav-menu a { display: block; padding: 10px 14px; border-radius: 10px; text-transform: none; letter-spacing: 0; opacity: 1; }
.nav .nav-menu a:hover, .nav .nav-menu a[aria-current="page"] { background: var(--paper); }
.nav-menu a b { display: block; font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; color: var(--red); }
.nav-menu a span { display: block; font-family: var(--body); font-size: .78rem; font-weight: 500; color: var(--muted); }
@media (max-width: 1180px) {
  .nav-drop > button { width: 100%; justify-content: space-between; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1.2rem; }
  .nav-drop > button:hover, .nav-drop.open > button { background: none; }
  .nav-menu { position: static; transform: none; min-width: 0; background: rgba(0, 0, 0, .2); box-shadow: none; padding: 0; display: none; opacity: 1; pointer-events: auto; border-radius: 0; }
  .nav-drop.open .nav-menu { display: block; transform: none; }
  .nav .nav-menu a { padding: 12px 16px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav .nav-menu a:hover, .nav .nav-menu a[aria-current="page"] { background: rgba(255, 255, 255, .06); }
  .nav-menu a b { color: #fff; font-size: 1.1rem; }
  .nav-menu a span { color: rgba(255, 255, 255, .6); }
}

/* ---------- Fixtures & results pages ---------- */
.fx-teams { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 20px; }
.fx-teams a { text-decoration: none; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; padding: 8px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.fx-teams a[aria-current] { background: var(--gold); color: var(--ink); box-shadow: none; }
.fx-next { max-width: 640px; margin: 0 auto 28px; background: linear-gradient(150deg, var(--ink) 0%, var(--red-deep) 100%); color: #fff; }
.fx-month { font-size: 1.5rem; margin: 26px 0 10px; color: var(--red); }
.fx-group { display: grid; gap: 10px; }
.fx-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; background: var(--card); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); }
.fx-date { text-align: center; border-right: 1px solid var(--line); padding-right: 14px; }
.fx-date b { display: block; font-family: var(--display); font-size: 2.1rem; line-height: 1; font-weight: 800; }
.fx-date span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.fx-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.fx-comp { font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.fx-ha { font-weight: 800; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--paper); }
.fx-ha.H { background: var(--red); color: #fff; }
.fx-match { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.fx-side { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 700; }
.fx-side span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-side.home { justify-content: flex-end; text-align: right; }
.fx-side.home .fx-crest { order: 2; }
.fx-side.us span { color: var(--red); }
.fx-crest { width: 34px; height: 34px; object-fit: contain; flex: none; }
.fx-crest.initials { width: 34px; height: 34px; font-size: .7rem; box-shadow: none; }
.fx-mid { display: grid; justify-items: center; gap: 3px; min-width: 84px; }
.fx-score { display: flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; border-radius: 8px; padding: 4px 12px; font-family: var(--display); font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.fx-score i { font-style: normal; opacity: .5; }
.fx-ko { font-family: var(--display); font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.fx-res { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fx-res.W { color: var(--win); } .fx-res.D { color: var(--draw); } .fx-res.L { color: var(--loss); }
.fx-scorers { margin-top: 8px; font-size: .78rem; color: var(--muted); text-align: center; }
.fx-cal { border: 0; background: var(--paper); border-radius: 10px; width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.fx-cal:hover { background: var(--gold-soft); }
.fx-cal svg { width: 20px; height: 20px; }
.fx-source { margin: 24px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
@media (max-width: 640px) {
  .fx-row { grid-template-columns: 1fr; gap: 10px; padding: 12px 14px; }
  .fx-date { display: flex; gap: 8px; align-items: baseline; border: 0; padding: 0; text-align: left; }
  .fx-date b { font-size: 1.4rem; }
  .fx-match { grid-template-columns: 1fr; gap: 6px; }
  .fx-side, .fx-side.home { justify-content: flex-start; text-align: left; }
  .fx-side.home .fx-crest { order: 0; }
  .fx-mid { justify-items: start; justify-content: start; grid-auto-flow: column; align-items: center; gap: 10px; }
  .fx-scorers { text-align: left; }
  .fx-cal { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; }
  .fx-row { position: relative; }
}
.res { white-space: nowrap; }

/* Ladies: what the Full-Time stats cover */
.stats-note { margin: 0 0 18px; padding: 10px 14px; border-left: 3px solid var(--red, #c8102e); border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: .84rem; line-height: 1.45; }

/* ---------- venue availability calendar (public/assets/js/availability.js) ---------- */
.avail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .avail { grid-template-columns: 1fr; gap: 20px; } }
.av { background: var(--card); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }
.av-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.av-head h3 { font-size: 1.6rem; margin: 0; }
.av-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.av-nav:disabled { opacity: .3; cursor: default; }
.av-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.av-dow { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; padding-bottom: 4px; }
.av-day { position: relative; aspect-ratio: 1 / .9; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 4px; font: inherit; min-width: 0; }
.av-day b { font-size: .98rem; font-weight: 700; }
.av-day em { position: absolute; top: 2px; right: 4px; font-style: normal; font-size: .7rem; }
.av-day:hover:not(:disabled) { border-color: var(--ink); }
.av-day.free { background: rgba(31, 138, 76, .07); border-color: rgba(31, 138, 76, .3); }
.av-day.part { background: linear-gradient(135deg, rgba(31, 138, 76, .07) 50%, rgba(216, 182, 76, .3) 50%); border-color: rgba(216, 182, 76, .7); }
.av-day.provisional { background: rgba(216, 182, 76, .28); border-color: rgba(216, 182, 76, .8); }
.av-day.booked { background: rgba(200, 16, 46, .1); border-color: rgba(200, 16, 46, .3); color: var(--muted); }
.av-day.booked b { text-decoration: line-through; }
.av-day.past { opacity: .35; cursor: default; background: #faf8f5; }
.av-day.today b { color: var(--red); }
.av-day.sel { outline: 3px solid var(--ink); outline-offset: 1px; }
.av-bars { display: flex; gap: 3px; width: 70%; }
.av-bars i, .av-key i { display: block; flex: 1; height: 5px; border-radius: 3px; }
.av-key i { flex: none; width: 14px; height: 14px; border-radius: 4px; }
i.free { background: var(--win); } i.provisional { background: var(--gold); } i.booked { background: var(--red); }
i.part { background: linear-gradient(135deg, var(--win) 50%, var(--gold) 50%); }
.av-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: .8rem; color: var(--muted); }
.av-key span { display: inline-flex; align-items: center; gap: 6px; }
.av-key-bars { width: 100%; }
.av-detail { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.av-detail h4 { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; margin: 0 0 8px; }
.av-detail p { margin: 0 0 8px; color: var(--muted); }
.av-detail .av-match { color: var(--ink); font-weight: 600; }
.av-slots { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.av-slots li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; }
.av-slots .btn { margin-left: auto; }
.av-detail .pill { display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.av-detail .pill.free { background: rgba(31, 138, 76, .14); color: #145c33; }
.av-detail .pill.provisional { background: rgba(216, 182, 76, .35); color: #6e5610; }
.av-detail .pill.booked { background: rgba(200, 16, 46, .12); color: var(--red-600); }
@media (max-width: 480px) { .av { padding: 14px; } .av-grid { gap: 3px; } .av-day b { font-size: .85rem; } .av-day { border-radius: 8px; } .av-day em { top: 0; right: 2px; font-size: .55rem; } }
.av .btn-sm { padding: 7px 14px; font-size: .82rem; }
.av-table { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: rgba(216, 182, 76, .18); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; color: var(--ink); }
p.av-table { display: block; color: var(--muted); }
.av-table span { display: grid; gap: 2px; }
.av-table small { color: var(--muted); font-size: .78rem; }
#table-form { align-self: start; }
/* hire form: who is sorting the food, music and decor; evening times; the darts room */
.checks.arrangements { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 14px; }
.checks.arrangements legend { text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--ink); }
.evening-note { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fff4d6; color: #5c4a10; font-size: .88rem; line-height: 1.45; }
.darts-promo { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 24px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.darts-promo > span:first-child { display: grid; gap: 4px; }
.darts-promo b { font-family: var(--display); font-size: clamp(1.6rem, 3.5vw, 2.2rem); text-transform: uppercase; line-height: 1; }
.darts-promo small { color: var(--muted); font-size: .9rem; }
.darts-promo:hover .btn { transform: translateY(-1px); }

/* ---------- Player of the Month vote on the home page (public/assets/js/potmonth.js) ---------- */
.pom { padding-bottom: 0; }
.pom-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.pom-card { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; border-top: 5px solid var(--gold); display: grid; gap: 16px; }
.pom-card header h3 { font-size: 1.8rem; margin: 4px 0 6px; }
.pom-card header p { margin: 0; color: var(--muted); }
.pom-players { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.pom-pl { position: relative; display: grid; justify-items: center; gap: 4px; padding: 10px 6px 12px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; font: inherit; color: var(--ink); text-align: center; }
.pom-pl img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--red-deep); }
.pom-pl img.crest { object-fit: contain; padding: 8px; background: var(--paper); }
.pom-pl b { font-size: .88rem; line-height: 1.2; }
.pom-pl small { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pom-pl:hover:not(:disabled) { border-color: var(--ink); }
.pom-pl.on { border-color: var(--red); background: rgba(200, 16, 46, .06); box-shadow: 0 0 0 3px rgba(200, 16, 46, .15); }
.pom-pl.on::after { content: '✓'; position: absolute; top: 6px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.pom-players.done .pom-pl { cursor: default; opacity: .5; }
.pom-players.done .pom-pl.on { opacity: 1; }
.pom-go { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pom-go .btn:disabled { opacity: .5; cursor: default; transform: none; }
.pom-msg { color: var(--red-600); font-size: .9rem; font-weight: 600; }
@media (max-width: 480px) { .pom-card { padding: 16px; } .pom-players { grid-template-columns: repeat(3, 1fr); gap: 8px; } .pom-pl img { width: 58px; height: 58px; } }

/* ---------- "The Salmoner" newsletter sign-up: footer strip and home page pop-up (public/assets/js/anchor.js) ---------- */
.anchor-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 40px; align-items: center; padding: 0 0 36px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.anchor-mark { display: block; font-family: var(--display); font-weight: 800; font-size: 2.2rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; line-height: 1; margin-bottom: 8px; }
.anchor-text span { color: rgba(255, 255, 255, .75); }
.anchor-form { display: grid; gap: 8px; min-width: 0; }
.anchor-row { display: flex; gap: 8px; }
.anchor-row input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.anchor-row input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.anchor-row .btn { flex: none; }
.anchor-form .hp { position: absolute; left: -9999px; }
.anchor-small { margin: 0; font-size: .78rem; opacity: .7; }
.anchor-msg { margin: 0; font-size: .88rem; font-weight: 600; } .anchor-msg:empty { display: none; } .anchor-msg.err { color: #ff8a9a; }
.anchor-done { margin: 0; padding: 14px 16px; border-radius: 12px; background: rgba(31, 138, 76, .15); color: inherit; line-height: 1.5; }
.site-footer .anchor-done { color: #fff; }
@media (max-width: 760px) { .anchor-band { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .anchor-row { flex-direction: column; } .anchor-row .btn { justify-content: center; } }

.anchor-pop-back { position: fixed; inset: 0; z-index: 200; background: rgba(20, 10, 11, .55); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .25s; }
.anchor-pop-back.in { opacity: 1; }
.anchor-pop { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--paper); border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); transform: translateY(16px); transition: transform .25s; }
.anchor-pop-back.in .anchor-pop { transform: none; }
.anchor-pop-head { display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; padding: 22px 24px; border-bottom: 5px solid var(--gold); border-radius: 22px 22px 0 0; }
.anchor-pop-head img { height: 58px; }
.anchor-pop-head h2 { font-size: 2.6rem; letter-spacing: .04em; margin: 2px 0 0; color: #fff; }
.anchor-pop-body { padding: 20px 24px 22px; }
.anchor-lede { margin: 0 0 10px; font-size: 1.05rem; font-weight: 600; }
.anchor-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; color: var(--muted); }
.anchor-pop .anchor-small { color: var(--muted); opacity: 1; }
.anchor-pop .anchor-msg.err { color: var(--red-600); }
.anchor-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.anchor-x:hover { background: rgba(255, 255, 255, .25); }
.anchor-small a { color: inherit; text-decoration: underline; }

/* Team photo at the top of the squad pages */
.team-photo { margin: 24px auto 0; }
.team-photo img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.team-photo figcaption { margin-top: 10px; font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; }
