/* ==========================================================================
   PitchLive 绿茵直播 — main stylesheet
   Dark stadium palette, lime accent, data-dense sports UI.
   ========================================================================== */

:root {
	color-scheme: dark;
	--bg: #060b08;
	--bg-soft: #08110c;
	--surface: #0d1711;
	--surface-2: #111e17;
	--surface-3: #16261d;
	--line: rgba(255, 255, 255, 0.08);
	--line-strong: rgba(255, 255, 255, 0.15);
	--text: #edf4ee;
	--muted: #94a79b;
	--muted-2: #6c8074;
	--accent: #c8f94e;
	--accent-soft: rgba(200, 249, 78, 0.12);
	--accent-ink: #0a1206;
	--green: #24cf82;
	--danger: #ff5f63;
	--warning: #ffb020;
	--info: #56b8ff;
	--radius: 16px;
	--radius-sm: 10px;
	--radius-lg: 24px;
	--container: 1200px;
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
	--font-num: "Bahnschrift", "DIN Alternate", "Arial Narrow", var(--font-sans);
	--shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	--header-h: 74px;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background:
		radial-gradient(1200px 600px at 15% -10%, rgba(36, 207, 130, 0.08), transparent 60%),
		radial-gradient(900px 500px at 100% 0%, rgba(200, 249, 78, 0.05), transparent 55%),
		var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 15px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.admin-bar .site-header {
	top: 32px;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

a:hover {
	color: var(--accent);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	line-height: 1.25;
	font-weight: 750;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1em;
}

figure {
	margin: 0;
}

::selection {
	background: var(--accent);
	color: var(--accent-ink);
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: 4px;
}

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

.skip-link {
	position: fixed;
	left: 16px;
	top: -100px;
	z-index: 9999;
	padding: 10px 16px;
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: 8px;
	font-weight: 700;
}

.skip-link:focus {
	top: 16px;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.narrow-container {
	max-width: 900px;
}

.icon {
	display: inline-block;
	vertical-align: -0.18em;
	flex: none;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 99px;
	border: 1px solid transparent;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	white-space: nowrap;
	transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:active {
	transform: translateY(1px);
}

.btn--accent {
	background: var(--accent);
	color: var(--accent-ink);
	box-shadow: 0 8px 28px rgba(200, 249, 78, 0.16);
}

.btn--accent:hover {
	background: #d7ff72;
	color: var(--accent-ink);
	transform: translateY(-1px);
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--line-strong);
	color: var(--text);
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.28);
	color: var(--text);
}

.btn--sm {
	min-height: 36px;
	padding: 0 14px;
	font-size: 13px;
}

.btn--block {
	width: 100%;
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text);
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.icon-btn:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--line-strong);
	color: var(--accent);
}

.icon-btn--sm {
	width: 32px;
	height: 32px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 600;
}

.text-link:hover {
	color: var(--accent);
}

/* Header ------------------------------------------------------------------ */
.topbar {
	background: rgba(0, 0, 0, 0.35);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 12px;
	color: var(--muted);
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 38px;
}

.topbar__left,
.topbar__right {
	display: flex;
	align-items: center;
	gap: 16px;
	white-space: nowrap;
}

.topbar__date {
	color: var(--muted);
}

.topbar__date i {
	margin-left: 6px;
	font-style: normal;
	color: var(--muted-2);
}

.weather {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--muted);
}

.weather .icon {
	color: var(--info);
}

.topbar__live {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--muted);
}

.topbar__live i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--danger);
	box-shadow: 0 0 0 3px rgba(255, 95, 99, 0.15);
	animation: pl-pulse 1.8s ease-in-out infinite;
}

.topbar__live b {
	color: var(--accent);
	font-family: var(--font-num);
	font-size: 14px;
}

.topbar__divider {
	width: 1px;
	height: 12px;
	background: var(--line);
}

.topbar__link:hover {
	color: var(--text);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(6, 11, 8, 0.82);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--line);
	transition: background-color 0.25s ease;
}

.site-header.is-scrolled {
	background: rgba(6, 11, 8, 0.96);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex: 0 1 auto;
	min-width: 0;
}

.brand__mark {
	display: inline-flex;
	width: 44px;
	height: 44px;
	color: var(--accent);
	filter: drop-shadow(0 6px 16px rgba(200, 249, 78, 0.22));
}

.brand__mark svg {
	width: 100%;
	height: 100%;
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.12;
	min-width: 0;
}

.brand__text strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.brand__text small {
	margin-top: 4px;
	color: var(--muted-2);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.brand__logo img {
	max-height: 48px;
	width: auto;
}

.brand--custom {
	display: inline-flex;
}

.primary-nav {
	margin-left: auto;
}

.primary-nav__list {
	display: flex;
	align-items: center;
	gap: 30px;
}

.primary-nav__list a {
	position: relative;
	display: inline-block;
	padding: 26px 0;
	color: var(--muted);
	font-size: 14px;
	font-weight: 650;
}

.primary-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.22s ease;
}

.primary-nav__list a:hover,
.primary-nav__list .current-menu-item > a {
	color: var(--text);
}

.primary-nav__list a:hover::after,
.primary-nav__list .current-menu-item > a::after {
	transform: scaleX(1);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.nav-toggle {
	display: none;
}

.league-nav {
	border-bottom: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.012);
}

.league-nav__inner {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	overflow-x: auto;
	scrollbar-width: none;
}

.league-nav__inner::-webkit-scrollbar {
	display: none;
}

.league-nav__all,
.league-nav__item,
.league-nav__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	padding: 6px 11px;
	border-radius: 99px;
	color: var(--muted);
	font-size: 12.5px;
	font-weight: 600;
}

.league-nav__all:hover,
.league-nav__item:hover,
.league-nav__more:hover,
.league-nav__all.is-active,
.league-nav__item.is-active {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text);
}

.league-nav__all.is-active {
	background: var(--accent-soft);
	color: var(--accent);
}

.league-nav__item i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--dot-color, var(--accent));
	box-shadow: 0 0 8px color-mix(in srgb, var(--dot-color, var(--accent)) 60%, transparent);
}

.league-nav__more {
	margin-left: auto;
	padding-right: 2px;
	color: var(--muted-2);
}

/* Score ticker ------------------------------------------------------------- */
.score-ticker {
	border-bottom: 1px solid var(--line);
	background: #070d09;
	font-size: 12.5px;
	overflow: hidden;
}

.score-ticker__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 38px;
}

.score-ticker__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	color: var(--muted-2);
	font-weight: 800;
	font-size: 10px;
	letter-spacing: 0.12em;
}

.score-ticker__label i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--muted-2);
}

.score-ticker__label.is-live {
	color: var(--danger);
}

.score-ticker__label.is-live i {
	background: var(--danger);
	animation: pl-pulse 1.8s ease-in-out infinite;
}

.score-ticker__viewport {
	overflow: hidden;
	flex: 1;
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.score-ticker__track {
	display: flex;
	align-items: center;
	gap: 0;
	width: max-content;
	animation: pl-ticker 46s linear infinite;
}

.score-ticker:hover .score-ticker__track {
	animation-play-state: paused;
}

.ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 0 18px;
	border-right: 1px solid var(--line);
	white-space: nowrap;
	color: var(--muted);
}

.ticker-item:hover {
	color: var(--text);
}

.ticker-item__league {
	color: var(--tick-color, var(--accent));
	font-weight: 700;
	font-size: 11px;
}

.ticker-item__teams {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--text);
}

.ticker-item__teams b {
	font-family: var(--font-num);
	font-size: 13px;
	letter-spacing: 0.03em;
	color: var(--accent);
}

.ticker-item__teams b.is-vs {
	color: var(--muted-2);
	font-size: 10px;
}

.ticker-item__state {
	font-size: 11px;
	color: var(--muted-2);
}

.ticker-item__state.is-live {
	color: var(--danger);
}

/* Hero -------------------------------------------------------------------- */
.hero {
	position: relative;
	padding: 46px 0 0;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}

.hero__pattern {
	position: absolute;
	inset: 0;
	opacity: 0.5;
	background-image:
		linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.05) 50%, transparent 50.2%),
		radial-gradient(circle at 50% 46%, transparent 0 17%, rgba(255, 255, 255, 0.055) 17.2% 17.5%, transparent 17.7%),
		linear-gradient(180deg, transparent 0 88%, rgba(255, 255, 255, 0.035) 88.2% 88.6%, transparent 88.8%);
	background-size: 100% 100%, 760px 760px, 100% 100%;
	background-position: center, center 46%, center;
	pointer-events: none;
}

.hero__orb {
	position: absolute;
	top: -220px;
	left: 18%;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(36, 207, 130, 0.14), transparent 68%);
	filter: blur(10px);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 0.92fr 1.5fr 0.86fr;
	gap: 26px;
	align-items: stretch;
}

.hero__intro {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 18px 0 30px;
}

.hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--accent);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.2em;
}

.hero__kicker i {
	width: 20px;
	height: 1px;
	background: var(--accent);
}

