/* ==========================================================================
   Kauno Stumbrai — one-pager
   ========================================================================== */

:root {
	--bg: #171310;
	--bg-deep: #120f0c;
	--surface: #211b16;
	--surface-2: #2a221c;
	--line: #42352a;
	--line-soft: rgba(246, 243, 239, 0.07);
	--copper: #e4a05b;
	--copper-deep: #8e552b;
	--copper-glow: rgba(228, 160, 91, 0.16);
	--white: #f6f3ef;
	--text: #d9d3cc;
	--muted: #b2a99f;
	--dim: #807060;
	--win: #22c55e;
	--clock: #22c55e;
	--loss: #f87171;
	--gold: #facc15;
	--silver: #d4d4d8;
	--bronze: #e4a05b;
	--font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--display: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
	--radius: 10px;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 68px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 8px);
	-webkit-text-size-adjust: 100%;
}

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
	outline: 2px solid var(--copper);
	outline-offset: 3px;
	border-radius: 4px;
}
p, h1, h2, h3, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
abbr { text-decoration: none; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	padding: 10px 16px; background: var(--copper); color: var(--bg);
	font-weight: 700; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.wrap--narrow { max-width: calc(760px + 2 * var(--gutter)); }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Type --------------------------------------------------------- */
.display {
	font-family: var(--display);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 0.92;
	color: var(--white);
}
.accent { color: var(--copper); }

.eyebrow {
	font-family: var(--display);
	font-weight: 600;
	font-size: 0.82rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--copper);
}
.eyebrow--dot::before {
	content: '';
	display: inline-block;
	width: 7px; height: 7px;
	margin-right: 0.9em;
	border-radius: 50%;
	background: var(--copper);
	vertical-align: 0.15em;
	box-shadow: 0 0 0 4px var(--copper-glow);
}
.eyebrow--line { display: flex; align-items: center; gap: 1.1em; }
.eyebrow--line::after { content: ''; height: 1px; width: min(260px, 30vw); background: var(--copper-deep); }

.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section + .section { border-top: 1px solid var(--line-soft); }

