/* VTL 2027 — palette and letterforms follow the est Cola Volleyball Thailand League 2027 logo */
:root {
    --red: #E8002B;
    --red-press: #C40024;
    --navy: #0A2A5E;
    --navy-deep: #071F47;
    --blue: #0055B9;
    --cyan: #00A7E3;

    --text: #0E1E3D;
    --text-2: #4A546A;
    --text-3: #646C80;
    --bg: #F1F3F7;
    --tint: #F6F7FA;
    --track: #E5E9F0;
    --surface: #FFFFFF;
    --line: rgba(14, 30, 61, .08);
    --line-strong: rgba(14, 30, 61, .16);
    --on-dark: rgba(255, 255, 255, .72);
    --on-dark-3: rgba(255, 255, 255, .56);

    --shadow-sm: 0 0 0 1px rgba(7, 31, 71, .06), 0 1px 2px rgba(7, 31, 71, .05);
    --shadow: 0 0 0 1px rgba(7, 31, 71, .05), 0 2px 4px rgba(7, 31, 71, .04), 0 16px 32px -16px rgba(7, 31, 71, .22);
    --shadow-lg: 0 0 0 1px rgba(7, 31, 71, .04), 0 32px 64px -28px rgba(7, 31, 71, .4);

    --r-xs: 6px;
    --r-sm: 10px;
    --r: 16px;
    --r-lg: 24px;
    --wrap: 1200px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --fast: 180ms;

    --font: "Anuphan", system-ui, sans-serif;
    --font-display: "Righteous", "Anuphan", system-ui, sans-serif;

    /* A volleyball court from above: 18 × 9 m with the centre and attack lines */
    --court: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 904 454' fill='none' stroke='%23fff' stroke-width='3'%3E%3Crect x='2' y='2' width='900' height='450'/%3E%3Cpath d='M452 2v450M302 2v450M602 2v450'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Images are not meant to be dragged out or long-press saved (see also /_v/s.js) */
img {
    max-width: 100%; height: auto; display: block;
    -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0; color: var(--text); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.hero :focus-visible, .page-head :focus-visible, .footer :focus-visible { outline-color: var(--surface); }

header svg, main svg, footer svg, dialog svg { width: 18px; height: 18px; flex: none; }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip {
    position: absolute; left: 16px; top: -64px; z-index: 100;
    padding: 8px 16px; border-radius: var(--r-sm);
    background: var(--navy); color: var(--surface);
}
.skip:focus { top: 16px; }

.wrap { width: min(var(--wrap), 100% - 64px); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.w { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }

.label { margin-bottom: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-3); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px;
    font-weight: 600; font-size: 16px; line-height: 24px;
    text-decoration: none; white-space: nowrap;
    border: 1px solid transparent; border-radius: var(--r-sm);
    cursor: pointer;
    transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { transition: transform var(--fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: var(--surface); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-secondary { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-accent { background: var(--red); color: var(--surface); }
.btn-accent:hover { background: var(--red-press); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .32); color: var(--surface); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .56); }
.btn-block { width: 100%; }
.btn-block:hover svg { transform: none; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; color: var(--navy); text-decoration: none;
}
.link-arrow svg { transition: transform var(--fast) var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Masthead: brand, menu, season, language and club login in one bar */
.masthead {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--line);
}
.masthead-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 40px; height: auto; }
.brand-text { font-family: var(--font-display); font-size: 24px; line-height: 1; letter-spacing: .01em; }
.brand-vtl { color: var(--blue); }
.brand-year { margin-left: 4px; color: var(--red); }

.season-switch { display: inline-flex; flex: none; padding: 3px; background: var(--track); border-radius: 999px; }
.season-switch a {
    padding: 3px 10px; border-radius: 999px;
    font-family: var(--font-display); font-size: 13px; line-height: 20px; letter-spacing: .04em;
    color: var(--text-3); text-decoration: none;
    transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.season-switch a:hover { color: var(--text); }
.season-switch a[aria-current] { background: var(--navy); color: var(--surface); }

.menu { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; }
.menu-links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.menu-links a {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 12px; border-radius: var(--r-xs);
    font-weight: 500; color: var(--text-2); text-decoration: none; white-space: nowrap;
    transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.menu-links a:hover { color: var(--text); background: var(--bg); }
.menu-links a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.menu-links a[aria-current="page"]::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: -16px;
    height: 3px; border-radius: 3px 3px 0 0; background: var(--red);
}
.lang-switch { display: flex; gap: 2px; }
.lang-switch a {
    padding: 4px 8px; border-radius: var(--r-xs);
    font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .02em;
    color: var(--text-3); text-decoration: none;
    transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current] { background: var(--bg); color: var(--navy); }
.menu-cta { min-height: 40px; padding: 0 16px; font-size: 15px; }
.menu-cta:hover svg { transform: none; }
.menu-toggle {
    display: none; margin-left: auto;
    width: 44px; height: 44px; padding: 0;
    align-items: center; justify-content: center;
    background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-sm); color: var(--text);
    cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .ico-close, .menu-toggle[aria-expanded="true"] .ico-open { display: none; }
.menu-toggle[aria-expanded="true"] .ico-close { display: block; }
.menu-toggle[aria-expanded="true"] { background: var(--tint); }

/* Dark bands: home hero and the inner-page title */
.hero, .page-head { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: var(--surface); }
.hero::before, .page-head::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    aspect-ratio: 2; background: var(--court) center / 100% 100% no-repeat;
}
.hero::before { right: -14%; bottom: -30%; width: 78%; opacity: .07; transform: perspective(1200px) rotateX(58deg) rotateZ(-24deg); }
.page-head::before { right: -6%; top: 50%; width: 620px; opacity: .06; transform: translateY(-50%) perspective(900px) rotateX(55deg) rotateZ(-22deg); }
.hero h1, .hero h2, .page-head h1 { color: var(--surface); }

/* Hero: rows of player photos sliding under the navy sheet (alternate rows go the other way) */
.hero-wall {
    position: absolute; inset: 0; z-index: -2; pointer-events: none;
    display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 12px; padding-block: 6px;
}
.hero-wall::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 31, 71, .9) 0%, rgba(7, 31, 71, .84) 45%, rgba(7, 31, 71, .76) 100%),
        linear-gradient(180deg, rgba(7, 31, 71, .3), rgba(7, 31, 71, 0) 30%, rgba(7, 31, 71, 0) 70%, rgba(7, 31, 71, .4));
}
.hero-wall-row { min-height: 0; overflow: hidden; }
/* Clip only sideways, so photos can move a little beyond their row */
@supports (overflow: clip) {
    .hero-wall-row { overflow-x: clip; overflow-y: visible; }
}
.hero-wall-track {
    display: flex; width: max-content; height: 100%;
    animation: hero-wall var(--wall-time, 180s) linear var(--wall-start, 0s) infinite;
    will-change: transform;
}
.hero-wall-row:nth-child(even) .hero-wall-track { animation-direction: reverse; }
.hero-wall-track .wp { flex: none; height: 100%; aspect-ratio: 1; margin-right: 12px; }
.hero-wall-track .wp img { --bu-blur: 6px; }
@keyframes hero-wall { to { transform: translate3d(-50%, 0, 0); } }
/* Each photo's own animation (.wa1 …) lives in wall-fx.css, shared with the VIMS admin picker */

/* Off screen (see vtl2027.js) and for reduced motion the wall rests */
.hero-wall.is-paused .hero-wall-track, .hero-wall.is-paused .wp, .hero-wall.is-paused .wp::before, .hero-wall.is-paused .wp::after, .hero-wall.is-paused .wp > img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
    .hero-wall-track, .wp, .wp > img { animation: none; }
    .wp::before, .wp::after { display: none; }
}

/* Photos load blurred from a tiny placeholder (inline background) and sharpen once decoded.
   The .js class and the load listener sit in the page head, so without scripts photos are never blurred. */
img.bu { background-size: cover; background-position: center; background-repeat: no-repeat; }
.js img.bu { transition: filter .8s var(--ease), transform .8s var(--ease); }
.js img.bu:not(.is-loaded) { filter: blur(var(--bu-blur, 12px)); }
.js :is(.pcard-photo, .scard-photo, .player-photo, .player-switch-face) > img.bu:not(.is-loaded) { transform: scale(1.12); }

/* Hero */
.hero-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px; align-items: center;
    padding-block: 88px;
}
.hero:has(+ .matchday) .hero-grid { padding-bottom: 152px; }
.hero h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.12; letter-spacing: -.01em; }
html[lang="en"] .hero h1 { letter-spacing: -.025em; }
/* The logo's misregistered print: a gap in the background colour, then a cyan edge */
.hero-year {
    display: inline-block;
    font-family: var(--font-display); font-weight: 400; letter-spacing: 0;
    color: var(--red);
    text-shadow: .045em 0 0 var(--navy-deep), .085em 0 0 var(--cyan);
}
.hero-lead { margin-top: 20px; max-width: 520px; font-size: 20px; line-height: 30px; color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-visual img { width: 100%; max-width: 600px; margin-left: auto; }

/* Home: the next match day, overlapping the hero */
.matchday { position: relative; z-index: 2; margin-top: -88px; }
.matchday-panel { padding: 24px 28px 28px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.matchday-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.matchday-heading h2 { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--red); }
.matchday-when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-top: 4px; }
.matchday-date { font-size: 24px; line-height: 32px; font-weight: 600; }
.matchday-venue { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--text-3); }
main .matchday-venue svg { width: 16px; height: 16px; align-self: center; }
.mc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.mc { padding: 16px 20px 18px; background: var(--tint); border-radius: var(--r); }
.mc-top { display: flex; align-items: center; gap: 12px; min-height: 28px; margin-bottom: 14px; }
.mc-time { font-family: var(--font-display); font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.mc-top .tv { margin-left: auto; }
.mc-top .tv img { height: 20px; }
.mc-teams { display: grid; gap: 10px; }
.mc-team { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; font-weight: 600; line-height: 22px; }
.mc-crest { width: 36px; height: 36px; object-fit: contain; }
.mc-team .crest-initials { width: 36px; font-size: 12px; }
.mc-team a { text-decoration: none; }
.mc-team a:hover { color: var(--navy); text-decoration: underline; }
.mc-score { font-family: var(--font-display); font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums; }
.mc-team.is-lost { font-weight: 500; color: var(--text-3); }

/* Inner page title band */
.page-head > .wrap { position: relative; padding-block: 44px 52px; }
.page-head h1 { margin-top: 14px; font-size: clamp(34px, 4vw, 52px); line-height: 1.12; letter-spacing: -.01em; }
.page-lead { margin-top: 12px; max-width: 640px; font-size: 18px; line-height: 28px; color: var(--text-2); }
.page-head .page-lead { color: var(--on-dark); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; line-height: 20px; color: var(--on-dark-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .28); }
.crumbs li[aria-current] { color: var(--on-dark); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--surface); text-decoration: underline; }
.page-body { padding-block: 40px 96px; }
.page-body .tabs { margin-bottom: 24px; }
.block-title { margin-bottom: 16px; font-size: 22px; line-height: 30px; }

/* Sections */
.section { padding-block: 88px; }
.matchday + .section { padding-top: 72px; }
.sec-head { margin-bottom: 32px; max-width: 736px; }
.sec-head h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.01em; }
.sec-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: none; }

/* Segmented tabs */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--track); border-radius: 12px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
    display: inline-flex; align-items: center; gap: 8px; flex: none;
    min-height: 40px; padding: 0 18px;
    background: transparent; color: var(--text-2);
    border: 0; border-radius: 9px; cursor: pointer;
    font-weight: 600; font-size: 15px;
    transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.tabs button span {
    min-width: 22px; padding: 0 6px; border-radius: 999px;
    background: rgba(10, 42, 94, .08);
    font-size: 12px; line-height: 20px; font-variant-numeric: tabular-nums; color: var(--text-3);
}
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--navy); box-shadow: 0 1px 2px rgba(7, 31, 71, .12), 0 0 0 1px rgba(7, 31, 71, .04); }
.tabs button[aria-selected="true"] span { background: var(--navy); color: var(--surface); }
.tabs button:hover:not([aria-selected="true"]) { color: var(--text); }

/* Division tag */
.fx-gender {
    display: inline-flex; align-items: center; justify-self: start;
    height: 24px; padding: 0 10px; border-radius: 999px;
    background: rgba(0, 85, 185, .09); color: var(--blue);
    font-size: 13px; line-height: 1; font-weight: 600; white-space: nowrap;
}
.fx-women { background: rgba(232, 0, 43, .08); color: var(--red-press); }
.page-head .fx-gender { background: rgba(255, 255, 255, .12); color: var(--surface); }

/* Clubs: both divisions one after the other */
.club-division + .club-division { margin-top: 48px; }
.club-division-title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 26px; line-height: 34px; }
.club-division-title::before { content: ""; flex: none; width: 6px; height: 28px; border-radius: 3px; background: var(--red); }
.club-division-title .block-count { --club: var(--navy); }
/* Clubs: sporty team cards in the club's colour (from its crest) with a crest badge, team code, faces and numbers */
.club-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.club-grid > li { display: flex; animation: club-in .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes club-in { from { opacity: 0; translate: 0 12px; } }
.club {
    --club: var(--navy);
    position: relative; flex: 1;
    display: flex; flex-direction: column;
    background: var(--surface); color: inherit; text-decoration: none;
    border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
    overflow: hidden; isolation: isolate;
    transition: box-shadow var(--fast) var(--ease), transform .3s var(--ease);
}
.club::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 2;
    background: var(--club);
    transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease);
}
.club:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.club:hover::after, .club:focus-visible::after { transform: scaleX(1); }
.club:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.club-top {
    position: relative; display: grid; place-items: center; height: 200px; overflow: hidden;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .22), transparent 60%),
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .07) 0 12px, transparent 12px 26px),
        linear-gradient(150deg, var(--club) 0%, color-mix(in srgb, var(--club) 45%, var(--navy-deep)) 100%);
    color: var(--surface);
}
/* Court lines and a shine that sweeps across on hover */
.club-top::before {
    content: ""; position: absolute; inset: 14px; border: 2px solid rgba(255, 255, 255, .14); border-radius: 12px;
    background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, .14) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
}
.club-top::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 48%, transparent 60%) 120% 0 / 250% 100% no-repeat;
    transition: background-position .8s var(--ease);
}
.club:hover .club-top::after { background-position: -20% 0; }
.club-code {
    position: absolute; right: 16px; top: 10px; z-index: 0;
    font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: .02em;
    color: rgba(255, 255, 255, .28); transition: transform .5s var(--ease), color .3s var(--ease);
}
.club:hover .club-code { transform: translateX(-6px); color: rgba(255, 255, 255, .5); }
.club-gender {
    position: absolute; left: 14px; top: 14px; z-index: 2; padding: 3px 10px; border-radius: 999px;
    background: rgba(0, 0, 0, .25); font-size: 12px; line-height: 18px; font-weight: 600;
    backdrop-filter: blur(4px);
}
.club-logo {
    position: relative; z-index: 1; display: grid; place-items: center; width: 136px; height: 136px; margin-top: -14px;
    background: var(--surface); border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .18), 0 18px 32px -12px rgba(0, 0, 0, .55);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.club:hover .club-logo { transform: scale(1.07); box-shadow: 0 0 0 10px rgba(255, 255, 255, .22), 0 24px 40px -14px rgba(0, 0, 0, .6); }