.hero__intro h1 {
	margin: 18px 0 16px;
	font-size: clamp(34px, 3.4vw, 52px);
	font-weight: 850;
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.hero__intro h1 em {
	display: block;
	color: var(--accent);
	font-style: normal;
}

.hero__intro p {
	max-width: 340px;
	margin: 0 0 24px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.8;
}

.hero__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hero__feature {
	min-width: 0;
}

.hero__side {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.hero__side-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.08em;
	color: var(--text);
}

.hero__side-head a {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	color: var(--muted-2);
	font-size: 11px;
	letter-spacing: 0;
}

.hero__side-list {
	display: flex;
	flex-direction: column;
}

.hero__side-empty {
	color: var(--muted-2);
	font-size: 13px;
	padding: 18px 0;
}

.hero__side-stat {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.hero__side-stat span {
	display: flex;
	flex-direction: column;
	color: var(--muted-2);
	font-size: 10px;
	line-height: 1.5;
}

.hero__side-stat strong {
	color: var(--accent);
	font-family: var(--font-num);
	font-size: 22px;
	line-height: 1.2;
}

.hero__stats {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 34px;
	border-top: 1px solid var(--line);
}

.hero__stat {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 18px 20px 20px;
	border-right: 1px solid var(--line);
}

.hero__stat:first-child {
	padding-left: 0;
}

.hero__stat:last-child {
	border-right: 0;
}

.hero__stat span {
	margin-right: auto;
	color: var(--muted-2);
	font-size: 11px;
	letter-spacing: 0.06em;
}

.hero__stat strong {
	font-family: var(--font-num);
	font-size: 26px;
	line-height: 1;
	color: var(--text);
}

.hero__stat small {
	color: var(--muted-2);
	font-size: 11px;
}

/* Feature match ------------------------------------------------------------ */
.feature {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 390px;
	padding: 24px;
	overflow: hidden;
	border: 1px solid rgba(200, 249, 78, 0.16);
	border-radius: var(--radius-lg);
	background:
		linear-gradient(150deg, rgba(20, 65, 43, 0.72), rgba(8, 16, 11, 0.92) 56%),
		var(--surface);
	box-shadow: var(--shadow);
	isolation: isolate;
}

.feature::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.35;
	background-image: radial-gradient(circle at 50% 45%, transparent 0 24%, rgba(255, 255, 255, 0.07) 24.2% 24.4%, transparent 24.6%);
}

.feature__glow {
	position: absolute;
	right: -60px;
	top: -90px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: rgba(200, 249, 78, 0.16);
	filter: blur(60px);
	pointer-events: none;
}

.feature__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.feature__tags {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.feature__round {
	padding: 4px 9px;
	border: 1px solid var(--line);
	border-radius: 99px;
	color: var(--muted);
	font-size: 10.5px;
	white-space: nowrap;
}

.feature__teams {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 8px;
	flex: 1;
	padding: 22px 0 12px;
}

.feature__team {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	min-width: 0;
	text-align: center;
}

.feature__team strong {
	font-size: 15px;
	font-weight: 750;
	line-height: 1.3;
	max-width: 100%;
}

.feature__team small {
	color: var(--muted-2);
	font-size: 10px;
	letter-spacing: 0.12em;
}

.feature__center {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 0 8px;
}

.feature__score {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-num);
	font-size: clamp(34px, 3.4vw, 52px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
}

.feature__score i {
	color: var(--muted-2);
	font-style: normal;
	font-size: 0.6em;
}

.feature__minute {
	color: var(--danger);
	font-size: 11px;
	font-weight: 700;
}

.feature__vs {
	font-family: var(--font-num);
	font-size: 30px;
	font-weight: 700;
	color: var(--muted);
	letter-spacing: 0.06em;
}

.feature__meta {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
	padding: 10px 0 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	color: var(--muted);
	font-size: 11.5px;
}

.feature__meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.feature__actions {
	display: flex;
	align-items: center;
	gap: 9px;
}

.feature__actions .btn {
	flex: 1;
}

.feature__actions .btn--ghost {
	flex: 0 0 auto;
}

.feature--small,
.feature--hero {
	/* aliases for template readability */
}

.match-mini {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 11px 0;
	border-bottom: 1px solid var(--line);
}

.match-mini:last-child {
	border-bottom: 0;
}

.match-mini:hover {
	color: var(--text);
}

.match-mini__time {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.1;
}

.match-mini__time b {
	font-family: var(--font-num);
	font-size: 15px;
	font-weight: 600;
}

.match-mini__time small {
	margin-top: 3px;
	color: var(--muted-2);
	font-size: 9px;
}

.match-mini__body {
	min-width: 0;
}

.match-mini__league {
	display: block;
	color: var(--muted-2);
	font-size: 9.5px;
	letter-spacing: 0.08em;
}

.match-mini__teams {
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
	font-size: 11.5px;
	white-space: nowrap;
}

.match-mini__teams > span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.match-mini__teams b {
	flex: none;
	padding: 0 3px;
	color: var(--accent);
	font-family: var(--font-num);
	font-size: 11px;
}

.match-mini .status {
	font-size: 9px;
	padding: 2px 6px;
}

.match-mini .crest {
	--crest-size: 18px !important;
}

/* Status ------------------------------------------------------------------ */
.status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--muted);
	font-size: 10px;
	font-weight: 650;
	line-height: 1.5;
	white-space: nowrap;
}

.status--live {
	background: rgba(255, 95, 99, 0.14);
	color: #ff8386;
}

.status--upcoming {
	background: rgba(200, 249, 78, 0.1);
	color: var(--accent);
}

.status--finished {
	background: rgba(255, 255, 255, 0.06);
	color: var(--muted-2);
}

.status--postponed,
.status--cancelled {
	background: rgba(255, 176, 32, 0.12);
	color: var(--warning);
}

.status__pulse {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	animation: pl-pulse 1.5s ease-in-out infinite;
}

/* Crests ------------------------------------------------------------------ */
.crest {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: var(--crest-size, 44px);
	height: var(--crest-size, 44px);
	overflow: hidden;
	border-radius: 30% 30% 38% 38% / 34% 34% 46% 46%;
	background: rgba(255, 255, 255, 0.045);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.crest img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 4px;
}

.crest--fallback {
	position: relative;
	background:
		linear-gradient(160deg, color-mix(in srgb, var(--crest-color) 88%, #fff 12%), color-mix(in srgb, var(--crest-color) 62%, #000 38%));
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.28),
		inset 0 -10px 18px rgba(0, 0, 0, 0.24),
		0 6px 14px rgba(0, 0, 0, 0.25);
	color: #fff;
	font-size: calc(var(--crest-size, 44px) * 0.34);
	font-weight: 850;
	letter-spacing: -0.02em;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.crest--fallback::after {
	content: "";
	position: absolute;
	inset: 5%;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: inherit;
}

.crest--xl {
	border-radius: 32% 32% 40% 40% / 36% 36% 48% 48%;
}

/* Section ----------------------------------------------------------------- */
.section {
	padding: 66px 0;
}

.section--surface {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.004));
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

.section-head__kicker {
	display: block;
	margin-bottom: 7px;
	color: var(--accent);
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: 0.22em;
}

.section-head__title {
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.section-head__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	padding-bottom: 4px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 650;
}

.section-head__more:hover {
	color: var(--accent);
}

/* Match filter ------------------------------------------------------------ */
.match-filter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.match-filter__dates {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.date-pills {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.025);
}

.date-pill {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 7px 14px;
	border: 0;
	border-radius: 99px;
	background: transparent;
	color: var(--muted);
	font-size: 12.5px;
	font-weight: 650;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.date-pill small {
	color: var(--muted-2);
	font-family: var(--font-num);
	font-size: 10px;
}

.date-pill:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.05);
}

.date-pill.is-active {
	background: var(--accent);
	color: var(--accent-ink);
}

.date-pill.is-active small {
	color: rgba(10, 18, 6, 0.62);
}

.date-picker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--muted);
	background: rgba(255, 255, 255, 0.025);
}

.date-picker input {
	width: 112px;
	border: 0;
	background: transparent;
	color: var(--text);
	font-family: var(--font-num);
	font-size: 12px;
	outline: none;
}

.date-picker input::-webkit-calendar-picker-indicator {
	filter: invert(0.7);
	cursor: pointer;
}

.date-submit {
	display: none;
}

.match-filter__leagues {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px;
	border: 1px solid var(--line);
	border-radius: 99px;
	background: transparent;
	color: var(--muted);
	font-size: 11.5px;
	font-weight: 600;
}

.chip i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--chip-color, var(--accent));
}

.chip:hover {
	border-color: var(--line-strong);
	color: var(--text);
}

.chip.is-active {
	border-color: rgba(200, 249, 78, 0.45);
	background: var(--accent-soft);
	color: var(--accent);
}

/* Match board / rows ------------------------------------------------------ */
.match-board {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
}

.match-board__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 15px 20px;
	border-bottom: 1px solid var(--line);
	background: rgba(0, 0, 0, 0.14);
}

.match-board__head > div:first-child {
	display: flex;
	align-items: baseline;
	gap: 10px;
	min-width: 0;
}

.match-board__head strong {
	font-size: 14px;
	font-weight: 750;
}

.match-board__head span {
	color: var(--muted-2);
	font-size: 11px;
}

.match-board__nav {
	display: flex;
	align-items: center;
	gap: 6px;
}

.match-board__foot {
	display: flex;
	justify-content: center;
	padding: 14px;
	border-top: 1px solid var(--line);
}

.match-list {
	display: flex;
	flex-direction: column;
}

.match-row {
	position: relative;
	display: grid;
	grid-template-columns: 58px 112px minmax(0, 1fr) 86px 108px;
	align-items: center;
	gap: 10px;
	min-height: 70px;
	padding: 10px 20px;
	border-bottom: 1px solid var(--line);
	transition: background-color 0.16s ease;
}

.match-row:last-child {
	border-bottom: 0;
}

.match-row:hover {
	background: rgba(255, 255, 255, 0.035);
}

.match-row::before {
	content: "";
	position: absolute;
	left: 0;
	top: 16%;
	bottom: 16%;
	width: 2px;
	border-radius: 2px;
	background: transparent;
	transition: background-color 0.16s ease;
}

.match-row:hover::before {
	background: var(--accent);
}

