:root {
	--xl-bg: #070b0e;
	--xl-bg-soft: #0b1116;
	--xl-surface: #10171d;
	--xl-surface-2: #151e25;
	--xl-surface-3: #1b2730;
	--xl-text: #f5f8fa;
	--xl-muted: #93a2ad;
	--xl-subtle: #7b8993;
	--xl-line: rgba(255, 255, 255, 0.09);
	--xl-line-strong: rgba(255, 255, 255, 0.15);
	--xl-green: #42ef82;
	--xl-green-dark: #18b95b;
	--xl-cyan: #31c9dc;
	--xl-amber: #ffbd4a;
	--xl-red: #ff5364;
	--xl-radius: 18px;
	--xl-radius-sm: 12px;
	--xl-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
	--xl-shell: 1240px;
	--xl-header-height: 78px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--xl-header-height) + 24px);
}

body {
	margin: 0;
	background: var(--xl-bg);
	color: var(--xl-text);
	font-family: "Barlow", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.menu-is-open {
	overflow: hidden;
}

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

button,
a {
	-webkit-tap-highlight-color: transparent;
}

button {
	color: inherit;
}

a {
	color: inherit;
	text-decoration: none;
}

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

[hidden] {
	display: none !important;
}

::selection {
	background: var(--xl-green);
	color: #041009;
}

:focus-visible {
	outline: 3px solid var(--xl-cyan);
	outline-offset: 3px;
}

.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;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	border-radius: 8px;
	background: #fff;
	color: #111;
	font-weight: 800;
}

.site-shell {
	width: min(calc(100% - 40px), var(--xl-shell));
	margin-inline: auto;
}

.site-frame {
	min-height: 70vh;
	padding-top: var(--xl-header-height);
	overflow: hidden;
}

.site-main {
	display: block;
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1000;
	border-bottom: 1px solid transparent;
	background: rgba(7, 11, 14, 0.87);
	backdrop-filter: blur(18px);
	transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.site-header.is-scrolled {
	border-color: var(--xl-line);
	background: rgba(7, 11, 14, 0.96);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: var(--xl-header-height);
}

.site-branding {
	flex: 0 0 auto;
	min-width: 178px;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	width: auto;
	max-width: 210px;
	max-height: 52px;
}

.brand-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: var(--xl-text);
}

.brand-wordmark__ball {
	position: relative;
	width: 37px;
	height: 37px;
	flex: 0 0 37px;
	border: 3px solid var(--xl-bg);
	border-radius: 50%;
	background: var(--xl-green);
	box-shadow: 0 0 0 2px var(--xl-green), 0 0 26px rgba(66, 239, 130, 0.28);
	transform: rotate(-12deg);
}

.brand-wordmark__ball::before,
.brand-wordmark__ball::after {
	position: absolute;
	content: "";
	border: 2px solid rgba(4, 16, 9, 0.7);
	border-radius: 50%;
}

.brand-wordmark__ball::before {
	inset: 7px;
}

.brand-wordmark__ball::after {
	top: 2px;
	bottom: 2px;
	left: 15px;
	width: 5px;
	border-top-color: transparent;
	border-bottom-color: transparent;
}

.brand-wordmark__text {
	display: grid;
	line-height: 1;
}

