/* RADIOMOTERA TV v1.4 — arranque móvil + activación única + fullscreen con gráfica */
.player-stage,
.tv-mode-stage {
    position: relative;
}

.channel-activate-button {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: min(88%, 330px);
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    background: rgba(8,8,12,.88);
    color: #fff;
    box-shadow: 0 12px 35px rgba(0,0,0,.45);
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.channel-activate-button strong {
    font-size: 14px;
    letter-spacing: .06em;
}

.channel-activate-button span {
    font-size: 11px;
    opacity: .76;
}

.channel-activate-button.is-hidden {
    display: none !important;
}

.channel-fullscreen-control {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 130;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    padding: 9px 12px;
    background: rgba(8,8,12,.82);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.player-stage:fullscreen,
.tv-mode-stage:fullscreen,
.player-stage:-webkit-full-screen,
.tv-mode-stage:-webkit-full-screen,
.channel-pseudo-fullscreen {
    background: #000;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

.channel-pseudo-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
}

body.channel-fullscreen-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

.player-stage:fullscreen .player,
.tv-mode-stage:fullscreen .player,
.player-stage:-webkit-full-screen .player,
.tv-mode-stage:-webkit-full-screen .player,
.channel-pseudo-fullscreen .player {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #000;
}

.player-stage:fullscreen .player > video,
.player-stage:fullscreen .player > iframe,
.tv-mode-stage:fullscreen .player > video,
.tv-mode-stage:fullscreen .player > iframe,
.channel-pseudo-fullscreen .player > video,
.channel-pseudo-fullscreen .player > iframe {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border: 0 !important;
}

.player-stage:fullscreen .tv-overlay,
.tv-mode-stage:fullscreen .tv-overlay,
.player-stage:-webkit-full-screen .tv-overlay,
.tv-mode-stage:-webkit-full-screen .tv-overlay,
.channel-pseudo-fullscreen .tv-overlay {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 80 !important;
    pointer-events: none !important;
}

.player-stage:fullscreen .tv-bug,
.tv-mode-stage:fullscreen .tv-bug,
.player-stage:-webkit-full-screen .tv-bug,
.tv-mode-stage:-webkit-full-screen .tv-bug,
.channel-pseudo-fullscreen .tv-bug {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 720px) {
    .channel-fullscreen-control {
        top: 8px;
        right: 8px;
        padding: 8px 10px;
        font-size: 11px;
    }

    .channel-activate-button {
        bottom: 10px;
        min-width: min(92%, 310px);
        padding: 10px 14px;
    }

    .channel-activate-button span {
        display: none;
    }
}


/* v1.4 móvil: el botón de entrada al canal queda siempre por encima de la gráfica. */
@media (max-width: 900px), (pointer: coarse) {
    .channel-activate-button {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        z-index: 2147482000 !important;
        width: min(88%, 340px) !important;
        min-height: 54px;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}