.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head--split {
	display: grid;
	gap: 18px;
	align-items: end;
}
@media (min-width: 860px) {
	.section-head--split { grid-template-columns: 1.3fr 1fr; gap: 48px; }
}
.section-title { font-size: clamp(2.6rem, 7vw, 4.6rem); }
.section-title--xl { font-size: clamp(3.4rem, 12vw, 7.5rem); line-height: 0.88; }
.section-title--xl span { display: block; }
.section-lead { color: var(--muted); max-width: 46ch; font-size: 1.05rem; }
.section-lead strong { color: var(--white); font-weight: 600; }
.subhead {
	font-family: var(--display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 1rem;
	color: var(--white);
	margin: 48px 0 16px;
}
.fineprint { color: var(--dim); font-size: 0.85rem; margin-top: 14px; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 24px;
	border-radius: 8px;
	border: 1px solid transparent;
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--primary { background: var(--copper); color: var(--bg); }
.btn--primary:hover { background: #eeb478; transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--copper); color: var(--copper); }
.btn--small { min-height: 40px; font-size: 0.92rem; padding: 0 16px; }

.chip {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border: 1px solid rgba(228, 160, 91, 0.35);
	background: rgba(228, 160, 91, 0.08);
	border-radius: 999px;
	color: var(--copper);
	font-family: var(--display);
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* ---------- Header ------------------------------------------------------- */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	height: var(--header-h);
	transition: background-color .25s, border-color .25s, backdrop-filter .25s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.nav-open .site-header {
	background: rgba(23, 19, 16, 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom-color: var(--line-soft);
}
.site-header__inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__logo { width: 42px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name {
	font-family: var(--display);
	font-weight: 800;
	font-size: 1.2rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--white);
}
.brand__tag {
	font-family: var(--display);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--copper);
	white-space: nowrap;
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: transparent;
	color: var(--white);
	cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

.site-nav {
	position: fixed;
	inset: var(--header-h) 0 auto;
	height: calc(100dvh - var(--header-h));
	background: var(--bg);
	padding: 24px var(--gutter) 40px;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.nav-open .site-nav {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .2s, transform .2s;
}
.nav-open { overflow: hidden; }
.site-nav a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid var(--line-soft);
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.9rem;
	text-transform: uppercase;
	color: var(--white);
}
.site-nav a.is-active, .site-nav a:hover { color: var(--copper); }

@media (min-width: 1100px) {
	.nav-toggle { display: none; }
	.site-nav {
		position: static;
		height: auto;
		padding: 0;
		background: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		overflow: visible;
	}
	.site-nav ul { display: flex; gap: 4px; }
	.site-nav a {
		padding: 8px 12px;
		border: 0;
		font-size: 0.95rem;
		font-weight: 600;
		letter-spacing: 0.12em;
		color: var(--muted);
		border-radius: 6px;
		position: relative;
	}
	.site-nav a::after {
		content: '';
		position: absolute;
		left: 12px; right: 12px; bottom: 2px;
		height: 2px;
		background: var(--copper);
		transform: scaleX(0);
		transition: transform .2s;
	}
	.site-nav a:hover, .site-nav a.is-active { color: var(--white); }
	.site-nav a.is-active::after { transform: scaleX(1); }
}

/* ---------- Hero --------------------------------------------------------- */
.hero {
	position: relative;
	padding: calc(var(--header-h) + clamp(32px, 7vw, 80px)) 0 clamp(36px, 5vw, 56px);
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(60% 55% at 72% 42%, rgba(142, 85, 43, 0.34), transparent 70%),
		radial-gradient(40% 40% at 10% 0%, rgba(228, 160, 91, 0.07), transparent 70%),
		var(--bg);
}
.hero__court {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.5;
	background:
		radial-gradient(circle at 100% 50%, transparent 0 239px, rgba(228,160,91,.22) 240px 241px, transparent 242px),
		radial-gradient(circle at 0% 115%, transparent 0 299px, rgba(228,160,91,.16) 300px 301px, transparent 302px);
	pointer-events: none;
}
.hero__inner {
	display: grid;
	gap: 32px;
	align-items: center;
}
.hero__copy { order: 2; }
.hero__emblem { order: 1; justify-self: center; position: relative; }
.hero__emblem::before {
	content: '';
	position: absolute;
	inset: 12% 8% 6%;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(228, 160, 91, 0.28), transparent);
	filter: blur(30px);
}
.hero__logo {
	width: clamp(190px, 52vw, 300px);
	height: auto;
	filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
	animation: emblem-in .9s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes emblem-in {
	from { opacity: 0; transform: translateY(16px) scale(.96); }
	to { opacity: 1; transform: none; }
}
.hero .eyebrow { margin-bottom: 18px; }
.hero__title { font-size: clamp(3.1rem, 13vw, 6.6rem); }
.hero__title span { display: block; }
.hero__subtitle {
	margin-top: 18px;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(1.25rem, 3.5vw, 1.65rem);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--white);
}
.hero__meta {
	margin-top: 10px;
	font-size: 0.78rem;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--dim);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

@media (min-width: 860px) {
	.hero { min-height: min(880px, 100vh); display: flex; flex-direction: column; justify-content: center; }
	.hero__inner { grid-template-columns: 1.35fr 1fr; gap: 40px; }
	.hero__copy { order: 1; }
	.hero__emblem { order: 2; }
	.hero__title { font-size: clamp(3.6rem, 6.2vw, 5.4rem); }
	.hero__title span { white-space: nowrap; }
	.hero__logo { width: clamp(300px, 34vw, 440px); }
}

.facts {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin-top: clamp(40px, 6vw, 72px);
	border-top: 1px solid var(--line);
}
.facts__item {
	padding: 18px 0 4px;
	display: flex;
	flex-direction: column-reverse;
	gap: 2px;
}
.facts__item:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-soft); }
.facts dt {
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--dim);
}
.facts dd {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(1.6rem, 4vw, 2.1rem);
	color: var(--white);
	line-height: 1.1;
}
.facts__item--next dd { color: var(--clock); }
@media (min-width: 860px) {
	.facts { grid-template-columns: repeat(4, 1fr); }
	.facts__item { padding-left: 24px; border-left: 1px solid var(--line-soft); }
	.facts__item:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Next match --------------------------------------------------- */
.next-match {
	position: relative;
	padding: clamp(22px, 4vw, 44px);
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 6px);
	background:
		radial-gradient(80% 120% at 50% 0%, rgba(142, 85, 43, 0.22), transparent 60%),
		var(--surface);
	overflow: hidden;
}
.next-match::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--copper), transparent);
}
.next-match__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.next-match__when {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	color: var(--text);
	font-size: 1.02rem;
}
.next-match__when .icon { color: var(--copper); }
.next-match__when strong { color: var(--white); font-weight: 700; }
.next-match__day { color: var(--dim); font-size: 0.9rem; }