.brand-wordmark__name {
	max-width: 185px;
	overflow: hidden;
	color: #fff;
	font-family: "Barlow", Arial, sans-serif;
	font-size: 1.13rem;
	font-weight: 900;
	letter-spacing: 0.055em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.brand-wordmark__tagline {
	margin-top: 6px;
	color: var(--xl-green);
	font-size: 0.59rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.site-navigation {
	min-width: 0;
	margin-left: auto;
}

.site-menu,
.site-menu ul,
.footer-menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.site-menu > li {
	position: relative;
}

.site-menu a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 13px;
	border-radius: 9px;
	color: #b6c1c8;
	font-size: 0.86rem;
	font-weight: 720;
	white-space: nowrap;
	transition: color 160ms ease, background 160ms ease;
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu .current-menu-item > a,
.site-menu .current_page_item > a {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.site-menu .current-menu-item > a::after,
.site-menu .current_page_item > a::after {
	position: absolute;
	right: 13px;
	bottom: 5px;
	left: 13px;
	height: 2px;
	border-radius: 2px;
	background: var(--xl-green);
	content: "";
}

.site-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	width: 220px;
	padding: 8px;
	border: 1px solid var(--xl-line);
	border-radius: 12px;
	background: #11191f;
	box-shadow: var(--xl-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 150ms ease, visibility 150ms ease, transform 150ms ease;
}

.site-menu li:hover > .sub-menu,
.site-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.header-cta,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 0.84rem;
	font-weight: 850;
	letter-spacing: 0.01em;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-cta,
.button--primary {
	background: linear-gradient(135deg, var(--xl-green), #72f09d);
	box-shadow: 0 8px 24px rgba(66, 239, 130, 0.2);
	color: #041009;
}

.header-cta:hover,
.button--primary:hover {
	box-shadow: 0 11px 32px rgba(66, 239, 130, 0.3);
	transform: translateY(-2px);
}

.header-cta__dot,
.status-pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #07140c;
	box-shadow: 0 0 0 4px rgba(7, 20, 12, 0.13);
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 1px solid var(--xl-line);
	border-radius: 10px;
	background: var(--xl-surface);
	cursor: pointer;
}

.menu-toggle__line {
	display: block;
	width: 21px;
	height: 2px;
	margin: 4px auto;
	border-radius: 2px;
	background: #fff;
	transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* Home introduction */
.home-main {
	background:
		radial-gradient(circle at 12% 7%, rgba(49, 201, 220, 0.08), transparent 28rem),
		radial-gradient(circle at 86% 4%, rgba(66, 239, 130, 0.08), transparent 24rem),
		var(--xl-bg);
}

.home-intro {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 48px;
	padding-top: 56px;
	padding-bottom: 36px;
}

.home-intro::before {
	position: absolute;
	top: 18px;
	right: 24%;
	width: 280px;
	height: 130px;
	border: 1px solid rgba(255, 255, 255, 0.035);
	border-radius: 50%;
	content: "";
	transform: rotate(-12deg);
}

.live-kicker,
.section-kicker,
.eyebrow {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 10px;
	color: var(--xl-green);
	font-size: 0.7rem;
	font-weight: 850;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.live-kicker > span,
.section-kicker > span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 5px rgba(66, 239, 130, 0.11), 0 0 16px rgba(66, 239, 130, 0.6);
}

.home-intro h1,
.page-hero h1,
.entry-title,
.not-found-panel h1,
.match-detail__header h1 {
	margin: 0;
	font-family: "Barlow", Arial, sans-serif;
	font-size: clamp(2.75rem, 6vw, 5.5rem);
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 0.96;
	text-transform: uppercase;
}

.home-intro__copy > p:last-child {
	max-width: 670px;
	margin: 20px 0 0;
	color: var(--xl-muted);
	font-size: 1.02rem;
}

.home-intro__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(120px, 1fr));
	border: 1px solid var(--xl-line);
	border-radius: 16px;
	background: rgba(16, 23, 29, 0.72);
	box-shadow: var(--xl-shadow);
	backdrop-filter: blur(10px);
}

.hero-stat {
	display: grid;
	gap: 2px;
	min-width: 138px;
	padding: 17px 20px;
}

.hero-stat + .hero-stat {
	border-left: 1px solid var(--xl-line);
}

.hero-stat__value {
	font-family: "Barlow", Arial, sans-serif;
	font-size: 2rem;
	font-weight: 900;
	line-height: 1;
}

.hero-stat--live .hero-stat__value {
	color: var(--xl-green);
}

.hero-stat__label {
	color: var(--xl-muted);
	font-size: 0.72rem;
	font-weight: 700;
}

/* Editable banners */
.ad-band {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	padding-bottom: 40px;
}

.ad-slot {
	position: relative;
	min-height: 112px;
	overflow: hidden;
	border: 1px solid var(--xl-line);
	border-radius: var(--xl-radius-sm);
	background: var(--xl-surface);
}

.ad-slot a,
.ad-slot__image {
	display: block;
	width: 100%;
	height: 100%;
}

.ad-slot__image {
	position: absolute;
	inset: 0;
	object-fit: cover;
}

.ad-slot__fallback {
	position: relative;
	z-index: 1;
	display: flex;
	min-height: 112px;
	flex-direction: column;
	justify-content: center;
	padding: 22px 100px 22px 24px;
	background:
		linear-gradient(115deg, rgba(49, 201, 220, 0.16), transparent 55%),
		repeating-linear-gradient(-60deg, transparent 0 18px, rgba(255, 255, 255, 0.017) 18px 19px);
}

.ad-slot--2 .ad-slot__fallback {
	background:
		linear-gradient(115deg, rgba(66, 239, 130, 0.14), transparent 55%),
		repeating-linear-gradient(-60deg, transparent 0 18px, rgba(255, 255, 255, 0.017) 18px 19px);
}

.ad-slot__eyebrow {
	color: var(--xl-cyan);
	font-size: 0.65rem;
	font-weight: 850;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.ad-slot--2 .ad-slot__eyebrow {
	color: var(--xl-green);
}

.ad-slot__fallback strong {
	margin-top: 5px;
	font-family: "Barlow", Arial, sans-serif;
	font-size: clamp(1.2rem, 2.2vw, 1.65rem);
	line-height: 1.15;
	text-transform: uppercase;
}

.ad-slot__shape {
	position: absolute;
	top: 50%;
	right: 30px;
	width: 56px;
	height: 56px;
	border: 3px solid rgba(49, 201, 220, 0.6);
	border-radius: 50%;
	transform: translateY(-50%);
}

.ad-slot__shape::before,
.ad-slot__shape::after {
	position: absolute;
	content: "";
}

.ad-slot__shape::before {
	inset: 9px;
	border: 2px solid rgba(255, 255, 255, 0.23);
	border-radius: 50%;
}

.ad-slot__shape::after {
	top: -12px;
	right: -12px;
	width: 30px;
	height: 30px;
	border-top: 2px solid var(--xl-green);
	border-right: 2px solid var(--xl-green);
}

/* Featured ticker */
.featured-strip {
	padding: 32px 0 36px;
	border-top: 1px solid var(--xl-line);
	border-bottom: 1px solid var(--xl-line);
	background: var(--xl-bg-soft);
}

.featured-strip__header,
.section-heading--split {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
}

.featured-strip h2,
.section-heading h2 {
	margin: 0;
	font-family: "Barlow", Arial, sans-serif;
	font-size: clamp(1.75rem, 3vw, 2.65rem);
	font-weight: 900;
	letter-spacing: -0.015em;
	line-height: 1;
	text-transform: uppercase;
}

.ticker-controls {
	display: flex;
	gap: 8px;
}

.ticker-button {
	width: 39px;
	height: 39px;
	border: 1px solid var(--xl-line-strong);
	border-radius: 9px;
	background: var(--xl-surface);
	cursor: pointer;
	transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ticker-button:hover {
	border-color: var(--xl-green);
	color: var(--xl-green);
	transform: translateY(-1px);
}

.featured-ticker {
	display: grid;
	grid-auto-columns: minmax(310px, 0.31fr);
	grid-auto-flow: column;
	gap: 12px;
	margin-top: 21px;
	padding: 2px 2px 10px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-color: var(--xl-surface-3) transparent;
	scrollbar-width: thin;
	scroll-snap-type: inline proximity;
}

.featured-match {
	display: block;
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--xl-line);
	border-radius: var(--xl-radius-sm);
	background: linear-gradient(145deg, rgba(27, 39, 48, 0.8), rgba(16, 23, 29, 0.96));
	scroll-snap-align: start;
	transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.featured-match:hover {
	border-color: rgba(66, 239, 130, 0.45);
	background: linear-gradient(145deg, rgba(30, 47, 54, 0.9), rgba(17, 27, 33, 1));
	transform: translateY(-3px);
}

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

.featured-match__league {
	max-width: 160px;
	overflow: hidden;
	color: var(--xl-muted);
	font-size: 0.67rem;
	font-weight: 750;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.match-status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex: 0 0 auto;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(147, 162, 173, 0.1);
	color: var(--xl-muted);
	font-size: 0.59rem;
	font-weight: 850;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
}

.match-status--live {
	background: rgba(255, 83, 100, 0.14);
	color: #ff7180;
}

.match-status--live::before {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 3px rgba(255, 83, 100, 0.12);
	content: "";
	animation: status-pulse 1.6s ease-in-out infinite;
}

.match-status--finished {
	background: rgba(49, 201, 220, 0.1);
	color: var(--xl-cyan);
}

.match-status--postponed {
	background: rgba(255, 189, 74, 0.11);
	color: var(--xl-amber);
}

@keyframes status-pulse {
	50% { opacity: 0.45; transform: scale(0.76); }
}

.featured-match__teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
	align-items: center;
	gap: 7px;
	margin-top: 16px;
}

.featured-team {
	display: grid;
	justify-items: center;
	gap: 7px;
	min-width: 0;
	text-align: center;
}

.featured-team > span:last-child {
	width: 100%;
	overflow: hidden;
	font-size: 0.73rem;
	font-weight: 750;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.featured-match__score {
	display: grid;
	justify-items: center;
	line-height: 1.15;
}

.featured-match__score strong {
	font-family: "Barlow", Arial, sans-serif;
	font-size: 1.28rem;
}

.featured-match__score span {
	margin-top: 3px;
	color: var(--xl-subtle);
	font-size: 0.6rem;
	font-weight: 700;
	text-transform: uppercase;
}

.team-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	border-radius: 50%;
	object-fit: contain;
}

.team-mark--ticker {
	width: 36px;
	height: 36px;
}

.team-mark--card {
	width: 48px;
	height: 48px;
}

.team-mark--detail {
	width: 84px;
	height: 84px;
}

.team-mark--fallback {
	border: 1px solid rgba(255, 255, 255, 0.12);
	background:
		radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.16), transparent 32%),
		linear-gradient(145deg, var(--xl-surface-3), #0e171c);
	box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.025);
	color: var(--xl-green);
	font-family: "Barlow", Arial, sans-serif;
	font-weight: 900;
}

.ticker-empty {
	margin-top: 21px;
	padding: 22px;
	border: 1px dashed var(--xl-line-strong);
	border-radius: var(--xl-radius-sm);
	color: var(--xl-muted);
	text-align: center;
}

/* League showcase */
.league-showcase {
	padding-top: 18px;
	padding-bottom: 54px;
}

.league-showcase .section-heading h2 {
	font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.league-showcase__all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 13px;
	border: 1px solid var(--xl-line);
	border-radius: 8px;
	background: var(--xl-surface-3);
	color: #e8eef1;
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.league-showcase__all span {
	font-size: 1.35rem;
	line-height: 0.8;
}

.league-showcase__all:hover {
	border-color: rgba(66, 239, 130, 0.48);
	color: var(--xl-green);
	transform: translateY(-1px);
}

.league-showcase__scroller {
	display: flex;
	gap: clamp(14px, 2.2vw, 34px);
	margin-top: 22px;
	padding: 4px 3px 13px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-color: var(--xl-surface-3) transparent;
	scrollbar-width: thin;
	scroll-snap-type: inline proximity;
}

.league-card {
	display: grid;
	flex: 1 0 96px;
	max-width: 148px;
	place-items: center;
	gap: 9px;
	min-width: 0;
	padding: 7px 4px;
	border-radius: 13px;
	scroll-snap-align: start;
	transition: background 160ms ease, transform 160ms ease;
}

.league-card:hover,
.league-card:focus-visible {
	background: rgba(255, 255, 255, 0.04);
	transform: translateY(-3px);
}

.league-card__visual {
	display: grid;
	width: clamp(82px, 8vw, 118px);
	height: clamp(82px, 8vw, 118px);
	place-items: center;
}

.league-card__logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.league-card__lettermark {
	display: grid;
	width: 82%;
	height: 82%;
	place-items: center;
	border: 2px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background:
		radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.18), transparent 28%),
		linear-gradient(145deg, rgba(49, 201, 220, 0.2), rgba(66, 239, 130, 0.09));
	box-shadow: inset 0 0 0 5px rgba(7, 11, 14, 0.38), 0 12px 30px rgba(0, 0, 0, 0.2);
	color: #fff;
	font-family: "Barlow", Arial, sans-serif;
	font-size: clamp(1.45rem, 3vw, 2.2rem);
	font-weight: 900;
	letter-spacing: -0.04em;
}

