/* Self-hosted brand fonts (SIL Open Font License 1.1) */
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/rubik-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/rubik-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/rubik-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/rubik-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/manrope-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/manrope-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/manrope-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/manrope-latin-800-normal.woff2') format('woff2'); }

/* 876 League brand: lime #9AFF01 + black. Coral is reserved for LIVE / errors. */
:root {
  --ink: #0a0b08;
  --pitch: #15170f;
  --pitch-2: #22251b;
  --pitch-3: #30342a;
  --sun: #9aff01;
  --sun-2: #c2ff5c;
  --coral: #ff4d2e;
  --sea: #2ec4b6;
  --paper: #f3f4ee;
  --card: #ffffff;
  --line: #e1e3d9;
  --muted: #5f635a;
  --ok: #1f8a4c;
  --warn: #b7791f;
  --bad: #c0392b;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(10, 11, 8, 0.06), 0 6px 20px rgba(10, 11, 8, 0.06);
  --display: 'Rubik', 'Arial Rounded MT Bold', 'Arial Black', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.5; font-size: 16px; padding-bottom: 76px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; line-height: 1; text-transform: uppercase; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 0.8em; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.pre { white-space: pre-wrap; }
.sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
.grid.four { grid-template-columns: 1fr 1fr; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--ink); color: #fff; border-bottom: 3px solid var(--sun); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: 0.03em; text-transform: uppercase; }
.topnav { display: none; gap: 4px; }
.topnav a { color: #e8efe9; text-decoration: none; font-weight: 700; font-size: 0.92rem; padding: 8px 12px; border-radius: 999px; }
.topnav a.active, .topnav a:hover { background: rgba(255, 255, 255, 0.1); color: var(--sun); }
@media (min-width: 900px) { .topnav { display: flex; } }
.top .acct { color: var(--sun); font-weight: 800; text-decoration: none; font-size: 0.9rem; }

/* Bottom nav (mobile) */
.bottomnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--ink); border-top: 1px solid #1d2a23; padding-bottom: env(safe-area-inset-bottom); }
.bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 9px; color: #9fb0a6; text-decoration: none; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.bottomnav a svg { width: 22px; height: 22px; }
.bottomnav a.active { color: var(--sun); }
@media (min-width: 900px) { .bottomnav { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--ink); background: var(--sun); }
.hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(0,0,0,0.035) 0 60px, transparent 60px 120px); pointer-events: none; }
.hero::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border: 3px solid rgba(0, 0, 0, 0.12); border-radius: 50%; pointer-events: none; }
.hero .btn.sun { background: var(--ink); color: var(--sun); }
.hero .btn.ghost { color: var(--ink) !important; }
.hero p.small { color: rgba(10, 11, 8, 0.72) !important; }
.hero .lockup { display: block; width: min(78vw, 460px); height: auto; margin: 6px 0; }
.hero .wrap { position: relative; padding-top: 44px; padding-bottom: 52px; }
.hero .kicker { display: inline-flex; gap: 8px; align-items: center; background: var(--ink); color: var(--sun); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(3.4rem, 16vw, 7.5rem); margin: 18px 0 6px; line-height: 0.88; }
.hero h1 em { font-style: normal; color: var(--sun); display: block; }
.hero .lede { font-size: 1.1rem; max-width: 34ch; color: rgba(10, 11, 8, 0.8); font-weight: 600; }
.hero .cta { margin-top: 22px; }
.sash { height: 12px; background: repeating-linear-gradient(-45deg, var(--ink) 0 12px, var(--sun) 12px 24px); }

