@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&display=swap');

/* VEMNATV V129 R2 — VOD: faixa, progresso e legenda */

/* Mata os controles centrais antigos V128.2 e o prompt V119. */
#v1282SafeControls,
#app.vemnatv-vod-active #v1282SafeControls,
#app.vemnatv-vod-active #v1282SafeControls.vod-active,
#app.vemnatv-vod-active #v1282SafeControls.show,
#vemnatvVodPlayPrompt{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* A legenda antiga fica oculta somente no VOD; a R1 usa overlay próprio. */
#app.vemnatv-vod-active #vemnatvPtbrSubtitleOverlay{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
}

/* Os botões novos nunca aparecem na TV ao vivo. */
#channelOverlay .v129r1-actions{display:none}

html body #app.tv-app.vemnatv-vod-active #channelOverlay.program-panel{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  width:100%!important;
  min-width:100%!important;
  max-width:none!important;
  min-height:184px!important;
  height:auto!important;
  box-sizing:border-box!important;
  display:block!important;
  padding:15px 28px max(18px,env(safe-area-inset-bottom,0px))!important;
  margin:0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(90deg,rgba(4,12,27,.98) 0%,rgba(5,15,32,.96) 72%,rgba(5,15,32,.92) 100%)!important;
  box-shadow:0 -12px 38px rgba(0,0,0,.24)!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
  z-index:70!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay #adCard,