.league-card__name {
	width: 100%;
	overflow: hidden;
	color: #bfc9ce;
	font-size: 0.67rem;
	font-weight: 760;
	line-height: 1.25;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Match centre */
.match-centre,
.news-section {
	padding-top: 62px;
	padding-bottom: 16px;
}

.match-result-summary {
	margin: 0;
	color: var(--xl-muted);
	font-size: 0.77rem;
	font-weight: 750;
}

.sport-tabs {
	display: flex;
	gap: 8px;
	margin-top: 28px;
	padding: 6px;
	overflow-x: auto;
	border: 1px solid var(--xl-line);
	border-radius: 13px;
	background: var(--xl-surface);
	scrollbar-width: none;
}

.sport-tabs::-webkit-scrollbar,
.filter-pills::-webkit-scrollbar {
	display: none;
}

.sport-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: max-content;
	min-height: 44px;
	padding: 9px 16px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: var(--xl-muted);
	font-size: 0.78rem;
	font-weight: 760;
	cursor: pointer;
	transition: color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.sport-tab:hover {
	color: #fff;
}

.sport-tab.is-active {
	background: var(--xl-green);
	box-shadow: 0 8px 22px rgba(66, 239, 130, 0.15);
	color: #05130b;
}

.sport-icon {
	position: relative;
	display: inline-block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	opacity: 0.88;
}

.sport-icon::before,
.sport-icon::after {
	position: absolute;
	content: "";
}

.sport-icon::before {
	inset: 4px;
	border: 1px solid currentColor;
	border-radius: 50%;
}

.sport-icon::after {
	top: 7px;
	left: 1px;
	width: 14px;
	border-top: 1px solid currentColor;
	transform: rotate(-28deg);
}

.sport-icon--all {
	border: 0;
	border-radius: 4px;
	box-shadow: inset 0 0 0 1.5px currentColor;
}

.sport-icon--all::before {
	inset: 4px;
	border-radius: 2px;
}

.sport-icon--all::after {
	top: 8px;
	left: 2px;
}

.sport-icon--tennis::before,
.sport-icon--badminton::before {
	top: -1px;
	right: 6px;
	bottom: -1px;
	left: 6px;
	border-top: 0;
	border-bottom: 0;
}

.sport-icon--basketball::after {
	top: 1px;
	left: 7px;
	width: 1px;
	height: 14px;
	border-top: 0;
	border-left: 1px solid currentColor;
	transform: rotate(34deg);
}

.sport-icon--esports {
	border-radius: 6px 6px 8px 8px;
}

.sport-icon--esports::before {
	inset: auto;
	top: 8px;
	left: 3px;
	width: 6px;
	border: 0;
	border-top: 1px solid currentColor;
}

.sport-icon--esports::after {
	top: 5px;
	left: 6px;
	width: 1px;
	height: 7px;
	border: 0;
	border-left: 1px solid currentColor;
	transform: none;
}

.filter-pills {
	display: flex;
	gap: 8px;
	margin-top: 16px;
	padding-bottom: 2px;
	overflow-x: auto;
	scrollbar-width: none;
}

.filter-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-width: max-content;
	min-height: 38px;
	padding: 7px 15px;
	border: 1px solid var(--xl-line);
	border-radius: 999px;
	background: var(--xl-surface);
	color: var(--xl-muted);
	font-size: 0.73rem;
	font-weight: 750;
	cursor: pointer;
	transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.filter-pill:hover,
.filter-pill.is-active {
	border-color: rgba(66, 239, 130, 0.35);
	background: rgba(66, 239, 130, 0.09);
	color: var(--xl-green);
}

.filter-pill--live > span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--xl-red);
	box-shadow: 0 0 0 3px rgba(255, 83, 100, 0.12);
}

.match-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 22px;
}

.match-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--xl-line);
	border-radius: var(--xl-radius);
	background: linear-gradient(145deg, rgba(25, 36, 44, 0.96), rgba(14, 21, 26, 0.98));
	box-shadow: 0 16px 35px rgba(0, 0, 0, 0.14);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.match-card::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(49, 201, 220, 0.4), transparent);
	content: "";
}

