.hgs-empty {
	padding: 12px 14px;
	border: 1px dashed #9098a2;
	background: #f5f7f8;
	color: #232830;
	border-radius: 10px;
	font-size: 14px;
}

.hgs-slider {
	--hgs-red: #ce2e26;
	--hgs-gap: 18px;
	position: relative;
	width: 100%;
	color: #ffffff;
	margin: 14px 0;
}

/* Remove accidental list markers when shortcode is wrapped in list markup. */
.hgs-slider,
.hgs-slider ul,
.hgs-slider ol,
.hgs-slider li,
.hgs-no-marker-list,
.hgs-no-marker-list > li,
.hgs-no-marker-item {
	list-style: none !important;
	list-style-image: none !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}

.hgs-slider li::marker,
.hgs-no-marker-list > li::marker,
.hgs-no-marker-item::marker {
	content: "" !important;
}

.hgs-no-marker-list > li::before,
.hgs-no-marker-item::before {
	content: none !important;
	display: none !important;
}

.hgs-no-marker-item {
	text-indent: 0 !important;
}

.hgs-no-marker-item > .hgs-slider {
	margin-left: 0 !important;
}

li:has(> .hgs-slider),
li:has(.hgs-slider) {
	list-style: none !important;
	list-style-image: none !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}

li:has(> .hgs-slider)::marker,
li:has(.hgs-slider)::marker,
li:has(> .hgs-slider)::before,
li:has(.hgs-slider)::before {
	content: none !important;
	display: none !important;
}

.hgs-slider:focus-visible {
	outline: 2px solid var(--hgs-red);
	outline-offset: 4px;
	border-radius: 24px;
}

.hgs-viewport {
	overflow: hidden;
	padding: 10px 0;
}

.hgs-track {
	display: flex;
	gap: var(--hgs-gap);
	transform: translate3d(0, 0, 0);
	transition: transform 340ms cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: transform;
}

.hgs-card {
	position: relative;
	flex: 0 0 calc((100% - (2 * var(--hgs-gap))) / 3);
	border-radius: 34px;
	border: 2px solid transparent;
	overflow: hidden;
	min-height: 248px;
	background: linear-gradient(180deg, #141821 0%, #10131a 100%);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42);
}

.hgs-card.is-next-game {
	border-color: var(--hgs-red);
}

.hgs-card.is-active {
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(206, 46, 38, 0.4);
}

.hgs-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 50% 45%, rgba(24, 57, 132, 0.46), transparent 44%),
		radial-gradient(circle at 18% 8%, rgba(206, 46, 38, 0.12), transparent 34%),
		radial-gradient(circle at 82% 10%, rgba(206, 46, 38, 0.12), transparent 34%),
		radial-gradient(circle at 50% 95%, rgba(206, 46, 38, 0.16), transparent 40%);
	pointer-events: none;
}

.hgs-card-body {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 12px 14px 54px;
	min-height: 248px;
	overflow: hidden;
}

.hgs-topline {
	position: relative;
	z-index: 5;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	text-shadow: 0 2px 7px rgba(0, 0, 0, 0.44);
}

.hgs-league-logo-wrap {
	position: relative;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
}

.hgs-league-logo {
	height: 32px;
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.hgs-league-logo-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.36);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.hgs-team {
	position: absolute;
	top: calc(55% - 10px);
	width: 42%;
	display: flex;
	align-items: center;
	z-index: 2;
	transform: translateY(-50%);
	pointer-events: none;
}

.hgs-team-home {
	left: -13%;
	justify-content: flex-start;
}

.hgs-team-away {
	right: -13%;
	justify-content: flex-end;
}

.hgs-helmet {
	display: block;
	width: clamp(190px, 19vw, 330px);
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45));
}

.hgs-helmet-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 78px;
	height: 78px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.05em;
}

.hgs-match-center {
	position: relative;
	z-index: 6;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 18px;
	width: min(80%, 300px);
	text-align: center;
}

