.hsz-widget,
.hsz-center {
	--hsz-blue: #0b4da2;
	--hsz-blue-dark: #082f66;
	--hsz-blue-soft: #edf4ff;
	--hsz-white: #ffffff;
	--hsz-text: #1f2937;
	--hsz-muted: #667085;
	--hsz-line: #dce3ec;
	--hsz-surface: #f7f9fc;
	--hsz-warning: #a33800;
	box-sizing: border-box;
	width: 100%;
	margin: 1.5rem 0;
	color: var(--hsz-text);
	background: var(--hsz-white);
	border: 1px solid var(--hsz-line);
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(8, 47, 102, 0.08);
	font-family: inherit;
}

.hsz-widget *,
.hsz-center * {
	box-sizing: border-box;
}

.hsz-widget [hidden],
.hsz-center [hidden],
.hsz-filtered-out {
	display: none !important;
}

.hsz-header,
.hsz-center-header {
	padding: 22px 24px 18px;
}

.hsz-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
}

.hsz-header h2,
.hsz-center-header h2 {
	margin: 2px 0 0;
	color: var(--hsz-blue-dark);
	font-size: clamp(1.45rem, 4vw, 2rem);
	line-height: 1.18;
}

.hsz-center-header p:last-child {
	margin: 8px 0 0;
	color: var(--hsz-muted);
}

.hsz-kicker {
	margin: 0;
	color: var(--hsz-blue);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.hsz-count,
.hsz-status,
.hsz-home-away {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	white-space: nowrap;
}

.hsz-count,
.hsz-home-away {
	color: var(--hsz-blue-dark);
	background: var(--hsz-blue-soft);
}

.hsz-status {
	color: var(--hsz-warning);
	background: #fff3e8;
}

.hsz-featured-match {
	padding: 20px 24px;
	border-top: 1px solid var(--hsz-line);
	border-bottom: 1px solid var(--hsz-line);
	background: linear-gradient(180deg, var(--hsz-white), var(--hsz-surface));
}

.hsz-match-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px 14px;
	flex-wrap: wrap;
	margin-bottom: 18px;
	color: var(--hsz-muted);
	font-size: 0.84rem;
}

.hsz-match-meta span:not(.hsz-status)::before {
	content: "•";
	margin-right: 14px;
	color: var(--hsz-line);
}

.hsz-featured-teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 18px;
}

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

.hsz-featured-team strong {
	font-size: 1rem;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.hsz-logo {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.hsz-logo-small {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
}

.hsz-logo-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--hsz-blue-dark);
	background: var(--hsz-blue-soft);
}

.hsz-versus,
.hsz-match-center {
	color: var(--hsz-muted);
	font-weight: 700;
	text-align: center;
}

.hsz-versus strong,
.hsz-score {
	color: var(--hsz-blue-dark);
	font-size: 1.35rem;
	font-variant-numeric: tabular-nums;
}

.hsz-location {
	display: table;
	margin: 16px auto 0;
	color: var(--hsz-blue);
	font-size: 0.84rem;
	text-align: center;
	text-decoration: none;
}

a.hsz-location:hover,
a.hsz-location:focus {
	text-decoration: underline;
}

.hsz-list-title {
	margin: 18px 24px 4px;
	color: var(--hsz-blue-dark);
	font-size: 1rem;
}

.hsz-compact-list {
	padding: 0 24px;
}

.hsz-compact-match {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 13px 0;
	border-bottom: 1px solid var(--hsz-line);
}

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

.hsz-compact-time time,
.hsz-match-date time {
	display: grid;
	gap: 2px;
	font-variant-numeric: tabular-nums;
}

.hsz-compact-time span,
.hsz-match-date span,
.hsz-compact-teams span {
	color: var(--hsz-muted);
	font-size: 0.82rem;
}

.hsz-compact-time strong,
.hsz-compact-teams strong,
.hsz-match-date strong {
	font-size: 0.9rem;
}

.hsz-compact-teams {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.hsz-compact-teams span {
	overflow-wrap: anywhere;
}

.hsz-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 18px;
	flex-wrap: wrap;
	padding: 18px 24px 22px;
}

.hsz-action-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.hsz-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 15px;
	border: 1px solid var(--hsz-blue);
	border-radius: 7px;
	color: var(--hsz-blue) !important;
	background: var(--hsz-white);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none !important;
}

.hsz-button:hover,
.hsz-button:focus-visible {
	color: var(--hsz-blue-dark) !important;
	background: var(--hsz-blue-soft);
}

.hsz-button-primary {
	color: var(--hsz-white) !important;
	background: var(--hsz-blue);
}

.hsz-button-primary:hover,
.hsz-button-primary:focus-visible {
	color: var(--hsz-white) !important;
	background: var(--hsz-blue-dark);
}