.match-card--live::before {
	background: linear-gradient(90deg, transparent, var(--xl-red), transparent);
}

.match-card:hover {
	border-color: rgba(255, 255, 255, 0.16);
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.23);
	transform: translateY(-3px);
}

.match-card__header {
	padding: 14px 16px;
	border-bottom: 1px solid var(--xl-line);
	background: rgba(255, 255, 255, 0.015);
}

.match-card__competition {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: #c6d0d6;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.match-card__competition > span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.competition-logo {
	display: block;
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	object-fit: contain;
}

.competition-mark {
	position: relative;
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	border: 1px solid var(--xl-cyan);
	border-radius: 50%;
}

.competition-mark::before {
	position: absolute;
	inset: 4px;
	border: 1px solid var(--xl-cyan);
	border-radius: 50%;
	content: "";
}

.match-card__time {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 8px;
	padding-top: 17px;
	line-height: 1;
}

.match-card__time strong {
	font-family: "Barlow", Arial, sans-serif;
	font-size: 1.2rem;
}

.match-card__time span {
	color: var(--xl-muted);
	font-size: 0.67rem;
	font-weight: 700;
	text-transform: uppercase;
}

.match-card__versus {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	min-height: 130px;
	padding: 15px 20px 20px;
}

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

.match-team--away {
	grid-template-columns: minmax(0, 1fr) 48px;
	text-align: right;
}

.match-team--away .team-mark {
	grid-column: 2;
	grid-row: 1;
}

.match-team strong {
	overflow: hidden;
	font-size: 0.82rem;
	font-weight: 780;
	line-height: 1.25;
	text-overflow: ellipsis;
}

.match-card__score {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 42px;
	padding: 5px 8px;
	border: 1px solid var(--xl-line);
	border-radius: 10px;
	background: rgba(7, 11, 14, 0.55);
	color: var(--xl-muted);
	font-size: 0.72rem;
	font-weight: 850;
}

.match-card__score strong {
	color: #fff;
	font-family: "Barlow", Arial, sans-serif;
	font-size: 1.45rem;
}

.match-card__odds {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0 16px 15px;
	overflow: hidden;
	border: 1px solid var(--xl-line);
	border-radius: 8px;
	background: var(--xl-line);
}

.match-card__odds span {
	padding: 7px 10px;
	background: rgba(7, 11, 14, 0.56);
	color: var(--xl-subtle);
	font-size: 0.64rem;
	text-align: center;
}

.match-card__odds strong {
	margin-left: 4px;
	color: var(--xl-amber);
}

.match-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border-top: 1px solid var(--xl-line);
	background: rgba(7, 11, 14, 0.35);
}

.commentator {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: var(--xl-muted);
	font-size: 0.68rem;
	font-weight: 700;
}

.commentator > span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.commentator__icon {
	position: relative;
	width: 17px;
	height: 13px;
	flex: 0 0 17px;
	border: 1.5px solid var(--xl-cyan);
	border-radius: 6px 6px 3px 3px;
}

.commentator__icon::before {
	position: absolute;
	top: -4px;
	left: 6px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--xl-cyan);
	content: "";
}

.match-card__action {
	flex: 0 0 auto;
	color: var(--xl-green);
	font-size: 0.7rem;
	font-weight: 850;
}

.match-card__action span,
.section-link span {
	display: inline-block;
	transition: transform 150ms ease;
}

.match-card__action:hover span,
.section-link:hover span {
	transform: translateX(3px);
}

.match-card__sponsor {
	display: block;
	padding: 6px 16px;
	border-top: 1px dashed var(--xl-line);
	background: rgba(255, 189, 74, 0.04);
	color: var(--xl-subtle);
	font-size: 0.59rem;
	text-align: center;
}

.match-card__sponsor:hover {
	color: var(--xl-amber);
}

.match-empty,
.empty-panel {
	display: none;
	padding: 50px 24px;
	border: 1px dashed var(--xl-line-strong);
	border-radius: var(--xl-radius);
	background: rgba(16, 23, 29, 0.55);
	color: var(--xl-muted);
	text-align: center;
}

.match-empty {
	margin-top: 22px;
}

.match-empty.is-visible,
.empty-panel {
	display: block;
}

.match-empty h3,
.empty-panel h2 {
	margin: 12px 0 4px;
	color: #fff;
	font-family: "Barlow", Arial, sans-serif;
	font-size: 1.4rem;
	text-transform: uppercase;
}

.match-empty p,
.empty-panel p {
	margin: 0;
}

.match-empty__icon,
.empty-panel__icon {
	position: relative;
	display: inline-block;
	width: 42px;
	height: 42px;
	border: 2px solid var(--xl-subtle);
	border-radius: 50%;
}

.match-empty__icon::before,
.empty-panel__icon::before {
	position: absolute;
	top: 19px;
	left: 8px;
	width: 22px;
	border-top: 2px solid var(--xl-subtle);
	content: "";
	transform: rotate(-35deg);
}

/* News */
.news-section {
	padding-bottom: 76px;
}

/* Home SEO introduction and SEO article reader */
.seo-introduction {
	padding-bottom: 86px;
}

.seo-introduction__heading {
	margin-bottom: 25px;
}

.seo-introduction__title {
	margin: 0;
	font-family: "Barlow", Arial, sans-serif;
	font-size: clamp(1.75rem, 3vw, 2.65rem);
	font-weight: 900;
	letter-spacing: -0.015em;
	line-height: 1;
	text-transform: uppercase;
}

.seo-reader {
	display: grid;
	grid-template-columns: minmax(250px, 32%) minmax(0, 1fr);
	min-height: 520px;
	overflow: hidden;
	border: 1px solid var(--xl-line);
	border-radius: 20px;
	background: #171f23;
	box-shadow: var(--xl-shadow);
}

.seo-reader__toc {
	max-height: 720px;
	padding: 22px 0;
	overflow-y: auto;
	border-right: 1px solid var(--xl-line);
	background: #20282c;
	scrollbar-color: var(--xl-surface-3) transparent;
	scrollbar-width: thin;
}

.seo-reader__toc ol {
	padding: 0;
	margin: 0;
	list-style: none;
}