.match-row__time {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.match-row__time strong {
	font-family: var(--font-num);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.match-row__time small {
	margin-top: 3px;
	color: var(--muted-2);
	font-size: 9.5px;
}

.match-row__league {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.match-row__league small {
	color: var(--muted-2);
	font-size: 9px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.league-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 7px;
	border-radius: 5px;
	background: color-mix(in srgb, var(--league-color, #c8f94e) 16%, transparent);
	color: color-mix(in srgb, var(--league-color, #c8f94e) 80%, #fff 20%);
	font-size: 10px;
	font-weight: 750;
	line-height: 1.5;
	white-space: nowrap;
}

.league-badge i {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
}

.league-badge-link:hover .league-badge {
	background: color-mix(in srgb, var(--league-color, #c8f94e) 26%, transparent);
}

.match-row__fixture {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.match-row__team {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
}

.match-row__team--home {
	justify-content: flex-end;
	text-align: right;
}

.match-row__team--away {
	justify-content: flex-start;
	text-align: left;
}

.match-row__name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13.5px;
	font-weight: 600;
}

.match-row__score {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	font-family: var(--font-num);
	font-size: 19px;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
}

.match-row__score i {
	color: var(--muted-2);
	font-style: normal;
	font-size: 13px;
}

.match-row__score .is-vs {
	padding: 2px 6px;
	border: 1px solid var(--line);
	border-radius: 5px;
	color: var(--muted-2);
	font-size: 10px;
	font-weight: 700;
}

.match-row__state {
	display: flex;
	justify-content: flex-start;
}

.match-row__action {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 3px;
	color: var(--muted-2);
	font-size: 11px;
	font-weight: 600;
}

.match-row:hover .match-row__action {
	color: var(--accent);
}

.match-list--panel .match-row {
	padding-left: 0;
	padding-right: 0;
	grid-template-columns: 54px 104px minmax(0, 1fr) 80px 92px;
}

.match-list--panel {
	padding: 0 4px;
}

.match-list--muted .match-row {
	opacity: 0.72;
}

.match-list--muted .match-row:hover {
	opacity: 1;
}

/* News ------------------------------------------------------------------- */
.home-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 336px;
	gap: 28px;
	align-items: start;
}

.home-split__side {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.news-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
	transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.news-card:hover {
	border-color: var(--line-strong);
	transform: translateY(-2px);
}

.news-card__media {
	display: block;
	overflow: hidden;
}

.thumb {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--surface-3);
}

.thumb__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.news-card:hover .thumb__img,
.replay-card:hover .thumb__img {
	transform: scale(1.035);
}

.thumb--fallback {
	display: block;
	background:
		radial-gradient(circle at 72% 28%, color-mix(in srgb, var(--thumb-color) 36%, transparent), transparent 55%),
		linear-gradient(145deg, color-mix(in srgb, var(--thumb-color) 26%, #0a120d), #09110c 78%);
}

.thumb__grid {
	position: absolute;
	inset: 0;
	opacity: 0.58;
	background-image:
		linear-gradient(90deg, transparent 49.7%, rgba(255, 255, 255, 0.12) 50%, transparent 50.3%),
		radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(255, 255, 255, 0.13) 18.2% 18.6%, transparent 18.8%);
}

.thumb__glow {
	position: absolute;
	width: 55%;
	height: 90%;
	right: -10%;
	bottom: -45%;
	border-radius: 50%;
	background: color-mix(in srgb, var(--thumb-color) 38%, transparent);
	filter: blur(34px);
}

.thumb__ball {
	position: absolute;
	right: 9%;
	bottom: 9%;
	color: rgba(255, 255, 255, 0.2);
	transform: rotate(-14deg);
}

.thumb__league {
	position: absolute;
	left: 10px;
	top: 10px;
	padding: 3px 8px;
	border-radius: 5px;
	background: rgba(5, 10, 7, 0.7);
	backdrop-filter: blur(8px);
	color: #fff;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.news-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	padding: 15px 16px 16px;
}

.news-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.news-card__top time {
	color: var(--muted-2);
	font-family: var(--font-num);
	font-size: 10px;
}

.news-card__title {
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card--lead {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	grid-column: span 2;
}

.news-card--lead .news-card__media {
	height: 100%;
	min-height: 0;
}

.news-card--lead .thumb {
	height: 100%;
	min-height: 0;
	aspect-ratio: auto;
}

.news-card--lead .news-card__body {
	justify-content: center;
	padding: 22px;
}

.news-card--lead .news-card__title {
	font-size: 22px;
	line-height: 1.42;
	-webkit-line-clamp: 3;
}

.news-card__excerpt {
	margin: 0;
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.75;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 2px;
	color: var(--muted-2);
	font-size: 10.5px;
}

.news-card__meta > span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.news-card__read {
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	color: var(--accent);
}

.news-card:hover .news-card__read {
	opacity: 1;
	transform: translateX(0);
}

.news-compact {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.news-compact:last-child {
	border-bottom: 0;
}

.news-compact__index {
	color: var(--accent);
	font-family: var(--font-num);
	font-size: 17px;
	line-height: 1.2;
	opacity: 0.65;
}

.news-compact__body {
	min-width: 0;
}

.news-compact__title {
	display: block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-compact__meta {
	display: flex;
	gap: 8px;
	margin-top: 4px;
	color: var(--muted-2);
	font-size: 10px;
}

/* Replay ----------------------------------------------------------------- */
.replay-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.replay-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.replay-grid--page {
	margin-top: 24px;
}

.replay-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.02);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.replay-card:hover {
	border-color: var(--line-strong);
	transform: translateY(-2px);
}

.replay-card__media {
	position: relative;
	display: block;
}

.replay-card__play {
	position: absolute;
	left: 50%;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(5, 10, 7, 0.62);
	border: 1px solid rgba(255, 255, 255, 0.22);
	backdrop-filter: blur(6px);
	color: #fff;
	transform: translate(-50%, -50%);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.replay-card__media:hover .replay-card__play {
	background: var(--accent);
	color: var(--accent-ink);
	transform: translate(-50%, -50%) scale(1.06);
}

.replay-card__duration {
	position: absolute;
	right: 9px;
	bottom: 9px;
	padding: 2px 6px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	font-family: var(--font-num);
	font-size: 10px;
}

.replay-card__type {
	position: absolute;
	left: 9px;
	bottom: 9px;
	padding: 2px 6px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.55);
	color: rgba(255, 255, 255, 0.8);
	font-size: 9px;
}

.replay-card__body {
	padding: 13px 14px 15px;
}

.replay-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}

.replay-card__meta time {
	color: var(--muted-2);
	font-family: var(--font-num);
	font-size: 9.5px;
}

.replay-card__title {
	font-size: 13.5px;
	font-weight: 650;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* League cards ------------------------------------------------------------ */
.league-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.league-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background:
		linear-gradient(120deg, color-mix(in srgb, var(--league-color) 12%, transparent), transparent 52%),
		rgba(255, 255, 255, 0.018);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.league-card::after {
	content: "";
	position: absolute;
	right: -28px;
	top: -38px;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--league-color) 18%, transparent);
	filter: blur(18px);
}

.league-card:hover {
	border-color: color-mix(in srgb, var(--league-color) 36%, transparent);
	transform: translateY(-2px);
}

.league-card__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: color-mix(in srgb, var(--league-color) 20%, #0b130e);
	color: color-mix(in srgb, var(--league-color) 70%, #fff 30%);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.02em;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--league-color) 30%, transparent);
}

.league-card__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.league-card__body strong {
	font-size: 14px;
	font-weight: 700;
}

.league-card__body small {
	margin-top: 2px;
	color: var(--muted-2);
	font-size: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.league-card__arrow {
	margin-left: auto;
	color: var(--muted-2);
	transition: color 0.2s ease, transform 0.2s ease;
}

.league-card:hover .league-card__arrow {
	color: var(--accent);
	transform: translateX(2px);
}

/* Standings --------------------------------------------------------------- */
.standings {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
}

.standings__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	padding: 17px 18px 13px;
	border-bottom: 1px solid var(--line);
}

.standings__kicker {
	display: block;
	margin-bottom: 3px;
	color: var(--accent);
	font-size: 8.5px;
	font-weight: 800;
	letter-spacing: 0.2em;
}

.standings__head h3 {
	font-size: 16px;
	font-weight: 750;
}

.standings__more {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: var(--muted-2);
	font-size: 10px;
	white-space: nowrap;
}

.standings__more:hover {
	color: var(--accent);
}

.standings__wrap {
	overflow-x: auto;
}

.standings__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 11.5px;
}

.standings__table th,
.standings__table td {
	padding: 9px 8px;
	text-align: center;
	white-space: nowrap;
}

.standings__table thead th {
	color: var(--muted-2);
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.standings__table tbody tr {
	border-top: 1px solid rgba(255, 255, 255, 0.055);
	transition: background-color 0.15s ease;
}

.standings__table tbody tr:hover {
	background: rgba(255, 255, 255, 0.04);
}

.standings__table tbody th {
	text-align: left;
	font-weight: 500;
	padding-left: 2px;
}

.standings__table td:first-child,
.standings__table th:first-child {
	padding-left: 14px;
}

.standings__rank {
	width: 30px;
	color: var(--muted-2);
	font-family: var(--font-num);
}

.standings__team {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 550;
}

.standings__team span {
	max-width: 118px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.standings__team:hover {
	color: var(--accent);
}

.standings__points {
	color: var(--accent);
	font-family: var(--font-num);
	font-size: 13px;
	font-weight: 700;
}

.standings__table tr.is-top .standings__rank {
	color: var(--green);
}

.standings__table tr.is-bottom .standings__rank {
	color: var(--danger);
}

.standings__note,
.standings__empty {
	margin: 0;
	padding: 11px 15px;
	border-top: 1px solid var(--line);
	color: var(--muted-2);
	font-size: 9.5px;
}

.standings--compact .standings__head {
	padding: 14px 14px 11px;
}

.standings--compact .standings__table th,
.standings--compact .standings__table td {
	padding: 8px 5px;
}

.standings--compact .standings__table .standings__optional {
	display: none;
}

.standings--compact .standings__team span {
	max-width: 96px;
}

.standings--compact .standings__note {
	display: none;
}

/* Side blocks ------------------------------------------------------------- */
.side-cta {
	padding: 22px;
	border-radius: var(--radius);
	background:
		radial-gradient(circle at 85% 15%, rgba(200, 249, 78, 0.2), transparent 55%),
		linear-gradient(145deg, #143222, #0b1710);
	border: 1px solid rgba(200, 249, 78, 0.2);
}

.side-cta__kicker {
	color: var(--accent);
	font-size: 8.5px;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.side-cta h3 {
	margin: 8px 0 8px;
	font-size: 19px;
	letter-spacing: -0.01em;
}

.side-cta p {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.75;
}

/* CTA band --------------------------------------------------------------- */
.cta-band {
	position: relative;
	margin: 10px 0 0;
	padding: 44px 0;
	border-top: 1px solid var(--line);
	background:
		radial-gradient(700px 240px at 20% 0%, rgba(36, 207, 130, 0.16), transparent 70%),
		linear-gradient(120deg, #0b1a12, #070f0a);
	overflow: hidden;
}

.cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.cta-band__kicker {
	color: var(--accent);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.22em;
}

.cta-band h2 {
	margin: 8px 0 6px;
	font-size: clamp(24px, 2.6vw, 34px);
}

.cta-band p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
}

.cta-band__actions {
	display: flex;
	gap: 10px;
	flex: none;
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
	border-top: 1px solid var(--line);
	background: #050a07;
	padding-top: 46px;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
	gap: 34px;
	padding-bottom: 36px;
}

.footer__brand .brand {
	margin-bottom: 14px;
}

.footer__about {
	max-width: 340px;
	margin: 0;
	color: var(--muted-2);
	font-size: 11.5px;
	line-height: 1.85;
}

.footer__col h3 {
	margin-bottom: 13px;
	color: var(--text);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.1em;
}

.footer__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer__links a {
	color: var(--muted-2);
	font-size: 12px;
}

.footer__links a:hover {
	color: var(--accent);
}

.footer__subhead {
	margin-top: 20px;
}

.footer__friends {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 10px;
}

.footer__friends a {
	color: var(--muted-2);
	font-size: 10.5px;
}

.footer__legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 18px;
	padding-bottom: 18px;
	border-top: 1px solid var(--line);
}

.footer__copy {
	margin: 0;
	color: var(--muted-2);
	font-size: 10.5px;
}

.footer__copy a {
	color: var(--muted);
}

.footer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	color: var(--muted-2);
	font-size: 10px;
}

.footer__meta a:hover {
	color: var(--muted);
}

.footer__disclaimer {
	padding-bottom: 22px;
}

.footer__disclaimer p {
	margin: 0;
	max-width: 980px;
	color: rgba(148, 167, 155, 0.55);
	font-size: 9.5px;
	line-height: 1.8;
}

.footer-widget {
	margin-top: 18px;
}

.footer-widget__title {
	font-size: 11px;
	letter-spacing: 0.08em;
}

/* Mobile nav ------------------------------------------------------------- */
.mobile-nav {
	display: none;
}

/* Search overlay --------------------------------------------------------- */
.search-overlay {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 9vh 20px 20px;
}

.search-overlay[hidden] {
	display: none;
}

.search-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 6, 4, 0.78);
	backdrop-filter: blur(8px);
}

.search-overlay__panel {
	position: relative;
	width: 100%;
	max-width: 680px;
	max-height: 78vh;
	overflow: auto;
	padding: 22px;
	border: 1px solid var(--line-strong);
	border-radius: 20px;
	background: #0b1510;
	box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
	animation: pl-pop 0.18s ease;
}

.search-overlay__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.search-overlay__head h2 {
	font-size: 16px;
}

.search-overlay__form {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 6px 6px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
}

.search-overlay__form > .icon {
	color: var(--muted-2);
}

.search-overlay__form input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	outline: none;
	font-size: 14px;
}

.search-overlay__form input::placeholder {
	color: var(--muted-2);
}

.search-overlay__quick {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	color: var(--muted-2);
	font-size: 11px;
}

.search-overlay__quick a {
	padding: 3px 9px;
	border: 1px solid var(--line);
	border-radius: 99px;
	color: var(--muted);
}

.search-overlay__quick a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.search-results {
	margin-top: 14px;
}

.search-results__empty {
	color: var(--muted);
	font-size: 13px;
}

.search-results__list {
	display: flex;
	flex-direction: column;
}

.search-result {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 18px;
	align-items: center;
	gap: 10px;
	padding: 11px 4px;
	border-bottom: 1px solid var(--line);
}

.search-result:hover {
	background: rgba(255, 255, 255, 0.03);
}

.search-result__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--accent);
}

.search-result__body {
	min-width: 0;
}

.search-result__body strong {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13px;
	font-weight: 600;
}

.search-result__body small {
	color: var(--muted-2);
	font-size: 10px;
}

.search-result > .icon {
	color: var(--muted-2);
}

/* Breadcrumbs ------------------------------------------------------------ */
.breadcrumbs {
	border-bottom: 1px solid var(--line);
	background: rgba(0, 0, 0, 0.12);
}

.breadcrumbs__inner {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	overflow: hidden;
	color: var(--muted-2);
	font-size: 10.5px;
	white-space: nowrap;
}

.breadcrumbs__inner a:hover {
	color: var(--text);
}

.breadcrumbs__inner span[aria-current] {
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--muted);
}

.breadcrumbs__sep {
	color: rgba(255, 255, 255, 0.16);
}

/* Page hero -------------------------------------------------------------- */
.page-hero {
	position: relative;
	padding: 38px 0 34px;
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(620px 220px at 12% 0%, rgba(36, 207, 130, 0.1), transparent 70%),
		rgba(255, 255, 255, 0.012);
}

.page-hero__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
}

.page-hero__kicker {
	display: block;
	margin-bottom: 8px;
	color: var(--accent);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.22em;
}

.page-hero__title {
	font-size: clamp(30px, 3.4vw, 44px);
	letter-spacing: -0.03em;
}

.page-hero__sub {
	max-width: 560px;
	margin: 10px 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.75;
}

.page-hero .search-form {
	width: 340px;
	flex: none;
}

/* Search form ------------------------------------------------------------ */
.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
}

.search-form__field {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	min-width: 0;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.035);
	color: var(--muted-2);
}

.search-form__field:focus-within {
	border-color: rgba(200, 249, 78, 0.5);
}

.search-form__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	outline: none;
	font-size: 12.5px;
}

.search-form__submit {
	flex: none;
	height: 42px;
}

/* Archive layout --------------------------------------------------------- */
.archive-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 322px;
	gap: 26px;
	padding-top: 30px;
	padding-bottom: 64px;
	align-items: start;
}

