.aisho-popup-ad[hidden] { display: none !important; }
.aisho-popup-ad {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 40px);
}
.aisho-popup-ad__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(3, 13, 24, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.aisho-popup-ad__panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 94vw);
  max-height: 90vh;
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .55);
  overflow: visible;
  animation: aishoPopupIn .36s ease-out both;
}
.aisho-popup-ad__image {
  display: block;
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 18px;
}
.aisho-popup-ad__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 999px;
  background: #071621;
  color: #fff;
  font: 400 28px/1 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
.aisho-popup-ad__close:hover,
.aisho-popup-ad__close:focus-visible {
  background: #afbaa7;
  color: #071621;
  outline: none;
}
body.aisho-popup-ad-open { overflow: hidden; }
@keyframes aishoPopupIn {
  from { opacity: 0; transform: translateY(18px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 640px) {
  .aisho-popup-ad { padding: 14px; }
  .aisho-popup-ad__panel { width: 96vw; border-radius: 12px; }
  .aisho-popup-ad__image { border-radius: 12px; }
  .aisho-popup-ad__close { top: -12px; right: -6px; width: 36px; height: 36px; font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .aisho-popup-ad__panel { animation: none; }
}