.seo-reader__toc-item a {
	display: block;
	margin-inline: 16px;
	padding: 13px 17px;
	border-left: 3px solid transparent;
	border-radius: 10px;
	color: #d0d8dc;
	font-size: 0.8rem;
	font-weight: 690;
	line-height: 1.4;
	transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.seo-reader__toc-item--3 a {
	padding-left: 32px;
	color: var(--xl-muted);
	font-size: 0.75rem;
}

.seo-reader__toc-item a:hover,
.seo-reader__toc-item a:focus-visible {
	color: #fff;
}

.seo-reader__toc-item.is-active a {
	border-color: var(--xl-green);
	background: linear-gradient(90deg, rgba(66, 239, 130, 0.17), rgba(66, 239, 130, 0.035));
	color: var(--xl-green);
}

.seo-reader__article {
	max-height: 720px;
	padding: clamp(24px, 3.5vw, 42px);
	overflow-y: auto;
	background: #171d20;
	scrollbar-color: #92b5bf transparent;
	scrollbar-width: thin;
}

.seo-reader__article::-webkit-scrollbar,
.seo-reader__toc::-webkit-scrollbar {
	width: 7px;
}

.seo-reader__article::-webkit-scrollbar-thumb,
.seo-reader__toc::-webkit-scrollbar-thumb {
	border-radius: 8px;
	background: #79939c;
}

.seo-reader__title {
	margin: 0 0 18px;
	color: #fff;
	font-family: "Barlow", Arial, sans-serif;
	font-size: clamp(1.8rem, 3.5vw, 2.8rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.08;
}

.seo-reader__content h2,
.seo-reader__content h3 {
	scroll-margin-top: 18px;
}

.seo-reader__featured {
	margin: 24px 0 30px;
	overflow: hidden;
	border: 1px solid var(--xl-line);
	border-radius: 16px;
	background: var(--xl-surface);
}

.seo-reader__featured img {
	width: 100%;
	height: auto;
}

.seo-reader__featured figcaption {
	padding: 9px 13px;
	color: var(--xl-subtle);
	font-size: 0.7rem;
	text-align: center;
}

.seo-reader__visual-fallback {
	position: relative;
	display: grid;
	min-height: clamp(260px, 38vw, 430px);
	place-items: center;
	margin: 24px 0 30px;
	overflow: hidden;
	border: 1px solid rgba(66, 239, 130, 0.22);
	border-radius: 18px;
	background:
		radial-gradient(circle at 50% 47%, rgba(66, 239, 130, 0.2), transparent 33%),
		repeating-conic-gradient(from -4deg at 50% 50%, rgba(49, 201, 220, 0.07) 0deg 8deg, transparent 8deg 18deg),
		linear-gradient(145deg, #17392f, #0c1718 68%);
}

.seo-reader__visual-fallback::after {
	position: absolute;
	inset: auto 8% 8%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
	content: "";
}

.seo-reader__visual-ring {
	position: absolute;
	width: min(76%, 430px);
	aspect-ratio: 1;
	border: 2px solid rgba(66, 239, 130, 0.22);
	border-radius: 50%;
	box-shadow: 0 0 0 24px rgba(49, 201, 220, 0.025), 0 0 80px rgba(66, 239, 130, 0.11);
}

.seo-reader__visual-ball {
	position: relative;
	display: grid;
	width: clamp(120px, 22vw, 210px);
	aspect-ratio: 1;
	place-items: center;
	border: 8px solid #e4ffed;
	border-radius: 50%;
	background:
		radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.72), transparent 18%),
		linear-gradient(145deg, #69f39b, #25b967);
	box-shadow: 0 22px 45px rgba(0, 0, 0, 0.34), inset -16px -18px 25px rgba(5, 37, 20, 0.2);
}

.seo-reader__visual-ball::before,
.seo-reader__visual-ball::after,
.seo-reader__visual-ball > span {
	position: absolute;
	width: 28%;
	aspect-ratio: 1;
	background: #183629;
	clip-path: polygon(50% 0, 100% 38%, 81% 100%, 19% 100%, 0 38%);
	content: "";
}

.seo-reader__visual-ball::before {
	top: 8%;
	left: 7%;
	transform: rotate(-26deg) scale(0.68);
}

.seo-reader__visual-ball::after {
	right: 5%;
	bottom: 11%;
	transform: rotate(31deg) scale(0.72);
}

.seo-reader__visual-ball > span {
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
}

.seo-reader__visual-fallback strong {
	position: absolute;
	right: 20px;
	bottom: 15px;
	left: 20px;
	color: rgba(255, 255, 255, 0.72);
	font-family: "Barlow", Arial, sans-serif;
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.16em;
	text-align: center;
	text-transform: uppercase;
}

.seo-single__header {
	width: min(100%, 1040px);
	margin-inline: auto;
	padding-bottom: 30px;
}

.seo-reader--single {
	width: min(100%, 1120px);
	margin-inline: auto;
}

.seo-reader--single .seo-reader__toc {
	position: sticky;
	top: calc(var(--xl-header-height) + 20px);
	align-self: start;
	max-height: calc(100vh - var(--xl-header-height) - 40px);
}

.seo-reader--single .seo-reader__article {
	max-height: none;
	overflow: visible;
}

.seo-single .post-navigation-shell {
	width: min(100%, 1120px);
	margin-inline: auto;
}

.seo-protected {
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid var(--xl-line);
	border-radius: 18px;
	background: var(--xl-surface);
}

.section-link,
.text-link {
	color: var(--xl-green);
	font-size: 0.75rem;
	font-weight: 820;
}

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

.news-grid--archive {
	margin-top: 32px;
}

.news-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--xl-line);
	border-radius: var(--xl-radius);
	background: var(--xl-surface);
	transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.news-card:hover {
	border-color: rgba(49, 201, 220, 0.28);
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.21);
	transform: translateY(-4px);
}

.news-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--xl-surface-2);
}

.news-card__media::after {
	position: absolute;
	inset: auto 0 0;
	height: 50%;
	background: linear-gradient(transparent, rgba(7, 11, 14, 0.62));
	content: "";
	pointer-events: none;
}

.news-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.news-card:hover .news-card__media img {
	transform: scale(1.045);
}

.news-card__placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle at center, transparent 0 24%, rgba(49, 201, 220, 0.07) 25% 26%, transparent 27%),
		linear-gradient(135deg, rgba(49, 201, 220, 0.12), rgba(66, 239, 130, 0.035));
}

.news-card__placeholder > span {
	position: relative;
	width: 58px;
	height: 58px;
	border: 2px solid rgba(255, 255, 255, 0.17);
	border-radius: 50%;
}

.news-card__placeholder > span::before,
.news-card__placeholder > span::after {
	position: absolute;
	content: "";
}

.news-card__placeholder > span::before {
	inset: 12px;
	border: 2px solid rgba(66, 239, 130, 0.5);
	border-radius: 50%;
}

.news-card__placeholder > span::after {
	top: 26px;
	left: 5px;
	width: 44px;
	border-top: 2px solid rgba(255, 255, 255, 0.16);
	transform: rotate(-28deg);
}

.news-card__body {
	padding: 17px 18px 20px;
}

.news-card__meta,
.entry-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px 12px;
	color: var(--xl-subtle);
	font-size: 0.66rem;
	font-weight: 720;
	text-transform: uppercase;
}

.news-card__meta span + span::before {
	margin-right: 10px;
	color: var(--xl-green);
	content: "•";
}

