.site-banner-ad {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 50px;
  margin: 0 auto;
  padding: 12px 16px;
  background: rgba(11, 13, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.site-banner-ad__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 728px;
  min-height: 50px;
  margin: 0 auto;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  box-sizing: border-box;
  pointer-events: none;
  z-index: 0;
}

.site-banner-ad__placeholder-label {
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  user-select: none;
}

.site-banner-ad--empty .site-banner-ad__placeholder {
  display: flex;
}

.site-banner-ad--filled .site-banner-ad__placeholder {
  display: none;
}

.site-banner-ad--empty .site-banner-ad__unit {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-banner-ad--filled .site-banner-ad__unit {
  position: relative;
  z-index: 1;
}

@media (min-width: 729px) {
  .site-banner-ad__placeholder {
    min-height: 90px;
  }
}

.site-banner-ad[hidden],
.site-banner-ad--hidden {
  display: none !important;
}

/* Hide footer ad while any in-page player is open */
body.player-open .site-banner-ad,
body:has(.player-overlay.open) .site-banner-ad,
body.tv-playback-active .site-banner-ad {
  display: none !important;
}

.site-banner-ad__unit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.site-banner-ad__frame {
  width: 100%;
  margin: 0 auto;
}

.site-banner-ad__desktop {
  display: flex;
  min-height: 90px;
}

.site-banner-ad__mobile {
  display: none;
  min-height: 50px;
}

@media (max-width: 728px) {
  .site-banner-ad--adsterra .site-banner-ad__desktop,
  .site-banner-ad--aads .site-banner-ad__desktop {
    display: none;
  }

  .site-banner-ad--adsterra .site-banner-ad__mobile,
  .site-banner-ad--aads .site-banner-ad__mobile {
    display: flex;
  }
}

/* AdSense spans both breakpoints */
.site-banner-ad--adsense .site-banner-ad__mobile {
  display: none;
}

.site-banner-ad ins.adsbygoogle {
  display: block;
  width: 100%;
  max-width: 728px;
  min-height: 50px;
}
