/* =========================================================
   GENIUS MOVIES
   PAGE STABILITY V1
   ========================================================= */


/*
 * Dynamic detail/player UI must not let Chrome's
 * automatic scroll anchoring move the viewport.
 */

html.gm-video-route-stable,
html.gm-video-route-stable body{
    scroll-behavior:auto !important;
}


html.gm-video-route-stable main,

html.gm-video-route-stable .movie-detail,

html.gm-video-route-stable .detail-page,

html.gm-video-route-stable .gm-detail-showcase-v2,

html.gm-video-route-stable .gm-detail-inner,

html.gm-video-route-stable .seasons,

html.gm-video-route-stable #richMetadataMount,

html.gm-video-route-stable #personalizedDetailsMount,

html.gm-video-route-stable .personalized-detail,

html.gm-video-route-stable .gwatch,

html.gm-video-route-stable .gm-player-card,

html.gm-video-route-stable .gtv-watch-page{

    overflow-anchor:none !important;
}


/* =========================================================
   LIVE TV WATCH - MOBILE
   ========================================================= */

@media(max-width:760px){

    html.gm-live-watch-tight-v1,
    html.gm-live-watch-tight-v1 body{

        overflow-x:hidden !important;
    }


    html.gm-live-watch-tight-v1
    .gtv-watch-page{

        position:relative !important;

        top:auto !important;

        bottom:auto !important;

        left:auto !important;

        right:auto !important;

        max-width:100% !important;

        transform:none !important;

        padding-top:0 !important;

        box-sizing:border-box !important;
    }


    html.gm-live-watch-tight-v1
    .gtv-cinema-header{

        position:relative !important;

        top:auto !important;

        margin-top:0 !important;

        transform:none !important;
    }


    /*
     * Do not create another empty spacer between
     * channel header and player.
     */

    html.gm-live-watch-tight-v1
    .gtv-cinema-grid{

        margin-top:10px !important;
    }


    /*
     * Keep the player/recommended content in normal flow.
     */

    html.gm-live-watch-tight-v1
    .gtv-player-column,

    html.gm-live-watch-tight-v1
    .gtv-cinema-player-card{

        position:relative !important;

        top:auto !important;

        transform:none !important;
    }
}