/* Cards / sections */
.section { padding-top: 32px; padding-bottom: 32px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.card.flat { box-shadow: none; }
.card h3 { margin-bottom: 0.5em; }
.offer { position: relative; overflow: hidden; }
.offer .big { font-family: var(--display); font-weight: 800; font-size: clamp(1.45rem, 6.2vw, 2.3rem); line-height: 1; overflow-wrap: anywhere; }
.offer .label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.offer.accent { background: var(--sun); border-color: var(--sun); }
.offer.accent .label { color: rgba(10, 18, 14, 0.7); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin-bottom: 8px; }
.pagehead { background: var(--ink); color: #fff; padding: 26px 0 22px; border-bottom: 3px solid var(--sun); }
.pagehead h1 { margin: 0; }
.pagehead p { color: #c4d2c9; margin: 6px 0 0; }

/* Buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 2px solid transparent; font: 800 0.98rem var(--body); cursor: pointer; text-decoration: none; background: var(--ink); color: #fff; transition: transform 0.05s; }
.btn:active { transform: translateY(1px); }
.btn.sun { background: var(--sun); color: var(--ink); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.danger { background: var(--bad); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 0.85rem; border-radius: 10px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.field { margin-bottom: 14px; }
.hint { font-weight: 500; color: var(--muted); font-size: 0.82rem; margin-top: 4px; }
input, select, textarea { width: 100%; font: 500 16px var(--body); padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--sun); outline-offset: 1px; border-color: var(--ink); box-shadow: 0 0 0 5px var(--ink); }
textarea { min-height: 96px; }
input[type='checkbox'] { width: 20px; height: 20px; accent-color: var(--ink); vertical-align: middle; }
input[type='color'] { padding: 2px; height: 44px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.formgrid { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
.formgrid .full { grid-column: 1 / -1; }
.error { background: #fdecea; color: var(--bad); border: 1px solid #f5c6c1; border-radius: 10px; padding: 10px 12px; font-weight: 600; }
.notice { background: #fff8e1; border: 1px solid #f3dc94; border-radius: 10px; padding: 12px; }
.success { background: #e7f6ed; border: 1px solid #bfe5cd; color: #135e33; border-radius: 10px; padding: 12px; }
details > summary { cursor: pointer; font-weight: 800; list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* Status pills */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 10px; border-radius: 999px; background: #eceae2; color: #474c46; white-space: nowrap; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { background: #dff3e7; color: var(--ok); }
.pill.warn { background: #fff1d1; color: var(--warn); }
.pill.bad { background: #fde4e0; color: var(--bad); }
.pill.info { background: #dbf4f1; color: #127a70; }
.pill.live { background: var(--coral); color: #fff; }
.statusgrid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .statusgrid { grid-template-columns: repeat(3, 1fr); } }
.status { border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 12px 14px; }
.status .k { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Chips & tabs */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 0.85rem; cursor: pointer; text-decoration: none; color: var(--ink); }
.chip.on { background: var(--ink); color: var(--sun); border-color: var(--ink); }
.chip .n { opacity: 0.6; margin-left: 4px; }
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 63px; z-index: 10; }
.subnav .chips { padding: 10px 0; }

/* Progress */
.bar { height: 10px; background: #ebe7dc; border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--ink); box-shadow: inset 0 0 0 2px var(--sun); }

/* Teams */
.crest { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; position: relative; overflow: hidden; }
.crest::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 55%, rgba(255,255,255,0.18) 55% 70%, transparent 70%); }
.crest.lg { width: 84px; height: 84px; font-size: 2rem; border-radius: 20px; }
.crest.sm { width: 30px; height: 30px; font-size: 0.75rem; border-radius: 8px; }
.teamcard { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.teamcard:hover { border-color: var(--ink); box-shadow: 0 0 0 3px var(--sun); }

/* Matches */
.match { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 14px; text-decoration: none; color: inherit; }
.match .side { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; }
.match .side.away { flex-direction: row-reverse; text-align: right; }
.match .side .nm { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; font-size: 0.92rem; }
.match .mid { text-align: center; min-width: 76px; }
.score { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.match .meta { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; }
.daylabel { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; margin: 22px 0 8px; color: var(--ink); display: inline-block; background: var(--sun); padding: 4px 10px; border-radius: 8px; }

/* Tables */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
td.num, th.num { text-align: center; }
.standings tr:nth-child(-n + 2) td:first-child { color: var(--ink); font-weight: 900; box-shadow: inset 4px 0 0 var(--sun); }
.standings td.pts { font-weight: 800; }
.form i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; font-style: normal; font-size: 0.68rem; font-weight: 800; color: #fff; margin-right: 2px; }
.form .W { background: var(--ok); } .form .D { background: #8a8f87; } .form .L { background: var(--bad); }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: table-cell; } }

/* Players list (captain) */
.player { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.player > summary { padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.player .num { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--ink); color: var(--sun); font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.player .body { padding: 0 14px 14px; }
.player[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.sizes { font-size: 0.8rem; color: var(--muted); }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Score pad (matchday) */
.pad { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pad .team { text-align: center; }
.pad .val { font-family: var(--display); font-size: 4.5rem; font-weight: 800; line-height: 1; margin: 8px 0; }
.pad .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pad .btns .btn { min-height: 56px; font-size: 1.6rem; }

/* Toast */
#toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 50; max-width: 92vw; pointer-events: none; }
#toast div { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; box-shadow: var(--shadow); border-left: 5px solid var(--sun); margin-top: 8px; }
#toast div.bad { border-left-color: var(--coral); }
@media (min-width: 900px) { #toast { bottom: 24px; } }

footer.site { background: var(--ink); color: #9fb0a6; padding: 30px 0 40px; margin-top: 40px; font-size: 0.88rem; }
footer.site a { color: var(--sun); }
footer.site .flogo { height: 64px; width: auto; display: block; margin-bottom: 8px; }
.loading { padding: 60px 0; text-align: center; color: var(--muted); font-weight: 700; }
.empty { text-align: center; padding: 30px 16px; color: var(--muted); }
.empty .display { font-size: 1.6rem; color: var(--ink); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 0.92rem; }
.kv dt { color: var(--muted); font-weight: 700; }
.kv dd { margin: 0; word-break: break-word; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

/* ===== League-site layout layer (structure guided by soccer5leagues.com) ===== */
.utility { background: var(--sun); color: var(--ink); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 10px; }
.utility a { color: var(--ink); text-decoration: none; }
.utility-actions { display: flex; gap: 14px; }
.utility-actions a { display: inline-flex; align-items: center; gap: 6px; }
.utility-actions a.live { color: var(--coral); }
.utility-actions a.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse 1.2s infinite; }
.utility-social { display: flex; gap: 12px; }
.utility-social svg { width: 18px; height: 18px; display: block; }
@keyframes pulse { 50% { opacity: 0.3; } }
.topnav a { text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.82rem; }
.hero .stack-head { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 0.92; margin: 18px 0 10px; }
.hero .stack-head span { display: block; font-size: clamp(1.3rem, 5.4vw, 2.2rem); color: var(--ink); letter-spacing: 0; }
.hero .stack-head b { display: block; font-size: clamp(3.4rem, 16vw, 7.5rem); color: #fff; }
.hero .stack-head b em { font-style: normal; color: var(--sun); }
.sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sechead h2 { margin: 0; position: relative; padding-bottom: 8px; }
.sechead h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 5px; background: var(--sun); border-radius: 3px; }
.sechead a { font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
/* Division-style feature cards */
.divcard { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 170px; padding: 18px; color: #fff; background: var(--pitch-2); display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; }
.divcard::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 18px, transparent 18px 36px); }
.divcard > * { position: relative; }
.divcard .tag { position: relative; align-self: flex-start; margin-bottom: auto; background: var(--sun); color: var(--ink); font-weight: 900; font-size: 0.72rem; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.divcard .tag + .big { margin-top: 22px; }
.divcard .big { font-family: var(--display); font-weight: 900; font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.divcard p { margin: 6px 0 0; color: #c9d6ce; font-size: 0.88rem; }
.divcard.sun { background: var(--sun); color: var(--ink); } .divcard.sun p { color: rgba(10,18,14,.7); } .divcard.sun .tag { background: var(--ink); color: var(--sun); }
.divcard.coral { background: var(--coral); } .divcard.coral p { color: #ffe4dd; }
.divcard.ink { background: var(--ink); }
/* Crest rows (standings / teams) */
.crestrows { display: grid; gap: 8px; }
.crestrow { display: grid; grid-template-columns: 34px 44px 1fr auto; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; text-decoration: none; color: inherit; }
.crestrow .pos { font-family: var(--display); font-weight: 900; font-size: 1.4rem; color: var(--ink); text-align: center; }
.crestrow .nm { font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crestrow .val { font-family: var(--display); font-weight: 900; font-size: 1.6rem; min-width: 40px; text-align: right; }
.crestrow:nth-child(1) { border-left: 5px solid var(--sun); }
/* Countdown */
.countdown { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px 16px; text-align: center; border-bottom: 5px solid var(--sun); }
.countdown .units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.countdown .u { background: rgba(255,255,255,.06); border-radius: 12px; padding: 12px 4px; }
.countdown .n { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.countdown .l { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #9fb0a6; margin-top: 4px; }
/* Partners strip */
.partners { background: #fff; border-top: 1px solid var(--line); padding: 22px 0; }
.partners .row { justify-content: center; gap: 12px 34px; }
.partner { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.2rem; color: #7b8079; letter-spacing: 0.04em; text-align: center; line-height: 1; }
.partner small { display: block; font-family: var(--body); font-size: 0.62rem; letter-spacing: 0.1em; font-weight: 800; margin-bottom: 4px; }
footer.site { margin-top: 0; }
footer.site .fnav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0; }
footer.site .fnav a { color: #e8efe9; text-decoration: none; font-weight: 800; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; }
footer.site .copy { border-top: 1px solid #1d2a23; padding-top: 14px; margin-top: 14px; font-size: 0.78rem; }
/* Kits */
.swatch { display: inline-block; width: 18px; height: 18px; border-radius: 5px; border: 1px solid rgba(0,0,0,.15); vertical-align: middle; flex: none; }
.kitcard { display: flex; flex-direction: column; gap: 10px; }
.kitcard .views { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: #f1eee5; border-radius: 12px; padding: 10px; }
.kitcard .views img, .kitcard .views svg { width: 100%; aspect-ratio: 120 / 134; object-fit: contain; display: block; }
.kitcard .views .lbl { text-align: center; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.kitcard.taken .views { opacity: 0.45; filter: grayscale(0.6); }
.kitsvg { max-height: 160px; }
.prefrow { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; margin-bottom: 10px; }
.prefrow .rk { font-family: var(--display); font-weight: 900; font-size: 1.4rem; text-align: center; background: var(--ink); color: var(--sun); border-radius: 8px; padding: 4px 0; }
/* Broadcast */
.livebar { background: var(--coral); color: #fff; }
.livebar a { color: #fff; font-weight: 800; text-decoration: none; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 16px; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.85rem; }
.livebar a::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
.scoreboard { background: radial-gradient(120% 120% at 50% 0%, var(--pitch-3), var(--ink)); color: #fff; padding: 22px 0 24px; border-bottom: 4px solid var(--sun); }
.scoreboard .sb { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; text-align: center; }
.scoreboard .tm { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 800; text-transform: uppercase; font-size: 0.9rem; color: #fff; text-decoration: none; }
.scoreboard .sc { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 14vw, 4.6rem); line-height: 1; }
.scoreboard .meta { text-align: center; color: #c4d2c9; font-size: 0.85rem; margin-top: 12px; }
.player-box { background: var(--ink); border-radius: var(--radius); padding: 12px; color: #fff; }
.player-box .video { border-radius: 10px; }
.player-box .placeholder { aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 16px; background: repeating-linear-gradient(-45deg, #0f1a14 0 16px, #0a120e 16px 32px); border-radius: 10px; }
.matchlink { font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; }

/* ===== Hero subheading ===== */
.hero .stack-head { margin: 4px 0 6px; }
.hero .hero-sub { font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 4.6vw, 1.6rem); line-height: 1.25; max-width: 30ch; color: var(--ink); }

/* ===== Rules page ===== */
.rulehero { background: var(--sun); color: var(--ink); padding: 28px 0 30px; border-bottom: 12px solid var(--ink); position: relative; overflow: hidden; }
.rulehero::after { content: ''; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border: 3px solid rgba(0,0,0,.12); border-radius: 50%; }
.rulehero .rulelogo { width: 150px; height: auto; display: block; margin-bottom: 14px; }
.rulehero h1 { margin: 0; font-size: clamp(2.2rem, 9vw, 3.6rem); }
.rulehero p { font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin: 6px 0 16px; }
.rulehero .btn.ghost { color: var(--ink); }
.glance { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .glance { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .glance { grid-template-columns: repeat(3, 1fr); } }
.glance .g { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 14px 16px; border-left: 6px solid var(--sun); }
.glance .k { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--sun); font-size: 0.95rem; margin-bottom: 4px; }
.glance .v { font-size: 0.95rem; color: #e6e8df; }
.toc { margin: 22px 0 8px; position: sticky; top: 60px; z-index: 5; background: var(--paper); padding: 8px 0; }
.rulesec { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 22px 0; border-top: 2px solid var(--line); scroll-margin-top: 120px; }
.rulesec .rnum { width: 52px; height: 52px; border-radius: 14px; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 1.6rem; }
.rulesec h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); margin-bottom: 10px; }
.rulesec h4 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1rem; margin: 16px 0 6px; }
.rulelist { margin: 0; padding-left: 0; list-style: none; }
.rulelist li { position: relative; padding: 6px 0 6px 22px; border-bottom: 1px dashed var(--line); }
.rulelist li:last-child { border-bottom: 0; }
ul.rulelist li::before { content: ''; position: absolute; left: 2px; top: 14px; width: 10px; height: 10px; border-radius: 3px; background: var(--sun); box-shadow: 0 0 0 2px var(--ink); }
ol.rulelist { counter-reset: tb; }
ol.rulelist li { counter-increment: tb; padding-left: 34px; }
ol.rulelist li::before { content: counter(tb); position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--sun); display: grid; place-items: center; font-weight: 900; font-size: 0.8rem; }
.rulesec .lead { font-size: 1.02rem; background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 12px 14px; }
.ptsrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 360px; }
.ptsrow div { background: #fff; border: 2px solid var(--ink); border-radius: 12px; text-align: center; padding: 8px 4px; }
.ptsrow b { display: block; font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1; }
.ptsrow div:first-child { background: var(--sun); }
.ptsrow span { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.sdgrid { display: grid; gap: 6px; margin: 14px 0; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 760px) { .sdgrid { grid-template-columns: repeat(6, 1fr); } }
.sdstep { border-radius: 12px; padding: 10px 6px; text-align: center; background: var(--ink); color: #fff; }
.sdstep .t { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #a9ad9f; }
.sdstep .n { font-family: var(--display); font-weight: 900; font-size: 1.9rem; color: var(--sun); line-height: 1.1; }
.sdstep .f { font-size: 0.72rem; color: #d7dace; }
.sdstep:last-child { background: var(--sun); color: var(--ink); } .sdstep:last-child .n, .sdstep:last-child .t, .sdstep:last-child .f { color: var(--ink); }

/* Print / Save as PDF: rules page in brand colours */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; padding: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .utility, .top, .bottomnav, .partners, footer.site, .noprint, #toast, .subnav { display: none !important; }
  .rulehero { border-bottom-width: 6px; }
  .rulesec { break-inside: avoid; }
  .glance { grid-template-columns: repeat(2, 1fr); }
  .sdgrid { grid-template-columns: repeat(6, 1fr); }
  a { text-decoration: none; }
}

/* ===== Lock Off (target-score phase) ===== */
.targetbar { background: var(--sun); color: var(--ink); border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.targetbar .ts { font-family: var(--display); font-weight: 900; font-size: 1.5rem; line-height: 1; text-transform: uppercase; }
.targetbar .ts small { display: block; font-size: 0.7rem; letter-spacing: 0.08em; font-family: var(--body); font-weight: 800; }
.tclock { display: grid; text-align: right; }
.tclock .tc-n { font-family: var(--display); font-weight: 900; font-size: 1.6rem; line-height: 1; }
.tclock .tc-d { font-size: 0.75rem; font-weight: 700; }
.tclock .tc-t { font-size: 0.72rem; opacity: 0.8; font-variant-numeric: tabular-nums; }
.pill.target { background: var(--sun); color: var(--ink); }
.scoreboard .targetbar { margin-top: 14px; }
.pad .team.reached .val { color: var(--ink); background: var(--sun); border-radius: 12px; }
.ptsrow .nodraw { background: var(--ink); color: var(--sun); }
.tsx { display: grid; gap: 8px; margin-bottom: 6px; }
.tsx-row { display: grid; grid-template-columns: auto auto auto 1fr; gap: 10px; align-items: center; background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 8px 12px; }
.tsx-row .ft, .tsx-row .tg { font-family: var(--display); font-weight: 900; font-size: 1.5rem; line-height: 1; text-align: center; }
.tsx-row small { display: block; font-family: var(--body); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tsx-row .tg { background: var(--sun); border-radius: 8px; padding: 4px 8px; }
.tsx-row .tg small { color: var(--ink); }
.tsx-row .arr { font-weight: 900; }
.tsx-row .d { font-size: 0.88rem; }
@media (max-width: 420px) { .tsx-row { grid-template-columns: auto auto auto; } .tsx-row .d { grid-column: 1 / -1; } }
.targetbar { flex-wrap: nowrap; }
.targetbar .ts { font-size: clamp(2.4rem, 11vw, 3.2rem); }
.targetbar .ts small { margin-bottom: 2px; }

/* ===== Rosters, draft, payments ===== */
.slot.empty > summary .num { background: #e7e9e0; color: var(--muted); }
.slot .slotflags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; max-width: 46%; }
.slotrow { border-bottom: 1px dashed var(--line); padding: 8px 0; }
.slotrow:last-child { border-bottom: 0; }
.draftrow { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px dashed var(--line); }
.draftrow .rk { flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--ink); color: var(--sun); display: grid; place-items: center; font-family: var(--display); font-weight: 900; }
.slot > summary { flex-wrap: wrap; row-gap: 4px; }
.slot .slotflags { max-width: none; flex-basis: 100%; justify-content: flex-start; padding-left: 50px; }
@media (min-width: 640px) { .slot > summary { flex-wrap: nowrap; } .slot .slotflags { flex-basis: auto; padding-left: 0; justify-content: flex-end; } }
.slot.empty > summary { padding-top: 8px; padding-bottom: 8px; }
.slot > summary > span { text-align: left; }

/* Team crests (image) — white tile so every crest reads on light and dark backgrounds */
.crest.img { background: #fff; padding: 3px; box-shadow: inset 0 0 0 1px rgba(10, 11, 8, 0.08); }
.crest.img::after { display: none; }
.crest.img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.crest.img.lg { padding: 6px; }
.clubpick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 14px; }
@media (min-width: 560px) { .clubpick { grid-template-columns: repeat(4, 1fr); } }
.clubpick button { background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 8px 4px; cursor: pointer; display: grid; justify-items: center; gap: 4px; font: 700 0.7rem var(--body); color: var(--ink); line-height: 1.15; }
.clubpick button img { width: 52px; height: 52px; object-fit: contain; }
.clubpick button.on { border-color: var(--ink); box-shadow: 0 0 0 3px var(--sun); }
.clubwall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 640px) { .clubwall { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .clubwall { grid-template-columns: repeat(6, 1fr); } }
.clubwall .club { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 8px; display: grid; justify-items: center; gap: 8px; text-align: center; text-decoration: none; color: inherit; }
.clubwall .club img { width: 76px; height: 76px; object-fit: contain; }
.clubwall .club b { font-size: 0.78rem; line-height: 1.2; text-transform: uppercase; }

/* Narrow screens: crest above name on match cards; table names wrap so points stay visible */
@media (max-width: 560px) {
  .match { grid-template-columns: 1fr auto 1fr; gap: 6px; padding: 12px 10px; }
  .match .side, .match .side.away { flex-direction: column; text-align: center; gap: 6px; }
  .match .side .nm { font-size: 0.8rem; -webkit-line-clamp: 2; }
  .match .mid { min-width: 0; }
  .match .mid .pill { font-size: 0.62rem; padding: 3px 7px; white-space: normal; }
}
.standings td:nth-child(2) { white-space: normal; min-width: 130px; }
.standings td:nth-child(2) b { line-height: 1.2; }

/* ---- Stats ---------------------------------------------------------------- */
.stattiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.stile { background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 10px; text-align: center; }
.stile b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.9rem; line-height: 1; color: var(--sun); }
.stile small { display: block; margin-top: 6px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: #c4d2c9; }
.lb { padding: 14px; }
.lbhead h3 { margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.03em; }
.lbrows { counter-reset: lb; display: grid; }
.lbrow { counter-increment: lb; display: grid; grid-template-columns: 24px 32px 1fr auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.lbrow .pos::before { content: counter(lb); font-family: var(--display); font-weight: 900; font-size: 1.15rem; }
.lbrow:first-child { border-top: 0; }
.lbrow:first-child .val { color: var(--ink); background: var(--sun); border-radius: 8px; padding: 0 8px; }
.lbrow .who { min-width: 0; }
.lbrow .who b, .lbrow .who small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbrow .who small { color: var(--muted); font-size: 0.78rem; }
.lbrow .val { font-family: var(--display); font-weight: 900; font-size: 1.45rem; white-space: nowrap; }
.card-y, .card-r { display: inline-block; width: 9px; height: 12px; border-radius: 2px; margin: 0 3px 0 1px; vertical-align: -1px; background: #FFD400; }
.card-r { background: #E5231B; }
.lbrow .val .card-y, .lbrow .val .card-r { width: 12px; height: 16px; vertical-align: -2px; }
.timeline { padding: 6px 12px; }
.tl { display: grid; grid-template-columns: 38px 26px 1fr; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.tl:first-child { border-top: 0; }
.tl.a { direction: rtl; text-align: right; }
.tl.a > * { direction: ltr; }
.tl .min { font-family: var(--display); font-weight: 900; color: var(--muted); }
.tl .ic { text-align: center; }
.tl .who b, .tl .who small { display: block; }
.tl .who small { color: var(--muted); font-size: 0.78rem; }
.tl-div { margin: 6px -12px; padding: 6px 12px; background: var(--sun); color: var(--ink); font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.85rem; }
.statstable { width: 100%; }
.statstable th, .statstable td { padding: 9px 5px; }
.statstable td:first-child { white-space: normal; min-width: 0; }
.statstable td:first-child a { align-items: center; }
.statstable td:first-child b { line-height: 1.15; font-size: 0.92rem; }
.statstable td.pts { font-weight: 800; }
@media (max-width: 639px) { .statstable .crest { display: none; } }
.teamhead h1 { font-size: clamp(1.5rem, 7vw, 3rem); overflow-wrap: anywhere; hyphens: auto; }
.evrow { flex-wrap: nowrap; align-items: flex-start; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.evrow:first-child { border-top: 0; }
.evrow > span { min-width: 0; }
.evrow .btn { flex: none; }
.payopts { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 720px) { .payopts { grid-template-columns: 1fr 1fr; } }
.payopt { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.payopt h4 { margin: 0; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.02em; }

/* ---- Team payments ------------------------------------------------------------ */
.paybtns { display: grid; gap: 8px; margin-top: 12px; }
@media (min-width: 640px) { .paybtns { grid-template-columns: 1fr 1fr; } }
.paybtns .btn { padding: 14px 12px; font-size: 1rem; }
.paybtns .btn.on { outline: 3px solid var(--ink); outline-offset: 2px; }
.payform { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.txrow { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.txrow:first-child { border-top: 0; }
.txmain { min-width: 0; }
.txside { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.addplayer { margin-top: 12px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; }
.feebox { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 10px 0 14px; background: #fff; }
.feetable { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.feetable { table-layout: auto; }
.feetable th { text-align: left; font-weight: 600; padding: 7px 0; text-transform: none; letter-spacing: normal; color: var(--ink); font-size: 0.92rem; white-space: normal; background: none; }
.feetable td { text-align: right; padding: 7px 0 7px 12px; white-space: nowrap; }
.feetable tr + tr th, .feetable tr + tr td { border-top: 1px solid var(--line); }
.feetable tr.split th, .feetable tr.split td { color: var(--muted); font-weight: 500; }

/* ---- Divisions ---------------------------------------------------------------- */
.divswitch { display: inline-flex; background: var(--ink); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 14px; max-width: 100%; }
.divswitch a { color: #fff; text-decoration: none; font-weight: 800; font-size: 0.9rem; padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.divswitch a.on { background: var(--sun); color: var(--ink); }
.divpick { border-radius: var(--radius); padding: 18px; background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 10px; }
.divpick.super { background: var(--sun); color: var(--ink); }
.divpick .small { color: inherit; opacity: 0.85; }
.divfacts { margin: 0; padding-left: 18px; font-size: 0.92rem; line-height: 1.6; }
.divpick .btn.ghost { border-color: currentColor; color: inherit; }
.divchoice { border: 0; padding: 0; margin: 0 0 12px; }
.divchoice legend { font-weight: 800; margin-bottom: 6px; }
.divopt { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; }
.divopt:has(input:checked) { border-color: var(--ink); background: #f7ffe6; }
.divopt input { margin-top: 4px; accent-color: var(--ink); }
.divopt b { display: block; }
.divopt small { display: block; color: var(--muted); font-size: 0.82rem; }
.agechip { display: inline-block; font-size: 0.72rem; font-weight: 800; padding: 1px 6px; border-radius: 6px; background: #eef4ea; color: var(--ink); margin-left: 4px; }
.agechip.ex { background: #fff2d6; }
.divopt input[type=radio] { width: 18px; height: 18px; flex: none; margin: 3px 0 0; padding: 0; }
.divpick.super .btn:not(.ghost) { background: var(--ink); color: var(--sun); border-color: var(--ink); }
.divpick:not(.super) .btn.sun { background: var(--sun); color: var(--ink); }
.mgrbox { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #f4f6f1; }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; font-weight: 700; }

/* ---- Partners + factory kits ---------------------------------------------------- */
.partner.logo { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.partner.logo img { height: 60px; width: auto; display: block; }
.flogos { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin-top: 16px; opacity: 0.9; }
.flogos img { width: auto; display: block; }
.kithero { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kithero img { width: auto; flex: none; }
.grid.four { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
.fkit { padding: 8px; gap: 6px; display: flex; flex-direction: column; }
.fkit .fimg img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; display: block; background: #fff; border-radius: 8px; }
.fkit.taken .fimg { opacity: 0.4; }

/* Manager kit picker: 12 clash-free colours, first come first served */
.kitpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.kitpick .kp { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; color: inherit; text-align: center; }
.kitpick .kp img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.kitpick .kp:not([disabled]):hover { border-color: var(--sun, #f5c400); transform: translateY(-1px); }
.kitpick .kp[disabled] { cursor: default; }
.kitpick .kp.taken, .kitpick .kp.unavailable { opacity: .4; filter: grayscale(1); }
.kitpick .kp.available[disabled] .small { color: var(--muted, #667); }
.kitpick .kp.available:not([disabled]) .small { color: var(--ok, #1a7f3c); font-weight: 700; }

/* Montego Bay Sports Complex crest (finals venue) */
.partner.logo img.stadium { height: 77px; }
.divcard.has-crest { position: relative; }
.divcard .tilecrest { position: absolute; top: 12px; right: 14px; width: 46px; height: auto; }

/* Kit colour groups: flip through the designs in each colour */
.kcgrid { gap: 16px; }
.kcol { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.kc-head { display: flex; align-items: center; gap: 8px; }
.kc-head b { flex: 1; font-size: 1.05rem; }
.kc-dot { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.kc-stage { position: relative; }
.kc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 10px; background: #fff; }
.kc-track::-webkit-scrollbar { display: none; }
.kc-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.kc-slide img { width: 100%; height: 100%; object-fit: contain; }
.kc-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(10,10,10,.78); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding-bottom: 3px; }
.kc-nav.prev { left: 6px; } .kc-nav.next { right: 6px; }
.kc-nav:disabled { opacity: .2; cursor: default; }
.kc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kc-dots { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.kc-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d4d7d2; cursor: pointer; }
.kc-dots i.on { background: #111; }
.kcol.taken .kc-track, .kcol.unavailable .kc-track { opacity: .38; filter: grayscale(1); }
