body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: black;
    overflow: hidden; /* evita barras invisíveis no mobile */
}

/* Container fullscreen */
.player-fullscreen {
    position: fixed;
    top: 0;
    left: 0;

    /* ==== FULLSCREEN REAL EM MOBILE ==== */
    width: 100vw;
    height: 100vh;     /* fallback */
    height: 100dvh;    /* mobile moderno */
    height: 100svh;    /* iOS 16+ safe area */
    height: 100lvh;    /* viewport estável */
    /* ==================================== */

    background: black;
    z-index: 9999;
}

/* Iframe ocupando a tela toda */
.player-fullscreen iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Botão X */
.close-btn {
    position: fixed;
    top: calc(env(safe-area-inset-top, 20px) + 15px);
    right: 1860px;
    z-index: 10000;
    font-size: 30px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
}


.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
}
@media (min-aspect-ratio: 16/9){
  #playerContainer,.player-container{font-size:clamp(18px,1.15vw,28px)}
  button:focus-visible{outline:3px solid #0ba7fc;outline-offset:4px}
}

@media (min-width:2560px){
  #playerContainer,.player-container{font-size:28px}
}
