.lv-avg {
	display: flex;
	align-items: flex-end;
	gap: 18px;
	margin-top: 18px;
}

.lv-avg-split {
	flex: 1;
	min-width: 0;
}

.lv-avg-label {
	margin-bottom: 7px;
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--mp-muted);
}

.lv-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin-top: 7px;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--mp-muted);
}

.lv-legend span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.lv-legend i {
	width: 9px;
	height: 9px;
	border-radius: 3px;
}

.lv-avg-kpis {
	flex: none;
	display: flex;
	gap: 16px;
}

.lv-kpi {
	text-align: right;
}

.lv-kpi b {
	display: block;
	font-size: 1.7rem;
	font-weight: 800;
	line-height: 1;
	color: #fff;
}

.lv-kpi span {
	display: block;
	margin-top: 3px;
	font-size: 0.66rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--mp-muted);
}

.lv-split {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.lv-split-vals {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: baseline;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.lv-split-vals .is-h {
	color: #ff4ba1;
}

.lv-split-vals .is-d {
	color: var(--mp-muted);
}

.lv-split-vals .is-a {
	text-align: right;
	color: #c084fc;
}

.lv-split-bar {
	display: flex;
	gap: 2px;
	height: 8px;
}

.lv-split-bar i {
	min-width: 2px;
}

.lv-split-bar i:first-child {
	border-radius: 99px 0 0 99px;
}

.lv-split-bar i:last-child {
	border-radius: 0 99px 99px 0;
}

.lv-split-none {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	border: 1px dashed var(--mp-line);
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	color: var(--mp-muted);
}

.lv-row.is-empty .lv-btts,
.lv-row.is-empty .lv-goals b {
	color: var(--mp-muted);
}

.lv-split-lg .lv-split-vals {
	font-family: "Bangers", cursive;
	font-weight: 400;
	font-size: 1.35rem;
	letter-spacing: 0.03em;
}

.lv-split-lg .lv-split-bar {
	height: 10px;
}

.lv-split-bar .is-h,
.lv-legend .is-h {
	background: linear-gradient(90deg, #ff4ba1, #ff2d86);
}

.lv-split-bar .is-d,
.lv-legend .is-d {
	background: rgba(255, 255, 255, 0.25);
}

.lv-split-bar .is-a,
.lv-legend .is-a {
	background: linear-gradient(90deg, #a855f7, #c084fc);
}

@media (max-width: 459.98px) {
	.lv-avg {
		flex-wrap: wrap;
	}

	.lv-avg-split {
		flex-basis: 100%;
	}

	.lv-avg-kpis {
		flex: 1;
		justify-content: space-around;
	}

	.lv-kpi {
		text-align: center;
	}
}

.lg-tabs a.gs-tab {
	text-decoration: none;
}

.lv-main {
	margin-bottom: 18px;
}

.lv-card {
	padding: 12px 12px 6px;
}

.lv-sort {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 8px;
	padding: 4px 4px 12px;
	overflow-x: auto;
	scrollbar-width: none;
	border-bottom: 1px solid var(--mp-line);
}

.lv-sort::-webkit-scrollbar {
	display: none;
}

.lv-sort-label {
	flex: none;
	margin-right: 2px;
	font-size: 0.66rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--mp-muted);
}

.lv-sort .gs-tab {
	flex: none;
	padding: 6px 10px;
	font-size: 0.74rem;
}

.lv-sort .gs-tab.is-on::after {
	content: "\2193";
	color: var(--mp-rose);
}

.lv-sort .gs-tab.is-asc::after {
	content: "\2191";
}

.lv-list {
	container-type: inline-size;
}

.lv-head {
	display: none;
}

.lv-rows {
	display: grid;
	gap: 10px;
}

.lv-row {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) auto;
	grid-template-areas:
		"logo name goals"
		"split split split"
		"btts btts btts";
	align-items: center;
	gap: 12px 10px;
	padding: 14px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.045);
	color: var(--mp-text);
	text-decoration: none;
	transition: background 0.15s ease;
}

a.lv-row[href]:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--mp-text);
	text-decoration: none;
}

.lv-logo {
	grid-area: logo;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.lv-name {
	grid-area: name;
	min-width: 0;
}

.lv-name b {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
}

.lv-name small {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
	overflow: hidden;
	white-space: nowrap;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--mp-muted);
}

.lv-name .mp-flag {
	flex: none;
	width: 16px;
	height: 11px;
	border-radius: 2px;
}

.lv-row .lv-split {
	grid-area: split;
}

.lv-btts {
	grid-area: btts;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	font-size: 0.82rem;
	font-weight: 800;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.lv-btts small {
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--mp-muted);
}

.lv-goals {
	grid-area: goals;
	justify-self: end;
	text-align: right;
	line-height: 1;
}

.lv-goals b {
	display: block;
	font-family: "Bangers", cursive;
	font-weight: 400;
	font-size: 1.4rem;
	letter-spacing: 0.05em;
	color: #fff;
}

.lv-goals small {
	display: block;
	font-size: 0.58rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--mp-muted);
}

@container (min-width: 560px) {
	.lv-head,
	.lv-row {
		grid-template-columns: 30px minmax(0, 1fr) minmax(190px, 36%) 58px 64px;
		grid-template-areas: "logo name split btts goals";
		gap: 12px;
	}

	.lv-head {
		display: grid;
		padding: 2px 4px 8px;
		font-size: 0.6rem;
		font-weight: 800;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		color: var(--mp-muted);
	}

	.lv-head span:nth-child(3) {
		text-align: center;
	}

	.lv-head span:nth-child(n + 4) {
		text-align: right;
	}

	.lv-btts small,
	.lv-goals small {
		display: none;
	}

	.lv-btts {
		justify-self: end;
		padding: 3px 9px;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.06);
		font-size: 0.86rem;
	}

	.lv-rows {
		gap: 0;
	}

	.lv-row {
		padding: 12px 4px;
		border-radius: 0;
		background: none;
	}

	.lv-row + .lv-row {
		border-top: 1px solid rgba(255, 255, 255, 0.06);
	}

	.lv-logo {
		width: 30px;
		height: 30px;
	}
}

.lv-facts {
	display: none;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.lv-fact {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--mp-muted);
}

.lv-fact b {
	font-size: 0.92rem;
	font-weight: 800;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 599.98px) {
	.lv-card {
		padding: 0;
		background: none;
		box-shadow: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.lv-sort {
		margin-bottom: 12px;
	}
}

@media (min-width: 600px) {
	.lv-card {
		padding: 16px 16px 8px;
	}

	.lv-facts {
		display: flex;
	}

	.lv-avg-kpis {
		display: none;
	}
}
