.radio-adblock-notice[hidden] {
  display: none !important;
}

.radio-adblock-notice {
  width: 100%;
  box-sizing: border-box;
  color: #8f2430;
}

.radio-adblock-notice--floating {
  --radio-adblock-notice-bottom: 12px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--radio-adblock-notice-bottom);
  z-index: 998;
  pointer-events: none;
  padding: 0 16px;
  transition: bottom .18s ease;
}

.radio-adblock-notice__shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.radio-adblock-notice__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px 10px 14px;
  box-sizing: border-box;
  border: 1px solid rgba(225, 58, 73, 0.34);
  border-radius: 12px;
  background: rgba(255, 246, 247, 0.98);
  color: #8f2430;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
  pointer-events: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.radio-adblock-notice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(225, 58, 73, 0.12);
  color: #d93649;
  font-size: 14px;
}

.radio-adblock-notice__copy {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.45;
}

.radio-adblock-notice__copy strong {
  color: #b52939;
  font-weight: 700;
}

.radio-adblock-notice__close {
  appearance: none;
  border: 1px solid rgba(181, 41, 57, 0.28);
  background: #fff;
  color: #a52838;
  cursor: pointer;
  flex: 0 0 auto;
  min-width: 74px;
  padding: 7px 12px;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  opacity: 1;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.radio-adblock-notice__close:hover,
.radio-adblock-notice__close:focus-visible {
  background: #d93649;
  color: #fff;
  border-color: #d93649;
  box-shadow: 0 3px 10px rgba(217, 54, 73, 0.28);
  outline: none;
}

.radio-adblock-notice__close:active {
  transform: translateY(1px);
  background: #bd2c3e;
  border-color: #bd2c3e;
}

html.dark-theme .radio-adblock-notice__inner,
body.dark-theme .radio-adblock-notice__inner,
html[class*="design"] .radio-adblock-notice__inner {
  border-color: rgba(255, 105, 120, 0.34);
}

html.dark-theme .radio-adblock-notice__inner,
body.dark-theme .radio-adblock-notice__inner {
  background: rgba(45, 29, 32, 0.98);
  color: #ffd9de;
}

html.dark-theme .radio-adblock-notice__copy strong,
body.dark-theme .radio-adblock-notice__copy strong {
  color: #ff9ba7;
}

html.dark-theme .radio-adblock-notice__close,
body.dark-theme .radio-adblock-notice__close {
  background: rgba(255, 255, 255, 0.08);
  color: #ffd9de;
  border-color: rgba(255, 155, 167, 0.4);
}

html.dark-theme .radio-adblock-notice__close:hover,
html.dark-theme .radio-adblock-notice__close:focus-visible,
body.dark-theme .radio-adblock-notice__close:hover,
body.dark-theme .radio-adblock-notice__close:focus-visible {
  background: #d93649;
  color: #fff;
  border-color: #d93649;
}

html.radio-tv-mode .radio-adblock-notice,
html.radio-tv-app .radio-adblock-notice,
html.radio-native-app .radio-adblock-notice,
html.radio-low-bandwidth .radio-adblock-notice,
html.notes-hide-ads .radio-adblock-notice,
body.notes-hide-ads .radio-adblock-notice {
  display: none !important;
}

@media (max-width: 767px) {
  .radio-adblock-notice--floating {
    --radio-adblock-notice-bottom: calc(var(--radio-mobile-bottom-nav-height, 64px) + 8px);
    padding: 0 8px;
  }

  .radio-adblock-notice__inner {
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 9px 9px 9px 10px;
    border-radius: 10px;
  }

  .radio-adblock-notice__icon {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .radio-adblock-notice__copy {
    font-size: 11px;
    line-height: 1.35;
  }

  .radio-adblock-notice__copy strong {
    display: block;
  }

  .radio-adblock-notice__close {
    min-width: 58px;
    padding: 6px 8px;
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .radio-adblock-notice__icon {
    display: none;
  }

  .radio-adblock-notice__copy {
    font-size: 10.5px;
  }
}
