@media (max-width:900px), (pointer:coarse){

    html.gm-mobile-fs-lock,
    body.gm-mobile-fs-lock{
        overflow:hidden !important;
        overscroll-behavior:none !important;
    }


    .gm-mobile-fs-host{
        position:relative;
    }


    .gm-mobile-fs-host.gm-mobile-fs-active{
        position:fixed !important;

        inset:0 !important;

        width:100vw !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;

        transform:none !important;

        background:#000 !important;

        z-index:2147483000 !important;
    }


    .gm-mobile-fs-active video{
        width:100% !important;
        height:100% !important;

        max-width:none !important;
        max-height:none !important;

        object-fit:contain !important;

        background:#000 !important;
    }


    .gm-mobile-fs-active .plyr,
    .gm-mobile-fs-active .plyr__video-wrapper{
        width:100% !important;
        height:100% !important;

        max-width:none !important;
        max-height:none !important;
    }


    .gm-mobile-fs-toggle{
        position:absolute;

        top:12px;
        right:12px;

        width:46px;
        height:46px;

        display:flex;
        align-items:center;
        justify-content:center;

        padding:0;

        border:1px solid rgba(255,255,255,.22);
        border-radius:50%;

        background:rgba(0,0,0,.72);
        color:#fff;

        font-size:25px;
        line-height:1;

        z-index:2147483600;

        cursor:pointer;

        -webkit-tap-highlight-color:transparent;
        touch-action:manipulation;
    }


    .gm-mobile-fs-active
    .gm-mobile-fs-toggle{
        position:fixed;

        top:max(12px,env(safe-area-inset-top));
        right:max(12px,env(safe-area-inset-right));

        background:rgba(0,0,0,.72);
    }


    /*
     * Don't show a dead native fullscreen button
     * on WebKit mobile players.
     */
    video::-webkit-media-controls-fullscreen-button{
        display:none !important;
    }
}