/* Crests are pre-cropped to the same visual weight, so one fixed box keeps them even */
.club-logo .crest { width: 104px; height: 104px; object-fit: contain; }
.club-faces { position: absolute; left: 14px; bottom: 12px; z-index: 2; display: flex; align-items: center; }
.club-faces img, .club-faces-more {
    width: 30px; height: 30px; margin-left: -9px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--surface); background-color: var(--track); background-size: cover;
    transition: margin .3s var(--ease);
}
.club-faces img:first-child { margin-left: 0; }
.club:hover .club-faces img, .club:hover .club-faces-more { margin-left: -3px; }
.club:hover .club-faces img:first-child { margin-left: 0; }
.club-faces-more {
    display: grid; place-items: center; background: var(--red); color: var(--surface);
    font-size: 11px; line-height: 1; font-weight: 600;
}
.club-meta, .club-name, .club-sub { display: block; }
.club-meta { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 18px; }
.club-name { font-size: 18px; line-height: 25px; font-weight: 600; transition: color var(--fast) var(--ease); }
.club:hover .club-name { color: var(--club); }
.club-sub { margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--text-3); }
.club-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.club-stat { display: grid; gap: 2px; padding-left: 10px; border-left: 1px solid var(--line); }
.club-stat:first-child { padding-left: 0; border-left: 0; }
.club-stat-num { font-family: var(--font-display); font-size: 22px; line-height: 26px; color: var(--navy); font-variant-numeric: tabular-nums; }
.club-stat-label { font-size: 11px; line-height: 14px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.club-go {
    display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px;
    font-size: 14px; line-height: 20px; font-weight: 600; color: var(--club);
}
.club-go svg { width: 16px; height: 16px; transition: transform var(--fast) var(--ease); }
.club:hover .club-go svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
    .club-grid > li { animation: none; }
}
.crest-initials {
    display: grid; place-items: center; aspect-ratio: 1;
    border-radius: 50%;
    background: var(--navy); color: var(--surface);
    font-family: var(--font-display); font-size: 14px; line-height: 1;
}
.club-logo .crest-initials { width: 104px; font-size: 32px; }

/* Home: crests */
.crest-rows { display: grid; gap: 28px; }
.crest-row { display: grid; gap: 14px; }
.crest-row-head { display: flex; align-items: center; gap: 12px; }
.crest-row-head::after { content: ""; order: 1; flex: 1; height: 1px; background: var(--line-strong); }
.crest-row-label {
    display: inline-flex; align-items: center; gap: 8px; margin: 0;
    font-size: 15px; line-height: 20px; font-weight: 700; color: var(--navy);
}
.crest-row-label::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--red); }
.crest-row-men .crest-row-label::before { background: var(--blue); }
.crest-row-count { order: 2; font-size: 13px; font-weight: 500; color: var(--text-3); white-space: nowrap; }
.crest-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.crest-strip li { display: grid; }
.crest-strip a {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 10px; padding: 18px 8px 14px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--club) 13%, var(--surface)) 0, var(--surface) 58%);
    border-radius: var(--r); box-shadow: var(--shadow-sm);
    color: var(--text); text-align: center; text-decoration: none;
    transition: box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.crest-strip a::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 3px; z-index: 1;
    background: var(--club, var(--navy));
}
.crest-disc {
    position: relative; display: grid; place-items: center; width: 84px; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 50% 42%, var(--surface) 0 52%, color-mix(in srgb, var(--club) 16%, var(--surface)) 100%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--club) 22%, transparent), 0 6px 14px -8px color-mix(in srgb, var(--club) 70%, transparent);
    transition: transform var(--fast) var(--ease);
}
.crest-strip .crest { width: 80%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(7, 31, 71, .18)); }
.crest-short {
    align-self: center; min-height: 36px; display: grid; place-items: center;
    font-size: 13px; line-height: 18px; font-weight: 600; text-wrap: balance; overflow-wrap: anywhere;
}
.crest-code {
    padding: 2px 9px; border-radius: 999px;
    font-family: var(--font-display); font-size: 11.5px; line-height: 16px; letter-spacing: .1em;
    color: color-mix(in srgb, var(--club) 78%, #000); background: color-mix(in srgb, var(--club) 11%, var(--surface));
}
.crest-strip a:hover { box-shadow: var(--shadow), 0 18px 30px -18px color-mix(in srgb, var(--club) 80%, transparent); transform: translateY(-4px); }
.crest-strip a:hover .crest-disc { transform: scale(1.07); }
.crest-strip a:hover .crest-short { color: var(--navy); }
.crest-strip a:focus-visible { outline: 2px solid var(--club); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    .crest-strip a, .crest-disc { transition: none; }
    .crest-strip a:hover, .crest-strip a:hover .crest-disc { transform: none; }
}

/* Schedule */
.empty {
    display: grid; gap: 12px; justify-items: start;
    padding: 32px;
    background: var(--surface);
    border-radius: var(--r); box-shadow: var(--shadow-sm);
}
.empty-title { font-size: 20px; line-height: 28px; font-weight: 600; }

.schedule { --phase-color: var(--navy); }
.schedule [hidden] { display: none !important; }
.schedule [data-phase="leg2"] { --phase-color: var(--blue); }
.schedule [data-phase="finals"] { --phase-color: var(--red-press); }
.schedule-filters { display: grid; justify-items: center; gap: 16px; margin-bottom: 28px; }
.schedule-genders { display: flex; flex: none; gap: 4px; padding: 6px; background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }
.schedule-genders button {
    padding: 8px 20px; border: 0; border-radius: var(--r-xs);
    background: transparent; color: var(--text-2); font-weight: 600; cursor: pointer;
}
.schedule-genders button[aria-pressed="true"] { background: var(--navy); color: var(--surface); }
.schedule-genders button[data-gender-filter="women"][aria-pressed="true"] { background: var(--red-press); }
.schedule-team-filter {
    display: flex; align-items: center; gap: 12px; min-width: 0; max-width: 560px; flex: 1;
    padding: 6px 12px; background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow-sm);
}
.schedule-team-filter label { flex: none; font-size: 14px; color: var(--text-2); }
/* Team filter as club crests, women above men */
.schedule-filters .schedule-team-filter { display: block; width: 100%; max-width: none; padding: 8px 16px; }
.team-picker-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 0; transition: opacity var(--fast) var(--ease); }
.team-picker-row + .team-picker-row { border-top: 1px solid var(--line); }
.team-picker-row.is-dim { opacity: .35; }
.team-picker-label { justify-self: start; }
.team-picker-list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.team-pick {
    display: grid; justify-items: center; gap: 4px; padding: 8px 4px 6px; border: 0; border-radius: var(--r-sm);
    background: transparent; color: var(--text-2); font: inherit; font-size: 12px; line-height: 16px; font-weight: 600; cursor: pointer;
    transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), opacity var(--fast) var(--ease);
}
.team-pick-crest {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface);
    box-shadow: 0 0 0 2px var(--line); transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.team-pick-crest .crest { width: 40px; height: 40px; object-fit: contain; }
