/* Painted layers move within the scene. No page-load or dialog entrance animation. */
.nook-scene{display:block;position:relative;width:100%;isolation:isolate;line-height:0}
.nook-background{width:100%;height:auto;display:block;pointer-events:none}
.nook-lamb{display:block;position:absolute;left:23%;bottom:20%;width:31%;transform-origin:50% 93%;filter:drop-shadow(0 3px 2px #74674718);pointer-events:none}
.nook-portrait>.nook-scene{max-width:520px;margin:auto}.nook-portrait{position:relative}
.ambient-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:3;contain:paint;border-radius:inherit}
.ambient-layer>*{position:absolute;pointer-events:none}
.sun-wash{inset:-20%;background:linear-gradient(118deg,transparent 25%,#fff3c4 37%,#fffce0 42%,transparent 60%);opacity:.12;mix-blend-mode:soft-light}
.drift-petal{top:-8%;left:var(--x);width:9px;height:13px;border-radius:73% 31% 65% 43%;background:radial-gradient(ellipse at 35% 30%,#f6dbcecf,#c7928766 65%,transparent 80%);opacity:0}
.garden-butterfly{width:20px;height:16px;opacity:0;filter:drop-shadow(0 1px 1px #7e665516)}
.garden-butterfly>i{position:absolute;top:0;width:11px;height:15px;background:radial-gradient(ellipse at 70% 65%,#b69e6c80,#e9cc85ce 45%,#fff0c09e 72%);border-radius:75% 25% 64% 34%;transform-origin:100% 70%}
.garden-butterfly>i+ i{left:10px;border-radius:25% 75% 34% 64%;transform-origin:0% 70%}
.butterfly-a{left:23%;top:24%}.butterfly-b{left:73%;top:56%;scale:.7;filter:hue-rotate(325deg)}
.world:not(.sun):not(.cloud) .garden-butterfly,.world:not(.sun):not(.cloud) .drift-petal{display:none}.world:not(.sun) .sun-wash{display:none}
.world,.nook-portrait,.request-letter,.compact-spin-row,.paint-bunny,.parcel-stage,.plush{position:relative}
.dialog-grid>div:first-child{position:relative}
.motion-on .scene-bunny .plush,.motion-on .care-pad .plush{transform-origin:50% 88%;animation:m-breathe 5.5s ease-in-out infinite}
.motion-on .guest-bunny>img,.motion-on .creative-world-guest>img{transform-origin:50% 88%;animation:m-breathe 6.5s -2s ease-in-out infinite}
.motion-on .nook-lamb{animation:m-lamb-idle 9s -2s ease-in-out infinite}
.motion-on .home-bunting>.painted-prop{transform-origin:50% 8%;animation:m-fabric-sway 7s ease-in-out infinite}
.motion-on .world .plot:not(.empty) .plant-art{animation:m-leaves 7s ease-in-out infinite}.motion-on .plot-1 .plant-art{animation-delay:-2s}.motion-on .plot-2 .plant-art{animation-delay:-4s}
.motion-on .sun-wash{animation:m-sunlight 15s ease-in-out infinite}
.motion-on .drift-petal{animation:m-petal-drift var(--duration) var(--delay) linear infinite}
.motion-on .garden-butterfly{animation:m-butterfly-path 26s -7s ease-in-out infinite}.motion-on .butterfly-b{animation-duration:34s;animation-delay:-18s}
.motion-on .garden-butterfly>i{animation:m-wing-left .65s ease-in-out infinite}.motion-on .garden-butterfly>i+i{animation-name:m-wing-right}
.motion-on .world .weather-rain{inset:-30%;animation:m-rain 1.6s linear infinite;opacity:.65}.motion-on .world .weather-snow{inset:-25%;animation:m-snow 14s linear infinite}
.motion-on .creative-world-prop[data-motion-prop="balloon"]>.painted-prop{transform-origin:50% 95%;animation:m-balloon 7s ease-in-out infinite}
.motion-on .creative-world-prop[data-motion-prop="flowers"]>.painted-prop{transform-origin:50% 92%;animation:m-fabric-sway 8s ease-in-out infinite}
.motion-on .creative-world-prop[data-motion-prop="tea"]:after{content:'';position:absolute;left:45%;top:15%;width:9%;height:25%;border-left:2px solid #fff9e2b0;border-radius:50%;opacity:0;animation:m-steam 4s ease-out infinite;pointer-events:none}
.motion-on .dock-item>.painted-prop,.motion-on .dock-item>img,.motion-on .garden-easel>.painted-prop{transition:translate .22s ease,rotate .22s ease}
@media(hover:hover){.motion-on .dock-item:hover>.painted-prop,.motion-on .dock-item:hover>img,.motion-on .garden-easel:hover>.painted-prop{translate:0 -3px;rotate:-2deg}}
.motion-on button:active:not(.scene-bunny):not(.wool-nook){translate:0 1px}
#motionToggle{white-space:nowrap;color:#7b866b}.game-footer .row{flex-wrap:wrap;justify-content:flex-end}
.little-burst{position:absolute;left:50%;top:40%;width:1px;height:1px;z-index:15;pointer-events:none;overflow:visible}
.burst-mark{position:absolute;display:block;width:10px;height:13px;background:radial-gradient(ellipse at 35% 30%,#f7dcd2,#d2998c8c);border-radius:75% 35% 65% 48%;opacity:0;animation:m-burst 1.1s var(--delay) ease-out both}
.burst-mark.heart{width:13px;height:12px;background:#ca9792b3;clip-path:path('M6.5 11.5C-5 5 1-4 6.5 2C12-4 18 5 6.5 11.5Z');border-radius:0}
.burst-mark.wool{width:18px;height:15px;background:radial-gradient(ellipse,#fffaf0,#ded6bfaa);border-radius:45% 65% 48% 60%;box-shadow:1px 1px 1px #aaa08420}
.burst-mark.drop{width:7px;height:13px;background:linear-gradient(30deg,#9bb7c0aa,#c8dce0b3);border-radius:60% 35% 60% 35%}
.harvest-flight{position:fixed;width:44px;height:44px;z-index:160;pointer-events:none;animation:m-gather 1.2s cubic-bezier(.25,.1,.28,1) both}
.harvest-flight>.object{width:44px;height:44px}.harvest-flight>b{position:absolute;right:-9px;bottom:0;background:#fff9ef;border:1px solid #d5bfa4;color:#7d8566;font:500 14px 'DM Sans',sans-serif;border-radius:8px;padding:1px 5px}
.motion-on .m-snuggle{animation:m-snuggle 1.2s ease-in-out both!important}.motion-on .m-nibble{animation:m-nibble 1.35s ease-in-out both!important}
.motion-on .m-lamb-hop{animation:m-lamb-hop .95s ease-in-out both!important}.motion-on .m-brushing{animation:m-brushing .65s ease-in-out infinite!important}
.motion-on .m-dress{transform-origin:50% 90%;animation:m-dress 1s ease-in-out both!important}.motion-on .m-spindle{animation:m-spindle 1.1s ease-in-out both!important}
.motion-on .m-ink-pulse{animation:m-ink-pulse 1.1s ease both!important}.motion-on .m-sprout{animation:m-sprout .9s ease-out both!important}.motion-on .m-letter{animation:m-letter 1s ease-in-out both!important}
.parcel-stage{width:100%;min-height:280px;display:grid;place-items:center;isolation:isolate}.parcel-stage>.parcel-cover{width:85%;max-width:270px;grid-area:1/1}.parcel-stage>#parcelResult{grid-area:1/1;width:100%;z-index:1}
.parcel-stage:has(.prize-reveal)>.parcel-cover{opacity:0}.parcel-stage .prize-reveal{border:0;margin:0;padding:15px 5px;background:transparent}.parcel-stage .prize-reveal>.hand{font-size:23px}.parcel-stage .prize-reveal>h3{font-size:22px;margin:10px 0}.parcel-stage .prize-reveal>p{font-size:14px;margin:8px 0}
.motion-on .m-unwrapping>.parcel-cover{animation:m-parcel-open .65s ease-in-out both}.motion-on .m-unwrapping .prize-reveal{animation:m-reveal .85s .5s cubic-bezier(.22,.61,.36,1) both}
@keyframes m-breathe{0%,100%{transform:translateY(0) scale(1)}45%{transform:translateY(-1px) scale(1.008,1.018)}65%{transform:translateY(0) scale(1.004,1.009)}}
@keyframes m-lamb-idle{0%,54%,100%{transform:translateY(0) rotate(0)}60%{transform:translateY(-2px) rotate(-1.7deg)}67%{transform:translateY(0) rotate(1deg)}74%{transform:rotate(0)}}
@keyframes m-leaves{0%,100%{rotate:-.8deg}50%{rotate:1.2deg}}@keyframes m-fabric-sway{0%,100%{rotate:-.7deg}50%{rotate:.8deg}}
@keyframes m-sunlight{0%,100%{opacity:.07;translate:-2% 0}50%{opacity:.22;translate:2% 0}}
@keyframes m-petal-drift{0%{translate:0 0;rotate:15deg;opacity:0}10%{opacity:.65}50%{translate:var(--wind) 190px;rotate:95deg}85%{opacity:.45}100%{translate:calc(var(--wind)*-1) 560px;rotate:195deg;opacity:0}}
@keyframes m-butterfly-path{0%,7%,94%,100%{opacity:0}15%,85%{opacity:.8}0%{translate:-18px 20px;rotate:-15deg}25%{translate:15px -24px;rotate:15deg}55%{translate:85px 5px;rotate:-10deg}75%{translate:110px -30px;rotate:20deg}100%{translate:170px -15px;rotate:-10deg}}
@keyframes m-wing-left{0%,100%{transform:perspective(80px) rotateY(25deg) rotate(-10deg)}50%{transform:perspective(80px) rotateY(73deg) rotate(5deg)}}
@keyframes m-wing-right{0%,100%{transform:perspective(80px) rotateY(-25deg) rotate(10deg)}50%{transform:perspective(80px) rotateY(-73deg) rotate(-5deg)}}
@keyframes m-rain{from{translate:0 -30px}to{translate:-14px 45px}}@keyframes m-snow{from{background-position:4% 15%}to{background-position:calc(4% + 63px) calc(15% + 162px)}}
@keyframes m-balloon{0%,100%{translate:0 0;rotate:-1deg}50%{translate:2px -4px;rotate:1deg}}
@keyframes m-steam{0%{translate:0 4px;opacity:0;scale:.75}30%{opacity:.7}100%{translate:3px -18px;opacity:0;scale:1.2}}
@keyframes m-burst{0%{opacity:0;transform:translate(0,8px) scale(.4)}15%{opacity:.85}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--turn)) scale(.7)}}
@keyframes m-gather{0%{opacity:0;transform:translate(0,0) scale(.55)}15%{opacity:1;transform:translate(0,-28px) scale(1.06)}35%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.4)}}
@keyframes m-snuggle{0%,100%{transform:translateY(0) rotate(0) scale(1)}25%{transform:translateY(1px) rotate(-3deg) scale(1.025,.98)}60%{transform:translateY(-4px) rotate(2deg) scale(.99,1.02)}}
@keyframes m-nibble{0%,100%{transform:translateY(0) rotate(0)}18%,50%,78%{transform:translateY(2px) rotate(-1.5deg) scale(1.015,.985)}32%,65%{transform:translateY(-1px) rotate(1deg)}}
@keyframes m-lamb-hop{0%,100%{transform:translateY(0) scale(1)}20%{transform:translateY(1px) scale(1.025,.96)}48%{transform:translateY(-8px) rotate(-2deg)}70%{transform:translateY(0) scale(1.02,.985)}}
@keyframes m-brushing{0%,100%{transform:rotate(-1.3deg) scale(1.006)}50%{transform:rotate(1.3deg) scale(1.012)}}
@keyframes m-dress{0%,100%{transform:rotate(0)}25%{transform:rotate(-4deg) translateY(-2px)}65%{transform:rotate(3deg) translateY(-3px)}}
@keyframes m-spindle{0%{rotate:0}80%,100%{rotate:360deg}}@keyframes m-ink-pulse{0%,100%{color:inherit}40%{color:#b77a63;text-shadow:0 0 12px #e0b3a066}}
@keyframes m-sprout{0%{scale:.5;opacity:.2}70%{scale:1.07;opacity:1}100%{scale:1;opacity:1}}
@keyframes m-letter{0%,100%{translate:0 0;rotate:0}35%{translate:0 -7px;rotate:1.5deg}70%{translate:0 -2px;rotate:-.7deg}}
@keyframes m-parcel-open{0%{opacity:1;transform:rotate(0) scale(1)}25%{opacity:1;transform:rotate(-6deg) scale(.98)}48%{opacity:1;transform:rotate(6deg) scale(1.03)}72%{opacity:1;transform:rotate(-3deg) scale(1.06)}100%{opacity:0;transform:translateY(-15px) scale(1.13)}}
@keyframes m-reveal{from{opacity:0;transform:translateY(14px) scale(.88)}to{opacity:1;transform:translateY(0) scale(1)}}
.motion-paused *, .garden-dialog-open #world *{animation-play-state:paused!important}
body:not(.motion-on) .little-burst,body:not(.motion-on) .harvest-flight{display:none}body:not(.motion-on) .ambient-layer{display:none}
@media(max-width:600px){.nook-portrait>.nook-scene{max-width:270px}.garden-butterfly{scale:.7}.drift-petal:nth-child(n+6){display:none}.parcel-stage{min-height:230px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.ambient-layer,.little-burst,.harvest-flight{display:none!important}}