.matchup {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: start;
	gap: 12px;
	margin: clamp(28px, 5vw, 48px) 0;
	text-align: center;
}
.matchup__team { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.matchup__name {
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(1.25rem, 4.2vw, 2.4rem);
	text-transform: uppercase;
	line-height: 1;
	color: var(--white);
	overflow-wrap: anywhere;
}
.matchup__team.is-us .matchup__name { color: var(--copper); }
.matchup__side { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
.matchup__vs {
	align-self: center;
	margin-top: -24px;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(0.9rem, 2.4vw, 1.2rem);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--copper);
}

.team-badge {
	display: grid;
	place-items: center;
	flex: none;
	width: clamp(64px, 14vw, 104px);
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--surface-2);
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(1.3rem, 4vw, 2rem);
	color: var(--muted);
	overflow: hidden;
}
.team-badge--sm { width: 34px; font-size: 0.82rem; }
.team-badge--us { border: 0; background: none; overflow: visible; }
.team-badge__img { width: 92%; height: auto; }
.team-badge--logo { background: #f6f3ef; border-color: transparent; padding: 14%; }
.team-badge--logo .team-badge__img { width: 100%; height: 100%; object-fit: contain; }
.team-badge--sm.team-badge--logo { padding: 4px; }

.next-match__countdown { text-align: center; }
.next-match__label {
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 14px;
}

.countdown__units { display: flex; justify-content: center; gap: clamp(6px, 2vw, 16px); }
.countdown--large .countdown__unit {
	flex: 1 1 0;
	max-width: 150px;
	padding: clamp(12px, 2.4vw, 20px) 6px;
	border-radius: var(--radius);
	background: var(--bg-deep);
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
.countdown--large .countdown__value {
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(2.4rem, 10vw, 4.6rem);
	line-height: 1;
	color: var(--clock);
	font-variant-numeric: tabular-nums;
}
.countdown--large .countdown__label {
	font-size: clamp(0.58rem, 1.8vw, 0.72rem);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
}
.countdown__live:empty { display: none; }
.countdown__live {
	margin-top: 14px;
	font-family: var(--display);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--clock);
}
.countdown.is-live .countdown__live::before {
	content: '';
	display: inline-block;
	width: 9px; height: 9px;
	margin-right: 10px;
	border-radius: 50%;
	background: var(--clock);
	animation: pulse 1.4s infinite;
}
.countdown.is-live .countdown__units,
.countdown.is-over .countdown__units { opacity: 0.35; }
@keyframes pulse { 50% { opacity: 0.3; } }

.next-match__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: clamp(24px, 4vw, 36px);
	padding-top: 20px;
	border-top: 1px solid var(--line-soft);
}
.venue {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--white);
	font-weight: 600;
	border-bottom: 1px solid var(--copper-deep);
	padding-bottom: 2px;
}
.venue .icon { color: var(--copper); }
.venue:hover { color: var(--copper); }
.next-match__invite {
	font-family: var(--display);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

/* Other fixtures */
.fixtures { display: grid; gap: 10px; }
.fixture {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px 18px;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.fixture__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 62px; height: 62px;
	border-radius: 8px;
	background: var(--bg-deep);
	border: 1px solid var(--line);
	line-height: 1;
}
.fixture__day { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--white); }
.fixture__month { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper); margin-top: 4px; }
.fixture__teams {
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.2rem;
	text-transform: uppercase;
	color: var(--white);
	line-height: 1.15;
}
.fixture__teams .is-us { color: var(--copper); }
.fixture__vs { color: var(--dim); font-size: 0.85rem; letter-spacing: 0.14em; margin: 0 4px; }
.fixture__meta { color: var(--muted); font-size: 0.9rem; margin-top: 3px; }
.fixture__meta a { text-decoration: underline; text-decoration-color: var(--copper-deep); text-underline-offset: 3px; }
.fixture .countdown { grid-column: 1 / -1; }
.countdown--compact .countdown__units { justify-content: flex-start; gap: 6px; }
.countdown--compact .countdown__unit {
	display: flex;
	align-items: baseline;
	gap: 3px;
	padding: 6px 10px;
	border-radius: 6px;
	background: var(--bg-deep);
	border: 1px solid var(--line);
}
.countdown--compact .countdown__value {
	font-family: var(--display);
	font-weight: 800;
	font-size: 1.3rem;
	color: var(--clock);
	font-variant-numeric: tabular-nums;
}
.countdown--compact .countdown__label { font-size: 0.72rem; color: var(--muted); }
.countdown--compact .countdown__live { margin-top: 6px; font-size: 0.85rem; }
@media (min-width: 760px) {
	.fixture { grid-template-columns: auto 1fr auto; padding: 16px 20px; }
	.fixture .countdown { grid-column: auto; }
}

.empty-state {
	padding: clamp(32px, 6vw, 56px);
	border: 1px dashed var(--line);
	border-radius: calc(var(--radius) + 6px);
	color: var(--muted);
	text-align: center;
}
.empty-state__title { font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 10px; }

/* ---------- Roster ------------------------------------------------------- */
.roster {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
@media (min-width: 700px) { .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .roster { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }

.player {
	position: relative;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	overflow: hidden;
	transition: border-color .25s, translate .25s;
}
.player:hover { border-color: var(--copper-deep); translate: 0 -3px; }
.player__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background:
		radial-gradient(90% 70% at 50% 100%, rgba(142, 85, 43, 0.35), transparent 70%),
		linear-gradient(180deg, var(--surface-2), var(--bg-deep));
}
.player__photo { width: 100%; height: 100%; object-fit: cover; }
.player__ghost {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(5rem, 20vw, 9rem);
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(228, 160, 91, 0.35);
	line-height: 1;
	letter-spacing: -0.03em;
}
.player__soon {
	position: absolute;
	left: 0; right: 0; bottom: 12px;
	text-align: center;
	font-size: 0.62rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--dim);
}
.player__number {
	position: absolute;
	top: 10px; left: 10px;
	min-width: 38px;
	padding: 4px 8px;
	border-radius: 6px;
	background: var(--copper);
	color: var(--bg);
	font-family: var(--display);
	font-weight: 800;
	font-size: 1.15rem;
	line-height: 1.1;
	text-align: center;
}
.player__body { padding: 14px 14px 16px; }
.player__name { font-family: var(--display); text-transform: uppercase; line-height: 1.02; }
.player__first { display: block; font-weight: 500; font-size: 1rem; color: var(--muted); letter-spacing: 0.04em; }
.player__last {
	display: block;
	font-weight: 800;
	font-size: clamp(1.15rem, 3.4vw, 1.5rem);
	color: var(--white);
	overflow-wrap: anywhere;
}
.player__role {
	margin-top: 8px;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--copper);
}