.news-card__meta ul,
.news-card__meta li {
	display: inline;
	padding: 0;
	margin: 0;
	list-style: none;
}

.news-card__meta a:hover {
	color: var(--xl-green);
}

.news-card__title {
	margin: 9px 0 9px;
	font-family: "Barlow", Arial, sans-serif;
	font-size: 1.25rem;
	font-weight: 900;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.news-card__title a {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.news-card__title a:hover {
	color: var(--xl-green);
}

.news-card__body > p {
	display: -webkit-box;
	margin: 0 0 14px;
	overflow: hidden;
	color: var(--xl-muted);
	font-size: 0.82rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.empty-panel--inline {
	margin-top: 28px;
	padding: 28px;
}

/* Page and post content */
.content-layout {
	padding-top: 56px;
	padding-bottom: 80px;
}

.page-hero {
	padding: 30px 0 10px;
}

.page-hero--compact h1,
.entry-title,
.match-detail__header h1 {
	font-size: clamp(2.25rem, 5vw, 4.4rem);
}

.entry-shell,
.comments-area {
	width: min(100%, 900px);
	margin-inline: auto;
}

/* Match the manually edited odds page to the other sports-data page shells. */
.odds-editor-page .entry-shell,
.odds-editor-page .comments-area {
	width: 100%;
}

.odds-editor-page .entry-content,
.odds-editor-page .entry-content iframe {
	width: 100% !important;
	max-width: 100% !important;
}

.odds-editor-page .entry-content iframe {
	display: block;
	margin-inline: 0 !important;
	transform: none !important;
}

.entry-header {
	padding: 28px 0 32px;
}

.entry-taxonomy {
	margin-bottom: 12px;
	color: var(--xl-green);
	font-size: 0.7rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.entry-byline {
	margin-top: 17px;
}

.entry-featured-media {
	margin: 0 0 34px;
	overflow: hidden;
	border: 1px solid var(--xl-line);
	border-radius: var(--xl-radius);
	background: var(--xl-surface);
}

.entry-featured-media img {
	width: 100%;
}

.entry-featured-media figcaption {
	padding: 9px 14px;
	color: var(--xl-subtle);
	font-size: 0.7rem;
	text-align: center;
}

.entry-content {
	color: #c8d1d7;
	font-size: 1.01rem;
}

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

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 1.65em 0 0.55em;
	color: #fff;
	font-family: "Barlow", Arial, sans-serif;
	font-weight: 900;
	letter-spacing: -0.01em;
	line-height: 1.18;
}

.entry-content h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); }
.entry-content h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }

.entry-content a {
	color: var(--xl-green);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content blockquote {
	margin: 1.8em 0;
	padding: 15px 20px;
	border-left: 3px solid var(--xl-green);
	background: rgba(66, 239, 130, 0.06);
	color: #edf5f0;
}

.entry-content pre,
.entry-content code {
	border-radius: 5px;
	background: #020405;
	color: #dfe9e4;
}

.entry-content code {
	padding: 2px 5px;
}

.entry-content pre {
	padding: 18px;
	overflow: auto;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.post-password-form p:last-child {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 9px;
}

.post-password-form label {
	display: grid;
	gap: 5px;
	color: var(--xl-muted);
	font-size: 0.73rem;
}

.post-password-form input[type="password"] {
	min-height: 43px;
	padding: 8px 11px;
	border: 1px solid var(--xl-line-strong);
	border-radius: 9px;
	background: var(--xl-bg-soft);
	color: #fff;
}

.post-password-form input[type="submit"] {
	min-height: 43px;
	padding: 8px 15px;
	border: 0;
	border-radius: 9px;
	background: var(--xl-green);
	color: #041009;
	font-weight: 850;
	cursor: pointer;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border: 1px solid var(--xl-line-strong);
	text-align: left;
}

.entry-content th {
	background: var(--xl-surface-2);
	color: #fff;
}

.entry-content .alignwide {
	width: min(1100px, calc(100vw - 40px));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-footer {
	margin-top: 32px;
	padding-top: 18px;
	border-top: 1px solid var(--xl-line);
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	font-size: 0.73rem;
}

.tag-list > span {
	color: var(--xl-muted);
}

.tag-list a {
	padding: 4px 9px;
	border: 1px solid var(--xl-line);
	border-radius: 999px;
	background: var(--xl-surface);
}

.post-navigation-shell,
.comments-area {
	width: min(100%, 900px);
	margin-top: 48px;
	margin-inline: auto;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.post-navigation a {
	display: grid;
	gap: 5px;
	height: 100%;
	padding: 17px;
	border: 1px solid var(--xl-line);
	border-radius: var(--xl-radius-sm);
	background: var(--xl-surface);
}

.post-navigation a:hover {
	border-color: rgba(66, 239, 130, 0.4);
}

.post-navigation a span {
	color: var(--xl-muted);
	font-size: 0.67rem;
	text-transform: uppercase;
}

.post-navigation a strong {
	font-size: 0.86rem;
	line-height: 1.35;
}

.nav-next {
	text-align: right;
}

.pagination-wrap {
	margin-top: 34px;
}

.nav-links,
.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.pagination .page-numbers,
.page-links a,
.page-links > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 11px;
	border: 1px solid var(--xl-line);
	border-radius: 9px;
	background: var(--xl-surface);
	font-size: 0.76rem;
	font-weight: 760;
}

.pagination .current,
.page-links > span {
	border-color: var(--xl-green);
	background: var(--xl-green);
	color: #06120a;
}

/* Match detail */
.match-detail-page {
	padding-top: 64px;
}

.match-detail {
	width: min(100%, 940px);
	margin-inline: auto;
	overflow: hidden;
	border: 1px solid var(--xl-line);
	border-radius: 24px;
	background:
		radial-gradient(circle at 50% 2%, rgba(66, 239, 130, 0.09), transparent 25rem),
		var(--xl-surface);
	box-shadow: var(--xl-shadow);
}

.match-detail__header {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 24px;
	padding: 32px 36px 22px;
	border-bottom: 1px solid var(--xl-line);
}

.match-scoreboard {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
	align-items: center;
	gap: 20px;
	padding: 44px 36px;
}

.match-scoreboard__team {
	display: grid;
	justify-items: center;
	gap: 13px;
	min-width: 0;
	text-align: center;
}

.match-scoreboard__team strong {
	font-size: 1.05rem;
}

.match-scoreboard__centre {
	display: grid;
	justify-items: center;
	color: var(--xl-muted);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
}

.match-scoreboard__kickoff,
.match-scoreboard__score {
	color: #fff;
	font-family: "Barlow", Arial, sans-serif;
	font-size: 3.5rem;
	font-weight: 900;
	line-height: 1;
}

.match-scoreboard__score {
	display: flex;
	gap: 14px;
}

.match-scoreboard__score span {
	color: var(--xl-subtle);
}

.match-detail__meta {
	display: flex;
	justify-content: center;
	gap: 1px;
	margin: 0 36px 25px;
	overflow: hidden;
	border: 1px solid var(--xl-line);
	border-radius: var(--xl-radius-sm);
	background: var(--xl-line);
}

.match-detail__meta > div {
	display: grid;
	flex: 1;
	gap: 2px;
	padding: 12px 16px;
	background: rgba(7, 11, 14, 0.65);
	text-align: center;
}

.match-detail__meta span {
	color: var(--xl-subtle);
	font-size: 0.61rem;
	text-transform: uppercase;
}

.match-detail__meta strong {
	font-size: 0.78rem;
}

.match-detail__cta {
	display: flex;
	width: fit-content;
	margin: 0 auto 34px;
}

.match-detail__cta .status-pulse {
	animation: status-pulse 1.6s ease-in-out infinite;
}

.match-detail__pending {
	display: flex;
	width: fit-content;
	align-items: center;
	gap: 9px;
	margin: 0 auto 34px;
	padding: 10px 16px;
	border: 1px solid var(--xl-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.025);
	color: var(--xl-muted);
	font-size: 0.76rem;
	font-weight: 760;
}

.match-detail__pending > span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--xl-amber);
	box-shadow: 0 0 0 4px rgba(255, 189, 74, 0.1);
}

.match-detail__content {
	padding: 32px 36px;
	border-top: 1px solid var(--xl-line);
}

.match-detail__sponsor {
	margin: 0;
	padding: 10px 20px;
	border-top: 1px dashed var(--xl-line);
	color: var(--xl-subtle);
	font-size: 0.66rem;
	text-align: center;
}

.match-detail__sponsor a,
.match-detail__sponsor strong {
	color: var(--xl-amber);
}

/* Comments */
.comments-area {
	padding: 28px;
	border: 1px solid var(--xl-line);
	border-radius: var(--xl-radius);
	background: var(--xl-surface);
}

.comments-title,
.comment-reply-title {
	margin: 0 0 22px;
	font-family: "Barlow", Arial, sans-serif;
	font-size: 1.5rem;
	text-transform: uppercase;
}

.comment-list,
.comment-list .children {
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-left: 28px;
}

.comment-body {
	padding: 18px 0;
	border-bottom: 1px solid var(--xl-line);
}

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

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

.comment-metadata {
	margin: 5px 0;
	color: var(--xl-subtle);
	font-size: 0.67rem;
}

.comment-content {
	color: #c8d1d7;
	font-size: 0.88rem;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-size: 0.73rem;
	font-weight: 740;
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--xl-line-strong);
	border-radius: 9px;
	background: var(--xl-bg-soft);
	color: #fff;
}

