body {
	font-family: Arial, sans-serif;
	background: #f5f5f5;
	text-align: center;
	box-sizing: border-box;
}

h1 {
	margin-bottom: 2rem;
}

#countdowns-static {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
	padding: 1rem;

	margin-bottom: 1rem;
}

#countdowns-dynamic {
	padding: 1rem;
}

.countdown-block {
	background: white;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	padding: 1rem;
}

.countdown-block.bd {
	padding-bottom: 1.5rem;
}

.countdown-block .type {
	font-size: 0.8rem;
	color: #888;
	display: block;
}

.countdown-block .time {
	font-size: 2.2rem;
	color: #333;
	font-weight: bold;
}

.time-label {
	font-weight: bold;
	margin-bottom: 10px;
	color: #444;
}

.time-left {
	font-size: 1.4rem;
	color: #0078d4;
	font-weight: bold;
	margin: 0.7rem 0;
}

.time-left.mm {
	margin-bottom: 1.6rem;
}

.bar-container {
	background: #ddd;
	border-radius: 6px;
	height: 10px;
	width: 100%;
	overflow: hidden;
}

.bar {
	background: linear-gradient(to right, #0078d4, #42a5f5);
	height: 100%;
	width: 0%;
	transition: 1s linear;
}

.progress-scale {
	position: relative;
	margin-top: 1rem;
}

.scale-tick {
	position: absolute;
	top: -2.3rem;
	left: 0;
	width: 2px;
	height: 2rem;
	background: #0078d4;
}

.scale-tick.thin {
	width: 1px;
}

.scale-tick.mini {
	width: 1px;
	height: 1.4rem;
	top: -1.95rem;
}

.scale-label {
	position: absolute;
	bottom: -1rem;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.7rem;
	font-weight: bold;
	color: #0078d4;
	white-space: nowrap;
}

.scale-label.mvr {
	transform: translateX(0%);
}

.scale-label.mvl {
	transform: translateX(-100%);
}
