.fbm {
	--_pink: var(--fb-pink, #ff1f7a);
	--_red: var(--fb-red, #e8000d);
	--_flash: var(--fb-flash, #ffe600);
	--_text: var(--fb-text, #0a0a0a);
	--_muted: var(--fb-muted, #5d5a60);
	--_line: var(--fb-line, #ebe5e8);
	--_bg: var(--fb-bg, #fff);
	--_surface: var(--fb-surface, #fff);
	--_blush: var(--fb-blush, #fff0f6);
	--_mark: var(--fb-mark, #ffe600);
	--_display: var(--fb-display, "Anton", Impact, "Arial Narrow Bold", sans-serif);
	--_body: var(--fb-body, system-ui, sans-serif);
	--_radius: var(--fb-radius, 16px);
	--_radius-sm: var(--fb-radius-sm, 10px);
	--_ph: radial-gradient(circle at 72% 22%, rgba(255, 230, 0, .55), transparent 42%), linear-gradient(150deg, var(--_pink), #6b00ff);
}
.fbm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fbm-countdown { container-type: inline-size; position: relative; overflow: hidden; border-radius: calc(var(--_radius) + 4px); background: #000; color: #fff; isolation: isolate; }
.fbm-countdown--pink { background: var(--_pink); color: #000; }
.fbm-countdown--flash { background: var(--_flash); color: #000; }
.fbm-countdown__bg { position: absolute; inset: 0; z-index: -1; }
.fbm-countdown__bg img { width: 100%; height: 100%; object-fit: cover; }
.fbm-countdown.has-image .fbm-countdown__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .45)); }
.fbm-countdown.has-image { color: #fff; }
.fbm-countdown__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px clamp(20px, 4vw, 48px); align-items: center; padding: clamp(22px, 4vw, 44px); }
.fbm-countdown__title { margin: 0 0 6px; font-family: var(--_display); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1; text-transform: uppercase; }
.fbm-countdown__when { margin: 0; font-weight: 800; }
.fbm-countdown__text { margin: 8px 0 0; max-width: 46ch; opacity: .85; }
.fbm-countdown__clock { display: flex; gap: clamp(6px, 1vw, 12px); }
.fbm-countdown__unit {
	display: flex; flex-direction: column; align-items: center;
	min-width: clamp(62px, 8vw, 92px);
	padding: 12px 8px 10px;
	border-radius: var(--_radius-sm);
	background: rgba(255, 255, 255, .1);
	border: 2px solid rgba(255, 255, 255, .2);
}
.fbm-countdown--pink .fbm-countdown__unit, .fbm-countdown--flash .fbm-countdown__unit { background: #000; color: #fff; border-color: #000; }
.fbm-countdown.has-image .fbm-countdown__unit { background: rgba(0, 0, 0, .45); color: #fff; border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.fbm-countdown__num { font-family: var(--_display); font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.fbm-countdown__unit:last-child .fbm-countdown__num { color: var(--_pink); }
.fbm-countdown--pink .fbm-countdown__unit:last-child .fbm-countdown__num { color: var(--_flash); }
.fbm-countdown__label { margin-top: 4px; font-size: .75rem; font-weight: 700; opacity: .8; }
.fbm-countdown__done { grid-column: 1 / -1; margin: 0; font-family: var(--_display); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--_flash); }
.fbm-countdown--flash .fbm-countdown__done, .fbm-countdown--pink .fbm-countdown__done { color: #000; }
.fbm-countdown__btn {
	grid-column: 1 / -1;
	justify-self: start;
	display: inline-flex; align-items: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	background: var(--_flash);
	color: #000;
	font-weight: 800;
	text-decoration: none;
}
.fbm-countdown--flash .fbm-countdown__btn { background: #000; color: var(--_flash); }
.fbm-countdown__btn:hover { background: #fff; color: #000; }
@container (max-width: 680px) { .fbm-countdown__inner { grid-template-columns: 1fr; } .fbm-countdown__unit { flex: 1; min-width: 0; } }