.comment-form input[type="submit"] {
	padding: 11px 18px;
	border: 0;
	border-radius: 9px;
	background: var(--xl-green);
	color: #041009;
	font-weight: 850;
	cursor: pointer;
}

/* Front-page editorial content */
.home-editorial {
	padding-bottom: 80px;
}

.home-editorial__inner {
	padding: clamp(25px, 4vw, 48px);
	border: 1px solid var(--xl-line);
	border-radius: 22px;
	background:
		linear-gradient(120deg, rgba(49, 201, 220, 0.045), transparent 45%),
		var(--xl-surface);
}

/* 404 */
.not-found-page {
	display: grid;
	min-height: 70vh;
	place-items: center;
	padding-top: 50px;
	padding-bottom: 80px;
}

.not-found-panel {
	position: relative;
	width: min(100%, 760px);
	overflow: hidden;
	padding: clamp(32px, 6vw, 72px);
	border: 1px solid var(--xl-line);
	border-radius: 24px;
	background: var(--xl-surface);
	box-shadow: var(--xl-shadow);
	text-align: center;
}

.not-found-panel__code {
	position: absolute;
	top: -50px;
	right: -10px;
	margin: 0;
	color: rgba(255, 255, 255, 0.025);
	font-family: "Barlow", Arial, sans-serif;
	font-size: 13rem;
	font-weight: 900;
	line-height: 1;
}

.not-found-panel .eyebrow {
	justify-content: center;
}

.not-found-panel > p:not(.eyebrow, .not-found-panel__code) {
	position: relative;
	max-width: 520px;
	margin: 18px auto 0;
	color: var(--xl-muted);
}

.not-found-panel__actions {
	position: relative;
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 26px;
}

.button--ghost {
	border-color: var(--xl-line-strong);
	background: transparent;
	color: #fff;
}

.button--ghost:hover {
	border-color: var(--xl-cyan);
	color: var(--xl-cyan);
}

/* Footer */
.site-footer {
	border-top: 1px solid var(--xl-line);
	background: #05080a;
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(280px, 1.5fr) minmax(180px, 0.8fr) minmax(240px, 1fr);
	gap: 70px;
	padding: 54px 0 42px;
}

.site-footer__description {
	max-width: 470px;
	margin-top: 19px;
	color: var(--xl-muted);
	font-size: 0.82rem;
}

.site-footer__description p {
	margin: 0;
}

.footer-heading {
	margin: 0 0 15px;
	font-family: "Barlow", Arial, sans-serif;
	font-size: 1rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.footer-menu {
	display: grid;
	gap: 7px;
}

.footer-menu a {
	color: var(--xl-muted);
	font-size: 0.79rem;
}

.footer-menu a:hover {
	color: var(--xl-green);
}

.site-footer__status p {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	color: #cad4d9;
	font-size: 0.78rem;
}

.site-footer__status .status-pulse {
	background: var(--xl-green);
	box-shadow: 0 0 0 4px rgba(66, 239, 130, 0.1), 0 0 15px rgba(66, 239, 130, 0.42);
	animation: status-pulse 1.8s ease-in-out infinite;
}

.site-footer__status .site-footer__note {
	margin-top: 9px;
	color: var(--xl-subtle);
	font-size: 0.68rem;
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 0;
	border-top: 1px solid var(--xl-line);
	color: var(--xl-subtle);
	font-size: 0.66rem;
}

.site-footer__bottom p {
	margin: 0;
}

.back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 50;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(66, 239, 130, 0.35);
	border-radius: 10px;
	background: rgba(16, 23, 29, 0.92);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
	color: var(--xl-green);
	cursor: pointer;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 160ms ease, transform 160ms ease;
}

.back-to-top.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Responsive */
@media (max-width: 1080px) {
	.site-header__inner { gap: 18px; }
	.site-menu a { padding-inline: 9px; font-size: 0.78rem; }
	.header-cta { padding-inline: 13px; }
	.home-intro { gap: 28px; }
	.match-card__versus { padding-inline: 14px; }
	.match-team { grid-template-columns: 42px minmax(0, 1fr); gap: 8px; }
	.match-team--away { grid-template-columns: minmax(0, 1fr) 42px; }
	.team-mark--card { width: 42px; height: 42px; }
}