html body #app.tv-app.vemnatv-vod-active #channelOverlay #sponsorCard{
  display:none!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:108px minmax(0,1fr)!important;
  align-items:center!important;
  gap:20px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentLogo{
  display:block!important;
  grid-column:1!important;
  align-self:center!important;
  justify-self:start!important;
  width:108px!important;
  min-width:108px!important;
  max-width:108px!important;
  height:150px!important;
  min-height:150px!important;
  max-height:150px!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  object-fit:cover!important;
  object-position:center!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:11px!important;
  background:#0b1220!important;
  box-shadow:0 12px 30px rgba(0,0,0,.38)!important;
  overflow:hidden!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-copy{
  grid-column:2!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:stretch!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay #contextTitle,
html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-copy .eyebrow{
  display:none!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentName{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  font-size:clamp(34px,3.2vw,48px)!important;
  line-height:1.02!important;
  font-weight:800!important;
  letter-spacing:-.035em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-shadow:0 3px 16px rgba(0,0,0,.52)!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentMeta{
  margin:7px 0 0!important;
  padding:0!important;
  color:rgba(255,255,255,.84)!important;
  font-size:14px!important;
  font-weight:650!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay .progress-row{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:minmax(280px,54vw) max-content 1fr max-content!important;
  align-items:center!important;
  justify-items:stretch!important;
  column-gap:14px!important;
  row-gap:0!important;
  margin:15px 0 0!important;
  padding:0!important;
  overflow:visible!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main .progress{
  position:relative!important;
  grid-column:1!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:10px!important;
  min-height:10px!important;
  max-height:10px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.23)!important;
  cursor:pointer!important;
  touch-action:none!important;
  outline:none!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main .progress::before{
  content:''!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:-10px!important;
  bottom:-10px!important;
  border-radius:999px!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main .progress>span{
  position:relative!important;
  display:block!important;
  height:100%!important;
  min-height:100%!important;
  max-height:100%!important;
  border-radius:999px!important;
  background:#f7fbff!important;
  box-shadow:0 0 12px rgba(255,255,255,.22)!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main .progress>span::after{
  content:''!important;
  position:absolute!important;
  right:-7px!important;
  top:50%!important;
  width:15px!important;
  height:15px!important;
  transform:translateY(-50%)!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 0 0 3px rgba(255,255,255,.15),0 4px 12px rgba(0,0,0,.35)!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main .progress:focus-visible{
  box-shadow:0 0 0 3px rgba(88,190,255,.38)!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay #nowSubtitle{
  grid-column:2!important;
  width:auto!important;
  min-width:max-content!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:750!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay .v129r1-actions{
  grid-column:4!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:9px!important;
  width:max-content!important;
  min-width:max-content!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay .v129r1-icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.17)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.055)!important;
  color:#eef6ff!important;
  box-shadow:0 5px 14px rgba(0,0,0,.18)!important;
  cursor:pointer!important;
  outline:none!important;
  transition:background .14s ease,border-color .14s ease,transform .14s ease!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay .v129r1-icon:hover,
html body #app.tv-app.vemnatv-vod-active #channelOverlay .v129r1-icon:focus-visible{
  transform:translateY(-1px)!important;
  background:rgba(255,255,255,.11)!important;
  border-color:rgba(116,205,255,.48)!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay .v129r1-icon.is-active{
  background:rgba(57,159,230,.22)!important;
  border-color:rgba(107,207,255,.65)!important;
  color:#fff!important;
}

html body #app.tv-app.vemnatv-vod-active #channelOverlay .v129r1-icon svg{
  width:18px!important;
  height:18px!important;
  display:block!important;
  fill:currentColor!important;
}

/* Overlay próprio: posicionado por JS sempre 20px acima da faixa. */
#vemnatvVodSubtitleV129R1{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:220px;
  z-index:110!important;
  display:flex!important;
  justify-content:center!important;
  align-items:flex-end!important;
  box-sizing:border-box!important;
  padding:0 clamp(18px,5vw,76px)!important;
  pointer-events:none!important;
  user-select:none!important;
}

#vemnatvVodSubtitleV129R1:empty,
#vemnatvVodSubtitleV129R1.v129r1-sub-off{
  display:none!important;
}

#vemnatvVodSubtitleV129R1 .v129r1-subtitle-card{
  max-width:min(92vw,1120px)!important;
  margin:0 auto!important;
  color:#FFFF00!important;
  font-family:'Poppins',system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;
  font-size:clamp(22px,2.25vw,34px)!important;
  font-weight:700!important;
  line-height:1.28!important;
  letter-spacing:.005em!important;
  text-align:center!important;
  text-wrap:balance!important;
  text-shadow:
    0 3px 8px rgba(0,0,0,.98),
    0 0 14px rgba(0,0,0,.90),
    1px 1px 0 rgba(0,0,0,.95),
    -1px 1px 0 rgba(0,0,0,.95),
    1px -1px 0 rgba(0,0,0,.95),
    -1px -1px 0 rgba(0,0,0,.95)!important;
}

#vemnatvVodSubtitleV129R1 .v129r1-subtitle-card span{
  display:block!important;
  min-height:1.28em!important;
}

@media(max-width:1000px){
  html body #app.tv-app.vemnatv-vod-active #channelOverlay.program-panel{
    min-height:160px!important;
    padding:12px 18px max(14px,env(safe-area-inset-bottom,0px))!important;
  }
  html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main{
    grid-template-columns:86px minmax(0,1fr)!important;
    gap:15px!important;
  }
  html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentLogo{
    width:86px!important;min-width:86px!important;max-width:86px!important;
    height:126px!important;min-height:126px!important;max-height:126px!important;
  }
  html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentName{
    font-size:clamp(28px,3.4vw,38px)!important;
  }
  html body #app.tv-app.vemnatv-vod-active #channelOverlay .progress-row{
    grid-template-columns:minmax(220px,48vw) max-content 1fr max-content!important;
    column-gap:11px!important;
  }
}

@media(max-width:900px) and (orientation:landscape){
  html body #app.tv-app.vemnatv-vod-active #channelOverlay.program-panel{
    min-height:132px!important;
    padding:9px 14px max(10px,env(safe-area-inset-bottom,0px))!important;
  }
  html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main{
    grid-template-columns:68px minmax(0,1fr)!important;
    gap:12px!important;
  }
  html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentLogo{
    width:68px!important;min-width:68px!important;max-width:68px!important;
    height:100px!important;min-height:100px!important;max-height:100px!important;
  }
  html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentName{font-size:22px!important}
  html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentMeta{font-size:10px!important;margin-top:4px!important}
  html body #app.tv-app.vemnatv-vod-active #channelOverlay .progress-row{
    grid-template-columns:minmax(150px,38vw) max-content 1fr max-content!important;
    column-gap:8px!important;margin-top:9px!important;
  }
  html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main .progress{height:8px!important;min-height:8px!important;max-height:8px!important}
  html body #app.tv-app.vemnatv-vod-active #channelOverlay #nowSubtitle{font-size:9px!important}
  html body #app.tv-app.vemnatv-vod-active #channelOverlay .v129r1-icon{width:32px!important;height:32px!important;min-width:32px!important}
  html body #app.tv-app.vemnatv-vod-active #channelOverlay .v129r1-icon svg{width:15px!important;height:15px!important}
  #vemnatvVodSubtitleV129R1{padding:0 18px!important}
  #vemnatvVodSubtitleV129R1 .v129r1-subtitle-card{font-size:clamp(17px,2.7vw,23px)!important}
}