.archive-layout__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.side-panel {
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.02);
}

.side-panel--sticky {
	position: sticky;
	top: calc(var(--header-h) + 16px);
}

.side-panel > h2,
.side-panel__head h2 {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 700;
}

.side-panel > h2 {
	margin-bottom: 12px;
}

.side-panel > h2 .icon,
.side-panel__head .icon {
	color: var(--accent);
}

.side-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
	padding-bottom: 11px;
	border-bottom: 1px solid var(--line);
}

.side-panel__head a {
	color: var(--muted-2);
	font-size: 10px;
}

.side-panel__head a:hover {
	color: var(--accent);
}

.side-panel__list {
	display: flex;
	flex-direction: column;
}

.side-panel__empty {
	margin: 8px 0;
	color: var(--muted-2);
	font-size: 11.5px;
	line-height: 1.7;
}

.side-panel--help p {
	color: var(--muted);
	font-size: 11.5px;
	line-height: 1.8;
}

.side-facts {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin-bottom: 14px;
}

.side-facts > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 11px;
}

.side-facts span {
	color: var(--muted-2);
}

.side-facts strong {
	font-weight: 600;
	text-align: right;
}

.side-panel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.side-panel .match-mini {
	grid-template-columns: 40px minmax(0, 1fr);
	grid-template-areas:
		"time body"
		"time state";
	row-gap: 2px;
	padding: 10px 0;
}

.side-panel .match-mini__time {
	grid-area: time;
}

.side-panel .match-mini__body {
	grid-area: body;
}

.side-panel .match-mini > .status {
	grid-area: state;
	justify-self: start;
	margin-top: 2px;
}

.side-panel .match-mini__teams {
	font-size: 11px;
}

.side-panel .match-mini__teams .crest {
	display: none;
}

.source-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 12px;
}

.source-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 9px;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-size: 11px;
}

.source-list__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 5px;
	background: var(--accent-soft);
	color: var(--accent);
	font-family: var(--font-num);
	font-size: 10px;
}

.source-list__name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.source-list__type {
	color: var(--muted-2);
	font-size: 8.5px;
}

/* Panels ----------------------------------------------------------------- */
.panel {
	margin-bottom: 20px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.022);
}

.panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 13px;
	border-bottom: 1px solid var(--line);
}

.panel__head h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
}

.panel__head h2 .icon {
	color: var(--accent);
}

.panel__meta {
	color: var(--muted-2);
	font-family: var(--font-num);
	font-size: 10px;
}

