/* Scene artwork is intentionally larger than the camera: every actor and target shares its coordinates. */
.child-game .walk-place[data-location-entry]{display:grid;place-items:end center;z-index:420}
.walk-place[data-location-entry] span,.loc-spot>span:not(.loc-bush){pointer-events:none;background:#fff7daed;color:#294a35;border:1px solid #755c37a3;box-shadow:0 2px 3px #3028134d;font-weight:750;border-radius:100px;padding:3px 10px;line-height:1.2;font-size:clamp(11px,1.05vw,15px);white-space:nowrap}
.child-game .walk-forest{left:61%;top:8%;width:15%;height:24%}
.loc-screen{position:absolute;inset:0;z-index:2;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:#eadbbb;color:#244735;isolation:isolate;--loc-dark:#315b43}
.loc-head,.loc-tray{background:#fff8e7;display:flex;align-items:center;gap:12px;padding:6px clamp(8px,2vw,24px);z-index:1;box-shadow:0 1px 5px #32221433;color:#254633}
.loc-head h2{font-size:clamp(17px,2.2vw,25px);font-weight:800;margin:0;line-height:1.1}
.loc-head .loc-pan{margin-left:auto;display:flex;gap:5px}
.loc-screen button:not(.loc-spot){font:inherit;font-size:clamp(13px,1.3vw,16px);font-weight:740;border:1px solid #bdc4a9;border-radius:11px;background:#fffaf0;color:#23513d;box-shadow:0 1px 0 #bebfa9;padding:7px 12px;min-height:44px;min-width:44px;line-height:1.15;cursor:pointer;margin:0}
.loc-screen button:focus-visible{outline:3px solid #135f81;outline-offset:1px}
.loc-screen .loc-pan button{font-size:24px;padding:0}
.loc-camera{position:relative;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#758763 #ece4c9;container-type:size}
.loc-world{height:100%;width:max(100%,185cqh);position:relative;background-position:center;background-repeat:no-repeat;background-size:100% 100%;isolation:isolate}
.loc-home .loc-world{width:max(129%,200cqh);background-image:url('/assets/locations/home.jpg')}
.loc-cove .loc-world{background-image:url('/assets/locations/cove.jpg')}
.loc-forest .loc-world{background-image:url('/assets/locations/forest.jpg')}
/* The weather shares the painting's coordinates when the child pans the scene. */
.loc-world > .weather-atmosphere{z-index:0}
.loc-world .loc-markers{z-index:1}
.loc-home .weather-cloud{width:44%;height:16%;filter:blur(1px)}
.loc-home .weather-cloud::before,.loc-home .weather-cloud::after{width:50%;height:140%;left:16%;bottom:10%}
.loc-home .weather-cloud::after{left:45%;height:95%}
.loc-home .weather-particle{animation-name:loc-window-rain}
@keyframes loc-window-rain{to{translate:-8px 24cqh}}

.loc-home .weather-atmosphere{
 inset:16.8% 42.7% 67.6% 44.6%;
 clip-path:polygon(5% 0,95% 0,100% 57%,100% 100%,0 100%,0 57%);
 mask-image:linear-gradient(to right,#000 45%,transparent 45% 52%,#000 52%),linear-gradient(to bottom,#000 44%,transparent 44% 53%,#000 53%);
 mask-composite:intersect;
}
.child-game .map-stage[data-scene-night="true"] .loc-world::before{
 content:"";position:absolute;inset:0;pointer-events:none;background:#10234770;
}
.child-game .map-stage[data-scene-night="true"] .loc-home .loc-world::before{background:#3a281f20}

.loc-markers{position:absolute;inset:0;pointer-events:none}
.loc-screen .loc-spot{pointer-events:auto;position:absolute;z-index:2;transform:translate(-50%,-50%);display:grid;place-items:center;box-shadow:none;border:none;background:transparent;color:inherit;padding:0;margin:0;min-width:44px;min-height:44px;width:auto;cursor:pointer}
.loc-home .loc-spot{height:38%;width:10%;align-items:end}
.loc-screen .loc-spot:hover>span:not(.loc-bush),.walk-place[data-location-entry]:hover span{background:#fff7d5;border-color:#415737}
.loc-spot.s-rock{width:9%;max-width:140px}
.loc-spot.s-rock svg,.loc-spot.s-berries svg,.loc-spot.s-picked svg{width:100%;height:auto}
.loc-spot.s-berries,.loc-spot.s-picked{width:7%;max-width:106px;filter:drop-shadow(0 3px 2px #36371455)}
.loc-spot.s-picked svg>g{display:none}
.loc-bush{display:block;position:relative;width:100%;pointer-events:none}.loc-bush img,.loc-squirrel{width:100%;height:auto;display:block}.loc-bush svg{position:absolute;inset:0}.loc-spot.s-squirrel{width:5.2%;max-width:75px}.loc-squirrel{filter:drop-shadow(0 3px 2px #49371466)}
.loc-hero{position:absolute;width:clamp(52px,9%,138px);height:auto;aspect-ratio:120/150;transform:translate(-50%,-95%);pointer-events:none;z-index:3;filter:drop-shadow(0 2px 1px #56432c38)}
.loc-hero svg{display:block;width:100%;height:100%;overflow:visible}
.loc-cove .loc-hero{width:clamp(38px,6.3%,92px)}.loc-forest .loc-hero{width:clamp(45px,7.6%,112px)}
.loc-hero.swimming{transform:translate(-50%,-68%);clip-path:inset(0 0 30%);filter:none}
.loc-hero.swimming:after{content:"";position:absolute;top:63%;left:1%;width:98%;height:7%;border-bottom:3px solid #d7ffed;border-radius:50%}
.loc-screen.loc-cove[data-fishing]:not([data-fishing=""]) .s-fishing{visibility:hidden}
.loc-target{position:absolute;width:24px;height:10px;border:2px solid #fff8d4;box-shadow:0 0 0 1px #41674f;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}
.loc-float{position:absolute;z-index:4;transform:translate(-50%,-60%);width:20px;height:30px;pointer-events:none}
.loc-float i{display:block;position:absolute;bottom:0;left:4px;width:12px;height:22px;background:linear-gradient(#db4734 48%,#fff7cd 50%);border:1px solid #795544;border-radius:75% 75% 60% 60%;box-shadow:0 3px 0 #daffea}
.loc-float.bite i{animation:loc-bite .35s infinite alternate}
.loc-tray{min-height:55px;max-height:37cqh;overflow-y:auto;align-content:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;border-top:1px solid #d2c4a1;box-shadow:none}
.loc-copy{flex:1 1 180px;line-height:1.2}.loc-copy strong,.loc-copy small{display:block}.loc-copy strong{font-size:clamp(13px,1.4vw,18px)}.loc-copy small{font-weight:600;color:#765336;margin-top:2px}
.loc-actions{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.loc-actions:empty{display:none}
.loc-actions button:first-child:not(:disabled){color:#fff9df;background:#356747;border-color:#315c42}
.loc-actions button:disabled{opacity:.57;cursor:default}
.loc-card{display:inline-flex;align-items:center;gap:4px;border:1px solid #d4caad;background:#eee9da;border-radius:9px;padding:4px 7px;font-size:13px;color:#6a705f}.loc-card.discovered{color:#325236;background:#ecf1da}
.loc-card svg{width:44px}.loc-item svg{width:64px}.loc-item{font-size:30px}
.loc-world [hidden]{display:none!important}
.loc-screen[data-effect="jump"] .loc-hero svg{animation:loc-jump .53s ease-out}
.loc-screen[data-effect="splash"] .loc-hero:after{animation:loc-bite .3s alternate 2}
.loc-screen[data-effect="squirrel"] .loc-squirrel{animation:loc-jump .35s ease-out 2}
.loc-screen[data-effect="cook"] .loc-item,.loc-screen[data-effect="eat"] .loc-hero svg,.loc-screen[data-effect="gather"] .loc-hero svg{animation:loc-jump .32s ease-out}
@keyframes loc-bite{to{transform:translateY(7px) rotate(14deg)}}
@keyframes loc-jump{40%{transform:translateY(-25%) rotate(-5deg)}}
@media(max-width:600px){.loc-tray{gap:4px;padding:6px 8px}.loc-head{gap:8px}.loc-copy{flex-basis:145px}.loc-screen button:not(.loc-spot){padding:6px 9px}.loc-actions{gap:4px}.child-game .walk-place[data-location-entry] span{font-size:10px;padding:2px 6px}}
@media(max-height:510px){.loc-head,.loc-tray{padding-top:0;padding-bottom:0}.loc-tray{min-height:36px}.loc-screen .loc-hero{max-width:15cqh}.loc-copy{flex-basis:130px}.loc-screen button:not(.loc-spot){font-size:13px}}
@media(prefers-reduced-motion:reduce){.loc-screen *{animation:none!important;scroll-behavior:auto!important}}

.loc-tackle{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;overflow:visible}
.loc-tackle path{fill:none;stroke-linecap:round}
.loc-rod{stroke:#785338;stroke-width:3}.loc-line{stroke:#fff8de;stroke-width:1.1}

.loc-cooking{position:absolute;left:80%;top:26%;width:10%;height:23%;z-index:2;pointer-events:none;filter:drop-shadow(0 3px 2px #30261155)}
.loc-pot,.loc-jar{position:absolute;bottom:0;left:0;font-size:clamp(32px,6cqh,76px);line-height:1}
.loc-pan-fish,.loc-fruit{position:absolute;bottom:10%;left:4%;width:32%;font-size:clamp(15px,3cqh,33px);line-height:1}
.loc-pan-fish svg{width:100%}.loc-spoon{position:absolute;bottom:24%;left:9%;font-size:clamp(18px,4cqh,40px);line-height:1}
.loc-screen[data-effect="flip"] .loc-pan-fish{animation:loc-flip .85s ease-in-out}
.loc-screen[data-effect="mash"] .loc-spoon{animation:loc-mash .25s ease-in-out 3}
.loc-screen[data-effect="mash"] .loc-fruit{animation:loc-mash .25s ease-in-out reverse 3}
@keyframes loc-flip{48%{transform:translateY(-135%) rotate(175deg)}to{transform:rotate(360deg)}}
@keyframes loc-mash{50%{transform:translateY(28%) rotate(-14deg)}}
@media(prefers-reduced-motion:reduce){.loc-cooking *{animation:none!important}}