@media(max-width:767px) and (orientation:portrait){
  html body #app.tv-app.vemnatv-vod-active #channelOverlay.program-panel{
    min-height:174px!important;
    padding:12px 12px max(15px,env(safe-area-inset-bottom,0px))!important;
  }
  html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main{
    grid-template-columns:72px minmax(0,1fr)!important;
    gap:11px!important;
  }
  html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentLogo{
    width:72px!important;min-width:72px!important;max-width:72px!important;
    height:106px!important;min-height:106px!important;max-height:106px!important;
  }
  html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentName{font-size:clamp(21px,7vw,27px)!important}
  html body #app.tv-app.vemnatv-vod-active #channelOverlay .progress-row{
    grid-template-columns:1fr max-content!important;
    column-gap:9px!important;row-gap:10px!important;
  }
  html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main .progress{
    grid-column:1 / -1!important;width:100%!important;
  }
  html body #app.tv-app.vemnatv-vod-active #channelOverlay #nowSubtitle{grid-column:1!important}
  html body #app.tv-app.vemnatv-vod-active #channelOverlay .v129r1-actions{grid-column:2!important}
  #vemnatvVodSubtitleV129R1{padding:0 13px!important}
  #vemnatvVodSubtitleV129R1 .v129r1-subtitle-card{font-size:clamp(17px,5vw,23px)!important}
}

/* V129-R5-VOD-BACK START */
#vemnatvVodBackHome{display:none}
#app.vemnatv-vod-active .topbar .brand-logo-topbar,
#app.vemnatv-vod-active .topbar #brandSubtitle{display:none!important}
#app.vemnatv-vod-active #vemnatvVodBackHome{
  display:inline-flex!important;align-items:center;justify-content:center;
  width:44px;height:44px;padding:0;margin:0;border:0;border-radius:50%;
  background:rgba(8,15,31,.58);color:#fff;cursor:pointer;
  -webkit-tap-highlight-color:transparent
}
#app.vemnatv-vod-active #vemnatvVodBackHome svg{width:25px;height:25px;display:block}
#app.vemnatv-vod-active #vemnatvVodBackHome:focus-visible{
  outline:2px solid rgba(255,255,255,.92);outline-offset:3px
}
#vemnatvCatalogV110 [data-v110-archive] .v110-card-copy{display:none!important}
/* V129-R5-VOD-BACK END */

