.fx-reveal{opacity:0;transform:translateY(20px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1);transition-delay:var(--reveal-delay,0ms)}
.fx-reveal.is-revealed,.fx-reveal:focus-within{opacity:1;transform:none}
.hero:not(.fx-visible) .sun-dust i{animation-play-state:paused}
.hero-art{transform:translate(var(--scene-x,0px),var(--scene-y,0px)) scale(1.045);transition:transform 1.2s ease-out}
.world-image{position:relative;overflow:hidden}.scene-motes{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}
.scene-motes i{position:absolute;left:var(--x);top:var(--y);width:5px;height:5px;background:#ffe9a7;box-shadow:0 0 10px #ffd97988;opacity:0;animation:scene-float var(--duration) ease-in-out infinite;animation-delay:var(--delay);animation-play-state:paused}
.fx-visible .scene-motes i{animation-play-state:running}.hero>.scene-motes i{width:7px;height:4px;background:#e7cd87;transform:rotate(25deg)}
#world-farm .scene-motes i{background:#b9d37a;width:8px;height:4px}
#world-fishing .scene-motes i{background:#d5ffff;width:16px;height:2px;box-shadow:0 0 9px #bdffff;animation-name:water-glint}
#world-cooking .scene-motes i{background:#ffd18d;animation-name:ember-rise}
#world-ghost .scene-motes i{background:#c2ffb3;box-shadow:0 0 12px #8eff8e}
#world-survival .scene-motes i{background:#ffb278;animation-name:ember-rise}
.inventory-item[aria-pressed="true"]{box-shadow:0 0 0 2px #b49852,0 0 20px #dfc37133}
.vote-heart{position:fixed;width:20px;height:20px;pointer-events:none;z-index:90;background:#ef8390;clip-path:polygon(0 15%,15% 15%,15% 0,40% 0,40% 15%,60% 15%,60% 0,85% 0,85% 15%,100% 15%,100% 50%,85% 50%,85% 65%,70% 65%,70% 80%,55% 80%,55% 95%,45% 95%,45% 80%,30% 80%,30% 65%,15% 65%,15% 50%,0 50%)}
.village-guide{position:fixed;right:20px;bottom:20px;z-index:25;color:#193d30;font-size:12px}
.guide-launch{display:flex;align-items:center;gap:8px;min-height:48px;padding:5px 16px 5px 6px;background:#f8f1df;border:1px solid #b6bd97;border-radius:30px;box-shadow:0 5px 22px #112e2725;color:inherit;font:inherit;cursor:pointer}
.guide-launch canvas{width:48px;height:48px;image-rendering:pixelated}.guide-launch strong{font-size:11px}.guide-panel{width:250px;padding:18px;background:#fff9eb;border:1px solid #bbc49c;border-radius:14px;box-shadow:0 12px 36px #112e2733;margin-bottom:10px}
.guide-panel[hidden]{display:none}.guide-panel p{font-size:12px;line-height:1.6;margin:8px 0 13px;color:#65714e}.guide-panel a,.guide-panel button{display:block;width:100%;text-align:left;padding:11px 12px;margin:5px 0;border-radius:6px;border:1px solid #d5dbc5;background:#edf0df;color:#193d30;font:inherit;cursor:pointer;text-decoration:none}.guide-panel a:hover,.guide-panel button:hover{background:#dce5cb}.guide-panel .guide-close{background:transparent;text-align:center;border:0;margin-bottom:0}.village-guide.is-small .guide-launch{padding:5px}.village-guide.is-small .guide-launch strong{display:none}
body.modal-open .village-guide{visibility:hidden}.fx-paused .scene-motes i,.fx-paused .sun-dust i{animation-play-state:paused!important}.fx-paused .fx-reveal{opacity:1;transform:none;transition:none}
@keyframes scene-float{0%,100%{opacity:0;translate:0 14px}30%,70%{opacity:.7}80%{translate:24px -24px}}
@keyframes water-glint{0%,100%{opacity:0;scale:.4 1}50%{opacity:.8;scale:1.5 1;translate:12px 0}}
@keyframes ember-rise{0%,100%{opacity:0;translate:0 25px}35%{opacity:.75}85%{translate:12px -45px}}
@media(pointer:coarse){.hero.fx-visible .hero-art{animation:hero-drift 16s ease-in-out infinite alternate}.fx-paused .hero-art{animation-play-state:paused!important}}
@keyframes hero-drift{from{transform:translate(-5px,0) scale(1.045)}to{transform:translate(5px,-5px) scale(1.045)}}
@media(max-width:720px){.village-guide{right:12px;bottom:calc(12px + env(safe-area-inset-bottom))}.village-guide.dock-raised{bottom:116px}.guide-launch{padding:4px}.guide-launch strong{display:none}.guide-launch canvas{width:40px;height:40px}.guide-panel{width:min(250px,calc(100vw - 24px))}}
@media(prefers-reduced-motion:reduce){.fx-reveal{opacity:1;transform:none;transition:none}.scene-motes{display:none}.hero-art{animation:none!important;transform:none!important;transition:none!important}}
