.scpa-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.scpa-overlay.is-hidden {
  display: none;
}

.scpa-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.scpa-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 760px);
  max-height: 88vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scpa-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.scpa-banner-link {
  display: block;
  width: 100%;
  text-decoration: none;
}

.scpa-banner-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  background: #fff;
}

@media (max-width: 640px) {
  .scpa-overlay {
    padding: 16px;
  }

  .scpa-dialog {
    width: min(94vw, 520px);
  }

  .scpa-close {
    top: -14px;
    right: -10px;
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .scpa-banner-image {
    border-radius: 10px;
  }
}
