/* DEAR MISS. V05.1 — mobile motion corrections; loaded last, original V05 intact. */
/* Cross-browser scroll-linked text; scroll-driven and older CSS animations are replaced by a modest JS transform. */
.ticker-content{animation:none!important;animation-timeline:auto!important;transform:translate3d(var(--marquee-x,0px),0,0)!important;will-change:transform}
@media(max-width:780px) and (prefers-reduced-motion:no-preference){
  @keyframes mobileBloomIn{from{opacity:.25;transform:translate3d(0,22px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
  .mobile-motion-enter{animation:mobileBloomIn .78s cubic-bezier(.18,.72,.24,1) both}
  .atelier-card.mobile-motion-enter:nth-child(2){animation-delay:.07s}
  .atelier-card.mobile-motion-enter:nth-child(3){animation-delay:.14s}
  /* Floating floral art gives the interior a little life, with no permanent canvas renderer. */
  @keyframes mobilePetalBreathe{0%,100%{transform:translate(-50%,-50%) rotate(var(--rot)) translate3d(0,0,0)}50%{transform:translate(-50%,-50%) rotate(calc(var(--rot) + 2deg)) translate3d(0,-4px,0)}}
  .hero-visual .visual-head{animation:mobilePetalBreathe 5.8s ease-in-out infinite;animation-delay:-1.6s}
  .hero-visual .visual-head:nth-of-type(2n){animation-delay:-4.3s;animation-duration:7.2s}
  @keyframes mobilePortalBloom{0%,100%{transform:translateZ(13px) rotate(-2deg) scale(.98)}50%{transform:translateZ(13px) rotate(3deg) scale(1.03)}}
  #intro:not(.intro-opening) .portal-bloom:nth-child(3n) svg{animation:mobilePortalBloom 5.4s ease-in-out infinite}
  #intro:not(.intro-opening) .portal-bloom:nth-child(3n + 1) svg{animation:mobilePortalBloom 6.5s ease-in-out -2s infinite}
  /* Touch is not hover: the same tactile response must exist on tap or keyboard focus. */
  .atelier-card:active .card-object,.atelier-card:focus-within .card-object{transform:translateY(-7px) rotate(-2deg)}
  .gate-open:active .seal,.gate-open:focus-visible .seal{transform:rotate(13deg) scale(1.08)}
  .garden-secret-flower:active{opacity:1;transform:rotate(12deg) scale(1.12)}
  .hero .btn:active{transform:translateY(-2px) scale(.99)}
}
/* Motion preferences remain authoritative, including for the flower portal and scroll strip. */
@media(prefers-reduced-motion:reduce){
  .ticker-content{animation:none!important;transform:none!important;will-change:auto!important}
  .mobile-motion-enter,.hero-visual .visual-head,#intro .portal-bloom svg{animation:none!important}
}
