/*
 VEMNATV V1308.140
 Alteracoes exclusivas:
 - Topbar no PWA
 - Capas dos carrosseis mobile
 - Posicao do login Google mobile
*/

/* =====================================
   1. TOPBAR NO PWA
   ===================================== */

@media (display-mode: standalone) {
  body.vemnatv-catalog-v110-open
  #app.tv-app:not(.tv-overlays-hidden)
  > header.topbar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    z-index: 10020 !important;
  }
}

/* Safari iOS instalado */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 767px) {
    body.vemnatv-catalog-v110-open
    #app.tv-app:not(.tv-overlays-hidden)
    > header.topbar {
      visibility: visible !important;
      opacity: 1 !important;
      pointer-events: auto !important;
    }
  }
}

/* =====================================
   2. CAPAS MOBILE: 140 -> 150 PX
   Apenas carrosseis comuns.
   ===================================== */

@media only screen and (max-width: 599px) {
  #vemnatvCatalogV110
  .v110-section > .v110-row
  > .v110-card:not(.live-card):not(.vntv-continue-card) {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    flex: 0 0 150px !important;
    height: 225px !important;
    min-height: 225px !important;
    max-height: 225px !important;
  }

  #vemnatvCatalogV110
  .v110-section > .v110-row
  > .v110-card:not(.live-card):not(.vntv-continue-card)
  > img.v110-card-bg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* =====================================
   3. LOGIN GOOGLE MOBILE
   Deslocar o bloco de autenticacao
   sem alterar os botoes ou o fluxo OAuth.
   ===================================== */

@media only screen
  and (max-width: 599px)
  and (orientation: portrait) {

  .fire-shell {
    margin-top: 36px !important;
  }
}
