.pushrpm-ad-slot {
  align-items: center;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  min-height: 90px;
  overflow: hidden;
  position: relative;
  text-transform: uppercase;
}

.pushrpm-ad-slot::before {
  content: attr(data-pushrpm-placement);
  color: #0f766e;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pushrpm-ad-slot small {
  color: #475569;
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: none;
}

.pushrpm-ad-slot[data-pushrpm-lazy="1"] {
  content-visibility: auto;
}

.pushrpm-ad-slot[data-pushrpm-lazy="1"]:not(.is-rendered) > * {
  opacity: 0.2;
}

.pushrpm-ad-slot[data-pushrpm-status="waiting"] {
  background-image: linear-gradient(90deg, rgba(148, 163, 184, 0.08), rgba(255, 255, 255, 0.6), rgba(148, 163, 184, 0.08));
  background-size: 220% 100%;
}

.pushrpm-ad-slot[data-pushrpm-status="suppressed"] {
  display: none !important;
}

.pushrpm-ad-slot ins,
.pushrpm-ad-slot .pushrpm-gam-slot,
.pushrpm-ad-slot .pushrpm-custom-slot {
  min-height: inherit;
  width: 100%;
}

.pushrpm-ad-in-content {
  margin: 24px auto;
  max-width: 728px;
}

.pushrpm-ad-below-title,
.pushrpm-ad-after-content,
.pushrpm-ad-related-posts {
  margin: 22px auto;
  max-width: 728px;
}

.pushrpm-ad-sticky {
  left: 50%;
  max-width: 728px;
  min-height: 72px;
  position: fixed;
  top: 12px;
  transform: translateX(-50%);
  width: min(92vw, 728px);
  z-index: 9998;
}

.pushrpm-ad-anchor {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  bottom: 12px;
  left: 50%;
  max-width: 728px;
  padding: 28px 12px 12px;
  position: fixed;
  transform: translateX(-50%);
  width: min(92vw, 728px);
  z-index: 9998;
}

.pushrpm-ad-sidebar-inline {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  margin: 18px 0;
  padding: 28px 12px 12px;
  width: 300px;
}

.pushrpm-ad-inner {
  min-height: 72px;
}

.pushrpm-popup,
.pushrpm-interstitial {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
  display: none;
  position: fixed;
  z-index: 9999;
}

.pushrpm-popup {
  bottom: 24px;
  max-width: 340px;
  padding: 28px 14px 14px;
  right: 24px;
}

.pushrpm-interstitial {
  left: 50%;
  max-width: 720px;
  padding: 42px 20px 20px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 720px);
}

.pushrpm-close {
  align-items: center;
  background: #0f172a;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  height: 28px;
  justify-content: center;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
}

.pushrpm-debug-panel {
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  bottom: 12px;
  color: #ffffff;
  font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  left: 12px;
  max-width: min(440px, calc(100vw - 24px));
  padding: 10px 12px;
  position: fixed;
  z-index: 2147483000;
}

.pushrpm-debug-enabled .pushrpm-ad-slot {
  outline: 2px dashed rgba(20, 184, 166, 0.78);
  outline-offset: 3px;
}

.pushrpm-debug-enabled .pushrpm-ad-slot::after {
  background: #0f172a;
  border-radius: 4px;
  color: #ffffff;
  content: attr(data-pushrpm-network) " / " attr(data-pushrpm-status);
  font-size: 10px;
  font-weight: 800;
  left: 6px;
  letter-spacing: 0;
  padding: 3px 5px;
  position: absolute;
  text-transform: none;
  top: 6px;
}

@media (max-width: 640px) {
  .pushrpm-ad-sticky {
    min-height: 56px;
    top: 0;
    width: 100%;
  }

  .pushrpm-ad-anchor {
    bottom: 0;
    border-radius: 8px 8px 0 0;
    width: 100%;
  }

  .pushrpm-popup {
    bottom: 72px;
    left: 12px;
    right: 12px;
    max-width: none;
  }

  .pushrpm-ad-sidebar-inline {
    display: none;
  }
}