.team-pick-crest .crest-initials { width: 40px; font-size: 12px; }
.team-pick-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-pick:hover { background: var(--bg); color: var(--text); }
.team-pick:hover .team-pick-crest { transform: scale(1.08); box-shadow: 0 0 0 2px var(--club); }
.team-pick:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.has-pick .team-pick:not([aria-pressed="true"]) { opacity: .5; }
.team-pick[aria-pressed="true"] { background: color-mix(in srgb, var(--club) 10%, var(--surface)); color: var(--club); }
.team-pick[aria-pressed="true"] .team-pick-crest { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--club); }
.schedule-team-filter select { min-width: 0; width: 100%; padding: 10px 28px 10px 12px; border: 1px solid var(--line); border-radius: var(--r-xs); font: inherit; font-size: 14px; background: var(--surface); color: var(--text); }
.schedule-date-picker { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--track); border-radius: var(--r); }
.schedule-date-scroller { display: grid; flex: 1; min-width: 0; gap: 10px; }
.schedule-date-track { display: flex; min-width: 0; gap: 16px; padding: 3px; scroll-snap-type: x proximity; }
.schedule-month { display: grid; flex: none; gap: 8px; }
.schedule-month-bar { display: flex; align-items: center; height: 30px; border-radius: var(--r-xs); background: var(--navy); color: var(--surface); }
.schedule-month-label { position: sticky; left: 0; padding-inline: 12px; font-size: 14px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.schedule-month-days { display: flex; gap: 10px; }
.schedule-date {
    display: grid; justify-items: center; align-content: center; flex: 0 0 80px; gap: 2px; padding: 10px 6px;
    background: var(--surface); border: 1px solid transparent; border-radius: var(--r-sm);
    color: var(--text); text-decoration: none; scroll-snap-align: center;
}
.schedule-date:hover, .schedule-date[aria-current] { border-color: var(--phase-color); box-shadow: inset 0 0 0 1px var(--phase-color); }
.schedule-date-weekday, .schedule-date-month { font-size: 13px; line-height: 18px; color: var(--text-2); }
.schedule-date-number { font-family: var(--font-display); font-size: 28px; line-height: 32px; }
.schedule-date-phase { margin-top: 4px; padding: 1px 6px; border-radius: 999px; background: var(--phase-color); color: var(--surface); font-size: 11px; line-height: 16px; }
.schedule-jumps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0 36px; }
.schedule-jumps a { padding: 7px 20px; border-radius: 999px; background: var(--phase-color); color: var(--surface); font-size: 14px; font-weight: 600; text-decoration: none; }
.schedule-jumps a:hover { text-decoration: underline; }
.schedule-phase, .fx-day, .day-info { scroll-margin-top: var(--sched-offset, 96px); }
.schedule-phase + .schedule-phase { margin-top: 40px; }
.schedule-phase-title { margin-bottom: 16px; padding: 16px 24px; border-radius: var(--r-sm); background: var(--phase-color); color: var(--surface); font-size: 20px; line-height: 28px; }
.weeks { display: grid; gap: 24px; }
.wk { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.wk-head {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center; gap: 8px 20px; padding: 16px 20px;
    background: var(--navy); color: var(--surface);
}
.wk-no { font-size: 15px; line-height: 22px; font-weight: 600; color: inherit; }
.wk-dates { padding: 4px 10px; border-radius: var(--r-xs); background: var(--surface); color: var(--navy); font-size: 13px; line-height: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wk-venue { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; line-height: 22px; color: var(--on-dark); }
.wk-venue svg, .day-venue svg { width: 16px; height: 16px; }
.day-venue svg { color: var(--red); }

.fx-date { margin: 0; padding: 12px 20px; background: #EAF1FA; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--navy); }
.fx-day + .fx-day { border-top: 1px solid var(--line); }
.fx-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.fx-table th { padding: 10px 8px; background: var(--tint); font-size: 13px; line-height: 20px; font-weight: 500; color: var(--text-2); text-align: center; }
.fx-table th:first-child { width: 52px; }
.fx-table th:nth-child(2) { width: 76px; }
.fx-table th:nth-child(4) { width: 88px; }
.fx-table th:nth-child(6) { width: 80px; }
.fx-table th:last-child { width: 128px; }
.fx td { padding: 16px 8px; border-top: 1px solid var(--line); vertical-align: middle; text-align: center; }
.fx td:first-child { border-left: 3px solid var(--blue); }
.fx[data-gender="women"] td:first-child { border-left-color: var(--red); }
.fx:hover { background: var(--tint); }
.fx-number { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.fx-time { font-family: var(--font-display); font-size: 18px; font-variant-numeric: tabular-nums; }
.fx-team { display: flex; align-items: center; gap: 12px; font-weight: 600; line-height: 22px; min-width: 0; }
.fx-team img, .fx-crest { width: 36px; height: 36px; object-fit: contain; flex: none; }
.fx-team .crest-initials { width: 36px; font-size: 12px; }
.fx-home { justify-content: flex-end; text-align: right; }
.fx-name { text-decoration: none; }
.fx-name:hover { color: var(--navy); text-decoration: underline; }
.fx-team.is-lost .fx-name { color: var(--text-3); font-weight: 500; }
.fx-vs, .cm-vs {
    display: inline-grid; place-items: center; justify-self: center;
    min-width: 40px; height: 26px; padding: 0 8px; border-radius: var(--r-xs);
    background: var(--tint); color: var(--text-3);
    font-family: var(--font-display); font-size: 13px; line-height: 1;
}
.fx-score {
    display: inline-flex; align-items: center; justify-self: center; gap: 6px;
    height: 34px; padding: 0 12px; border-radius: var(--r-sm);
    background: var(--navy); color: var(--surface);
    font-family: var(--font-display); font-size: 18px; line-height: 1;
    font-variant-numeric: tabular-nums; cursor: default;
}
.fx-score i { font-style: normal; color: rgba(255, 255, 255, .5); }
.fx-tv { text-align: center; }

.phase-note { margin-bottom: 16px; font-size: 14px; line-height: 20px; color: var(--text-3); }
.wk-locked .wk-head { grid-template-columns: 180px minmax(0, 1fr); background: var(--surface); color: var(--text); }
.days { display: flex; flex-wrap: wrap; gap: 8px; }
.day {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 44px; padding: 0 14px;
    background: var(--surface); color: var(--text);
    border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    cursor: pointer;
    transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.day-wd { font-size: 13px; color: var(--text-3); }
.day-dm { font-weight: 600; font-variant-numeric: tabular-nums; }
.day:hover { border-color: var(--navy); }
.day[aria-expanded="true"] { background: var(--navy); border-color: var(--navy); color: var(--surface); }
.day[aria-expanded="true"] .day-wd { color: var(--on-dark); }
.day-info {
    display: grid; grid-template-columns: 240px minmax(0, 1fr);
    align-items: start; gap: 12px 24px;
    padding: 20px 24px 24px;
    border-top: 1px solid var(--line);
    background: var(--tint);
}
.day-info[hidden] { display: none; }
.day-date { font-weight: 600; white-space: nowrap; }
.day-venue { display: flex; gap: 8px; }
.day-venue svg { margin-top: 4px; }
.day-venue small { display: block; font-size: 14px; line-height: 20px; color: var(--text-3); }
.slots { grid-column: 2; display: grid; gap: 6px; }
.slots li { display: flex; align-items: center; gap: 16px; min-height: 52px; padding: 0 16px; background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }
.slots .fx-time { width: 56px; }
.slots .fx-gender { min-width: 56px; justify-content: center; }
.slot-round { font-size: 14px; color: var(--text-2); }
.slots .tv { margin-left: auto; }

.schedule-note { margin-top: 24px; font-size: 13px; line-height: 20px; color: var(--text-3); }
.schedule-note a { color: var(--navy); font-weight: 600; }

/* Broadcaster logos */
.tv { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.tv img { width: auto; height: 22px; }

/* Standings */
.standings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.st-card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.st-card h2 { padding: 18px 24px; font-size: 18px; line-height: 26px; }
.st { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.st th { padding: 10px 8px; background: var(--tint); font-size: 13px; line-height: 20px; font-weight: 600; color: var(--text-3); text-align: center; white-space: nowrap; }
.st td { padding: 12px 8px; border-top: 1px solid var(--line); text-align: center; }
.st td:not(.st-club) { white-space: nowrap; }
.st abbr { text-decoration: none; cursor: help; }
.st .st-rank { width: 52px; padding-left: 24px; text-align: left; }
.st td.st-rank { font-family: var(--font-display); color: var(--text-3); }
.st th.st-club, .st td.st-club { text-align: left; }
.st-club a { display: flex; align-items: center; gap: 12px; font-weight: 600; line-height: 22px; text-decoration: none; }
.st-club a:hover span { color: var(--navy); text-decoration: underline; }
.st-crest { width: 30px; height: 30px; object-fit: contain; flex: none; }
.st-club .crest-initials { width: 30px; font-size: 11px; }
.st .st-sets { color: var(--text-2); }
.st .st-pts { padding-right: 24px; font-weight: 600; color: var(--navy); }
.st tbody tr { transition: background-color var(--fast) var(--ease); }
.st tbody tr:hover { background: var(--tint); }

/* Club page */
.club-head-grid { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 40px; align-items: center; }
.club-head-crest {
    display: grid; place-items: center; width: 168px; aspect-ratio: 1; padding: 20px;
    background: var(--surface); border-radius: var(--r-lg);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .5);
}
.club-head-crest .crest { width: 128px; height: 128px; object-fit: contain; }
.club-head-crest .crest-initials { width: 128px; font-size: 44px; }
.club-head-division { margin-top: 16px; }
.club-head h1 { margin-top: 10px; }
.club-head-sub { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--on-dark-3); }
.club-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }

.cm-list { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.cm {
    display: grid; grid-template-columns: 200px minmax(0, 1.3fr) minmax(0, 1fr) 112px 88px;
    align-items: center; gap: 16px; padding: 16px 24px;
}
.cm + .cm { border-top: 1px solid var(--line); }
.cm-when { display: flex; align-items: baseline; gap: 12px; }
.cm-date { font-weight: 600; white-space: nowrap; }
.cm-wd { font-weight: 400; color: var(--text-3); }
.cm-time { font-family: var(--font-display); font-variant-numeric: tabular-nums; color: var(--text-2); }
.cm-opp { display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 600; line-height: 22px; }
.cm-opp a { text-decoration: none; }
.cm-opp a:hover { color: var(--navy); text-decoration: underline; }
.cm-opp .crest-initials { width: 36px; font-size: 12px; }
.cm-vs { flex: none; }
.cm-venue { font-size: 14px; line-height: 20px; color: var(--text-3); }
.cm-tv, .cm-result { justify-self: end; }
.cm-list:not(.has-results) .cm { grid-template-columns: 200px minmax(0, 1.3fr) minmax(0, 1fr) 112px; }
.cm-list:not(.has-results) .cm-result { display: none; }
.cm-outcome { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: default; }
.cm-outcome.is-won { background: var(--navy); color: var(--surface); }
.cm-outcome.is-lost { background: var(--track); color: var(--text-2); }
.club-note { margin: 16px 0 0; }
.club-note a { color: var(--navy); font-weight: 600; }

/* Club squad: player cards and team staff */
.squad-sub { margin: -6px 0 20px; font-size: 14px; line-height: 20px; color: var(--text-3); }
.squad { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 16px; }
.pcard, .scard { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.pcard { display: flex; flex-direction: column; }
.pcard-photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--track); }
.pcard-photo img, .scard-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.face-blank {
    display: block; width: 100%; height: 100%;
    background: var(--track) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%230E1E3D' fill-opacity='.16'%3E%3Ccircle cx='32' cy='24' r='12'/%3E%3Cpath d='M10 60c0-13 10-21 22-21s22 8 22 21z'/%3E%3C/svg%3E") center bottom / 70% no-repeat;
}
.pcard-no {
    position: absolute; left: 10px; top: 10px;
    display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px;
    border-radius: 12px; background: var(--navy); color: var(--surface);
    font-family: var(--font-display); font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums;
    box-shadow: 0 8px 16px -8px rgba(7, 31, 71, .7);
}
.pcard-cap {
    position: absolute; right: 10px; top: 10px;
    display: grid; place-items: center; width: 30px; height: 30px;
    border-radius: 50%; background: var(--red); color: var(--surface);
    font-size: 14px; line-height: 1; font-weight: 600; text-decoration: none; cursor: help;
    box-shadow: 0 8px 16px -8px rgba(196, 0, 36, .8);
}
.pcard-body { flex: 1; padding: 14px 16px 14px; }
.pcard-pos, .scard-role { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--red-press); }
.pcard-name { margin-top: 4px; font-size: 16px; line-height: 22px; font-weight: 600; }
.pcard-alt { margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--text-3); }
.pcard-nat {
    display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 999px;
    background: rgba(0, 85, 185, .09); color: var(--blue); font-size: 12px; line-height: 18px;
}
.pcard-nat strong { font-weight: 600; }
.pcard-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 10px 8px 12px; border-top: 1px solid var(--line); text-align: center; }
.pcard-stats > div + div { border-left: 1px solid var(--line); }
.pcard-stats dt { font-size: 11px; line-height: 16px; color: var(--text-3); }
.pcard-stats dd { margin: 0; font-family: var(--font-display); font-size: 17px; line-height: 22px; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pcard-stats small { margin-left: 2px; font-family: var(--font); font-size: 11px; color: var(--text-3); }
.staff { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 12px; }
.scard { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px; }
.scard-photo { width: 80px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--track); }
.scard-role { color: var(--blue); }
.scard.is-head .scard-role { color: var(--red-press); }
.scard-name { margin-top: 2px; font-size: 15px; line-height: 21px; font-weight: 600; }

/* Club header: the squad's photos sliding under the navy sheet, and club facts */
.club-wall { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.club-wall::after {
    background:
        linear-gradient(90deg, rgba(7, 31, 71, .95) 0%, rgba(7, 31, 71, .88) 45%, rgba(7, 31, 71, .8) 100%),
        linear-gradient(180deg, rgba(7, 31, 71, .25), rgba(7, 31, 71, 0) 35%, rgba(7, 31, 71, .55));
}
.club-facts { display: flex; flex-wrap: wrap; gap: 16px 0; margin: 32px 0 0 208px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.club-fact { padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.club-fact:first-child { padding-left: 0; border-left: 0; }
.club-fact dt { font-size: 13px; line-height: 18px; color: var(--on-dark-3); }
.club-fact dd { margin: 4px 0 0; color: var(--surface); }
.club-fact-num { font-family: var(--font-display); font-size: 28px; line-height: 34px; font-variant-numeric: tabular-nums; }
.club-fact small { font-size: 13px; color: var(--on-dark); }
.club-fact-note { display: block; font-size: 12px; line-height: 16px; color: var(--on-dark-3); }
.club-fact.is-text dd { font-size: 17px; line-height: 34px; font-weight: 600; }

/* Club page in the club's colour (from its crest, like the clubs page cards) */
.club-sport { --club: var(--navy); }
.club-sport .club-wall::after {
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 14px, transparent 14px 30px),
        linear-gradient(90deg, color-mix(in srgb, var(--club) 70%, var(--navy-deep)) 0%, color-mix(in srgb, var(--club) 45%, rgba(7, 31, 71, .9)) 50%, color-mix(in srgb, var(--club) 25%, rgba(7, 31, 71, .78)) 100%),
        linear-gradient(180deg, rgba(7, 31, 71, .2), rgba(7, 31, 71, 0) 35%, rgba(7, 31, 71, .55));
    opacity: .96;
}
.club-sport:not(.has-wall) { background: linear-gradient(120deg, var(--club), color-mix(in srgb, var(--club) 35%, var(--navy-deep))); }
.club-sport::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
    background: linear-gradient(90deg, var(--club) 0 60%, var(--red) 60%);
}
.club-head-code {
    position: absolute; right: 2%; top: 50%; translate: 0 -50%; z-index: 0; pointer-events: none;
    font-family: var(--font-display); font-size: clamp(120px, 17vw, 260px); line-height: 1; letter-spacing: -.02em;
    color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .16);
}
.club-sport .wrap { z-index: 1; }
.club-sport .club-head-crest {
    position: relative; border-radius: 50%; padding: 22px;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, .14), 0 24px 48px -20px rgba(0, 0, 0, .6);
}
/* Spinning ring in the crest's own colours (--ring1-3, from v27_crest_palette) */
.club-sport .club-head-crest::after {
    content: ""; position: absolute; inset: -9px; border-radius: 50%; pointer-events: none;
    background: conic-gradient(var(--ring1, var(--club)) 0 26%, transparent 26% 33.3%, var(--ring2, #fff) 33.3% 59.3%, transparent 59.3% 66.6%, var(--ring3, var(--club)) 66.6% 92.6%, transparent 92.6%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
    animation: crest-spin 5s linear infinite;
}
@keyframes crest-spin { to { rotate: 360deg; } }
.club-sport .club-head-crest .crest { width: 124px; height: 124px; }
.club-sport .fx-gender { background: var(--red); }
.club-sport .club-facts { gap: 12px; border-top: 0; padding-top: 0; }
.club-sport .club-fact, .club-sport .club-fact:first-child {
    position: relative; min-width: 128px; padding: 14px 18px 14px; border-left: 0; overflow: hidden;
    background: rgba(255, 255, 255, .09); border-radius: var(--r-sm); backdrop-filter: blur(6px);
    box-shadow: inset 0 3px 0 color-mix(in srgb, var(--club) 50%, var(--surface));
}
.club-sport .club-fact.is-text { box-shadow: inset 0 3px 0 var(--red); }
.club-sport .club-fact-num { font-size: 32px; line-height: 36px; }

/* Section titles with a club-colour bar and a count */
.club-page .block-title { display: flex; align-items: center; gap: 12px; }
.club-page .block-title::before { content: ""; flex: none; width: 6px; height: 26px; border-radius: 3px; background: var(--club); }
.block-count {
    display: inline-grid; place-items: center; min-width: 32px; height: 28px; padding: 0 8px; border-radius: 999px;
    background: var(--club); color: var(--surface); font-family: var(--font-display); font-size: 15px; line-height: 1;
}

/* Matches: VS badge and a club-colour edge on hover */
.club-page .cm { position: relative; transition: background-color var(--fast) var(--ease); }
.club-page .cm::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--club); transform: scaleY(0); transition: transform .3s var(--ease); }
.club-page .cm:hover { background: color-mix(in srgb, var(--club) 5%, var(--surface)); }
.club-page .cm:hover::before { transform: scaleY(1); }
.club-page .cm-vs {
    display: grid; place-items: center; width: 40px; height: 28px; border-radius: 8px;
    background: var(--club); color: var(--surface);
    font-family: var(--font-display); font-size: 14px; line-height: 1;
}

/* Player cards: jersey number, club-colour details, lift, zoom and shine on hover */
.club-page .squad { gap: 18px; }
.club-page .pcard { container-type: inline-size; isolation: isolate; border-radius: var(--r-lg); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.club-page .pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.club-page .pcard-photo { background: linear-gradient(160deg, color-mix(in srgb, var(--club) 25%, var(--surface)), var(--track)); }
.club-page .pcard-photo::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(180deg, transparent 62%, color-mix(in srgb, var(--club) 55%, transparent)),
        linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .45) 48%, transparent 60%) 130% 0 / 250% 100% no-repeat;
    transition: background-position .8s var(--ease);
}
.club-page .pcard:hover .pcard-photo::after { background-position: 0 0, -30% 0; }
.club-page .pcard-photo img { transition: scale .5s var(--ease), filter .8s var(--ease); }
.club-page .pcard:hover .pcard-photo img { scale: 1.07; }
.club-page .pcard-no {
    left: 12px; top: 12px; z-index: 1; min-width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--club), color-mix(in srgb, var(--club) 50%, var(--navy-deep)));
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 10px 18px -8px rgba(0, 0, 0, .6); font-size: 24px;
}
.club-page .pcard-cap { z-index: 1; background: linear-gradient(135deg, #f7c948, #d99a00); color: var(--navy-deep); box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.pcard-bigno {
    position: absolute; right: 10px; top: calc(100cqw + 6px); z-index: -1; pointer-events: none;
    font-family: var(--font-display); font-size: 64px; line-height: 1;
    color: color-mix(in srgb, var(--club) 9%, transparent); transition: color .3s var(--ease), translate .4s var(--ease);
}
.club-page .pcard:hover .pcard-bigno { color: color-mix(in srgb, var(--club) 18%, transparent); translate: -6px 0; }
.club-page .pcard:hover .pcard-name { color: var(--club); }
.club-page .pcard-stats { background: color-mix(in srgb, var(--club) 5%, var(--surface)); }
.club-page .pcard-stats dd { color: var(--club); }
.club-page .pcard::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 2;
    background: var(--club); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease);
}
.club-page .pcard:hover::after { transform: scaleX(1); }

