/* Native anime opening. Selectors never alter the underlying storefront. */
.mouah-opening {
  --mouah-opening-ready: 1;
  position: fixed; inset: 0; z-index: 900;
  display: grid; place-items: center; overflow: hidden;
  pointer-events: none;
  animation: mouah-opening-deadline 2.5s linear forwards;
}
.mouah-opening[hidden] { display: none !important; }
.mouah-opening__backdrop {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 49%, #fff7ec 30%, #fbe4e4 100%);
  animation: mouah-opening-unveil 2.4s ease forwards;
}
.mouah-opening__scene { position: relative; width: min(88vw, 570px, 88svh); aspect-ratio: 640 / 520; }
.mouah-opening__art { display: block; width: 100%; height: 100%; overflow: visible; animation: mouah-opening-pop 1.65s cubic-bezier(.22,.75,.28,1) both; }
.mouah-opening__smile { transform-box: fill-box; transform-origin: center; animation: mouah-opening-smile 1.65s ease both; }
.mouah-opening__pucker { transform-box: fill-box; transform-origin: center; animation: mouah-opening-pucker 1.65s ease both; }
.mouah-opening__accents { transform-origin: center; animation: mouah-opening-accents 1.65s ease both; }
.mouah-opening__skip {
  position: absolute; top: max(20px, env(safe-area-inset-top));
  inset-inline-end: max(20px, env(safe-area-inset-right));
  min-height: 48px; max-width: calc(100vw - 40px); padding: 12px 20px;
  border: 1px solid #71122e60; border-radius: 999px;
  background: #fff7ec; color: #52172b;
  font: 600 14px/1.4 'Open Sans', Arial, sans-serif;
  cursor: pointer; pointer-events: auto;
}
.mouah-opening__skip:focus-visible { outline: 3px solid #cf143c; outline-offset: 4px; }
.mouah-opening__piece {
  position: absolute; top: 50%; left: 50%; width: var(--size); height: var(--size);
  opacity: 0; animation: mouah-opening-burst .85s calc(1.4s + var(--delay)) cubic-bezier(.14,.65,.25,1) both;
}
.mouah-opening__piece svg { display: block; width: 100%; height: 100%; overflow: visible; }
@keyframes mouah-opening-pop {
  0% { opacity: 0; transform: scale(.45) rotate(-12deg); }
  24% { opacity: 1; transform: scale(1.06) rotate(3deg); }
  38%, 64% { opacity: 1; transform: scale(1) rotate(0); }
  85% { opacity: 1; transform: scale(1.1) rotate(-5deg); }
  100% { opacity: 0; transform: scale(.65) rotate(4deg); }
}
@keyframes mouah-opening-smile {
  0%, 55% { opacity: 1; transform: scale(1); }
  68%, 100% { opacity: 0; transform: scale(.72, 1.08); }
}
@keyframes mouah-opening-pucker {
  0%, 55% { opacity: 0; transform: scale(.72); }
  69%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes mouah-opening-accents { 0%, 60% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes mouah-opening-burst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.25) rotate(0); }
  12%, 40% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.65) rotate(var(--turn)); }
}
@keyframes mouah-opening-unveil { 0%, 60% { opacity: 1; } 91%, 100% { opacity: 0; } }
/* CSS removes the complete decoration even if JS stops after it appears. */
@keyframes mouah-opening-deadline {
  0%, 96% { visibility: visible; }
  100% { visibility: hidden; pointer-events: none; }
}
@media(max-width:480px) {
  .mouah-opening__scene { width: min(96vw, 76svh); }
  .mouah-opening__skip { top: max(16px, env(safe-area-inset-top)); inset-inline-end: 16px; }
}
@media(prefers-reduced-motion:reduce) {
  .mouah-opening { display: none !important; }
  .mouah-opening, .mouah-opening * { animation: none !important; }
}