.staff { margin-top: clamp(56px, 8vw, 88px); }
.staff__head { margin-bottom: 22px; }
.staff__head .eyebrow { margin-bottom: 10px; }
.staff__title { font-size: clamp(2rem, 5vw, 3rem); }
.staff__list { display: grid; gap: 12px; }
@media (min-width: 760px) { .staff__list { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.staff-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.staff-card__photo, .staff-card__initials {
	width: 58px; height: 58px;
	border-radius: 50%;
	flex: none;
	object-fit: cover;
}
.staff-card__initials {
	display: grid;
	place-items: center;
	background: var(--bg-deep);
	border: 1px solid var(--copper-deep);
	font-family: var(--display);
	font-weight: 800;
	font-size: 1.3rem;
	color: var(--copper);
}
.staff-card__role {
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--copper);
	line-height: 1.35;
}
.staff-card__name {
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.35rem;
	text-transform: uppercase;
	color: var(--white);
	line-height: 1.1;
	margin-top: 4px;
}

/* ---------- Stats -------------------------------------------------------- */
.tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.tile {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	display: flex;
	flex-direction: column;
}
.tile dt {
	order: 2;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: 8px;
}
.tile__value {
	order: 1;
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(2.2rem, 6vw, 3.2rem);
	line-height: 1;
	color: var(--white);
	font-variant-numeric: tabular-nums;
}
.tile__value .win { color: var(--win); }
.tile__value .loss { color: var(--loss); }
.tile__sub { order: 3; font-size: 0.85rem; color: var(--dim); margin-top: 2px; }
.bar { order: 4; margin-top: 12px; height: 4px; border-radius: 2px; background: var(--bg-deep); overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--copper-deep), var(--copper)); }

.stats-grid { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: 1.5fr 1fr; } }
.panel {
	padding: clamp(18px, 3vw, 28px);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	min-width: 0;
}
.panel__title {
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--white);
	margin-bottom: 16px;
}


.averages { display: grid; gap: 10px; }
.average {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line-soft);
}
.average dt { color: var(--muted); font-size: 0.95rem; }
.average abbr { color: var(--copper); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; margin-left: 6px; }
.average dd { font-family: var(--display); font-weight: 800; font-size: 1.8rem; color: var(--white); line-height: 1; }

