/* Portal Ao Vivo */
.pav-contador, .pav-contador * { box-sizing: border-box; }
.pav-contador {
    --pav-cor: #650f70;
    max-width: 720px;
    margin: 0 auto 24px;
    padding: 26px 18px;
    border-radius: 18px;
    background: var(--pav-cor);
    background-image: linear-gradient(135deg, rgba(0, 0, 0, .18), rgba(255, 255, 255, .08));
    color: #fff;
    text-align: center;
    font-family: inherit;
}
.pav-contador p { margin: 0; color: inherit; }
.pav-contador .pav-titulo { font-size: clamp(20px, 4.5vw, 28px); font-weight: 800; line-height: 1.25; }
.pav-contador .pav-quando { margin: 8px 0 20px; font-size: 14px; opacity: .92; line-height: 1.5; }
.pav-contador .pav-relogio {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    max-width: 440px;
    margin: 0 auto;
}
.pav-contador .pav-relogio > div { padding: 14px 3px; border-radius: 12px; background: #fff; color: #222; }
.pav-contador .pav-relogio strong {
    display: block;
    font-size: clamp(26px, 7vw, 42px);
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--pav-cor);
}
.pav-contador .pav-relogio span { display: block; margin-top: 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; color: #555; }
.pav-contador .pav-destaque { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: clamp(18px, 4.5vw, 24px); font-weight: 700; }
/* Altura reservada: a troca de texto não empurra a página (CLS). */
.pav-contador .pav-status { min-height: 1.6em; margin-top: 14px; font-size: 14px; line-height: 1.6; }
.pav-contador.pav-em-andamento .pav-relogio { opacity: .55; }

.pav-aviso {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 10px;
    width: calc(100% - 32px);
    max-width: 560px;
    padding: 12px 12px 12px 16px;
    border-radius: 12px;
    background: #111;
    color: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .3);
    transform: translateX(-50%);
    font-size: 15px;
    line-height: 1.4;
    animation: pav-entrar .25s ease-out;
}
.pav-aviso .pav-aviso-texto { flex: 1; }
.pav-aviso button { cursor: pointer; border: 0; font: inherit; }
.pav-aviso .pav-aviso-ver { padding: 8px 14px; border-radius: 8px; background: #ffd400; color: #111; font-weight: 700; white-space: nowrap; }
.pav-aviso .pav-aviso-fechar { padding: 4px 8px; background: transparent; color: #bbb; font-size: 22px; line-height: 1; }
.pav-aviso button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@keyframes pav-entrar { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .pav-aviso { animation: none; } }
