/*
 * Stats band (bps/park-stats): a line score across the page.
 * Paper-green strip between double rules, big printed numbers split by
 * ruled columns, and one pencil note at the end.
 */
.bps-stats {
	background: var(--bps-chip);
	border-top: 3px double var(--bps-ink-line);
	border-bottom: 3px double var(--bps-ink-line);
	color: var(--theme-palette-color-4);
	padding: 0 16px;
	margin-block: 0;
}

.bps-stats__line {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 1100px;
	display: grid;
	grid-template-columns: 0.8fr 1fr 1fr 1fr 1.25fr;
	align-items: stretch;
}

.bps-stats__item {
	margin: 0;
	padding: 26px 12px 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	gap: 6px;
	border-left: 1px solid var(--theme-palette-color-5);
}

.bps-stats__item:first-child {
	border-left: 0;
}

.bps-stats__num {
	display: inline-block;
	font-family: var(--bps-font-data);
	font-weight: 700;
	font-size: clamp(44px, 5.4vw, 68px);
	line-height: 1;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums lining-nums;
	color: var(--theme-palette-color-4);
}

.bps-stats__label {
	font-family: var(--bps-font-display);
	font-weight: 600;
	font-size: 13px;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bps-muted);
}

/* The two "1"s bookend the line in a lighter weight. */
.bps-stats__item--first .bps-stats__num,
.bps-stats__item--last .bps-stats__num {
	font-weight: 500;
	color: var(--bps-muted);
}

/* The pencil note: "game we all love". */
.bps-stats__item--last .bps-stats__label {
	font-family: var(--bps-font-hand);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1;
	color: var(--theme-palette-color-1);
	transform: rotate(-3deg);
	margin-top: 2px;
}

.bps-stats__item--last .bps-stats__num {
	color: var(--theme-palette-color-1);
}

/* Phones: the two "1"s become a heading line and a closing note around three columns. */
@media (max-width: 689.98px) {
	.bps-stats__line {
		grid-template-columns: repeat(3, 1fr);
	}

	.bps-stats__item {
		padding: 16px 6px 16px;
		gap: 4px;
	}

	.bps-stats__item--mid {
		border-top: 1px solid var(--theme-palette-color-5);
		border-bottom: 1px solid var(--theme-palette-color-5);
	}

	.bps-stats__item--mid:nth-child(2) {
		border-left: 0;
	}

	.bps-stats__num {
		font-size: 42px;
	}

	.bps-stats__label {
		font-size: 11.5px;
		letter-spacing: 0.1em;
	}

	.bps-stats__item--first,
	.bps-stats__item--last {
		grid-column: 1 / -1;
		flex-direction: row;
		justify-content: center;
		align-items: baseline;
		gap: 8px;
		border-left: 0;
		padding: 12px 6px;
	}

	.bps-stats__item--first .bps-stats__num,
	.bps-stats__item--last .bps-stats__num {
		font-size: 26px;
	}

	.bps-stats__item--last .bps-stats__label {
		font-size: 24px;
	}
}
