/* Service Countdown for Church Online */
.scd{display:flex;flex-wrap:wrap;align-items:center;gap:.4em .75em;font:inherit;line-height:1.3}
.scd[hidden],.scd-bar[hidden],.scd [hidden]{display:none!important}
.scd--loading{visibility:hidden}
.scd__text{display:inline}
.scd__title{font-weight:700}
.scd__clock{display:inline-flex;align-items:baseline;gap:.6em;font-variant-numeric:tabular-nums}
.scd__unit{display:inline-flex;align-items:baseline;gap:.15em}
.scd__num{font-weight:700}
.scd__lbl{font-size:.75em;opacity:.8}
.scd__dot{display:none;width:.6em;height:.6em;border-radius:50%;background:var(--scd-accent,#c8102e);flex:none}
.scd--live .scd__dot{display:inline-block;animation:scd-pulse 1.6s ease-in-out infinite}
.scd--live .scd__label{color:var(--scd-accent,#c8102e);font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.scd__btn,.scd__btn:visited{display:inline-block;background:var(--scd-accent,#c8102e);color:#fff!important;padding:.45em 1.1em;border-radius:999px;font-weight:700;text-decoration:none!important;line-height:1.2}
.scd__btn:hover,.scd__btn:focus{filter:brightness(1.1)}
.scd__btn:focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* Banner */
.scd--banner{justify-content:center;text-align:center;background:var(--scd-bg,#111);color:var(--scd-text,#fff);padding:18px 24px;border-radius:12px}
.scd--banner .scd__clock{gap:.9em}
.scd--banner .scd__unit{flex-direction:column;align-items:center;gap:0;min-width:2.6em}
.scd--banner .scd__num{font-size:1.8em;line-height:1}
.scd--banner .scd__lbl{text-transform:uppercase;letter-spacing:.08em;font-size:.68em}
.scd--banner.scd--live .scd__label{color:var(--scd-text,#fff)}

/* Slim bar */
.scd--bar{justify-content:center;text-align:center;background:var(--scd-bg,#111);color:var(--scd-text,#fff);padding:8px 16px;font-size:14px}
.scd--bar .scd__btn{padding:.3em .9em;font-size:.95em}
.scd--bar.scd--live .scd__label{color:var(--scd-text,#fff)}
.scd-bar{position:relative;z-index:9998;width:100%}
.scd-bar--bottom{position:fixed;left:0;right:0;bottom:0;z-index:9998}
.scd-bar .scd{min-height:38px}

@keyframes scd-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.8)}}
@media (prefers-reduced-motion:reduce){.scd--live .scd__dot{animation:none}}