/* V129-R5.2.1-VOD-POLISH START */
#app.vemnatv-vod-active #vemnatvVodBackHome{display:none!important}
#app.vemnatv-vod-active.v129r52-controls-visible #vemnatvVodBackHome{display:inline-flex!important}
html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main{grid-template-columns:113px minmax(0,1fr)!important}
html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentLogo{width:113px!important;min-width:113px!important;max-width:113px!important;height:155px!important;min-height:155px!important;max-height:155px!important}
html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentName{line-height:1.10!important;padding-bottom:5px!important}
html body #app.tv-app.vemnatv-vod-active #channelOverlay .progress-row{margin-top:18px!important}
#vemnatvVodRecommendations{position:absolute!important;left:18px!important;right:18px!important;bottom:200px;z-index:68!important;box-sizing:border-box!important;padding:16px 18px 18px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:16px!important;background:linear-gradient(180deg,rgba(8,16,31,.97),rgba(4,10,21,.98))!important;box-shadow:0 -12px 42px rgba(0,0,0,.34)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(18px)!important;transition:opacity .22s ease,transform .24s ease,visibility .22s!important}
#vemnatvVodRecommendations.is-open{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)!important}
.v129r52-rec-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:12px!important}.v129r52-rec-head>div{display:flex!important;flex-direction:column!important;gap:2px!important}.v129r52-rec-head small{font-size:10px!important;font-weight:800!important;letter-spacing:.14em!important;color:rgba(255,255,255,.55)!important}.v129r52-rec-head strong{font-size:20px!important;line-height:1.1!important;color:#fff!important}.v129r52-rec-close{width:34px!important;height:34px!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.08)!important;color:#fff!important;font-size:24px!important;line-height:1!important;cursor:pointer!important}
.v129r52-rec-row{display:flex!important;gap:12px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 2px 6px!important;scroll-snap-type:x proximity!important;scrollbar-width:thin!important}.v129r52-rec-card{flex:0 0 132px!important;width:132px!important;padding:0!important;border:0!important;background:transparent!important;color:#fff!important;text-align:left!important;cursor:pointer!important;scroll-snap-align:start!important}.v129r52-rec-card img{display:block!important;width:132px!important;height:190px!important;object-fit:cover!important;border-radius:9px!important;background:#111a2a!important;box-shadow:0 8px 20px rgba(0,0,0,.28)!important}.v129r52-rec-card span{display:block!important;margin-top:7px!important;font-size:12px!important;font-weight:750!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.v129r52-rec-card small{display:block!important;margin-top:2px!important;font-size:9px!important;color:rgba(255,255,255,.58)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.v129r52-rec-loading{padding:22px 8px!important;color:rgba(255,255,255,.72)!important;font-size:13px!important}
@media(max-width:1000px){html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main{grid-template-columns:91px minmax(0,1fr)!important}html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentLogo{width:91px!important;min-width:91px!important;max-width:91px!important;height:131px!important;min-height:131px!important;max-height:131px!important}#vemnatvVodRecommendations{left:12px!important;right:12px!important;padding:13px!important}}
@media(max-width:900px) and (orientation:landscape){html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main{grid-template-columns:73px minmax(0,1fr)!important}html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentLogo{width:73px!important;min-width:73px!important;max-width:73px!important;height:105px!important;min-height:105px!important;max-height:105px!important}html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentName{padding-bottom:3px!important;line-height:1.12!important}html body #app.tv-app.vemnatv-vod-active #channelOverlay .progress-row{margin-top:11px!important}.v129r52-rec-card{flex-basis:104px!important;width:104px!important}.v129r52-rec-card img{width:104px!important;height:148px!important}}
@media(max-width:767px) and (orientation:portrait){html body #app.tv-app.vemnatv-vod-active #channelOverlay .program-main{grid-template-columns:77px minmax(0,1fr)!important}html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentLogo{width:77px!important;min-width:77px!important;max-width:77px!important;height:111px!important;min-height:111px!important;max-height:111px!important}html body #app.tv-app.vemnatv-vod-active #channelOverlay #currentName{padding-bottom:4px!important;line-height:1.12!important}#vemnatvVodRecommendations{left:8px!important;right:8px!important;padding:11px!important}.v129r52-rec-card{flex-basis:108px!important;width:108px!important}.v129r52-rec-card img{width:108px!important;height:154px!important}}
/* V129-R5.2.1-VOD-POLISH END */
