/* Catedral Anglicana - TV Anglicana integrada */
.sacred-live-section{background:#fdfbfc}
.sacred-live-layout{grid-template-columns:minmax(0,1.35fr) minmax(295px,.65fr);gap:34px}
.sacred-live-panel{background:#fff;padding:26px;border:1px solid #e9e2ea;border-radius:12px;box-shadow:0 16px 48px rgba(32,16,55,.07)}
.catedral-live-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}
.catedral-live-header .sacred-kicker{margin-bottom:9px}
.catedral-live-header h2{font-size:clamp(27px,2.2vw,38px);margin:0}
.catedral-live-badge{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;border:1px solid #e5d7e2;border-radius:99px;padding:9px 13px;background:#f9f5f8;color:#5f5265;font:700 11px/1.2 var(--font-catedral-titulos,Georgia,serif);letter-spacing:.04em}
.catedral-live-badge.is-live{background:#1f8f4d;color:#fff;border-color:#1f8f4d}
.catedral-live-indicator{height:9px;width:9px;background:#ae9db0;border-radius:50%}
.catedral-live-badge.is-live .catedral-live-indicator{background:#fff;box-shadow:0 0 0 4px #ffffff24;animation:catedral-live-pulse 1.8s infinite}
@keyframes catedral-live-pulse{50%{opacity:.45;box-shadow:0 0 0 8px #ffffff06}}
.catedral-live-stage{width:100%;aspect-ratio:16/9;background:#231648;position:relative;border-radius:9px;overflow:hidden}
.catedral-live-stage .sacred-live-art{min-height:0;position:absolute;inset:0;width:100%;height:100%}
.catedral-live-stage .sacred-live-art>img{height:100%;width:100%;object-fit:cover}
.catedral-live-stage .sacred-live-art>div{padding:20px}
.catedral-live-stage .catedral-live-player{position:absolute;inset:0;width:100%;height:100%}
.catedral-live-player iframe{border:0;display:block;width:100%;height:100%}
.catedral-live-player[hidden],.sacred-live-art[hidden]{display:none!important}
.sacred-live-section .catedral-live-message{margin:18px 0 4px;font-size:15px;color:#4a3d55;line-height:1.6}
.sacred-live-section .sacred-live-actions{align-items:center}
.sacred-live-section .sacred-btn{font-size:12px;min-height:51px;padding:13px 17px;gap:10px}
.catedral-live-refresh{background:transparent;border:1px solid #dfd1e0;border-radius:5px;color:#422e57;padding:12px 15px;min-height:51px;font-size:13px;font-weight:700;cursor:pointer}
.catedral-live-refresh:hover{background:#f4edf3}
.catedral-live-refresh:disabled{opacity:.55;cursor:wait}
@media(max-width:1050px){.sacred-live-layout{grid-template-columns:minmax(0,1fr);gap:26px}}
@media(max-width:640px){.sacred-live-panel{padding:16px}.catedral-live-header{align-items:flex-start;flex-direction:column}.catedral-live-badge{align-self:flex-start}.sacred-live-section .sacred-live-actions{flex-direction:column;align-items:stretch}.sacred-live-section .sacred-live-actions>*{width:100%;justify-content:center}.catedral-live-stage .sacred-live-art strong{font-size:20px}.catedral-live-stage .sacred-live-play{width:58px;height:58px;font-size:20px}}
@media(prefers-reduced-motion:reduce){.catedral-live-badge.is-live .catedral-live-indicator{animation:none}}

/* V1.0.38 — modo de conexão por canal não equivale à confirmação de transmissão ao vivo. */
.catedral-live-badge.is-connecting{color:#5c3a70;background:#f5edfa;border-color:#d8cae4}
.catedral-live-badge.is-connecting .catedral-live-indicator{background:#b8874e;box-shadow:0 0 0 3px rgba(184,135,78,.14)}

/* V1.0.44: o palco e o player mantêm seu tamanho antes e depois da detecção. */
#missas-anteriores[hidden] { display:none!important; }
.catedral-live-player { background:#20153b; }
.catedral-live-player iframe { background:#20153b; }
#live-message { min-height:2.2em; }
