/* Release 1.10.38: focused match-detail presentation refinements. */
body.cs2day-v2 .cs2-detail--match .cs2-match-lineup-player {
	grid-template-rows: auto auto auto;
	align-content: start;
}

body.cs2day-v2 .cs2-detail--match .cs2-match-lineup-player > img {
	display: block;
	width: 100%;
	height: auto;
	min-height: 108px;
	aspect-ratio: 9 / 13;
	object-fit: contain;
	object-position: center bottom;
	background: color-mix(in srgb, var(--cs2-bg) 78%, transparent);
}

body.cs2day-v2 .cs2-match-statistics-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

body.cs2day-v2 .cs2-match-statistics-pair > .cs2-detail-panel {
	min-width: 0;
	padding: 16px;
}

body.cs2day-v2 .cs2-match-statistics-pair .cs2-detail-panel__heading {
	margin-bottom: 12px;
}

body.cs2day-v2 .cs2-match-statistics-pair .cs2-match-team-map-stats {
	grid-template-columns: 1fr;
	gap: 8px;
}

body.cs2day-v2 .cs2-match-statistics-pair :is(.cs2-match-team-map-stats > article, .cs2-match-long-term) {
	background: linear-gradient(145deg, color-mix(in srgb, var(--cs2-card-elevated) 86%, var(--cs2-bg)), var(--cs2-bg-alt));
}

body.cs2day-v2 .cs2-match-statistics-pair :is(.cs2-match-team-map-stats article > header, .cs2-match-long-term > header) {
	min-height: 40px;
	padding: 7px 10px;
}

body.cs2day-v2 .cs2-match-team-map-stats__teams {
	gap: 8px;
	padding: 8px 10px 2px;
}

body.cs2day-v2 .cs2-match-team-map-stats__teams > span,
body.cs2day-v2 .cs2-match-stat-team {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
}

body.cs2day-v2 .cs2-match-team-map-stats__teams > span:last-child,
body.cs2day-v2 .cs2-match-stat-team--two {
	justify-content: flex-end;
	text-align: right;
}

body.cs2day-v2 .cs2-match-stat-team-logo {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	object-fit: contain;
}

body.cs2day-v2 .cs2-match-statistics-pair :is(.cs2-match-team-map-stats, .cs2-match-long-term) dl {
	padding: 2px 10px 7px;
}

body.cs2day-v2 .cs2-match-statistics-pair :is(.cs2-match-team-map-stats, .cs2-match-long-term) dl > div {
	min-height: 28px;
	background: transparent;
}

body.cs2day-v2 .cs2-match-statistics-pair :is(.cs2-match-team-map-stats, .cs2-match-long-term) dl > div:nth-child(even) {
	background: color-mix(in srgb, var(--cs2-bg) 52%, transparent);
}

body.cs2day-v2 .cs2-match-statistics-pair :is(.cs2-match-team-map-stats, .cs2-match-long-term) dd {
	font-size: 12px;
}

body.cs2day-v2 .cs2-match-maps--detail {
	gap: 12px;
}

body.cs2day-v2 .cs2-match-maps--detail > .cs2-match-map {
	min-height: 190px;
	padding: 12px;
	border-color: color-mix(in srgb, var(--cs2-border) 76%, white 8%);
	box-shadow: inset 0 -70px 55px rgba(2, 6, 9, .42), 0 10px 24px rgba(0, 0, 0, .14);
}

body.cs2day-v2 .cs2-match-maps--detail > .cs2-match-map > span {
	width: max-content;
	padding: 5px 9px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 4px;
	background: rgba(5, 10, 14, .78);
	backdrop-filter: blur(7px);
	color: rgba(255, 255, 255, .78);
	font-size: 10px;
	font-weight: 850;
	text-transform: uppercase;
}

body.cs2day-v2 .cs2-match-maps--detail > .cs2-match-map > div {
	align-items: center;
	padding: 10px 11px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 5px;
	background: rgba(5, 10, 14, .76);
	backdrop-filter: blur(8px);
}

body.cs2day-v2 .cs2-match-maps--detail .cs2-match-map__score {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 8px;
	border-radius: 4px;
	background: rgba(0, 0, 0, .42);
}

body.cs2day-v2 .cs2-match-map__score :is(i, em) {
	font-style: normal;
}

body.cs2day-v2 .cs2-match-map__score i.is-winner {
	color: var(--cs2-accent);
}

body.cs2day-v2 .cs2-match-engagement {
	justify-content: flex-end;
	gap: 6px;
	min-height: 45px;
	padding-top: 12px;
	border-top: 1px solid var(--cs2-border);
}

body.cs2day-v2 .cs2-match-engagement :is(.cs2-reactions, .cs2-card-actions) {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
}

body.cs2day-v2 .cs2-match-engagement :is(form, button, a) {
	margin: 0;
}

body.cs2day-v2 .cs2-match-engagement :is(.cs2-reaction, .cs2-bookmark-button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	min-width: 36px;
	height: 36px;
	min-height: 36px;
	padding: 0;
	border: 1px solid var(--cs2-border);
	border-radius: 5px;
	background: var(--cs2-card-elevated);
	color: var(--cs2-text-muted);
}

body.cs2day-v2 .cs2-match-engagement .cs2-reaction > span {
	display: none;
}

body.cs2day-v2 .cs2-match-engagement .cs2-reaction strong {
	color: currentColor;
	font-size: 11px;
}

body.cs2day-v2 .cs2-match-engagement :is(.cs2-reaction, .cs2-bookmark-button):is(:hover, :focus-visible, .is-active) {
	border-color: color-mix(in srgb, var(--cs2-accent) 55%, var(--cs2-border));
	color: var(--cs2-accent);
}

@media (max-width: 860px) {
	body.cs2day-v2 .cs2-match-statistics-pair {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	body.cs2day-v2 .cs2-detail--match .cs2-match-lineup-player > img {
		min-height: 96px;
	}

	body.cs2day-v2 .cs2-match-statistics-pair > .cs2-detail-panel {
		padding: 12px;
	}

	body.cs2day-v2 .cs2-match-maps--detail > .cs2-match-map {
		min-height: 175px;
	}
}
