/* EPT Cinema V39.1 - correct the oversized V39 poster emblem.
   THIS IS A CSS-ONLY OVERRIDE: keeps original V39 branding logic and movie assets intact.
   The website's generic `.poster img` styling must never size the nested brand icon. */
.ept-uptv-v39-branded .ept-uptv-v39-band {
  position:absolute !important;
  inset:0 0 auto 0 !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  width:100% !important;
  max-width:100% !important;
  height:19px !important;
  min-height:0 !important;
  max-height:19px !important;
  padding:2px 3px !important;
  margin:0 !important;
  overflow:visible !important;
  pointer-events:none !important;
  background:linear-gradient(180deg,rgba(5,14,34,.97),rgba(5,14,34,.85) 68%,rgba(5,14,34,0)) !important;
  transform:none !important;
  z-index:31 !important;
}
.ept-uptv-v39-branded .ept-uptv-v39-logo {
  box-sizing:border-box !important;
  display:inline-flex !important;
  flex:0 0 auto !important;
  position:relative !important;
  align-items:center !important;
  justify-content:center !important;
  gap:2px !important;
  width:auto !important;
  max-width:75% !important;
  min-height:0 !important;
  height:15px !important;
  padding:1px 4px !important;
  margin:0 !important;
  border-radius:5px !important;
  border:1px solid rgba(105,190,255,.65) !important;
  background:rgba(6,38,89,.94) !important;
  box-shadow:0 1px 3px rgba(0,0,0,.4) !important;
  transform:none !important;
  white-space:nowrap !important;
  color:#fff !important;
  font:bold 9px/1 Arial,sans-serif !important;
  letter-spacing:0.1px !important;
}
.ept-uptv-v39-branded .ept-uptv-v39-logo strong {
  flex:0 0 auto !important;
  font:inherit !important;
  color:inherit !important;
  line-height:1 !important;
  margin:0 !important;
  padding:0 !important;
}
/* Highly specific selectors and !important override generic `.poster img {width:100%;height:100%}`. */
button.poster.ept-uptv-v39-branded img.ept-uptv-v39-official-logo,
.ept-uptv-v39-branded .ept-uptv-v39-logo img.ept-uptv-v39-official-logo {
  box-sizing:border-box !important;
  display:block !important;
  position:static !important;
  float:none !important;
  flex:0 0 10px !important;
  width:10px !important;
  min-width:10px !important;
  max-width:10px !important;
  height:10px !important;
  min-height:10px !important;
  max-height:10px !important;
  aspect-ratio:1 / 1 !important;
  object-fit:contain !important;
  object-position:center !important;
  inset:auto !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:50% !important;
  transform:none !important;
  box-shadow:none !important;
  opacity:1 !important;
}
/* The UPTV detail-page poster can use a slightly larger, but still compact badge. */
[data-ept-uptv-poster-v39="large"].ept-uptv-v39-branded .ept-uptv-v39-band {
  height:26px !important;
  max-height:26px !important;
  padding:3px 5px !important;
}
[data-ept-uptv-poster-v39="large"].ept-uptv-v39-branded .ept-uptv-v39-logo {
  height:20px !important;
  padding:2px 5px !important;
  font-size:11px !important;
  gap:3px !important;
}
[data-ept-uptv-poster-v39="large"].ept-uptv-v39-branded img.ept-uptv-v39-official-logo {
  flex:0 0 14px !important;
  width:14px !important;
  min-width:14px !important;
  max-width:14px !important;
  height:14px !important;
  min-height:14px !important;
  max-height:14px !important;
}
@media(max-width:520px) {
  .ept-uptv-v39-branded .ept-uptv-v39-band {height:17px !important;max-height:17px !important;padding:1px 2px !important;}
  .ept-uptv-v39-branded .ept-uptv-v39-logo {height:14px !important;font-size:8px !important;padding:1px 3px !important;}
  [data-ept-uptv-poster-v39="large"].ept-uptv-v39-branded .ept-uptv-v39-band {height:25px !important;max-height:25px !important;padding:3px 4px !important;}
  [data-ept-uptv-poster-v39="large"].ept-uptv-v39-branded .ept-uptv-v39-logo {height:19px !important;font-size:10px !important;}
}
