/* Tournament match readability and cast emphasis. */
body.cs2day-v2 .cs2-tournament-rounds {
	gap: 18px;
}

body.cs2day-v2 .cs2-tournament-round {
	gap: 12px;
	padding: 14px;
}

body.cs2day-v2 .cs2-tournament-match-list,
body.cs2day-v2 .cs2-tournament-round .cs2-tournament-match-list {
	gap: 11px;
}

body.cs2day-v2 .cs2-tournament-match-row {
	min-height: 62px;
	padding: 13px 14px;
	border: 1px solid color-mix(in srgb, var(--cs2-border) 78%, transparent);
}

body.cs2day-v2 .cs2-tournament-match-list--urgent {
	gap: 10px;
	padding: 10px;
	overflow: visible;
	background: color-mix(in srgb, var(--cs2-surface, #121c26) 88%, #071018 12%);
}

body.cs2day-v2 .cs2-tournament-match-list--urgent .cs2-tournament-match-row {
	border-radius: 7px;
}

body.cs2day-v2 .cs2-tournament-match-list--urgent .cs2-tournament-match-row + .cs2-tournament-match-row {
	border-top: 1px solid color-mix(in srgb, var(--cs2-border) 78%, transparent);
}

body.cs2day-v2 .cs2-tournament-match-list--urgent .cs2-tournament-match-row.has-cast-column {
	grid-template-columns: 108px minmax(0, 1fr) 70px minmax(0, 1fr) minmax(150px, 190px);
}

body.cs2day-v2 .cs2-tournament-match-row__cast {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 8px 10px;
	border: 1px solid color-mix(in srgb, #9146ff 58%, var(--cs2-border) 42%);
	border-radius: 7px;
	background: color-mix(in srgb, #9146ff 13%, var(--cs2-surface-raised, #182431) 87%);
}

body.cs2day-v2 .cs2-tournament-match-row__cast svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: #b892ff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body.cs2day-v2 .cs2-tournament-match-row__cast > span {
	display: grid;
	gap: 1px;
	min-width: 0;
}

body.cs2day-v2 .cs2-tournament-match-row__cast small {
	color: #cbb5ff;
	font-size: 9px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

body.cs2day-v2 .cs2-tournament-match-row__cast strong {
	overflow: hidden;
	color: var(--cs2-text, #f8fafc);
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.cs2day-v2 .cs2-tournament-match-row__cast.is-empty {
	border-color: color-mix(in srgb, var(--cs2-border) 82%, transparent);
	background: color-mix(in srgb, var(--cs2-surface-raised, #182431) 82%, transparent);
	opacity: .72;
}

body.cs2day-v2 .cs2-tournament-match-row__cast.is-empty svg {
	stroke: var(--cs2-text-muted, #94a3b8);
}

body.cs2day-v2 .cs2-tournament-match-row__cast.is-empty small,
body.cs2day-v2 .cs2-tournament-match-row__cast.is-empty strong {
	color: var(--cs2-text-muted, #94a3b8);
}

@media (max-width: 1100px) {
	body.cs2day-v2 .cs2-tournament-match-list--urgent .cs2-tournament-match-row.has-cast-column {
		grid-template-columns: 1fr 58px 1fr;
	}

	body.cs2day-v2 .cs2-tournament-match-list--urgent .cs2-tournament-match-row.has-cast-column .cs2-tournament-match-row__time,
	body.cs2day-v2 .cs2-tournament-match-list--urgent .cs2-tournament-match-row.has-cast-column .cs2-tournament-match-row__cast {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	body.cs2day-v2 .cs2-tournament-round {
		padding: 11px;
	}

	body.cs2day-v2 .cs2-tournament-match-list--urgent {
		padding: 8px;
	}

	body.cs2day-v2 .cs2-tournament-match-row {
		padding: 11px;
	}
}
