.match-parts-wrapper {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
	font-size: 1.2rem;
}

.ice-hockey-match-events__puck {
	display: inline-flex;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #263747;
	box-shadow: inset 0 0 0 3px #526578;
	color: #fff;
	font-size: 8px;
	font-weight: 700;
}

.ice-hockey-match-events__puck--own-goal {
	box-shadow: none;
}

.ice-hockey-match-events__empty {
	margin: 0;
	padding: 16px;
	border: 1px solid #dce4ed;
	border-radius: 8px;
	color: #5d6b7b;
}

.ice-hockey-match-events__note {
	margin: 0 0 10px;
	padding: 8px 12px;
	border-radius: 6px;
	background: #f1f7fa;
	color: #3f5567;
	font-size: 13px;
}

.ice-hockey-match-events .handball-match-events__row--goal {
	background: #f1f7fa;
}

.handball-match-events,
.handball-box-scores {
	--handball-border: #dce4ed;
	--handball-muted: #5d6b7b;
	--handball-soft: #f5f8fb;
	color: #243447;
}

.handball-match-events {
	margin: 18px 0 24px;
}

.handball-match-events__teams {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 0 12px 8px;
	font-weight: 600;
}

.handball-match-events__teams span:last-child {
	text-align: right;
}

.handball-match-events__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--handball-border);
	border-radius: 10px;
	overflow: hidden;
}

.handball-match-events__row {
	display: grid;
	grid-template-columns: 60px minmax(80px, 130px) minmax(0, 1fr) 58px;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 7px 12px;
	border-bottom: 1px solid var(--handball-border);
}

.handball-match-events--no-time .handball-match-events__row {
	grid-template-columns: minmax(80px, 130px) minmax(0, 1fr) 58px;
}

.handball-match-events--no-time .handball-match-events__time {
	display: none;
}

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

.handball-match-events__row--goal {
	background: var(--handball-soft);
}

.handball-match-events__time,
.handball-match-events__team {
	color: var(--handball-muted);
	font-size: 12px;
}

