/* FACEIT average Elo in team and match headers. */
body.cs2day-v2 .cs2-faceit-elo-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	width: max-content;
	max-width: 100%;
	padding: 4px 9px 4px 5px;
	border: 1px solid color-mix(in srgb, #ff5500 45%, var(--cs2-border));
	border-radius: 5px;
	background: color-mix(in srgb, var(--cs2-bg) 88%, #ff5500 12%);
	box-shadow: 0 6px 16px rgb(0 0 0 / 18%);
	color: var(--cs2-text);
	text-align: left;
}
body.cs2day-v2 .cs2-faceit-elo-badge > img {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	object-fit: contain;
}
body.cs2day-v2 .cs2-faceit-elo-badge > span {
	display: grid;
	gap: 1px;
	min-width: 0;
}
body.cs2day-v2 .cs2-faceit-elo-badge small,
body.cs2day-v2 .cs2-faceit-elo-badge strong {
	display: block;
	font-size: 10px;
	line-height: 1.1;
	white-space: nowrap;
}
body.cs2day-v2 .cs2-faceit-elo-badge small {
	color: var(--cs2-text-muted);
	font-weight: 700;
	text-transform: uppercase;
}
body.cs2day-v2 .cs2-faceit-elo-badge strong {
	font-size: 12px;
}
body.cs2day-v2 .cs2-detail--team .cs2-detail-hero__media {
	position: relative;
}
body.cs2day-v2 .cs2-detail--team .cs2-detail-hero__media > .cs2-faceit-elo-badge {
	position: absolute;
	right: 50%;
	bottom: -8px;
	transform: translateX(50%);
}
body.cs2day-v2 .cs2-match-hero__team {
	grid-template-rows: 138px auto auto;
}
body.cs2day-v2 .cs2-match-hero__team > .cs2-faceit-elo-badge {
	display: inline-flex;
	margin-top: 2px;
}
body.cs2day-v2 .cs2-match-hero__team > .cs2-match-hero__legacy-score {
	display: none;
}
body.cs2day-v2 .cs2-match-hero__team .cs2-faceit-elo-badge strong {
	font-size: 12px;
	line-height: 1.1;
}
@media (max-width: 820px) {
	body.cs2day-v2 .cs2-match-hero__team {
		grid-template-rows: 82px auto auto;
	}
	body.cs2day-v2 .cs2-match-hero__team > .cs2-faceit-elo-badge {
		gap: 4px;
		padding: 3px 6px 3px 3px;
	}
	body.cs2day-v2 .cs2-match-hero__team .cs2-faceit-elo-badge > img {
		width: 24px;
		height: 24px;
		flex-basis: 24px;
	}
	body.cs2day-v2 .cs2-match-hero__team .cs2-faceit-elo-badge small {
		display: none;
	}
	body.cs2day-v2 .cs2-match-hero__team .cs2-faceit-elo-badge strong {
		font-size: 10px;
	}
}
@media (max-width: 520px) {
	body.cs2day-v2 .cs2-match-hero__team {
		grid-template-rows: 68px auto auto;
	}
	body.cs2day-v2 .cs2-match-hero__team .cs2-faceit-elo-badge > img {
		width: 21px;
		height: 21px;
		flex-basis: 21px;
	}
	body.cs2day-v2 .cs2-match-hero__team .cs2-faceit-elo-badge strong {
		font-size: 9px;
	}
}
