/* Memory v212: genuine gentle cheek-to-cheek cuddle, using existing hand-drawn animals. */
#app .memory127-page .zw195-cuddle.zw212-cuddle {
  left:50%!important; top:51%!important;
  width:clamp(250px,78vw,390px)!important;
  height:clamp(175px,32vh,270px)!important;
  border-radius:45%!important;
  background:radial-gradient(ellipse at 50% 78%,#fff5c7c9 0%,#fff7d478 43%,transparent 73%)!important;
  transform:translate(-50%,-50%)!important;
  animation:zw212-stage 3.6s ease-in-out both!important;
  isolation:isolate!important;
  filter:drop-shadow(0 3px 3px #8b775536)!important;
}
#app .memory127-page .zw212-cuddle .zw195-cuddle-animal {
  top:auto!important;bottom:3%!important;
  width:48%!important;height:89%!important;
  object-fit:contain!important;object-position:center bottom!important;
  transform-origin:50% 85%!important;
  will-change:transform!important;
  filter:drop-shadow(0 3px 2px #725b4d40)!important;
}
#app .memory127-page .zw212-cuddle .zw195-cuddle-left {
  left:0%!important;right:auto!important;z-index:2!important;
  animation:zw212-lean-left 3.6s cubic-bezier(.38,.05,.28,1) both!important;
}
#app .memory127-page .zw212-cuddle .zw195-cuddle-right {
  right:0%!important;left:auto!important;z-index:3!important;
  animation:zw212-lean-right 3.6s cubic-bezier(.38,.05,.28,1) both!important;
}
#app .memory127-page .zw212-cuddle .zw195-cuddle-heart {
  z-index:4!important;top:22%!important;left:47%!important;
  width:clamp(18px,5vw,28px)!important;height:clamp(18px,5vw,28px)!important;
  animation:zw212-float-heart 3.6s ease-in-out both!important;
  animation-delay:calc(var(--i)*90ms)!important;
}
@keyframes zw212-stage {
  0%{opacity:0;scale:.97}
  10%{opacity:1;scale:1}
  87%{opacity:1;scale:1}
  100%{opacity:0;scale:.985}
}
@keyframes zw212-lean-left {
  0%{transform:translateX(-34%) rotate(-8deg)}
  18%{transform:translateX(-8%) rotate(-2deg)}
  40%{transform:translateX(30%) rotate(11deg)}
  49%{transform:translateX(24%) rotate(5deg)}
  60%{transform:translateX(31%) rotate(12deg)}
  72%{transform:translateX(29%) rotate(9deg)}
  83%{transform:translateX(31%) rotate(12deg)}
  94%,100%{transform:translateX(29%) rotate(10deg)}
}
@keyframes zw212-lean-right {
  0%{transform:translateX(34%) scaleX(-1) rotate(-8deg)}
  18%{transform:translateX(8%) scaleX(-1) rotate(-2deg)}
  40%{transform:translateX(-30%) scaleX(-1) rotate(11deg)}
  49%{transform:translateX(-24%) scaleX(-1) rotate(5deg)}
  60%{transform:translateX(-31%) scaleX(-1) rotate(12deg)}
  72%{transform:translateX(-29%) scaleX(-1) rotate(9deg)}
  83%{transform:translateX(-31%) scaleX(-1) rotate(12deg)}
  94%,100%{transform:translateX(-29%) scaleX(-1) rotate(10deg)}
}
@keyframes zw212-float-heart {
  0%,29%{opacity:0;transform:translate(0,12px) scale(.15) rotate(-12deg)}
  46%{opacity:.96;transform:translate(var(--hx),-6px) scale(.88) rotate(-4deg)}
  68%{opacity:1;transform:translate(var(--hx),var(--hy)) scale(1.04) rotate(6deg)}
  85%{opacity:.9;transform:translate(var(--hx),calc(var(--hy) - 10px)) scale(.83) rotate(-5deg)}
  100%{opacity:0;transform:translate(var(--hx),-74px) scale(.48) rotate(8deg)}
}
@media(orientation:landscape){
  #app .memory127-page .zw195-cuddle.zw212-cuddle {
    left:61%!important;top:50%!important;
    width:clamp(215px,34vw,345px)!important;
    height:clamp(150px,53vh,225px)!important;
  }
}
@media(max-width:360px) and (orientation:portrait){
  #app .memory127-page .zw195-cuddle.zw212-cuddle{
    width:clamp(226px,80vw,300px)!important;
    height:clamp(165px,27vh,235px)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #app .memory127-page .zw195-cuddle.zw212-cuddle{
    animation:none!important;opacity:1!important;
  }
  #app .memory127-page .zw212-cuddle .zw195-cuddle-left{
    animation:none!important;transform:translateX(29%) rotate(10deg)!important;
  }
  #app .memory127-page .zw212-cuddle .zw195-cuddle-right{
    animation:none!important;transform:translateX(-29%) scaleX(-1) rotate(10deg)!important;
  }
  #app .memory127-page .zw212-cuddle .zw195-cuddle-heart{animation:none!important;opacity:.75!important}
}