.hgs-day {
	font-size: 20px;
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: 0.01em;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hgs-date {
	font-size: 38px;
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: 0.01em;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hgs-time {
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	margin-top: 3px;
	opacity: 0.95;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hgs-score {
	font-size: 40px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.02em;
}

.hgs-result-date {
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	opacity: 0.95;
	margin-bottom: 4px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hgs-subline {
	font-size: 13px;
	font-weight: 700;
	opacity: 0.88;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-top: 6px;
}

.hgs-team-names {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12px;
	display: grid;
	grid-template-columns: minmax(0, 42%) minmax(28px, auto) minmax(0, 42%);
	align-items: center;
	justify-content: center;
	column-gap: 6px;
	padding: 0 10px;
	z-index: 6;
}

.hgs-team-name {
	font-size: 13px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	overflow-wrap: anywhere;
	word-break: break-word;
	text-align: center;
}

.hgs-team-name-home {
	text-align: center;
}

.hgs-team-name-away {
	text-align: center;
}

.hgs-team-name-sep {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.92;
	padding: 0;
	text-align: center;
}

.hgs-card-side {
	display: none;
}

.hgs-controls {
	margin-top: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 42px;
}

.hgs-nav {
	appearance: none;
	border: 0;
	background: transparent;
	color: #ffffff;
	font-size: 42px;
	line-height: 1;
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	transform: translateY(-3px);
	cursor: pointer;
	opacity: 0.92;
}

.hgs-nav[disabled] {
	opacity: 0.3;
	cursor: default;
}

.hgs-dots {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	max-width: min(72vw, 640px);
	overflow-x: auto;
	padding: 0 2px;
	scrollbar-width: none;
}

.hgs-dots::-webkit-scrollbar {
	display: none;
}

.hgs-dot {
	appearance: none;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.38);
	width: 26px;
	height: 8px;
	cursor: pointer;
	flex: 0 0 auto;
}

.hgs-dot.is-active {
	background: var(--hgs-red);
}

@media (max-width: 1099px) {
	.hgs-card {
		/* Show two full cards without clipping. */
		flex-basis: calc((100% - var(--hgs-gap)) / 2);
		min-height: 230px;
	}

	.hgs-card-body {
		min-height: 230px;
		padding: 10px 10px 48px;
	}

	.hgs-team {
		width: 40%;
		top: calc(55% - 10px);
	}

	.hgs-team-home {
		left: -13%;
	}

	.hgs-team-away {
		right: -13%;
	}

	.hgs-helmet {
		width: clamp(170px, 26vw, 280px);
	}

}

@media (max-width: 767px) {
	.hgs-card {
		/* Show one full card without clipping. */
		flex-basis: 100%;
		max-width: 100%;
		min-height: 214px;
	}

	.hgs-card-body {
		min-height: 214px;
		padding: 9px 10px 44px;
	}

	.hgs-league-logo-wrap {
		margin-top: 6px;
	}

	.hgs-team {
		top: calc(55% - 10px);
		width: 40%;
	}

	.hgs-team-home {
		left: -13%;
	}

	.hgs-team-away {
		right: -13%;
	}

	.hgs-helmet {
		width: clamp(170px, 48vw, 248px);
	}

	.hgs-match-center {
		margin-top: 14px;
		width: min(84%, 230px);
	}

	.hgs-team-names {
		bottom: 9px;
		grid-template-columns: minmax(0, 42%) minmax(24px, auto) minmax(0, 42%);
		column-gap: 4px;
		padding: 0 8px;
	}

	.hgs-nav {
		font-size: 36px;
	}
}

.hgs-gameday {
	--hgs-red: #ce2e26;
	color: #ffffff;
	margin: 16px 0;
}

.hgs-gameday-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(28, 31, 40, 0.92) 0%, rgba(17, 20, 28, 0.96) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.04),
		0 10px 20px rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(8px);
}

.hgs-gameday-filter-label {
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffffff;
	padding: 0 2px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hgs-gameday-filter-control {
	position: relative;
	flex: 0 1 320px;
	min-width: 0;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background:
		radial-gradient(circle at calc(100% - 24px) 50%, rgba(206, 46, 38, 0.18), transparent 17px),
		linear-gradient(180deg, rgba(37, 41, 53, 0.96) 0%, rgba(19, 22, 30, 0.98) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 8px 18px rgba(0, 0, 0, 0.2);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hgs-gameday-filter-control.is-open {
	border-color: rgba(206, 46, 38, 0.75);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 12px 24px rgba(0, 0, 0, 0.24),
		0 0 0 3px rgba(206, 46, 38, 0.24);
	transform: translateY(-1px);
}

.hgs-gameday-filter-control:hover {
	border-color: rgba(206, 46, 38, 0.48);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 10px 20px rgba(0, 0, 0, 0.24),
		0 0 0 1px rgba(206, 46, 38, 0.18);
}

.hgs-gameday-filter-control:focus-within {
	border-color: rgba(206, 46, 38, 0.75);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 12px 24px rgba(0, 0, 0, 0.24),
		0 0 0 3px rgba(206, 46, 38, 0.24);
	transform: translateY(-1px);
}

.hgs-gameday-filter-trigger {
	appearance: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 54px;
	padding: 0 18px 0 18px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	outline: none;
	text-align: left;
}

.hgs-gameday-filter-trigger-text {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
	color: #ffffff;
	font-family: inherit;
}

.hgs-gameday-filter-icon {
	position: relative;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	border-right: 3px solid var(--hgs-red);
	border-bottom: 3px solid var(--hgs-red);
	transform: translateY(-2px) rotate(45deg);
	pointer-events: none;
	opacity: 1;
	filter: drop-shadow(0 0 10px rgba(206, 46, 38, 0.35));
}

.hgs-gameday-filter-control.is-open .hgs-gameday-filter-icon {
	transform: translateY(2px) rotate(-135deg);
}

.hgs-gameday-filter-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 10px);
	z-index: 25;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 20px;
	background:
		radial-gradient(circle at 85% 18%, rgba(206, 46, 38, 0.16), transparent 28%),
		linear-gradient(180deg, rgba(31, 34, 43, 0.98) 0%, rgba(20, 22, 29, 0.99) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 20px 40px rgba(0, 0, 0, 0.36);
	backdrop-filter: blur(12px);
}

.hgs-gameday-filter-panel[hidden] {
	display: none !important;
}

.hgs-gameday-filter-option {
	appearance: none;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 46px;
	padding: 0 14px;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-align: left;
	cursor: pointer;
	transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.hgs-gameday-filter-option:hover,
.hgs-gameday-filter-option:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.08);
	transform: translateX(1px);
}

.hgs-gameday-filter-option.is-selected {
	background: linear-gradient(90deg, rgba(206, 46, 38, 0.2) 0%, rgba(206, 46, 38, 0.08) 100%);
	color: #ffffff;
}

.hgs-gameday-filter-option-check {
	position: relative;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	opacity: 0;
}

.hgs-gameday-filter-option-check::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 6px;
	height: 11px;
	border-right: 3px solid var(--hgs-red);
	border-bottom: 3px solid var(--hgs-red);
	transform: rotate(40deg);
}

.hgs-gameday-filter-option.is-selected .hgs-gameday-filter-option-check {
	opacity: 1;
}

.hgs-gameday-filter-option-text {
	display: block;
	flex: 1 1 auto;
	font-family: inherit;
}

.hgs-gameday-match {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: linear-gradient(180deg, rgba(20, 24, 33, 0.94) 0%, rgba(16, 19, 26, 0.94) 100%);
	box-shadow: 0 10px 18px rgba(0, 0, 0, 0.24);
}

.hgs-gameday-match + .hgs-gameday-match {
	margin-top: 10px;
}

.hgs-gameday-match.is-filter-hidden {
	display: none;
}

.hgs-gameday-match-main {
	min-width: 0;
	flex: 1 1 auto;
}

.hgs-gameday-match-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px 8px;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.hgs-gameday-meta-date {
	color: #ffffff;
	font-weight: 800;
}

.hgs-gameday-match-time {
	color: rgba(255, 255, 255, 0.92);
}

.hgs-gameday-match-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.88);
}

