.whlr {
	--whlr-bg: #7a263a;      /* claret */
	--whlr-text: #ffffff;
	--whlr-accent: #1bb1e7;  /* sky blue */
	--whlr-crest: 64px;

	background: var(--whlr-bg);
	color: var(--whlr-text);
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	font-variant-numeric: tabular-nums;
	transition: opacity .2s ease;
}

.whlr.is-updating { opacity: .6; }

.whlr__heading {
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--whlr-accent);
	margin-bottom: 4px;
}

.whlr__competition {
	font-size: .85rem;
	opacity: .8;
	margin-bottom: 14px;
}

.whlr__match {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
}

.whlr__team {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.whlr__crest {
	width: var(--whlr-crest);
	height: var(--whlr-crest);
	object-fit: contain;
}

.whlr__name {
	font-weight: 600;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.whlr__score {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.whlr__sep { opacity: .6; }

.whlr__note {
	margin-top: 8px;
	font-size: .85rem;
	opacity: .85;
}

.whlr__meta {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
	font-size: .85rem;
}

.whlr__outcome {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-weight: 700;
	font-size: .75rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, .15);
}

.whlr__outcome--win  { background: #1f9d55; color: #fff; }
.whlr__outcome--draw { background: #6b7280; color: #fff; }
.whlr__outcome--loss { background: #c0392b; color: #fff; }

.whlr__date { opacity: .85; }

.whlr__empty { padding: 12px 0; opacity: .8; }

@media (max-width: 480px) {
	.whlr { --whlr-crest: 44px; padding: 16px; }
	.whlr__score { font-size: 1.9rem; }
	.whlr__name { font-size: .9rem; }
}
