/* The storefront loads this at phone widths. In the editor, the selected
   device controls the layout independently of the browser window width. */
:is(#vapp-storebar, .vb-stage[data-device="phone"] .vapp-storebar).vapp-storebar--countdown {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas: "dismiss message" "timer timer";
	gap: 4px 0;
	padding: 8px 10px;
}

:is(#vapp-storebar, .vb-stage[data-device="phone"] .vapp-storebar).vapp-storebar--countdown > :is(.vapp-storebar__inner, .vsob-bar) {
	grid-area: message;
	min-width: 0;
}

:is(#vapp-storebar, .vb-stage[data-device="phone"] .vapp-storebar).vapp-storebar--countdown .vapp-storebar__text {
	overflow-wrap: anywhere;
}

:is(#vapp-storebar, .vb-stage[data-device="phone"] .vapp-storebar).vapp-storebar--countdown > .vsob-bar {
	height: var(--vsob-h-m);
}

:is(#vapp-storebar, .vb-stage[data-device="phone"] .vapp-storebar).vapp-storebar--countdown > .vapp-storebar__close {
	grid-area: dismiss;
	min-width: 30px;
	min-height: 28px;
}

:is(#vapp-storebar, .vb-stage[data-device="phone"] .vapp-storebar).vapp-storebar--countdown > .vapp-storebar__timer {
	grid-area: timer;
	justify-content: center;
	min-width: 0;
}

:is(#vapp-storebar, .vb-stage[data-device="phone"] .vapp-storebar).vapp-storebar--countdown .vso-ct--bar {
	flex-wrap: nowrap;
	gap: 6px;
	max-width: 100%;
}

:is(#vapp-storebar, .vb-stage[data-device="phone"] .vapp-storebar).vapp-storebar--countdown .vso-ct__label {
	flex: 0 1 auto;
	font-size: 11px;
}

:is(#vapp-storebar, .vb-stage[data-device="phone"] .vapp-storebar).vapp-storebar--countdown .vso-ct__clock {
	flex: none;
}

:is(#vapp-storebar, .vb-stage[data-device="phone"] .vapp-storebar).vapp-storebar--countdown .vso-ct__digits {
	font-size: 12px;
}
