/**
 * FT Scores. Restyle via the custom properties on .ft-scores.
 */
.ft-scores {
	--ft-accent: #009ce0;
	--ft-ink: #0b0d10;
	--ft-muted: color-mix(in srgb, var(--ft-ink) 60%, transparent);
	--ft-line: color-mix(in srgb, var(--ft-ink) 12%, transparent);
	--ft-surface: transparent;
	--ft-live: #d7263d;
	--ft-radius: 6px;
	--ft-gap: 0.5rem;
	--ft-font: inherit;
	--ft-font-numeric: inherit;

	color: var(--ft-ink);
	background: var(--ft-surface);
	font-family: var(--ft-font);
	margin-block: 1rem;
}

.ft-scores__sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ft-scores__empty {
	color: var(--ft-muted);
}

.ft-scores__day + .ft-scores__day {
	margin-top: 1.25rem;
}

.ft-scores__day-title {
	margin: 0 0 0.5rem;
	font-size: 1.05em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ft-scores__comp + .ft-scores__comp {
	margin-top: 0.75rem;
}

.ft-scores__comp-name {
	margin: 0 0 0.25rem;
	padding-bottom: 0.25rem;
	font-size: 0.95em;
	border-bottom: 2px solid var(--ft-accent);
}

.ft-scores__matches {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ft-match {
	margin: 0;
	border-bottom: 1px solid var(--ft-line);
}

.ft-match__link {
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: var(--ft-gap);
	padding: 0.5rem 0.25rem;
	color: inherit;
	text-decoration: none;
}

.ft-match__link:hover,
.ft-match__link:focus-visible {
	background: color-mix(in srgb, var(--ft-accent) 8%, transparent);
}

.ft-match__link:focus-visible {
	outline: 2px solid var(--ft-accent);
	outline-offset: 1px;
}

.ft-match__status {
	font-size: 0.85em;
	color: var(--ft-muted);
	font-variant-numeric: tabular-nums;
}

.ft-match__badge {
	display: inline-block;
	padding: 0.05em 0.4em;
	border-radius: var(--ft-radius);
	font-weight: 700;
	font-size: 0.85em;
	line-height: 1.4;
	background: var(--ft-line);
	color: var(--ft-ink);
}

.ft-match--live .ft-match__badge {
	background: var(--ft-live);
	color: #fff;
}

.ft-match__home {
	text-align: right;
}

.ft-match__home,
.ft-match__away {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ft-match__score {
	min-width: 3.5rem;
	text-align: center;
	font-family: var(--ft-font-numeric);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.ft-match--scheduled .ft-match__score {
	color: var(--ft-muted);
	font-weight: 400;
}

.ft-match--live .ft-match__score {
	color: var(--ft-live);
}

.ft-match__sep {
	padding-inline: 0.2em;
}

/* Standings */
.ft-standings__scroll {
	overflow-x: auto;
}

.ft-standings__scroll:focus-visible {
	outline: 2px solid var(--ft-accent);
}

.ft-standings__scroll + .ft-standings__scroll {
	margin-top: 1.25rem;
}

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

.ft-standings caption {
	text-align: left;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid var(--ft-accent);
	caption-side: top;
}

.ft-standings__name {
	font-weight: 700;
}

.ft-standings__updated {
	display: block;
	font-size: 0.8em;
	color: var(--ft-muted);
}

.ft-standings th,
.ft-standings td {
	padding: 0.4rem 0.5rem;
	border-bottom: 1px solid var(--ft-line);
	text-align: left;
}

.ft-standings thead th {
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ft-muted);
}

.ft-standings abbr[title] {
	text-decoration: none;
	cursor: help;
}

.ft-standings tbody th {
	font-weight: 400;
}

.ft-standings__rank {
	width: 2.5rem;
}

.ft-standings__num {
	text-align: right !important;
	white-space: nowrap;
}

.ft-standings td.ft-standings__pts {
	font-weight: 700;
}

@media (max-width: 480px) {
	.ft-match__link {
		grid-template-columns: 3rem minmax(0, 1fr) auto minmax(0, 1fr);
		font-size: 0.92em;
	}
}