.panel--table { padding-bottom: 18px; }
.table-scroll {
	overflow-x: auto;
	margin: 0 calc(-1 * clamp(18px, 3vw, 28px));
	padding: 0 clamp(18px, 3vw, 28px);
	scrollbar-color: var(--line) transparent;
}
.stats-table {
	width: 100%;
	min-width: 980px;
	border-collapse: collapse;
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
}
.stats-table th, .stats-table td {
	padding: 10px 8px;
	text-align: center;
	border-bottom: 1px solid var(--line-soft);
	white-space: nowrap;
}
.stats-table thead th {
	font-family: var(--display);
	font-weight: 700;
	letter-spacing: 0.08em;
	font-size: 0.85rem;
	color: var(--copper);
	border-bottom-color: var(--line);
	cursor: help;
}
.stats-table tbody th { text-align: left; font-weight: 600; color: var(--white); }
.stats-table .sticky { position: sticky; left: 0; background: var(--surface); z-index: 1; text-align: left; }
.stats-table thead .sticky { cursor: default; }
.stats-table tbody tr:hover td, .stats-table tbody tr:hover th { background: var(--surface-2); }
.stats-table .shoot span { display: block; color: var(--text); }
.stats-table .shoot small { display: block; color: var(--dim); font-size: 0.72rem; }
.stats-table td.top { font-weight: 800; }
.top--1 { color: var(--gold); }
.top--2 { color: var(--silver); }
.top--3 { color: var(--bronze); }
.legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.legend .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ---------- Group -------------------------------------------------------- */
.section--group { overflow: hidden; isolation: isolate; background: #0f0c0a; }
.court-lines {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(var(--copper-deep), var(--copper-deep)) right clamp(16px, 4vw, 48px) top 0 / 1.5px 100% no-repeat,
		radial-gradient(circle at calc(100% - clamp(16px, 4vw, 48px)) 34%, transparent 0 clamp(120px, 18vw, 200px), var(--copper-deep) calc(clamp(120px, 18vw, 200px) + 1px) calc(clamp(120px, 18vw, 200px) + 2.5px), transparent calc(clamp(120px, 18vw, 200px) + 3px)),
		radial-gradient(circle at 0 100%, transparent 0 clamp(180px, 30vw, 380px), var(--copper-deep) calc(clamp(180px, 30vw, 380px) + 1px) calc(clamp(180px, 30vw, 380px) + 2.5px), transparent calc(clamp(180px, 30vw, 380px) + 3px));
	opacity: 0.85;
}
.group-list { display: grid; gap: 4px; max-width: 860px; }
.group-team {
	display: grid;
	grid-template-columns: 26px 38px 1fr;
	align-items: center;
	gap: 6px 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line-soft);
	font-family: var(--display);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.group-team__n { font-weight: 800; font-size: clamp(1.3rem, 4vw, 1.8rem); color: var(--copper); }
.group-team__name { font-weight: 600; font-size: clamp(1.2rem, 4.2vw, 1.8rem); color: var(--white); line-height: 1.1; min-width: 0; overflow-wrap: anywhere; }
.group-team.is-us .group-team__name { color: var(--copper); font-weight: 800; }
.group-team__num { display: none; }
.group-team__next {
	grid-column: 3;
	justify-self: start;
	display: inline-flex;
	gap: 10px;
	align-items: center;
	padding: 4px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-family: var(--font);
	text-transform: none;
	letter-spacing: 0;
	font-size: 0.82rem;
	color: var(--muted);
}
.group-table-head { display: none; }
.group-list--table .group-team__num {
	display: block;
	font-family: var(--font);
	font-weight: 600;
	font-size: 1rem;
	color: var(--muted);
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.group-list--table .group-team__pts { color: var(--white); font-weight: 700; }
.group-list--table .group-team { grid-template-columns: 26px 38px 1fr repeat(4, 34px); }
.group-list--table .group-team__next { grid-column: 3 / -1; }
@media (min-width: 760px) {
	.group-team { grid-template-columns: 36px 42px 1fr auto; }
	.group-team__next { grid-column: auto; justify-self: end; }
	.group-list--table .group-team { grid-template-columns: 36px 42px 1fr auto repeat(4, 48px); }
	.group-list--table .group-team__next { grid-column: 4; grid-row: 1; }
	.group-list--table .group-team__num:nth-of-type(1) { grid-column: 5; }
	.group-table-head {
		display: grid;
		grid-template-columns: 36px 42px 1fr auto repeat(4, 48px);
		gap: 12px;
		max-width: 860px;
		padding-bottom: 6px;
		border-bottom: 1px solid var(--line);
		font-size: 0.72rem;
		letter-spacing: 0.16em;
		color: var(--dim);
		text-align: center;
	}
	.group-table-head span:nth-child(3) { grid-column: 5; }
}

/* ---------- Sponsors ----------------------------------------------------- */
.sponsor-tier + .sponsor-tier { margin-top: 28px; }
.sponsor-tier__label {
	font-family: var(--display);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--copper);
	margin-bottom: 12px;
}
.sponsor-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
@media (min-width: 760px) { .sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.sponsor-tier--generalinis .sponsor-grid,
.sponsor-tier--pagrindinis .sponsor-grid { grid-template-columns: 1fr; }
@media (min-width: 760px) {
	.sponsor-tier--pagrindinis .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
}
.sponsor__link {
	display: grid;
	place-items: center;
	height: 100%;
	min-height: 112px;
	padding: 22px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	transition: border-color .25s, background-color .25s;
}
a.sponsor__link:hover { border-color: var(--copper-deep); background: var(--surface-2); }
.sponsor-tier--generalinis .sponsor__link {
	min-height: clamp(150px, 22vw, 220px);
	background:
		radial-gradient(70% 90% at 50% 50%, rgba(142, 85, 43, 0.22), transparent 70%),
		var(--surface);
	border-color: rgba(228, 160, 91, 0.35);
}
.sponsor__logo {
	width: auto;
	max-width: min(100%, 300px);
	max-height: 58px;
	object-fit: contain;
	opacity: 0.88;
	transition: opacity .25s;
}
.sponsor:hover .sponsor__logo { opacity: 1; }
.sponsor__logo.is-mono { filter: brightness(0) invert(0.95); }
.sponsor-tier--generalinis .sponsor__logo { max-height: clamp(56px, 9vw, 92px); max-width: min(520px, 90%); opacity: 1; }
.sponsor__text { font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; color: var(--white); text-align: center; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
	padding: clamp(72px, 10vw, 112px) 0 32px;
	border-top: 1px solid var(--line-soft);
	background: linear-gradient(180deg, var(--bg), var(--bg-deep));
}
.contact { display: grid; gap: 28px; align-items: end; }
@media (min-width: 860px) { .contact { grid-template-columns: 1.4fr 1fr; gap: 48px; } }
.contact .eyebrow { margin-bottom: 14px; }
.contact__title { font-size: clamp(2.6rem, 8vw, 5rem); }
.contact__text { color: var(--muted); margin-top: 16px; max-width: 48ch; }
.contact__links { display: grid; gap: 10px; }
.contact-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--white);
	font-weight: 600;
	transition: border-color .2s, color .2s;
}
.contact-link .icon { width: 22px; height: 22px; color: var(--copper); }
.contact-link:hover { border-color: var(--copper); color: var(--copper); }
.contact-link--primary {
	background: var(--copper);
	border-color: var(--copper);
	color: var(--bg);
	font-family: var(--display);
	font-size: 1.25rem;
	letter-spacing: 0.04em;
}
.contact-link--primary .icon { color: var(--bg); }
.contact-link--primary:hover { background: #eeb478; color: var(--bg); }

.footer-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: clamp(56px, 8vw, 88px);
	padding-top: 24px;
	border-top: 1px solid var(--line-soft);
}
.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--display);
	font-weight: 800;
	text-transform: uppercase;
	color: var(--white);
	letter-spacing: 0.04em;
}
.footer-brand__logo { width: 36px; }
.footer-copy { font-size: 0.82rem; color: var(--dim); }
.footer-copy a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Plain pages -------------------------------------------------- */
.page { padding-top: calc(var(--header-h) + 64px); }
.page__title { font-size: clamp(2.4rem, 7vw, 4rem); margin-bottom: 28px; }
.page__content { color: var(--text); }
.page__content > * + * { margin-top: 1em; }
.page__content h2, .page__content h3 { font-family: var(--display); text-transform: uppercase; color: var(--white); margin-top: 1.6em; }
.page__content a { color: var(--copper); text-decoration: underline; }
.page__content ul { list-style: disc; padding-left: 1.3em; }

