.public-page:has(.live-page) {
    flex-grow: 0;
    width: 100%;
    max-width: 1104px;
    padding-bottom: 3.625rem;
}

.live-page {
    display: grid;
    gap: 0;
    max-width: none;
    margin: 0 auto;
}

.live-page-intro {
    padding-top: .25rem;
    text-align: center;
}

.public-page .live-page-intro h1 {
    margin: 0;
    color: var(--theme-link);
    font-size: clamp(2rem, 3vw, 2.25rem);
    line-height: 1.1;
}

.live-page-intro p {
    margin: .35rem 0 0;
}

.live-player-frame {
    position: relative;
    width: min(100%, 780px);
    aspect-ratio: 16 / 9;
    margin: .75rem auto 0;
    overflow: hidden;
    border-radius: 1.25rem;
    background: #050505;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .22);
}

.live-player-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.live-player-frame--offline {
    display: grid;
    place-items: center;
    padding: 2rem;
    color: #fff;
    background: linear-gradient(135deg, #151515, #303030);
}

.live-player-frame--offline p {
    font-size: clamp(1.15rem, 3vw, 2rem);
    font-weight: 700;
    text-align: center;
}

.live-page-state {
    margin: 3.75rem 0 0;
    text-align: center;
}

.live-page-state--on {
    font-weight: 700;
}

@media (max-width: 600px) {
    .live-page-intro {
        padding-top: 0;
    }

    .live-player-frame {
        margin-top: 1.25rem;
        border-radius: 1rem;
    }

    .live-page-state {
        margin-top: 1.5rem;
    }
}
