/* The entire decorative layer is below the roads and their touch targets. */
.location-scene-veil,.location-scene-roads{pointer-events:none}
.location-motion-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none!important;user-select:none;contain:layout paint}
.location-motion-painting{position:absolute;container-type:size;pointer-events:none!important}
.location-motion-painting{isolation:isolate}
.location-motion-painting>.location-motion-creature{z-index:5}
.location-motion-water{position:absolute;inset:0;z-index:3;pointer-events:none}
.location-water-reflection{position:absolute;inset:0;width:100%;height:100%;opacity:.23;pointer-events:none;z-index:9}
.location-motion-water>.location-motion-creature{z-index:5}
.location-motion-fish{filter:saturate(.65) brightness(1.13)}
.location-motion-crocodile{filter:saturate(.8) brightness(1.05)}
.location-motion-still{z-index:0}.location-motion-canvas{z-index:1}
.location-motion-painting>.location-motion-particle,.location-motion-painting>.location-motion-mist,.location-motion-painting>.location-motion-circle{z-index:2}
.location-motion-painting>.location-motion-lookout,.location-motion-painting>.location-motion-snowman,.location-motion-painting>.location-motion-titmouse,.location-motion-painting>.location-motion-raven,.location-motion-painting>.location-motion-room-object{z-index:5}
.location-motion-still,.location-motion-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none!important}
.location-motion-still{opacity:0}.location-motion-layer.is-ready .location-motion-still{opacity:1}
.perf-lite .location-motion-layer{display:none!important}
.location-motion-canvas{opacity:0}.location-motion-layer.is-ready:not(.is-static) .location-motion-canvas{opacity:1}
.location-motion-layer span{position:absolute;display:block;pointer-events:none!important}
.location-motion-layer:not(.is-ready) span,.location-motion-layer.is-static span{visibility:hidden}
.location-motion-particle{width:var(--size);height:var(--size);border-radius:50%;opacity:0;background:#fff8dd;animation:location-particle var(--duration) var(--delay) linear infinite;animation-play-state:paused}
.location-motion-particle.is-snow{background:#fffefa;box-shadow:0 0 1px #6e9098b0}
/* BEGIN LOCAL WINTER PREVIEW */
.winter-style-control{grid-column:1/-1;min-width:0;padding:8px 0 12px;color:#426e60}
.winter-style-control>strong{font:700 13px/1.3 Interface,sans-serif}
.winter-style-options{display:flex;gap:8px;margin-top:9px}
.winter-style-options>button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:48px;padding:7px 9px;border:1px solid #c6cbb3;border-radius:10px;background:#fffdf5;color:#577362;font:700 13px/1.2 Interface,sans-serif}
.winter-style-options>button[aria-pressed=true]{border-color:#608c7d;background:#e4eddf;box-shadow:inset 0 0 0 1px #608c7d}
.winter-style-options img{width:25px;height:28px;object-fit:contain}
.winter-style-options>button[data-world-style=winter]{background-image:linear-gradient(115deg,#f2f8f5b0,#dae9e4a0)}
/* END LOCAL WINTER PREVIEW */
.location-motion-particle.is-leaf{background:url('art/autumn-leaf-v10.png') center/contain no-repeat;border-radius:0;filter:saturate(.4) brightness(.83);animation-name:location-leaf}
.location-motion-particle.is-gold{background:#ffe7ac;box-shadow:0 0 3px #ffdb8c90}
.location-motion-particle.is-blue{background:#c3f1ef;box-shadow:0 0 4px #b1eae9b0}
.location-motion-particle.is-ember{background:#ffc077;box-shadow:0 0 3px #f47d3d90}
.location-motion-particle.is-ash{background:#c6c2b9}
.location-motion-particle.is-firefly{background:#fff6bd;box-shadow:0 0 6px 2px #ffe38480}
.location-motion-lamp{z-index:4;width:clamp(8px,1.8cqw,16px);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#fff9d9 0 7%,var(--light) 23%,transparent 70%);mix-blend-mode:screen;animation:location-lamp var(--duration) var(--delay) ease-in-out infinite;animation-play-state:paused;opacity:.3;pointer-events:none!important}
.location-motion-lamp.is-festive{width:clamp(9px,2.1cqw,18px);animation-name:location-festive-lamp}
.location-motion-layer.is-running .location-motion-lamp{animation-play-state:running}
@keyframes location-lamp{0%,100%{opacity:.20}37%{opacity:.48}55%{opacity:.28}72%{opacity:.56}}
@keyframes location-festive-lamp{0%,100%{opacity:.18}18%{opacity:.76}34%{opacity:.25}55%{opacity:.63}63%{opacity:.34}81%{opacity:.8}}
.location-motion-layer.is-running .location-motion-particle,.location-motion-layer.is-running .location-motion-mist,.location-motion-layer.is-running .location-motion-circle-light{animation-play-state:running}
.location-motion-mist{background:url('art/world/location-motion-20261122/mist.webp') center/100% 100% no-repeat;transform:translate(-50%,-50%);animation:location-mist var(--duration) ease-in-out infinite alternate;animation-play-state:paused}
.location-motion-sprite{inset:0;background-repeat:no-repeat;background-size:400% 200%}
.location-motion-sprite.is-lookout{background-image:url('art/world/location-motion-20261122/lookout.webp')}
.location-motion-sprite.is-raven{background-image:url('art/world/location-motion-20261122/raven-perch.webp')}
/* BEGIN LOCAL WINTER PREVIEW */
.location-motion-sprite.is-snowman{background-image:url('art/world/location-motion-20261122/snowman.webp');background-size:400% 300%}
.location-motion-sprite.is-titmouse{background-image:url('art/world/location-motion-20261122/titmouse.webp')}
.location-motion-titmouse{transform:translate(-50%,-94%)}
/* END LOCAL WINTER PREVIEW */
.location-motion-touch{position:absolute;inset:0;display:block;min-width:40px;min-height:40px;margin:auto;padding:0;background:transparent;border:0;border-radius:12px;pointer-events:auto!important;cursor:pointer;touch-action:manipulation}
.location-motion-touch:focus-visible{outline:2px solid #fff4c5;outline-offset:2px;background:#fff4c515}
.location-motion-touch:hover{filter:drop-shadow(0 0 3px #ffe5ab)}
.location-motion-sprite{transform:scaleX(var(--facing,1));will-change:opacity}
.location-motion-touch{left:50%;top:50%;right:auto;bottom:auto;width:100%;height:100%;margin:0;transform:translate(-50%,-50%)}
.location-motion-layer.is-static .location-motion-touch,.location-motion-layer:not(.is-ready) .location-motion-touch{display:none}
.location-motion-layer:not(.is-running) .location-motion-touch{visibility:hidden}
.location-motion-lookout,.location-motion-snowman{transform:translate(-50%,-92%);filter:drop-shadow(0 1px 1px #19302e36)}
.location-motion-raven{opacity:1;filter:brightness(.88)}
.location-motion-lookout{filter:brightness(1.12) contrast(1.07) drop-shadow(0 1px 1px #0c201b90) drop-shadow(0 0 1px #f6eed570)}
.location-motion-circle{transform:translate(-50%,-50%)}
.location-motion-circle-light{width:.7cqw;height:.7cqw;border-radius:50%;background:#b5f4ed;box-shadow:0 0 6px 2px #9ceddd70;opacity:0;animation:location-circle 10s calc(var(--order) * 1.1s) ease-in-out infinite;animation-play-state:paused}
.circle-awake .location-motion-circle-light{animation-name:location-circle-awake;animation-duration:3.5s;animation-delay:calc(var(--order) * .2s)}
#castle-room-view .location-motion-layer{z-index:1}
#castle-room-view .castle-current-pin{z-index:2}
@keyframes location-particle{0%{opacity:0;transform:translate(0,0)}12%{opacity:var(--alpha)}80%{opacity:var(--alpha)}100%{opacity:0;transform:translate(var(--drift),var(--fall))}}
@keyframes location-leaf{0%{opacity:0;transform:translate(0,0) rotate(0)}10%{opacity:.65}35%{transform:translate(calc(var(--drift) * -.12),calc(var(--fall) * .32)) rotate(130deg) rotateY(55deg)}70%{opacity:.6;transform:translate(calc(var(--drift) * .85),calc(var(--fall) * .69)) rotate(270deg) rotateY(140deg)}100%{opacity:0;transform:translate(var(--drift),var(--fall)) rotate(410deg) rotateY(190deg)}}
@keyframes location-mist{from{transform:translate(-58%,-50%) scale(.98)}to{transform:translate(-42%,-54%) scale(1.04)}}
@keyframes location-circle{0%,25%,65%,100%{opacity:0;transform:scale(.5)}40%{opacity:.8;transform:scale(1.3)}}
@keyframes location-circle-awake{0%,95%,100%{opacity:0;transform:scale(.5)}40%,60%{opacity:1;transform:scale(1.6)}}
@media(prefers-reduced-motion:reduce){.location-motion-layer span,.location-motion-canvas{display:none!important}}
.reduced-motion .location-motion-layer span,.reduced-motion .location-motion-canvas{display:none!important}
