/* Meridian Football: one stylesheet for every page. Light and dark follow the
   reader's system setting; heroes and the match viewer are always dark. */
:root {
  --bg: #f3f4f0; --surface: #ffffff; --surface-2: #f8f9f6; --ink: #0d1620; --muted: #5b6672; --faint: #8b95a0;
  --line: #e2e5df; --line-2: #eef0eb; --link: #0b7a52; --accent: #0f9d68; --gold: #c99a06; --gold-bg: #fff6d6;
  --q: #2b6fe0; --q-bg: #e9f1ff; --shadow: 0 1px 2px rgba(13, 22, 32, .05), 0 4px 16px rgba(13, 22, 32, .05);
  --navy: #08121f; --navy-2: #0f1f33; --lime: #d4ff3a;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070c13; --surface: #0f161f; --surface-2: #131c27; --ink: #e8edf2; --muted: #95a1ad; --faint: #6b7784;
    --line: #1d2733; --line-2: #17202a; --link: #5fe0a8; --accent: #3fd18f; --gold: #f2c94c; --gold-bg: #2a230b;
    --q: #6ea2ff; --q-bg: #111f38; --shadow: 0 1px 2px rgba(0, 0, 0, .4); color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(8, 18, 31, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font: 700 21px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand span b { color: var(--lime); font-weight: 700; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: #b8c3cf; padding: 8px 12px; border-radius: 8px; font-weight: 550; font-size: 14px; white-space: nowrap; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); text-decoration: none; }
.nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .1); }
.comps { background: var(--navy-2); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.comps .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.comps .wrap::-webkit-scrollbar { display: none; }
.comps a { color: #c9d3dd; font-size: 13px; font-weight: 550; padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.comps a:hover { border-color: rgba(255, 255, 255, .3); color: #fff; text-decoration: none; }
.comps a[aria-current] { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.comps .sep { width: 1px; background: rgba(255, 255, 255, .12); margin: 3px 4px; flex: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.dot.league { background: #4fd69c; } .dot.cup { background: #ffb547; } .dot.continental { background: var(--lime); box-shadow: 0 0 0 2px rgba(212, 255, 58, .25); }
.comps a[aria-current] .dot { background: var(--navy); box-shadow: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background:
  radial-gradient(900px 380px at 85% -10%, rgba(212, 255, 58, .16), transparent 60%),
  radial-gradient(700px 400px at -10% 120%, rgba(63, 209, 143, .18), transparent 60%),
  linear-gradient(180deg, var(--navy-2), var(--navy)); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 80px, transparent 80px 160px); }
.hero .wrap { position: relative; padding-top: 40px; padding-bottom: 40px; }
.hero h1 { font: 700 clamp(36px, 6vw, 64px)/.95 var(--display); letter-spacing: .005em; text-transform: uppercase; margin: 0; text-wrap: balance; }
.hero .sub { color: #c4ced8; font-size: 17px; max-width: 680px; margin: 14px 0 0; }
.hero a { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.eyebrow a { color: var(--lime); }
.hero-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-row > div { min-width: 0; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #e6ecf1; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 500; }
.chip b { color: #fff; }
.chip.gold { background: rgba(242, 201, 76, .14); border-color: rgba(242, 201, 76, .4); color: #ffe7a0; }
.statband { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 32px; background: rgba(255, 255, 255, .1); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); }
.statband div { background: rgba(8, 18, 31, .55); padding: 16px 18px; }
.statband b { display: block; font: 700 34px/1 var(--display); letter-spacing: .01em; }
.statband span { color: #9fb0c0; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.hero.club { background: linear-gradient(100deg, rgba(8, 18, 31, .96) 30%, rgba(8, 18, 31, .7)), linear-gradient(135deg, var(--c1), var(--c2)); }
.hero.club::after { content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 420px; opacity: .18; background: linear-gradient(135deg, var(--c1) 0 50%, var(--c2) 50% 100%); clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); transform: rotate(8deg); }

/* ---------- Season switcher ---------- */
.seasonbar { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.seasonbar .arrow { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: 16px; }
.seasonbar .arrow:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.seasonbar .arrow.off { opacity: .3; pointer-events: none; }
.seasonbar .list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; padding: 2px; }
.seasonbar .list a, .seasonbar .list b { font-size: 13px; padding: 5px 10px; border-radius: 8px; white-space: nowrap; color: #b8c3cf; font-variant-numeric: tabular-nums; }
.seasonbar .list a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; color: #fff; }
.seasonbar .list b { background: #fff; color: var(--navy); }

/* ---------- Layout ---------- */
main { padding: 28px 0 56px; }
.tabs { position: sticky; top: 60px; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.tabs .wrap { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs a { color: var(--muted); font-weight: 600; font-size: 14px; padding: 12px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--ink); text-decoration: none; border-color: var(--line); }
section.block { margin: 0 0 40px; scroll-margin-top: 120px; }
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
h2 { font: 700 26px/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0; }
h3 { font: 700 17px/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 10px; color: var(--muted); }
.more { font-size: 13px; font-weight: 600; white-space: nowrap; }
.more::after { content: " →"; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .cols-2, .cols-3, .split { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card.pad { padding: 18px 20px; }
.card > h3 { padding: 16px 18px 0; }
.empty { color: var(--muted); padding: 18px 20px; margin: 0; }

/* ---------- Crests ---------- */
.crest { display: inline-block; width: 1.05em; height: 1.25em; flex: none; vertical-align: -.25em; filter: drop-shadow(0 0 .6px rgba(0, 0, 0, .55)); }
.crest::before { content: ""; display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--c1, #889) 0 52%, var(--c2, #ccd) 52% 100%); clip-path: polygon(0 0, 100% 0, 100% 64%, 50% 100%, 0 64%); }
.crest.xl { width: 96px; height: 116px; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .45)) drop-shadow(0 0 1px rgba(255, 255, 255, .5)); }
.crest.lg { width: 34px; height: 41px; }
a.club { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 550; min-width: 0; }
a.club > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.club:hover span { color: var(--link); }
.hero a.club:hover span { color: var(--lime); }

/* ---------- Tables ---------- */
.tw { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.table th, .table td { padding: 9px 10px; text-align: right; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 650; padding-top: 12px; padding-bottom: 10px; border-bottom-color: var(--line); }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-2); }
.table th:first-child, .table td:first-child { padding-left: 18px; }
.table th:last-child, .table td:last-child { padding-right: 18px; }
.table .pts { font-weight: 750; color: var(--ink); }
.table td.club-cell { width: 100%; max-width: 0; }
.table td.club-cell a.club { max-width: 100%; }
.l { text-align: left !important; }
.pos { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 7px; font-size: 12px; font-weight: 700; color: var(--muted); }
tr.q .pos { background: var(--q-bg); color: var(--q); }
tr.champ .pos { background: var(--gold); color: #1d1600; }
tr.cut td { border-bottom: 2px dashed var(--line); }
.gd-pos { color: var(--accent); } .gd-neg { color: #d4524f; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); padding: 12px 18px; border-top: 1px solid var(--line-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend .g { background: var(--gold); } .legend .b { background: var(--q); }
.table.compact .x { display: none; }
@media (max-width: 640px) { .table .x { display: none; } .table th, .table td { padding: 8px 6px; } }

/* ---------- Champions ---------- */
.winners { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.winner { position: relative; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.winner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.winner .comp { font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.winner .comp a { color: inherit; }
.winner .who { display: flex; align-items: center; gap: 12px; }
.winner .who a.club { font: 700 22px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.winner .who a.club span { white-space: normal; }
.winner .runner { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.winner .runner a.club { font-weight: 500; }
.winner.feature { grid-column: 1 / -1; background: linear-gradient(110deg, var(--navy) 35%, var(--navy-2)); color: #fff; border-color: transparent; padding: 26px; flex-direction: row; align-items: center; gap: 24px; }
.winner.feature .comp { color: var(--lime); }
.winner.feature .who a.club { font-size: clamp(30px, 4vw, 44px); color: #fff; }
.winner.feature .runner { color: #b8c3cf; }
.winner.feature .runner a.club { color: #fff; }
.winner.feature .trophy { margin-left: auto; font-size: 64px; opacity: .9; filter: drop-shadow(0 6px 20px rgba(242, 201, 76, .35)); }
@media (max-width: 640px) { .winner.feature { flex-direction: column; align-items: flex-start; } .winner.feature .trophy { display: none; } }

.winner .who .crest { width: 30px; height: 36px; }
.winner.feature .who .crest { width: 58px; height: 70px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5)) drop-shadow(0 0 1px rgba(255, 255, 255, .5)); }
.winner .runner .crest { width: 13px; height: 16px; }
.more-note { font-size: 13px; }
@media (max-width: 640px) { .more-note { display: none; } }

/* ---------- Watch in 3D ---------- */
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.reel { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--radius); color: #fff; overflow: hidden; background:
  linear-gradient(180deg, rgba(8, 18, 31, .2), rgba(8, 18, 31, .92)),
  repeating-linear-gradient(90deg, #1b5e3b 0 34px, #1f6a43 34px 68px); }
.reel::after { content: ""; position: absolute; left: 50%; top: -20%; width: 1px; height: 140%; background: rgba(255, 255, 255, .15); }
.reel .meta { position: relative; z-index: 1; font-size: 12px; color: #cfe7d8; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
.reel .rows { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.reel .r { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(8, 18, 31, .55); border-radius: 8px; padding: 7px 10px; }
.reel .r.w b { color: var(--lime); }
.reel a.club { color: #fff; font-weight: 650; font-size: 14px; }
.reel .r b { font: 700 24px/1 var(--display); font-variant-numeric: tabular-nums; }
.reel .play { position: relative; z-index: 1; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: var(--navy); padding: 7px 14px 7px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.reel .play:hover { text-decoration: none; filter: brightness(1.08); }
.reel .play::before { content: ""; width: 0; height: 0; border-left: 9px solid var(--navy); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 4px; }
.watch { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--navy) !important; background: var(--lime); border-radius: 999px; padding: 2px 9px 2px 7px; margin-left: 8px; white-space: nowrap; vertical-align: 1px; }
.watch:hover { text-decoration: none; filter: brightness(1.05); }
.watch::before { content: ""; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }

/* ---------- Fixtures ---------- */
.fixtures { display: flex; flex-direction: column; gap: 10px; }
details.md { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
details.md > summary { list-style: none; cursor: pointer; padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; font-weight: 650; }
details.md > summary::-webkit-details-marker { display: none; }
details.md > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
details.md[open] > summary::after { transform: rotate(-135deg); }
details.md > summary:hover { background: var(--surface-2); }
details.md > summary small { color: var(--faint); font-weight: 500; margin-left: auto; margin-right: 14px; font-size: 12px; }
.fx { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 18px; border-top: 1px solid var(--line-2); }
.fx > :first-child { justify-self: end; }
.fx > :first-child a.club { flex-direction: row-reverse; }
.fx .w a.club { font-weight: 750; }
.fx .s { text-align: center; white-space: nowrap; }
.score { display: inline-block; min-width: 58px; text-align: center; font: 700 16px/1 system-ui, sans-serif; font-variant-numeric: tabular-nums; background: var(--navy); color: #fff !important; padding: 7px 10px; border-radius: 8px; }
.score:hover { text-decoration: none; background: var(--accent); }
.fx .note { display: block; font-size: 11px; color: var(--faint); margin-top: 3px; }
.fx .watch { margin: 5px 0 0; }
@media (max-width: 640px) { .fx { padding: 9px 10px; gap: 8px; font-size: 14px; } .fx a.club { gap: 6px; } .score { min-width: 48px; padding: 6px 7px; } }

/* ---------- Knockout bracket ---------- */
.bracket { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 8px; }
.round { flex: 0 0 250px; display: flex; flex-direction: column; }
.round h3 { margin-bottom: 12px; }
.round .ties { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 10px; }
.tie { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.tie .t { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; font-size: 14px; }
.tie .t + .t { border-top: 1px solid var(--line-2); }
.tie .t b { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.tie .t.w b { color: var(--ink); font-weight: 800; }
.tie .t.w a.club { font-weight: 750; }
.tie .t:not(.w) a.club { color: var(--muted); }
.tie .legs { background: var(--surface-2); border-top: 1px solid var(--line-2); padding: 6px 12px; font-size: 12px; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tie .legs .watch { margin-left: auto; }
.tie.final { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-bg); }

/* ---------- Leaderboards ---------- */
.lb { list-style: none; margin: 0; padding: 4px 0; counter-reset: lb; }
.lb li { counter-increment: lb; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 18px; border-bottom: 1px solid var(--line-2); }
.lb li:last-child { border-bottom: 0; }
.lb li::before { content: counter(lb); font-weight: 700; color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; }
.lb li:nth-child(-n+3)::before { color: var(--gold); }
.lb li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb li > span small { color: var(--faint); margin-left: 6px; }
.lb li > b { font: 700 20px/1 var(--display); font-variant-numeric: tabular-nums; }
.lb li > b small { font: 500 11px system-ui, sans-serif; color: var(--faint); margin-left: 4px; text-transform: uppercase; letter-spacing: .05em; }
.lb li:first-child { background: linear-gradient(90deg, var(--gold-bg), transparent 70%); }
.lb li:first-child > b { font-size: 26px; }

/* ---------- Awards ---------- */
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.award { padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; }
.award .ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--gold-bg); font-size: 20px; }
.award .k { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; }
.award .p { font-weight: 700; font-size: 16px; display: block; margin: 2px 0; }
.award .v { font-size: 13px; color: var(--muted); }

/* ---------- Clubs ---------- */
.clubgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.clubcard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); transition: transform .12s, box-shadow .12s, border-color .12s; }
.clubcard:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); border-color: var(--c1); }
.clubcard b { display: block; font-weight: 650; line-height: 1.25; }
.clubcard small { color: var(--muted); font-size: 12px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin-top: 28px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; overflow: hidden; }
.facts div { background: rgba(8, 18, 31, .6); padding: 12px 16px; }
.facts span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #93a3b3; font-weight: 650; }
.facts b { font-size: 15px; font-weight: 600; }
.cabinet { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.trophy-tile { padding: 16px; display: flex; gap: 14px; align-items: center; }
.trophy-tile .n { font: 700 40px/1 var(--display); color: var(--gold); min-width: 36px; text-align: center; }
.trophy-tile b { display: block; font-weight: 650; line-height: 1.25; }
.trophy-tile small { color: var(--muted); font-size: 12px; }
.squad { display: flex; flex-direction: column; gap: 22px; }
.squad .grp { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.pl { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.pl .no { font: 700 22px/1 var(--display); color: var(--faint); text-align: center; font-variant-numeric: tabular-nums; }
.pl a { font-weight: 650; color: var(--ink); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl a:hover { color: var(--link); }
.pl small { color: var(--muted); font-size: 12px; }
.rating { font: 700 15px/1 system-ui, sans-serif; font-variant-numeric: tabular-nums; min-width: 36px; text-align: center; padding: 6px 0; border-radius: 8px; background: var(--line-2); color: var(--muted); }
.rating.r4 { background: #0f9d68; color: #fff; } .rating.r3 { background: #57c48f; color: #062414; } .rating.r2 { background: #d9efe2; color: #135c3b; }
@media (prefers-color-scheme: dark) { .rating.r2 { background: #163327; color: #8fe0b7; } }
.finishes { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding: 18px 18px 0; }
.finishes a { flex: 1; min-width: 4px; max-width: 36px; background: var(--q); opacity: .75; border-radius: 4px 4px 0 0; position: relative; }
.finishes a:hover { opacity: 1; }
.finishes a.top { background: var(--gold); opacity: 1; }
.finishes-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); padding: 6px 18px 14px; border-top: 1px solid var(--line); margin: 0 0 0; }
details.more-table > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--link); padding: 12px 18px; border-top: 1px solid var(--line-2); list-style: none; }
details.more-table > summary::-webkit-details-marker { display: none; }

/* ---------- Players ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 28px; }
.tiles div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 14px 16px; }
.tiles b { display: block; font: 700 38px/1 var(--display); }
.tiles span { font-size: 12px; color: #a5b4c3; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.tiles small { display: block; font-size: 12px; color: #c4ced8; margin-top: 4px; }
.taglist { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 550; }
.tag.gold { background: var(--gold-bg); border-color: transparent; }
.timeline { list-style: none; margin: 0; padding: 6px 0 6px 18px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 6px 0 6px 14px; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }

/* ---------- Honours ---------- */
.honours th:first-child, .honours td:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; }
.honours th:not(:first-child) { white-space: normal; min-width: 72px; line-height: 1.2; vertical-align: bottom; }
.honours td.z { color: var(--line); }
.honours td.has { font-weight: 700; }
.honours .tot { font: 700 18px/1 var(--display); }

/* ---------- Match ---------- */
.board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 8px; }
.board .big { padding-top: clamp(20px, 3vw, 34px); }
.board .side { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; min-width: 0; }
.board .side a.club { flex-direction: column; gap: 12px; font: 700 clamp(20px, 3vw, 30px)/1.05 var(--display); text-transform: uppercase; color: #fff; }
.board .side a.club span { white-space: normal; }
.board .side a.club:hover { text-decoration: none; }
.board .crest { width: clamp(52px, 8vw, 84px); height: clamp(62px, 9.6vw, 101px); filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)) drop-shadow(0 0 1px rgba(255, 255, 255, .5)); }
.board .big { font: 700 clamp(56px, 10vw, 104px)/1 var(--display); letter-spacing: .02em; font-variant-numeric: tabular-nums; text-align: center; }
.board .big small { display: block; font: 600 13px/1.4 system-ui, sans-serif; color: var(--lime); letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; }
.board .scorers { list-style: none; margin: 0; padding: 0; font-size: 13px; color: #c4ced8; line-height: 1.7; }
.timeline-m { list-style: none; margin: 0; padding: 8px 0; position: relative; }
.timeline-m::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-1px); }
.timeline-m li { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; padding: 6px 18px; position: relative; }
.timeline-m .min { justify-self: center; font-size: 12px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; z-index: 1; font-variant-numeric: tabular-nums; }
.timeline-m .ev { display: flex; align-items: center; gap: 8px; min-width: 0; }
.timeline-m .ev.home { grid-column: 1; grid-row: 1; justify-content: flex-end; text-align: right; }
.timeline-m .ev.away { grid-column: 3; grid-row: 1; }
.timeline-m .min { grid-column: 2; grid-row: 1; }
.timeline-m .ev a { font-weight: 650; }
.timeline-m .ev small { display: block; color: var(--muted); font-size: 12px; }
.timeline-m .ic { flex: none; width: 22px; height: 22px; display: grid; place-items: center; font-size: 13px; }
.timeline-m .ic.card { width: 12px; height: 16px; border-radius: 2px; background: #f2c94c; }
.timeline-m .ic.card.red { background: #e5484d; }
.timeline-m .ic.card.second { background: linear-gradient(135deg, #f2c94c 50%, #e5484d 50%); }
.timeline-m li.goal .min { background: var(--navy); color: #fff; border-color: var(--navy); }
.timeline-m li.ht { grid-template-columns: 1fr; text-align: center; }
.xi { list-style: none; margin: 0; padding: 4px 0; counter-reset: xi; }
.xi li { counter-increment: xi; padding: 7px 18px; border-bottom: 1px solid var(--line-2); display: flex; gap: 10px; align-items: center; }
.xi li:last-child { border-bottom: 0; }
.xi li::before { content: counter(xi); width: 20px; color: var(--faint); font-size: 12px; font-weight: 700; text-align: right; }
.xi.subs li::before { content: none; }
.xi .m { font-size: 12px; font-weight: 700; color: var(--accent); min-width: 30px; }
.xi .off { color: var(--muted); font-size: 13px; }
.teamhead { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 700 18px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 640px) {
  .board { gap: 10px; }
  .timeline-m li { grid-template-columns: 1fr 44px 1fr; padding: 6px 8px; font-size: 13px; }
  .statband { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Footer ---------- */
footer { background: var(--navy); color: #8d9bab; font-size: 13px; }
footer .wrap { padding-top: 32px; padding-bottom: 40px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .brand { font-size: 17px; margin-bottom: 10px; }
footer p { margin: 0; max-width: 520px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
footer nav a { color: #c4ced8; }

/* 3D match viewer */
.mv { background: #0d1014; border-radius: 10px; overflow: hidden; color: #f2f4f6; margin: 8px 0 20px; }
.mv:fullscreen { display: flex; flex-direction: column; border-radius: 0; }
.mv-stage { position: relative; aspect-ratio: 16 / 9; width: 100%; }
.mv:fullscreen .mv-stage { flex: 1; aspect-ratio: auto; }
.mv-stage canvas { display: block; width: 100%; height: 100%; }
.mv-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #aab3bc; }
.mv-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mv-labels span { position: absolute; left: 0; top: 0; font: 600 11px/1 system-ui, sans-serif; background: rgba(10, 12, 16, .65); padding: 2px 5px; border-radius: 3px; white-space: nowrap; }
.mv-labels span.on { background: #ffd84d; color: #111; }
.mv-labels span[hidden] { display: none; }
.mv-shootout { position: absolute; right: 12px; top: 12px; background: rgba(10, 12, 16, .86); padding: 8px 12px; border-radius: 6px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.mv-shootout[hidden] { display: none; }
.mv-replay { position: absolute; right: 12px; top: 12px; display: flex; align-items: center; gap: 8px; background: rgba(10, 12, 16, .86); padding: 6px 12px 6px 8px; border-radius: 6px; font: 700 13px/1 system-ui, sans-serif; letter-spacing: .14em; border-left: 4px solid #c6f432; cursor: pointer; }
.mv-replay[hidden] { display: none; }
.mv-replay::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent #c6f432; }
.mv-wipe { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.mv-wipe[hidden] { display: none; }
.mv-wipe i { position: absolute; top: -20%; bottom: -20%; left: -60%; width: 60%; transform: skewX(-18deg); }
.mv-wipe i:nth-child(1) { background: #c6f432; animation: mv-wipe .7s cubic-bezier(.6, 0, .4, 1) forwards; }
.mv-wipe i:nth-child(2) { background: #0d1b3d; animation: mv-wipe .7s .06s cubic-bezier(.6, 0, .4, 1) forwards; width: 58%; }
.mv-wipe b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 800 22px/1 system-ui, sans-serif; letter-spacing: .3em; color: #c6f432; opacity: 0; animation: mv-wipe-word .7s forwards; }
@keyframes mv-wipe { from { left: -60%; } to { left: 160%; } }
@keyframes mv-wipe-word { 35% { opacity: 0; } 45% { opacity: 1; } 60% { opacity: 1; } 70% { opacity: 0; } }
.mv-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .28) 100%); }
.mv-shootout i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-left: 4px; }
.mv-shootout .in { background: #4cc38a; } .mv-shootout .out { background: #e5484d; }
.mv-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px 2px; }
.mv-bar .mv-time { font-variant-numeric: tabular-nums; font-size: 13px; min-width: 76px; text-align: right; color: #c9d0d6; }
.mv button, .mv select { background: #232830; color: #f2f4f6; border: 1px solid #39404a; border-radius: 6px; padding: 5px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.mv button.on { background: #f2f4f6; color: #111; }
.mv-play { min-width: 42px; }
.mv-track { position: relative; flex: 1; height: 28px; }
.mv-track input { position: absolute; inset: 0; width: 100%; margin: 0; accent-color: #4cc38a; }
.mv-marks { position: absolute; left: 0; right: 0; top: 0; height: 8px; pointer-events: none; }
.mv-marks .mv-mark { position: absolute; top: -2px; width: 10px; height: 10px; padding: 0; border-radius: 50%; transform: translateX(-50%); pointer-events: auto; border: 2px solid #0d1014; }
.mv-mark.goal { background: #4cc38a; } .mv-mark.goal.s1 { background: #6cb4ff; }
.mv-mark.yellow { background: #ffd84d; width: 7px; border-radius: 1px; } .mv-mark.red { background: #e5484d; width: 7px; border-radius: 1px; }
.mv-period { position: absolute; top: 8px; width: 2px; height: 18px; background: #39404a; }
.mv-opts { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 6px 12px 12px; font-size: 13px; color: #c9d0d6; }
.mv-cams { display: flex; gap: 4px; flex-wrap: wrap; }
.mv-full { margin-left: auto; }
.mv-bar .mv-sound { min-width: 40px; padding: 5px 8px; }
.mv-hint { position: absolute; right: 12px; bottom: 12px; z-index: 3; background: rgba(10, 12, 16, .82) !important; border-color: #4cc38a !important; font-weight: 600; }
.mv-hint[hidden] { display: none; }
@media (max-width: 600px) {
  .mv-bar .mv-time { min-width: 0; font-size: 12px; }
  .mv-opts { gap: 6px 10px; }
  .mv button, .mv select { padding: 4px 8px; font-size: 12px; }
}

/* The broadcast graphics over the match (graphics.js). Sizes scale with
   the player through --u. */
.gx { position: absolute; inset: 0; pointer-events: none; --u: 1; --ink: #0b1220; --panel: rgba(9, 14, 26, .9); --lime: #c6f432; font-family: var(--display); color: #fff; }
.gx img { display: block; }
.gx-bugwrap { position: absolute; left: calc(26px * var(--u)); top: calc(22px * var(--u)); display: flex; flex-direction: column; align-items: flex-start; }
.gx-bug { display: flex; align-items: stretch; height: calc(32px * var(--u)); box-shadow: 0 2px 10px rgba(0, 0, 0, .35); font-weight: 700; font-size: calc(19px * var(--u)); line-height: 1; transition: opacity .4s, transform .4s; }
.gx-bug.pre { opacity: 0; transform: translateX(-12px); }
.gx-bug::before { content: ""; width: calc(6px * var(--u)); background: var(--lime); }
.gx-team { display: flex; align-items: center; gap: calc(5px * var(--u)); padding: 0 calc(9px * var(--u)) 0 calc(10px * var(--u)); background: linear-gradient(#1a2335, #0e1524); position: relative; letter-spacing: .04em; min-width: calc(50px * var(--u)); }
.gx-team::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(4px * var(--u)); background: var(--c); }
.gx-team[data-s="1"] { flex-direction: row-reverse; padding: 0 calc(10px * var(--u)) 0 calc(9px * var(--u)); }
.gx-reds { display: flex; gap: 2px; }
.gx-reds i { width: calc(6px * var(--u)); height: calc(9px * var(--u)); background: #e5252a; border-radius: 1px; display: block; }
.gx-score { display: flex; background: #fff; color: var(--ink); font-size: calc(21px * var(--u)); }
.gx-n { width: calc(24px * var(--u)); display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.gx-n + .gx-n { border-left: 1px solid #d5dae2; }
.gx-n.bump { animation: gx-bump 1.6s ease-out; }
@keyframes gx-bump { 0% { background: var(--lime); transform: scale(1.25); } 30% { background: var(--lime); transform: scale(1); } 100% { background: transparent; } }
.gx-clock { display: grid; place-items: center; min-width: calc(62px * var(--u)); padding: 0 calc(8px * var(--u)); background: #050810; font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .02em; }
.gx-add { display: grid; place-items: center; padding: 0 calc(7px * var(--u)); background: var(--lime); color: var(--ink); animation: gx-slide .45s cubic-bezier(.2, .8, .2, 1); }
.gx-add[hidden] { display: none; }
@keyframes gx-slide { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.gx-bugx { margin-left: calc(6px * var(--u)); display: flex; align-items: center; gap: calc(8px * var(--u)); height: calc(26px * var(--u)); padding: 0 calc(12px * var(--u)); background: var(--panel); border-bottom: calc(3px * var(--u)) solid var(--c, var(--lime)); font-size: calc(16px * var(--u)); font-weight: 600; letter-spacing: .04em; white-space: nowrap; clip-path: inset(0 0 100% 0); transition: clip-path .32s cubic-bezier(.2, .8, .2, 1); }
.gx-bugx[hidden] { display: none; }
.gx-bugx.in { clip-path: inset(0 0 0 0); }
.gx-bugx.out { clip-path: inset(0 0 100% 0); transition-duration: .22s; }
.gx-bugx b { font-weight: 700; }
.gx-bugx.goal { background: var(--c); color: var(--ct, #fff); min-width: calc(150px * var(--u)); justify-content: center; }
.gx-flash { letter-spacing: .5em; text-indent: .5em; font-size: calc(19px * var(--u)); animation: gx-flash .5s steps(2) 3; }
@keyframes gx-flash { 50% { opacity: .35; } }
.gx-bugx.period { background: #fff; color: var(--ink); border-bottom-color: var(--lime); letter-spacing: .12em; }
.gx-bugx.pen b { color: var(--lime); letter-spacing: .1em; }
.gx-ball { width: calc(11px * var(--u)); height: calc(11px * var(--u)); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 35%, #c9ced6 70%, #8c939e); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); }
.gx-sl { color: #aeb8c8; text-transform: uppercase; font-size: .82em; letter-spacing: .08em; }
.gx-bugx em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.gx-sep { width: 1px; height: 60%; background: #44506a; }

.gx-chan { position: absolute; right: calc(26px * var(--u)); top: calc(22px * var(--u)); display: flex; align-items: center; gap: calc(8px * var(--u)); transition: opacity .3s; }
.gx.rep .gx-chan { opacity: 0; }
.gx-mark { font-weight: 700; font-size: calc(17px * var(--u)); letter-spacing: .22em; color: rgba(255, 255, 255, .78); text-shadow: 0 1px 4px rgba(0, 0, 0, .55); }
.gx-mark::before { content: ""; display: inline-block; width: calc(9px * var(--u)); height: calc(14px * var(--u)); margin-right: calc(7px * var(--u)); background: var(--lime); transform: skewX(-18deg); vertical-align: -1px; opacity: .9; }
.gx-live { font-weight: 700; font-size: calc(13px * var(--u)); letter-spacing: .14em; background: #e5252a; padding: calc(3px * var(--u)) calc(7px * var(--u)); border-radius: 2px; }

/* Lower thirds */
.gx-ltbox { position: absolute; left: calc(56px * var(--u)); bottom: calc(46px * var(--u)); }
.gx-item { position: absolute; left: 0; bottom: 0; }
.gx-lt { display: flex; flex-direction: column; align-items: flex-start; filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .4)); }
.gx-item .gx-lt > * { animation: gx-in .5s cubic-bezier(.2, .8, .2, 1) both; }
.gx-item .gx-lt > :nth-child(2) { animation-delay: .08s; } .gx-item .gx-lt > :nth-child(3) { animation-delay: .16s; }
.gx-item.out .gx-lt > * { animation: gx-out .35s cubic-bezier(.6, 0, .8, .2) both; }
.gx-item.out .gx-lt > :nth-child(1) { animation-delay: .1s; }
@keyframes gx-in { from { clip-path: inset(0 100% 0 0); transform: translateX(-16px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes gx-out { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); } }
.gx-tag { display: flex; align-items: center; gap: calc(7px * var(--u)); height: calc(26px * var(--u)); padding: 0 calc(12px * var(--u)); background: var(--c); color: var(--ct, #fff); font-weight: 700; font-size: calc(16px * var(--u)); letter-spacing: .14em; text-transform: uppercase; }
.gx-tag img, .gx-name img, .gx-vs img { width: auto; height: calc(28px * var(--u)); }
.gx-tag img { height: calc(19px * var(--u)); }
.gx-name { display: flex; align-items: center; gap: calc(12px * var(--u)); padding: calc(7px * var(--u)) calc(22px * var(--u)) calc(7px * var(--u)) calc(12px * var(--u)); background: linear-gradient(90deg, #fff, #eef1f5); color: var(--ink); border-left: calc(6px * var(--u)) solid var(--c); min-width: calc(250px * var(--u)); }
.gx-name em { font-style: normal; font-weight: 700; font-size: calc(30px * var(--u)); color: var(--ink); opacity: .9; min-width: calc(30px * var(--u)); text-align: center; font-variant-numeric: tabular-nums; }
.gx-name div { display: flex; flex-direction: column; line-height: 1; }
.gx-name small { font-family: system-ui, sans-serif; font-weight: 500; font-size: calc(12px * var(--u)); color: #4a5568; letter-spacing: .02em; margin-bottom: calc(2px * var(--u)); }
.gx-name b { font-size: calc(30px * var(--u)); letter-spacing: .02em; font-weight: 700; white-space: nowrap; }
.gx-sub2 { padding: calc(5px * var(--u)) calc(14px * var(--u)); background: var(--panel); font-family: system-ui, sans-serif; font-size: calc(13px * var(--u)); color: #dce3ec; }
.gx-lt.id .gx-name { min-width: 0; padding-top: calc(5px * var(--u)); padding-bottom: calc(5px * var(--u)); }
.gx-lt.id .gx-name b { font-size: calc(24px * var(--u)); }
.gx-lt.id .gx-name em { font-size: calc(24px * var(--u)); }
.gx-lt.ref { --c: #f2f4f6; }
.gx-cardi { width: calc(12px * var(--u)); height: calc(17px * var(--u)); border-radius: 2px; display: block; box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.gx-cardi.yellow { background: #ffd400; } .gx-cardi.red { background: #e5252a; }
.gx-cardi.second { background: linear-gradient(135deg, #ffd400 50%, #e5252a 50%); }
.gx-lt.goal .gx-tag { letter-spacing: .3em; padding-right: calc(18px * var(--u)); }
.gx-subs { background: var(--panel); border-left: calc(6px * var(--u)) solid var(--c); padding: calc(4px * var(--u)) calc(14px * var(--u)) calc(4px * var(--u)) calc(10px * var(--u)); }
.gx-subrow { display: grid; grid-template-columns: auto auto 1fr auto auto 1fr; align-items: center; gap: calc(6px * var(--u)); padding: calc(4px * var(--u)) 0; font-size: calc(19px * var(--u)); column-gap: calc(8px * var(--u)); }
.gx-subrow + .gx-subrow { border-top: 1px solid #2a3448; }
.gx-subrow em { font-style: normal; font-weight: 700; color: #aeb8c8; min-width: calc(18px * var(--u)); text-align: right; }
.gx-subrow b { font-weight: 600; margin-right: calc(14px * var(--u)); white-space: nowrap; }
.gx-on { color: #3ddc84; font-size: .7em; } .gx-off { color: #ff4d4f; font-size: .7em; }
.gx-intro .gx-tag { background: var(--lime); color: var(--ink); text-shadow: none; }
.gx-vs { display: flex; align-items: center; gap: calc(12px * var(--u)); padding: calc(8px * var(--u)) calc(18px * var(--u)); background: linear-gradient(90deg, #fff, #eef1f5); color: var(--ink); font-size: calc(28px * var(--u)); text-transform: uppercase; }
.gx-vs b { font-weight: 700; letter-spacing: .02em; white-space: nowrap; } .gx-vs em { font-style: normal; color: #7a8597; font-size: .7em; }

/* VAR */
.gx-varbox { position: absolute; right: calc(26px * var(--u)); top: calc(62px * var(--u)); }
.gx-varbox .gx-item { left: auto; right: 0; bottom: auto; top: 0; animation: gx-drop .4s cubic-bezier(.2, .8, .2, 1) both; }
.gx-varbox .gx-item.out { animation: gx-up .3s both; }
@keyframes gx-drop { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes gx-up { to { clip-path: inset(0 0 100% 0); } }
.gx-var { min-width: calc(220px * var(--u)); box-shadow: 0 3px 12px rgba(0, 0, 0, .4); }
.gx-vhead { display: flex; align-items: center; justify-content: space-between; gap: calc(12px * var(--u)); padding: calc(4px * var(--u)) calc(12px * var(--u)); background: #101a33; font-size: calc(15px * var(--u)); letter-spacing: .16em; text-transform: uppercase; }
.gx-vhead b { color: #fff; background: #3b6cff; padding: 0 calc(6px * var(--u)); }
.gx-vbody { display: flex; flex-direction: column; gap: calc(2px * var(--u)); padding: calc(7px * var(--u)) calc(12px * var(--u)); background: #fff; color: var(--ink); border-bottom: calc(4px * var(--u)) solid #3b6cff; }
.gx-vbody b { font-size: calc(26px * var(--u)); letter-spacing: .06em; }
.gx-vbody span { font-family: system-ui, sans-serif; font-size: calc(12px * var(--u)); color: #4a5568; }
.gx-item.check .gx-vhead span::after { content: ""; display: inline-block; width: calc(7px * var(--u)); height: calc(7px * var(--u)); margin-left: calc(7px * var(--u)); border-radius: 50%; background: #ffd400; animation: gx-flash 1s steps(2) infinite; }
.gx-item.over .gx-vbody { border-bottom-color: #e5252a; } .gx-item.over .gx-vbody b { color: #c8161b; }
.gx-item.stands .gx-vbody { border-bottom-color: #2fbf71; }

/* The stats card at half time and full time */
.gx-cardbox { position: absolute; inset: 0; display: grid; place-items: center; }
.gx-cardbox .gx-item { position: static; grid-area: 1 / 1; animation: gx-card .55s cubic-bezier(.2, .8, .2, 1) both; }
.gx-cardbox .gx-item.out { animation: gx-cardout .35s both; }
@keyframes gx-card { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes gx-cardout { to { opacity: 0; transform: translateY(-8px); } }
.gx-card { zoom: var(--k, 1); width: calc(520px * var(--u)); background: rgba(9, 14, 26, .93); box-shadow: 0 8px 40px rgba(0, 0, 0, .5); padding-bottom: calc(10px * var(--u)); }
.gx-chead { background: var(--lime); color: var(--ink); text-align: center; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; font-size: calc(17px * var(--u)); padding: calc(5px * var(--u)); }
.gx-cscore { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: calc(10px * var(--u)); padding: calc(14px * var(--u)) calc(16px * var(--u)) calc(10px * var(--u)); border-bottom: 1px solid #243049; margin-bottom: calc(6px * var(--u)); }
.gx-cside { display: flex; flex-direction: column; align-items: center; text-align: center; gap: calc(4px * var(--u)); }
.gx-cside img { height: calc(44px * var(--u)); }
.gx-cside b { font-size: calc(20px * var(--u)); text-transform: uppercase; letter-spacing: .03em; line-height: 1.05; }
.gx-cside small { font-family: system-ui, sans-serif; font-size: calc(11px * var(--u)); color: #aeb8c8; line-height: 1.35; }
.gx-cnum { font-size: calc(56px * var(--u)); font-weight: 700; line-height: 1; padding-top: calc(4px * var(--u)); font-variant-numeric: tabular-nums; }
.gx-cnum i { font-style: normal; color: #6b778c; margin: 0 calc(8px * var(--u)); }
.gx-row { display: grid; grid-template-columns: calc(70px * var(--u)) 1fr calc(70px * var(--u)); align-items: center; padding: calc(3px * var(--u)) calc(16px * var(--u)); font-size: calc(18px * var(--u)); }
.gx-row em { font-style: normal; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.gx-row > span { display: flex; flex-direction: column; align-items: center; gap: calc(3px * var(--u)); font-size: .82em; letter-spacing: .1em; text-transform: uppercase; color: #c6cfdc; }
.gx-cmp { display: flex; width: 100%; height: calc(4px * var(--u)); background: #2a3448; }
.gx-cmp i { display: block; height: 100%; } .gx-cmp i + i { flex: 1; }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .head { flex-wrap: wrap; row-gap: 4px; }
  .hero .wrap { padding-top: 28px; padding-bottom: 28px; }
  .crest.xl { width: 60px; height: 72px; }
  .hero-row { gap: 16px; flex-wrap: nowrap; align-items: flex-start; }
  .winners { gap: 10px; }
  .winner { padding: 14px 16px 12px; gap: 8px; }
  .winner .who a.club { font-size: 19px; }
  .board .scorers { font-size: 12px; }
}

/* ---------- Live ---------- */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 0 rgba(255, 77, 77, .6); animation: live-pulse 1.6s infinite; vertical-align: 1px; margin-right: 6px; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, .55); } 70% { box-shadow: 0 0 0 7px rgba(255, 77, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.nav a.nav-live { color: #fff; }
.live-badge { display: inline-block; background: #e5383b; color: #fff; border-radius: 4px; padding: 1px 6px; margin-right: 4px; font-size: 11px; letter-spacing: .08em; }
.board .big.ko-big small { color: #c4ced8; }
.score.live { background: #e5383b; }
.score.live:hover { background: #c92a2d; }
.fx .live-min { color: #e5383b; font-weight: 700; }
.watch.live { background: #e5383b; color: #fff !important; }
.fx .ko { display: inline-block; min-width: 58px; font: 700 18px/1 var(--display); letter-spacing: .03em; font-variant-numeric: tabular-nums; padding: 6px 0; }
.lx { grid-template-rows: auto auto; row-gap: 2px; }
.lx.on { background: linear-gradient(90deg, rgba(229, 56, 59, .07), transparent 60%); }
.lx-meta { grid-column: 1 / -1; display: flex; justify-content: center; gap: 14px; font-size: 11px; color: var(--faint); }
.lx-group { margin-bottom: 14px; overflow: hidden; }
.lx-group > h3 { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; margin: 0; }
.lx-comp { padding: 10px 18px 0; font: 700 13px/1.2 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.fixtures-live { overflow: hidden; }
.day-head { align-items: center; justify-content: flex-start; }
.day-head h2 { margin: 0; flex: 1; text-align: center; }
.day-btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 38px; height: 38px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.day-btn:disabled { opacity: .35; cursor: default; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.pills button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 14px; font: 600 13px/1.2 system-ui, sans-serif; cursor: pointer; }
.pills button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
#table > h3 { padding: 16px 18px 0; }
.mv.is-live .mv-play, .mv.is-live .mv-speed, .mv.is-live .mv-hl { display: none; }
.mv.is-live .mv-track input { pointer-events: none; accent-color: #e5383b; }
.mv-live { background: #e5383b; color: #fff; font: 700 11px/1 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; border-radius: 4px; padding: 5px 7px; }
.lx > div:not(.lx-meta) { min-width: 0; max-width: 100%; }
@media (max-width: 640px) {
  .lx a.club { align-items: center; }
  .lx a.club span { white-space: normal; line-height: 1.2; }
  .lx > :first-child a.club span { text-align: right; }
  .day-head h2 { font-size: 22px; }
}

/* Commentary */
#commentary .head { flex-wrap: wrap; gap: 8px 14px; }
.cm-booth { color: var(--muted); font-size: 13px; }
.cm-voice { margin-left: auto; font: inherit; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.cm-voice[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.cm { list-style: none; margin: 0; padding: 6px 0; max-height: 520px; overflow-y: auto; }
.cm li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 8px 18px; border-top: 1px solid var(--line-2); align-items: start; }
.cm li:first-child { border-top: 0; }
.cm .min { font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.cm p { margin: 0; line-height: 1.45; }
.cm p b { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin-bottom: 1px; }
.cm li.v1 p { color: var(--muted); font-style: italic; }
.cm li.cm-goal { background: var(--gold-bg); }
.cm li.cm-goal p { font-weight: 650; }
.cm li.cm-goal .min, .cm li.cm-penalty .min { color: var(--ink); }
.cm li.cm-card .min { color: #c2410c; }
.cm li.cm-whistle p { font-weight: 650; }
.cm li.cm-empty { grid-template-columns: 1fr; color: var(--muted); }
.cm li.cm-play p { color: var(--muted); font-size: 14px; }
.cm li.cm-play p b { font-weight: 600; }
.cm-break { margin: 12px 18px 4px; padding: 10px 14px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; }
/* The half-time show: always dark, like a TV studio. */
.studio { margin: 12px 12px 4px; border-radius: 12px; background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; overflow: hidden; }
.st-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.st-logo { font: 700 22px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.st-seg { font-weight: 600; font-size: 14px; color: #d6dee7; }
.st-count { margin-left: auto; font-size: 13px; color: #b8c3cf; font-variant-numeric: tabular-nums; }
.st-crew { list-style: none; margin: 0; padding: 10px 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.st-crew li { padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, .05); border: 1px solid transparent; transition: background .2s, border-color .2s; min-width: 0; }
.st-crew li.on { background: rgba(212, 255, 58, .12); border-color: var(--lime); }
.st-crew b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-crew small { color: #95a1ad; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.st-ad { margin: 0 12px 10px; padding: 18px 20px; border-radius: 10px; background: var(--ad-bg); color: var(--ad-fg); display: grid; gap: 2px; }
.st-ad small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.st-ad b { font: 700 28px/1.05 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.st-ad span { font-size: 15px; }
.studio .st-feed { max-height: 260px; padding: 0 0 6px; }
.studio .st-feed li { border-top-color: rgba(255, 255, 255, .06); }
.studio .st-feed .min, .studio .st-feed p b { color: #7f8c99; }
.studio .st-feed li.a0 p { font-weight: 600; }
.cm li.st-adline p { color: var(--faint); font-size: 13px; }
.studio .cm li.st-adline p { color: #7f8c99; }
.st-pasts[hidden] { display: none; }
.st-past { border-top: 1px solid var(--line-2); }
.st-past summary { padding: 12px 18px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); }
.st-past .cm { max-height: 420px; }
.studio.has-3d .st-crew, .studio.has-3d .st-ad { display: none; }
.st-3d:empty { display: none; }
/* The broadcast: the studio takes the pitch's place while a show is on. */
#m-bc > .studio { margin: 0 0 18px; }
#m-viewer.bc-under { height: 0; overflow: hidden; }
.st-clip:empty { display: none; }
.st-clip .block { margin: 0; }
.st-clip .block > .head { display: none; }
.studio.in-clip .st-3d { display: none; }
.st-pitch { margin-left: 4px; font-size: 13px; }
.st-cliptag { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 4px; background: rgba(212, 255, 58, .14); color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.cm .st-cliptag { color: var(--ink, inherit); }
.studio .cm .st-cliptag { color: var(--lime); }
.st-guest { margin: 0 12px 10px; padding: 12px 16px; border-left: 4px solid var(--lime); border-radius: 6px; background: rgba(255, 255, 255, .06); display: grid; gap: 2px; }
.st-guest small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #95a1ad; }
.st-guest b { font: 700 22px/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.st-guest span { font-size: 13px; color: #b8c3cf; }
.studio.has-3d .st-guest { display: none; }
.cm li.g1 p { font-style: italic; }
.s3 { position: relative; aspect-ratio: 16 / 9; width: 100%; background: #04070c; overflow: hidden; color: #fff; }
.s3 canvas { display: block; width: 100%; height: 100%; }
.s3-bug { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 8px; background: rgba(4, 7, 12, .72); padding: 6px 10px; border-radius: 6px; }
.s3-bug b { font: 700 18px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.s3-count { position: absolute; right: 12px; top: 12px; background: rgba(4, 7, 12, .72); padding: 6px 10px; border-radius: 6px; font-size: 13px; font-variant-numeric: tabular-nums; color: #d6dee7; }
.s3-third { position: absolute; left: 4%; right: 4%; bottom: 5%; display: grid; grid-template-columns: auto 1fr; align-items: stretch; background: rgba(4, 7, 12, .86); border-left: 4px solid var(--lime); border-radius: 4px; overflow: hidden; }
.s3-third[hidden] { display: none; }
.s3-name { padding: 8px 12px; background: rgba(212, 255, 58, .1); display: grid; align-content: center; }
.s3-name b { font: 700 18px/1.05 var(--display); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.s3-name small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #95a1ad; }
.s3-third p { margin: 0; padding: 8px 12px; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st-replay { padding: 0 18px 12px; }
.st-replay .st-3d { margin-top: 10px; border-radius: 10px; overflow: hidden; }
@media (max-width: 640px) { .s3-third { grid-template-columns: 1fr; } .s3-third p { font-size: 12px; -webkit-line-clamp: 2; } .s3-name b { font-size: 15px; } .s3-bug b { font-size: 14px; } }
@media (max-width: 640px) { .st-crew { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-ad b { font-size: 22px; } }
@media (max-width: 640px) { .cm li { grid-template-columns: 44px 1fr; padding: 8px 12px; } }

/* The newsroom: stories on news.html, the report on a match page, the latest on live.html. */
.stories { display: grid; gap: 14px; }
.story { padding: 18px 22px 16px; }
.story.hl { outline: 2px solid var(--accent); }
.story h2 { display: flex; align-items: center; gap: 10px; font-size: 26px; line-height: 1.1; margin: 6px 0 8px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.story h2 .crest { flex: none; }
.story p { margin: 0 0 10px; max-width: 70ch; }
.story .stand { font-weight: 600; color: var(--ink); }
.story .more { display: inline-block; margin-top: 2px; }
.story-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 650; }
.kind { display: inline-block; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kind.k-pressure { background: #fde8e7; border-color: #f3c4c2; color: #a12d2a; }
.kind.k-preview, .kind.k-roundup { background: var(--gold-bg); border-color: transparent; color: var(--gold); }
.kind.k-signing, .kind.k-transfers { background: #e4f1ff; border-color: #c7defa; color: #1c5fa8; }
.byline { font-size: 13px; margin-top: 18px; }
#latest-list { display: grid; }
#latest-list .headline { display: grid; gap: 3px; padding: 12px 18px; border-bottom: 1px solid var(--line-2); color: var(--ink); }
#latest-list .headline:last-child { border-bottom: 0; }
#latest-list .headline:hover { text-decoration: none; background: var(--surface-2); }
#latest-list .headline b { font: 700 19px/1.15 var(--display); }
#latest-list .headline small { color: var(--muted); font-size: 13px; }
#latest-list .kind { justify-self: start; }
@media (prefers-color-scheme: dark) {
  .kind.k-pressure { background: #3a1716; border-color: #5a2523; color: #ff9b97; }
  .kind.k-signing, .kind.k-transfers { background: #0f2540; border-color: #1b3b63; color: #8cc4ff; }
}
@media (max-width: 640px) { .story { padding: 16px; } .story h2 { font-size: 22px; } }

/* ---------- Player cards ----------
   Collectible cards for the players index and each player's page. An original
   design: a chamfered pennant in four tiers (bronze, silver, gold and the
   navy-and-lime Meridian tier for 85+), the overall and position down the
   left, a generic silhouette, the name band and six summary numbers. */
.pc { --pc-a: #e9b37f; --pc-b: #b0703f; --pc-c: #6f3f1d; --pc-ink: #2a1407; --pc-soft: rgba(42, 20, 7, .62); --pc-line: rgba(42, 20, 7, .22); --pc-glow: rgba(176, 112, 63, .45);
  position: relative; display: grid; grid-template-columns: 30% 1fr; grid-template-rows: auto auto auto 1fr; aspect-ratio: 5 / 7.6; width: 100%; padding: 1.25em 1.1em 2.3em; font-size: var(--pc-fs, 15px); color: var(--pc-ink); isolation: isolate; overflow: hidden;
  clip-path: polygon(12% 0, 88% 0, 100% 7%, 100% 90%, 50% 100%, 0 90%, 0 7%);
  background:
    radial-gradient(120% 60% at 80% 0%, rgba(255, 255, 255, .55), transparent 55%),
    repeating-linear-gradient(118deg, rgba(255, 255, 255, .07) 0 6px, transparent 6px 14px),
    linear-gradient(165deg, var(--pc-a), var(--pc-b) 55%, var(--pc-c));
  font-family: var(--display); text-transform: uppercase; transition: transform .18s ease, filter .18s ease; }
a.pc:hover { text-decoration: none; transform: translateY(-4px); filter: drop-shadow(0 10px 18px var(--pc-glow)); }
.pc::before { content: ""; position: absolute; inset: 3.5%; z-index: -1; border: 1.5px solid var(--pc-line); clip-path: polygon(11% 0, 89% 0, 100% 6.6%, 100% 90.4%, 50% 100%, 0 90.4%, 0 6.6%); }
.pc::after { content: ""; position: absolute; z-index: -1; left: -20%; right: -20%; top: 38%; height: 8%; transform: rotate(-14deg); background: rgba(255, 255, 255, .16); }
.pc.silver { --pc-a: #f4f6f8; --pc-b: #b4bcc6; --pc-c: #6c7682; --pc-ink: #141a21; --pc-soft: rgba(20, 26, 33, .6); --pc-line: rgba(20, 26, 33, .2); --pc-glow: rgba(150, 162, 176, .5); }
.pc.gold { --pc-a: #fff3b0; --pc-b: #e7bd3c; --pc-c: #9c7106; --pc-ink: #2b1f02; --pc-soft: rgba(43, 31, 2, .62); --pc-line: rgba(43, 31, 2, .22); --pc-glow: rgba(231, 189, 60, .55); }
.pc.elite { --pc-ink: #fff; --pc-soft: rgba(255, 255, 255, .66); --pc-line: rgba(212, 255, 58, .55); --pc-glow: rgba(212, 255, 58, .45);
  background:
    radial-gradient(90% 55% at 85% 5%, rgba(212, 255, 58, .32), transparent 60%),
    radial-gradient(80% 50% at 0% 100%, rgba(63, 209, 143, .35), transparent 60%),
    repeating-radial-gradient(circle at 50% 120%, rgba(212, 255, 58, .1) 0 1px, transparent 1px 22px),
    linear-gradient(165deg, #1c3a5c, #0b1a2c 55%, #050b14); }
.pc.elite .pc-ovr { color: var(--lime); }
.pc-side { grid-column: 1; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; gap: .18em; z-index: 1; font-size: var(--pc-fs, 15px); }
.pc-ovr { font-size: 2.6em; line-height: .86; font-weight: 700; letter-spacing: -.01em; }
.pc-pos { font-size: 1.15em; font-weight: 700; line-height: 1; letter-spacing: .04em; }
.pc-nat { font-size: .78em; font-weight: 700; letter-spacing: .08em; line-height: 1; padding: .3em .35em .25em; border: 1px solid var(--pc-line); border-radius: 3px; margin-top: .25em; }
.crest.pc-crest { width: 1.7em; height: 2.05em; margin-top: .35em; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.crest.pc-crest.none::before { background: var(--pc-line); }
.pc-sil { grid-column: 2; grid-row: 1 / 3; width: 100%; align-self: end; fill: var(--pc-ink); opacity: .2; margin: 0 0 -4%; }
.pc.elite .pc-sil { fill: #cfe3f5; opacity: .14; }
.pc-shot { grid-column: 2; grid-row: 1 / 3; width: 100%; aspect-ratio: 1; object-fit: cover; align-self: end; border-radius: 10px; }
.story-faces { display: flex; gap: 8px; margin: 2px 0 10px; }
.story-faces img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #0b1a33; box-shadow: 0 0 0 2px rgba(255, 255, 255, .12); }
.pc-face { grid-column: 2; grid-row: 1 / 3; width: 92%; align-self: end; justify-self: center; margin: -8% 0 0; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .28)); }
.pc-name { grid-column: 1 / -1; grid-row: 3; display: block; text-align: center; font-weight: 700; font-size: calc(var(--pc-fs, 15px) * 1.45); line-height: 1; letter-spacing: .02em; padding: .28em 0 .3em; border-top: 1px solid var(--pc-line); border-bottom: 1px solid var(--pc-line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-name small { display: block; font-size: .5em; font-weight: 600; letter-spacing: .12em; color: var(--pc-soft); margin-bottom: .2em; overflow: hidden; text-overflow: ellipsis; }
.pc-stats { grid-column: 1 / -1; grid-row: 4; list-style: none; margin: 0; padding: .5em 2% 0; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: column; grid-template-rows: repeat(3, auto); column-gap: 14%; row-gap: .15em; font-size: var(--pc-fs, 15px); position: relative; }
.pc-stats::after { content: ""; position: absolute; left: 50%; top: .6em; bottom: .1em; width: 1px; background: var(--pc-line); }
.pc-stats li { display: flex; align-items: baseline; gap: .35em; }
.pc-stats b { font-size: 1.2em; font-weight: 700; min-width: 1.3em; text-align: right; font-variant-numeric: tabular-nums; }
.pc-stats span { font-size: .95em; font-weight: 600; color: var(--pc-soft); letter-spacing: .04em; }
.pc-club { position: absolute; left: 22%; right: 22%; bottom: 5.5%; text-align: center; font: 600 calc(var(--pc-fs, 15px) * .6)/1 system-ui, sans-serif; letter-spacing: .08em; color: var(--pc-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pcgrid { --pc-fs: 15px; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 22px 18px; }
@media (max-width: 640px) { .pcgrid { --pc-fs: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; } }
@media (max-width: 340px) { .pcgrid { --pc-fs: 10.5px; } }
.pcgrid > .empty { grid-column: 1 / -1; }
.hero-card > .pc { --pc-fs: 15px; flex: none; width: 210px; }
@media (max-width: 640px) { .hero-row.hero-card { flex-wrap: wrap; } .hero-card > .pc { --pc-fs: 12.5px; width: 168px; } }
@media (prefers-reduced-motion: reduce) { .pc { transition: none; } a.pc:hover { transform: none; } }

/* The search and filters above the cards. */
.pf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 14px; }
.pf label { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pf label > span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pf output { color: var(--ink); }
.pf input[type="search"], .pf select { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; min-width: 0; }
.pf input[type="search"]:focus, .pf select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.pf .pf-q { grid-column: 1 / -1; }
.pf .pf-q input { font-size: 17px; padding: 12px 14px 12px 40px; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b95a0' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 13px 50% / 18px; }
.pf .pf-range { grid-column: span 2; }
.dual { position: relative; height: 38px; }
.dual input { position: absolute; left: 0; right: 0; top: 9px; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 20px; }
.dual input::-webkit-slider-runnable-track { height: 4px; background: var(--line); border-radius: 2px; }
.dual input + input::-webkit-slider-runnable-track { background: none; }
.dual input::-moz-range-track { height: 4px; background: var(--line); border-radius: 2px; }
.dual input + input::-moz-range-track { background: none; }
.dual input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.dual input::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.pf-reset { font: 600 14px/1 system-ui, sans-serif; color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; cursor: pointer; }
.pf-reset:hover { border-color: var(--muted); }
.pf-count { color: var(--muted); font-size: 14px; font-weight: 600; margin: 0 0 16px; }
.pf-more { text-align: center; margin: 28px 0 0; }
.pf-more button { font: 700 16px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--navy); background: var(--lime); border: 0; border-radius: 999px; padding: 13px 26px; cursor: pointer; }
@media (max-width: 900px) { .pf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pf { padding: 14px; gap: 10px; } .pf .pf-range { grid-column: 1 / -1; } .pf select { font-size: 16px; } .pf .pf-q input { font-size: 16px; } }
/* The Interval's page. */
.iv-match { margin-bottom: 18px; padding: 0; overflow: hidden; }
.iv-head { padding: 14px 18px; border-bottom: 1px solid var(--line-2); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.iv-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 20px; }
.iv-head .crest { width: 22px; height: 22px; }
.iv-items { display: grid; }
.iv-item { padding: 14px 18px; border-top: 1px solid var(--line-2); }
.iv-item:first-child { border-top: 0; }
.iv-item h3 { margin: 6px 0 8px; font-size: 17px; }
.iv-item h3 small { font-weight: 500; color: var(--muted); font-size: 13px; }
.iv-item.k-clip .kind { background: var(--lime); color: var(--navy); }
.iv-item.k-preview .kind, .hiv.k-preview .kind { background: var(--gold-bg); border-color: transparent; color: var(--gold); }
.iv-crests { display: inline-flex; gap: 4px; margin-left: 4px; }
.iv-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.iv-lines li { font-size: 15px; line-height: 1.45; }
.iv-lines b { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.iv-lines li.q { font-style: italic; color: var(--muted); }
.iv-watch { margin: 2px 0 10px; }
.iv-viewer:empty { display: none; }
.iv-viewer { margin: 0 0 12px; border-radius: 10px; overflow: hidden; }

/* The broadcast's titles and transitions (titles.js), over the screen. */
#m-bc { position: relative; }
#m-bc.titling { min-height: min(56vw, 520px); }
.bc-title { position: absolute; inset: 0; z-index: 20; overflow: hidden; border-radius: 12px; pointer-events: none; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 90% at 50% 40%, #13305e 0%, var(--navy) 70%); animation: tt-out .5s calc(var(--len, 5s) - .5s) forwards; }
.bc-title[hidden] { display: none; }
.bc-title.k-card { background: none; place-items: end center; padding-bottom: 7%; }
.tt-bg i { position: absolute; top: -30%; bottom: -30%; width: 34%; transform: skewX(-18deg); left: -50%; animation: tt-sweep 1.1s cubic-bezier(.6, 0, .3, 1) forwards; }
.tt-bg i:nth-child(1) { background: var(--lime); animation-delay: .05s; }
.tt-bg i:nth-child(2) { background: #0d1b3d; animation-delay: .17s; width: 30%; }
.tt-bg i:nth-child(3) { background: rgba(212, 255, 58, .14); animation-delay: .3s; width: 60%; animation-duration: 1.6s; }
.tt-c { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; padding: 0 16px; text-align: center; animation: tt-in .6s .95s both cubic-bezier(.2, .8, .2, 1); }
.tt-c small { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--lime); }
.tt-c > span { font-size: 15px; color: #c9d4df; letter-spacing: .04em; }
.tt-logo { font: 700 clamp(40px, 8vw, 84px)/.9 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #fff; text-shadow: 0 6px 30px rgba(212, 255, 58, .25); }
.tt-logo::after { content: ""; display: block; height: 4px; margin: 10px auto 0; width: 0; background: var(--lime); animation: tt-line .7s 1.4s forwards; }
.tt-teams { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; font: 700 clamp(22px, 4.4vw, 44px)/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.tt-teams span { display: flex; align-items: center; gap: 12px; }
.tt-teams .crest.lg { width: clamp(30px, 5vw, 52px); height: clamp(36px, 6vw, 62px); }
.tt-teams em { font-style: normal; color: var(--lime); font-size: .7em; }
.tt-score { color: var(--lime); font-size: 1.15em; padding: 0 6px; }
.k-card .tt-c { animation-delay: .2s; background: rgba(8, 18, 31, .92); border: 1px solid rgba(212, 255, 58, .5); border-radius: 12px; padding: 14px 22px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.tt-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: linear-gradient(180deg, transparent 40%, rgba(8, 18, 31, .7)); }
.tt-credits ul { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 18px; width: min(680px, 90vw); }
.tt-credits li { font-weight: 600; font-size: 14px; display: grid; gap: 2px; opacity: 0; animation: tt-in .5s forwards; }
.tt-credits li:nth-child(n) { animation-delay: calc(1.6s + var(--i, 0) * .2s); }
.tt-credits li:nth-child(1) { --i: 0; } .tt-credits li:nth-child(2) { --i: 1; } .tt-credits li:nth-child(3) { --i: 2; } .tt-credits li:nth-child(4) { --i: 3; } .tt-credits li:nth-child(5) { --i: 4; } .tt-credits li:nth-child(6) { --i: 5; }
.tt-credits li small { font-size: 10px; letter-spacing: .14em; color: #95a1ad; }
@keyframes tt-sweep { from { left: -50%; } to { left: 150%; } }
@keyframes tt-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes tt-line { to { width: 60%; } }
@keyframes tt-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tt-bg i, .tt-c, .tt-credits li, .tt-logo::after { animation-duration: .01s; animation-delay: 0s; } .tt-logo::after { width: 60%; } }
/* The team sheet before kickoff. */
.bc-title.k-sheet { background: radial-gradient(120% 90% at 30% 20%, #13305e 0%, var(--navy) 70%); }
.tt-sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; align-items: center; width: min(860px, 94%); animation: tt-in .5s .1s both; }
.tt-sheet-head { display: flex; align-items: center; gap: 14px; }
.tt-sheet-head .crest.lg { width: 56px; height: 67px; }
.tt-sheet-head small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.tt-sheet-head b { font: 700 clamp(34px, 6vw, 64px)/1 var(--display); letter-spacing: .04em; }
.tt-pitch { position: relative; aspect-ratio: 4 / 5; max-height: 72vh; border-radius: 10px; background: repeating-linear-gradient(180deg, #1f7a3a 0 10%, #237f3f 10% 20%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); overflow: hidden; }
.tt-pitch > i { position: absolute; left: 50%; bottom: 0; width: 34%; height: 14%; transform: translateX(-50%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.tt-pitch ol { list-style: none; margin: 0; padding: 0; }
.tt-pitch li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 2px; opacity: 0; animation: tt-in .4s forwards; animation-delay: calc(.4s + var(--d, 0s)); }
.tt-pitch li b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); font-size: 13px; }
.tt-pitch li span { font-size: 11px; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); white-space: nowrap; }
@media (max-width: 640px) { .tt-sheet { grid-template-columns: 1fr; } .tt-pitch { max-height: 52vh; width: min(100%, 300px); justify-self: center; } }

/* The front page: the new season, what's on, the news and The Interval. */
.countdown { display: flex; gap: 10px; margin-top: 24px; }
.countdown div { min-width: 74px; padding: 10px 12px; border-radius: 10px; background: rgba(8, 18, 31, .55); border: 1px solid rgba(255, 255, 255, .12); text-align: center; }
.countdown b { display: block; font: 700 38px/1 var(--display); font-variant-numeric: tabular-nums; color: var(--lime); }
.countdown span { font-size: 11px; color: #9fb0c0; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.countdown .cd-now { font: 700 28px/1 var(--display); color: var(--lime); text-transform: uppercase; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; background: var(--lime); color: var(--navy) !important; font-weight: 700; font-size: 14px; border: 1px solid var(--lime); }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn.ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .35); }
.hf-day { display: flex; align-items: center; gap: 8px; padding: 14px 18px 2px; font: 700 18px/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; border-top: 1px solid var(--line-2); }
.hf-day:first-child { border-top: 0; }
.home-news, .home-iv { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.home-iv { margin-bottom: 14px; }
.home-iv[hidden] { display: none; }
.hn, .hiv { display: grid; align-content: start; gap: 8px; padding: 16px 18px; color: var(--ink); }
.hn:hover, .hiv:hover { text-decoration: none; border-color: var(--accent); }
.hn b { display: flex; gap: 8px; align-items: flex-start; font: 700 21px/1.12 var(--display); }
.hn b .crest { flex: none; margin-top: 2px; }
.hn small, .hiv small { color: var(--muted); font-size: 13px; }
.hiv b { font: 700 20px/1.12 var(--display); }
.hiv-match { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.hiv-match .crest { width: 18px; height: 18px; }
.hiv q { font-style: italic; }
.iv-promo p { margin: 0 0 14px; max-width: 70ch; }
.anchors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.anchor { padding: 12px 14px; border-radius: 10px; background: var(--navy); color: #fff; }
.anchor b { display: block; font: 700 19px/1.1 var(--display); }
.anchor span { font-size: 12px; color: var(--lime); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.holders { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.holder { display: grid; gap: 4px; padding: 12px 18px; border-bottom: 1px solid var(--line-2); }
.holder .comp { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 650; }
.archive-link { display: grid; gap: 4px; color: var(--ink); margin-bottom: 40px; }
.archive-link:hover { text-decoration: none; border-color: var(--accent); }
.archive-link b { font: 700 22px/1 var(--display); text-transform: uppercase; }
.archive-link b::after { content: " →"; color: var(--link); }
.archive-link span { color: var(--muted); }
.reel-season { margin: 18px 0 10px; }
.reel-season:first-of-type { margin-top: 0; }
.season-list h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.season-list .years { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 14px; }
@media (max-width: 640px) {
  .countdown { gap: 6px; } .countdown div { min-width: 0; flex: 1; padding: 8px 6px; } .countdown b { font-size: 28px; }
  .anchors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Meridian Fantasy ---------- */
.hero.fantasy { background:
  radial-gradient(700px 360px at 90% 0%, rgba(212, 255, 58, .22), transparent 60%),
  radial-gradient(600px 380px at 0% 110%, rgba(63, 209, 143, .22), transparent 60%),
  linear-gradient(180deg, var(--navy-2), var(--navy)); }
.ff-tabs { display: flex; gap: 6px; margin: 22px 0 10px; overflow-x: auto; scrollbar-width: none; }
.ff-tabs button { font: 700 17px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; white-space: nowrap; }
.ff-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--lime); }
.ff-status { color: var(--muted); font-size: 14px; margin: 4px 0 16px; min-height: 1.5em; }
.ff-status b { color: var(--ink); }
.ff-status .bad, .ff-msg.bad { color: #d64545; }
.ff-msg { min-height: 1.4em; margin: 10px 0 0; font-weight: 550; }
.ff-msg.ok { color: var(--accent); }
.ff-hello { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ff-link { font: inherit; font-weight: 600; color: var(--link); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.ff-link:hover { text-decoration: underline; }
.ff-btn { font: 700 16px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--navy); background: var(--lime); border: 1px solid var(--lime); border-radius: 10px; padding: 12px 18px; cursor: pointer; }
.ff-btn:disabled { opacity: .45; cursor: default; }
.ff-btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.ff-btn.wide { width: 100%; margin-top: 10px; }
.ff-join { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 6px; }
.ff-join .card > h3, .ff-market .card > h3, .ff-join h3, .ff-market h3 { padding: 0; } .ff-join h3, .ff-market h3 { margin: 0 0 8px; font: 700 22px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.ff-join form { display: flex; gap: 8px; margin-top: 10px; }
.ff-join input, .ff-market input[type="search"], .ff-filters select, .ff-ptop select { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ff-me { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
.ff-me div { margin-right: auto; }
.ff-me span, .ff-bar span { display: block; font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ff-me b { font: 700 26px/1.1 var(--display); text-transform: uppercase; }
.ff-code { margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ff-code p { flex-basis: 100%; margin: 0; }
.ff-code code { font-size: 15px; background: var(--surface-2); border: 1px dashed var(--line); padding: 8px 10px; border-radius: 8px; word-break: break-all; }
.ff-bar { display: flex; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.ff-bar div { flex: 1 1 130px; padding: 10px 14px; box-shadow: 0 0 0 .5px var(--line); }
.ff-bar b { font: 700 26px/1.1 var(--display); }
.ff-bar .bad b { color: #d64545; }
.ff-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.ff-pitch { position: relative; border-radius: 16px; overflow: hidden; padding: 18px 8px; min-height: 440px; display: flex; flex-direction: column; justify-content: space-around; gap: 10px;
  background: repeating-linear-gradient(180deg, #1f7a45 0 11%, #1b6f3e 11% 22%); box-shadow: inset 0 0 80px rgba(0, 0, 0, .35); }
.ff-lines { position: absolute; inset: 12px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 4px; pointer-events: none; }
.ff-lines::before { content: ""; position: absolute; left: 50%; top: -2px; width: 44%; height: 18%; transform: translateX(-50%); border: 2px solid rgba(255, 255, 255, .35); border-top: 0; }
.ff-lines::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 44%; height: 18%; transform: translateX(-50%); border: 2px solid rgba(255, 255, 255, .35); border-bottom: 0; }
.ff-row { position: relative; display: flex; justify-content: center; gap: 6px; flex-wrap: nowrap; }
.ff-shirt { position: relative; display: flex; flex-direction: column; align-items: center; width: 78px; min-width: 0; padding: 0; font: inherit; background: none; border: 0; cursor: pointer; color: #fff; }
.ff-kit { width: 40px; height: 40px; background: linear-gradient(90deg, var(--c1, #ddd) 0 50%, var(--c2, #999) 50% 100%);
  clip-path: polygon(30% 0, 70% 0, 100% 18%, 88% 42%, 80% 36%, 80% 100%, 20% 100%, 20% 36%, 12% 42%, 0 18%); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }
.ff-shirt b { display: block; max-width: 100%; margin-top: 3px; padding: 2px 6px; background: rgba(8, 18, 31, .92); border-radius: 4px 4px 0 0; font-size: 12px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-shirt > span:last-child { display: block; min-width: 100%; padding: 1px 6px 2px; background: var(--lime); color: var(--navy); border-radius: 0 0 4px 4px; font-size: 12px; font-weight: 700; }
.ff-shirt .ff-score.none { background: #cfd6dc; }
.ff-shirt.on .ff-kit { outline: 3px solid var(--lime); outline-offset: 2px; }
.ff-shirt.on b { background: var(--lime); color: var(--navy); }
.ff-shirt.empty { cursor: default; opacity: .75; }
.ff-shirt.empty .ff-kit { background: rgba(255, 255, 255, .35); }
.ff-shirt.empty > span:last-child { background: rgba(8, 18, 31, .55); color: #dfe6ec; font-weight: 550; }
.ff-c { position: absolute; top: -4px; right: 12px; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: var(--lime); font: 700 12px/20px system-ui, sans-serif; font-style: normal; border: 1.5px solid var(--lime); }
.ff-c.v { color: #fff; border-color: #fff; }
.ff-bench { display: flex; justify-content: center; align-items: flex-end; gap: 6px; padding: 12px 8px 10px; margin-top: 8px; border-radius: 14px; background: #0f2a1d; position: relative; }
.ff-bench-label { position: absolute; left: 12px; top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fc4a6; }
.ff-bench .ff-shirt { margin-top: 14px; }
.ff-sel { margin-top: 12px; }
.ff-sel-who { display: flex; align-items: center; gap: 12px; }
.ff-sel-who .crest { width: 30px; height: 36px; }
.ff-sel-who b { display: block; font-size: 17px; }
.ff-sel-who span { color: var(--muted); font-size: 13px; }
.ff-sel-do { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ff-sel-do button { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.ff-sel p { margin: 10px 0 0; font-size: 13px; }
.ff-tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin-top: 12px; }
.ff-note { background: var(--gold-bg); border-radius: 10px; padding: 10px 14px; }
.ff-roles { display: flex; gap: 4px; margin: 10px 0 8px; }
.ff-roles button { flex: 1; font: 600 13px/1 system-ui, sans-serif; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 4px; cursor: pointer; }
.ff-roles button[aria-pressed="true"] { background: var(--navy); color: var(--lime); border-color: var(--navy); }
.ff-market input[type="search"] { width: 100%; }
.ff-filters { display: flex; gap: 8px; }
@media (min-width: 901px) { .ff-market { position: sticky; top: 72px; } .ff-list { max-height: 640px; overflow-y: auto; padding-right: 4px; } }
.ff-count { font-size: 13px; margin: 8px 0 4px; }
.ff-list { list-style: none; margin: 0; padding: 0; }
.ff-list li { display: grid; grid-template-columns: 38px 18px minmax(0, 1fr) 34px 38px 32px; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line-2); }
.ff-who b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-who small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-pos { font: 700 11px/1 system-ui, sans-serif; text-align: center; padding: 4px 0; border-radius: 5px; background: var(--surface-2); color: var(--muted); }
.ff-pos.GK { background: #fff1c2; color: #7a5b00; } .ff-pos.DEF { background: #dff5e9; color: #126c43; }
.ff-pos.MID { background: #e3edff; color: #1d4fa8; } .ff-pos.FWD { background: #ffe3e1; color: #a52a20; }
.ff-pts { text-align: right; color: var(--muted); font-size: 13px; }
.ff-price { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.ff-add { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--navy); color: var(--lime); font: 700 18px/1 system-ui, sans-serif; cursor: pointer; }
.ff-add:disabled { background: var(--surface-2); color: var(--faint); cursor: not-allowed; }
.ff-ptop { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.ff-ptop select { flex: none; }
.ff-ptop b { font: 700 24px/1 var(--display); text-transform: uppercase; }
.ff-matchpts { list-style: none; padding: 0; margin: 12px 0; }
.ff-matchpts li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 0; border-top: 1px solid var(--line-2); }
.ff-matchpts span { color: var(--muted); font-size: 13px; }
.ff-matchpts b { grid-row: 1 / 3; grid-column: 2; align-self: center; font: 700 24px/1 var(--display); }
.ff-table th, .ff-table td { text-align: left; }
.ff-table th:first-child, .ff-table td:first-child { width: 48px; text-align: center; }
.ff-table .n { text-align: right; width: 80px; }
.ff-table tr.you td { background: var(--q-bg); }
.ff-table small { color: var(--muted); }
.ff-rules h3 { font: 700 20px/1 var(--display); text-transform: uppercase; margin: 18px 0 6px; }
.ff-rules h3:first-child { margin-top: 0; }
.ff-rules p { max-width: 760px; }
.ff-rules-pts { border-collapse: collapse; width: 100%; max-width: 560px; font-size: 14px; }
.ff-rules-pts th, .ff-rules-pts td { padding: 6px 8px; border-bottom: 1px solid var(--line-2); text-align: center; }
.ff-rules-pts th:first-child, .ff-rules-pts td:first-child { text-align: left; }
@media (prefers-color-scheme: dark) {
  .ff-pos.GK { background: #3a2f0a; color: #f2c94c; } .ff-pos.DEF { background: #12301f; color: #5fe0a8; }
  .ff-pos.MID { background: #142443; color: #8db4ff; } .ff-pos.FWD { background: #3b1715; color: #ff9b91; }
}
@media (max-width: 900px) { .ff-grid, .ff-join { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .ff-pitch { min-height: 380px; padding: 14px 2px; }
  .ff-row { gap: 2px; }
  .ff-shirt { width: 64px; }
  .ff-shirt b, .ff-shirt > span:last-child { font-size: 11px; padding-left: 3px; padding-right: 3px; }
  .ff-kit { width: 34px; height: 34px; }
}
.ff-google { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; margin: 4px 0 10px; text-transform: none; letter-spacing: 0; font: 600 14px/1 system-ui, sans-serif; }
.ff-google svg { width: 18px; height: 18px; flex: none; }
.ff-me .ff-google { margin: 0; }
.ff-badge { font-size: 12px; font-weight: 650; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 4px 10px; }

/* Fantasy: scouting, fixtures and the player sheet */
.fd { display: inline-block; min-width: 34px; padding: 3px 4px; border-radius: 5px; font: 700 11px/1.2 system-ui, sans-serif; font-style: normal; text-align: center; color: #0b1a10; background: #cfd6dc; }
.fd.d1 { background: #1fa86a; color: #fff; } .fd.d2 { background: #9be3b5; } .fd.d3 { background: #e5e8ea; }
.fd.d4 { background: #ff9d8f; } .fd.d5 { background: #d64545; color: #fff; }
.fd small { opacity: .75; font-size: 9px; }
.ff-shirt .fd { position: absolute; top: -6px; left: 2px; min-width: 0; padding: 1px 4px; font-size: 9px; box-shadow: 0 0 0 1.5px rgba(8, 18, 31, .8); }
.ff-step { margin: 0 0 14px; padding: 10px 14px; border-left: 4px solid var(--lime); background: var(--surface); border-radius: 0 10px 10px 0; font-weight: 550; }
.ff-steps { margin: 8px 0 4px; padding-left: 20px; flex-basis: 100%; } .ff-steps li { margin: 3px 0; }
.ff-need-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: -4px 0 12px; }
.ff-need { font-size: 12px; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.ff-need.ok { background: #dff5e9; color: #126c43; border-color: transparent; }
.ff-outlook { margin-left: auto; font-size: 13px; color: var(--muted); }
.ff-shirt.empty { cursor: pointer; opacity: .9; }
.ff-list li { grid-template-columns: 34px 18px minmax(0, 1fr) auto 34px 38px 30px; cursor: pointer; }
.ff-list.has-form li { grid-template-columns: 34px 18px minmax(0, 1fr) auto 30px 34px 38px 30px; }
.ff-list li:hover { background: var(--surface-2); }
.ff-fx { display: flex; gap: 2px; }
.ff-fx .fd { min-width: 30px; font-size: 10px; padding: 3px 2px; }
.ff-colhead { display: flex; gap: 12px; justify-content: flex-end; align-items: center; font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 8px 0 2px; }
.ff-colhead span:first-child { margin-right: auto; }
.ff-check { display: flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.ff-roles small { opacity: .8; margin-left: 2px; }
.ff-market { position: sticky; top: 8px; }
.ff-list.mini li { grid-template-columns: 34px 18px minmax(0, 1fr) auto 34px 38px 30px; }
.ff-scout-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; margin-bottom: 14px; }
.ff-scout h3 { margin: 0 0 4px; font: 700 20px/1 var(--display); text-transform: uppercase; }
.ff-scout > p.muted { margin: 0 0 8px; font-size: 13px; }
.ff-news { list-style: none; margin: 6px 0 10px; padding: 0; }
.ff-news li { padding: 8px 0; border-top: 1px solid var(--line-2); }
.ff-news a { display: block; color: inherit; text-decoration: none; }
.ff-news b { display: block; font-size: 14px; } .ff-news span, .ff-news small { display: block; color: var(--muted); font-size: 12px; }
.ff-filters + .ff-filters { margin-top: 8px; }
.ff-sorts { display: flex; gap: 4px; margin-left: auto; }
.ff-sorts button { font: 600 13px/1 system-ui, sans-serif; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.ff-sorts button[aria-pressed="true"] { background: var(--navy); color: var(--lime); border-color: var(--navy); }
.ff-legend { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 12px; color: var(--muted); }
.ff-fxgrid { overflow-x: auto; margin-top: 8px; }
.ff-fxgrid td, .ff-fxgrid th { white-space: nowrap; text-align: center; padding: 6px 4px; }
.ff-fxgrid td:first-child, .ff-fxgrid th:first-child { text-align: left; position: sticky; left: 0; background: var(--surface); }
.ff-fxgrid .fd { min-width: 40px; margin: 0 1px; font-size: 12px; }
.ff-lock { overflow: hidden; }
.ff-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(8, 18, 31, .6); padding: 16px; }
.ff-modal[hidden] { display: none; }
.ff-sheet { width: min(560px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.ff-sh-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy); color: #fff; }
.ff-sh-head h3 { color: #fff; padding: 0; margin: 0; font: 700 24px/1.1 var(--display); text-transform: uppercase; }
.ff-sh-head span { font-size: 13px; color: #b9c6d2; }
.ff-sh-head .crest.lg { width: 36px; height: 44px; flex: none; }
.ff-x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.ff-sh-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 14px 16px; }
.ff-sh-body h4 { margin: 16px 0 6px; font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.ff-sh-body h4 small { font: 500 12px system-ui, sans-serif; text-transform: none; color: var(--muted); letter-spacing: 0; }
.ff-sh-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ff-sh-nums div { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.ff-sh-nums span { display: block; font-size: 10px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ff-sh-nums b { font: 700 22px/1.2 var(--display); }
.ff-sh-last { font-size: 13px; color: var(--muted); } .ff-sh-last b { color: var(--ink); }
.ff-bars { display: flex; gap: 8px; align-items: flex-end; height: 86px; }
.ff-bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); }
.ff-bars i { width: 100%; max-width: 38px; background: var(--accent); border-radius: 4px 4px 0 0; position: relative; display: block; }
.ff-bars i b { position: absolute; top: -16px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--ink); }
.ff-fxlist { list-style: none; margin: 0; padding: 0; }
.ff-fxlist li { display: grid; grid-template-columns: 52px 1fr; gap: 0 10px; align-items: center; padding: 5px 0; font-size: 13px; }
.ff-fxlist li .fd { grid-row: 1 / 3; } .ff-fxlist li small { color: var(--muted); font-size: 11px; }
.ff-sh-foot { flex: none; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.ff-sh-foot .ff-btn { width: 100%; }
.ff-sh-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ff-sh-acts button, .ff-swaps button { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.ff-sh-acts .warn { color: #d64545; }
.ff-swaps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ff-swaps span { margin-left: 6px; color: var(--muted); font-weight: 500; font-size: 12px; }
@media (prefers-color-scheme: dark) { .ff-need.ok { background: #12301f; color: #5fe0a8; } }
@media (max-width: 900px) { .ff-market { position: static; } }
@media (max-width: 640px) {
  .ff-scout-grid { grid-template-columns: 1fr; }
  .ff-list li, .ff-list.mini li { grid-template-columns: 30px 16px minmax(0, 1fr) 28px 32px 30px; gap: 5px; }
  .ff-list.has-form li { grid-template-columns: 30px 16px minmax(0, 1fr) 24px 28px 32px 30px; }
  .ff-list li .ff-fx { display: none; }
  .ff-fxh { display: none; }
  .ff-outlook { margin-left: 0; flex-basis: 100%; }
  .ff-modal { align-items: flex-end; padding: 0; }
  .ff-sheet { width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; }
  .ff-sh-nums { grid-template-columns: repeat(2, 1fr); }
  .ff-tools { position: sticky; bottom: 0; z-index: 5; padding: 8px 0; background: var(--bg, var(--surface)); }
}
.card.pad > h3 { padding: 0; }

/* Club colours and crests, written by `meridian site`. */
.crest[class*=" k-"]::before{clip-path:none;background-position:center;background-size:contain;background-repeat:no-repeat}
.k-cl-001{--c1:#FDE68A;--c2:#FFC72C}.crest.k-cl-001::before{background-image:url(crests/cl-001.svg)}
.k-cl-002{--c1:#9CA3AF;--c2:#006747}.crest.k-cl-002::before{background-image:url(crests/cl-002.svg)}
.k-cl-003{--c1:#C8102E;--c2:#0E7C7B}.crest.k-cl-003::before{background-image:url(crests/cl-003.svg)}
.k-cl-004{--c1:#FFFFFF;--c2:#006747}.crest.k-cl-004::before{background-image:url(crests/cl-004.svg)}
.k-cl-005{--c1:#1E3A8A;--c2:#00205B}.crest.k-cl-005::before{background-image:url(crests/cl-005.svg)}
.k-cl-006{--c1:#5B2C83;--c2:#9CA3AF}.crest.k-cl-006::before{background-image:url(crests/cl-006.svg)}
.k-cl-007{--c1:#7A263A;--c2:#111111}.crest.k-cl-007::before{background-image:url(crests/cl-007.svg)}
.k-cl-008{--c1:#006747;--c2:#FDE68A}.crest.k-cl-008::before{background-image:url(crests/cl-008.svg)}
.k-cl-009{--c1:#14532D;--c2:#0E7C7B}.crest.k-cl-009::before{background-image:url(crests/cl-009.svg)}
.k-cl-010{--c1:#00205B;--c2:#7A263A}.crest.k-cl-010::before{background-image:url(crests/cl-010.svg)}
.k-cl-011{--c1:#7A263A;--c2:#C8102E}.crest.k-cl-011::before{background-image:url(crests/cl-011.svg)}
.k-cl-012{--c1:#F47A20;--c2:#FDE68A}.crest.k-cl-012::before{background-image:url(crests/cl-012.svg)}
.k-cl-013{--c1:#5B2C83;--c2:#FFFFFF}.crest.k-cl-013::before{background-image:url(crests/cl-013.svg)}
.k-cl-014{--c1:#5B2C83;--c2:#9CA3AF}.crest.k-cl-014::before{background-image:url(crests/cl-014.svg)}
.k-cl-015{--c1:#9CA3AF;--c2:#5B2C83}.crest.k-cl-015::before{background-image:url(crests/cl-015.svg)}
.k-cl-016{--c1:#9CA3AF;--c2:#7A263A}.crest.k-cl-016::before{background-image:url(crests/cl-016.svg)}
.k-cl-017{--c1:#5B2C83;--c2:#7A263A}.crest.k-cl-017::before{background-image:url(crests/cl-017.svg)}
.k-cl-018{--c1:#F47A20;--c2:#5B2C83}.crest.k-cl-018::before{background-image:url(crests/cl-018.svg)}
.k-cl-019{--c1:#FDE68A;--c2:#1E3A8A}.crest.k-cl-019::before{background-image:url(crests/cl-019.svg)}
.k-cl-020{--c1:#F47A20;--c2:#1E3A8A}.crest.k-cl-020::before{background-image:url(crests/cl-020.svg)}
.k-cl-021{--c1:#FFFFFF;--c2:#111111}.crest.k-cl-021::before{background-image:url(crests/cl-021.svg)}
.k-cl-022{--c1:#14532D;--c2:#00205B}.crest.k-cl-022::before{background-image:url(crests/cl-022.svg)}
.k-cl-023{--c1:#B91C1C;--c2:#6CACE4}.crest.k-cl-023::before{background-image:url(crests/cl-023.svg)}
.k-cl-024{--c1:#111111;--c2:#006747}.crest.k-cl-024::before{background-image:url(crests/cl-024.svg)}
.k-cl-025{--c1:#5B2C83;--c2:#C8102E}.crest.k-cl-025::before{background-image:url(crests/cl-025.svg)}
.k-cl-026{--c1:#F47A20;--c2:#0E7C7B}.crest.k-cl-026::before{background-image:url(crests/cl-026.svg)}
.k-cl-027{--c1:#FDE68A;--c2:#7A263A}.crest.k-cl-027::before{background-image:url(crests/cl-027.svg)}
.k-cl-028{--c1:#FDE68A;--c2:#7A263A}.crest.k-cl-028::before{background-image:url(crests/cl-028.svg)}
.k-cl-029{--c1:#111111;--c2:#5B2C83}.crest.k-cl-029::before{background-image:url(crests/cl-029.svg)}
.k-cl-030{--c1:#6CACE4;--c2:#00205B}.crest.k-cl-030::before{background-image:url(crests/cl-030.svg)}
.k-cl-031{--c1:#FFFFFF;--c2:#6CACE4}.crest.k-cl-031::before{background-image:url(crests/cl-031.svg)}
.k-cl-032{--c1:#7A263A;--c2:#1E3A8A}.crest.k-cl-032::before{background-image:url(crests/cl-032.svg)}
.k-cl-033{--c1:#0E7C7B;--c2:#111111}.crest.k-cl-033::before{background-image:url(crests/cl-033.svg)}
.k-cl-034{--c1:#FFFFFF;--c2:#1E3A8A}.crest.k-cl-034::before{background-image:url(crests/cl-034.svg)}
.k-cl-035{--c1:#C8102E;--c2:#00205B}.crest.k-cl-035::before{background-image:url(crests/cl-035.svg)}
.k-cl-036{--c1:#FFFFFF;--c2:#5B2C83}.crest.k-cl-036::before{background-image:url(crests/cl-036.svg)}
.k-cl-037{--c1:#C8102E;--c2:#00205B}.crest.k-cl-037::before{background-image:url(crests/cl-037.svg)}
.k-cl-038{--c1:#0E7C7B;--c2:#FFC72C}.crest.k-cl-038::before{background-image:url(crests/cl-038.svg)}
.k-cl-039{--c1:#C8102E;--c2:#F47A20}.crest.k-cl-039::before{background-image:url(crests/cl-039.svg)}
.k-cl-040{--c1:#7A263A;--c2:#FFFFFF}.crest.k-cl-040::before{background-image:url(crests/cl-040.svg)}
.k-cl-041{--c1:#F47A20;--c2:#1E3A8A}.crest.k-cl-041::before{background-image:url(crests/cl-041.svg)}
.k-cl-042{--c1:#5B2C83;--c2:#14532D}.crest.k-cl-042::before{background-image:url(crests/cl-042.svg)}
.k-cl-043{--c1:#1E3A8A;--c2:#00205B}.crest.k-cl-043::before{background-image:url(crests/cl-043.svg)}
.k-cl-044{--c1:#006747;--c2:#FDE68A}.crest.k-cl-044::before{background-image:url(crests/cl-044.svg)}
.k-cl-045{--c1:#006747;--c2:#7A263A}.crest.k-cl-045::before{background-image:url(crests/cl-045.svg)}
.k-cl-046{--c1:#6CACE4;--c2:#C8102E}.crest.k-cl-046::before{background-image:url(crests/cl-046.svg)}
.k-cl-047{--c1:#14532D;--c2:#FDE68A}.crest.k-cl-047::before{background-image:url(crests/cl-047.svg)}
.k-cl-048{--c1:#5B2C83;--c2:#9CA3AF}.crest.k-cl-048::before{background-image:url(crests/cl-048.svg)}
.k-cl-049{--c1:#FFC72C;--c2:#1E3A8A}.crest.k-cl-049::before{background-image:url(crests/cl-049.svg)}
.k-cl-050{--c1:#006747;--c2:#7A263A}.crest.k-cl-050::before{background-image:url(crests/cl-050.svg)}
.k-cl-051{--c1:#5B2C83;--c2:#F47A20}.crest.k-cl-051::before{background-image:url(crests/cl-051.svg)}
.k-cl-052{--c1:#5B2C83;--c2:#9CA3AF}.crest.k-cl-052::before{background-image:url(crests/cl-052.svg)}
.k-cl-053{--c1:#FFC72C;--c2:#FFFFFF}.crest.k-cl-053::before{background-image:url(crests/cl-053.svg)}
.k-cl-054{--c1:#9CA3AF;--c2:#FFC72C}.crest.k-cl-054::before{background-image:url(crests/cl-054.svg)}
.k-cl-055{--c1:#FFC72C;--c2:#FDE68A}.crest.k-cl-055::before{background-image:url(crests/cl-055.svg)}
.k-cl-056{--c1:#B91C1C;--c2:#14532D}.crest.k-cl-056::before{background-image:url(crests/cl-056.svg)}
.k-cl-057{--c1:#5B2C83;--c2:#FDE68A}.crest.k-cl-057::before{background-image:url(crests/cl-057.svg)}
.k-cl-058{--c1:#1E3A8A;--c2:#7A263A}.crest.k-cl-058::before{background-image:url(crests/cl-058.svg)}
.k-cl-059{--c1:#6CACE4;--c2:#9CA3AF}.crest.k-cl-059::before{background-image:url(crests/cl-059.svg)}
.k-cl-060{--c1:#6CACE4;--c2:#14532D}.crest.k-cl-060::before{background-image:url(crests/cl-060.svg)}
.k-cl-061{--c1:#FFFFFF;--c2:#0E7C7B}.crest.k-cl-061::before{background-image:url(crests/cl-061.svg)}
.k-cl-062{--c1:#5B2C83;--c2:#C8102E}.crest.k-cl-062::before{background-image:url(crests/cl-062.svg)}
.k-cl-063{--c1:#C8102E;--c2:#FDE68A}.crest.k-cl-063::before{background-image:url(crests/cl-063.svg)}
.k-cl-064{--c1:#006747;--c2:#F47A20}.crest.k-cl-064::before{background-image:url(crests/cl-064.svg)}
.k-cl-065{--c1:#9CA3AF;--c2:#006747}.crest.k-cl-065::before{background-image:url(crests/cl-065.svg)}
.k-cl-066{--c1:#111111;--c2:#B91C1C}.crest.k-cl-066::before{background-image:url(crests/cl-066.svg)}
.k-cl-067{--c1:#006747;--c2:#14532D}.crest.k-cl-067::before{background-image:url(crests/cl-067.svg)}
.k-cl-068{--c1:#B91C1C;--c2:#FFC72C}.crest.k-cl-068::before{background-image:url(crests/cl-068.svg)}
.k-cl-069{--c1:#FFFFFF;--c2:#FFC72C}.crest.k-cl-069::before{background-image:url(crests/cl-069.svg)}
.k-cl-070{--c1:#006747;--c2:#FDE68A}.crest.k-cl-070::before{background-image:url(crests/cl-070.svg)}
.k-cl-071{--c1:#6CACE4;--c2:#B91C1C}.crest.k-cl-071::before{background-image:url(crests/cl-071.svg)}
.k-cl-072{--c1:#006747;--c2:#6CACE4}.crest.k-cl-072::before{background-image:url(crests/cl-072.svg)}
.k-cl-073{--c1:#111111;--c2:#5B2C83}.crest.k-cl-073::before{background-image:url(crests/cl-073.svg)}
.k-cl-074{--c1:#5B2C83;--c2:#1E3A8A}.crest.k-cl-074::before{background-image:url(crests/cl-074.svg)}
.k-cl-075{--c1:#FDE68A;--c2:#1E3A8A}.crest.k-cl-075::before{background-image:url(crests/cl-075.svg)}
.k-cl-076{--c1:#F47A20;--c2:#14532D}.crest.k-cl-076::before{background-image:url(crests/cl-076.svg)}
.k-cl-077{--c1:#FDE68A;--c2:#00205B}.crest.k-cl-077::before{background-image:url(crests/cl-077.svg)}
.k-cl-078{--c1:#FFFFFF;--c2:#14532D}.crest.k-cl-078::before{background-image:url(crests/cl-078.svg)}
.k-cl-079{--c1:#9CA3AF;--c2:#F47A20}.crest.k-cl-079::before{background-image:url(crests/cl-079.svg)}
.k-cl-080{--c1:#5B2C83;--c2:#FFFFFF}.crest.k-cl-080::before{background-image:url(crests/cl-080.svg)}
