.world-sprite{display:block;position:absolute;inset:0;background-position:var(--sx) var(--sy);background-size:400% 300%;background-repeat:no-repeat;pointer-events:none}.sprite-monster{background-image:url(assets/props/v31/monsters.webp)}.sprite-pipe{background-image:url(assets/props/v31/pipes.webp)}.sprite-lever{background-image:url(assets/props/v31/levers.webp)}
.world-dopamina .esc-object{width:clamp(95px,12vw,170px);height:clamp(90px,13vh,150px);filter:drop-shadow(0 10px 7px #0009)}.world-dopamina .esc-object:not(.solved) .world-sprite{animation:monsterBreathe 3.2s ease-in-out infinite;transform-origin:50% 85%}.world-dopamina .esc-object:nth-child(2n) .world-sprite{animation-delay:-1.5s}.world-dopamina .esc-object.solved{opacity:1;filter:drop-shadow(0 7px 5px #0008)}.world-dopamina .esc-object.solved .sprite-monster{background-image:url(assets/props/v31/monsters-defeated.webp);animation:none}.monster-health{position:absolute;top:96%;left:15%;width:70%;height:9px;border:1px solid #ffe2bf;background:#27111c;border-radius:9px;box-shadow:0 2px 6px #000}.monster-health i{display:block;width:100%;height:100%;border-radius:8px;background:linear-gradient(90deg,#ff335e,#ffb237);transition:width .8s}.monster-health b{position:absolute;inset:-1px 0;font:700 8px monospace;text-shadow:0 1px 3px #000}.solved .monster-health i{width:0}.monster-name{position:absolute;top:108%;left:50%;transform:translateX(-50%);white-space:nowrap;font:800 11px Manrope;background:#160c25e8;padding:3px 7px;border-radius:5px;color:#fff}.world-dopamina .esc-object-label{display:none}.world-dopamina .esc-object:hover .monster-name{color:#ffe059}.world-dopamina .esc-object-status{top:-6%;right:6%;background:#281532;border-color:#ffbd57}.world-dopamina .just-solved{animation:monsterFall 1s ease-out}.world-dopamina .esc-panel{background:radial-gradient(ellipse at top right,#56244199,transparent 50%),#120e24f7;border:2px solid #ad688e;box-shadow:0 0 0 5px #160d1c99,0 20px 60px #000c}
.world-network{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:visible}.world-network path{fill:none;stroke:#1b2c39;stroke-width:15;stroke-linecap:round;filter:drop-shadow(0 4px 3px #000)}.world-network .network-backbone{stroke:#475860;stroke-width:8}.world-endorfina .world-network .flowing{stroke:#52ddff;stroke-width:9;stroke-dasharray:18 10;animation:waterFlow 1s linear infinite;filter:drop-shadow(0 0 7px #3fdcff)}.world-endorfina.all-solved .network-backbone{stroke:#52ddff;stroke-dasharray:18 10;animation:waterFlow 1s linear infinite}.world-endorfina .esc-object{width:clamp(90px,11vw,155px);height:clamp(80px,14vh,145px);background:radial-gradient(ellipse,#071621dd 10%,transparent 70%)}.world-endorfina .esc-object.solved{opacity:1;filter:drop-shadow(0 0 13px #40dfff)}.pipe-water{position:absolute;left:20%;right:20%;top:47%;height:10%;border-radius:15px;opacity:0;background:repeating-linear-gradient(90deg,#bcf9ff 0 6px,#18a0e9 10px 20px);background-size:40px 100%;mix-blend-mode:screen;box-shadow:0 0 18px #58e4ff}.charged .pipe-water{opacity:.8;animation:waterTexture 1.2s linear infinite}.mechanism-light{position:absolute;bottom:15%;left:47%;width:8px;height:8px;border-radius:50%;background:#6a342c;border:1px solid #a79372}.solved .mechanism-light{background:#5cffe2;box-shadow:0 0 12px #5cffe2}.world-system-status{position:absolute;left:31%;bottom:14%;z-index:3;background:#041927e8;border:1px solid var(--escape-color);padding:7px 14px;color:#d5faff;font:800 11px monospace;border-radius:20px}.world-endorfina .esc-panel{background:linear-gradient(135deg,#123b4cf5,#061823fa);border:3px ridge #82989f;box-shadow:inset 0 0 40px #0006,0 15px 45px #000b}
.world-oxitocina .esc-object{width:clamp(85px,10vw,140px);height:clamp(80px,14vh,145px)}.world-oxitocina .esc-object.solved{opacity:1;filter:drop-shadow(0 0 10px var(--lever-color))}.world-oxitocina .world-network path{stroke:#173b35;stroke-width:3}.world-oxitocina .world-network path.flowing{stroke:#64ffbf;stroke-width:4;stroke-dasharray:9 12;animation:waterFlow 2s linear infinite;filter:drop-shadow(0 0 5px #5cffa9)}.lever-handle{position:absolute;left:47%;top:14%;width:7%;height:43%;background:linear-gradient(90deg,#252a30,#f8e2b9,#565c65);border:1px solid #071222;border-radius:6px;transform:rotate(-26deg);transform-origin:50% 95%;transition:transform .7s cubic-bezier(.25,.8,.35,1.25);box-shadow:4px 3px 5px #0009}.lever-handle i{position:absolute;top:-7%;left:-95%;width:290%;height:26%;border:2px solid #111e2c;border-radius:8px;background:linear-gradient(#ffffff99,transparent),var(--lever-color,#51e6ca);box-shadow:inset 0 -4px 4px #0006}.solved .lever-handle{transform:rotate(115deg)}.lever-state{position:absolute;bottom:-1%;left:50%;transform:translateX(-50%);white-space:nowrap;background:#07121ae8;border:1px solid #70838e;color:#adb6c4;border-radius:5px;padding:3px 5px;font:800 8px monospace}.solved .lever-state{color:#baffd9;border-color:#52e2a9}.world-oxitocina .esc-object-label{top:105%;border-color:var(--lever-color)}.world-oxitocina .esc-panel{background:radial-gradient(ellipse at top,#0f5b46b0,transparent 60%),#071d23f7;border:2px solid #55a68a;box-shadow:0 0 0 5px #061d1799,0 15px 45px #000b}
.activity-visual{float:right;position:relative;width:90px;height:90px;margin:24px 0 8px 12px;pointer-events:none;--lever-color:var(--escape-color)}.activity-visual>span:last-child:not(.world-sprite):not(.lever-handle):not(.pipe-water):not(.mechanism-light):not(.monster-health):not(.monster-name){position:absolute;top:90%;left:-10%;width:120%;font:700 7px/1.2 monospace;color:var(--escape-color);text-align:center}.activity-visual .monster-health,.activity-visual .monster-name,.activity-visual .lever-state{display:none}.activity-visual .esc-prop-art{height:100%}.act29 h2{max-width:82%;font-size:clamp(23px,2.2vw,32px)}.act-instruction{min-height:42px}.act-stage{clear:both}.act-grid button{box-shadow:inset 0 2px 0 #ffffff28,0 4px 0 #020c14,0 6px 12px #0006;border:1px solid #91b2c2;font-weight:900}.act-grid button.chosen{transform:translateY(3px);box-shadow:inset 0 0 0 2px var(--escape-color),0 1px 0 #020c14}.act-pairs .act-grid button{min-height:60px;background:radial-gradient(circle at 30% 25%,#985b70,#38223c);border:2px ridge #e0af8a;font-size:30px}.world-serotonina .act-wordsearch button,.world-serotonina .act-sudoku button{background:linear-gradient(135deg,#f7eacb,#bda87d);color:#183444;border:1px solid #f2ddb2;text-shadow:0 1px #fff8}.world-serotonina .act-wordsearch .found{background:#287264;color:white}.act-nonogram button.chosen{background:#f0c77c!important}.act-slide .act-grid{border:7px ridge #bea16a;background:#040c15;padding:5px;border-radius:8px}.act-slide button{color:#fff;text-shadow:0 2px 4px black;min-height:55px;border-radius:5px}.act-jugs>div{border:4px ridge #a8bdc0;background:linear-gradient(90deg,#324753aa,#bcecff33,#0e283daa);box-shadow:inset 0 0 20px #0008,0 7px 12px #0006}.act-jugs i{background:repeating-linear-gradient(175deg,#9af6ff,#238cc4 18px,#38caee 28px);background-size:100% 80px;animation:waterTexture 3s linear infinite}.act-towers{border-bottom:7px ridge #a18d69;background:radial-gradient(ellipse at bottom,#1b6c5666,transparent);border-radius:10px}.act-towers span{background:linear-gradient(#a3f4ef,#31a4a4);border:2px solid #c9f4df;box-shadow:0 4px 7px #0009;color:#06352e}.act-river{background:repeating-linear-gradient(165deg,#0b6286,#1b9fc1 18px,#175478 32px);border-radius:12px;border:3px ridge #658d88;padding:8px;background-size:100% 120px;animation:waterTexture 8s linear infinite}.act-river>div{border:3px ridge #bba46e;background:linear-gradient(#567c42,#193f34);border-radius:40% 25% 15% 15%;box-shadow:0 6px 10px #0008}.act-river span{background:#0d2823db;color:#f9f3dc;border-color:#afbd8d;border-radius:7px}.act-timing{border:4px ridge #a2a68f;background:repeating-linear-gradient(90deg,#091e2c 0 19px,#49606b 20px 21px);box-shadow:inset 0 0 12px #000}.act-aim{background:repeating-radial-gradient(circle at center,#173e4b 0 25px,#3a6871 26px 27px,#071b28 28px 50px);border:4px ridge #73888d}.act-aim button{background:radial-gradient(circle,#ffe5aa 0 12%,#e54837 14% 35%,#efdbb1 37% 60%,#b12d26 62%);color:transparent;border:2px solid #f5cf88;box-shadow:0 0 16px #ffb445aa}
@keyframes monsterBreathe{50%{transform:translateY(-4px) scale(1.03)}}@keyframes monsterFall{0%{filter:brightness(3);scale:1.15}30%{rotate:-8deg}65%{rotate:5deg}100%{rotate:0deg;scale:1}}@keyframes waterFlow{to{stroke-dashoffset:-56}}@keyframes waterTexture{to{background-position:80px 80px}}
@media(max-height:500px){.world-dopamina .esc-object{width:82px;height:65px}.world-endorfina .esc-object,.world-oxitocina .esc-object{width:76px;height:62px}.monster-name{font-size:7px;padding:2px 4px}.monster-health{height:6px}.monster-health b{font-size:6px}.world-system-status{font-size:8px;padding:3px 8px;bottom:15%}.lever-state{font-size:6px;padding:2px}.world-oxitocina .esc-object-label{font-size:7px}.activity-visual{width:50px;height:48px;margin:6px 0 4px 8px}.act29 h2{font-size:20px}.act-instruction{min-height:0}.act-pairs .act-grid button{min-height:32px;font-size:22px}.act-slide button{min-height:26px}.act-slide .act-grid{border-width:4px;padding:2px}.act-river{padding:3px}.world-dopamina .esc-panel,.world-endorfina .esc-panel,.world-oxitocina .esc-panel{border-width:1px}.world-network path{stroke-width:10}.world-network .flowing{stroke-width:5!important}}
@media(prefers-reduced-motion:reduce){.world-sprite,.world-network path,.pipe-water,.act-river,.act-jugs i{animation:none!important}}

.world-endorfina:before,.world-oxitocina:before{content:"";position:absolute;z-index:1;left:23%;right:2%;top:17%;bottom:20%;border:6px ridge #53636a;border-radius:18px;background:linear-gradient(115deg,#172c32ec,#07161ced),repeating-linear-gradient(0deg,transparent 0 30px,#ffffff05 31px 32px);box-shadow:inset 0 0 50px #0009,0 20px 30px #0008}.world-oxitocina:before{border-color:#536b62;background:linear-gradient(115deg,#14372cec,#071c1eed)}.world-dopamina .esc-object:before{content:"";position:absolute;left:12%;right:12%;bottom:1%;height:15%;border-radius:50%;background:#14091d99;box-shadow:0 0 15px #f4a93366;z-index:-1}.world-endorfina .esc-object:not(.solved) .sprite-pipe{filter:saturate(.3) brightness(.6)}.world-endorfina .just-solved .sprite-pipe{animation:moduleInstall .8s ease-out}@keyframes moduleInstall{from{transform:translateY(-25px) scale(.8);opacity:.3}to{transform:none;opacity:1}}

.world-dopamina .esc-object{width:clamp(70px,13.5vh,120px);height:clamp(94px,18vh,160px)}.world-endorfina .esc-object,.world-oxitocina .esc-object{width:clamp(80px,15vh,145px);height:clamp(80px,15vh,145px)}.activity-visual .sprite-monster{left:12%;right:12%}@media(max-height:500px){.world-dopamina .esc-object{width:52px;height:70px}.world-endorfina .esc-object,.world-oxitocina .esc-object{width:62px;height:62px}}

.lever-handle{top:5%}.water-reservoir{position:absolute;z-index:3;right:3%;top:38%;height:25%;width:3.5%;border:4px ridge #8fa7ae;border-radius:10px;background:linear-gradient(90deg,#21455a,#bdddeb22,#21455a);box-shadow:inset 0 0 12px #0008;overflow:hidden;pointer-events:none}.water-reservoir i{position:absolute;bottom:0;left:0;right:0;height:0;background:linear-gradient(#b8faff,#16aee0);transition:height 1.5s;box-shadow:0 0 20px #5ceaff}.water-reservoir b{position:absolute;top:10%;left:20%;writing-mode:vertical-rl;font:800 9px monospace;color:#fff;text-shadow:0 2px 4px #000}.world-endorfina .esc-exit,.world-oxitocina .esc-exit{top:82%;left:86%;width:110px;height:48px;display:flex;align-items:center;gap:5px}.world-endorfina .esc-exit img,.world-oxitocina .esc-exit img{height:35px;width:35px}.world-endorfina .esc-exit strong,.world-oxitocina .esc-exit strong{font-size:8px}@media(max-height:500px){.water-reservoir{border-width:2px}.water-reservoir b{font-size:6px}.world-endorfina .esc-exit,.world-oxitocina .esc-exit{height:30px;width:85px;top:82%}.world-endorfina .esc-exit img,.world-oxitocina .esc-exit img{height:23px;width:23px}.world-endorfina .esc-exit strong,.world-oxitocina .esc-exit strong{font-size:6px}}
.world-endorfina .esc-exit,.world-oxitocina .esc-exit{flex-direction:row;padding:5px}.world-endorfina .esc-exit img,.world-oxitocina .esc-exit img{flex-shrink:0}.world-endorfina .esc-exit strong,.world-oxitocina .esc-exit strong{line-height:1.2;letter-spacing:0}

@media(max-height:500px){.world-dopamina .esc-object,.world-endorfina .esc-object,.world-oxitocina .esc-object{left:calc(35% + var(--col)*17%)!important}.world-endorfina .esc-object,.world-oxitocina .esc-object{top:calc(30% + var(--row)*21%)!important}.world-network{transform-origin:0 0;transform:translate(4.8%,4.2%) scale(.944,.955)}.world-endorfina:before,.world-oxitocina:before{top:21%}}
@media(max-height:500px){.act-towers{height:90px}.act-wordsearch .act-grid{max-width:150px}.act-wordsearch button{min-height:19px}.act-sudoku .act-grid{max-width:130px}.act-nonogram .act-grid{max-width:130px}.act-status:empty,.esc-feedback:empty{display:none}.act29 h2{margin-top:0}.act-stage{padding:3px 0}.act-pairs .act-grid button{min-height:28px}}