.panel__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--muted-2);
	font-size: 10.5px;
	white-space: nowrap;
}

.panel__more:hover {
	color: var(--accent);
}

.panel__subhead {
	margin: 20px 0 4px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

/* Match single ----------------------------------------------------------- */
.match-hero {
	position: relative;
	padding: 24px 0 28px;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(900px 340px at 50% -20%, rgba(36, 207, 130, 0.12), transparent 70%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.match-hero__glow {
	position: absolute;
	left: 50%;
	top: -160px;
	width: 700px;
	height: 360px;
	border-radius: 50%;
	background: rgba(200, 249, 78, 0.07);
	filter: blur(70px);
	transform: translateX(-50%);
	pointer-events: none;
}

.match-hero__top {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.match-hero__tags {
	display: flex;
	align-items: center;
	gap: 8px;
}

.match-hero__round {
	padding: 3px 9px;
	border: 1px solid var(--line);
	border-radius: 99px;
	color: var(--muted);
	font-size: 10px;
}

.match-hero__tools {
	display: flex;
	align-items: center;
	gap: 14px;
}

.match-hero__views {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--muted-2);
	font-size: 10.5px;
}

.match-hero__board {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr) minmax(0, 1fr);
	align-items: center;
	gap: 18px;
	padding: 24px 0 20px;
}

.match-hero__team {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}

.match-hero__team .crest {
	filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.35));
}

.match-hero__name {
	font-size: 19px;
	font-weight: 750;
	letter-spacing: -0.01em;
}

.match-hero__team > span {
	color: var(--muted-2);
	font-size: 9.5px;
	letter-spacing: 0.16em;
}

.match-hero__center {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.match-hero__statusline {
	display: flex;
	align-items: center;
	gap: 7px;
}

.match-hero__minute {
	color: var(--danger);
	font-family: var(--font-num);
	font-size: 12px;
}

.match-hero__score {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-num);
	font-size: clamp(46px, 5vw, 66px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
}

.match-hero__score i {
	color: var(--muted-2);
	font-style: normal;
	font-size: 0.55em;
}

.match-hero__score--vs {
	color: var(--muted-2);
	font-size: 40px;
	letter-spacing: 0.05em;
}

.match-hero__kickoff {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--muted);
	font-size: 11px;
}

.match-hero__kickoff span {
	color: var(--muted-2);
}

.match-hero__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
}

.match-hero__meta {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 18px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	color: var(--muted-2);
	font-size: 10.5px;
}

.match-hero__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.countdown {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 10px;
	border: 1px solid rgba(200, 249, 78, 0.22);
	border-radius: 99px;
	background: rgba(200, 249, 78, 0.07);
	color: var(--muted);
	font-size: 10px;
	white-space: nowrap;
}

.countdown__value {
	color: var(--accent);
	font-family: var(--font-num);
	font-size: 12px;
	letter-spacing: 0.04em;
}

.match-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 322px;
	gap: 26px;
	padding-top: 26px;
	padding-bottom: 60px;
	align-items: start;
}

.match-layout__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.match-player {
	margin-bottom: 20px;
}

.match-content .prose {
	color: #c6d2ca;
	font-size: 13.5px;
	line-height: 1.95;
}

.match-note {
	display: flex;
	gap: 9px;
	margin-top: 14px;
	padding: 11px 13px;
	border: 1px solid rgba(255, 176, 32, 0.18);
	border-radius: 10px;
	background: rgba(255, 176, 32, 0.07);
	color: #e7c487;
}

.match-note p {
	margin: 0;
	font-size: 11.5px;
	line-height: 1.75;
}

.match-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin-top: 18px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--line);
}

.match-fact {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 12px;
	background: #0c1711;
}

.match-fact span {
	color: var(--muted-2);
	font-size: 9px;
	letter-spacing: 0.06em;
}

.match-fact strong {
	font-size: 11.5px;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

/* Player ----------------------------------------------------------------- */
.player {
	overflow: hidden;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: #040806;
}

.player__stage {
	position: relative;
	aspect-ratio: 16 / 9;
	background:
		radial-gradient(circle at 50% 50%, transparent 0 17%, rgba(255, 255, 255, 0.055) 17.2% 17.45%, transparent 17.65%),
		linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.055) 50%, transparent 50.2%),
		linear-gradient(0deg, transparent 88%, rgba(255, 255, 255, 0.04) 88.2% 88.5%, transparent 88.7%),
		radial-gradient(circle at 50% 40%, rgba(36, 207, 130, 0.18), transparent 60%),
		linear-gradient(145deg, #0c1b13, #050b07);
	background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.player__stage::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(3, 7, 5, 0.42), rgba(3, 7, 5, 0.72));
	pointer-events: none;
}

.player__video,
.player__iframe {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
	object-fit: contain;
}

.player__video[hidden],
.player__iframe[hidden] {
	display: none;
}

.player__overlay {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	max-width: 480px;
	padding: 24px;
	text-align: center;
}

.player__state {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 99px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(0, 0, 0, 0.35);
	color: var(--muted);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.player__state.is-live {
	border-color: rgba(255, 95, 99, 0.35);
	color: #ff9a9c;
}

.player__title {
	font-size: clamp(20px, 2.4vw, 28px);
	letter-spacing: -0.02em;
}

.player__desc {
	max-width: 400px;
	margin: 0;
	color: var(--muted);
	font-size: 11.5px;
	line-height: 1.75;
}

.player__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 8px;
}

.player__countdown {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.32);
	border: 1px solid var(--line);
	color: var(--muted-2);
	font-size: 10px;
}

.player__countdown strong {
	color: var(--accent);
	font-family: var(--font-num);
	font-size: 18px;
	letter-spacing: 0.05em;
}

.player__play-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-top: 4px;
	border: 1px solid rgba(200, 249, 78, 0.5);
	border-radius: 50%;
	background: rgba(200, 249, 78, 0.14);
	color: var(--accent);
	backdrop-filter: blur(8px);
	transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.player__play-btn:hover {
	background: var(--accent);
	color: var(--accent-ink);
	transform: scale(1.05);
}

.player__error {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 3;
	transform: translate(-50%, -50%);
	padding: 18px 22px;
	border: 1px solid rgba(255, 95, 99, 0.3);
	border-radius: 12px;
	background: rgba(12, 5, 6, 0.9);
	text-align: center;
}

.player__error[hidden] {
	display: none;
}

.player__error strong {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
}

.player__error p {
	margin: 0;
	color: var(--muted);
	font-size: 11px;
}

.player__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border-top: 1px solid var(--line);
	background: #08100b;
}

.player__sources {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.player__source {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: transparent;
	color: var(--muted);
	font-size: 11px;
}

.player__source small {
	color: var(--muted-2);
	font-size: 8px;
}

.player__source:hover {
	border-color: var(--line-strong);
	color: var(--text);
}

.player__source.is-active {
	border-color: rgba(200, 249, 78, 0.5);
	background: var(--accent-soft);
	color: var(--accent);
}

.player__source.is-active small {
	color: rgba(200, 249, 78, 0.7);
}

.player__external {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: none;
	color: var(--muted-2);
	font-size: 10px;
}

.player__external:hover {
	color: var(--accent);
}

.player__note {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	padding: 8px 12px;
	border-top: 1px solid var(--line);
	background: #070d09;
	color: var(--muted-2);
	font-size: 9.5px;
}

/* League page ------------------------------------------------------------ */
.league-hero {
	position: relative;
	padding: 40px 0;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
	background:
		linear-gradient(110deg, color-mix(in srgb, var(--league-color) 16%, transparent), transparent 55%),
		rgba(255, 255, 255, 0.015);
}

.league-hero__pattern {
	position: absolute;
	right: 6%;
	top: -60px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--league-color) 20%, transparent);
	box-shadow:
		0 0 0 40px color-mix(in srgb, var(--league-color) 4%, transparent),
		0 0 0 90px color-mix(in srgb, var(--league-color) 2%, transparent);
}

.league-hero__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 22px;
}

.league-hero__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 84px;
	height: 84px;
	border-radius: 24px;
	background: color-mix(in srgb, var(--league-color) 22%, #0b130e);
	color: color-mix(in srgb, var(--league-color) 70%, #fff 30%);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--league-color) 35%, transparent);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.league-hero__text {
	min-width: 0;
}

.league-hero__kicker {
	color: var(--accent);
	font-size: 8.5px;
	font-weight: 800;
	letter-spacing: 0.2em;
}

.league-hero__text h1 {
	margin: 5px 0 6px;
	font-size: clamp(30px, 3.4vw, 42px);
	letter-spacing: -0.03em;
}

.league-hero__text p {
	margin: 0;
	color: var(--muted);
	font-size: 11.5px;
}

.league-hero__desc {
	margin-top: 6px !important;
	max-width: 540px;
	color: var(--muted-2) !important;
	font-size: 11px !important;
}

.league-hero__actions {
	display: flex;
	gap: 8px;
	margin-left: auto;
	flex: none;
}

.league-subnav {
	position: sticky;
	top: var(--header-h);
	z-index: 40;
	border-bottom: 1px solid var(--line);
	background: rgba(7, 13, 9, 0.94);
	backdrop-filter: blur(12px);
}

.league-subnav .container {
	display: flex;
	gap: 24px;
	min-height: 46px;
	align-items: center;
}

.league-subnav a {
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
}

.league-subnav a:hover {
	color: var(--accent);
}

.league-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 306px;
	gap: 26px;
	padding-top: 26px;
	padding-bottom: 60px;
	align-items: start;
}

.league-layout__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

#fixtures,
#standings,
#news,
#replays {
	scroll-margin-top: calc(var(--header-h) + 58px);
}

