/* Hoạt ảnh cục bộ trên tranh gốc; không thay địa hình, màu hoặc bố cục. */
#map .worldPicture{display:block;width:100%;height:100%}
#map .friendTravel{display:block}
#map .houseSteam{position:absolute;width:0;height:0}
#map .houseSteam i{position:absolute;left:-4px;bottom:0;display:block;width:10px;height:13px;border-radius:55% 55% 45% 45%;background:#fffaf1;opacity:0;animation:houseSteamRise 6s ease-out infinite;animation-delay:var(--steam-delay);animation-play-state:paused}
#map .houseSteam i:nth-child(2){animation-delay:calc(var(--steam-delay) - 2s);width:12px;height:12px}
#map .houseSteam i:nth-child(3){animation-delay:calc(var(--steam-delay) - 4s);width:8px;height:10px}
#map .houseWindowGlow{position:absolute;display:block;width:1.8%;height:1.2%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,#ffe8a9a6,#ffcd762b 55%,transparent 75%);opacity:.08;animation:houseLamp 5.7s ease-in-out infinite;animation-delay:var(--lamp-delay);animation-play-state:paused}
#map .pondShimmer{position:absolute;width:5%;height:12px;transform:translate(-50%,-50%)}
#map .pondShimmer i{position:absolute;inset:0;border-top:2px solid #fffbe4;border-radius:50%;opacity:0;animation:pondRipple 5.5s ease-out infinite;animation-delay:var(--water-delay);animation-play-state:paused}
#map .pondShimmer i+i{inset:5px 4px -4px;animation-delay:calc(var(--water-delay) - 2.75s)}
#map .gardenPetal{position:absolute;display:block;width:7px;height:10px;border-radius:65% 10% 65% 30%;background:linear-gradient(135deg,#fff2e6,#ffb4d2);opacity:0;animation:gardenPetalFall 11s ease-in-out infinite;animation-delay:var(--petal-delay);animation-play-state:paused}
#map .world-5 .gardenPetal{background:linear-gradient(135deg,#ffe89e,#df8b46)}
#map .world-6 .gardenPetal{width:5px;height:5px;background:#fff;border-radius:50%}
#map .world-7 .gardenPetal{width:5px;height:7px;background:#d7fff2}
#map .worldPanel.inView .houseSteam i,#map .worldPanel.inView .houseWindowGlow,#map .worldPanel.inView .pondShimmer i,#map .worldPanel.inView .gardenPetal{animation-play-state:running}
#map.stillWorld .friendTravel,#map.stillWorld .worldLife *,#map.stillWorld .worldLife *::before,#map.stillWorld .worldLife *::after{animation:none!important}
@keyframes houseSteamRise{0%{opacity:0;transform:translate(0,0) scale(.45)}18%{opacity:.48}65%{opacity:.23}100%{opacity:0;transform:translate(-12px,-43px) scale(1.8)}}
@keyframes houseLamp{0%,100%{opacity:.1}40%{opacity:.34}65%{opacity:.2}}
@keyframes pondRipple{0%{opacity:0;transform:scale(.55,.5)}25%{opacity:.42}100%{opacity:0;transform:scale(1.4,1)}}
@keyframes gardenPetalFall{0%{opacity:0;transform:translate(0,-14px) rotate(0)}18%{opacity:.7}80%{opacity:.5}100%{opacity:0;transform:translate(27px,45px) rotate(210deg)}}
@media(max-width:600px){#map .houseSteam i{width:7px;height:9px}#map .houseSteam i:nth-child(2){width:9px;height:9px}#map .houseSteam i:nth-child(3){width:6px;height:7px}#map .gardenPetal{width:5px;height:7px}}
@media(prefers-reduced-motion:reduce){#map .friendTravel,#map .worldLife *,#map .worldLife *::before,#map .worldLife *::after{animation:none!important}}

#map .driftingLeaf{background:linear-gradient(140deg,#bcd58e,#76ac68);width:6px;height:11px;animation-duration:15s}#map .world-5 .driftingLeaf{background:linear-gradient(140deg,#efd08c,#cb7950)}
.homeTreeCrown{transform-box:fill-box;transform-origin:50% 92%;animation:homeTreeBreeze 8s ease-in-out infinite;animation-delay:var(--sway-delay,0s)}
.homeFlowerHead{transform-box:fill-box;transform-origin:50% 100%;animation:homeFlowerBreeze 4.5s ease-in-out infinite;animation-delay:var(--flower-delay,0s)}
.homeCloud{animation:homeCloudDrift 29s ease-in-out infinite}.homeCloud.distant{animation-duration:43s;animation-delay:-17s}
.homeCurrent{opacity:.47;animation:homeWater 5s linear infinite}.homeCurrent.far{opacity:.34;animation-duration:7s}
.homeSmoke circle{opacity:0;transform-box:fill-box;transform-origin:center;animation:homeSmokeRise 4.8s linear infinite}
.homeSmoke circle:nth-child(2){animation-delay:-1.6s}.homeSmoke circle:nth-child(3){animation-delay:-3.2s}
@keyframes homeTreeBreeze{0%,100%{transform:skewX(-.5deg)}20%{transform:skewX(-1.4deg) scaleX(.993)}48%{transform:skewX(3.1deg) scaleX(1.014)}67%{transform:skewX(-.9deg)}80%{transform:skewX(.3deg)}}
@keyframes homeFlowerBreeze{0%,100%{transform:skewX(-5deg)}55%{transform:skewX(10deg)}}
@keyframes homeCloudDrift{0%,100%{transform:translateX(-38px)}50%{transform:translateX(65px)}}
@keyframes homeWater{to{stroke-dashoffset:-260}}@keyframes homeWaterFar{to{stroke-dashoffset:-191}}
.homeCurrent.far{animation-name:homeWaterFar}
@keyframes homeSmokeRise{0%{opacity:0;transform:scale(.65)}16%{opacity:.45}100%{opacity:0;transform:translate(26px,-62px) scale(2.25)}}
.worldMillLife{position:absolute;inset:0;pointer-events:none}
.worldGear{position:absolute;transform:translate(-50%,-50%);width:8%;display:block;opacity:.58}
.worldGear svg{display:block;width:100%;overflow:visible;fill:none;stroke:#fff7d6;stroke-linecap:round;stroke-width:1.8;animation-play-state:paused}
.worldGear.windmillSheen{width:13%;opacity:.38}
.windmillSheen svg{transform:rotate(36deg);stroke-dasharray:4 43;animation:windSailLight 4s linear infinite paused}
.wheelSheen svg{stroke-dasharray:3 52;animation:wheelWaterLight 6s linear infinite paused}
.worldGear.millWater{width:7%;opacity:.68}
.millWater svg{stroke:#edfff5;stroke-dasharray:8 11;animation:millCurrent 2.2s linear infinite paused}
.worldGear.mapFalls{width:7.5%;opacity:.59}
.mapFalls svg{stroke:#efffff;stroke-width:1.3;stroke-dasharray:2 5;animation:fallCurrent .85s linear infinite paused}
.worldPanel.inView .worldGear svg,.acWorldPanel.inMotionView .worldGear svg{animation-play-state:running}
.stillWorld .worldGear svg{animation-play-state:paused!important}
@keyframes windSailLight{to{stroke-dashoffset:-47}}
@keyframes wheelWaterLight{to{stroke-dashoffset:-55}}
@keyframes millCurrent{to{stroke-dashoffset:-19}}
@keyframes fallCurrent{to{stroke-dashoffset:-14}}
.stillWorld :is(.homeTreeCrown,.homeFlowerHead,.homeCloud,.homeCurrent,.homeSmoke circle){animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.worldMillLife{display:none}.homeTreeCrown,.homeFlowerHead,.homeCloud,.homeCurrent,.homeSmoke circle{animation:none!important}}