.hsz-button:focus-visible,
.hsz-tab:focus-visible,
.hsz-toolbar select:focus-visible {
	outline: 3px solid rgba(11, 77, 162, 0.25);
	outline-offset: 2px;
}

.hsz-updated,
.hsz-center-footer {
	color: var(--hsz-muted);
	font-size: 0.78rem;
}

.hsz-toolbar {
	display: flex;
	align-items: center;
	gap: 10px 16px;
	flex-wrap: wrap;
	padding: 14px 24px;
	border-top: 1px solid var(--hsz-line);
	background: var(--hsz-surface);
}

.hsz-toolbar label {
	font-size: 0.86rem;
	font-weight: 700;
}

.hsz-toolbar select {
	min-width: min(100%, 290px);
	min-height: 40px;
	padding: 7px 34px 7px 10px;
	border: 1px solid var(--hsz-line);
	border-radius: 7px;
	color: var(--hsz-text);
	background-color: var(--hsz-white);
	font: inherit;
}

.hsz-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid var(--hsz-line);
	border-bottom: 1px solid var(--hsz-line);
}

.hsz-tab {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 50px;
	padding: 10px 16px;
	border: 0;
	border-bottom: 3px solid transparent;
	color: var(--hsz-muted);
	background: var(--hsz-white);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.hsz-tab + .hsz-tab {
	border-left: 1px solid var(--hsz-line);
}

.hsz-tab span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 7px;
	border-radius: 999px;
	color: var(--hsz-blue-dark);
	background: var(--hsz-blue-soft);
	font-size: 0.75rem;
}

.hsz-tab.is-active {
	border-bottom-color: var(--hsz-blue);
	color: var(--hsz-blue-dark);
}

.hsz-panel {
	padding: 0 24px;
}

.hsz-match {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	gap: 14px 20px;
	padding: 18px 0;
	border-bottom: 1px solid var(--hsz-line);
}

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

.hsz-match-date {
	display: flex;
	align-items: center;
}

.hsz-match-teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
}

.hsz-team {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.hsz-team strong {
	font-size: 0.9rem;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.hsz-team-away {
	flex-direction: row-reverse;
	text-align: right;
}

.hsz-match-details {
	grid-column: 2;
	display: flex;
	align-items: center;
	gap: 8px 14px;
	flex-wrap: wrap;
	color: var(--hsz-muted);
	font-size: 0.8rem;
}

.hsz-location-inline {
	display: inline;
	margin: 0;
	font-size: inherit;
	text-align: left;
}

.hsz-empty,
.hsz-filter-empty {
	margin: 0;
	padding: 24px 0;
	color: var(--hsz-muted);
	text-align: center;
}

.hsz-center-footer {
	padding: 14px 24px;
	border-top: 1px solid var(--hsz-line);
	text-align: right;
}

.hsz-message {
	margin: 1.25rem 0;
	padding: 14px 16px;
	border: 1px solid var(--hsz-line);
	border-left: 4px solid var(--hsz-blue);
	border-radius: 6px;
	color: var(--hsz-text);
	background: var(--hsz-surface);
}

.hsz-message-error {
	border-left-color: #b42318;
}

@media (max-width: 680px) {
	.hsz-header,
	.hsz-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.hsz-count {
		align-self: flex-start;
	}

	.hsz-featured-match,
	.hsz-header,
	.hsz-center-header,
	.hsz-actions {
		padding-right: 18px;
		padding-left: 18px;
	}

	.hsz-compact-list,
	.hsz-panel {
		padding-right: 18px;
		padding-left: 18px;
	}

	.hsz-list-title {
		margin-right: 18px;
		margin-left: 18px;
	}

	.hsz-logo {
		width: 58px;
		height: 58px;
	}

	.hsz-logo-small {
		width: 36px;
		height: 36px;
		flex-basis: 36px;
	}

	.hsz-featured-teams {
		gap: 9px;
	}

	.hsz-compact-match {
		grid-template-columns: 80px minmax(0, 1fr);
		gap: 8px 11px;
	}

	.hsz-compact-match .hsz-home-away {
		grid-column: 2;
		justify-self: start;
	}

	.hsz-action-buttons,
	.hsz-button {
		width: 100%;
	}

	.hsz-toolbar {
		align-items: stretch;
		flex-direction: column;
		padding-right: 18px;
		padding-left: 18px;
	}

	.hsz-toolbar select {
		width: 100%;
	}

	.hsz-match {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.hsz-match-date time {
		display: flex;
		gap: 8px;
		align-items: baseline;
	}

	.hsz-match-teams {
		grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr);
		gap: 7px;
	}

	.hsz-team,
	.hsz-team-away {
		align-items: center;
		flex-direction: column;
		gap: 6px;
		text-align: center;
	}

	.hsz-match-details {
		grid-column: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hsz-widget *,
	.hsz-center * {
		scroll-behavior: auto !important;
	}
}