/* Staff cards */
.club-page .scard { position: relative; border-radius: var(--r); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.club-page .scard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.club-page .scard-photo { border-radius: 50%; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px color-mix(in srgb, var(--club) 60%, transparent); }
.club-page .scard-role { color: var(--club); }
.club-page .scard.is-head { background: linear-gradient(120deg, color-mix(in srgb, var(--club) 10%, var(--surface)), var(--surface) 60%); }
.club-page .scard.is-head .scard-role { color: var(--red-press); }

/* Cards rise in as they scroll into view (vtl2027.js adds .is-in) */
.js .reveal { transition: opacity .6s var(--ease), translate .6s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.js .reveal:not(.is-in) { opacity: 0; translate: 0 12px; }
@media (prefers-reduced-motion: reduce) {
    .club-sport .club-head-crest::after { animation: none; }
    .js .reveal:not(.is-in) { opacity: 1; translate: none; }
}

/* Horizontal scrollers (schedule dates, club and player switchers): arrows and a large custom scrollbar.
   With JS the scrollbar below replaces the thin native one; both stay hidden until the list overflows. */
.scroller { display: flex; align-items: center; gap: 12px; }
.scroller-main { display: grid; flex: 1; min-width: 0; gap: 6px; }
.scroll-track { overflow-x: auto; scrollbar-width: thin; }
.scroll-track.has-scrollbar { scrollbar-width: none; }
.scroll-track.has-scrollbar::-webkit-scrollbar { display: none; }
.scroll-track.is-dragging { scroll-snap-type: none; }
.scrollbar { position: relative; height: 16px; margin-inline: 3px; border-radius: 999px; background: rgba(10, 42, 94, .12); cursor: pointer; touch-action: none; user-select: none; }
.scrollbar-thumb {
    position: absolute; top: 0; left: 0; height: 100%; min-width: 64px;
    border-radius: inherit; background: var(--navy); cursor: grab;
    transition: background-color var(--fast) var(--ease);
}
.scrollbar-thumb::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 8px; transform: translate(-50%, -50%);
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .75) 0 2px, transparent 2px 6px);
}
.scrollbar:hover .scrollbar-thumb, .scrollbar.is-dragging .scrollbar-thumb { background: var(--blue); }
.scrollbar.is-dragging .scrollbar-thumb { cursor: grabbing; }
.scroll-arrow {
    display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0;
    border: 0; border-radius: 50%; background: var(--blue); color: var(--surface); cursor: pointer;
    transition: background-color var(--fast) var(--ease), opacity var(--fast) var(--ease);
}
.scroll-arrow[hidden] { display: none; }
.scroll-arrow:hover:not(:disabled) { background: var(--navy); }
.scroll-arrow:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.scroll-arrow:disabled { opacity: .35; cursor: default; }
.scroll-arrow svg { width: 22px; height: 22px; transform: rotate(90deg); }
.scroll-arrow[data-scroll-step="1"] svg { transform: rotate(-90deg); }
.scrollbar[hidden] { display: none; }

/* Club page: the other clubs of the division (crest and short name) */
.club-switch { background: var(--surface); border-bottom: 1px solid var(--line); }
.club-switch-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding-block: 8px; }
.club-switch-list a {
    display: grid; grid-template-rows: auto 1fr; justify-items: center; gap: 6px; height: 100%; padding: 10px 6px 8px;
    border-radius: var(--r-sm); color: var(--text-2); text-align: center; text-decoration: none;
    font-size: 13px; line-height: 17px; font-weight: 600;
    transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.club-switch-list a:hover { background: var(--bg); color: var(--text); }
.club-switch-list a[aria-current="page"] { background: var(--bg); color: var(--navy); box-shadow: inset 0 -3px 0 var(--red); }
.club-switch-list .crest { width: 36px; height: 36px; object-fit: contain; transition: transform var(--fast) var(--ease); }
.club-switch-list a:hover .crest { transform: scale(1.08); }
.club-switch-list .crest-initials { width: 36px; font-size: 12px; }
.club-switch-name { text-wrap: balance; overflow-wrap: anywhere; }
.club-switch .scroller.is-scrollable { padding-bottom: 12px; }
/* Centre the arrows on the list rather than on list + scrollbar */
.club-switch .scroller.is-scrollable > .scroll-arrow { margin-bottom: 22px; }
.club-switch .scroll-track { scroll-snap-type: x proximity; }
.club-switch .scroll-track li { scroll-snap-align: start; }

/* Player cards link to the player page */
.pcard { position: relative; transition: box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease); }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard-open { color: inherit; text-decoration: none; }
.pcard-open::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.pcard { cursor: pointer; }
.pcard-open:focus-visible { outline: none; }
.pcard-open:focus-visible::after { outline: 3px solid var(--blue); outline-offset: 2px; }
.pcard:hover .pcard-name { color: var(--navy); }
.pcard-cap { z-index: 4; }
.pcard-home { background: var(--bg); color: var(--text-2); }
.pcard-home svg { width: 14px; height: 14px; margin-right: 3px; vertical-align: -2px; }

/* Player page: photo, tags, club and facts in the header; teammates; this season; last season's statistics */
.player-head-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: center; }
.player-photo {
    position: relative; width: 220px; aspect-ratio: 1; overflow: hidden;
    background: rgba(255, 255, 255, .08); border-radius: var(--r-lg);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .5);
}
.player-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.player-photo .pcard-no { left: 12px; top: 12px; min-width: 48px; height: 48px; border-radius: 14px; background: var(--red); font-size: 26px; }
.player-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.player-tag {
    display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .12); color: var(--surface);
    font-size: 13px; line-height: 1; font-weight: 600; white-space: nowrap;
}
.player-tag.is-captain { background: var(--red); }
.player-club {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 6px 16px 6px 6px;
    border-radius: 24px; background: rgba(255, 255, 255, .1); color: var(--surface);
    font-weight: 600; line-height: 22px; text-decoration: none;
    transition: background-color var(--fast) var(--ease);
}
.player-club:hover { background: rgba(255, 255, 255, .18); }
.player-club .crest { flex: none; width: 32px; height: 32px; padding: 3px; object-fit: contain; background: var(--surface); border-radius: 50%; }
.player-club .crest-initials { width: 32px; font-size: 10px; }
.player-facts { margin-left: 260px; }
.player-switch .club-switch-list { grid-auto-columns: 88px; }
.player-switch .club-switch-list a { gap: 6px; font-size: 12px; line-height: 16px; }
.player-switch-face {
    display: block; width: 48px; height: 48px; overflow: hidden; border-radius: 50%; background: var(--track);
    transition: transform var(--fast) var(--ease);
}
.player-switch-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.player-switch .club-switch-list a:hover .player-switch-face { transform: scale(1.08); }
.player-switch .club-switch-list a[aria-current="page"] .player-switch-face { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--red); }
.player-switch .club-switch-name { display: grid; justify-self: stretch; min-width: 0; }
.player-switch-no { font-family: var(--font-display); font-weight: 400; color: var(--navy); }
.player-switch-shirt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-sub { margin: 28px 0 12px; font-size: 17px; line-height: 24px; }
.block-title + .player-sub, .phase-note + .player-sub { margin-top: 0; }
.h26-empty { padding: 24px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm); color: var(--text-2); }
.h26-teams { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-bottom: 20px; }
.h26-teams li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-weight: 600; line-height: 22px; }
.h26-teams .crest { flex: none; width: 32px; height: 32px; object-fit: contain; }
.h26-teams .crest-initials { width: 32px; font-size: 11px; }
.h26-teams a { text-decoration: none; }
.h26-teams a:hover { color: var(--navy); text-decoration: underline; }
.h26-no { font-size: 14px; font-weight: 400; color: var(--text-3); }
.h26-moved { padding: 2px 8px; border-radius: 999px; background: rgba(232, 0, 43, .08); color: var(--red-press); font-size: 12px; line-height: 18px; }
.h26-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; }
.h26-tile { padding: 16px 18px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.h26-tile dt { font-size: 13px; line-height: 18px; color: var(--text-3); }
.h26-tile dd { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 6px 0 0; }
.h26-big { font-family: var(--font-display); font-size: 32px; line-height: 38px; color: var(--navy); font-variant-numeric: tabular-nums; }
.h26-tile.is-main { background: var(--navy); }
.h26-tile.is-main dt { color: var(--on-dark-3); }
.h26-tile.is-main .h26-big { color: var(--surface); }
.h26-rank { padding: 3px 8px; border-radius: 999px; background: var(--red); color: var(--surface); font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; cursor: help; }
.h26-rank small { font-size: 11px; font-weight: 400; opacity: .85; }
.h26-card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow-x: auto; }
.h26-card .st th:first-child, .h26-card .st td:first-child { padding-left: 24px; }
.h26-card .st th:last-child, .h26-card .st td:last-child { padding-right: 24px; }
.h26-card .st .h26-label { text-align: left; }
.h26-card .st th.h26-label[scope="row"] { padding-block: 12px; background: none; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--text); }
.h26-ok, .h26-card td.h26-total { font-weight: 600; color: var(--navy); }
.h26-log td small { font-size: 12px; color: var(--text-3); }
.h26-log tr.is-quiet td:nth-child(n+4) { color: var(--text-3); font-weight: 400; }
.h26-log td.h26-label { white-space: normal; }
.h26-date { display: block; font-weight: 600; white-space: nowrap; }
.h26-round { display: block; font-size: 12px; line-height: 16px; color: var(--text-3); white-space: nowrap; }
.h26-opp { display: flex; align-items: center; gap: 10px; min-width: 180px; font-weight: 600; line-height: 20px; }
.h26-opp .crest { flex: none; width: 28px; height: 28px; object-fit: contain; }
.h26-opp .crest-initials { width: 28px; font-size: 10px; }
.h26-note { margin: 16px 0 0; }
.h26-note a { color: var(--navy); font-weight: 600; }
.player-pager { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.player-pager-step {
    display: grid; justify-items: start; gap: 2px; min-width: 0; padding: 12px 18px;
    background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm); text-decoration: none;
    transition: box-shadow var(--fast) var(--ease);
}
.player-pager-step:hover { box-shadow: var(--shadow); }
.player-pager-step.is-next { justify-items: end; text-align: right; }
.player-pager-dir { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; color: var(--text-3); }
.player-pager-dir svg { width: 16px; height: 16px; }
.player-pager-step:not(.is-next) svg { transform: scaleX(-1); }
.player-pager-name { max-width: 100%; overflow: hidden; font-weight: 600; color: var(--navy); text-overflow: ellipsis; white-space: nowrap; }
.player-pager-all { padding: 0 8px; font-weight: 600; color: var(--navy); }

/* Venues */
.venue-grid { display: grid; gap: 12px; }
.venue-card {
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) auto; align-items: start; gap: 16px 40px; padding: 28px;
    background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm);
}
.venue-head { display: flex; gap: 14px; }
main .venue-head svg {
    width: 40px; height: 40px; padding: 10px; border-radius: 12px;
    background: rgba(232, 0, 43, .08); color: var(--red);
}
.venue-head h2 { font-size: 20px; line-height: 28px; }
.venue-place { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--text-3); }
.venue-dates { display: grid; gap: 16px; margin: 0; }
.venue-dates dt { margin-bottom: 8px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--text-3); }
.venue-dates dd { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.venue-week { padding: 5px 12px; border-radius: 999px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.venue-week.is-past { color: var(--text-3); font-weight: 400; box-shadow: none; }
.venue-map { white-space: nowrap; }

/* Watch */
.channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.channel { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.channel-logo { display: grid; place-items: center; height: 176px; padding: 32px; margin: 8px 8px 0; border-radius: 12px; background: var(--tint); }
.channel-logo img { width: auto; height: 64px; max-width: 80%; object-fit: contain; }
.channel-body { padding: 20px 24px 0; }
.channel-body h2 { font-size: 20px; line-height: 28px; }
.channel-note { margin-top: 4px; font-size: 15px; line-height: 22px; color: var(--text-2); }
.channel-count { margin-top: 16px; font-size: 20px; line-height: 28px; }
.channel-when { margin-top: 2px; font-size: 14px; line-height: 22px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.channel-link { margin-top: auto; padding: 20px 24px 24px; font-size: 14px; }

/* 404 */
.not-found { padding-block: 120px 144px; }
.not-found-code {
    font-family: var(--font-display); font-size: clamp(96px, 14vw, 160px); line-height: .9;
    color: transparent; -webkit-text-stroke: 2px var(--navy);
}
@supports not (-webkit-text-stroke: 2px black) { .not-found-code { color: var(--navy); } }
.not-found h1 { margin-top: 24px; font-size: clamp(28px, 3vw, 40px); }

/* Archive */
.archive { padding-top: 0; }
.archive-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.outline-year {
    display: block; text-decoration: none;
    font-family: var(--font-display); font-weight: 400; font-size: clamp(72px, 11vw, 128px); line-height: .9;
    color: transparent; -webkit-text-stroke: 2px var(--navy);
    transition: color var(--fast) var(--ease);
}
.outline-year:hover { color: var(--navy); }
@supports not (-webkit-text-stroke: 2px black) { .outline-year { color: var(--navy); } }
.archive-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.archive-links a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 60px; padding: 0 20px;
    background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow-sm);
    font-weight: 600; text-decoration: none;
    transition: box-shadow var(--fast) var(--ease);
}
.archive-links a svg { color: var(--text-3); transition: transform var(--fast) var(--ease), color var(--fast) var(--ease); }
.archive-links a:hover { box-shadow: var(--shadow); }
.archive-links a:hover svg { color: var(--red); transform: translateX(4px); }

/* Footer */
.footer { background: var(--navy-deep); color: var(--on-dark); font-size: 14px; line-height: 22px; }
.footer-grid {
    display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .7fr) minmax(0, 1.2fr); gap: 40px;
    padding-block: 64px;
}
.footer-brand img { width: min(280px, 100%); }
.footer h2 { margin-bottom: 16px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--on-dark-3); }
.footer ul { display: grid; gap: 8px; }
.footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.footer a:hover { color: var(--surface); text-decoration: underline; }
.footer a[aria-current] { color: var(--surface); font-weight: 600; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.footer-contact svg { color: var(--on-dark-3); }
.footer-watch { padding-block: 48px 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-watch-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.footer .footer-watch-head h2 { margin: 0; font-size: 22px; line-height: 30px; font-weight: 700; color: var(--surface); }
.footer-watch-head p { font-size: 13px; color: var(--on-dark-3); }
.footer-watch-head p a { text-decoration: underline; text-underline-offset: 3px; }
.footer .footer-channels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.footer-channel {
    display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px; padding: 10px 16px 10px 10px;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r);
}
.footer .footer-channel-logo { display: grid; place-items: center; height: 84px; padding: 12px; background: var(--surface); border-radius: 12px; }
.footer-channel-logo img { width: auto; height: 36px; max-width: 100%; object-fit: contain; }
.footer-channel-body { display: grid; gap: 2px; min-width: 0; }
.footer-channel-name { font-weight: 600; color: var(--surface); }
.footer-channel-name span { display: block; font-size: 12px; line-height: 18px; font-weight: 400; color: var(--on-dark-3); }
.footer-channel-count { margin-top: 4px; font-size: 13px; line-height: 20px; font-variant-numeric: tabular-nums; }
.footer-channel-count strong { font-size: 15px; color: var(--surface); }
.footer-channel-when { font-size: 12px; line-height: 18px; color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
.footer .footer-channel-link { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 4px; font-size: 12px; font-weight: 600; }
.footer-channel-link svg { width: 12px; height: 12px; }
.footer-base {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px;
}

/* Login dialog */
.login {
    width: min(416px, 100% - 32px);
    padding: 32px 32px 28px;
    border: 0; border-radius: var(--r-lg);
    background: var(--surface); color: var(--text);
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, .35);
}
.login::backdrop { background: rgba(7, 20, 45, .56); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.login-dismiss, .dlg-dismiss { position: absolute; top: 12px; right: 12px; z-index: 2; }
.login-dismiss button, .dlg-dismiss button {
    display: grid; place-items: center; width: 40px; height: 40px;
    background: transparent; border: 0; border-radius: var(--r-sm); color: var(--text-3); cursor: pointer;
    transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.login-dismiss button:hover, .dlg-dismiss button:hover { background: var(--bg); color: var(--text); }
.login-dismiss svg, .dlg-dismiss svg { width: 20px; height: 20px; }
.login-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-right: 32px; }
.login-head img { width: 48px; }
.login-head .label { margin-bottom: 0; }
.login-head h2 { font-size: 24px; line-height: 32px; }
.login-form { display: grid; gap: 8px; }
.login-form label { font-size: 14px; line-height: 20px; font-weight: 600; }
.login-form input {
    width: 100%; min-height: 48px; padding: 0 14px; margin-bottom: 8px;
    font: inherit; color: var(--text);
    border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface);
    transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.login-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 85, 185, .14); }
