/* Audience countdown: shared styles for the display and the operator preview */
.cd-root { position: relative; overflow: hidden; background: #000; color: var(--cd-text, #fff); --pad: 24px; -webkit-font-smoothing: antialiased; }
.cd-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.cd-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cd-bg iframe { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.cd-dim { position: absolute; inset: 0; background: #000; pointer-events: none; }
.cd-stack { position: absolute; inset: var(--pad); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cd-head, .cd-foot { max-width: 100%; font-family: var(--cd-font); font-weight: var(--cd-weight); color: var(--cd-text); line-height: 1.12; text-align: center; overflow-wrap: anywhere; }
.cd-clock { font-family: var(--cd-font); font-weight: var(--cd-weight); color: var(--cd-color); line-height: 1; white-space: nowrap; }
.cd-clock.cd-ended { color: var(--cd-text); }
.cd-g { position: relative; display: inline-block; }
.cd-d { display: inline-block; width: 1ch; text-align: center; }
.cd-sep { display: inline-block; padding: 0 .03em; transform: translateY(-.05em); }
.cd-l { position: absolute; left: 0; right: 0; top: 100%; margin-top: .05em; font: 700 .12em/1 Inter, system-ui, sans-serif; letter-spacing: .28em; text-indent: .28em; color: var(--cd-text); opacity: .8; }
.cd-has-labels { padding-bottom: .24em; }
.cd-shadow .cd-clock, .cd-shadow .cd-head, .cd-shadow .cd-foot { text-shadow: 0 .03em .14em rgba(0, 0, 0, .45); }
.cd-logo { display: block; object-fit: contain; }
.cd-logo[hidden] { display: none; }
.cd-logo-above { margin-bottom: 3%; }
.cd-logo-below { margin-top: 3%; }
.cd-logo-abs { position: absolute; z-index: 2; }
.cd-logo-abs[data-pos^="top"] { top: var(--pad); }
.cd-logo-abs[data-pos^="bottom"] { bottom: var(--pad); }
.cd-logo-abs[data-pos$="left"] { left: var(--pad); }
.cd-logo-abs[data-pos$="right"] { right: var(--pad); }
.cd-logo-abs[data-pos$="center"] { left: 50%; transform: translateX(-50%); }
.cd-banner { position: absolute; z-index: 4; left: 5%; right: 5%; bottom: var(--pad); display: flex; justify-content: center; }
.cd-banner[hidden], .cd-overlay[hidden] { display: none; }
.cd-banner span { display: block; max-width: 100%; padding: .35em .9em; border-radius: .3em; background: #fff; color: #000; font-family: Inter, system-ui, sans-serif; font-weight: 700; line-height: 1.2; text-align: center; overflow-wrap: anywhere; box-shadow: 0 .2em 1em rgba(0, 0, 0, .35); box-sizing: border-box; }
.cd-overlay { position: absolute; z-index: 5; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4%; background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-align: center; }
.cd-ov-text { color: #fff; font-family: Inter, system-ui, sans-serif; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.cd-ov-clock { font-family: var(--cd-font); font-weight: var(--cd-weight); color: var(--cd-color); opacity: .9; line-height: 1; white-space: nowrap; }
.cd-flash .cd-banner span { animation: cdflash 1s steps(1) infinite; }
.cd-flash .cd-ov-text { animation: cdflashtext 1s steps(1) infinite; }
@keyframes cdflash { 50% { background: #F59B00; } }
@keyframes cdflashtext { 50% { color: #F59B00; } }
