.promotion-popup {
  box-sizing: border-box;
  width: min(960px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  color: #fff;
  background: #02040e;
  border: 1px solid rgba(230, 190, 90, .3);
  border-radius: 12px;
  box-shadow: 0 24px 80px #0009;
  font: 400 14px/1.45 Arial, sans-serif;
  text-align: center;
}
.promotion-popup::backdrop { background: rgba(0, 0, 0, .68); }
.promotion-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #fff;
  background: #050716cc;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  font: 400 28px/1 Arial, sans-serif;
  cursor: pointer;
}
.promotion-popup__close:focus-visible { outline: 3px solid #f5c400; outline-offset: 2px; }
.promotion-popup__picture { position: relative; display: block; }
.promotion-popup__desktop-period {
  position: absolute;
  left: 0;
  bottom: 3%;
  width: 56.25%;
  margin: 0;
  color: #fff;
  font-size: clamp(12px, 2vw, 20px);
  letter-spacing: .08em;
  text-align: center;
}
.promotion-popup__image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.promotion-popup__details { position: relative; margin-top: -8px; padding: 0 24px 16px; }
.promotion-popup__note { max-width: 680px; margin: 0 auto; font-size: 12px; color: #e4e4e8; }
@media (max-width: 600px) {
  .promotion-popup__desktop-period { display: none; }
  .promotion-popup {
    /* Reserve room for the note and screen margins, then scale the entire 9:16 image. */
    width: min(420px, calc(100vw - 24px), calc((100vh - 116px) * .5625));
    width: min(420px, calc(100vw - 24px), calc((100dvh - 116px) * .5625));
  }
  .promotion-popup__image { aspect-ratio: 9 / 16; }
  .promotion-popup__details { margin-top: -18px; padding: 0 14px 12px; }
  .promotion-popup__note { font-size: 11px; }
}