.login-form .btn { margin-top: 8px; }
.login-note { margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--text-3); }
.login-links { display: grid; gap: 4px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.login-links a { font-weight: 600; color: var(--navy); text-decoration: none; }
.login-links a:hover { text-decoration: underline; }
html.dialog-open { overflow: hidden; }

/* Responsive */
/* Player page in the club's colour: photo frame, tags, teammates, stat tiles and tables */
.club-sport .player-photo {
    overflow: visible; box-shadow: 0 0 0 4px rgba(255, 255, 255, .16), 0 0 0 8px var(--club), 0 24px 48px -20px rgba(0, 0, 0, .6);
}
.club-sport .player-photo img { border-radius: inherit; }
.club-sport .player-photo .pcard-no { background: linear-gradient(135deg, var(--club), color-mix(in srgb, var(--club) 50%, var(--navy-deep))); box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 10px 18px -8px rgba(0, 0, 0, .6); }
.club-sport .player-tag { background: color-mix(in srgb, var(--club) 45%, rgba(255, 255, 255, .15)); }
.club-sport .player-tag.is-captain { background: linear-gradient(135deg, #f7c948, #d99a00); color: var(--navy-deep); }
.club-sport .player-club { background: color-mix(in srgb, var(--club) 35%, rgba(255, 255, 255, .1)); }
.club-sport .player-club:hover { background: color-mix(in srgb, var(--club) 55%, rgba(255, 255, 255, .15)); }
.player-switch .club-switch-list a[aria-current="page"] .player-switch-face { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--club, var(--red)); }
.player-page .h26-tile { border-top: 3px solid var(--club); }
.player-page .h26-tile.is-main { background: linear-gradient(135deg, var(--club), color-mix(in srgb, var(--club) 45%, var(--navy-deep))); }
.player-page .h26-big { color: var(--club); }
.player-page .h26-tile.is-main .h26-big { color: var(--surface); }

.club-switch[style] .scrollbar-thumb { background: var(--club); }
.club-switch[style] .scrollbar:hover .scrollbar-thumb, .club-switch[style] .scrollbar.is-dragging .scrollbar-thumb { background: color-mix(in srgb, var(--club) 70%, #000); }
.club-switch[style] .club-switch-list a[aria-current="page"] { color: var(--club); box-shadow: inset 0 -3px 0 var(--club); }

/* Schedule: photo wall head, sporty stage and week bands, and match rows as matchups in both clubs' colours */
.sched-head::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
    background: linear-gradient(90deg, var(--blue) 0 50%, var(--red) 50%);
}
.sched-head .page-lead { font-weight: 600; }
.schedule-phase-title {
    position: relative; overflow: hidden; padding: 20px 28px; border-radius: var(--r);
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .07) 0 12px, transparent 12px 26px),
        linear-gradient(120deg, var(--phase-color), color-mix(in srgb, var(--phase-color) 45%, var(--navy-deep)));
    font-size: 26px; line-height: 32px;
}
.wk { border-radius: var(--r-lg); }
.wk-head {
    position: relative; padding: 18px 24px;
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 12px, transparent 12px 26px),
        linear-gradient(120deg, var(--navy), var(--navy-deep));
}
.wk-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); }
.wk-no { font-family: var(--font-display); font-size: 20px; font-weight: 400; }
.wk-locked .wk-head::after { display: none; }
.wk-locked .wk-no { font-family: inherit; font-size: 15px; font-weight: 600; }
.fx-date {
    display: flex; align-items: center; gap: 10px; padding: 14px 24px;
    background: linear-gradient(90deg, #EAF1FA, var(--surface)); font-size: 15px;
}
.fx-date::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(232, 0, 43, .15); }
.fx-next {
    padding: 2px 10px; border-radius: 999px; background: var(--red); color: var(--surface);
    font-size: 12px; line-height: 18px; font-weight: 600;
}
.fx-day.is-next { box-shadow: inset 4px 0 0 var(--red); }
/* Column labels repeat on every day: keep them for screen readers only */
.fx-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fx {
    --home: var(--navy); --away: var(--navy);
    --fx-bg: linear-gradient(90deg, transparent 0 12%, color-mix(in srgb, var(--home) 11%, transparent) 30%, transparent 47%, transparent 53%, color-mix(in srgb, var(--away) 11%, transparent) 70%, transparent 88%);
    background: var(--fx-bg);
    transition: background-color var(--fast) var(--ease);
}
.fx:hover { background: var(--fx-bg), var(--tint); }
.fx td { padding: 18px 8px; }
.fx-table .c-no { width: 56px; }
.fx-table .c-time { width: 96px; }
.fx-table .c-score { width: 92px; }
.fx-table .c-gender { width: 80px; }
.fx-table .c-tv { width: 136px; }
.fx td:first-child { border-left-width: 4px; }
.fx-number { font-family: var(--font-display); font-size: 14px; }
.fx-time {
    display: inline-block; padding: 4px 10px; border-radius: var(--r-xs);
    background: var(--navy-deep); color: var(--surface); font-size: 18px; line-height: 24px;
}
.fx-badge {
    display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%;
    background: var(--surface); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--c, var(--navy)), 0 10px 20px -10px rgba(7, 31, 71, .5);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fx-home .fx-badge { --c: var(--home); }
.fx-away .fx-badge { --c: var(--away); }
.fx-team .fx-badge .fx-crest, .fx-badge .crest-initials { width: 38px; height: 38px; }
.fx:hover .fx-badge { box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--c, var(--navy)), 0 10px 20px -10px rgba(7, 31, 71, .5); }
.fx-name { font-size: 16px; }
.fx-home .fx-name:hover { color: var(--home); }
.fx-away .fx-name:hover { color: var(--away); }
.fx-team.is-lost .fx-badge { filter: grayscale(.8); opacity: .7; }
.fx-vs {
    min-width: 48px; height: 34px; border-radius: 10px;
    background: linear-gradient(135deg, var(--home) 0 49%, var(--away) 51%); color: var(--surface);
    font-size: 15px;
    box-shadow: 0 8px 16px -8px rgba(7, 31, 71, .6);
}
.fx-score { height: 38px; padding: 0 14px; font-size: 20px; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); box-shadow: 0 8px 16px -8px rgba(7, 31, 71, .6); }
.schedule-jumps a { padding: 8px 24px; transition: transform var(--fast) var(--ease); }
.schedule-jumps a:hover { transform: translateY(-2px); text-decoration: none; }
.schedule-date[aria-current] { background: linear-gradient(160deg, var(--surface), color-mix(in srgb, var(--phase-color) 10%, var(--surface))); }
.schedule-date { transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.schedule-date:hover { transform: translateY(-3px); }
/* Match rows and cards open the Match Centre from anywhere on them (stretched link) */
.fx, .mc, .cm { position: relative; }
.match-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.match-link:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.fx:has(.match-link), .mc:has(.match-link), .cm:has(.match-link) { cursor: pointer; }
.fx .tv, .mc .tv, .cm .tv { position: relative; z-index: 1; }
.mc { transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.mc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mc:hover .mc-name, .cm:hover .cm-name { color: var(--navy); text-decoration: underline; }
.fx:hover .fx-name { text-decoration: underline; }

/* Match Centre */
.match-head { --home: var(--navy); --away: var(--navy); }
.match-head .club-wall::after {
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 14px, transparent 14px 30px),
        linear-gradient(105deg, color-mix(in srgb, var(--home) 70%, var(--navy-deep)) 0%, color-mix(in srgb, var(--home) 40%, rgba(7, 31, 71, .9)) 46%, color-mix(in srgb, var(--away) 40%, rgba(7, 31, 71, .9)) 54%, color-mix(in srgb, var(--away) 70%, var(--navy-deep)) 100%);
    opacity: .97;
}
.match-head:not(.has-wall) { background: linear-gradient(105deg, var(--home), var(--navy-deep) 50%, var(--away)); }
.match-head::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
    background: linear-gradient(90deg, var(--home) 0 50%, var(--away) 50%);
}
.match-head > .wrap { padding-block: 36px 40px; }
.match-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.match-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; }
.match-tag.is-centre { background: var(--red); }
.match-board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; margin-top: 28px; }
.match-team { display: grid; justify-items: center; gap: 10px; color: var(--surface); text-align: center; text-decoration: none; }
.match-team:hover .match-team-name { text-decoration: underline; }
.match-team.is-lost { opacity: .7; }
.match-crest {
    position: relative; display: grid; place-items: center; width: 156px; height: 156px; border-radius: 50%; background: var(--surface);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, .14), 0 0 0 14px color-mix(in srgb, var(--club) 45%, transparent), 0 26px 50px -20px rgba(0, 0, 0, .7);
    transition: transform .4s var(--ease);
}
.match-team:hover .match-crest { transform: scale(1.05); }
.match-crest::after {
    content: ""; position: absolute; inset: -9px; border-radius: 50%; pointer-events: none;
    background: conic-gradient(var(--ring1) 0 26%, transparent 26% 33.3%, var(--ring2) 33.3% 59.3%, transparent 59.3% 66.6%, var(--ring3) 66.6% 92.6%, transparent 92.6%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
    animation: crest-spin 5s linear infinite;
}
.match-team.is-away .match-crest::after { animation-direction: reverse; }
.match-crest .crest { width: 120px; height: 120px; object-fit: contain; }
.match-crest .crest-initials { width: 120px; font-size: 36px; }
.match-team-name { max-width: 340px; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; font-weight: 600; }
.match-team-side { font-size: 13px; color: var(--on-dark); }
.match-centre { display: grid; justify-items: center; gap: 10px; min-width: 240px; text-align: center; }
.match-vs {
    display: grid; place-items: center; width: 96px; height: 64px; border-radius: 16px;
    background: linear-gradient(135deg, var(--home) 0 49%, var(--away) 51%);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .85), 0 16px 32px -12px rgba(0, 0, 0, .6);
    font-family: var(--font-display); font-size: 34px; line-height: 1;
}
.match-score { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: 72px; line-height: 1; font-variant-numeric: tabular-nums; }
.match-score i { font-style: normal; opacity: .5; }
.match-status { padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 600; }
.match-countdown { display: flex; gap: 8px; min-height: 58px; font-weight: 600; }
.match-countdown.is-over { align-items: center; padding: 0 14px; border-radius: 999px; background: var(--red); min-height: 32px; }
.match-count { display: grid; justify-items: center; min-width: 54px; padding: 6px 4px; border-radius: 10px; background: rgba(0, 0, 0, .28); backdrop-filter: blur(4px); }
.match-count strong { font-family: var(--font-display); font-size: 26px; font-weight: 400; line-height: 30px; font-variant-numeric: tabular-nums; }
.match-count small { font-size: 11px; line-height: 14px; color: var(--on-dark); }
.match-when { font-size: 15px; color: var(--on-dark); }
.match-when strong { color: var(--surface); }
.match-info { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 28px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: var(--on-dark); }
.match-info-item { display: inline-flex; align-items: center; gap: 8px; }
.match-info-item svg { width: 16px; height: 16px; color: var(--red); }
.match-info-tv .tv { padding: 4px 8px; border-radius: 8px; background: var(--surface); }
.match-info-tv .tv img { height: 18px; }