/* ---------- Reveal ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Schedule block (always present) ------------------------------ */
.schedule { margin-top: clamp(48px, 7vw, 72px); }
.schedule__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 20px;
	margin-bottom: 18px;
}
.schedule__title { font-size: clamp(2rem, 5vw, 3rem); }
.schedule__source { font-size: 0.85rem; color: var(--dim); }
.schedule__source a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.schedule__empty {
	padding: 24px;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	color: var(--muted);
}
.schedule__empty strong { color: var(--white); }
.fixture__comp {
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--copper);
	margin-bottom: 6px;
}
.fixture__teams { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.fixture__team { display: inline-flex; align-items: center; gap: 8px; }
.fixture__team.is-us { color: var(--copper); }
.fixture__team .team-badge--sm { width: 30px; }

/* ---------- Live update toast -------------------------------------------- */
.sb-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 60;
	transform: translate(-50%, 20px);
	opacity: 0;
	padding: 10px 18px 10px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(33, 27, 22, 0.96);
	color: var(--white);
	font-size: 0.9rem;
	font-weight: 600;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	transition: opacity .3s, transform .3s;
	pointer-events: none;
}
.sb-toast::before {
	content: '';
	display: inline-block;
	width: 8px; height: 8px;
	margin-right: 10px;
	border-radius: 50%;
	background: var(--clock);
	vertical-align: 1px;
}
.sb-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Player placeholder: back of the jersey ----------------------- */
.player__back {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s;
	transform-origin: 50% 100%;
}
.player:hover .player__back { transform: translateY(-4px); filter: brightness(1.08); }
.player__media::after {
	content: '';
	position: absolute;
	inset: 8px;
	border: 1px solid rgba(205, 188, 166, 0.08);
	border-radius: calc(var(--radius) - 4px);
	pointer-events: none;
	z-index: 2;
}
.player:not(.has-photo) .player__media {
	background:
		radial-gradient(120% 60% at 50% 110%, rgba(120, 90, 60, 0.12), transparent 60%),
		linear-gradient(180deg, #1a1714, #0e0c0b);
}


/* ---------- Live update toast -------------------------------------------- */
.sb-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 60;
	transform: translate(-50%, 20px);
	opacity: 0;
	padding: 10px 18px 10px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(33, 27, 22, 0.96);
	color: var(--white);
	font-size: 0.9rem;
	font-weight: 600;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	transition: opacity .3s, transform .3s;
	pointer-events: none;
}
.sb-toast::before {
	content: '';
	display: inline-block;
	width: 8px; height: 8px;
	margin-right: 10px;
	border-radius: 50%;
	background: var(--clock);
	vertical-align: 1px;
}
.sb-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Player placeholder: back of the jersey ----------------------- */
.player__back {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 108%;
	height: auto;
	max-width: none;
	transform: translateX(-50%);
	transition: transform .4s ease;
}
.player:hover .player__back { transform: translateX(-50%) translateY(-4px); }

