.lwc-cup {
	margin: 1.5em 0;
}

.lwc-controls {
	margin-bottom: 1em;
}

.lwc-controls label {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-weight: 600;
}

.lwc-controls select {
	min-width: 8em;
	padding: 0.35em 0.5em;
	font: inherit;
}

.lwc-title {
	margin: 0 0 0.5em;
}

.lwc-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.lwc-table {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.lwc-table th,
.lwc-table td {
	padding: 0.45em 0.6em;
	border-bottom: 1px solid rgba(128, 128, 128, 0.25);
	text-align: center;
	white-space: nowrap;
}

.lwc-table thead th {
	border-bottom-width: 2px;
	font-weight: 700;
}

/* Otsikkorivi ilman teeman taustaväriä. */
.lwc-cup .lwc-table thead,
.lwc-cup .lwc-table thead tr,
.lwc-cup .lwc-table thead th {
	background: transparent !important;
}

.lwc-table .lwc-name {
	text-align: left;
	width: 100%;
}

.lwc-table .lwc-rank {
	text-align: right;
}

.lwc-table td.lwc-total {
	font-weight: 700;
}

/* Sijat 1–3 lihavoituna, myös jaetut sijat. */
.lwc-table tbody tr.lwc-top .lwc-rank,
.lwc-table tbody tr.lwc-top .lwc-name {
	font-weight: 800;
}

.lwc-table .lwc-drop,
.lwc-table .lwc-none {
	opacity: 0.5;
}

.lwc-meta,
.lwc-empty {
	margin-top: 0.75em;
	font-size: 0.875em;
	opacity: 0.75;
}

/* Teeman tyylit eivät saa tuoda piilotettuja sarjoja näkyviin. */
.lwc-cup .lwc-series[hidden] {
	display: none !important;
}

/* Sarjaotsikko vain ruudunlukijoille, kun sama nimi näkyy jo sarjavalikossa. */
.lwc-cup .lwc-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lwc-cup .lwc-controls {
	margin-bottom: 1.25em;
}
