.has-promo-popup { overflow: hidden; }
.promo-popup {
  --popup-width: min(440px, calc(100vw - 32px), max(240px, calc(100dvh - 124px)));
  width: var(--popup-width); max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 1px solid #ffffff38; border-radius: 18px;
  background: #fff; color: #1f2937; overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 24px 90px #02061770;
}
.promo-popup::backdrop, .promo-popup-backdrop {
  background: #0f172a9c;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.promo-popup-content { position: relative; }
.popup-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.promo-popup-close-bar { position: sticky; top: 12px; height: 0; display: flex; justify-content: flex-end; padding-right: 12px; z-index: 2; pointer-events: none; }
.promo-popup-close { width: 40px; height: 40px; min-width: 40px; padding: 0; display: flex; align-items: center; justify-content: center; border: 1px solid #ffffff6b; border-radius: 50%; color: #fff; background: #0f172adb; font: 30px/1 ui-sans-serif, system-ui, sans-serif; cursor: pointer; pointer-events: auto; box-shadow: 0 3px 12px #02061740; }
.promo-popup-close:hover { background: #2563eb; }
.promo-popup-close:focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }
.promo-popup-artwork { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #06132e; }
.promo-popup-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 16px; background: #fff; }
.promo-popup-actions a { display: flex; align-items: center; justify-content: center; min-height: 48px; min-width: 0; padding: 10px 14px; border-radius: 10px; font-size: 1rem; font-weight: 700; text-decoration: none; }
.promo-popup-login { color: #2563eb; background: #eff6ff; border: 1px solid #bfdbfe; }
.promo-popup-login:hover { background: #dbeafe; }
.promo-popup-register { color: #fff; background: linear-gradient(110deg, #2563eb, #7c3aed); border: 1px solid transparent; }
.promo-popup-register:hover { background: linear-gradient(110deg, #1d4ed8, #6d28d9); }
.promo-popup-backdrop { position: fixed; inset: 0; z-index: 50; }
.promo-popup-react { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 51; outline: none; }
@media (max-width: 480px) { .promo-popup { border-radius: 14px; }.promo-popup-actions { padding: 12px; gap: 10px; }.promo-popup-close-bar { top: 10px; padding-right: 10px; } }
@supports not (height: 100dvh) { .promo-popup { width: min(440px, calc(100vw - 32px), max(240px, calc(100vh - 124px))); } }