/* Team page -------------------------------------------------------------- */
.team-hero {
	position: relative;
	padding: 38px 0;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
	background:
		linear-gradient(110deg, color-mix(in srgb, var(--team-color) 16%, transparent), transparent 58%),
		rgba(255, 255, 255, 0.015);
}

.team-hero__pattern {
	position: absolute;
	left: 8%;
	bottom: -90px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--team-color) 22%, transparent);
	box-shadow: 0 0 0 45px color-mix(in srgb, var(--team-color) 4%, transparent);
}

.team-hero__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
}

.team-hero__crest {
	flex: none;
	filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.4));
}

.team-hero__text {
	min-width: 0;
}

.team-hero__kicker {
	color: var(--accent);
	font-size: 8.5px;
	font-weight: 800;
	letter-spacing: 0.2em;
}

.team-hero__text h1 {
	margin: 5px 0 6px;
	font-size: clamp(30px, 3.2vw, 42px);
	letter-spacing: -0.03em;
}

.team-hero__text p {
	margin: 0;
	color: var(--muted);
	font-size: 11.5px;
}

.team-hero__text a:hover {
	color: var(--accent);
}

.team-hero__record {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-left: auto;
	padding: 14px 18px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.18);
}

.team-hero__record > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.2;
}

.team-hero__record strong {
	font-family: var(--font-num);
	font-size: 20px;
}

.team-hero__record span {
	margin-top: 4px;
	color: var(--muted-2);
	font-size: 8.5px;
}

.team-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 306px;
	gap: 26px;
	padding-top: 26px;
	padding-bottom: 60px;
	align-items: start;
}

.team-layout__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.form-dots {
	display: flex;
	gap: 4px;
}

.form-dots i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	border-radius: 5px;
	font-family: var(--font-num);
	font-size: 9px;
	font-style: normal;
	font-weight: 700;
}

.form-dots i.is-w {
	background: rgba(36, 207, 130, 0.16);
	color: var(--green);
}

.form-dots i.is-d {
	background: rgba(255, 255, 255, 0.07);
	color: var(--muted);
}

.form-dots i.is-l {
	background: rgba(255, 95, 99, 0.14);
	color: var(--danger);
}

/* Replay page ------------------------------------------------------------ */
.replay-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 306px;
	gap: 26px;
	padding-top: 26px;
	padding-bottom: 60px;
	align-items: start;
}

.replay-layout__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.replay-head {
	margin-bottom: 16px;
}

.replay-head__tags {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.replay-head__type {
	color: var(--muted-2);
	font-size: 10px;
	letter-spacing: 0.08em;
}

.replay-head h1 {
	font-size: clamp(25px, 2.8vw, 34px);
	letter-spacing: -0.02em;
}

.replay-head__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 10px;
	color: var(--muted-2);
	font-size: 10.5px;
}

.replay-head__meta > span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.share-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

.share-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: transparent;
	color: var(--muted);
	font-size: 9.5px;
}

.share-btn:hover {
	border-color: var(--line-strong);
	color: var(--accent);
}

.replay-player {
	overflow: hidden;
	margin-bottom: 20px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: #000;
}

.replay-player video,
.replay-player iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	background: #000;
}

.replay-player__missing {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	aspect-ratio: 16 / 9;
	padding: 24px;
	background: linear-gradient(145deg, #0c1711, #060c08);
	color: var(--muted);
	text-align: center;
}

.replay-player__missing h2 {
	font-size: 18px;
}

.replay-player__missing p {
	margin: 0;
	font-size: 11.5px;
}

.replay-content .prose {
	color: #c6d2ca;
	font-size: 13px;
	line-height: 1.95;
}

.filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin: 26px 0 6px;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.02);
}

.filter-bar__group {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.filter-bar__label {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-right: 4px;
	color: var(--muted-2);
	font-size: 10.5px;
}

.filter-bar__count {
	color: var(--muted-2);
	font-size: 10.5px;
}

/* Article ---------------------------------------------------------------- */
.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 316px;
	gap: 30px;
	padding-top: 30px;
	padding-bottom: 64px;
	align-items: start;
}

.article-layout__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.article {
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.022);
}

.article__tags {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.article__cat {
	color: var(--muted-2);
	font-size: 10px;
}

.article__cat:hover {
	color: var(--accent);
}

.article__title {
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.article__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 14px;
	color: var(--muted-2);
	font-size: 10.5px;
}

.article__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.article__excerpt {
	margin: 16px 0 0;
	padding: 14px 16px;
	border-left: 2px solid var(--accent);
	background: rgba(200, 249, 78, 0.04);
	color: var(--muted);
	font-size: 13px;
	line-height: 1.8;
}

.article__cover {
	margin: 20px 0 0;
	overflow: hidden;
	border-radius: 10px;
}

.article__cover img {
	display: block;
	width: 100%;
}

.article__content {
	margin-top: 22px;
}

.prose {
	color: #c7d3cb;
	font-size: 14px;
	line-height: 1.95;
	word-break: break-word;
}

.prose > *:first-child {
	margin-top: 0;
}

.prose h2 {
	margin: 1.6em 0 0.55em;
	font-size: 21px;
	color: var(--text);
}

.prose h3 {
	margin: 1.4em 0 0.5em;
	font-size: 17px;
	color: var(--text);
}

.prose p {
	margin: 0 0 1.2em;
}

.prose a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose ul,
.prose ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
	list-style: revert;
}

.prose li {
	margin-bottom: 0.35em;
}

.prose blockquote {
	margin: 1.4em 0;
	padding: 14px 18px;
	border-left: 2px solid var(--accent);
	background: rgba(200, 249, 78, 0.04);
	color: var(--muted);
}

.prose img {
	border-radius: 8px;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
}

.prose th,
.prose td {
	padding: 8px 10px;
	border: 1px solid var(--line);
}

.prose code {
	padding: 2px 5px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.07);
	font-size: 0.9em;
}

.prose iframe {
	max-width: 100%;
	border-radius: 8px;
}

.article__tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.article__tags-list a {
	padding: 3px 9px;
	border: 1px solid var(--line);
	border-radius: 99px;
	color: var(--muted);
	font-size: 10px;
}

.article__tags-list a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.article__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 18px;
}

.post-nav__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.02);
}

.post-nav__item:hover {
	border-color: var(--line-strong);
}

.post-nav__item small {
	color: var(--muted-2);
	font-size: 9.5px;
}

.post-nav__item strong {
	font-size: 12.5px;
	font-weight: 600;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-nav__item--next {
	text-align: right;
}

.comments-area {
	margin-top: 18px;
}

.comment-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.comment-list .comment {
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.02);
}

.comment-list .children {
	margin-top: 12px;
	padding-left: 18px;
	border-left: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
}

.comment-author img {
	border-radius: 50%;
}

.comment-metadata {
	margin: 4px 0 8px;
	color: var(--muted-2);
	font-size: 9.5px;
}

.comment-content {
	font-size: 12.5px;
	line-height: 1.8;
}

.comment-respond {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.comment-reply-title {
	font-size: 15px;
	margin-bottom: 10px;
}

.comment-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.comment-form label {
	display: block;
	margin-bottom: 4px;
	color: var(--muted);
	font-size: 11px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 9px 11px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--text);
	font-size: 12.5px;
	outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: rgba(200, 249, 78, 0.45);
}

.comment-form .submit {
	align-self: flex-start;
}

.comments-closed {
	color: var(--muted-2);
	font-size: 11px;
}

.page-content {
	margin-top: 26px;
	margin-bottom: 60px;
}

/* Search page ------------------------------------------------------------ */
.search-page-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
	margin-bottom: 40px;
}

.search-page-list > .match-row {
	grid-column: 1 / -1;
	border: 1px solid var(--line);
	border-radius: 10px;
}

.search-page-list > .replay-card,
.search-page-list > .news-card {
	height: 100%;
}

/* 404 -------------------------------------------------------------------- */
.notfound {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 60px;
	padding-bottom: 50px;
	text-align: center;
}

.notfound__mark {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--accent);
	font-family: var(--font-num);
	font-size: clamp(60px, 10vw, 110px);
	font-weight: 700;
	line-height: 1;
	opacity: 0.9;
}

.notfound__mark .icon {
	opacity: 0.6;
	animation: pl-float 4s ease-in-out infinite;
}

.notfound__kicker {
	margin-top: 18px;
	color: var(--muted-2);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.22em;
}

.notfound h1 {
	margin: 8px 0;
	font-size: clamp(26px, 3vw, 36px);
}

.notfound > p {
	max-width: 480px;
	color: var(--muted);
	font-size: 13px;
}

.notfound__actions {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.notfound__search {
	width: min(100%, 420px);
	margin-top: 26px;
}

/* Pagination ------------------------------------------------------------- */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin: 32px 0 10px;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--muted);
	font-size: 11.5px;
}

.pagination .page-numbers:hover {
	border-color: var(--line-strong);
	color: var(--text);
}

.pagination .page-numbers.current {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 700;
}

.pagination .prev,
.pagination .next {
	gap: 4px;
}

/* Empty / ad / misc ------------------------------------------------------ */
.empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 44px 20px;
	text-align: center;
}

.empty-state__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	margin-bottom: 4px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.03);
	color: var(--muted-2);
}

.empty-state h3 {
	font-size: 16px;
}

.empty-state p {
	max-width: 380px;
	margin: 0;
	color: var(--muted-2);
	font-size: 11.5px;
	line-height: 1.75;
}

.empty-state .btn {
	margin-top: 8px;
}

.ad-slot {
	max-width: var(--container);
	margin: 18px auto;
	padding: 0 24px;
}

