/* Additive motion: the homepage owns all layout, colours, and base rotations. */
@property --play-bob {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}
.play-hero{--mx:0;--my:0;isolation:isolate}
.play-hero .scene-house{translate:calc(var(--mx)*5px) calc(var(--my)*4px);will-change:translate}
.play-hero .scene-photo{translate:calc(var(--mx)*-14px) calc(var(--my)*-10px + var(--play-bob,0px));animation:playNaturalFloat 7.1s -1.4s ease-in-out infinite;will-change:translate}
.play-hero .scene-float{translate:calc(var(--mx)*20px) calc(var(--my)*13px + var(--play-bob,0px));animation:playNaturalFloat var(--play-float-duration,6.2s) var(--play-float-delay,0s) ease-in-out infinite;will-change:translate}
.play-hero .scene-float:nth-of-type(2n){translate:calc(var(--mx)*-18px) calc(var(--my)*-12px + var(--play-bob,0px))}
.play-hero .scene-float:nth-of-type(3n){translate:calc(var(--mx)*11px) calc(var(--my)*-16px + var(--play-bob,0px))}
.play-motion-decor{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;contain:strict}
.play-drawn-loop{position:absolute;display:block;color:#ed8059;opacity:.55;transition:rotate .65s cubic-bezier(.2,.8,.2,1),scale .65s;pointer-events:none}
.play-drawn-loop svg{width:100%;height:100%;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.play-drawn-loop-one{width:82px;height:58px;right:8%;top:13%;rotate:-13deg}
.play-drawn-loop-two{width:61px;height:49px;left:43%;bottom:11%;color:#42a6a6;rotate:14deg}
.play-paw-mark{position:absolute;left:4%;bottom:17%;width:33px;height:33px;display:block;color:#ed8059;opacity:.42;rotate:-12deg;transition:rotate .6s cubic-bezier(.2,.8,.2,1),scale .6s}
.play-paw-mark svg{width:100%;height:100%;stroke-width:1.8}
.play-pointer-inside .play-drawn-loop-one{rotate:-3deg;scale:1.05}
.play-pointer-inside .play-drawn-loop-two{rotate:3deg;scale:.94}
.play-pointer-inside .play-paw-mark{rotate:5deg;scale:1.12}
.pet-switch button[data-pet-scene]{transition:background .25s,border-color .25s,color .25s,box-shadow .25s,translate .3s}
.pet-switch button[data-pet-scene]:hover{translate:0 -2px}
.pet-switch button[data-pet-scene]:active{translate:0 1px}
.pet-switch button[data-pet-scene].is-active{box-shadow:0 4px 12px #256b6510}
#hero-pet-image{transform-origin:50% 60%}
.play-tilt-enabled{rotate:var(--play-tilt-axis-x,0) var(--play-tilt-axis-y,1) 0 var(--play-tilt-angle,0deg)}
.play-tilt-enabled.play-pointer-target{will-change:rotate}
.play-magnet-enabled{translate:var(--play-magnet-x,0px) var(--play-magnet-y,0px)}
.play-magnet-enabled.play-pointer-target{will-change:translate}
.play-cart-flight{position:fixed;inset:auto;margin:0;padding:6px;box-sizing:border-box;pointer-events:none;z-index:999999;background:#fff9ee;border:2px solid #ee9977;border-radius:19px;box-shadow:0 12px 32px #184d4029;overflow:hidden;transform-origin:center}
.play-cart-flight img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.play-cart-flight::backdrop{display:none}
.play-ambient-paused .scene-photo,.play-ambient-paused .scene-float{animation-play-state:paused}
.play-hero-offscreen .scene-house,.play-hero-offscreen .scene-photo,.play-hero-offscreen .scene-float{will-change:auto}
@keyframes playNaturalFloat{0%,100%{--play-bob:0px}50%{--play-bob:-8px}}
@media(max-width:760px){
  .play-drawn-loop-one{width:55px;height:39px;right:4%;top:6%;opacity:.38}
  .play-drawn-loop-two{width:46px;height:37px;left:3%;bottom:22%;opacity:.38}
  .play-paw-mark{width:25px;height:25px;left:auto;right:5%;bottom:5%;opacity:.34}
  .play-hero .scene-photo{animation-duration:8s}
  .play-cart-flight{border-radius:15px}
}
@media(hover:none),(pointer:coarse){
  .play-hero .scene-house{translate:0 0;will-change:auto}
  .play-hero .scene-photo,.play-hero .scene-float,.play-hero .scene-float:nth-of-type(2n),.play-hero .scene-float:nth-of-type(3n){translate:0 var(--play-bob,0px);will-change:auto}
  .play-tilt-enabled{rotate:none}
  .play-magnet-enabled{translate:0 0}
}
.motion-paused .play-hero .scene-photo,.motion-paused .play-hero .scene-float{animation:none!important}
.motion-paused .play-hero .scene-house,.motion-paused .play-hero .scene-photo,.motion-paused .play-hero .scene-float{translate:0 0!important;will-change:auto}
.motion-paused .play-motion-decor *,.motion-paused .pet-switch button{transition:none!important}
.motion-paused .play-tilt-enabled{rotate:none!important}
.motion-paused .play-magnet-enabled{translate:0 0!important}
@media(prefers-reduced-motion:reduce){
  .play-hero .scene-photo,.play-hero .scene-float{animation:none!important}
  .play-hero .scene-house,.play-hero .scene-photo,.play-hero .scene-float{translate:0 0!important;will-change:auto}
  .play-motion-decor *,.pet-switch button{transition:none!important}
  .play-tilt-enabled{rotate:none!important}
  .play-magnet-enabled{translate:0 0!important}
}
