.live-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: contain;
    opacity: 0;
}

.video-placeholder.is-playing .live-video { opacity: 1; }
.video-placeholder.is-playing .broadcast-art,
.video-placeholder.is-playing .big-play { display: none; }
.video-placeholder.is-loading .big-play { opacity: 0; pointer-events: none; }
.video-placeholder.has-error .big-play { display: none; }
.video-placeholder.is-ad-playing .live-video { opacity: 1; }

.unmute-button {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 6;
    transform: translateX(-50%);
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 20, 17, .84);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.unmute-button[hidden] { display: none; }
.unmute-button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

.restart-stream-button {
    width: 100%;
    min-height: 44px;
    margin-top: 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: rgba(2, 58, 49, .72);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.restart-stream-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.restart-stream-button:hover:not(:disabled) { border-color: var(--mint); color: var(--mint); }
.restart-stream-button:disabled { opacity: .45; cursor: not-allowed; }
.restart-stream-button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

.ad-container {
    position: absolute;
    inset: 0;
    z-index: 8;
    background: #000;
}
.ad-container[hidden], .ad-label[hidden] { display: none; }
.ad-container > div, .ad-container iframe { max-width: 100%; max-height: 100%; }
.ad-label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9;
    padding: 4px 7px;
    border-radius: 4px;
    background: rgba(0,0,0,.68);
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    pointer-events: none;
}

.player-loader {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-content: center;
    background: rgba(0, 20, 17, .34);
    pointer-events: none;
}

.player-loader[hidden] { display: none; }

.player-spinner {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(255, 255, 255, .28);
    border-top-color: var(--mint);
    border-radius: 50%;
    animation: player-spin .8s linear infinite;
}

@keyframes player-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .player-spinner { animation-duration: 1.8s; }
}

.player-error {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    margin: 0;
    padding: 10px 12px;
    border-radius: 7px;
    background: rgba(0, 20, 17, .84);
    color: #fff;
    font-size: 12px;
    text-align: center;
}