.ad-slot__label {
	display: block;
	margin-bottom: 4px;
	color: rgba(255, 255, 255, 0.22);
	font-size: 8px;
	letter-spacing: 0.16em;
}

.ad-slot img {
	display: block;
	max-width: 100%;
	height: auto;
}

.noscript {
	padding: 12px;
	background: var(--warning);
	color: #1b1200;
	text-align: center;
	font-size: 12px;
}

.form-dots,
.share-actions,
.match-hero__tools .share-actions {
	flex-wrap: wrap;
}

/* Animations ------------------------------------------------------------- */
@keyframes pl-pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.35;
		transform: scale(0.82);
	}
}

@keyframes pl-ticker {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@keyframes pl-pop {
	from {
		opacity: 0;
		transform: translateY(-8px) scale(0.99);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes pl-float {
	0%,
	100% {
		transform: translateY(0) rotate(-8deg);
	}
	50% {
		transform: translateY(-8px) rotate(4deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
	.hero__inner {
		grid-template-columns: 0.85fr 1.4fr 0.85fr;
		gap: 20px;
	}

	.hero__intro h1 {
		font-size: 40px;
	}

	.feature {
		padding: 20px;
	}

	.primary-nav__list {
		gap: 22px;
	}

	.match-row {
		grid-template-columns: 54px 100px minmax(0, 1fr) 80px 96px;
		padding-left: 16px;
		padding-right: 16px;
	}
}

@media (max-width: 1020px) {
	.hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	}

	.hero__intro {
		padding-bottom: 8px;
	}

	.hero__side {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		gap: 20px;
		padding: 14px 16px;
	}

	.hero__side-head {
		margin: 0;
		padding: 0;
		border: 0;
		flex: none;
		flex-direction: column;
		align-items: flex-start;
	}

	.hero__side-list {
		flex: 1;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0 18px;
	}

	.hero__side-stat {
		margin: 0;
		padding: 0 0 0 18px;
		border: 0;
		border-left: 1px solid var(--line);
		flex: none;
	}

	.hero__stats {
		margin-top: 18px;
	}

	.home-split,
	.archive-layout,
	.match-layout,
	.league-layout,
	.team-layout,
	.replay-layout,
	.article-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.home-split__side {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.archive-layout__side,
	.match-layout__side,
	.league-layout__side,
	.team-layout__side,
	.replay-layout__side,
	.article-layout__side {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.side-panel--sticky {
		position: static;
	}

	.news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.news-card--lead {
		grid-column: span 2;
		grid-row: auto;
	}

	.replay-grid,
	.league-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.replay-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr;
	}

	.footer__col:last-child {
		grid-column: 1 / -1;
	}

	.match-hero__board {
		grid-template-columns: minmax(0, 1fr) minmax(230px, 0.8fr) minmax(0, 1fr);
	}

	.match-hero__name {
		font-size: 16px;
	}
}

@media (max-width: 860px) {
	:root {
		--header-h: 64px;
	}

	body.admin-bar .site-header {
		top: 46px;
	}

	.container {
		padding: 0 18px;
	}

	.topbar__right .topbar__link {
		display: none;
	}

	.topbar__divider {
		display: none;
	}

	.topbar__inner {
		min-height: 34px;
	}

	.primary-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		margin: 0;
		padding: 10px 18px 16px;
		border-bottom: 1px solid var(--line);
		background: #08110c;
		box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.primary-nav__list li {
		border-bottom: 1px solid var(--line);
	}

	.primary-nav__list li:last-child {
		border-bottom: 0;
	}

	.primary-nav__list a {
		display: block;
		padding: 13px 4px;
		font-size: 14px;
	}

	.primary-nav__list a::after {
		display: none;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.header-cta {
		display: none;
	}

	.site-header__inner {
		gap: 14px;
	}

	.brand__text strong {
		font-size: 19px;
	}

	.brand__text small {
		display: none;
	}

	.hero {
		padding-top: 30px;
	}

	.hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero__intro {
		padding: 4px 0 0;
	}

	.hero__intro h1 {
		font-size: 36px;
	}

	.hero__intro p {
		max-width: none;
	}

	.feature {
		min-height: 340px;
	}

	.hero__side {
		grid-column: auto;
		flex-direction: column;
		align-items: stretch;
	}

	.hero__side-list {
		display: flex;
	}

	.hero__side-stat {
		padding: 12px 0 0;
		border-left: 0;
		border-top: 1px solid var(--line);
	}

	.hero__stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero__stat:nth-child(2) {
		border-right: 0;
	}

	.hero__stat:nth-child(3),
	.hero__stat:nth-child(4) {
		border-top: 1px solid var(--line);
	}

	.hero__stat:nth-child(3) {
		padding-left: 0;
	}

	.section {
		padding: 48px 0;
	}

	.section-head {
		align-items: flex-start;
	}

	.match-filter {
		align-items: flex-start;
		flex-direction: column;
	}

	.match-filter__leagues {
		width: 100%;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 4px;
		scrollbar-width: none;
	}

	.match-filter__leagues::-webkit-scrollbar {
		display: none;
	}

	.chip {
		flex: none;
	}

	.match-row {
		grid-template-columns: 48px 84px minmax(0, 1fr) 52px;
		gap: 8px;
		min-height: 64px;
		padding: 9px 12px;
	}

	.match-row__state {
		display: none;
	}

	.match-row__action {
		font-size: 0;
	}

	.match-row__action .icon {
		width: 18px;
		height: 18px;
	}

	.match-row__league small {
		display: none;
	}

	.match-row__name {
		font-size: 12px;
	}

	.match-row__score {
		font-size: 17px;
	}

	.match-row__team {
		gap: 6px;
	}

	.match-row .crest {
		--crest-size: 28px !important;
	}

	.match-board__head {
		padding: 12px 12px;
	}

	.match-list--panel .match-row {
		grid-template-columns: 44px 72px minmax(0, 1fr) 46px;
	}

	.match-hero__board {
		grid-template-columns: 1fr auto 1fr;
		gap: 6px;
		padding: 18px 0 14px;
	}

	.match-hero__team .crest {
		--crest-size: 72px !important;
	}

	.match-hero__name {
		font-size: 14px;
	}

	.match-hero__score {
		font-size: 40px;
	}

	.match-hero__score--vs {
		font-size: 26px;
	}

	.match-hero__actions {
		flex-direction: column;
		width: 100%;
	}

	.match-hero__actions .btn {
		min-height: 34px;
		font-size: 11px;
		padding: 0 12px;
	}

	.match-hero__center {
		min-width: 96px;
	}

	.match-hero__kickoff {
		flex-wrap: wrap;
		justify-content: center;
		font-size: 9.5px;
	}

	.match-hero__meta {
		gap: 6px 12px;
		font-size: 9.5px;
		padding-top: 12px;
	}

	.match-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.match-layout__side,
	.archive-layout__side,
	.league-layout__side,
	.team-layout__side,
	.replay-layout__side,
	.article-layout__side {
		grid-template-columns: minmax(0, 1fr);
	}

	.home-split__side {
		display: flex;
	}

	.related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.league-hero__inner,
	.team-hero__inner {
		flex-wrap: wrap;
	}

	.league-hero__actions {
		margin-left: 0;
		width: 100%;
	}

	.league-hero__badge {
		width: 66px;
		height: 66px;
		border-radius: 18px;
		font-size: 16px;
	}

	.team-hero__record {
		width: 100%;
		margin-left: 0;
		justify-content: space-between;
		gap: 8px;
	}

	.league-subnav {
		top: var(--header-h);
	}

	.league-subnav .container {
		overflow-x: auto;
		gap: 18px;
	}

	.page-hero__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.page-hero .search-form {
		width: 100%;
	}

	.page-hero {
		padding: 28px 0 24px;
	}

	.cta-band__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer__brand {
		grid-column: 1 / -1;
	}

	.footer__col:last-child {
		grid-column: 1 / -1;
	}

	.footer__legal {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.site-footer {
		padding-bottom: 60px;
	}

	.mobile-nav {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 120;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--line-strong);
		background: rgba(6, 11, 8, 0.96);
		backdrop-filter: blur(16px);
	}

	.mobile-nav__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		border: 0;
		background: transparent;
		color: var(--muted-2);
		font-size: 9px;
		padding: 5px 0;
	}

	.mobile-nav__item.is-active {
		color: var(--accent);
	}

	.search-overlay {
		padding: 12px;
		align-items: flex-start;
	}

	.search-overlay__panel {
		max-height: 86vh;
		padding: 16px;
	}

	.search-page-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.article {
		padding: 18px;
	}

	.post-nav {
		grid-template-columns: 1fr;
	}

	.league-card {
		padding: 13px;
	}

	.league-card__badge {
		width: 40px;
		height: 40px;
		border-radius: 11px;
		font-size: 11px;
	}

	.score-ticker__inner {
		gap: 8px;
	}
}

@media (max-width: 560px) {
	.container {
		padding: 0 14px;
	}

	.topbar__left .weather {
		display: none;
	}

	.topbar__date i {
		display: none;
	}

	.brand__mark {
		width: 38px;
		height: 38px;
	}

	.brand__text strong {
		font-size: 18px;
	}

	.header-actions {
		gap: 6px;
	}

	.icon-btn {
		width: 36px;
		height: 36px;
	}

	.hero__intro h1 {
		font-size: 31px;
	}

	.hero__links .btn {
		flex: 1;
	}

	.feature {
		padding: 16px;
		min-height: 320px;
		border-radius: 18px;
	}

	.feature__teams {
		padding-top: 14px;
	}

	.feature__team .crest {
		--crest-size: 60px !important;
	}

	.feature__team strong {
		font-size: 13px;
	}

	.feature__score {
		font-size: 36px;
	}

	.feature__actions {
		flex-wrap: wrap;
	}

	.feature__actions .btn--ghost {
		display: none;
	}

	.hero__stat {
		padding: 12px 10px;
	}

	.hero__stat strong {
		font-size: 20px;
	}

	.hero__stat span {
		font-size: 9.5px;
	}

	.section-head__title {
		font-size: 23px;
	}

	.section-head__more {
		font-size: 10.5px;
	}

	.date-pills {
		width: 100%;
		justify-content: space-between;
	}

	.date-pill {
		flex: 1;
		justify-content: center;
		padding: 7px 8px;
	}

	.date-picker {
		width: 100%;
	}

	.date-picker input {
		flex: 1;
		width: auto;
	}

	.match-filter__dates {
		width: 100%;
	}

	.match-row {
		grid-template-columns: 40px minmax(0, 1fr) 44px;
		grid-template-areas:
			"time fixture action"
			"league fixture action";
		row-gap: 2px;
		padding: 9px 10px;
	}

	.match-row__time {
		grid-area: time;
	}

	.match-row__time small {
		display: none;
	}

	.match-row__league {
		grid-area: league;
	}

	.match-row__league .league-badge {
		font-size: 8.5px;
		padding: 2px 5px;
	}

	.match-row__fixture {
		grid-area: fixture;
		grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
		gap: 5px;
	}

	.match-row__action {
		grid-area: action;
		justify-content: flex-end;
	}

	.match-row__name {
		font-size: 11.5px;
	}

	.match-row .crest {
		--crest-size: 24px !important;
	}

	.match-row__score {
		font-size: 15px;
	}

	.match-board__nav [data-list-today] {
		display: none;
	}

	.match-board__foot .btn {
		width: 100%;
	}

	.news-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.news-card--lead {
		display: flex;
		grid-column: auto;
	}

	.news-card--lead .news-card__media {
		flex: none;
		height: auto;
	}

	.news-card--lead .thumb {
		height: auto;
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.news-card--lead .news-card__title {
		font-size: 18px;
	}

	.replay-grid,
	.league-grid,
	.related-grid,
	.replay-grid--3,
	.search-page-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.standings__optional {
		display: none;
	}

	.standings__team span {
		max-width: 92px;
	}

	.match-hero__board {
		grid-template-columns: 1fr auto 1fr;
	}

	.match-hero__team .crest {
		--crest-size: 58px !important;
	}

	.match-hero__score {
		font-size: 32px;
	}

	.match-hero__name {
		font-size: 12.5px;
	}

	.match-hero__team > span {
		font-size: 8px;
	}

	.match-hero__statusline .status {
		font-size: 8.5px;
	}

	.match-hero__actions {
		display: none;
	}

	.match-hero__meta {
		justify-content: flex-start;
	}

	.player__overlay {
		padding: 14px;
	}

	.player__title {
		font-size: 18px;
	}

	.player__desc {
		font-size: 10.5px;
	}

	.player__play-btn {
		width: 56px;
		height: 56px;
	}

	.player__bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.player__external {
		display: none;
	}

	.match-facts {
		grid-template-columns: minmax(0, 1fr);
	}

	.league-hero__inner {
		gap: 14px;
	}

	.league-hero__text h1 {
		font-size: 28px;
	}

	.league-hero__actions .btn {
		flex: 1;
	}

	.team-hero__crest .crest {
		--crest-size: 76px !important;
	}

	.team-hero__record {
		gap: 4px;
		padding: 10px;
	}

	.team-hero__record strong {
		font-size: 16px;
	}

	.article__title {
		font-size: 24px;
	}

	.article__meta {
		gap: 10px;
	}

	.article__foot {
		align-items: flex-start;
		flex-direction: column;
	}

	.filter-bar {
		align-items: flex-start;
		flex-direction: column;
	}

	.footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.footer__col:last-child {
		grid-column: auto;
	}

	.notfound__mark {
		font-size: 64px;
	}

	.notfound__actions {
		flex-direction: column;
		width: 100%;
	}

	.notfound__actions .btn {
		width: 100%;
	}

	.cta-band__actions {
		width: 100%;
		flex-direction: column;
	}

	.cta-band__actions .btn {
		width: 100%;
	}

	.pagination .prev span,
	.pagination .next span {
		display: none;
	}
}


/* Layout fix: multi-panel sticky sidebars overlap while scrolling. */
.match-layout__side .side-panel--sticky,
.article-layout__side .side-panel--sticky,
.replay-layout__side .side-panel--sticky {
	position: static;
	inset-block-start: auto;
}
/* SEO copy block */
.seo-copy {
	padding-block: clamp(56px, 7vw, 88px);
	border-top: 1px solid var(--line);
	background:
		radial-gradient(ellipse at 12% 0%, rgba(198, 249, 78, 0.06), transparent 55%),
		var(--bg);
}

.seo-copy__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
	gap: clamp(32px, 5vw, 72px);
}

.seo-copy__kicker {
	display: block;
	margin-bottom: 10px;
	color: var(--accent);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.seo-copy h2 {
	margin: 0 0 14px;
	font-size: clamp(1.35rem, 2.2vw, 1.85rem);
	line-height: 1.25;
}

.seo-copy p {
	max-width: 68ch;
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.85;
}

.seo-copy__side h2 {
	margin-top: 0;
	font-size: 0.95rem;
}

.seo-copy__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 26px;
}

.seo-copy__links a {
	padding: 7px 11px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--text);
	font-size: 0.8rem;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.seo-copy__links a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.team-hero__desc {
	max-width: 58ch;
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.75;
}

@media (max-width: 860px) {
	.seo-copy__inner {
		grid-template-columns: 1fr;
	}
}
/* Make the whole featured card a real click target. */
.feature {
	position: relative;
}

.feature__stretched {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.feature__stretched:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: -3px;
}

.feature__glow {
	pointer-events: none;
}

.feature a:not(.feature__stretched),
.feature button {
	position: relative;
	z-index: 2;
}

.player__overlay {
	cursor: pointer;
}

.player__overlay a,
.player__overlay button {
	cursor: pointer;
}
/* Match cover poster (replaces embedded video) */
.match-player {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #0a0f0c;
	--cover-image: linear-gradient(transparent, transparent);
}

.match-cover {
	position: relative;
	isolation: isolate;
	display: flex;
	aspect-ratio: 16 / 9;
	min-height: 380px;
	overflow: hidden;
	color: #fff;
	background: #0a0f0c;
}

.match-cover__bg {
	position: absolute;
	inset: 0;
	z-index: -3;
	background: linear-gradient(112deg, var(--cover-left) 0 49.9%, var(--cover-right) 50.1% 100%);
}

.match-cover__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(180deg, rgba(5, 8, 6, 0.12), rgba(5, 8, 6, 0.78)),
		var(--cover-image, none);
	background-size: cover;
	background-position: center;
	opacity: 0.9;
}

.match-cover__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.6), transparent 62%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 45%, rgba(0, 0, 0, 0.45));
}

.match-cover__halftone {
	position: absolute;
	inset: 0;
	z-index: -2;
	opacity: 0.28;
	background-image:
		radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.9) 1px, transparent 1.6px),
		radial-gradient(circle at 5px 5px, rgba(0, 0, 0, 0.45) 1px, transparent 1.7px);
	background-size: 11px 11px, 17px 17px;
	mix-blend-mode: overlay;
	pointer-events: none;
}