.hgs-gameday-match-badge--team {
	background: rgba(206, 46, 38, 0.16);
	color: #ffffff;
}

.hgs-gameday-match-title {
	margin: 0;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: 0.01em;
}

.hgs-gameday-match-actions {
	flex: 0 0 auto;
	align-self: center;
	padding-top: 0;
}

.hgs-gameday-ticket {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--hgs-red);
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.hgs-gameday-ticket:hover,
.hgs-gameday-ticket:focus {
	background: #e0382f;
	color: #ffffff !important;
	transform: translateY(-1px);
}

.hgs-gameday-no-results {
	margin: 12px 0 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.78);
}

.hgs-gameday-no-results[hidden] {
	display: none !important;
}

@media (max-width: 767px) {
	.hgs-gameday-toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding: 12px;
	}

	.hgs-gameday-filter-label {
		padding: 0;
	}

	.hgs-gameday-filter-control {
		flex: none;
		width: 100%;
		max-width: 100%;
	}

	.hgs-gameday-filter-trigger {
		min-height: 52px;
		padding: 0 16px;
	}

	.hgs-gameday-filter-trigger-text {
		font-size: 16px;
	}

	.hgs-gameday-filter-icon {
		width: 14px;
		height: 14px;
	}

	.hgs-gameday-filter-panel {
		top: calc(100% + 8px);
		padding: 8px;
		border-radius: 18px;
	}

	.hgs-gameday-filter-option {
		min-height: 44px;
		padding: 0 12px;
		font-size: 15px;
	}

	.hgs-gameday-match {
		flex-direction: column;
		align-items: flex-start;
		padding: 12px 14px;
	}

	.hgs-gameday-match-title {
		font-size: 24px;
	}

	.hgs-gameday-match-actions {
		width: 100%;
		padding-top: 0;
	}

	.hgs-gameday-ticket {
		width: 100%;
		font-size: 15px;
	}
}