.handball-match-events__team {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.handball-match-events__team-side {
	display: none;
}

.handball-match-events__team--home {
	border-left: 3px solid #3f6c9b;
	padding-left: 7px;
}

.handball-match-events__team--away {
	border-left: 3px solid #b77940;
	padding-left: 7px;
}

.handball-match-events__action {
	display: flex;
	flex-wrap: wrap;
	gap: 3px 7px;
	min-width: 0;
	font-size: 13px;
}

.handball-match-events__action strong {
	font-weight: 600;
}

.handball-match-events__score {
	text-align: right;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.handball-match-events__divider {
	padding: 7px 12px;
	background: #e9eff5;
	font-weight: 600;
}

.handball-box-scores #match-players {
	gap: 16px;
}

.handball-box-score {
	flex: 1 1 0;
	min-width: 0;
	margin: 16px 0;
}

.handball-box-score__team-name {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
}

.handball-box-score__scroll {
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid var(--handball-border);
	border-radius: 8px;
}

.handball-box-score__scroll:focus-visible {
	outline: 2px solid #3f6c9b;
	outline-offset: 2px;
}

.handball-box-score__table {
	width: 100%;
	min-width: 365px;
	border-collapse: collapse;
	font-size: 12px;
}

.handball-box-score__table th,
.handball-box-score__table td {
	padding: 8px 6px;
	border-bottom: 1px solid var(--handball-border);
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.handball-box-score__table thead th,
.handball-box-score__table tfoot th,
.handball-box-score__table tfoot td {
	background: var(--handball-soft);
	font-weight: 700;
}

.handball-box-score__table tr:last-child > * {
	border-bottom: 0;
}

.handball-box-score__table .handball-box-score__player {
	min-width: 140px;
	text-align: left;
}

.handball-box-score__player a {
	color: inherit;
}

.handball-box-score__number {
	color: var(--handball-muted);
	font-weight: 400;
}

@media (max-width: 767px) {
	.handball-match-events__row {
		grid-template-columns: 42px 68px minmax(0, 1fr) 43px;
		gap: 6px;
		padding: 7px 8px;
	}

	.handball-match-events--no-time .handball-match-events__row {
		grid-template-columns: 68px minmax(0, 1fr) 43px;
	}

	.handball-match-events__team--home,
	.handball-match-events__team--away {
		padding-left: 4px;
	}

	.handball-match-events__team-name {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.handball-match-events__team-side {
		display: inline;
	}

	.handball-match-events__action {
		font-size: 12px;
	}
}

.match-parts-header {
    background-color: #f5f5f5;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
}

.match-parts-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.match-parts-content {
    display: flex;
    justify-content: center;
	padding: 4px 0;
}

.match-parts-wrapper .match-part-column {
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.match-parts-wrapper .match-part-column:last-child {
    margin-right: 0;
    border-right: none;
}

.match-parts-wrapper .match-part-column .match-part-cell {
    padding: 5px 10px;
    text-align: center;
    min-width: 40px;
}

.match-parts-wrapper .match-part-column .match-part-header {
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid #e0e0e0;
}

.match-parts-wrapper .match-part-column .team-name {
    text-align: right;
    font-weight: 500;
	margin: 0;
	font-size: 1.2rem;
}

.match-parts-wrapper .match-part-column.total-column {
    background-color: #f9f9f9;
}

.match-parts-wrapper .match-part-column .total-score {
    font-weight: 700;
    color: #333;
}

.match-info-score .team-score {
    padding: 3px;
    font-size: 1.4em;
    line-height: 20px;
}

.match-form .match-part-row {
    display: flex;
    padding: 4px;
}

.match-form .match-part-row .row-item {
    padding: 2px;
    width: 100%;
}

.box-score-data {
    font-size: 12px;
}

.volleyball-boxscores {
	--volleyball-boxscore-text: #243b53;
	--volleyball-boxscore-muted: #627d98;
	--volleyball-boxscore-border: #d9e2ec;
	--volleyball-boxscore-header: #e9eff5;
	--volleyball-boxscore-row-alt: #f8fafc;
	--volleyball-boxscore-total: #eef3f7;
	--volleyball-boxscore-focus: #334e68;
	color: var(--volleyball-boxscore-text);
	min-width: 0;
}

.volleyball-boxscore {
	margin-top: 24px;
	min-width: 0;
}

.volleyball-boxscore:first-child {
	margin-top: 20px;
}

.volleyball-boxscore__team-name {
	color: var(--volleyball-boxscore-text);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 10px;
}

.volleyball-boxscore__scroll {
	border: 1px solid var(--volleyball-boxscore-border);
	border-radius: 8px;
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
}

.volleyball-boxscore__scroll:focus-visible {
	outline: 3px solid var(--volleyball-boxscore-focus);
	outline-offset: 2px;
}

.volleyball-boxscore__table.table {
	background: #fff;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	color: var(--volleyball-boxscore-text);
	font-size: 15px;
	margin: 0;
	min-width: 1040px;
	width: 100%;
}

.volleyball-boxscore__table.table > thead > tr > th,
.volleyball-boxscore__table.table > tbody > tr > th,
.volleyball-boxscore__table.table > tbody > tr > td {
	border: 0;
	border-bottom: 1px solid var(--volleyball-boxscore-border);
	line-height: 1.35;
	padding: 10px 12px;
	vertical-align: middle;
}

.volleyball-boxscore__table.table > thead > tr > th {
	background: var(--volleyball-boxscore-header);
	color: var(--volleyball-boxscore-text);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	white-space: nowrap;
}

.volleyball-boxscore__table.table > tbody > tr > td {
	font-variant-numeric: tabular-nums;
	text-align: center;
	white-space: nowrap;
}

.volleyball-boxscore__table.table > tbody > tr:nth-child(even):not(.volleyball-boxscore__total-row) > * {
	background: var(--volleyball-boxscore-row-alt);
}

.volleyball-boxscore__table.table > tbody > tr:last-child > * {
	border-bottom: 0;
}

.volleyball-boxscore__table .box-score-data {
	font-size: inherit;
}

.volleyball-boxscore__table.table .volleyball-boxscore__player {
	left: 0;
	min-width: 220px;
	position: sticky;
	text-align: left;
	white-space: normal;
	width: 220px;
	z-index: 1;
}

.volleyball-boxscore__table.table > thead .volleyball-boxscore__player {
	background: var(--volleyball-boxscore-header);
	box-shadow: 8px 0 10px -12px #102a43;
	z-index: 2;
}

.volleyball-boxscore__table.table > tbody .volleyball-boxscore__player {
	background: #fff;
	box-shadow: 8px 0 10px -12px #102a43;
	font-weight: 600;
}

.volleyball-boxscore__table.table > tbody > tr:nth-child(even):not(.volleyball-boxscore__total-row) > .volleyball-boxscore__player {
	background: var(--volleyball-boxscore-row-alt);
}

.volleyball-boxscore__table.table .volleyball-boxscore__position {
	min-width: 150px;
	text-align: left;
	white-space: normal;
}

.volleyball-boxscore__player-number {
	color: var(--volleyball-boxscore-muted);
	display: inline-block;
	font-variant-numeric: tabular-nums;
	min-width: 38px;
	white-space: nowrap;
}

.volleyball-boxscore__player-name {
	overflow-wrap: anywhere;
}

.volleyball-boxscore__table.table > tbody > .volleyball-boxscore__total-row > * {
	background: var(--volleyball-boxscore-total);
	border-top: 2px solid #829ab1;
	font-weight: 700;
}

.volleyball-boxscore__table.table > tbody > .volleyball-boxscore__total-row > .volleyball-boxscore__player {
	background: var(--volleyball-boxscore-total);
}

.match-extra-info-container {
	padding: 1rem 0.25rem;
}

.match-extra-info-header {
	font-weight: bold;
	padding: 0.25rem 0.75rem;
	background: #eee;
	border-radius: 3px;
}

.match-extra-info-body .extra-info-row {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0.75rem;
}

.match-extra-info-body .extra-info-value {
	font-weight: bold;
}

.match-extra-info-body .extra-info-value--video {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.match-video-inline-download-form {
	display: inline-flex;
	margin: 0;
}

.match-video-inline-download-btn {
	line-height: 1.2;
	padding: 2px 8px;
}

.match-video-section__header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 12px auto 0;
	max-width: 960px;
	width: 100%;
}

.match-video-section__title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
}

.match-video-section__icon {
	display: none;
	margin-right: 6px;
}

.match-video-section--closed .match-video-section__icon {
	display: inline-block;
}

.match-video-section--closed .match-video-section__header {
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-bottom: 16px;
	max-width: none;
	padding: 10px 12px;
}

.match-video-section__content[hidden] {
	display: none;
}

.match-video-wrapper {
	margin: 12px auto 16px;
	max-width: 960px;
	width: 100%;
}

.match-video-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: -4px auto 16px;
	max-width: 960px;
	width: 100%;
}

.match-video-player {
	border-radius: 12px;
	padding: 12px;
	background: #0f172a;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
	width: 100%;
}

.match-video-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
}

.match-video-frame--state {
	aspect-ratio: 16 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 0;
}

.match-video-element {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	z-index: 0;
}

.match-video-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
	z-index: 1;
}

.match-video-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.58));
	color: #fff;
	text-align: center;
	padding: 12px;
	z-index: 2;
}

