/* Regional paths and the lunar service rooms. */
#cube-stage{left:50%;top:38%}
#enter-tunnel{background-image:url('assets/revision/lunar-entry.webp');background-position:50% 65%;width:150px;height:90px;right:10%;top:73%;border-radius:48% 48% 8% 8%;box-shadow:0 0 15px 7px #78746b22;mask-image:radial-gradient(ellipse at 50% 60%,#000 42%,transparent 74%);filter:grayscale(1) brightness(.7)}
#enter-tunnel #tunnel-timer{position:fixed;top:auto;bottom:100%;color:#f2debb}#enter-tunnel{mask-image:none;clip-path:polygon(5% 100%,0 55%,12% 27%,33% 9%,70% 6%,92% 30%,100% 65%,96% 100%)}
#enter-tunnel #tunnel-timer{position:absolute;top:5px;bottom:auto;z-index:2;text-shadow:0 2px 4px #000;background:#151a1980}
.photo-album #siemens-content{padding:20px 25px 30px;background:#d9d1bc}
.route-map{margin:12px 0 24px;border:1px solid #8d8568;background:#e8e2d0;position:relative;overflow:hidden;border-radius:6px}.route-map svg{display:block;width:100%;height:auto;max-height:360px}.route-map path{fill:none;stroke:#7b725f;stroke-width:2;stroke-dasharray:5 7}.route-map text{font:16px Georgia,serif;fill:#344136}.route-map .water{fill:#afc3c0;stroke:none}.route-map a{cursor:pointer}.route-map circle{fill:#ede6d1;stroke:#71664e;stroke-width:2}.route-map a[aria-current=true] circle{fill:#996545}.route-map a:focus circle,.route-map a:hover circle{stroke:#162f29;stroke-width:4}.route-map figcaption{padding:10px 16px;font:14px Georgia,serif;color:#515949}
.inventory-popover{width:min(460px,91vw);max-height:76svh;overflow:auto;background:#eee3cb;color:#28372d;border:1px solid #8e7855;border-radius:12px;box-shadow:0 18px 70px #0008;padding:20px;font:17px/1.5 Georgia,serif}.inventory-popover::backdrop{background:#0c171d55}.inventory-popover h2{font-size:23px}.inventory-popover ul{list-style:none;padding:0}.inventory-popover li{padding:8px 0;border-bottom:1px solid #97856555}.inventory-popover button{padding:10px 14px;min-height:44px;background:#fff4db;border:1px solid #958368;color:#253e2e;border-radius:6px;margin:4px}.inventory-close{float:right}.inventory-tally{padding:10px;background:#d9ceb4}
#exploration[data-scene=tunnel-room] .place-copy{background:#111c20ed;border:1px solid #ae987066;border-radius:12px;padding:18px 22px;bottom:3%;left:5%;right:5%;max-width:none;color:#f3ead5}
#exploration[data-scene=tunnel-room] #place-title{font-size:clamp(25px,3vw,40px);color:#f5ebd7;text-shadow:none}
#exploration[data-scene=tunnel-room] #place-actions button{background:#e5d8bd;color:#22352b;border:1px solid #ac9370;font-size:16px;min-height:48px;border-radius:6px}
#exploration #step-back{background:#101a1edc;color:#f4e8cb;padding:10px 16px;border-radius:5px}
.earning-strip{display:flex;gap:8px;flex-wrap:wrap;padding:12px 18px;background:#222e2d;color:#f1e5cf;align-items:center}.earning-strip button{font:15px Georgia,serif;border:1px solid #b7a278;background:#e9dfc9;color:#243a2c;border-radius:7px;padding:10px;min-height:44px}.earning-strip output{font-size:14px}.earning-strip .game-goal{width:100%;color:#d4c19d}
.heart-service{position:relative}.heart-service img{width:100%;max-height:58svh;object-fit:cover}.heart-controls{display:flex;gap:14px;flex-wrap:wrap;margin:15px 0}.heart-controls label{display:grid;gap:9px;flex:1;font-size:16px}.heart-controls input{width:100%}.heart-status{background:#1a2c2e;padding:16px;color:#e9ddbb;font:16px/1.6 monospace}.fluid-flow{height:10px;border-radius:8px;background:repeating-linear-gradient(90deg,#94d5d0 0 12px,#243b3e 13px 30px);animation:flow 1.5s linear infinite;animation-duration:var(--speed,1.5s)}@keyframes flow{to{background-position:60px 0}}
.patent-door{padding:22px;max-width:560px}.patent-door label{display:grid;gap:12px}.patent-door input{padding:13px;font:18px monospace;background:#172429;border:1px solid #c8ad77;color:#f0e6cd;max-width:100%}.patent-door button{padding:13px;font:16px Georgia,serif;margin-top:12px}.patent-door output{display:block;margin:15px 0}
.play-story .protagonist>img{content:url('assets/revision/overgarment.webp')}
.signal-screen{filter:none!important;background:linear-gradient(#0002,#0002),url('assets/v23/lunar-crater.webp') center/cover}.signal-wernher{object-fit:contain;box-shadow:none;mix-blend-mode:screen}
@media(max-width:700px){#cube-stage{left:50%;top:37%}#enter-tunnel{width:100px;height:64px;top:76%;right:8%}.photo-album #siemens-content{padding:15px}.route-map svg{min-height:180px}#exploration[data-scene=tunnel-room] .place-copy{padding:12px;bottom:2%}#exploration[data-scene=tunnel-room] #place-actions button{font-size:14px;padding:9px;min-height:44px}.earning-strip{padding:10px}}
@media(prefers-reduced-motion:reduce){.fluid-flow{animation:none}.play-story .depth-scene>img,.protagonist{transition:none}}

.play-story .depth-scene>img{transition:transform 1.1s ease,transform-origin 1.1s ease,filter .8s;backface-visibility:hidden}.play-story .depth-scene{animation:none}.resistance-game output{display:block;padding:12px;color:#f5e1bb}.resistance-game button{min-height:44px;padding:12px 22px}.route-map a[aria-current=true] text{fill:#fff4da}#exploration[data-scene=tunnel-room] .place-copy{max-height:44svh;overflow:auto}#exploration[data-scene=tunnel-room] #place-actions button{margin-top:6px}

.route-map .map-stop-label{font:12px Georgia,serif;fill:#344136}.route-map a[aria-current=true] .map-stop-label{fill:#344136}@media(max-width:700px){.route-map{overflow-x:auto}.route-map svg{min-width:760px;max-height:none}}
