/* VEMNATV V128.2 SAFE — HBO-like VOD only */

/* O menu de ícones permanece exclusivo da TV AO VIVO. */
#app.vemnatv-vod-active .bottom-nav{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* O scroll/faixa de episódios continua fora da tela. */
#app.vemnatv-vod-active #vemnatvVodEpisodes,
#vemnatvVodEpisodes{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
  height:0!important;
  max-height:0!important;
  overflow:hidden!important;
}

/* Tratamento mais próximo do HBO Max: vídeo limpo + degradê cinematográfico. */
#app.vemnatv-vod-active .player-shell{
  background:#020208!important;
}
#app.vemnatv-vod-active .player-shell::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:8!important;
  pointer-events:none!important;
  opacity:1!important;
  background:
    linear-gradient(180deg,rgba(2,2,8,.20) 0%,rgba(2,2,8,0) 26%,rgba(2,2,8,0) 56%,rgba(2,2,8,.68) 100%),
    radial-gradient(circle at 10% 82%,rgba(104,45,225,.18),transparent 28%)!important;
}
#app.vemnatv-vod-active #video{
  z-index:2!important;
}

/* Informações limpas, sem caixa pesada. */
#app.vemnatv-vod-active #channelOverlay{
  z-index:30!important;
  left:clamp(18px,4vw,64px)!important;
  right:auto!important;
  bottom:clamp(18px,4vh,48px)!important;
  width:min(720px,calc(100vw - 36px))!important;
  max-width:min(720px,calc(100vw - 36px))!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
  box-shadow:none!important;
}
#app.vemnatv-vod-active #channelOverlay .program-main{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  align-items:end!important;
  gap:14px!important;
}
#app.tv-app.vemnatv-vod-active #channelOverlay #currentLogo{
  width:72px!important;
  min-width:72px!important;
  max-width:72px!important;
  height:104px!important;
  border-radius:7px!important;
  padding:0!important;
  object-fit:cover!important;
  background:#101018!important;
  box-shadow:0 10px 28px rgba(0,0,0,.42)!important;
}
#app.vemnatv-vod-active #channelOverlay #contextTitle,
#app.vemnatv-vod-active #channelOverlay .program-copy .eyebrow{
  display:none!important;
}
#app.vemnatv-vod-active #channelOverlay #currentName{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(25px,3.4vw,44px)!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:-.035em!important;
  white-space:normal!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  text-shadow:0 4px 18px rgba(0,0,0,.68)!important;
}
#app.vemnatv-vod-active #channelOverlay #currentMeta{
  margin:8px 0 0!important;
  color:rgba(244,245,255,.82)!important;
  font-size:13px!important;
  font-weight:600!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#app.vemnatv-vod-active #channelOverlay .progress-row{
  margin-top:12px!important;
  width:min(560px,70vw)!important;
  gap:10px!important;
}
#app.vemnatv-vod-active #channelOverlay .program-main .progress{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:140px!important;
  max-width:none!important;
  height:5px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.24)!important;
}
#app.vemnatv-vod-active #channelOverlay .program-main .progress>span{
  background:#fff!important;
  border-radius:999px!important;
}
#app.vemnatv-vod-active #channelOverlay #nowSubtitle{
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
}

/* Controles centrais, exclusivamente VOD. */
#v1282SafeControls{
  position:absolute!important;
  z-index:80!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%) scale(.96)!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(18px,3vw,34px)!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:opacity .16s ease,transform .16s ease!important;
}
#app.vemnatv-vod-active #v1282SafeControls.vod-active{
  display:flex!important;
}
#app.vemnatv-vod-active #v1282SafeControls.show{
  opacity:1!important;
  pointer-events:auto!important;
  transform:translate(-50%,-50%) scale(1)!important;
}
#v1282SafeControls button{
  border:0!important;
  cursor:pointer!important;
  display:grid!important;
  place-items:center!important;
  position:relative!important;
  -webkit-tap-highlight-color:transparent!important;
}
#v1282SafeControls .v1282-safe-play{
  width:78px!important;
  height:78px!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#090911!important;
  box-shadow:0 14px 38px rgba(0,0,0,.34)!important;
}
#v1282SafeControls .v1282-safe-play span{
  font-size:30px!important;
  font-weight:900!important;
  line-height:1!important;
}
#v1282SafeControls .v1282-safe-skip{
  width:60px!important;
  height:60px!important;
  border-radius:50%!important;
  color:#fff!important;
  background:rgba(15,13,27,.64)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.26)!important;
  backdrop-filter:blur(8px)!important;
}
#v1282SafeControls .v1282-safe-ring{
  font-size:30px!important;
  line-height:1!important;
}
#v1282SafeControls .v1282-safe-skip b{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  font-size:10px!important;
  font-weight:900!important;
}

@media(max-width:700px){
  #app.vemnatv-vod-active #channelOverlay{
    left:14px!important;
    bottom:14px!important;
    width:calc(100vw - 28px)!important;
    max-width:calc(100vw - 28px)!important;
  }
  #app.vemnatv-vod-active #channelOverlay .program-main{
    grid-template-columns:54px minmax(0,1fr)!important;
    gap:10px!important;
  }
  #app.tv-app.vemnatv-vod-active #channelOverlay #currentLogo{
    width:54px!important;
    min-width:54px!important;
    max-width:54px!important;
    height:78px!important;
  }
  #app.vemnatv-vod-active #channelOverlay #currentName{font-size:20px!important}
  #app.vemnatv-vod-active #channelOverlay #currentMeta{font-size:11px!important;margin-top:5px!important}
  #app.vemnatv-vod-active #channelOverlay .progress-row{margin-top:8px!important;width:100%!important}
  #v1282SafeControls .v1282-safe-play{width:62px!important;height:62px!important}
  #v1282SafeControls .v1282-safe-play span{font-size:24px!important}
  #v1282SafeControls .v1282-safe-skip{width:50px!important;height:50px!important}
  #v1282SafeControls .v1282-safe-ring{font-size:24px!important}
}

@media(max-height:520px) and (orientation:landscape){
  #app.tv-app.vemnatv-vod-active #channelOverlay #currentLogo{display:none!important}
  #app.vemnatv-vod-active #channelOverlay .program-main{grid-template-columns:1fr!important}
  #app.vemnatv-vod-active #channelOverlay #currentName{font-size:18px!important;-webkit-line-clamp:1!important}
  #v1282SafeControls .v1282-safe-play{width:56px!important;height:56px!important}
  #v1282SafeControls .v1282-safe-skip{width:46px!important;height:46px!important}
}