/* ---------- Live link (FIBA LiveStats) ----------------------------------- */
.live-link[hidden] { display: none !important; }
.live-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--white);
	font-family: var(--display);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.live-link__dot {
	width: 10px; height: 10px;
	border-radius: 50%;
	background: #ef4444;
	box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
	animation: live-ping 1.6s infinite;
	flex: none;
}
@keyframes live-ping {
	0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
	70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
	100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.live-link--button {
	margin-top: 22px;
	padding: 14px 22px;
	border-radius: 10px;
	background: var(--white);
	color: var(--bg);
	font-size: 1.15rem;
	transition: transform .2s, background-color .2s;
}
.live-link--button:hover { transform: translateY(-1px); background: #fff; }
.live-link__sub {
	font-family: var(--font);
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	text-transform: none;
	color: #6b5d50;
	padding-left: 10px;
	border-left: 1px solid #d9d0c6;
}
.live-link--button .icon { width: 18px; height: 18px; }
.live-link--pill {
	padding: 6px 12px;
	border: 1px solid rgba(239, 68, 68, 0.45);
	border-radius: 999px;
	font-size: 0.85rem;
}
.live-link--pill:hover { background: rgba(239, 68, 68, 0.12); }
.live-link--text { font-size: inherit; letter-spacing: inherit; gap: 6px; text-decoration: underline; text-underline-offset: 3px; }
.live-link--text .live-link__dot { width: 7px; height: 7px; animation: none; }
.fixture__side { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; grid-column: 1 / -1; }
@media (min-width: 760px) {
	.fixture__side { grid-column: auto; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) { .live-link__dot { animation: none; } }
.team-badge--asset { background: none; border: 0; border-radius: 0; overflow: visible; }
.team-badge--asset .team-badge__img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Player card season averages ---------------------------------- */
.player__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--line-soft);
}
.player__stats div { display: flex; flex-direction: column-reverse; gap: 1px; }
.player__stats dt { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.player__stats dd { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--white); line-height: 1; font-variant-numeric: tabular-nums; }
.panel--pending { margin-bottom: 16px; color: var(--muted); }

/* Logged-in admins: keep the fixed header below the WordPress toolbar. */
.admin-bar .site-header { top: 32px; }
.admin-bar .site-nav { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

/* ---------- "Rungtynes pristato" — general sponsor, under the countdown ---- */
.presented-by {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 14px;
	margin-top: 22px;
	opacity: .78;
	transition: opacity .2s;
}
.presented-by:hover { opacity: 1; }
.presented-by__label {
	font-size: 0.64rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--dim);
}
.presented-by__link { display: block; }
.presented-by__logo { height: 18px; width: auto; max-width: 150px; object-fit: contain; }
.presented-by__logo.is-mono { filter: brightness(0) invert(0.85); }
.presented-by__name { font-family: var(--display); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; color: var(--muted); letter-spacing: 0.08em; }



/* ---------- Lithuanian flag (footer) ------------------------------------- */
.eyebrow--flag { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lt-flag { width: 20px; height: 12px; border-radius: 1.5px; box-shadow: 0 0 0 1px rgba(246, 243, 239, 0.12); flex: none; }

/* ---------- Data source mark (group table) ------------------------------- */
.source-mark { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; font-size: 0.85rem; color: var(--dim); }
.source-mark__label { font-family: var(--display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; }
.source-mark__badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 5px 10px 5px 6px;
	border: 1px solid var(--line); border-radius: 6px;
	background: var(--surface);
	color: var(--text);
	transition: border-color .25s;
}
.source-mark__badge:hover { border-color: var(--copper-deep); }
.source-mark__badge b {
	font-family: var(--display); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em;
	padding: 2px 6px; border-radius: 3px;
	background: var(--white); color: var(--bg);
}
.source-mark__badge span { font-size: 0.82rem; }

/* ---------- Merch -------------------------------------------------------- */
.merch-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .merch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; } }
.merch {
	display: grid;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	overflow: hidden;
}
.merch__media {
	position: relative;
	aspect-ratio: 1 / 1;
	background:
		radial-gradient(60% 55% at 50% 42%, rgba(142, 85, 43, 0.26), transparent 72%),
		linear-gradient(180deg, #2a221c, #1a1511);
}
.merch__media img { position: absolute; inset: 7% 12%; width: 76%; height: 86%; object-fit: contain; transition: transform .5s ease; }
.merch__media--photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.merch:hover .merch__media img { transform: scale(1.03); }
.merch__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 3vw, 28px); }
.merch__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.merch__name { font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--white); }
.merch__price { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--copper); white-space: nowrap; }
.merch__desc { color: var(--muted); font-size: 0.95rem; }
.merch__sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.merch__sizes li {
	min-width: 44px; padding: 6px 10px; text-align: center;
	border: 1px solid var(--line); border-radius: 6px;
	font-family: var(--display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em; color: var(--text);
}
.merch__cta { margin-top: auto; align-self: flex-start; gap: 10px; }
.merch__cta svg { width: 18px; height: 18px; }

/* ---------- Results: cards --------------------------------------------- */
.group-team__next .mini-countdown, .facts .mini-countdown { color: var(--clock); font-weight: 700; }
.results { display: grid; gap: 10px; }
.results--recent { margin-top: 4px; }
.results:not(.is-open) .result.is-extra { display: none; }
.result {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: clamp(14px, 2vw, 20px) clamp(16px, 2.4vw, 24px);
	border: 1px solid var(--line);
	border-radius: 14px;
	background: linear-gradient(180deg, var(--surface-2), var(--surface));
	transition: border-color .25s;
}
.result.is-win:hover { border-color: rgba(34, 197, 94, 0.35); }
.result__main { min-width: 0; display: grid; gap: 6px; justify-items: start; }
.result__date { font-size: 0.85rem; color: var(--dim); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.result__teams { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: clamp(1rem, 2.2vw, 1.2rem); font-weight: 600; color: var(--white); line-height: 1.3; }
.result__teams .is-us { color: var(--copper); }
.result__vs { color: var(--dim); font-weight: 400; font-size: 0.8em; }
.result__side { flex: none; display: grid; justify-items: end; gap: 8px; }
.result__score {
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(1.7rem, 4vw, 2.3rem);
	line-height: 1;
	letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums;
	color: var(--white);
}
.result.is-win .result__score { color: var(--win); }
.result.is-loss .result__score { color: var(--loss); }
.result__badge {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 10px;
	border-radius: 6px;
	font-family: var(--display);
	font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--muted);
	background: rgba(246, 243, 239, 0.05);
	white-space: nowrap;
}
.result__badge .icon { width: 15px; height: 15px; }
.result.is-win .result__badge { color: var(--win); background: rgba(34, 197, 94, 0.12); }
.result.is-loss .result__badge { color: var(--loss); background: rgba(248, 113, 113, 0.1); }
.result.is-pending .result__score { color: var(--dim); }
.result__stats {
	display: inline-flex; align-items: center; gap: 5px;
	margin-top: 2px;
	padding: 4px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
	color: var(--muted);
	transition: color .2s, border-color .2s;
}
.result__stats .icon { width: 12px; height: 12px; }
.result__stats:hover { color: var(--white); border-color: var(--copper-deep); }
.result__stats--none { display: none; }
.results-toggle { margin-top: 16px; }

/* Countdown digits on a faint green tile */
.countdown--large .countdown__unit,
.countdown--compact .countdown__unit {
	background: linear-gradient(180deg, rgba(34, 197, 94, 0.11), rgba(34, 197, 94, 0.06));
	border-color: rgba(34, 197, 94, 0.2);
}

/* ---------- Gallery: editorial grid ------------------------------------- */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
}
.gallery-grid__item { position: relative; overflow: hidden; background: var(--surface); }
.gallery-grid__item:nth-child(5n+1) { grid-column: 1 / -1; }
.gallery-grid__link { display: block; height: 100%; cursor: zoom-in; }
.gallery-grid__link img {
	width: 100%; height: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	filter: saturate(0.82) contrast(1.04) brightness(0.94);
	transition: transform 1.1s cubic-bezier(.2, .7, .2, 1), filter .6s ease;
}
.gallery-grid__link:hover img, .gallery-grid__link:focus-visible img { transform: scale(1.035); filter: saturate(1) contrast(1.04) brightness(1); }
.gallery-grid__link:focus-visible { outline: 2px solid var(--copper); outline-offset: -2px; }

