/* LINEPORTAL v376 — render the saved tournament cover as a real image element.
   This avoids runtime CSSOM insertion, which may be blocked by the site's CSP. */
.detail-head.tournament-custom-banner.has-banner-image{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background-color:#073c3b!important;
  background-image:none!important;
  color:#fff!important;
}
.detail-head.tournament-custom-banner.has-banner-image > .tournament-banner-photo{
  position:absolute!important;
  inset:0!important;
  z-index:-2!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  margin:0!important;
  border:0!important;
  border-radius:inherit!important;
  opacity:1!important;
}
.detail-head.tournament-custom-banner.has-banner-image::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:-1!important;
  background:rgba(0,35,38,.42)!important;
  pointer-events:none!important;
}
.detail-head.tournament-custom-banner.has-banner-image > :not(.tournament-banner-photo){
  position:relative!important;
  z-index:1!important;
}

/* LINEPORTAL v418 — use the mobile-specific cover and preserve its full 3:4 frame.
   The <picture> source switches at 700px; object-fit:contain prevents vertical crop. */
.detail-head.tournament-custom-banner.has-banner-image > .tournament-banner-picture{
  position:absolute!important;
  inset:0!important;
  z-index:-2!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
.detail-head.tournament-custom-banner.has-banner-image > .tournament-banner-picture > .tournament-banner-photo{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  margin:0!important;
  border:0!important;
  border-radius:inherit!important;
  opacity:1!important;
}
.detail-head.tournament-custom-banner.has-banner-image::before{
  background:rgba(0,0,0,var(--lp-tour-banner-overlay,.25))!important;
}
.detail-head.tournament-custom-banner.has-banner-image > :not(.tournament-banner-picture){
  position:relative!important;
  z-index:1!important;
}
@media(max-width:700px){
  .detail-head.tournament-custom-banner.has-banner-image > .tournament-banner-picture > .tournament-banner-photo{
    object-fit:contain!important;
    object-position:center center!important;
  }
  .detail-head.tournament-custom-banner.has-banner-image{
    background-color:#061a2b!important;
  }
}