.match-cover__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	padding: clamp(16px, 3vw, 30px);
}

.match-cover__top,
.match-cover__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.match-cover__league {
	padding: 6px 10px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.42);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	backdrop-filter: blur(8px);
}

.match-cover .status {
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.46);
	backdrop-filter: blur(8px);
}

.match-cover__center {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: clamp(12px, 3vw, 34px);
	padding-block: 8px;
}

.match-cover__team {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	min-width: 0;
	text-align: center;
}

.match-cover__team .crest {
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.36));
}

.match-cover__team strong {
	max-width: 100%;
	overflow: hidden;
	color: #fff;
	font-size: clamp(0.92rem, 1.8vw, 1.25rem);
	font-weight: 900;
	line-height: 1.2;
	text-overflow: ellipsis;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
	white-space: nowrap;
}

.match-cover__team small {
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
}

.match-cover__middle {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 118px;
	text-align: center;
}

.match-cover__date,
.match-cover__time {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.match-cover__score {
	color: #fff;
	font-size: clamp(3rem, 7vw, 5.2rem);
	font-weight: 950;
	line-height: 0.95;
	letter-spacing: -0.06em;
	text-shadow: 0 5px 26px rgba(0, 0, 0, 0.5);
}

.match-cover__score i {
	margin-inline: 4px;
	font-style: normal;
	opacity: 0.65;
}

.match-cover__score.is-vs {
	font-size: clamp(2.5rem, 6vw, 4.2rem);
	letter-spacing: -0.02em;
}

.match-cover__minute {
	margin-top: 5px;
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 800;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.match-cover__bottom {
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.match-cover__bottom > div:first-child {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.match-cover__bottom strong {
	color: #fff;
	font-size: 0.9rem;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.match-cover__bottom span {
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.78rem;
}

.match-cover__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.match-cover__actions .btn--ghost {
	border-color: rgba(255, 255, 255, 0.28);
	background: rgba(0, 0, 0, 0.3);
	color: #fff;
}

@media (max-width: 720px) {
	.match-cover {
		aspect-ratio: auto;
		min-height: 470px;
	}

	.match-cover__center {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		gap: 8px;
	}

	.match-cover__team .crest {
		--crest-size: 62px !important;
	}

	.match-cover__bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.match-cover__actions {
		justify-content: flex-start;
	}
}