.clc-ytf-countdown {
	--clc-ytf-cd-number-bg: rgba(0, 0, 0, .35);
	--clc-ytf-cd-label-bg: rgba(0, 0, 0, .75);
	--clc-ytf-cd-text: #ffffff;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	width: 100%;
}

.clc-ytf-cd-unit {
	display: flex;
	flex: 1 1 0;
	min-width: 64px;
	flex-direction: column;
	overflow: hidden;
	border-radius: 10px;
}

.clc-ytf-cd-number {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px 8px 12px;
	background: var(--clc-ytf-cd-number-bg);
	color: var(--clc-ytf-cd-text);
	font-size: 34px;
	font-weight: 700;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.clc-ytf-cd-label {
	padding: 6px 8px 8px;
	background: var(--clc-ytf-cd-label-bg);
	color: var(--clc-ytf-cd-text);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	text-align: center;
	text-transform: uppercase;
}

@media (max-width: 480px) {
	.clc-ytf-countdown {
		gap: 10px;
	}

	.clc-ytf-cd-number {
		padding: 12px 4px 8px;
		font-size: 24px;
	}

	.clc-ytf-cd-label {
		padding: 5px 4px 6px;
		font-size: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.clc-ytf-cd-number,
	.clc-ytf-cd-label {
		transition: none;
	}
}

/*
 * Shown in place of the four boxes once the countdown reaches zero. This
 * has no background box of its own, so it deliberately inherits the
 * surrounding page's own text colour (rather than using --clc-ytf-cd-text,
 * which is only ever readable against the chosen box colour) to stay
 * legible whatever page it's placed on.
 */
.clc-ytf-cd-message {
	width: 100%;
	margin: 0;
	color: inherit;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
}