@media (max-width: 980px) {
	:root { --xl-header-height: 70px; }
	.site-header__inner { position: relative; }
	.site-branding { min-width: 0; }
	.header-cta { margin-left: auto; }
	.menu-toggle { display: block; order: 4; }
	.site-navigation {
		position: fixed;
		top: var(--xl-header-height);
		right: 0;
		bottom: 0;
		left: 0;
		padding: 16px 20px 32px;
		overflow-y: auto;
		border-top: 1px solid var(--xl-line);
		background: rgba(7, 11, 14, 0.985);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
	}
	.admin-bar .site-navigation { top: calc(var(--xl-header-height) + 32px); }
	.site-navigation.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
	.site-menu { display: grid; align-items: stretch; gap: 4px; }
	.site-menu a { min-height: 50px; padding: 12px 14px; font-size: 0.9rem; }
	.site-menu .sub-menu {
		position: static;
		width: auto;
		margin-left: 16px;
		border: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.home-intro { grid-template-columns: 1fr; align-items: start; }
	.home-intro__stats { width: fit-content; }
	.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.seo-reader { grid-template-columns: minmax(225px, 34%) minmax(0, 1fr); }
	.site-footer__top { grid-template-columns: 1.4fr 0.7fr; gap: 40px; }
	.site-footer__status { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .site-navigation { top: calc(var(--xl-header-height) + 46px); }
}

@media (max-width: 760px) {
	.site-shell { width: min(calc(100% - 28px), var(--xl-shell)); }
	.entry-content pre,
	.entry-content table,
	.entry-content .wp-block-table {
		box-sizing: border-box;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.entry-content table { display: block; }
	.entry-content img,
	.entry-content video { height: auto; max-width: 100%; }
	.entry-content iframe,
	.entry-content embed,
	.entry-content object { width: 100%; max-width: 100%; }
	.home-intro { padding-top: 38px; padding-bottom: 28px; }
	.home-intro h1 { font-size: clamp(2.65rem, 14vw, 4.4rem); }
	.home-intro__stats { width: 100%; }
	.hero-stat { min-width: 0; padding: 14px 16px; }
	.ad-band { grid-template-columns: 1fr; gap: 10px; padding-bottom: 30px; }
	.ad-slot, .ad-slot__fallback { min-height: 96px; }
	.league-showcase { padding-top: 10px; padding-bottom: 42px; }
	.league-showcase__scroller { gap: 12px; margin-top: 16px; }
	.league-card { flex-basis: 88px; }
	.league-card__visual { width: 78px; height: 78px; }
	.featured-strip { padding-block: 28px; }
	.featured-ticker { grid-auto-columns: minmax(285px, 88%); }
	.match-centre, .news-section { padding-top: 46px; }
	.match-grid { grid-template-columns: 1fr; }
	.news-grid { grid-template-columns: 1fr; }
	.news-card { display: grid; grid-template-columns: 42% minmax(0, 1fr); }
	.news-card__media { height: 100%; min-height: 190px; aspect-ratio: auto; }
	.news-card__body { padding: 15px; }
	.news-card__body > p { -webkit-line-clamp: 2; }
	.seo-introduction { padding-bottom: 58px; }
	.seo-reader { display: block; min-height: 0; }
	.seo-reader__toc,
	.seo-reader--single .seo-reader__toc {
		position: static;
		max-height: 260px;
		border-right: 0;
		border-bottom: 1px solid var(--xl-line);
	}
	.seo-reader__article,
	.seo-reader--single .seo-reader__article { max-height: none; overflow: visible; }
	.seo-reader__toc-item a { margin-inline: 12px; padding-block: 11px; }
	.content-layout { padding-top: 38px; }
	.match-detail__header { padding: 24px 20px 18px; }
	.match-scoreboard { grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); gap: 8px; padding: 34px 14px; }
	.team-mark--detail { width: 64px; height: 64px; }
	.match-scoreboard__score, .match-scoreboard__kickoff { font-size: 2.5rem; }
	.match-detail__meta { margin-inline: 18px; }
	.match-detail__content { padding: 26px 20px; }
	.site-footer__top { grid-template-columns: 1fr; gap: 32px; }
	.site-footer__status { grid-column: auto; }
	.site-footer__bottom { flex-direction: column; gap: 5px; }
}

@media (max-width: 560px) {
	.header-cta { width: 42px; min-width: 42px; padding: 0; font-size: 0; }
	.header-cta__dot { width: 10px; height: 10px; background: #07140c; }
	.brand-wordmark__name { max-width: 150px; font-size: 1rem; }
	.brand-wordmark__tagline { font-size: 0.5rem; }
	.home-intro__copy > p:last-child { font-size: 0.91rem; }
	.section-heading--split, .featured-strip__header { align-items: center; }
	.league-showcase__all { min-height: 36px; padding: 7px 10px; font-size: 0.63rem; }
	.seo-introduction__heading .section-link { display: none; }
	.match-result-summary { display: none; }
	.match-card__versus { grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr); }
	.match-team, .match-team--away { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 8px; text-align: center; }
	.match-team--away .team-mark { grid-column: 1; grid-row: 1; }
	.match-team strong { width: 100%; text-align: center; white-space: nowrap; }
	.news-card { display: block; }
	.news-card__media { min-height: 0; aspect-ratio: 16 / 9; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.nav-next { text-align: left; }
	.not-found-panel__actions { flex-direction: column; }
	.match-detail__header { display: grid; }
	.match-detail__meta { display: grid; grid-template-columns: 1fr; gap: 1px; }
	.comments-area { padding: 20px 16px; }
}

@media (max-width: 420px) {
	.brand-wordmark__ball { width: 32px; height: 32px; flex-basis: 32px; }
	.brand-wordmark__ball::after { left: 12px; }
	.brand-wordmark__name { max-width: 125px; font-size: 0.9rem; }
	.hero-stat__value { font-size: 1.65rem; }
	.hero-stat__label { font-size: 0.63rem; }
	.ad-slot__fallback { padding-right: 78px; padding-left: 18px; }
	.ad-slot__shape { right: 20px; width: 46px; height: 46px; }
	.featured-ticker { grid-auto-columns: 94%; }
	.match-scoreboard { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); }
	.team-mark--detail { width: 52px; height: 52px; }
	.match-scoreboard__team strong { font-size: 0.78rem; line-height: 1.25; }
	.match-scoreboard__score, .match-scoreboard__kickoff { font-size: 2rem; }
}

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

@media print {
	.site-header, .site-footer, .ad-band, .featured-strip, .filter-pills, .sport-tabs, .back-to-top, .seo-reader__toc { display: none !important; }
	.site-frame { padding-top: 0; }
	body, .home-main { background: #fff; color: #111; }
	.entry-content { color: #111; }
	.seo-reader { display: block; border: 0; box-shadow: none; }
	.seo-reader__article { max-height: none; padding: 0; overflow: visible; background: #fff; }
}