.match-video-play-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 56px;
	width: min(100%, 840px);
}

.match-video-team {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 0;
	color: #fff;
	text-align: center;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.match-video-team--home {
	justify-self: end;
}

.match-video-team--away {
	justify-self: start;
}

.match-video-team-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
	overflow: hidden;
}

.match-video-team-logo img {
	display: block;
	max-width: 86%;
	max-height: 86%;
	object-fit: contain;
}

.match-video-team-name {
	min-width: 0;
	max-width: 300px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
}

.match-video-overlay-hint {
	margin-top: 8px;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.82);
}

.match-video-browser-warning {
	max-width: 560px;
	margin-top: 12px;
	padding: 8px 12px;
	border: 1px solid rgba(245, 158, 11, 0.46);
	border-radius: 8px;
	background: rgba(15, 23, 42, 0.76);
	color: #fef3c7;
	font-size: 0.92rem;
	line-height: 1.4;
}

.match-video-browser-warning[hidden] {
	display: none;
}

.match-video-play-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: none;
	border-radius: 999px;
	padding: 12px 18px;
	background: var(--match-video-play-bg, #10b981);
	color: var(--match-video-play-fg, #0f172a);
	font-weight: 700;
	font-size: 1rem;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.match-video-play-btn:hover {
	background: var(--match-video-play-bg-hover, #34d399);
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.match-video-play-btn:active {
	transform: translateY(0);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.match-video-play-icon {
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 0 10px 16px;
	border-color: transparent transparent transparent var(--match-video-play-fg, #0f172a);
}

.ivs-player-loading .match-video-play-btn {
	cursor: wait;
}

.ivs-player-loading .match-video-play-btn:hover,
.ivs-player-loading .match-video-play-btn:active {
	background: var(--match-video-play-bg, #10b981);
	transform: none;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.ivs-player-loading .match-video-play-icon {
	width: 20px;
	height: 20px;
	border: 2px solid var(--match-video-play-fg, #0f172a);
	border-right-color: transparent;
	border-radius: 50%;
	animation: match-video-play-spinner 700ms linear infinite;
}

@keyframes match-video-play-spinner {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ivs-player-loading .match-video-play-icon {
		animation: none;
	}
}

.match-video-hint {
	margin-top: 10px;
	font-size: 0.95rem;
}

.ivs-player-ready .match-video-hint {
	display: none;
}

.ivs-player-error .match-video-hint {
	color: #d9534f;
}

.ivs-player-active .match-video-overlay {
	display: none;
}

.ivs-player-active .match-video-poster {
	display: none;
}

.ivs-player-ended .match-video-play-btn {
	display: none;
}

.ivs-player-ended .match-video-play-row {
	display: none;
}

.ivs-player-ended .match-video-overlay-hint {
	margin-top: 0;
}

.match-video-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 24px;
	background: radial-gradient(circle at top, rgba(31, 41, 55, 0.78), rgba(0, 0, 0, 0.94) 58%);
	color: #fff;
	text-align: center;
}

.match-video-frame--has-snapshot {
	background: #000;
}

.match-video-state-snapshot {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.78) saturate(1.05);
}

.match-video-frame--has-snapshot .match-video-state {
	position: relative;
	z-index: 1;
	background: linear-gradient(90deg, rgba(3, 7, 12, 0.92), rgba(3, 7, 12, 0.62));
}

.match-video-state--purchase {
	align-items: stretch;
	justify-content: flex-start;
	gap: 10px;
	min-height: 0;
	padding: 16px 20px;
	text-align: left;
}

.match-video-state-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: #fff;
	text-align: left;
}

.match-video-state--purchase .match-video-state-header {
	justify-content: flex-start;
}

.match-video-frame--has-snapshot .match-video-state-header {
	align-self: flex-start;
	background: transparent;
	box-shadow: none;
	padding: 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.match-video-frame--has-snapshot .match-video-state-icon {
	color: var(--match-video-accent, #6366f1);
}

.match-video-frame--has-snapshot .match-video-state-text {
	color: rgba(255, 255, 255, 0.86);
}

.match-video-state-icon {
	flex: 0 0 auto;
	color: rgba(255, 255, 255, 0.82);
	font-size: 20px;
}

.match-video-state-title {
	margin: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

.match-video-state-text {
	margin: 2px 0 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 12px;
	line-height: 1.35;
}

.match-video-purchase-notice {
	border: 1px solid rgba(245, 158, 11, 0.46);
	border-radius: 999px;
	background: rgba(120, 53, 15, 0.62);
	color: #fde68a;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	padding: 4px 8px;
	text-transform: uppercase;
	width: fit-content;
}

.match-video-frame--has-snapshot .match-video-purchase-notice {
	background: rgba(92, 38, 10, 0.94);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.match-video-purchase-actions {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: 0;
	overflow: auto;
}

.match-video-purchase-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 9px 2px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.match-video-frame--has-snapshot .match-video-purchase-option {
	border: 1px solid rgba(148, 163, 184, 0.42);
	border-radius: 2px;
	background: rgba(3, 7, 12, 0.8);
	box-shadow: none;
	padding: 13px 16px;
}

.match-video-purchase-option--featured {
	border: 1.5px solid rgba(99, 102, 241, 0.6);
	border-radius: 8px;
	background: rgba(99, 102, 241, 0.12);
	padding: 11px 14px;
	margin-bottom: 2px;
}

.match-video-frame--has-snapshot .match-video-purchase-option--featured {
	border-color: var(--match-video-accent, #6366f1);
	background: rgba(3, 7, 12, 0.88);
}

.match-video-frame--has-snapshot .match-video-purchase-title,
.match-video-frame--has-snapshot .match-video-purchase-price {
	color: #fff;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.match-video-frame--has-snapshot .match-video-purchase-meta {
	color: rgba(255, 255, 255, 0.78);
}

.match-video-purchase-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.match-video-purchase-title {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.match-video-purchase-meta {
	color: rgba(255, 255, 255, 0.55);
	font-size: 11px;
	line-height: 1.3;
}

.match-video-purchase-meta {
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
}

.match-video-purchase-meta-part {
	min-width: 0;
}

.match-video-purchase-action {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
}

.match-video-purchase-price {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.match-video-purchase-option--featured .match-video-purchase-price {
	font-size: 14px;
}

.match-video-purchase-btn--featured {
	background: #4f46e5;
	border: 1px solid #4f46e5;
	border-radius: 5px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 5px 12px;
	white-space: nowrap;
}

.match-video-purchase-btn--featured:hover,
.match-video-purchase-btn--featured:focus {
	background: #6366f1;
	border-color: #6366f1;
	color: #fff;
}

.match-video-purchase-btn--secondary {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 4px;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	white-space: nowrap;
}

.match-video-purchase-btn--secondary:hover,
.match-video-purchase-btn--secondary:focus {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.match-video-frame--purchase {
	aspect-ratio: auto;
	min-height: min(56.25vw, 540px);
}

.match-video-frame--purchase .match-video-state--purchase {
	justify-content: center;
	gap: 18px;
	padding: clamp(24px, 5vw, 64px);
	background: linear-gradient(90deg, rgba(3, 7, 12, 0.92), rgba(3, 7, 12, 0.62));
}

.match-video-frame--purchase .match-video-state--purchase .match-video-state-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--match-video-accent, #6366f1);
	border-radius: 50%;
	color: var(--match-video-accent, #6366f1);
	font-size: 18px;
}

.match-video-frame--purchase .match-video-state--purchase .match-video-state-title {
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.1;
}

.match-video-frame--purchase .match-video-state--purchase .match-video-state-text {
	margin-top: 5px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 14px;
	line-height: 1.4;
}

.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-actions {
	gap: 8px;
	overflow: visible;
}

.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-option {
	gap: 20px;
	min-height: 68px;
	padding: 13px 16px;
	border: 1px solid rgba(148, 163, 184, 0.42);
	border-radius: 2px;
	background: rgba(3, 7, 12, 0.8);
	box-shadow: none;
}

.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-option--featured {
	border-color: var(--match-video-accent, #6366f1);
	border-left-width: 4px;
	background: rgba(3, 7, 12, 0.88);
	margin: 0;
	padding-left: 13px;
}

.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-title {
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.25;
	text-transform: uppercase;
}

.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-meta {
	margin-top: 3px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	line-height: 1.35;
}

.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-action {
	gap: 18px;
}

.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-price {
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}

.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-option--featured .match-video-purchase-price {
	font-size: 20px;
}

.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-btn--featured,
.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-btn--secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	min-height: 44px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	padding: 10px 14px;
	text-align: center;
}

.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-btn--featured {
	border-color: var(--match-video-accent, #6366f1);
	background: var(--match-video-play-bg, #4f46e5);
	color: var(--match-video-play-fg, #fff);
}

.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-btn--featured:hover,
.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-btn--featured:focus {
	border-color: var(--match-video-accent, #6366f1);
	background: var(--match-video-play-bg-hover, #6366f1);
	color: var(--match-video-play-fg, #fff);
}

.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-btn--secondary {
	border-color: rgba(203, 213, 225, 0.62);
	background: transparent;
}

.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-btn--secondary:hover,
.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-btn--secondary:focus {
	border-color: var(--match-video-accent, #6366f1);
	background: rgba(255, 255, 255, 0.1);
}

.match-video-actions--download-purchase {
	align-items: center;
	gap: 10px;
	justify-content: flex-start;
	margin: 8px auto 16px;
	padding-bottom: 8px;
}

.match-video-actions--download-purchase .match-video-purchase-notice {
	align-self: center;
	background: rgba(120, 53, 15, 0.62);
	border-color: rgba(245, 158, 11, 0.46);
	box-shadow: none;
	color: #fde68a;
	flex: 0 0 auto;
	line-height: 1.2;
	padding: 5px 10px;
}

.match-video-actions--download-purchase .match-video-purchase-actions {
	flex: 1 1 100%;
	gap: 8px;
	max-width: none;
	overflow: visible;
}

.match-video-actions--download-purchase .match-video-purchase-option,
.match-video-actions--download-purchase .match-video-purchase-option--featured {
	gap: 20px;
	min-height: 68px;
	background: rgba(3, 7, 12, 0.88);
	border: 1px solid rgba(148, 163, 184, 0.42);
	border-radius: 2px;
	box-shadow: none;
	margin: 0;
	padding: 13px 16px;
}

.match-video-actions--download-purchase .match-video-purchase-option--featured {
	border-color: var(--match-video-accent, #6366f1);
	border-left-width: 4px;
	padding-left: 13px;
}

.match-video-actions--download-purchase .match-video-purchase-title {
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.25;
	text-transform: uppercase;
}

.match-video-actions--download-purchase .match-video-purchase-meta {
	margin-top: 3px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	line-height: 1.35;
}

.match-video-actions--download-purchase .match-video-purchase-price,
.match-video-actions--download-purchase .match-video-purchase-option--featured .match-video-purchase-price {
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
}

.match-video-actions--download-purchase .match-video-purchase-action {
	gap: 18px;
}

.match-video-actions--download-purchase .match-video-purchase-btn--featured,
.match-video-actions--download-purchase .match-video-purchase-btn--secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	min-height: 44px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	padding: 10px 14px;
	text-align: center;
}

.match-video-actions--download-purchase .match-video-purchase-btn--featured {
	border-color: var(--match-video-accent, #6366f1);
	background: var(--match-video-play-bg, #4f46e5);
	color: var(--match-video-play-fg, #fff);
}

.match-video-actions--download-purchase .match-video-purchase-btn--featured:hover,
.match-video-actions--download-purchase .match-video-purchase-btn--featured:focus {
	border-color: var(--match-video-accent, #6366f1);
	background: var(--match-video-play-bg-hover, #6366f1);
	color: var(--match-video-play-fg, #fff);
}

.match-video-actions--download-purchase .match-video-purchase-btn--secondary {
	border-color: rgba(203, 213, 225, 0.62);
	background: transparent;
	color: #fff;
}

.match-video-actions--download-purchase .match-video-purchase-btn--secondary:hover,
.match-video-actions--download-purchase .match-video-purchase-btn--secondary:focus {
	border-color: var(--match-video-accent, #6366f1);
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.payment-checkout-modal .modal-dialog {
	width: min(720px, calc(100% - 24px));
	margin: 24px auto;
}

.payment-checkout-modal .modal-content {
	border: 0;
	border-radius: 8px;
	overflow: hidden;
}

.payment-checkout-modal .modal-header {
	border-bottom: 1px solid #e5e7eb;
	padding: 12px 16px;
}

.payment-checkout-modal .modal-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

.payment-checkout-modal .modal-body {
	max-height: calc(100vh - 120px);
	overflow: auto;
	padding: 0;
}

.payment-checkout-modal__loading {
	color: #6b7280;
	padding: 24px;
	text-align: center;
}

.payments-checkout-shell {
	max-width: 760px;
	margin: 0 auto;
}

.payments-checkout-card {
	background: #fff;
	padding: 20px;
}

.payments-checkout-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.payments-checkout-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 4px;
}

.payments-checkout-subtitle {
	color: #6b7280;
	font-size: 14px;
	line-height: 1.4;
}

.payments-checkout-mode {
	border-radius: 12px;
	color: #fff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 5px 9px;
}

.payments-checkout-mode--test {
	background: #767676;
}

.payments-checkout-context,
.payments-checkout-meta {
	background: #f8fafc;
	border: 1px solid #d9e1ea;
	border-radius: 4px;
	margin-bottom: 14px;
	padding: 10px 12px;
}

.payments-checkout-meta {
	color: #4b5563;
	font-weight: 600;
}

.payments-checkout-summary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

.payments-checkout-summary-card {
	border: 1px solid #d9e1ea;
	border-radius: 4px;
	padding: 12px;
}

.payments-checkout-summary-label {
	color: #6b7280;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.payments-checkout-summary-value {
	color: #1f2933;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.payment-checkout-modal .payments-compliance-card,
.payments-checkout-fragment .payments-compliance-card {
	font-size: 12px;
	line-height: 1.35;
	margin-bottom: 14px;
	margin-top: 18px;
	padding: 12px 14px;
}

.payments-checkout-fragment .payments-compliance-card__summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	list-style: none;
}

.payments-checkout-fragment .payments-compliance-card__summary::-webkit-details-marker {
	display: none;
}

.payments-checkout-fragment .payments-compliance-card__toggle {
	color: #2c75bb;
	font-weight: 700;
	white-space: nowrap;
}

.payments-checkout-fragment .payments-compliance-card__body {
	margin-top: 10px;
}

.payments-checkout-fragment .payments-compliance-card p {
	margin: 0 0 6px;
}

.payments-checkout-no-margin {
	margin-bottom: 0 !important;
}

.payments-checkout-consent {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 10px;
	margin-bottom: 16px;
}

.payments-checkout-consent input[type="checkbox"] {
	margin: 2px 0 0;
}

.payments-checkout-consent label {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	margin: 0;
}

.payments-checkout-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

@media screen and (max-width: 767px) {
	.match-video-wrapper {
		margin-left: 0;
		margin-right: 0;
	}

	.match-video-player {
		border-radius: 10px;
		padding: 10px;
	}

	.match-video-play-btn {
		width: 100%;
		justify-content: center;
		font-size: 0.95rem;
	}

	.match-video-play-row {
		gap: 20px;
		width: 100%;
	}

	.match-video-play-row .match-video-play-btn {
		width: auto;
		padding: 10px 14px;
	}

	.match-video-team {
		gap: 8px;
	}

	.match-video-team-logo {
		width: 50px;
		height: 50px;
	}

	.match-video-team-name {
		max-width: 27vw;
		font-size: 1.2rem;
	}

	.match-video-overlay-hint {
		font-size: 0.9rem;
	}

	.match-video-browser-warning {
		max-width: 100%;
		font-size: 0.85rem;
	}

	.match-video-state--purchase {
		padding: 14px 14px 16px;
	}

	.match-video-frame--purchase {
		aspect-ratio: auto;
		height: auto;
		min-height: 420px;
	}

	.match-video-state--purchase .match-video-state-text {
		display: none;
	}

	.match-video-state--purchase .match-video-state-icon {
		font-size: 16px;
	}

	.match-video-frame--purchase .match-video-state--purchase {
		gap: 16px;
		min-height: 420px;
		padding: 22px 16px;
	}

	.match-video-frame--purchase .match-video-state--purchase .match-video-state-text {
		display: block;
	}

	.match-video-frame--purchase .match-video-state--purchase .match-video-state-icon {
		width: 42px;
		height: 42px;
		font-size: 16px;
	}

	.match-video-frame--purchase .match-video-state--purchase .match-video-state-title {
		font-size: 24px;
	}

	.match-video-purchase-actions {
		width: 100%;
	}

	.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-option {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 10px 14px;
		padding: 13px 14px;
	}

	.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-option--featured,
	.match-video-frame--has-snapshot .match-video-purchase-option {
		padding: 13px 14px;
	}

	.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-option--featured {
		padding-left: 11px;
	}

	.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-copy {
		grid-column: 1;
		overflow: visible;
	}

	.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-title,
	.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-meta {
		overflow: visible;
		text-overflow: clip;
		white-space: normal;
	}

	.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-meta-part--type,
	.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-meta-part--scope {
		flex: 0 1 auto;
		overflow: visible;
		text-overflow: clip;
		white-space: normal;
	}

	.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-action {
		display: contents;
	}

	.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-price {
		grid-column: 2;
		grid-row: 1;
		align-self: center;
	}

	.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-btn--featured,
	.match-video-frame--purchase .match-video-state--purchase .match-video-purchase-btn--secondary {
		grid-column: 1 / -1;
		width: 100%;
	}

	.match-video-actions--download-purchase {
		align-items: stretch;
		gap: 8px;
	}

	.match-video-actions--download-purchase .match-video-purchase-notice {
		align-self: flex-start;
	}

	.match-video-actions--download-purchase .match-video-purchase-actions {
		flex-basis: 100%;
		max-width: none;
	}

	.match-video-actions--download-purchase .match-video-purchase-option,
	.match-video-actions--download-purchase .match-video-purchase-option--featured {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 10px 14px;
		padding: 13px 14px;
	}

	.match-video-actions--download-purchase .match-video-purchase-option--featured {
		padding-left: 11px;
	}

	.match-video-actions--download-purchase .match-video-purchase-copy {
		grid-column: 1;
		overflow: visible;
	}

	.match-video-actions--download-purchase .match-video-purchase-action {
		display: contents;
	}

	.match-video-actions--download-purchase .match-video-purchase-price {
		grid-column: 2;
		grid-row: 1;
		align-self: center;
	}

	.match-video-actions--download-purchase .match-video-purchase-btn--featured,
	.match-video-actions--download-purchase .match-video-purchase-btn--secondary {
		grid-column: 1 / -1;
		width: 100%;
	}

	.match-video-actions--download-purchase .match-video-purchase-title,
	.match-video-actions--download-purchase .match-video-purchase-meta {
		white-space: normal;
	}

	.match-video-actions--download-purchase .match-video-purchase-meta {
		flex-wrap: wrap;
	}

	.payment-checkout-modal .modal-dialog {
		width: calc(100% - 16px);
		margin: 8px auto;
	}

	.payment-checkout-modal .modal-body {
		max-height: calc(100vh - 72px);
		padding: 0;
	}

	.payments-checkout-card {
		padding: 14px;
	}

	.payments-checkout-header,
	.payments-checkout-summary {
		grid-template-columns: 1fr;
	}

	.payments-checkout-summary {
		display: grid;
	}

    .match-parts-wrapper .match-part-column .match-part-cell {
        padding: 6px 10px;
        min-width: 30px;
    }

    .match-parts-header {
        padding: 10px 12px;
    }

    .match-parts-header h4 {
        font-size: 14px;
    }

    .match-parts-wrapper .match-part-column .team-name {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .match-parts-wrapper {
        border-radius: 6px;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
		font-size: 1rem;
    }

    .match-parts-wrapper .match-part-column .match-part-cell {
        padding: 5px 8px;
        min-width: 25px;
        font-size: 11px;
    }
}

@media screen and (max-width: 350px) {
    .match-parts-wrapper .match-part-column .match-part-cell {
        padding: 4px 5px;
        min-width: 20px;
    }
}

.match-summary {
	margin-top: 12px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	background: #0f172a;
	color: #e8edf5;
}

.match-summary__teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
	gap: 12px;
	padding: 12px 18px 0;
	background: #fff;
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
}

.match-summary__team--away {
	grid-column: 3;
	text-align: right;
}

.match-summary__timeline {
	background: #fff;
	color: #0f172a;
	padding: 14px 18px 16px;
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.match-summary__timeline::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 14px;
	bottom: 16px;
	width: 2px;
	background: #e5e7eb;
	transform: translateX(-50%);
}

.match-summary__event {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
	grid-template-areas: "home time away";
	align-items: center;
	justify-items: stretch;
	position: relative;
	margin-bottom: 12px;
	z-index: 1;
	gap: 12px;
	width: 100%;
}

.match-summary__event:last-child {
	margin-bottom: 0;
}

.match-summary__event--comment {
	grid-template-columns: 1fr;
}

.match-summary__event-time {
	font-size: 13px;
	color: #0f172a;
	text-align: center;
	grid-area: time;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 54px;
	padding: 6px 10px;
	border-radius: 14px;
	background: #f5f7ff;
	border: 1px solid #dbe3ff;
	box-shadow: 0 6px 12px rgba(15, 23, 42, 0.08);
	font-weight: 700;
	letter-spacing: 0.2px;
}

.match-summary__event--home .match-summary__event-time,
.match-summary__event--away .match-summary__event-time {
	justify-self: center;
}

.match-summary__event--shootout .match-summary__event-time {
	display: none;
}

.match-summary__event-card {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
	grid-area: home;
	justify-self: normal;
	min-width: 0;
}

.match-summary__event-card--comment {
	grid-column: 1 / -1;
	background: #f1f5f9;
}

.match-summary__event-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(15, 122, 229, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}

.match-summary__event-icon .match-event-icon {
	font-size: 20px;
}

.match-summary__event-icon .match-event-icon.text-warning,
.match-players-table__event-icon--yellow-card .match-event-icon {
	color: var(--match-yellow-card-color, #e5b800);
}

.match-summary__event-icon .match-event-icon--red-card,
.match-players-table__event-icon--red-card .match-event-icon {
	color: var(--match-red-card-color, #e02020);
}

.match-summary__event-icon img {
	max-height: 20px;
	width: 20px;
	object-fit: contain;
}

.match-summary__event-icon-letter {
	color: #475569;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
}

.match-summary__event-body {
	flex: 1;
}

.match-summary__event-text {
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
}

.match-summary__substitution {
	display: grid;
	gap: 5px;
}

.match-summary__substitution-title {
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.match-summary__substitution-row {
	display: flex;
	align-items: baseline;
	gap: 7px;
	min-width: 0;
}

.match-summary__substitution-direction {
	flex: 0 0 auto;
	min-width: 34px;
	padding: 2px 6px;
	border: 1px solid;
	border-radius: 6px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.match-summary__substitution-direction--in {
	background: #dcfce7;
	border-color: #bbf7d0;
	color: #166534;
}

.match-summary__substitution-direction--out {
	background: #fee2e2;
	border-color: #fecaca;
	color: #991b1b;
}

.match-summary__substitution-player {
	min-width: 0;
	overflow-wrap: anywhere;
}

.match-summary__event-card--away .match-summary__substitution-row {
	justify-content: flex-end;
}

.match-summary__event-score {
	background: #0f172a;
	color: #fff;
	min-width: 58px;
	padding: 7px 12px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	font-weight: 800;
	font-size: 15px;
	line-height: 1;
	text-align: center;
	font-variant-numeric: tabular-nums;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.24);
	flex-shrink: 0;
}

.match-summary__event-card--away {
	flex-direction: row-reverse;
}

.match-summary__event-card--away .match-summary__event-body {
	text-align: right;
}

.match-summary__event--home .match-summary__event-card {
	grid-area: home;
}

.match-summary__event--away .match-summary__event-card {
	grid-area: away;
}

.match-summary__divider {
	position: relative;
	text-align: center;
	margin: 16px 0;
	z-index: 1;
}

.match-summary__divider span {
	background: #fff;
	padding: 4px 10px;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	font-size: 12px;
	font-weight: 600;
	color: #0f172a;
}

.match-summary__divider::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: #e5e7eb;
	z-index: -1;
}

.match-summary__empty {
	text-align: center;
	padding: 18px 0;
	color: #6b7280;
	font-size: 13px;
	font-weight: 500;
}

.match-summary__team-name-mobile {
	display: none;
}

@media (max-width: 767px) {
	.match-summary__teams {
		display: none;
	}

	.match-summary__timeline::before {
		left: 30px;
		transform: none;
	}

	.match-summary__event {
		grid-template-columns: 60px 1fr;
		grid-template-areas: "time card";
		gap: 3px;
		margin-bottom: 10px;
	}

	.match-summary__event-time {
		grid-column: 1 / 2;
		grid-area: time;
		text-align: left;
		justify-self: flex-start;
		font-size: 12px;
		min-width: 48px;
		padding: 4px 8px;
	}

	.match-summary__event--home .match-summary__event-card,
	.match-summary__event--away .match-summary__event-card {
		grid-column: 2 / 3;
		grid-area: card;
		margin: 0;
		padding: 10px;
		justify-self: stretch;
		position: relative;
		flex-direction: row;
		align-items: center;
		gap: 2px 6px;
		flex-wrap: wrap;
	}

	.match-summary__event-card--away {
		flex-direction: row;
	}

	.match-summary__event-card--away .match-summary__event-body {
		text-align: left;
	}

	.match-summary__event-card--away .match-summary__substitution-row {
		justify-content: flex-start;
	}

	.match-summary__team-name-mobile {
		display: block;
		margin-top: 4px;
		font-size: 11px;
		font-weight: 700;
		color: #6b7280;
		line-height: 1.2;
		text-align: left;
		width: 100%;
		flex: 0 0 100%;
		order: 3;
	}

	.match-summary__timeline {
		padding: 3px;
	}
}

#match-players {
	display: flex;
	gap: 4px;
}

.match-players-card {
	position: relative;
	margin-bottom: 16px;
	padding: 12px 15px;
	background: linear-gradient(180deg, #fff, #f8fafc);
	border: 1px solid #e9ecef;
	border-radius: 12px;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.match-players-card__header {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.match-players-card__team-name {
	font-weight: 700;
	font-size: 18px;
	color: #1f2937;
	line-height: 1.3;
}

.match-players-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.match-players-card__section {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.match-players-card__section-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 700;
	font-size: 14px;
	color: #1f2937;
	margin-bottom: 8px;
}

.match-players-card__table-wrapper {
	border: 1px solid #eef1f4;
	border-radius: 10px;
	overflow: hidden;
}

.match-players-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	background: linear-gradient(180deg, #fff, #f8fafc);
	table-layout: fixed;
}

.match-players-table thead th {
	background: #f1f3f5;
	color: #495057;
	font-size: 12px;
	letter-spacing: 0.01em;
	padding: 10px 12px;
	border-bottom: 1px solid #e5e7eb;
	font-weight: 700;
}

.match-players-table tbody td {
	padding: 10px 12px;
	border-bottom: 1px solid #f1f3f5;
	vertical-align: middle;
	font-size: 13px;
	color: #212529;
}

.match-players-table tbody tr:last-child td {
	border-bottom: none;
}

.match-players-table__number {
	width: 54px;
	text-align: center;
	font-weight: 700;
	color: #334155;
}

.match-players-table__name {
	text-align: left;
}

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

.match-players-table__events {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.match-players-table__event-icon {
	display: inline-flex;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.match-players-table__event-icon .match-event-icon {
	font-size: 16px;
}

.match-players-table__substitution {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 6px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

.match-players-table__substitution--in {
	color: #146c43;
	background: #eaf7f0;
	border-color: #a9ddc3;
}

.match-players-table__substitution--out {
	color: #b42318;
	background: #fff1f0;
	border-color: #f0b7b2;
}

.match-players-table__substitution-time {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

.match-players-table .match-team-player-name a {
	font-weight: 700;
	color: #0d6efd;
	text-decoration: none;
}

.match-players-table .match-team-player-name a:hover {
	color: #0a58ca;
	text-decoration: underline;
}

.custom-event-card {
	--custom-event-accent: #6b7280;
	--custom-event-tint: #f8fafc;
	background-color: #fff;
	border: 1px solid #b0b7c3;
	border-left: 3px solid var(--custom-event-accent);
	border-radius: 6px;
	margin: 0.5rem 0;
	overflow: hidden;
	position: relative;
}

.custom-event-card--meal {
	--custom-event-accent: #d97706;
	--custom-event-tint: #fff7ed;
}

.custom-event-card--ceremony {
	--custom-event-accent: #7c3aed;
	--custom-event-tint: #f5f3ff;
}

.custom-event-card--meeting {
	--custom-event-accent: #2563eb;
	--custom-event-tint: #eff6ff;
}

.custom-event-card--travel {
	--custom-event-accent: #0891b2;
	--custom-event-tint: #ecfeff;
}

.custom-event-card--break {
	--custom-event-accent: #16a34a;
	--custom-event-tint: #f0fdf4;
}

.custom-event-card--other {
	--custom-event-accent: #64748b;
	--custom-event-tint: #f8fafc;
}

.custom-event-card--embedded {
	margin: 0;
}

.custom-event-card__header {
	background: var(--custom-event-tint);
	border-bottom: 1px solid #f0f0f0;
}

.custom-event-summary {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.custom-event-card__time {
	color: #374151;
	font-weight: 500;
	white-space: nowrap;
}

.custom-event-card__type {
	color: #5e5d5d;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
}

.custom-event-summary__type {
	background: var(--custom-event-tint, #e5e7eb);
	border: 1px solid var(--custom-event-accent, #6b7280);
	border-radius: 999px;
	color: var(--custom-event-accent, #111827);
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	padding: 3px 8px;
	text-transform: uppercase;
}

.custom-event-card.match-container .custom-event-card__body,
.custom-event-card__body {
	align-items: flex-start;
	display: flex;
	gap: 10px;
	min-height: 64px;
	padding: 10px;
}

.custom-event-card__marker {
	align-items: center;
	background: var(--custom-event-tint);
	border: 1px solid var(--custom-event-accent);
	border-radius: 4px;
	color: var(--custom-event-accent);
	display: inline-flex;
	flex: 0 0 28px;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.custom-event-card__marker-icon {
	font-size: 13px;
	line-height: 1;
}

.custom-event-card__main {
	flex: 1;
	min-width: 0;
}

.custom-event-card__title,
.custom-event-summary__title {
	color: #111827;
	font-size: 14px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.custom-event-card__description,
.custom-event-summary__description {
	color: #4b5563;
	font-size: 13px;
	line-height: 1.35;
	margin-top: 4px;
	overflow-wrap: anywhere;
	white-space: pre-line;
}

.table > tbody > tr.list-match-row--custom-event > td.custom-event-row__card-cell {
	background: transparent;
	padding: 4px 8px;
}

.table > tbody > tr.match-row--finished > td {
	background-color: #f6f7f9;
	color: #6b7280;
}

.table > tbody > tr.match-row--finished > td:first-child {
	border-left: 4px solid #9ca3af;
}

.table > tbody > tr.match-row--finished a {
	color: #6b7280;
}

.table > tbody > tr.match-row--finished .badge {
	background-color: #9ca3af;
}

.match-row--custom-event .custom-event-row__content {
	color: #111827;
}

@media (max-width: 767px) {
	#match-players {
		flex-direction: column;
		gap: 24px;
	}

	#match-players .match-players-card {
		margin: 0;
		padding: 0;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.match-players-card__header {
		margin-bottom: 8px;
		padding: 0 2px;
	}

	.match-players-card__body {
		gap: 10px;
	}

	.match-players-card__section {
		border-radius: 8px;
	}

	.match-players-card__section-title {
		gap: 7px;
		margin-bottom: 6px;
		padding: 0 4px;
		font-size: 13px;
	}

	.match-players-card__table-wrapper {
		border-radius: 8px;
	}

	.match-players-table thead th,
	.match-players-table tbody td {
		padding: 8px 6px;
		font-size: 12px;
	}

	.match-players-table__number {
		width: 38px;
	}

	.match-players-table__player {
		gap: 4px 6px;
	}

	.match-players-table__events {
		gap: 2px;
	}

	.match-players-table__substitution {
		padding: 2px 5px;
	}
}

.match-part-serve-icon {
	margin-right: 5px;
	font-size: 14px;
	vertical-align: middle;
}

.tennis-match-score-label {
	margin-bottom: 2px;
	color: #5f6b75;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
}

.tennis-match-parts {
	overflow-x: auto;
}

.tennis-match-parts .match-parts-content {
	box-sizing: border-box;
	width: max-content;
	min-width: 100%;
}

.tennis-match-parts .match-part-column {
	flex: 0 0 auto;
}

.tennis-match-parts .match-part-column:not(:first-child):not(.total-column) .match-part-cell {
	min-width: 34px;
}

.tennis-match-parts .match-part-column:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	min-width: 140px;
	background: #fff;
}

.tennis-match-parts .team-name {
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tennis-match-parts__points {
	background: #edf6fc;
	font-weight: 700;
}

.tennis-match-parts__match-tiebreak {
	background: #eaf5f0;
	font-weight: 700;
}

.tennis-match-parts__match-tiebreak abbr {
	border: 0;
	text-decoration: none;
}

.tennis-match-parts .total-column .match-part-header {
	min-width: 56px;
}
