        /* === PLAYER === */
        .player-screen {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #000;
            z-index: 1000;
        }

        #player-container {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #player-container {
            position: relative;
        }

        #player-container iframe {
            width: 90%;
            height: 80%;
            max-width: 1200px;
            max-height: 675px;
            pointer-events: auto; /* Permite controles nativos funcionarem */
        }

        /* Camada de proteção sobre o player - BLOQUEIA TODO O IFRAME */
        .player-protection {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0; /* Cobre TODA a área do vídeo */
            z-index: 15;
            background: transparent;
            pointer-events: auto !important;
            cursor: default;
            /* Suporte melhor para touch em dispositivos móveis */
            -webkit-tap-highlight-color: transparent;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -webkit-touch-callout: none;
            touch-action: none;
        }

        /* No iOS, inicialmente permite que toques passem para o YouTube player */
        .player-protection.ios-initial {
            pointer-events: none !important;
            touch-action: auto;
        }

        /* Área segura para controles de vídeo (play/pause) - ESCONDIDO POR PADRÃO */
        .safe-video-controls {
            position: absolute;
            bottom: 5%;
            left: 50%;
            transform: translateX(-50%);
            width: auto;
            max-width: 90%;
            padding: 10px 25px;
            height: 70px;
            background: rgba(0, 0, 0, 0.9);
            border-radius: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            z-index: 25; /* Acima da proteção */
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            -webkit-tap-highlight-color: transparent;
            border: 2px solid rgba(255, 255, 255, 0.2);
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .safe-video-controls.visible {
            opacity: 1;
            visibility: visible;
            pointer-events: auto !important;
        }

        .safe-control-btn {
            background: rgba(255, 255, 255, 0.95);
            color: #333;
            border: none;
            border-radius: 50%;
            width: 55px;
            height: 55px;
            cursor: pointer;
            font-size: 24px;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
            pointer-events: auto !important;
            -webkit-tap-highlight-color: transparent;
        }

        .safe-control-btn:hover {
            background: rgba(255, 255, 255, 1);
            transform: scale(1.1);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }

        .safe-control-btn:active {
            transform: scale(0.95);
            background: rgba(255, 90, 95, 0.9);
            color: white;
        }

        /* === BLOQUEIO DO LOGO DO YOUTUBE (SEGURANÇA) === */
        /* Bloqueia cliques no logo do YouTube no canto inferior direito */
        #player-container::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100px;
            height: 80px;
            background: transparent;
            z-index: 10;
            pointer-events: auto;
            cursor: default;
        }

        /* Bloqueio adicional para iOS - cobre toda área de controles nativos */
        .youtube-logo-blocker {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 120px;
            height: 100px;
            background: transparent;
            z-index: 10;
            pointer-events: auto !important;
            cursor: default;
            -webkit-tap-highlight-color: transparent;
            -webkit-user-select: none;
        }

        /* O iframe do YT Player (substitui a div #yt-player) herda o
           dimensionamento de "#player-container iframe" acima */

