/* ONE HIT MUSIC V347 — exact hero/ad routing
   Home: banner image.
   Public routes: same hero footprint, completely empty for Google ads.
   RDC/RDC Login: no hero and no ad space.
   Orange player advertisement: empty slot, no logo/image/text/button. */

/* The old footer placeholder is not used. The hero itself is the public ad space. */
html body #ohmGoogleAdSpace,
html body #siteFooter > #ohmGoogleAdSpace.ohm-google-ad-space{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* Home always keeps the real banner. */
html[data-ohm-ad-route="home"] body #home > #hero,
html[data-ohm-ad-route="home"] body #hero.hero{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}

/* Other public pages keep the exact hero size, but the area is completely empty. */
html[data-ohm-ad-route="public"] body #home > #hero,
html[data-ohm-ad-route="public"] body #hero.hero,
html body #home.page:not([data-view="home"]):not([data-view="rdc"]) > #hero{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  padding:0!important;
  overflow:hidden!important;
  background:#173253!important;
  background-image:none!important;
  box-shadow:none!important;
}

/* Remove every existing banner visual from public routes; leave the element available
   for a future Google-injected ins/iframe. */
html[data-ohm-ad-route="public"] body #hero::before,
html[data-ohm-ad-route="public"] body #hero::after{
  content:none!important;
  display:none!important;
  background:none!important;
}
html[data-ohm-ad-route="public"] body #hero > .person,
html[data-ohm-ad-route="public"] body #hero > .hero-center,
html[data-ohm-ad-route="public"] body #hero > .hero-arrow,
html[data-ohm-ad-route="public"] body #hero > .dots,
html[data-ohm-ad-route="public"] body #hero > .ohm-banner-slider-stage,
html[data-ohm-ad-route="public"] body #hero > .ohm-banner-slider-ui,
html[data-ohm-ad-route="public"] body #hero .ohm-banner-slide,
html[data-ohm-ad-route="public"] body #hero .ohm-banner-slider-dots,
html[data-ohm-ad-route="public"] body #hero .ohm-banner-slider-arrow,
html[data-ohm-ad-route="public"] body #hero .ohm-banner-slider-progress{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* RDC and RDC Login are completely ad-free with no reserved gap. */
html[data-ohm-ad-route="rdc"] body #home > #hero,
html[data-ohm-ad-route="rdc"] body #hero.hero,
html[data-ohm-rdc-inline-login="1"] body #home > #hero,
html[data-ohm-clean-rdc="1"] body #home > #hero,
html[data-ohm-rdc-route="1"] body #home > #hero,
html[data-ohm-rdc-private-nav="1"] body #home > #hero,
html.ohm-new-option-active body #home > #hero,
body.ohm-new-option-view #home > #hero{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  width:0!important;
  height:0!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}

/* Orange player advertisement stays as an empty slot on Home only. */
html[data-ohm-ad-route="home"] body #songs .ohm-home-pl-ad-v313,
html[data-ohm-ad-route="home"] body #songs .ohm-pl-v309-ad{
  box-sizing:border-box!important;
  position:relative!important;
  display:block!important;
  width:auto!important;
  min-height:112px!important;
  height:112px!important;
  margin:10px!important;
  padding:0!important;
  overflow:hidden!important;
  background:linear-gradient(115deg,#a62f00 0%,#e25300 48%,#c33a00 100%)!important;
  border:1px solid rgba(255,188,91,.58)!important;
  border-radius:15px!important;
  box-shadow:0 12px 28px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.18)!important;
  clip-path:none!important;
  transform:none!important;
}
html[data-ohm-ad-route="home"] body #songs .ohm-home-pl-ad-v313::before,
html[data-ohm-ad-route="home"] body #songs .ohm-home-pl-ad-v313::after,
html[data-ohm-ad-route="home"] body #songs .ohm-pl-v309-ad::before,
html[data-ohm-ad-route="home"] body #songs .ohm-pl-v309-ad::after{
  content:none!important;
  display:none!important;
}
html[data-ohm-ad-route="home"] body #songs .ohm-home-pl-ad-v313 > em.ohm-pl-v309-ad-tag,
html[data-ohm-ad-route="home"] body #songs .ohm-home-pl-ad-v313 > img,
html[data-ohm-ad-route="home"] body #songs .ohm-home-pl-ad-v313 > .ohm-home-pl-ad-copy-v313,
html[data-ohm-ad-route="home"] body #songs .ohm-home-pl-ad-v313 > .ohm-pl-v309-ad-copy,
html[data-ohm-ad-route="home"] body #songs .ohm-home-pl-ad-v313 > a,
html[data-ohm-ad-route="home"] body #songs .ohm-pl-v309-ad > .ohm-pl-v309-ad-tag,
html[data-ohm-ad-route="home"] body #songs .ohm-pl-v309-ad > img,
html[data-ohm-ad-route="home"] body #songs .ohm-pl-v309-ad > .ohm-pl-v309-ad-copy,
html[data-ohm-ad-route="home"] body #songs .ohm-pl-v309-ad > a{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* The orange slot is Home-only. Public sub-pages use the empty hero ad area instead. */
html[data-ohm-ad-route="public"] body #songs .ohm-home-pl-ad-v313,
html[data-ohm-ad-route="public"] body #songs .ohm-pl-v309-ad,
html[data-ohm-ad-route="public"] body #playlists .ohm-pl-v309-ad,
html[data-ohm-ad-route="rdc"] body .ohm-home-pl-ad-v313,
html[data-ohm-ad-route="rdc"] body .ohm-pl-v309-ad{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  width:0!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* Google responsive units can occupy either reserved area without clipping. */
html[data-ohm-ad-route="public"] body #hero > ins,
html[data-ohm-ad-route="public"] body #hero > iframe,
html[data-ohm-ad-route="public"] body #hero iframe,
html[data-ohm-ad-route="home"] body #songs .ohm-pl-v309-ad > ins,
html[data-ohm-ad-route="home"] body #songs .ohm-pl-v309-ad > iframe,
html[data-ohm-ad-route="home"] body #songs .ohm-pl-v309-ad iframe{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  max-width:100%!important;
}

@media (max-width:700px){
  html[data-ohm-ad-route="home"] body #songs .ohm-home-pl-ad-v313,
  html[data-ohm-ad-route="home"] body #songs .ohm-pl-v309-ad{
    min-height:94px!important;
    height:94px!important;
    margin:8px!important;
    border-radius:12px!important;
  }
}
