html.px-home-promo-open,
html.px-home-promo-open body {
  overflow: hidden;
}

.px-home-promo,
.px-home-promo * {
  box-sizing: border-box;
}

.px-home-promo {
  position: fixed;
  inset: 0;
  z-index: 2147482500;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(1, 4, 8, 0.84);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
  backdrop-filter: blur(8px);
}

.px-home-promo.is-visible {
  opacity: 1;
  visibility: visible;
}

.px-home-promo-panel {
  position: relative;
  width: min(520px, 92vw);
  max-height: calc(100dvh - 36px);
  border: 1px solid rgba(255, 170, 0, 0.72);
  background: #020711;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.7),
    0 0 38px rgba(255, 170, 0, 0.18);
  overflow: hidden;
  transform: translateY(12px) scale(0.985);
  transition: transform 180ms ease;
}

.px-home-promo.is-visible .px-home-promo-panel {
  transform: translateY(0) scale(1);
}

.px-home-promo-image {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 36px);
  height: auto;
  object-fit: contain;
}

.px-home-promo-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 170, 0, 0.72);
  border-radius: 0;
  background: rgba(2, 7, 17, 0.88);
  color: #ffaa00;
  font-family: "Share Tech Mono", "Courier New", monospace;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.45);
}

.px-home-promo-close:hover,
.px-home-promo-close:focus-visible {
  background: rgba(255, 170, 0, 0.14);
  color: #fff7df;
  outline: 2px solid transparent;
}

@media (max-width: 640px) {
  .px-home-promo {
    align-items: center;
    padding: 10px;
  }

  .px-home-promo-panel {
    width: min(430px, 94vw);
    max-height: calc(100dvh - 20px);
  }

  .px-home-promo-image {
    max-height: calc(100dvh - 20px);
  }

  .px-home-promo-close {
    top: 7px;
    right: 7px;
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .px-home-promo,
  .px-home-promo-panel {
    transition: none;
  }
}