@media (min-width: 900px) {
	.gallery-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); gap: 8px; }
	.gallery-grid__link img { aspect-ratio: auto; }
	.gallery-grid__item:nth-child(5n+1) { grid-column: span 7; grid-row: span 2; }
	.gallery-grid__item:nth-child(5n+2),
	.gallery-grid__item:nth-child(5n+3) { grid-column: span 5; }
	.gallery-grid__item:nth-child(5n+4),
	.gallery-grid__item:nth-child(5n+5) { grid-column: span 6; grid-row: span 2; }
}
.gallery-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 18px; }
.gallery-foot .fineprint { margin: 0; }

/* Lightbox */
.lightbox {
	width: 100vw; height: 100dvh; max-width: none; max-height: none;
	margin: 0; padding: 0; border: 0;
	background: rgba(12, 10, 8, 0.94);
	color: var(--white);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.lightbox__figure { margin: 0; display: grid; gap: 14px; justify-items: center; }
.lightbox__img { max-width: min(92vw, 1400px); max-height: 82dvh; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox__cap { display: flex; gap: 14px; font-family: var(--display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.lightbox__count { color: var(--copper); }
.lightbox__close, .lightbox__nav {
	position: absolute; display: grid; place-items: center;
	width: 48px; height: 48px; border-radius: 4px;
	border: 1px solid rgba(246, 243, 239, 0.18); background: rgba(23, 19, 16, 0.6);
	color: var(--white); font-size: 1.9rem; line-height: 1; cursor: pointer;
}
.lightbox__close { top: 16px; right: 16px; }
.lightbox__close .icon { width: 22px; height: 22px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--copper); color: var(--copper); }
