.reklama-sidebar-slot {
  margin-top: 32px;
  margin-bottom: 0;
}

.reklama-sidebar-slot__body {
  width: 100%;
}

.reklama-creative {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 28px 16px;
  text-align: center;
  box-sizing: border-box;
}

.reklama-creative__text {
  margin: 0;
  color: #111827;
  font-size: 18px;
  line-height: 1.4;
}

.reklama-creative--modal {
  min-width: min(92vw, 360px);
}

.reklama-public-sidebar {
  max-width: 280px;
  width: 100%;
  margin: 32px auto 0;
}

.reklama-public-sidebar__body {
  max-width: 280px;
  width: 100%;
}

.reklama-modal-root {
  position: fixed;
  inset: 0;
  z-index: 12000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.reklama-modal-root.is-visible {
  pointer-events: auto;
  opacity: 1;
}

.reklama-modal-root__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.9);
}

.reklama-modal-root__stage {
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: min(92vw, 520px);
  max-width: 520px;
  transform: translate(-50%, calc(-50% + 8px));
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: auto;
}

.reklama-modal-root.is-visible .reklama-modal-root__stage {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.reklama-modal-root__countdown {
  margin: 0;
  padding: 0 12px;
  width: 100%;
  text-align: center;
  color: #fff !important;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.reklama-modal-root__dialog {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  overflow: visible;
}

.reklama-modal-root__frame {
  padding: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.reklama-modal-root__frame .reklama-creative {
  border: none;
  border-radius: 0;
}
