.shop-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: #191c2a;
  touch-action: manipulation;
  /* Independent failsafe even if another script fails during startup. */
  animation: intro-safety 0s 5.5s forwards;
  transition: opacity 360ms cubic-bezier(.2,0,0,1), visibility 360ms;
}
.shop-intro-art {
  position: relative;
  width: min(84vw, 390px);
  aspect-ratio: 1;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(.96);
  mix-blend-mode: lighten;
}
.shop-intro-art img { display: block; width: 100%; height: auto; }
.shop-intro.is-ready .shop-intro-art {
  animation: intro-reveal 650ms cubic-bezier(.16,1,.3,1) both;
}
.shop-intro-glint {
  position: absolute;
  left: 31.4%;
  top: 17.8%;
  width: 35.9%;
  height: 35.1%;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
}
.shop-intro-glint::before {
  content: "";
  position: absolute;
  inset: -15% -65%;
  background: linear-gradient(110deg, transparent 44%, rgba(246,220,156,.09) 49%, rgba(255,242,209,.17) 50%, transparent 56%);
  transform: translateX(-65%);
  opacity: 0;
}
.shop-intro.is-ready .shop-intro-glint::before { animation: intro-glint 900ms 240ms ease-in-out both; }
.shop-intro.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes intro-reveal { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes intro-glint { 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(65%); } }
@keyframes intro-safety { to { visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) {
  .shop-intro { transition: none; }
  .shop-intro.is-ready .shop-intro-art { animation: none; opacity: 1; transform: none; }
  .shop-intro-glint { display: none; }
}
