/* ONE HIT MUSIC V343
   Keep the designed orange promotion banner on Home only.
   On all other public SPA pages, reserve one completely empty Google Auto Ads area above copyright.
   RDC/private views never show this space. */

/* The orange playlist/player promotion belongs to Home only. */
html body #home.page:not([data-view="home"]) #songs .ohm-home-pl-ad-v313,
html body #home.page:not([data-view="home"]) #songs .ohm-pl-v309-ad,
html body #home.page:not([data-view="home"]) #playlists .ohm-pl-v309-ad {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  width:0!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* Empty by design: Google Auto Ads may use this reserved area. */
html body #ohmGoogleAdSpace.ohm-google-ad-space {
  box-sizing:border-box!important;
  display:none!important;
  width:calc(100% - 20px)!important;
  max-width:1880px!important;
  min-height:132px!important;
  margin:10px auto 10px!important;
  padding:0!important;
  overflow:hidden!important;
  background:rgba(5,24,39,.48)!important;
  border:1px solid rgba(99,151,196,.18)!important;
  border-radius:14px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}

/* All normal pages except Home. */
html body #home.page:not([data-view="home"]):not([data-view="rdc"]) #siteFooter > #ohmGoogleAdSpace {
  display:block!important;
}

/* Home keeps its designed banner and gets no footer placeholder. */
html body #home.page[data-view="home"] #ohmGoogleAdSpace {
  display:none!important;
}

/* RDC login/library/private routes remain completely ad-free. */
html[data-ohm-rdc-inline-login="1"] body #ohmGoogleAdSpace,
html[data-ohm-clean-rdc="1"] body #ohmGoogleAdSpace,
html[data-ohm-rdc-route="1"] body #ohmGoogleAdSpace,
html[data-ohm-rdc-private-nav="1"] body #ohmGoogleAdSpace,
html[data-ohm-rdc-permanent="1"] body #ohmGoogleAdSpace,
html.ohm-new-option-active body #ohmGoogleAdSpace,
body.ohm-new-option-view #ohmGoogleAdSpace {
  display:none!important;
}

/* Allow a Google-injected responsive unit to fit without clipping. */
html body #ohmGoogleAdSpace > ins,
html body #ohmGoogleAdSpace > iframe,
html body #ohmGoogleAdSpace iframe {
  max-width:100%!important;
}

@media (max-width:700px) {
  html body #ohmGoogleAdSpace.ohm-google-ad-space {
    width:calc(100% - 16px)!important;
    min-height:118px!important;
    margin:8px auto 8px!important;
    border-radius:12px!important;
  }
}
