/* Geometry is relative to the supplied 1024×1024 artwork. */
#la-auto-popup {
  --la-auto-popup-css: ready;
  --la-auto-gold: rgb(255 217 157);
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(760px, calc(100vw - 24px), calc(100vh - 32px));
  width: min(760px, calc(100vw - 24px), calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  aspect-ratio: 1;
  height: auto;
  margin: auto;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: clamp(8px, 1.6vw, 18px);
  background: #020303;
  box-shadow: 0 16px 64px rgb(0 0 0 / 65%);
}
#la-auto-popup::backdrop { background: rgb(0 0 0 / 72%); }
#la-auto-popup .la-auto-popup-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#la-auto-popup .la-auto-popup-picture {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: contain;
  pointer-events: none;
}
#la-auto-popup button {
  position: absolute;
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  min-height: 0;
  box-shadow: none;
  background: transparent;
  cursor: pointer;
}
#la-auto-popup button:focus-visible {
  outline: 2px solid var(--la-auto-gold);
  outline-offset: -3px;
}
#la-auto-popup .la-auto-popup-close {
  top: 0;
  right: 0;
  width: max(11.4%, 44px);
  height: max(11.4%, 44px);
  z-index: 2;
}
#la-auto-popup .la-auto-popup-cross-mask {
  position: absolute;
  top: 2.72%;
  left: 91.8%;
  width: 5.4%;
  height: 5.2%;
  background: #010101;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}
#la-auto-popup[open] .la-auto-popup-cross-mask {
  animation: la-auto-popup-fade 5s ease-in-out 2s forwards;
}
@keyframes la-auto-popup-fade {
  from { opacity: 1; }
  to { opacity: .7; }
}
#la-auto-popup :is(.la-auto-popup-cta, .la-auto-popup-glow) {
  left: 11.33%;
  top: 78.9%;
  width: 77.2%;
  height: 14.85%;
}
#la-auto-popup .la-auto-popup-cta { z-index: 2; }
#la-auto-popup .la-auto-popup-glow {
  position: absolute;
  z-index: 1;
  border-radius: 4% / 20%;
  box-shadow: 0 0 0 2px rgb(255 230 177 / 95%),
              0 0 1.2rem .32rem rgb(255 189 78 / 88%),
              0 0 2.5rem .55rem rgb(255 175 59 / 46%),
              inset 0 0 1.4rem rgb(255 235 191 / 78%);
  pointer-events: none;
  opacity: .12;
}
#la-auto-popup[open] .la-auto-popup-glow {
  animation: la-auto-popup-pulse 2.35s ease-in-out infinite;
}
@keyframes la-auto-popup-pulse { 0%, 100% { opacity: .12; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  #la-auto-popup[open] .la-auto-popup-glow { animation-duration: 3.6s; animation-name: la-auto-popup-soft-pulse; }
}
@keyframes la-auto-popup-soft-pulse { 0%, 100% { opacity: .2; } 50% { opacity: .75; } }