.match-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.match-page .block-title { display: flex; align-items: center; gap: 12px; }
.match-page .block-title::before { content: ""; flex: none; width: 6px; height: 26px; border-radius: 3px; background: linear-gradient(180deg, var(--home) 0 50%, var(--away) 50%); }
.match-empty { padding: 22px 24px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--text-2); }
.match-soon { display: flex; align-items: center; gap: 16px; }
.match-soon svg { flex: none; width: 36px; height: 36px; color: var(--blue); }
.match-sets { overflow-x: auto; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); }
.match-sets-table { width: 100%; }
.match-sets-table th, .match-sets-table td { padding: 14px 16px; text-align: center; font-variant-numeric: tabular-nums; }
.match-sets-table tbody th { text-align: left; }
.match-sets-team { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.match-sets-team .crest { width: 28px; height: 28px; object-fit: contain; }
.match-sets-table td { font-family: var(--font-display); font-size: 20px; color: var(--text-3); }
.match-sets-table td.is-won { color: var(--navy); }
.match-sets-table tr.is-home td.is-won { box-shadow: inset 0 -3px 0 var(--home); }
.match-sets-table tr.is-away td.is-won { box-shadow: inset 0 -3px 0 var(--away); }
.match-sets-total { color: var(--surface) !important; background: var(--navy); }

.match-compare { padding: 20px 24px 8px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); }
.match-compare-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 600; }
.match-compare-head span { display: inline-flex; align-items: center; gap: 10px; }
.match-compare-head .crest { width: 32px; height: 32px; object-fit: contain; }
.match-bar { display: grid; grid-template-columns: 80px minmax(0, 1fr) 80px; align-items: center; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.match-bar-label { text-align: center; font-size: 14px; color: var(--text-2); }
.match-bar-label small { color: var(--text-3); }
.match-bar-value { font-family: var(--font-display); font-size: 24px; line-height: 28px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.match-bar-value.is-away { text-align: right; }
.match-bar-value.is-lead.is-home { color: var(--home); }
.match-bar-value.is-lead.is-away { color: var(--away); }
.match-bar-track { grid-column: 1 / -1; display: flex; gap: 4px; height: 8px; }
.match-bar-fill { height: 100%; border-radius: 4px; transform-origin: right; animation: bar-grow .9s var(--ease) both; }
.match-bar-fill.is-home { background: var(--home); }
.match-bar-fill.is-away { background: var(--away); transform-origin: left; }
@keyframes bar-grow { from { transform: scaleX(0); } }

.match-h2h-tally { display: flex; justify-content: center; align-items: center; gap: 24px; margin-bottom: 16px; }
.match-h2h-tally > span:not(.match-h2h-label) { display: inline-flex; align-items: center; gap: 12px; }
.match-h2h-tally strong { font-family: var(--font-display); font-size: 44px; font-weight: 400; line-height: 1; }
.match-h2h-tally .is-home strong { color: var(--home); }
.match-h2h-tally .is-away strong { color: var(--away); }
.match-h2h-tally .crest { width: 40px; height: 40px; object-fit: contain; }
.match-h2h-label { font-size: 14px; color: var(--text-3); }
.match-h2h { display: grid; gap: 10px; }
.match-h2h li { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); }
.match-h2h-date { font-size: 13px; color: var(--text-3); }
.match-h2h-teams { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: center; color: var(--text-2); }
.match-h2h-teams .is-won { color: var(--text); font-weight: 600; }
.match-h2h-score { flex: none; padding: 4px 12px; border-radius: 8px; background: var(--navy); color: var(--surface); font-family: var(--font-display); font-weight: 400; }
.match-h2h-sets { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* Last season stays a footnote: one line, the matches folded away */
.match-last-title { margin-bottom: 8px; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--text-2); }
.match-last-box { border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); }
.match-last-box summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; cursor: pointer; list-style: none; }
.match-last-box summary::-webkit-details-marker { display: none; }
.match-last-box summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3); rotate: 45deg; transition: rotate var(--fast) var(--ease); }
.match-last-box[open] summary::after { rotate: -135deg; }
.match-last-tally { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.match-last-tally strong { font-family: var(--font-display); font-weight: 400; font-size: 18px; color: var(--text); }
.match-last-tally .crest { width: 24px; height: 24px; object-fit: contain; }
.match-last-more { margin-left: auto; font-size: 13px; color: var(--text-3); }
.match-last .match-h2h { padding: 0 12px 12px; }
.match-last .match-h2h li { box-shadow: none; background: var(--bg); padding: 10px 16px; }
.match-watch-last { color: var(--text-3); }
.match-watch, .match-squads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.match-watch-list { display: grid; gap: 10px; }
.match-watch-item a {
    display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 16px;
    border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none;
    border-left: 5px solid var(--club); transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.match-watch-item a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.match-watch-rank { font-family: var(--font-display); font-size: 22px; color: var(--club); text-align: center; }
.match-watch-face { width: 64px; height: 64px; overflow: hidden; border-radius: 50%; background: var(--track); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--club); }
.match-watch-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.match-watch-text { display: grid; gap: 2px; min-width: 0; }
.match-watch-name { font-weight: 600; line-height: 22px; }
.match-watch-no { font-family: var(--font-display); font-weight: 400; color: var(--club); }
.match-watch-pos { font-size: 13px; color: var(--text-3); }
.match-watch-points { display: grid; justify-items: end; }
.match-watch-points strong { font-family: var(--font-display); font-size: 30px; font-weight: 400; line-height: 1; color: var(--club); }
.match-watch-points small { font-size: 12px; color: var(--text-3); }

.match-form { display: grid; gap: 12px; padding: 16px 24px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); }
.match-form-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.match-form-team { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.match-form-team .crest { width: 28px; height: 28px; object-fit: contain; }
.match-form-list { display: flex; gap: 6px; }
.match-form-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--surface); font-size: 13px; font-weight: 600; text-decoration: none; }
.match-form-dot.is-won { background: #13a35b; }
.match-form-dot.is-lost { background: var(--red); }

.match-squad { padding: 18px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); border-top: 5px solid var(--club); }
.match-squad-title { margin-bottom: 12px; font-size: 17px; line-height: 24px; }
.match-squad-title a { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.match-squad-title a:hover { color: var(--club); }
.match-squad-title .crest { width: 32px; height: 32px; object-fit: contain; }
.match-squad-list { display: grid; gap: 4px; }
.match-squad-list a { display: grid; grid-template-columns: 40px 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; color: inherit; text-decoration: none; }
.match-squad-list a:hover { background: color-mix(in srgb, var(--club) 8%, var(--surface)); }
.match-squad-face { width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: var(--track); }
.match-squad-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.match-squad-no { font-family: var(--font-display); font-size: 18px; color: var(--club); text-align: center; }
.match-squad-name { font-weight: 600; line-height: 20px; }
.match-squad-cap { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #f4b400; color: var(--navy-deep); font-size: 11px; font-weight: 600; text-decoration: none; vertical-align: 1px; }
.match-squad-pos { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); white-space: nowrap; }

/* Position badge (S, OH, MB, OP, L) */
.pos-badge {
    display: inline-grid; place-items: center; min-width: 26px; height: 18px; padding: 0 5px; margin-right: 6px;
    border-radius: 5px; background: var(--navy); color: var(--surface);
    font-family: var(--font-display); font-size: 11px; line-height: 1; font-weight: 400; letter-spacing: .04em;
    text-decoration: none; vertical-align: 1px; cursor: help;
}
.match-squad-pos .pos-badge { order: 2; margin: 0; }
.pos-b-setter { background: #0055B9; }
.pos-b-outside { background: #E8002B; }
.pos-b-middle { background: #0A7C55; }
.pos-b-opposite { background: #B45309; }
.pos-b-libero { background: #6D28D9; }

.match-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.match-pager-link { display: grid; gap: 6px; padding: 16px 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.match-pager-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.match-pager-link.is-next { text-align: right; justify-items: end; }
.match-pager-dir { font-size: 13px; font-weight: 600; color: var(--red); }
.match-pager-teams { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.match-pager-teams .crest { width: 28px; height: 28px; object-fit: contain; }
.match-pager-when { font-size: 13px; color: var(--text-3); }
@media (prefers-reduced-motion: reduce) {
    .match-crest::after, .match-bar-fill { animation: none; }
}

/* Schedule controls in one compact panel: division + stages, club crests (both divisions), then the dates */
.schedule-panel {
    position: sticky; top: 80px; z-index: 30;
    display: grid; gap: 10px; margin-bottom: 28px; padding: 12px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm);
    transition: box-shadow var(--fast) var(--ease);
}
.schedule-panel-sentinel { height: 1px; margin-bottom: -1px; }
.schedule-panel-spacer { display: none; overflow-anchor: none; }
.schedule-panel { overflow-anchor: none; }
.schedule-panel.is-stuck { position: fixed; margin: 0; max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow: hidden; }
/* While stuck: smaller crests, no month bars or scrollbar, a stronger shadow */
.schedule-panel.is-stuck { gap: 6px; padding: 8px 12px; box-shadow: 0 16px 32px -18px rgba(7, 31, 71, .45), 0 0 0 1px var(--line); }
.schedule-panel.is-stuck .team-pick-crest { width: 32px; height: 32px; }
.schedule-panel.is-stuck .team-pick-crest .crest { width: 26px; height: 26px; }
.schedule-panel.is-stuck .schedule-month-bar, .schedule-panel.is-stuck .scrollbar { display: none; }
.schedule-panel.is-stuck .schedule-date-picker { padding: 4px 8px; }
.schedule-panel.is-stuck .schedule-date { padding-block: 3px 4px; }
.schedule-panel.is-stuck .schedule-date-number { font-size: 18px; line-height: 22px; }
.schedule-panel-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.schedule-panel .schedule-genders { padding: 4px; background: var(--bg); box-shadow: none; }
.schedule-panel .schedule-genders button { padding: 6px 16px; font-size: 14px; line-height: 20px; }
.schedule-panel .schedule-jumps { margin: 0; gap: 6px; }
.schedule-panel .schedule-jumps a { padding: 5px 14px; font-size: 13px; line-height: 18px; box-shadow: none; }
.schedule-panel .schedule-filters.schedule-team-filter { display: block; width: 100%; max-width: none; margin: 0; padding: 0; background: none; box-shadow: none; }
.schedule-panel .team-picker { display: flex; flex-wrap: wrap; justify-content: flex-start; width: 100%; max-width: none; margin: 0; gap: 6px 20px; }
.schedule-panel .team-picker-row { display: flex; align-items: center; gap: 2px; padding: 0; border: 0; }
.schedule-panel .team-picker-row + .team-picker-row { padding-left: 20px; border-left: 1px solid var(--line); border-top: 0; }
.schedule-panel .team-picker-label { margin-right: 6px; }
.schedule-panel .team-pick { padding: 3px; border-radius: 50%; }
.schedule-panel .team-pick-crest { width: 40px; height: 40px; box-shadow: 0 0 0 1px var(--line); }
.schedule-panel .team-pick-crest .crest { width: 32px; height: 32px; }
.schedule-panel .team-pick-crest .crest-initials { width: 32px; font-size: 11px; }
.schedule-panel .team-pick[aria-pressed="true"] { background: none; }
.schedule-panel .schedule-date-picker { gap: 8px; padding: 8px; background: var(--bg); border-radius: var(--r-sm); }
.schedule-panel .schedule-date-scroller { gap: 6px; }
.schedule-panel .schedule-date-track { gap: 10px; }
.schedule-panel .schedule-month { gap: 6px; }
.schedule-panel .schedule-month-bar { height: 24px; }
.schedule-panel .schedule-month-label { font-size: 13px; }
.schedule-panel .schedule-month-days { gap: 10px; }
.schedule-week { display: grid; gap: 4px; padding: 4px 6px 6px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--navy) 6%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--navy) 10%, transparent); }
.schedule-week[hidden] { display: none; }
.schedule-week-label { position: sticky; left: 6px; justify-self: start; padding-inline: 2px; font-size: 11.5px; line-height: 16px; font-weight: 600; letter-spacing: .02em; color: var(--text-2); white-space: nowrap; }
.schedule-week-days { display: flex; gap: 6px; }
.schedule-panel.is-stuck .schedule-week { padding: 3px; }
.schedule-panel.is-stuck .schedule-week-label { display: none; }
.schedule-panel .schedule-date { flex: 0 0 84px; gap: 2px; padding: 10px 6px 11px; border-radius: var(--r-sm); box-shadow: inset 0 -3px 0 var(--phase-color); }
.schedule-panel .schedule-date:hover, .schedule-panel .schedule-date[aria-current] { box-shadow: inset 0 0 0 2px var(--phase-color), inset 0 -3px 0 var(--phase-color); }
.schedule-panel .schedule-date-weekday { font-size: 13px; line-height: 18px; white-space: nowrap; }
.schedule-panel .schedule-date-number { font-size: 30px; line-height: 34px; }
.schedule-panel .schedule-date:hover { transform: translateY(-2px); }
.schedule-panel .scroll-arrow { width: 32px; height: 32px; }
.schedule-panel .scrollbar { height: 12px; }

/* Venues: photo with the operator's logo, details and travel, and a live map */
.venue-list { display: grid; gap: 24px; }

/* Venues: tickets */
.ticket-info {
    display: grid; grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 16px 28px;
    margin-bottom: 24px; padding: 20px 28px; border-radius: var(--r); background: var(--navy-deep); color: var(--surface);
    box-shadow: var(--shadow);
}
.ticket-info-head { display: flex; align-items: center; gap: 10px; }
.ticket-info-head svg { width: 28px; height: 28px; color: #ffd400; }
.ticket-info h2 { font-size: 20px; line-height: 28px; color: var(--surface); }
.ticket-prices { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
.ticket-price { display: grid; align-content: center; gap: 2px; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.ticket-price.is-free { background: rgba(255, 212, 0, .14); box-shadow: inset 0 0 0 1px rgba(255, 212, 0, .45); }
.ticket-amount { font-family: var(--font-display); font-size: 30px; line-height: 34px; color: var(--surface); white-space: nowrap; }
.ticket-amount small { font-family: var(--font); font-size: 15px; font-weight: 600; }
.ticket-price.is-free .ticket-amount { color: #ffd400; }
.ticket-who { font-size: 13px; line-height: 18px; color: var(--on-dark); }
.ticket-notes { display: grid; gap: 8px; }
.ticket-notes li { display: flex; gap: 8px; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .9); }
.ticket-notes svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #ffd400; }
@media (max-width: 960px) {
    .ticket-info { grid-template-columns: minmax(0, 1fr); padding: 20px; }
}
@media (max-width: 560px) {
    .ticket-prices { grid-template-columns: minmax(0, 1fr); }
}
.venue {
    display: grid; grid-template-columns: 320px minmax(0, 1fr) 360px; overflow: hidden;
    background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.venue-media { position: relative; min-height: 100%; background: var(--track); }
.venue-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.venue-logo { position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: var(--surface); box-shadow: 0 8px 20px -10px rgba(7, 31, 71, .5); }
.venue-logo img { max-width: 44px; max-height: 44px; width: auto; height: auto; }
.venue-credit { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 4px; background: rgba(7, 31, 71, .6); color: rgba(255, 255, 255, .85); font-size: 11px; line-height: 16px; text-decoration: none; }
.venue-credit:hover { text-decoration: underline; }
.venue-body { display: grid; align-content: start; gap: 16px; padding: 24px 28px; }
.venue-name { font-size: 20px; line-height: 28px; }
.venue-address { display: flex; gap: 8px; margin-top: -8px; font-size: 14px; line-height: 20px; color: var(--text-2); }
main .venue-address svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--red); }
.venue-sub { font-size: 13px; line-height: 20px; font-weight: 600; color: var(--text-3); }
.venue-travel { display: grid; gap: 10px; margin-top: -8px; }
.venue-travel li { display: flex; gap: 10px; font-size: 14px; line-height: 20px; color: var(--text-2); }
main .venue-travel svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--navy); }
.venue-travel strong { font-weight: 600; color: var(--text); }
.venue-map-box { display: grid; grid-template-rows: minmax(240px, 1fr) auto; border-left: 1px solid var(--line); }
.venue-map-frame { display: block; width: 100%; height: 100%; min-height: 240px; border: 0; background: var(--track); }
.venue-map-box .venue-map { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.venue-note { margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--text-3); }

/* Standings: Simple or Detailed, with grouped column headers like the FIVB tables */
.st-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.st-bar .tabs { margin-bottom: 0; }
.st-view { display: flex; gap: 4px; padding: 4px; background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }
.st-view[hidden] { display: none; }
.st-view button { padding: 6px 16px; border: 0; border-radius: var(--r-xs); background: transparent; color: var(--text-2); font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; cursor: pointer; transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.st-view button:hover { color: var(--text); }
.st-view button[aria-pressed="true"] { background: var(--navy); color: var(--surface); }
.st-scroll { overflow-x: auto; }
[data-view="simple"] .st-detailed, [data-view="detailed"] .st-simple, .st-legend.is-detail { display: none; }
.is-st-detailed .st-legend.is-detail { display: flex; }
[data-view="detailed"] .standings { grid-template-columns: minmax(0, 1fr); }
.st-ref { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.st-ref th { background: none; padding: 6px 8px; font-weight: 400; text-align: center; white-space: nowrap; }
.st-ref .st-groups th { padding-top: 14px; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--text); }
.st-ref .st-groups .st-g-rank { padding-left: 24px; text-align: left; }
.st-ref .st-subs th { padding-bottom: 10px; border-bottom: 1px solid var(--text-3); font-size: 12px; line-height: 15px; color: var(--text-3); }
.st-ref td { padding: 16px 8px; border-top: 0; text-align: center; font-size: 16px; }
.st-ref tbody tr:nth-child(even) { background: var(--tint); }
.st-ref tbody tr:hover { background: color-mix(in srgb, var(--blue) 6%, var(--surface)); }
.st-ref .st-sep { border-left: 1px solid var(--line); }
.st-ref thead .st-sep { border-left-color: transparent; }
.st-ref .st-groups .st-sep { border-left-color: transparent; }
.st-ref td.st-rank { width: 56px; padding-left: 24px; text-align: left; font-family: var(--font-display); font-size: 18px; color: var(--red); }
.st-ref td.st-club, .st-ref th.st-club { text-align: left; }
.st-ref td.st-club { min-width: 180px; }
.st-ref .st-club a { font-size: 16px; }
.st-ref .st-pts { padding-right: 8px; font-weight: 600; color: var(--navy); }
.st-detailed .st-ref { min-width: 1080px; }
.st-detailed .st-ref td:not(.st-rank) { padding-inline: 6px; }
.st-detailed .st-club a span { white-space: nowrap; }
.st-simple .st-ref { min-width: 520px; }
.st-legend { flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--text-3); }
.st-legend div { display: flex; gap: 6px; }
.st-legend dt { font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.st-legend dd { margin: 0; }

/* Home: countdown and season numbers in the hero, matchup cards, coming up, standings snapshot */
.hero h1 { font-weight: 600; }
.hero-countdown { margin-top: 28px; }
.hero-countdown-label { margin-bottom: 8px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--on-dark); }
.hero-countdown .match-countdown { min-height: 0; }
.hero-countdown .match-count { min-width: 64px; padding: 8px 6px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }
.hero-countdown .match-count strong { font-size: 30px; line-height: 34px; }
.hero-actions { margin-top: 32px; }
.hero-visual { display: grid; gap: 28px; justify-items: end; }
.hero-numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; max-width: 600px; margin: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero-numbers div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 14px 0 0 16px; border-left: 1px solid rgba(255, 255, 255, .18); }
.hero-numbers div:first-child { padding-left: 0; border-left: 0; }
.hero-numbers dd { margin: 0; font-family: var(--font-display); font-size: 36px; line-height: 40px; font-variant-numeric: tabular-nums; }
.hero-numbers dt { font-size: 13px; line-height: 18px; color: var(--on-dark); }

.hm-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.hm {
    --home: var(--navy); --away: var(--navy);
    position: relative; display: grid; gap: 14px; padding: 16px 20px 20px; border-radius: var(--r);
    background: linear-gradient(90deg, color-mix(in srgb, var(--home) 10%, var(--surface)), var(--surface) 45%, var(--surface) 55%, color-mix(in srgb, var(--away) 10%, var(--surface)));
    box-shadow: inset 0 0 0 1px var(--line);
    transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.hm::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--r) var(--r) 0 0; background: linear-gradient(90deg, var(--home) 0 50%, var(--away) 50%); }
.hm:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.hm-top { display: flex; align-items: center; gap: 10px; }
.hm-time { font-family: var(--font-display); font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.hm-top .tv { position: relative; z-index: 1; margin-left: auto; }
.hm-top .tv img { height: 20px; }
.hm-board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 12px; }
.hm-team { display: grid; justify-items: center; gap: 8px; min-width: 0; text-align: center; }
.hm-crest { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--c, var(--navy)); }
.hm-crest .crest { width: 52px; height: 52px; object-fit: contain; }
.hm-crest .crest-initials { width: 52px; font-size: 16px; }
.hm-name { font-size: 15px; line-height: 20px; font-weight: 600; text-wrap: balance; }
.hm-team.is-lost { opacity: .6; }
.hm-vs, .hm-score { align-self: center; margin-top: -24px; }
.hm-vs {
    display: grid; place-items: center; min-width: 52px; height: 36px; padding: 0 8px; border-radius: 10px;
    background: linear-gradient(135deg, var(--home) 0 49%, var(--away) 51%); color: var(--surface);
    font-family: var(--font-display); font-size: 16px; line-height: 1;
}
.hm-score { display: flex; gap: 6px; font-family: var(--font-display); font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.hm-score i { font-style: normal; color: var(--text-3); }

.home-season { padding-top: 64px; padding-bottom: 0; }
.home-season-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.home-season-grid.has-two { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.home-block .sec-head { margin-bottom: 16px; }
.home-block .sec-head h2 { font-size: clamp(24px, 2.4vw, 32px); }
.home-leg { margin-left: 6px; font-size: 15px; font-weight: 500; color: var(--text-3); }
.up-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 8px; }
.up {
    position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; align-items: center;
    padding: 12px 16px; border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-sm);
    transition: box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.up:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.up-date { grid-row: 1 / 3; display: grid; justify-items: center; padding: 6px 0; border-radius: var(--r-xs); background: var(--navy); color: var(--surface); }
.up-day { font-family: var(--font-display); font-size: 22px; line-height: 24px; }
.up-month { font-size: 11px; line-height: 14px; color: var(--on-dark); }
.up-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; color: var(--text-3); }
.up-meta .fx-gender { padding-block: 0; font-size: 11px; line-height: 18px; }
.up-teams { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 14px; line-height: 20px; font-weight: 600; }
.up-team { display: inline-flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-team .crest { flex: none; width: 24px; height: 24px; object-fit: contain; }
.up-team .crest-initials { width: 24px; font-size: 9px; }
.up-vs { flex: none; font-family: var(--font-display); font-size: 12px; color: var(--text-3); }
.snap-grid { display: grid; gap: 12px; }
.snap { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-sm); font-variant-numeric: tabular-nums; }
.snap caption { padding: 0 0 6px; font-size: 13px; line-height: 20px; font-weight: 600; text-align: left; color: var(--text-2); }
.snap th { padding: 8px 12px; background: var(--tint); font-size: 12px; font-weight: 600; color: var(--text-3); text-align: center; }
.snap th:nth-child(2) { text-align: left; }
.snap td { padding: 8px 12px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; }
.snap td:first-child { width: 36px; font-family: var(--font-display); color: var(--text-3); }
.snap td:nth-child(2) { text-align: left; }
.snap td a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.snap td a:hover { color: var(--navy); text-decoration: underline; }
.snap td .crest { width: 22px; height: 22px; object-fit: contain; }
.snap-pts { font-weight: 600; color: var(--navy); }


@media (max-width: 1180px) {
    .masthead-inner { gap: 16px; }
    .menu-links a { padding-inline: 9px; }
    .menu-links a[aria-current="page"]::after { left: 9px; right: 9px; }
    .day-info { grid-template-columns: 180px minmax(0, 1fr); }
    .standings { grid-template-columns: minmax(0, 1fr); }
    .crest-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .crest-disc { width: 80px; }
    .club-facts { margin-left: 0; }
    .cm { grid-template-columns: 180px minmax(0, 1.3fr) minmax(0, 1fr) auto 80px; }
    .h26-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
    .menu-toggle { display: inline-flex; }
    .menu {
        position: absolute; top: 100%; left: 0; right: 0;
        display: none; flex-wrap: wrap; align-items: center; gap: 16px;
        padding: 8px 20px 24px;
        background: var(--surface); border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 32px -16px rgba(7, 31, 71, .18);
    }
    .menu.is-open { display: flex; }
    .menu-links { flex: 1 0 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
    .menu-links li + li { border-top: 1px solid var(--line); }
    .menu-links a { display: flex; padding: 14px 4px; border-radius: 0; color: var(--text); }
    .menu-links a:hover { background: none; color: var(--navy); }
    .menu-links a[aria-current="page"] { padding-left: 16px; }
    .menu-links a[aria-current="page"]::after { left: 0; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; border-radius: 0 3px 3px 0; }
    .lang-switch { padding: 3px; background: var(--track); border-radius: var(--r-sm); }
    .lang-switch a { padding: 6px 14px; }
    .lang-switch a[aria-current] { background: var(--surface); box-shadow: 0 1px 2px rgba(7, 31, 71, .12); }
    .season-switch { margin-right: auto; }
    .menu-cta { flex: 1 0 100%; min-height: 44px; }
}

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 64px; }
    .hero:has(+ .matchday) .hero-grid { padding-bottom: 128px; }
    .hero-visual img { max-width: 520px; margin-left: 0; }
    .club-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .archive-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .wk-head { grid-template-columns: minmax(0, 1fr) auto; }
    .wk-venue { grid-column: 1 / -1; grid-row: 2; }
    .wk-dates { grid-column: 2; grid-row: 1; }
    .wk-locked .wk-head { grid-template-columns: minmax(0, 1fr); }
    .fx-table th:first-child { width: 44px; }
    .fx-table th:nth-child(2) { width: 64px; }
    .fx-table th:nth-child(4) { width: 64px; }
    .fx-table th:nth-child(6) { width: 64px; }
    .fx-table th:last-child { width: 108px; }
    .fx-table .c-no { width: 44px; }
    .fx-table .c-time { width: 80px; }
    .fx-table .c-score { width: 72px; }
    .fx-table .c-gender { width: 64px; }
    .fx-table .c-tv { width: 108px; }
    .fx-team { gap: 8px; font-size: 14px; }
    .fx td { padding-inline: 4px; }
    .fx-tv .tv { gap: 6px; }
    .fx-tv .tv img { height: 18px; }
    .day-info { grid-template-columns: minmax(0, 1fr); }
    .slots { grid-column: 1; }
    .cm, .cm-list:not(.has-results) .cm { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
    .cm-when { grid-column: 1; grid-row: 1; }
    .cm-tv { grid-column: 2; grid-row: 1; }
    .cm-opp { grid-column: 1 / -1; grid-row: 2; }
    .cm-result { grid-column: 2; grid-row: 3; align-self: center; }
    .cm-venue { grid-column: 1; grid-row: 3; }
    .cm-list:not(.has-results) .cm-venue { grid-column: 1 / -1; }
    .player-head-grid { grid-template-columns: 168px minmax(0, 1fr); gap: 32px; }
    .player-photo { width: 168px; }
    .channel-grid { grid-template-columns: minmax(0, 1fr); }
    .venue-card { grid-template-columns: minmax(0, 1fr); }
    .venue { grid-template-columns: 280px minmax(0, 1fr); }
    .venue-map-box { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); grid-template-rows: 280px auto; }
    .channel { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
    .channel-logo { grid-row: 1 / span 2; height: auto; margin: 8px 0 8px 8px; }
    .channel-link { padding-top: 16px; }
    .footer .footer-channels { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand img { width: 240px; }
}

@media (max-width: 640px) {
    .wrap { width: min(var(--wrap), 100% - 40px); }
    .masthead-inner { min-height: 64px; gap: 12px; }
    .brand { gap: 8px; }
    .brand img { width: 36px; }
    .brand-text { font-size: 21px; }
    .season-switch a { padding-inline: 8px; }
    .menu { padding-inline: 20px; }
    .hero::before { width: 160%; right: -70%; bottom: -12%; }
    .hero-grid { gap: 32px; padding-block: 44px; }
    .hero:has(+ .matchday) .hero-grid { padding-bottom: 104px; }
    .hero h1 { font-size: clamp(34px, 9.6vw, 42px); }
    .hero-lead { margin-top: 14px; font-size: 17px; line-height: 26px; }
    .hero-actions { margin-top: 28px; }
    .hero-actions .btn { flex: 1 1 0; padding-inline: 16px; }
    .matchday { margin-top: -64px; }
    .matchday-panel { padding: 20px 0 20px; border-radius: 20px; }
    .matchday-head { padding-inline: 20px; margin-bottom: 16px; }
    .matchday-date { font-size: 20px; line-height: 28px; }
    .mc-list {
        grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
        overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
        padding-inline: 20px; scrollbar-width: none;
    }
    .mc-list::-webkit-scrollbar { display: none; }
    .mc-list .mc { scroll-snap-align: start; }
    .mc-list:has(> .mc:only-child) { grid-auto-columns: 100%; }
    .section { padding-block: 64px; }
    .matchday + .section { padding-top: 56px; }
    .page-head::before { width: 420px; right: -40%; }
    .page-head > .wrap { padding-block: 24px 36px; }
    .page-head h1 { margin-top: 10px; font-size: clamp(30px, 8.4vw, 38px); }
    .page-lead { font-size: 16px; line-height: 24px; }
    .page-body { padding-block: 24px 64px; }
    .crest-rows { gap: 22px; }
    .crest-row { gap: 10px; }
    .crest-strip { gap: 8px; }
    .crest-strip a { gap: 6px; padding: 12px 4px 10px; border-radius: 12px; }
    .crest-disc { width: 60px; }
    .crest-short { min-height: 30px; font-size: 11.5px; line-height: 15px; }
    .crest-code { padding: 1px 7px; font-size: 10px; line-height: 14px; }
    .archive-links { grid-template-columns: minmax(0, 1fr); }
    .standings { gap: 16px; }
    .st-card h2 { padding: 14px 16px; }
    .st th, .st td { padding-inline: 4px; }
    .st .st-rank { width: 36px; padding-left: 14px; }
    .st .st-pts { padding-right: 14px; }
    .st .st-sets { display: none; }
    .st-club a { gap: 8px; font-size: 15px; line-height: 20px; }
    .st-crest { width: 26px; height: 26px; }
    .club-head-grid { grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: center; }
    .club-head-crest { width: 88px; padding: 10px; border-radius: var(--r); }
    .club-head-crest .crest, .club-head-crest .crest-initials { width: 68px; height: 68px; }
    .club-head-division { margin-top: 12px; }
    .club-head h1 { font-size: clamp(24px, 7vw, 32px); }
    .club-body { gap: 40px; }
    .club-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 24px; padding-top: 16px; }
    .club-fact, .club-fact:first-child { padding: 0; border-left: 0; }
    .club-fact.is-text { grid-column: 1 / -1; }
    .club-fact-num { font-size: 24px; line-height: 30px; }
    .club-fact.is-text dd { font-size: 16px; line-height: 24px; }
    .club-sport .club-head-crest { border-radius: 50%; padding: 10px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .14), 0 0 0 10px color-mix(in srgb, var(--club) 40%, transparent), 0 16px 32px -14px rgba(0, 0, 0, .7); animation: none; }
    .club-sport .club-head-crest .crest { width: 68px; height: 68px; }
    .club-head-code { font-size: 96px; top: 34%; -webkit-text-stroke-width: 1.5px; }
    .club-sport .club-facts { gap: 8px; }
    .club-sport .club-fact, .club-sport .club-fact:first-child { min-width: 0; padding: 10px 12px; }
    .club-sport .club-fact-num { font-size: 24px; line-height: 28px; }
    .club-page .squad { gap: 12px; }
    .club-page .pcard { border-radius: var(--r); }
    .club-page .pcard:hover { transform: none; }
    .club-page .pcard-no { left: 8px; top: 8px; min-width: 34px; height: 34px; border-radius: 10px; font-size: 19px; }
    .pcard-bigno { font-size: 44px; right: 6px; }
    .club-switch .wrap { width: 100%; padding-inline: 8px; }
    .club-switch-list { grid-auto-columns: 92px; }
    .club-switch .scroller.is-scrollable { padding-bottom: 10px; }
    .club-switch .scroller.is-scrollable > .scroll-arrow { margin-bottom: 20px; }
    .club-switch-list a { font-size: 12px; line-height: 16px; }
    .pcard:hover { transform: none; }
    .pcard-home svg { width: 12px; height: 12px; }
    .player-head-grid { grid-template-columns: 112px minmax(0, 1fr); gap: 20px; }
    .player-photo { width: 112px; border-radius: var(--r); }
    .player-photo .pcard-no { left: 6px; top: 6px; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 10px; font-size: 18px; }
    .player-tags { margin-top: 12px; gap: 6px; }
    .player-head h1 { font-size: clamp(24px, 7vw, 32px); }
    .player-club { margin-top: 12px; font-size: 15px; line-height: 20px; }
    .player-club .crest, .player-club .crest-initials { width: 28px; height: 28px; }
    .player-switch .club-switch-list { grid-auto-columns: 80px; }
    .player-switch-face { width: 44px; height: 44px; }
    .player-facts .club-fact.is-text { grid-column: auto; }
    .h26-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .h26-tile { padding: 12px 14px; }
    .h26-big { font-size: 26px; line-height: 32px; }
    .h26-card .st th:first-child, .h26-card .st td:first-child { padding-left: 12px; }
    .h26-card .st th:last-child, .h26-card .st td:last-child { padding-right: 12px; }
    .h26-card .st th.h26-label[scope="row"] { font-size: 14px; }
    .h26-per-set { display: none; }
    .h26-opp { min-width: 0; }
    .h26-opp-name, .h26-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .h26-log { font-size: 15px; }
    .h26-log td small { display: none; }
    .h26-log .cm-outcome { padding-inline: 8px; }
    .h26-opp .crest, .h26-opp .crest-initials { width: 26px; height: 26px; }
    .player-pager { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .player-pager-all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
    .player-pager-step { padding: 10px 14px; }
    .cm { padding: 14px 16px; }
    .cm-date { font-size: 15px; }
    .squad { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .pcard-no { left: 8px; top: 8px; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 10px; font-size: 19px; }
    .pcard-cap { right: 8px; top: 8px; width: 26px; height: 26px; font-size: 13px; }
    .pcard-body { padding: 12px 12px 12px; }
    .pcard-name { font-size: 15px; line-height: 21px; }
    .pcard-stats { padding: 8px 4px 10px; }
    .pcard-stats dd { font-size: 15px; }
    .pcard-stats small { margin-left: 1px; font-size: 10px; }
    .staff { grid-template-columns: minmax(0, 1fr); }
    .scard { grid-template-columns: 68px minmax(0, 1fr); gap: 14px; padding: 10px; }
    .scard-photo { width: 68px; }
    .venue-card { padding: 20px; }
    .venue { grid-template-columns: minmax(0, 1fr); border-radius: var(--r); }
    .venue-media { aspect-ratio: 16 / 9; min-height: 0; }
    .venue-body { padding: 18px 16px; }
    .venue-map-box { border-left: 0; border-top: 1px solid var(--line); }
    .channel { grid-template-columns: minmax(0, 1fr); }
    .channel-logo { grid-row: auto; height: 120px; margin: 8px 8px 0; }
    .channel-logo img { height: 48px; }
    .channel-body { padding: 16px 20px 0; }
    .channel-link { padding: 16px 20px 20px; }
    .not-found { padding-block: 64px 96px; }
    .sec-head { margin-bottom: 24px; }
    .tabs { display: flex; width: 100%; }
    .tabs button { flex: 1; justify-content: center; padding-inline: 12px; }
    .club-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .club { border-radius: var(--r); }
    .club-top { height: 148px; }
    .club-top::before { inset: 8px; border-radius: 8px; }
    .club-code { right: 10px; top: 8px; font-size: 22px; }
    .club-gender { left: 8px; top: 8px; padding: 2px 8px; font-size: 11px; line-height: 16px; }
    .club-logo { width: 96px; height: 96px; margin-top: -10px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18), 0 12px 24px -10px rgba(0, 0, 0, .55); }
    .club-logo .crest { width: 76px; height: 76px; }
    .club-logo .crest-initials { width: 76px; font-size: 24px; }
    .club-faces { left: 8px; bottom: 8px; }
    .club-faces img, .club-faces-more { width: 24px; height: 24px; margin-left: -8px; }
    .club-meta { padding: 12px 12px 14px; }
    .club-name { font-size: 15px; line-height: 21px; }
    .club-sub { font-size: 11px; line-height: 15px; }
    .club-stats { margin-top: 10px; padding-top: 10px; }
    .club-stat { padding-left: 6px; }
    .club-stat-num { font-size: 17px; line-height: 20px; }
    .club-stat-label { font-size: 10px; line-height: 13px; }
    .club-go { padding-top: 10px; font-size: 13px; }
    .empty { padding: 24px; }
    .schedule-filters { flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
    .schedule-genders { width: 100%; }
    .schedule-genders button { flex: 1; padding-inline: 12px; }
    .schedule-team-filter { flex-basis: 100%; flex-wrap: wrap; gap: 4px; padding: 10px; }
    .schedule-team-filter label:not(.sr-only) { width: 100%; }
    .schedule-panel { padding: 8px; gap: 8px; }
    .schedule-panel-top .schedule-panel-filters, .schedule-panel .schedule-genders { width: 100%; }
    .schedule-panel .schedule-jumps { width: 100%; justify-content: center; }
    .schedule-panel .team-picker { display: grid; gap: 6px; }
    .schedule-panel .team-picker-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); justify-items: center; gap: 2px; }
    .schedule-panel .team-picker-row + .team-picker-row { padding: 6px 0 0; border-left: 0; border-top: 1px solid var(--line); }
    .schedule-panel .team-picker-label { grid-column: 1 / -1; justify-self: start; margin: 0 0 2px; }
    .schedule-panel .team-pick { padding: 1px; }
    .schedule-panel .team-pick-crest { width: 36px; height: 36px; }
    .schedule-panel .team-pick-crest .crest { width: 28px; height: 28px; }
    .schedule-panel .schedule-date-picker { padding: 6px; gap: 4px; }
    .schedule-panel .schedule-date { flex-basis: 72px; padding-block: 8px 9px; }
    .schedule-panel .schedule-date-number { font-size: 26px; line-height: 30px; }
    .schedule-panel .schedule-date-weekday { font-size: 11px; }
    .schedule-panel.is-stuck .schedule-jumps, .schedule-panel.is-stuck .schedule-team-filter { display: none; }
    .schedule-panel .scroll-arrow { width: 26px; height: 32px; }
    .schedule-date-picker { gap: 6px; padding: 8px; }
    .schedule-date-track { gap: 12px; }
    .schedule-month-days { gap: 8px; }
    .schedule-month-bar { height: 28px; }
    .scrollbar { height: 14px; }
    .schedule-date { flex-basis: 68px; }
    .scroll-arrow { width: 28px; height: 36px; border-radius: 14px; }
    .scroll-arrow svg { width: 18px; height: 18px; }
    .scroller { gap: 6px; }
    .schedule-jumps { margin: 20px 0 24px; }
    .schedule-jumps a { padding-inline: 16px; }
    .schedule-phase-title { padding: 12px 16px; font-size: 18px; }
    .wk-head { padding: 12px 16px; min-height: 64px; }
    .fx-date { padding-inline: 16px; }
    .fx-table, .fx-table tbody { display: block; }
    .fx-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .fx { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: 12px 4px; padding: 14px 16px; border-left: 3px solid var(--blue); }
    .fx[data-gender="women"] { border-left-color: var(--red); }
    .fx + .fx { border-top: 1px solid var(--line); }
    .fx td, .fx td:first-child { padding: 0; border: 0; }
    .fx-table colgroup { display: none; }
    .fx-number { grid-column: 1 / 3; grid-row: 1; text-align: left; }
    .fx-time-cell { grid-column: 3 / 6; grid-row: 1; }
    .fx-time { font-size: 16px; }
    .fx-gender-cell { grid-column: 6 / 9; grid-row: 1; }
    .fx-tv { grid-column: 9 / -1; grid-row: 1; justify-self: end; }
    .fx-home-cell { grid-column: 1 / 6; grid-row: 2; align-self: start; }
    .fx-score-cell { grid-column: 6 / 8; grid-row: 2; align-self: start; }
    .fx-away-cell { grid-column: 8 / -1; grid-row: 2; align-self: start; }
    .fx-team { flex-direction: column; justify-content: flex-start; align-self: start; gap: 6px; text-align: center; font-size: 14px; line-height: 20px; }
    .fx-home { flex-direction: column-reverse; justify-content: flex-end; text-align: center; }
    .fx-vs { align-self: start; margin-top: 5px; min-width: 36px; }
    .fx-score { align-self: start; margin-top: 1px; height: 34px; padding: 0 8px; font-size: 16px; gap: 4px; }
    .fx { --fx-bg: linear-gradient(90deg, color-mix(in srgb, var(--home) 12%, transparent), transparent 45%, transparent 55%, color-mix(in srgb, var(--away) 12%, transparent)); }
    .fx-badge { width: 46px; height: 46px; }
    .fx-team .fx-badge .fx-crest, .fx-badge .crest-initials { width: 32px; height: 32px; }
    .fx-name { font-size: 14px; }
    .fx-vs { margin-top: 8px; min-width: 40px; height: 30px; font-size: 13px; }
    .fx-score { margin-top: 6px; }
    .fx-time { font-size: 15px; line-height: 20px; padding: 2px 8px; }
    .schedule-phase-title { padding: 14px 18px; font-size: 20px; line-height: 28px; }
    .match-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 12px; }
    .match-centre { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
    .match-crest { width: 96px; height: 96px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .14), 0 0 0 10px color-mix(in srgb, var(--club) 45%, transparent), 0 16px 30px -14px rgba(0, 0, 0, .7); }
    .match-crest .crest, .match-crest .crest-initials { width: 72px; height: 72px; }
    .match-team-name { font-size: 17px; }
    .match-vs { width: 72px; height: 48px; font-size: 26px; }
    .match-score { font-size: 56px; }
    .match-count { min-width: 48px; }
    .hero-countdown .match-count { min-width: 56px; }
    .hero-countdown .match-count strong { font-size: 24px; line-height: 28px; }
    .hero-visual { justify-items: stretch; }
    .hero-numbers dd { font-size: 26px; line-height: 30px; }
    .hero-numbers div { padding-left: 10px; }
    .hm-list { grid-template-columns: minmax(0, 1fr); }
    .hm-crest { width: 56px; height: 56px; }
    .hm-crest .crest { width: 42px; height: 42px; }
    .home-season { padding-top: 40px; }
    .home-season-grid.has-two { grid-template-columns: minmax(0, 1fr); }
    .up-list { grid-template-columns: minmax(0, 1fr); }
    .match-count strong { font-size: 22px; }
    .match-watch, .match-squads, .match-pager { grid-template-columns: minmax(0, 1fr); }
    .match-h2h li { grid-template-columns: minmax(0, 1fr); gap: 6px; text-align: center; }
    .match-bar { grid-template-columns: 56px minmax(0, 1fr) 56px; }
    .match-bar-value { font-size: 20px; }
    .match-compare, .match-form { padding-inline: 16px; }
    .match-watch-item a { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 10px 12px; }
    .match-watch-face { width: 52px; height: 52px; }
    .match-pager-link.is-next { text-align: left; justify-items: start; }
    .wk-no { font-size: 17px; }
    .day-info { padding: 16px; }
    .slots li { flex-wrap: wrap; gap: 4px 12px; padding-block: 10px; }
    .slots .fx-time { width: 48px; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 48px; }
    .footer-watch { padding-block: 36px 32px; }
    .footer-channel { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
    .footer .footer-channel-logo { height: 72px; padding: 10px; }
    .footer-channel-logo img { height: 30px; }
    .login { padding: 28px 20px 20px; }
}

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