:root{color-scheme:dark;font-family:Segoe UI,system-ui,sans-serif;color:#d9d8c9;background:#141714;font-synthesis:none;--accent: #cfb680;--muted: #7f887a;--line: #30372c;--surface: #1c211a;--light: #eeecd9}*{box-sizing:border-box}body{margin:0;min-width:340px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #e3c687;outline-offset:5px}h1:focus{outline:none}button{touch-action:manipulation}button svg{pointer-events:none}a{color:inherit}.app-shell{display:grid;grid-template-columns:242px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;align-self:start;height:100dvh;min-height:700px;padding:43px 27px 26px;border-right:1px solid var(--line);background:#181d16;display:flex;flex-direction:column;z-index:1}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font:15px/1.35 Georgia,serif;letter-spacing:1.6px;color:#eeecd9}.brand .icon{width:38px;height:42px;color:var(--accent);flex-shrink:0}.brand-sub{display:block;font:7px/1.3 Segoe UI,sans-serif;letter-spacing:2px;color:var(--muted);margin-top:9px}.side-rule{border-top:1px solid var(--line);margin:37px 0 29px}.eyebrow{font-size:10px;letter-spacing:2.2px;line-height:1.7;font-weight:500;margin:0 0 19px}.accent{color:var(--accent)}.sidebar .eyebrow{color:#8c9784;font-size:9px;letter-spacing:1.8px}.side-prose{font:21px/1.7 Georgia,serif;color:#a2ad99;margin:0}.side-emblem{display:grid;place-items:center;margin:42px 0;opacity:.23}.side-emblem .icon{width:78px;height:78px}.side-bottom{margin-top:auto}.side-link{background:none;border:0;border-top:1px solid var(--line);padding:17px 0;display:flex;width:100%;justify-content:space-between;font-size:11px;color:#a7ad9f;text-align:left;gap:5px}.side-link:hover{color:var(--accent)}.muted{color:var(--muted)}.edition{display:block;color:#65705e;font-size:7px;letter-spacing:1.6px;margin-top:22px}.main-shell{min-width:0;padding:0 5.3%;display:flex;flex-direction:column;background:radial-gradient(ellipse at 80% 30%,#23291d66,transparent 65%),#141714}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1.8px;color:#919785;gap:20px}.topbar>span:last-child{text-align:right}main{flex-grow:1;padding:42px 0 34px;position:relative}.page-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:20px 0 23px;font-size:8px;color:#717b69;letter-spacing:1.2px}.page-footer span:first-child{font:italic 12px Georgia,serif;letter-spacing:.2px}h1,h2,h3,p{overflow-wrap:break-word}h1,h2,h3{font-family:Georgia,Times New Roman,serif;font-weight:400}h1{font-size:clamp(40px,4.2vw,67px);line-height:1.09;color:var(--light);letter-spacing:-1.8px;margin:0 0 20px}h2{font-size:29px;margin:0 0 16px;letter-spacing:-.5px}h3{font-size:22px;margin:22px 0 12px}p{line-height:1.8}.icon{width:32px;height:32px;flex-shrink:0}.primary,.secondary{border:1px solid var(--accent);background:var(--accent);color:#25291d;padding:16px 23px;min-height:49px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:35px;transition:background .2s,transform .2s}.primary:hover{background:#e0c998;transform:translateY(-1px)}.secondary{background:transparent;color:var(--accent);border-color:#5f624c}.secondary:hover{background:#cfb68012;border-color:var(--accent)}.text-button{background:none;border:0;color:#aab39f;text-align:left;font-size:12px;padding:11px 0;min-height:40px}.text-button:hover{color:var(--accent)}.title-screen{min-height:660px;display:grid;grid-template-columns:1.07fr 1fr;align-items:center;padding:0 0 25px;gap:14px}.title-copy{padding:10px 0 25px;position:relative;z-index:1}.title-copy .eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:29px}.title-copy h1{font-size:clamp(54px,5.8vw,89px);line-height:1.07;letter-spacing:-3.4px;margin-bottom:26px}.title-copy h1 em{font-weight:400;color:var(--accent)}.lead{font:16px/1.85 Georgia,serif;max-width:345px;color:#b7beaa}.title-detail{font-size:11px;line-height:1.9;color:#84907d;margin:18px 0 32px}.start-button{min-width:215px;justify-content:space-between;padding:18px 23px}.playtime{font-size:7px;letter-spacing:1.25px;color:#828c77;margin-top:25px}.playtime span{margin:0 7px}.hero-art{height:590px;position:relative;align-self:center;overflow:hidden;isolation:isolate}.hero-rings{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 58%,#cfb68013 0%,transparent 58%)}.hero-arch{width:75%;height:77%;position:absolute;left:14%;top:9%;border:1px solid #64644a;border-radius:48% 48% 0 0;box-shadow:0 0 0 12px #141714,0 0 0 13px #444c38,0 0 0 25px #141714,0 0 0 26px #30372b;background:linear-gradient(90deg,#23281e 0 6%,#0e120e 7% 94%,#2a3022 95%);overflow:hidden}.hero-light{position:absolute;inset:8px;border-radius:48% 48% 0 0;background:radial-gradient(ellipse at 50% 89%,#f2dc9f 0,#c1a25a88 20%,#263121 65%);opacity:.9}.hero-door{position:absolute;height:94%;width:72%;bottom:0;left:0;background:repeating-linear-gradient(90deg,transparent 0 25%,#8e8b6022 25% 25.5%),linear-gradient(100deg,#2b3223,#11170f);border-right:2px solid #7b7b4f;border-radius:45% 80% 0 0;transform:perspective(800px) rotateY(-29deg);transform-origin:left;box-shadow:16px 0 25px #0008}.hero-door:after{content:"";width:7px;height:7px;border:2px solid #aaa16a;position:absolute;top:60%;right:18%;border-radius:50%}.hero-floor{position:absolute;left:-25%;width:150%;height:27%;bottom:-5%;background:repeating-linear-gradient(0deg,transparent 0 36px,#66704c44 37px 38px),repeating-linear-gradient(90deg,transparent 0 75px,#66704c33 76px 77px);transform:perspective(180px) rotateX(46deg);mask-image:linear-gradient(black,transparent 90%)}.hero-caption{position:absolute;bottom:2%;left:10%;font-size:7px;letter-spacing:1.5px;color:#8b977d}.hero-caption span{color:var(--accent);margin-right:17px}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.heading-row .eyebrow{margin-bottom:13px}.subheading{color:#939d88;font-size:12px;margin:-3px 0 20px}.tiny-mark{font:70px Georgia,serif;color:#424a3633;letter-spacing:-7px}.doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:29px}.door-card{background:none;border:1px solid transparent;border-bottom-color:#394132;padding:0 0 21px;text-align:left;position:relative;min-width:0;transition:transform .25s,border-color .25s}.door-card:hover{transform:translateY(-5px);border-bottom-color:var(--accent)}.door-art{height:clamp(230px,28vw,390px);display:block;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 65%,#454c2c44,transparent 70%),linear-gradient(0deg,#252b2066,transparent 75%)}.door-frame{position:absolute;width:76%;height:87%;left:12%;bottom:4%;border:1px solid #6e7157;border-radius:48% 48% 0 0;padding:11px;box-shadow:0 0 0 5px #22291e,0 0 0 6px #3c4430}.door-frame:before{content:"";position:absolute;left:-18%;width:136%;bottom:-8px;height:8px;background:#3a4130;border-top:1px solid #79806566}.door-leaf{position:relative;height:100%;display:block;border:1px solid #535b3e;border-radius:48% 48% 0 0;background:repeating-linear-gradient(90deg,#131a1022 0 20%,#656e4733 20.5% 21%),linear-gradient(110deg,#343c29,#1a2217);box-shadow:inset 7px 0 18px #0007}.door-leaf:before,.door-leaf:after{content:"";position:absolute;width:100%;height:7px;top:48%;background:#11170d99;border-block:1px solid #5c664144}.door-leaf:after{top:79%}.door-mark{display:block;position:absolute;top:26%;width:100%;text-align:center;color:#a6a46b;font-size:31px;text-shadow:0 0 20px #baae6055}.door-handle{position:absolute;width:8px;height:16px;border:2px solid #968a56;border-radius:45%;top:61%;right:13%}.door-light{position:absolute;bottom:3%;left:22%;width:56%;height:2px;background:#c2b27d;box-shadow:0 0 20px 3px #b8ae6855}.door-1 .door-art{filter:hue-rotate(25deg)}.door-1 .door-leaf{background:repeating-linear-gradient(90deg,#131a1022 0 30%,#656e4733 30.5% 31%),linear-gradient(110deg,#2d382a,#171e18)}.door-2 .door-art{filter:hue-rotate(-20deg)}.door-number{display:block;color:var(--accent);margin:24px 0 13px;font-size:11px;letter-spacing:1px}.door-number>span{color:#6b775f;font-size:7px;letter-spacing:2px;margin-left:8px}.door-clue{display:block;font:16px/1.7 Georgia,serif;color:#b6bfa8;min-height:82px;padding-right:8px}.door-enter{display:flex;justify-content:space-between;font-size:10px;color:#899579;margin-top:16px}.door-card:hover .door-enter{color:var(--accent)}.quiet-note{text-align:center;color:#7c8870;font:italic 12px/1.6 Georgia,serif;margin:30px 0 12px}.journey{list-style:none;margin:0 0 24px;padding:0;position:relative}.journey:before{content:"";position:absolute;width:1px;left:12px;top:10px;bottom:10px;background:#3b4433}.journey li{position:relative;display:flex;gap:12px;align-items:center;font-size:10px;height:35px;color:#64705c}.journey-dot{background:#181d16;font-size:8px;font-variant-numeric:tabular-nums;position:relative;width:25px;height:25px;display:grid;place-items:center;border:1px solid #35402d;border-radius:50%}.journey li.current{color:#d6c390}.journey li.current .journey-dot{border-color:var(--accent);color:#dcc38f}.journey li.current i{width:3px;height:3px;background:var(--accent);border-radius:50%;margin-left:auto}.journey li.past{color:#919c84}.journey li.past .journey-dot{color:#9fab8a}.inventory-slots{display:grid;grid-template-columns:1fr 1fr;gap:10px}.inventory-slot{border:1px dashed #46503b;background:#1c2418;height:61px;display:grid;place-items:center;color:#617053}.inventory-slot.occupied{border-style:solid;color:var(--accent);background:#cfb68009}.inventory-slot:hover{border-color:var(--accent)}.inventory-caption{font:italic 10px Georgia,serif;color:#78866c;margin:10px 0 22px}.room-description{color:#a6af9b;line-height:1.8;font-size:13px;max-width:780px;white-space:pre-line;margin:0 0 25px}.scene{position:relative;height:340px;border:1px solid #414a35;overflow:hidden;background:#11170f;isolation:isolate}.scene-world{height:100%;position:relative;transform-origin:var(--focus-x) var(--focus-y);transition:transform .65s cubic-bezier(.2,.65,.3,1)}.has-focus .scene-world{transform:scale(1.12)}.scene-wall{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 25%,hsla(var(--room-hue),25%,33%,.37),transparent 60%),repeating-linear-gradient(0deg,transparent 0 64px,#11170f80 65px 67px),repeating-linear-gradient(90deg,#27301e55 0 99px,#11170f80 100px 102px),#1b2319}.scene-arch{position:absolute;width:29%;height:85%;top:-6%;left:36%;border-radius:50% 50% 0 0;border:12px solid #3d472c55;background:#11180e88;box-shadow:0 0 0 1px #69764e33}.scene-lamp{position:absolute;left:49%;top:0;height:50px;width:1px;background:#938358}.scene-lamp:after{content:"";position:absolute;bottom:-11px;left:-6px;width:12px;height:20px;border:1px solid #8c8257;background:#f2ce7b;box-shadow:0 0 33px 15px #e1bc5c22}.scene-floor{position:absolute;bottom:0;width:100%;height:30%;background:repeating-linear-gradient(0deg,transparent 0 23px,#747c4d22 24px 25px),repeating-linear-gradient(90deg,transparent 0 99px,#747c4d22 100px 101px),linear-gradient(#39402a,#1c2416);transform:perspective(130px) rotateX(25deg);transform-origin:bottom}.hotspot{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);background:none;border:0;display:flex;align-items:center;flex-direction:column;padding:15px;min-width:110px;transition:filter .25s}.object-illustration{width:104px;height:95px;background:linear-gradient(#a4a47822,#73835208);border:1px solid #919e5c55;display:grid;place-items:center;box-shadow:0 15px 20px #0008,inset 0 0 25px #0003;position:relative}.object-illustration:after{content:"";position:absolute;width:130%;height:9px;bottom:-12px;background:#4b5436;border-top:1px solid #8e936355}.object-illustration .icon{width:62px;height:62px;color:#b8b889;filter:drop-shadow(0 3px 4px #0008)}.hotspot-label{margin-top:24px;font-size:10px;letter-spacing:.5px;color:#dadfc0;background:#13190ee6;padding:9px 13px;border:1px solid #76815c55;white-space:nowrap}.hotspot-label>span{color:var(--accent);margin-left:16px}.hotspot:hover .object-illustration,.hotspot.selected .object-illustration{border-color:#ddc67f;box-shadow:0 0 30px #dfc56b22}.hotspot.resolved .object-illustration{opacity:.65}.scene-caption{position:absolute;left:20px;right:20px;bottom:15px;text-align:center;font:italic 11px Georgia,serif;color:#a3af8a;pointer-events:none}.focus-panel{padding:25px 29px 28px;background:#1b2218;border:1px solid #4a543d;margin-top:-1px;animation:reveal .25s ease-out}.focus-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.focus-heading .eyebrow{margin:0}.focus-heading .text-button{min-height:30px}.focus-panel h2{margin-top:8px}.object-description{color:#a3ad98;font-size:12px;margin:0 0 20px}.object-choices,.encounter-choices,.final-choices{display:grid;gap:9px}.choice-button{width:100%;text-align:left;background:#222b1d;border:1px solid #414d35;padding:15px 18px;font-size:12px;line-height:1.6;min-height:51px;display:flex;align-items:center;justify-content:space-between;gap:15px;transition:border-color .2s,background .2s}.choice-button:hover{border-color:#a89f6b;background:#303724}.choice-arrow{color:#7c8969;font-size:16px}.special-choice{border-color:#736b4744;color:#d4c69e;background:#b8a16009}.special-choice:first-of-type{margin-top:5px}.room-footer{display:flex;justify-content:space-between;align-items:center;margin-top:24px;gap:20px}.room-footer>span{font-size:11px;color:#89967b}.room-footer button{flex-shrink:0}.narration{white-space:pre-line;font:17px/1.85 Georgia,serif;color:#bcc5ae}.focus-panel .narration{font-size:16px;margin:18px 0 27px}.encounter{max-width:625px;margin:5px auto 25px}.encounter .eyebrow{text-align:center}.encounter h1{font-size:44px;text-align:center}.encounter-symbol{display:grid;place-items:center;color:var(--accent);margin:20px auto 26px;width:80px;height:80px;border-radius:50%;border:1px solid #5e654a;background:#343e2444}.encounter-symbol .icon{height:44px;width:44px}.encounter .narration{font-size:16px;margin-bottom:28px}.ignore{display:block;margin:15px auto;font-size:11px}.final-screen{max-width:820px;margin:auto}.final-scene{height:260px;position:relative;overflow:hidden;border:1px solid #3c4730;background:radial-gradient(ellipse at 34% 90%,#7f7d3f55,transparent 60%),linear-gradient(#11180d,#202a1a)}.final-glow{position:absolute;top:10%;left:23%;width:30%;height:95%;border:1px solid #5a6441;border-radius:45% 45% 0 0;box-shadow:0 0 0 9px #2b3521,0 0 0 10px #56603a;background:linear-gradient(90deg,#141c11 48.5%,#e2ce7b 49% 51%,#141c11 51.5%)}.final-object{position:absolute;background:none;border:0;height:70%;top:15%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:16px}.final-object .icon{color:#bfc58f;height:100px;width:85px;margin-bottom:15px}.gate-object{left:22%;width:32%}.gate-object .icon{opacity:0}.figure-object{left:64%}.figure-object .icon{height:135px;width:100px;filter:drop-shadow(0 10px 10px #000)}.final-object>span{font-size:10px;color:#c5cfae;background:#131b0fe6;border:1px solid #65734d;padding:8px 11px}.final-object b{font-weight:400;color:var(--accent);margin-left:10px}.final-object:hover>span{border-color:var(--accent)}.final-hint{background:#20291b;border:1px solid #414f33;padding:15px 20px;margin-top:10px}.final-hint p{margin:0;color:#a8b494;font-size:12px}.final-choices{margin:24px 0 10px}.ending-screen{max-width:610px;margin:0 auto;padding:10px 0 30px;text-align:center}.ending-emblem{width:90px;height:90px;display:grid;place-items:center;border:1px solid #596347;border-radius:50%;margin:0 auto 29px;color:#a9b394;background:#39462a33}.ending-emblem .icon{width:48px;height:48px}.escaped .ending-emblem{box-shadow:0 0 70px #bbaa4a22;color:#dfce99;border-color:#a79763}.ending-screen h1{margin-bottom:27px}.ending-narration{white-space:pre-line;font:18px/1.9 Georgia,serif;color:#bfc7b0}.ending-context{font:italic 15px/1.8 Georgia,serif;color:#969f87}.ending-actions{margin-top:35px;display:flex;flex-direction:column;align-items:center;gap:12px}.ending-screen .playtime{margin-top:30px}.modal-backdrop{position:fixed;inset:0;z-index:10;background:#080d09d9;backdrop-filter:blur(6px);padding:35px 20px;display:flex;justify-content:center;align-items:center;overflow-y:auto}.modal{position:relative;background:#1d2719;border:1px solid #65734d;padding:37px;width:550px;max-width:100%;max-height:calc(100dvh - 70px);overflow-y:auto;box-shadow:0 25px 100px #0008}.modal p{font-size:13px;color:#a9b59b}.modal h2{padding-right:65px}.modal .modal-item{margin-bottom:20px;width:53px;height:53px;color:var(--accent)}.modal-close{position:absolute;right:25px;top:19px}.modal .fine-print{font-size:11px;color:#7f8e70}.modal-actions{display:grid;gap:10px;margin-top:22px}.inventory-entry{display:flex;gap:20px;align-items:center;padding:22px 0;border-top:1px solid #414e33}.inventory-entry .icon{width:47px;height:47px;color:var(--accent)}.inventory-entry h3{margin:0}.inventory-entry p{margin:7px 0;font-size:11px}.discard{font-size:10px;color:#b0a27c;text-decoration:underline;text-underline-offset:3px}.empty-slot{border:1px dashed #4f5f3f;width:48px;height:48px;display:grid;place-items:center;color:#70835c;font:18px Georgia,serif}.ending-list{padding:0;list-style:none}.ending-list li{padding:13px 0;border-bottom:1px solid #3b4a2e;color:#6f7d60;font-size:12px}.ending-list li>span{display:inline-block;width:35px}.ending-list li.discovered{color:#d2c393}.setting{display:flex;align-items:center;gap:12px;font-size:14px;margin:25px 0;min-height:44px}input[type=checkbox]{accent-color:var(--accent);width:18px;height:18px}.notice{margin:25px 0;border:1px solid #a29257;color:#e0d5b1;padding:18px;font-size:12px;background:#a28c2d22}.debug-link{color:#b0a17e}.debug-panel{border:1px solid #6f7751;padding:25px;margin-top:35px;background:#1c2418}.debug-panel p{font-size:12px;color:#9fac8e}.debug-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.debug-grid>div{min-width:0}.debug-panel label{display:block;font-size:12px;color:#c1c9ad;margin:12px 0}input:not([type=checkbox]),select,textarea{display:block;width:100%;background:#10180d;border:1px solid #4a5938;color:#cbd4b6;padding:11px;margin-top:8px;border-radius:0}textarea{resize:vertical;min-height:380px;font:11px/1.65 Consolas,monospace}pre{background:#10180d;border:1px solid #36452b;padding:15px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:630px;overflow-y:auto;font:11px/1.6 Consolas,monospace;color:#b9c6a2}.debug-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.debug-actions .secondary{padding:10px 12px;font-size:11px}.reward-inputs{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}[data-atmosphere=G]{--accent: #dbba76}[data-atmosphere=P]{--accent: #b6c69b}[data-atmosphere=Q]{--accent: #b9a7d3}[data-atmosphere=S]{--accent: #a8c2cd}@keyframes reveal{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1550px){.main-shell{padding-inline:max(6%,calc((100vw - 1450px)/2))}}@media(max-width:1150px){.app-shell{grid-template-columns:207px minmax(0,1fr)}.sidebar{padding:33px 21px 22px}.main-shell{padding-inline:5%}.doors{gap:15px}.title-copy h1{font-size:65px}.title-screen{grid-template-columns:1.15fr 1fr}.hero-art{height:510px}.title-copy .eyebrow{font-size:7px}.title-detail{font-size:10px}.door-clue{font-size:14px}}@media(max-width:900px){.app-shell{grid-template-columns:178px minmax(0,1fr)}.sidebar{padding-inline:17px}.brand{font-size:12px;letter-spacing:1px;gap:7px}.brand .icon{width:30px}.brand-sub{font-size:6px;letter-spacing:1px}.side-prose{font-size:18px}.journey li{font-size:9px;gap:8px}.title-copy h1{font-size:56px}.hero-art{height:450px;margin-right:-15px}.title-screen{grid-template-columns:1.3fr 1fr;min-height:630px}.lead{font-size:14px}.title-detail br{display:none}.playtime{max-width:230px;line-height:1.9}.title-copy .eyebrow{max-width:200px}.door-art{height:245px}.door-frame{padding:7px}.door-number{font-size:9px}.door-number>span{font-size:6px;letter-spacing:.6px;margin-left:4px}.door-clue{font-size:13px;min-height:95px}.hotspot-label{font-size:9px;padding:8px}.room-footer>span{max-width:200px;line-height:1.7}.debug-grid{grid-template-columns:1fr}}@media(max-width:680px){.app-shell{display:block}.sidebar{position:relative;height:auto;min-height:0;padding:18px 22px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--line);gap:15px}.brand{font-size:11px;min-width:125px}.brand .icon{width:28px;height:32px}.brand-sub{display:none}.sidebar>.eyebrow,.sidebar>.side-rule,.sidebar>.side-prose,.side-emblem,.journey,.inventory-caption,.edition,.side-bottom>.eyebrow{display:none}.side-bottom{margin:0 0 0 auto;display:flex;align-items:center;gap:8px}.side-link{border:0;font-size:9px;padding:8px 3px;min-height:40px;width:auto}.side-link[data-action=history]{display:none}.side-link>span:last-child{display:none}.inventory-slots{gap:6px}.inventory-slot{height:36px;width:36px}.inventory-slot .icon{width:24px;height:24px}.main-shell{padding-inline:23px}.topbar{height:54px;font-size:6px;letter-spacing:1.1px;gap:12px}main{padding-top:28px}.title-screen{min-height:0;display:block;position:relative;padding-top:10px}.title-copy{max-width:100%}.title-copy h1{font-size:clamp(57px,11vw,78px)}.title-copy .eyebrow{font-size:7px;max-width:100%}.lead{max-width:305px;font-size:15px}.title-detail{max-width:290px;font-size:11px}.hero-art{height:330px;width:100%;margin:-10px 0 0;opacity:.9}.hero-arch{height:85%;top:7%;width:45%;left:29%}.hero-caption{bottom:2%;left:24%;font-size:6px}.hero-floor{height:21%}.title-screen .playtime{max-width:none;font-size:6px}h1{font-size:39px;letter-spacing:-1.2px}.eyebrow{font-size:8px;letter-spacing:1.7px}.tiny-mark{font-size:50px}.subheading{font-size:11px;line-height:1.8}.doors{gap:10px;margin-top:15px}.door-art{height:clamp(170px,40vw,240px)}.door-frame{width:78%;left:11%;padding:5px;box-shadow:0 0 0 3px #22291e,0 0 0 4px #3c4430}.door-mark{font-size:24px}.door-number{margin-top:18px;font-size:9px}.door-number>span{display:none}.door-clue{font-size:12px;line-height:1.6;min-height:117px;padding:0}.door-enter{font-size:8px;margin-top:13px}.quiet-note{font-size:11px}.scene{height:280px}.object-illustration{width:75px;height:72px}.object-illustration .icon{width:46px;height:46px}.hotspot{min-width:90px;padding:5px}.hotspot-label{white-space:normal;max-width:130px;font-size:8px;text-align:center;line-height:1.6;margin-top:20px}.hotspot-label>span{margin-left:7px}.scene-caption{font-size:9px;line-height:1.5;bottom:11px}.room-description{font-size:12px}.focus-panel{padding:18px}.focus-panel h2{font-size:25px}.focus-panel .narration{font-size:15px}.choice-button{padding:13px;font-size:11px}.room-footer{align-items:flex-start;gap:12px}.room-footer>span{font-size:10px;max-width:165px}.secondary{font-size:11px;padding:13px;gap:15px}.encounter h1{font-size:36px}.encounter .narration{font-size:15px}.encounter-symbol{margin-top:15px}.final-scene{height:230px}.final-object>span{font-size:8px;padding:7px}.figure-object{left:62%}.final-glow{left:15%;width:37%}.gate-object{left:13%;width:43%}.ending-narration{font-size:16px}.modal{padding:29px 23px}.modal h2{font-size:25px;margin-top:12px}.modal-close{top:10px;right:15px}.page-footer{font-size:6px;letter-spacing:.7px}.page-footer span:first-child{font-size:10px}.debug-panel{padding:16px}.debug-panel h2{font-size:23px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}[data-reduce-motion=true] *,[data-reduce-motion=true] *:before,[data-reduce-motion=true] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.play-content,.play-layout{min-width:0}.play-layout.with-journal{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.run-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:-10px 0 30px}.run-tools{display:flex;gap:9px;flex-shrink:0}.run-toolbar .secondary{padding:10px 14px;min-height:42px;font-size:11px}.run-toolbar>span{font:italic 12px/1.6 Georgia,serif;color:#a4af96;text-align:right}.journal-panel{position:sticky;top:20px;max-height:85vh;overflow:auto;background:#222b1c;border:1px solid #6b7651;padding:21px}.journal-panel h2{font-size:24px}.journal-intro,.journal-panel>p{font-size:11px;color:#a6b197}.journal-entry{padding:17px 0;border-top:1px solid #4d5a3c}.journal-entry .eyebrow{font-size:8px;text-transform:uppercase;color:#b9aa79}.journal-entry h3{font-size:19px;margin:7px 0;color:#e4d6aa}.journal-entry p{font-size:12px;line-height:1.8;margin:8px 0 0;color:#c4cbb5}.side-observations{font-size:11px;color:#a5b193;margin-bottom:25px}.status-dot{display:inline-block;width:8px;height:8px;border:1px solid #896344;background:#5c3c29;border-radius:50%;margin-right:9px}.status-dot.on{border-color:#c6df8e;background:#bad98a;box-shadow:0 0 10px #bad98a55}.inventory-slot.item-selected{border:2px solid #e1c181;background:#cfb68022;box-shadow:inset 0 0 16px #cfb68018}.door-world-status{display:block;font-size:10px;line-height:1.7;color:#bac69f;min-height:35px;margin-top:15px}.hub-people{display:grid;grid-template-columns:1fr 1fr;gap:22px;border-top:1px solid var(--line);margin-top:30px;padding-top:12px}.hub-people h3{font-size:25px}.hub-people p{font-size:12px;color:#a4af96}.hub-people .text-button{display:block;margin-top:5px}.hub-return-message{border-left:2px solid #c7b07b;padding:12px 16px;color:#c7d1b3;font:15px/1.8 Georgia,serif;background:#c7b07b08}.world-status{font-size:11px;color:#d2c28f;padding:12px 15px;border-left:2px solid #b8a76b;background:#b8a76b0d;margin:17px 0}.prototype-room .heading-row .secondary{flex-shrink:0}.prototype-room .scene{height:340px}.prototype-room .hotspot{min-width:150px;z-index:3}.mechanism-art{width:140px;min-height:118px;display:grid;place-items:center;background:linear-gradient(135deg,#535d3944,#1e2818aa);border:1px solid #a7ac6d88;box-shadow:0 18px 25px #0007;padding:13px;color:#d9d8a2}.mechanism-art small{font-size:7px;letter-spacing:1px}.desk-art{display:flex;flex-direction:column;gap:9px;padding:12px;transform:rotate(-4deg);background:#c8ba8d;color:#353b25;border:1px solid #e8d9a5}.desk-art>span{font-size:6px;letter-spacing:1px}.desk-art b{font:12px Georgia,serif}.desk-art i{font:8px Georgia,serif}.distributor-art,.pump-art,.cabinet-art,.gate-art{display:flex;flex-direction:column;align-items:center;gap:12px}.distributor-art b,.pump-art b,.cabinet-art b,.gate-art b{font:9px monospace}.copper-preview{color:#c7a477;font:27px/1 monospace;white-space:nowrap}.pump-wheel{display:inline-block;font-style:normal;font-size:36px;color:#b4c8bd;transform:rotate(var(--wheel-turn, 0deg))}.key-outline{font-size:35px}.cabinet-art.is-open .key-outline{opacity:.2}.gate-art>span{font:35px Georgia,serif;color:#bdc58a}.gate-art.raised>span{transform:translateY(-13px);color:#efe1a5;text-shadow:0 8px 22px #ffe49a55}.brass-strips{color:#dfc475!important;font-style:normal;letter-spacing:5px}.lab-water{position:absolute;inset:auto 0 0;height:48%;z-index:2;background:linear-gradient(#64a4aa44,#1d6a82a8);border-top:2px solid #9ac5c388;pointer-events:none;transition:height .8s,opacity .8s}.lab-water:after{content:"≈     ≈          ≈        ≈";font:30px Georgia,serif;letter-spacing:15px;color:#b5d8ce88;position:absolute;top:-16px;left:3%;white-space:nowrap}.drained .lab-water{height:0;opacity:0}.action-result{border-left:2px solid #a8b783;padding:2px 0 5px 17px;margin:23px 0}.action-result .narration{font:16px/1.8 Georgia,serif;margin:10px 0 17px}.reward-receipt{display:grid;gap:8px;margin:15px 0 22px}.reward-receipt>div{display:flex;gap:12px;padding:10px 13px;background:#c6bb7a0a;border:1px solid #7e855144;align-items:start}.reward-receipt>div>span{font:8px/1.8 Segoe UI,sans-serif;letter-spacing:1px;color:#d9c88e;min-width:61px}.reward-receipt p{font-size:11px;line-height:1.7;margin:0;color:#c1cbaa}.document-actions{display:flex;flex-wrap:wrap;gap:12px 24px;margin:20px 0}.document-link{text-decoration:underline;text-underline-offset:4px;text-decoration-color:#8e957255}.loose-items{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border:1px dashed #748052;padding:15px;margin:22px 0}.loose-items>span{font:8px Segoe UI,sans-serif;letter-spacing:1.5px;color:#b1bd97}.loose-items .secondary{font-size:11px;min-height:43px;padding:10px 13px}.desk-lantern{margin:20px 0}.puzzle-panel{border:1px solid #566341;background:#172113;padding:23px;margin:20px 0}.puzzle-panel h2{font-size:24px}.control-instruction{font-size:12px;line-height:1.8;color:#b2c19e;margin:12px 0 22px}.mechanical-button{border:1px solid #7e895c;background:linear-gradient(#3b472d,#28351f);box-shadow:0 3px #101b0c;color:#e1ddbc;min-height:49px;min-width:48px;padding:12px 18px;font-size:12px;line-height:1.6}.mechanical-button:hover{border-color:#d9ca8b;background:#424f32}.mechanical-button:active{transform:translateY(2px);box-shadow:0 1px #101b0c}.mechanical-button:disabled{opacity:.45;cursor:default}.mechanical-button[aria-pressed=true]{border-color:#d4d38f;background:#435234}.indicator-line{font:11px/1.8 Consolas,monospace;color:#c6cfab;margin:22px 0}.circuit-board{max-width:405px;position:relative;padding:18px 28px;margin:25px 0;border:1px solid #5e6242;background:repeating-linear-gradient(0deg,#b8c38a04 0 19px,#b8c38a0c 20px),#111b0d}.circuit-map{position:relative;aspect-ratio:3/2}.circuit-map>svg{display:block;width:100%;height:100%;overflow:visible}.circuit-map text{font:8px monospace;fill:#748764;text-anchor:middle}.circuit-node{position:absolute;width:33.3333%;height:50%;background:transparent;border:1px solid #a6b37855;padding:4px;display:flex;align-items:flex-end;justify-content:center;color:#c7d2ad}.circuit-node:hover{background:#d6c28a15;border-color:#d6c28a}.circuit-node>span{position:absolute;right:3px;top:3px;font:15px/1 monospace;background:#182211dd;padding:2px}.fixed-guide-label,.fixed-output-label{position:absolute;font:8px monospace;color:#8b9c72;pointer-events:none}.fixed-guide-label{top:2px;left:37%}.fixed-output-label{bottom:2px;right:2px}.circuit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.copper-tile,.fixed-wire{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;padding:8px 3px;background:#27331e;border:1px solid #66784a;color:#cbd0a5;min-height:107px}.copper-tile{box-shadow:0 3px #060c04}.copper-tile:hover{background:#354529;border-color:#d4bd86}.copper-tile>span{font-size:9px;margin-top:4px;line-height:1.4}.copper-tile small,.fixed-wire small{font:7px/1.5 monospace;letter-spacing:.2px;color:#9eac83;margin-top:4px;text-align:center}.wire-glyph,.fixed-wire svg{width:100%;max-width:66px;aspect-ratio:1;overflow:visible;fill:none;stroke:#687d46;stroke-width:1}.copper{stroke:#ca9966;stroke-width:9;fill:none;stroke-linejoin:round}.energized .copper{stroke:#f5d68a;filter:drop-shadow(0 0 3px #eed18c88)}.fixed-wire{border-style:dashed;background:#20291a}.circuit-void{font:8px/1.9 monospace;color:#718360;display:grid;place-content:center;text-align:center;overflow:hidden}.wire-terminal{position:absolute;font:8px/1.3 monospace;color:#dbce9b;bottom:60px}.wire-terminal.in{left:0}.wire-terminal.out{right:0}.pump-gauges{display:flex;gap:20px;flex-wrap:wrap;margin:20px 0;font:10px monospace;color:#c7cfaf}.pump-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pump-controls button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;min-height:125px}.pump-controls span{font-size:9px}.pump-controls b{font:10px monospace}.outlet-selector{display:flex;gap:11px;margin:22px 0 10px;flex-wrap:wrap}.outlet-selector button{font-size:10px;flex:1}.outlet-warning{font-size:12px;line-height:1.8;color:#dac79e;border-left:2px solid #b69b65;padding:4px 0 4px 13px;margin:15px 0 22px}.drain-complete{padding:20px;border:1px solid #5c7954;background:#94b4800a}.drain-complete>span{font:17px monospace;color:#c6d3ab}.drain-complete p{font-size:12px;color:#adbfa0}.submerged-lock{padding:25px;text-align:center;background:linear-gradient(#2c657b55,#24536c22);border:1px solid #8cb5b655;color:#a2cac6;font:35px Georgia,serif}.submerged-lock p{font:14px/1.8 Georgia,serif;color:#bbcebf}.service-plate{max-width:370px;background:#b5b18c;color:#253323;border:2px solid #d5d0ac;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:7px;margin:20px 0}.service-plate>span{display:flex;flex-direction:column;align-items:center;gap:7px}.service-plate small{font:8px monospace}.service-plate>b{font-size:20px}.picture-symbol{width:42px;height:44px;flex-shrink:0}.picture-dials{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:370px;margin:25px 0}.picture-dials button{display:flex;flex-direction:column;align-items:center;gap:14px;padding:15px 7px}.picture-dials button .picture-symbol{width:51px;height:53px}.picture-dials span{font-size:9px}.locker-open{padding:20px;border:1px solid #87965e;background:#9db8780a}.locker-open>span{font:18px monospace;color:#d1d8ae}.locker-open p{font-size:13px;color:#b5c2a3}.gate-controls{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center;margin:23px 0}.gate-bolt{display:flex;flex-direction:column;align-items:center;border:1px solid #647646;padding:18px;text-align:center}.gate-bolt>span{font-size:50px;color:#cbb879}.gate-bolt p{font-size:12px;color:#b6c19d}.gate-bolt.unlocked{border-color:#c6d58f;background:#b5ca7c0b}.gate-controls .mechanical-button{display:flex;flex-direction:column;align-items:center;gap:15px;padding:18px;width:100%}.gate-controls .mechanical-button>span{font-size:10px}.lever-handle{display:block;width:7px;height:67px;background:#a6ad7f;transform:rotate(-18deg);transform-origin:bottom;border-radius:2px;position:relative;margin:12px 20px}.lever-handle:after{content:"";position:absolute;left:-8px;top:-7px;width:23px;height:16px;background:#b49d63;border:1px solid #e4cb89;border-radius:4px}.open-gate-light{padding:27px;margin:25px 0;color:#f7e7b4;border:1px solid #d8cd8b66;background:radial-gradient(ellipse at center,#c3af5733,#778c2a0a);font:20px Georgia,serif;text-align:center}.latch-status{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0}.latch-status span{padding:12px;border:1px solid #4c6039;color:#8b9d75;font:10px monospace}.latch-status .active{color:#d7dfac;border-color:#b7c086;background:#b7c08612}.control-row{display:flex;gap:10px;flex-wrap:wrap;margin:17px 0}.puzzle-response{font-size:16px}.exit-passages{display:flex;gap:20px;align-items:stretch;margin:25px 0}.exit-passages>div{flex:1;display:flex;align-items:center;flex-direction:column;gap:15px;text-align:center;border:1px solid #576c3b;padding:18px 10px}.exit-passages b{font:11px monospace;color:#c7cbab}.exit-passages span{font:35px Georgia,serif;color:#9c9975}.exit-passages small{font-size:10px;line-height:1.8;color:#b1bc9d}.exit-passages .secondary{font-size:10px;padding:12px}.exit-passages .illuminated{color:#f7d47d!important;text-shadow:0 0 18px #f7d47d44}@media(max-width:1200px){.play-layout.with-journal{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.journal-panel{padding:16px}.with-journal .doors{gap:10px}.with-journal .door-art{height:210px}.with-journal .door-clue{font-size:12px}.with-journal .door-number>span{display:none}.prototype-room .heading-row{align-items:start}.prototype-room .heading-row .secondary{font-size:10px;padding:10px}}@media(max-width:1000px){.play-layout.with-journal{grid-template-columns:minmax(0,1fr)}.journal-panel{position:relative;top:auto;order:-1;max-height:300px}.run-toolbar>span{font-size:10px;max-width:200px}.prototype-room .heading-row{flex-wrap:wrap}.prototype-room .heading-row .secondary{margin-bottom:15px}}@media(max-width:680px){.side-observations,.sidebar .journal-link,.sidebar .side-link[data-action=inventory]{display:none}.sidebar .side-bottom{gap:6px}.run-toolbar{margin:0 0 24px;gap:10px}.run-toolbar>span{font-size:9px;max-width:135px}.run-toolbar .secondary{font-size:10px;padding:8px}.run-tools{gap:6px}.door-world-status{font-size:8px;min-height:55px}.hub-people{grid-template-columns:1fr}.prototype-room .scene{height:300px}.prototype-room .hotspot{min-width:100px;padding:5px}.mechanism-art{width:96px;min-height:99px;padding:8px}.desk-art{padding:8px;gap:7px}.desk-art b{font-size:9px}.desk-art i{font-size:6px}.prototype-room .scene-caption{font-size:8px}.prototype-room .hotspot-label{margin-top:15px;font-size:9px;max-width:130px}.prototype-room .room-footer{flex-wrap:wrap}.prototype-room .room-footer>span{max-width:100%}.puzzle-panel{padding:15px;margin-top:15px}.puzzle-panel h2{font-size:21px}.puzzle-panel .focus-heading{gap:10px;align-items:start}.puzzle-panel .text-button{font-size:10px}.control-instruction{font-size:11px}.mechanical-button{font-size:11px;padding:11px 12px}.action-result{padding-left:12px}.action-result .narration{font-size:15px}.reward-receipt>div{flex-direction:column;gap:5px}.reward-receipt p{font-size:10px}.journal-panel{max-height:320px}.circuit-board{padding:12px 22px}.circuit-grid{gap:4px}.copper-tile,.fixed-wire{min-height:94px}.copper-tile>span{font-size:7px}.copper-tile small,.fixed-wire small{font-size:6px;letter-spacing:0}.wire-terminal{font-size:7px;bottom:51px}.picture-dials{gap:7px}.picture-dials button .picture-symbol{width:40px;height:42px}.picture-dials span{font-size:7px}.service-plate{padding:13px 9px}.picture-symbol{width:33px;height:37px}.service-plate small{font-size:7px}.pump-controls{gap:8px}.pump-controls span{font-size:8px}.outlet-selector{gap:7px}.outlet-selector button{font-size:9px;padding:10px 8px}.gate-controls{grid-template-columns:1fr}.exit-passages{gap:9px}.exit-passages>div{padding:14px 7px}.exit-passages .secondary{font-size:9px;padding:9px}.document-actions{gap:5px}.loose-items{padding:12px}.loose-items>span{width:100%}}@font-face{font-family:Press Start;src:url(../fonts/PressStart2P-Regular.ttf) format("truetype");font-weight:400;font-display:swap}:root{--navy: #17212b;--stone: #46555c;--teal: #346b68;--brass: #c7944a;--cream: #e8d9b5;--accent: #c7944a;--muted: #a2b2b8;--line: #3c4b55;--surface: #202e39;--light: #f1e5c7;color:var(--cream);background:var(--navy);font-family:Segoe UI,system-ui,sans-serif;scrollbar-color:#657579 #17212b}html{scrollbar-gutter:stable}body{min-width:320px}body.overlay-open{overflow:hidden}img{image-rendering:pixelated}button{border-radius:0}button:focus-visible,a:focus-visible{outline:3px solid #f8e4ad;outline-offset:4px}.app-shell.is-title{display:block}.is-title .main-shell{padding:0;background:var(--navy)}.is-title main{padding:0}.pixel-title-screen{position:relative;isolation:isolate;min-height:100dvh;overflow:hidden;background:#111d29}.title-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}.title-shade{position:absolute;inset:0;background:linear-gradient(90deg,#111b2660,transparent 43%);z-index:-1}.pixel-title-copy{width:38%;padding:clamp(32px,6vh,85px) 0 40px 4.8vw}.pixel-title-copy h1{margin:0 0 clamp(32px,5vh,64px);color:#f4deb0;font-family:Press Start,monospace;font-size:clamp(28px,3.4vw,62px);font-weight:400;line-height:1.5;letter-spacing:-.055em;text-shadow:0 4px #101822}.pixel-title-copy h1>span{display:block;white-space:nowrap}.pixel-title-copy h1 i{display:inline-block;width:.8em;height:.85em;vertical-align:middle}.pixel-title-copy h1 .pixel-item{width:100%;height:100%}.title-menu{display:grid;gap:17px;padding:0 10px 0 18px}.pixel-menu-button{position:relative;width:100%;min-height:66px;padding:16px 12px;border:3px solid #879897;background:#25394a;box-shadow:inset 0 3px #ffffff2c,inset 0 -4px #101d2a,0 4px #080e19;color:var(--cream);font:400 clamp(12px,1.25vw,21px)/1.5 "Press Start",monospace;text-transform:uppercase;text-shadow:2px 2px #15222e}.pixel-menu-button:before,.pixel-menu-button:after{content:"";position:absolute;top:50%;width:0;height:0;border-top:9px solid transparent;border-bottom:9px solid transparent;opacity:0;transform:translateY(-50%)}.pixel-menu-button:before{left:-26px;border-left:13px solid var(--cream)}.pixel-menu-button:after{right:-26px;border-right:13px solid var(--cream)}.pixel-menu-button:is(:hover,:focus-visible){background:#346b68;border-color:#dbab60}.pixel-menu-button:is(:hover,:focus-visible):before,.pixel-menu-button:is(:hover,:focus-visible):after{opacity:1}.pixel-menu-button:active{transform:translateY(2px);box-shadow:inset 0 4px #102f32,inset 0 -1px #51847c,0 2px #080e19}.is-playing{grid-template-columns:208px minmax(0,1fr)}.is-playing .sidebar{background:#16222d;border-color:var(--line);padding:28px 20px 22px}.is-playing .main-shell{background:#192630;padding:0 4%}.is-playing .topbar{height:62px;font:9px/1.6 Press Start,monospace;letter-spacing:0;color:#9caeaf}.is-playing main{padding-top:25px}.is-playing .brand{font:10px/1.7 Press Start,monospace;color:var(--cream)}.is-playing .brand-sub{font:9px/1.5 monospace;color:#98a9ac;letter-spacing:1px;margin-top:10px}.is-playing .brand>.icon{color:var(--brass);flex-shrink:0;width:30px}.is-playing .side-rule{background:var(--line)}.is-playing .eyebrow{color:#bdb694;font-family:monospace;letter-spacing:1.4px}.is-playing .side-link{color:#c0c9c6;border-color:var(--line);font-size:12px}.is-playing .side-link:hover{color:#fff0cd}.is-playing .journey li.current{color:var(--cream)}.is-playing .journey li.current .journey-dot{color:var(--cream);border-color:var(--brass)}.is-playing .side-observations{border-color:var(--line);background:#21333b}.is-playing .side-observations p{color:#c4cebf}.is-playing .inventory-slot{background:#223745;border-color:#607477}.is-playing .inventory-slot.item-selected{background:#346b68;border-color:#c7944a}.is-playing h1{font-family:Press Start,monospace;font-size:clamp(20px,2.3vw,32px);font-weight:400;letter-spacing:-.5px;line-height:1.6;color:var(--cream)}.is-playing h2{font-family:Press Start,monospace;font-size:16px;line-height:1.7;font-weight:400}.is-playing h3{font-family:Segoe UI,system-ui,sans-serif;font-weight:650}.is-playing .subheading,.is-playing .room-description{font-size:15px;line-height:1.7;color:#bac7c6}.is-playing .subheading{max-width:720px}.is-playing .run-toolbar>span{font:12px/1.6 Segoe UI,sans-serif;color:#adbbb9}.is-playing .secondary,.is-playing .primary,.modal .secondary,.is-playing .mechanical-button,.is-playing .choice-button{border:2px solid #6c8385;background:#263e4b;box-shadow:inset 0 2px #d9e5d81a,inset 0 -3px #12232b;color:#f2e1ba;border-radius:0;font-family:Segoe UI,sans-serif;font-size:13px}.is-playing .primary{background:#346b68;border-color:var(--brass)}.is-playing :is(.secondary,.primary,.mechanical-button,.choice-button):hover{border-color:var(--brass);background:#34615f}.is-playing :is(.secondary,.primary,.mechanical-button):active{transform:translateY(2px)}.is-playing .text-button{color:#dfc48c}.is-playing .focus-panel,.is-playing .puzzle-panel{background:#1d303b;border-color:#536c72}.is-playing .world-status{background:#c7944a0d;border-color:var(--brass);color:#e8cd94}.is-playing .narration,.is-playing .object-description{font-family:Segoe UI,sans-serif;color:#d3d9cc;font-size:15px;line-height:1.8}.is-playing .reward-receipt{background:#284d46;border-color:#5b8c76}.is-playing .page-footer{color:#879f9d;border-color:var(--line)}.pixel-item{display:inline-block;width:42px;height:42px;background-image:url(../art/inventory-items.png);background-size:400% 400%;image-rendering:pixelated;vertical-align:middle;flex-shrink:0}.pixel-item-brass_key{background-position:0 0}.pixel-item-lantern{background-position:33.333% 0}.pixel-item-book{background-position:0 33.333%}.pixel-item-old_coin{background-position:66.667% 33.333%}.pixel-item-strange_amulet{background-position:100% 33.333%}.pixel-item-bag{background-position:33.333% 100%}.run-tools .secondary{display:flex;align-items:center;gap:10px;padding:5px 14px;min-height:52px;font:10px/1.6 Press Start,monospace}.run-tools .pixel-item{width:32px;height:32px}.run-tools small{color:#b7c2ae;font:11px monospace;margin-left:5px}.hub-scene,.pixel-room-scene{position:relative;width:100%;aspect-ratio:3/2;border:3px solid #617376;background:#111c27;box-shadow:0 4px #0b1520}.hub-scene>img,.room-backdrop{display:block;width:100%;height:100%;object-fit:cover}.hub-door{position:absolute;top:30%;width:18%;height:40%;border:2px solid transparent;background:transparent;padding:0}.hub-door-0{left:17%}.hub-door-1{left:42%}.hub-door-2{left:67%}.hub-door>span,.pixel-hotspot .hotspot-label{position:absolute;left:50%;bottom:-22px;transform:translate(-50%);display:block;white-space:nowrap;background:#182a36ef;border:2px solid #8b9b8f;padding:9px 13px;color:#f3dfb1;font-size:12px;box-shadow:0 3px #101822}.hub-door>span b{color:#dfba70;padding-left:4px}.hub-door:hover,.hub-door:focus-visible{border-color:#edcc82;background:#e0bb6720}.hub-door:is(:hover,:focus-visible)>span{background:#346b68;border-color:#edcc82}.hub-room-notes{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0 28px}.hub-room-notes>div{border-left:2px solid #496669;padding:0 12px}.hub-room-notes h3{font-size:13px;margin:0 0 7px;color:var(--cream)}.hub-room-notes p{color:#9fb5b1;margin:0;font-size:12px}.hub-people{gap:22px}.hub-people>div{background:#203540;border:2px solid #4b626a;padding:20px;min-height:230px}.npc-sprite{display:block;float:right;width:100px;height:130px;background:url(../art/characters.png) 0 0 / 400% 200%;image-rendering:pixelated}.mara-sprite{background-position:0 100%}.prototype-room .pixel-room-scene{height:auto;overflow:visible;margin-bottom:26px}.prototype-room .pixel-hotspot{position:absolute;min-width:0;transform:none;background:transparent;border:2px solid transparent;margin:0;padding:0;display:block;z-index:1}.prototype-room .pixel-hotspot:is(:hover,:focus-visible,.selected){border-color:#e3c789;background:#d7bb6b18;box-shadow:none}.prototype-room .pixel-hotspot:is(:hover,:focus-visible,.selected) .hotspot-label{background:#346b68;border-color:#e3c789}.pixel-hotspot.room-E4-0{left:1%;top:44%;width:30%;height:40%}.pixel-hotspot.room-E4-1{left:56%;top:15%;width:40%;height:48%}.pixel-hotspot.room-E2-0{left:1%;top:21%;width:36%;height:40%}.pixel-hotspot.room-E2-1{left:70%;top:31%;width:28%;height:50%}.pixel-hotspot.room-L3-0{left:28%;top:22%;width:54%;height:52%}.pixel-hotspot.room-L3-1{left:1%;top:45%;width:23%;height:29%}.pixel-scene-hint{color:#96aba9;font-size:12px;margin:18px 0}.modal-backdrop{background:#090e17cf;backdrop-filter:none;z-index:20}.modal:not(.journal-book){background:#20323d;border:3px solid #84938d;box-shadow:inset 0 3px #ffffff13,0 8px #0c1722}.modal:not(.journal-book) h2{color:var(--cream);font:15px/1.8 Press Start,monospace}.modal:not(.journal-book) p{color:#cad3ca;font-size:14px;line-height:1.8}.modal .modal-close{color:#ead4a3}.journal-backdrop{padding:66px 28px 45px}.journal-book{width:960px;max-width:100%;padding:14px 16px 18px;position:relative;background:#653e2c;border:4px solid #2b2021;border-radius:0;box-shadow:0 0 0 3px #b17c45,0 8px #292023,0 18px 0 2px #0a111756;overflow:visible;max-height:none}.book-spread{display:grid;grid-template-columns:1fr 1fr;position:relative;min-height:460px}.book-page{background:#e8d9b5;color:#443528;min-width:0;padding:35px 33px 24px;position:relative;display:flex;flex-direction:column;box-shadow:inset 0 0 0 2px #b89c71,0 4px #b79b70,0 7px #e0c89c}.book-contents{background:linear-gradient(90deg,#e8d9b5 92%,#c4ab7e);border-right:2px solid #8b6847}.book-reading{background:linear-gradient(90deg,#c4ab7e,#e8d9b5 8%)}.book-binding{position:absolute;width:13px;top:14px;bottom:18px;left:calc(50% - 6px);background:#6e4a2d;z-index:2;box-shadow:inset 3px 0 #a77c49,inset -3px 0 #492f21}.book-close{position:absolute;right:0;top:-51px;min-height:38px;padding:8px 13px;background:#263b46;color:#f0dfba;border:2px solid #a4a18a;box-shadow:0 3px #101822;font:11px/1.4 Press Start,monospace}.book-close span{margin-left:9px;font:19px monospace}.book-close:hover{background:#346b68;border-color:#dbb96e}.journal-book .book-kicker{font:9px/1.8 Press Start,monospace;color:#745d3e;margin:0 0 25px;letter-spacing:0}.journal-book h2{font:24px/1.7 Press Start,monospace;color:#523e2b;padding:0;margin:0}.book-rule{margin:18px 0 20px;color:#997749;border-top:2px solid #b79a6a;font-size:12px;text-align:center;line-height:0}.journal-book .contents-label{color:#6d5237;font:9px/1.8 Press Start,monospace;margin:0 0 12px}.book-contents nav{max-height:200px;overflow-y:auto;padding-right:5px;scrollbar-color:#a38455 #e8d9b5}.contents-entry{display:flex;width:100%;justify-content:space-between;align-items:start;gap:12px;padding:9px 7px;color:#55412e;background:transparent;border:0;border-bottom:1px dotted #af956d;font:14px/1.45 Segoe UI,sans-serif;text-align:left}.contents-entry>span:last-child{font-family:monospace;color:#8a6238}.contents-entry.current-note{background:#ab8a4c25;box-shadow:inset 3px 0 #8b5c35;font-weight:650}.contents-entry:hover{background:#ab8a4c3b}.journal-book .book-owner{margin-top:auto;padding-top:22px;font:italic 11px/1.6 Georgia,serif;color:#8b724f}.journal-book .book-empty-contents{font:italic 15px/1.8 Georgia,serif;color:#826d4e}.journal-current{flex:1;outline:none;overflow-y:auto;max-height:340px;scrollbar-color:#a38455 #e8d9b5;animation:ink-appear .12s ease-out}.journal-book .note-category{font:9px/1.8 Press Start,monospace;color:#96713f;margin:8px 0 18px}.journal-book .journal-current h3{padding:0;color:#463528;font:700 23px/1.35 Georgia,serif;margin:0 0 20px}.journal-book .note-text{color:#51402f;font:17px/1.85 Georgia,serif;margin:0;white-space:pre-line}.book-sketch{color:#a08760;font:15px/1.5 monospace;text-align:center;margin:35px auto 15px}.book-pagination{display:flex;align-items:center;justify-content:space-between;margin-top:26px;gap:14px}.book-pagination span{color:#836745;font:12px/1.5 Georgia,serif}.book-pagination button{color:#674a2e;border:0;background:transparent;font:32px/1 monospace;min-width:44px;min-height:44px}.book-pagination button:hover:not(:disabled){background:#bca16d4d;color:#2d231e}.book-pagination button:disabled{opacity:.25}.journal-book :focus-visible{outline-color:#795130}.journal-book .book-help{position:absolute;margin:0;top:calc(100% + 20px);left:0;right:0;display:flex;justify-content:space-between;color:#c4bea5;font:11px/1.5 monospace}@keyframes ink-appear{0%{opacity:.65}to{opacity:1}}@media(min-width:1400px){.is-playing .main-shell{padding:0 max(4%,calc((100vw - 1450px)/2))}}@media(max-width:1100px){.is-playing{grid-template-columns:175px minmax(0,1fr)}.is-playing .sidebar{padding:24px 15px}.is-playing .main-shell{padding:0 4%}.is-playing .brand{font-size:8px;gap:8px}.pixel-title-copy{width:40%}.pixel-title-copy h1{font-size:clamp(28px,3.5vw,44px)}.pixel-menu-button{min-height:57px}.book-page{padding:25px 27px 18px}}@media(max-width:760px){.is-playing{display:block}.is-playing .sidebar{display:none}.is-playing .topbar{height:48px;font-size:8px}.is-playing .main-shell{padding:0 5%}.is-playing main{padding-top:20px}.is-playing .run-toolbar{flex-wrap:wrap;margin-bottom:24px;gap:10px}.is-playing .run-toolbar>span{text-align:left;font-size:12px}.run-tools{width:100%}.run-tools .secondary{flex:1;justify-content:center}.pixel-title-copy{width:52%;padding:6vh 0 40px 6vw}.pixel-title-copy h1{font-size:clamp(24px,4.3vw,32px)}.title-backdrop{object-position:58% center}.title-shade{background:linear-gradient(90deg,#101c29e8,#101c297a 48%,transparent)}.title-menu{padding:0 15px;gap:15px}.pixel-menu-button{font-size:11px}.journal-backdrop{padding:70px 22px 50px}.book-page{padding:24px}.journal-book h2{font-size:19px}.journal-book .note-text{font-size:16px}.journal-book .journal-current h3{font-size:21px}.book-spread{min-height:440px}.hub-room-notes{gap:5px}.hub-room-notes>div{padding:0 8px}.hub-room-notes p{font-size:11px}.hub-door>span,.pixel-hotspot .hotspot-label{padding:8px;font-size:11px}.hub-people{grid-template-columns:1fr}}@media(max-width:520px){.pixel-title-copy{width:84%;max-width:380px;padding:45px 24px 40px 32px}.pixel-title-copy h1{font-size:clamp(28px,7.5vw,36px);line-height:1.5;margin-bottom:34px}.pixel-title-screen{min-height:max(650px,100dvh)}.title-backdrop{object-position:61% center;opacity:.55}.title-shade{background:#101a2752}.pixel-menu-button{min-height:58px;font-size:13px}.pixel-menu-button:before{left:-23px}.pixel-menu-button:after{right:-23px}.book-spread{display:block;min-height:0}.book-contents,.book-binding{display:none}.book-reading{background:#e8d9b5;min-height:430px}.journal-book{padding:10px}.journal-backdrop{padding:65px 17px 45px}.journal-book .journal-current{max-height:min(340px,calc(100dvh - 315px));min-height:170px}.journal-book .book-kicker{margin-bottom:14px}.journal-book .book-help{font-size:10px}.book-pagination{margin-top:18px}.book-reading:after{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#bba075}.hub-door>span{font-size:9px;padding:7px 5px}.hub-room-notes h3{font-size:12px}.prototype-room .pixel-hotspot .hotspot-label{font-size:10px;padding:8px 5px}.prototype-room .heading-row{gap:15px}.prototype-room .heading-row .secondary{padding:9px;font-size:11px}.is-playing h1{font-size:22px}.is-playing h2{font-size:13px}}@media(max-height:650px)and (min-width:521px){.pixel-title-copy{padding-top:24px;padding-bottom:24px}.pixel-title-copy h1{font-size:min(3.3vw,35px);margin-bottom:20px}.pixel-menu-button{min-height:48px;padding:10px}.title-menu{gap:12px}.book-spread{min-height:330px}.book-page{padding:18px 24px}.journal-current{max-height:calc(100dvh - 245px)}.book-contents nav{max-height:95px}.journal-book h2{font-size:16px}.book-rule{margin:15px 0}.book-pagination{margin-top:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}html[data-reduce-motion=true] *,html[data-reduce-motion=true] *:before,html[data-reduce-motion=true] *:after{animation:none!important;transition:none!important}html[data-immersive=true]{overflow:hidden;scrollbar-gutter:auto}html[data-immersive=true] body{overflow:hidden;min-width:0}.immersive-shell{position:fixed;inset:0;display:grid;place-items:center;background:#080e15;overflow:hidden}.immersive-shell:has(.has-dialogue):not(:has(.modal)){cursor:pointer}.game-viewport{position:relative;width:min(100vw,150dvh);height:min(100dvh,66.666667vw);overflow:hidden;isolation:isolate;container-type:size;background:#142530;color:#e8d9b5}.stage-play,.stage-world,.stage-background{position:absolute;inset:0;width:100%;height:100%}.stage-background{object-fit:fill;user-select:none;pointer-events:none}.stage-world{z-index:0}.stage-hud{position:absolute;left:14px;right:14px;top:12px;z-index:5;display:flex;justify-content:space-between;align-items:start;gap:8px;pointer-events:none}.stage-hud h1{margin:0;padding:12px 14px;background:#10222bdb;border:2px solid #748785;font:10px/1.7 Press Start,monospace;color:#f2dfb8;box-shadow:0 3px #10202990;letter-spacing:0}.stage-tools,.stage-hands{display:flex;gap:6px}.stage-tools{pointer-events:auto}.stage-hands{margin-right:7px}.stage-icon{display:inline-grid;place-items:center;flex-shrink:0;width:44px;height:44px;min-height:44px;padding:4px;border:2px solid #7e9391;background:#18303de8;color:#efdcaf;box-shadow:inset 0 2px #d9e5d822,0 3px #101d27b0;font:24px/1 monospace}.stage-icon .pixel-item{width:32px;height:32px;pointer-events:none}.stage-icon:hover{background:#346b68;border-color:#d1ad65}.stage-icon:active{transform:translateY(2px)}.stage-icon.selected-hand{background:#346b68;border-color:#efcc7d}.hand-slot{border-color:#7a8580;background:#172b35cc}.stage-object{position:absolute;border:0;background:transparent;padding:0;cursor:pointer;min-width:44px;min-height:44px}.stage-object:hover,.stage-object:focus-visible{border:0;background:transparent;outline:none}.stage-object-name{position:absolute;left:50%;bottom:var(--name-bottom, -27px);transform:translate(-50%);color:#fff0bf;background:transparent;border:0;padding:6px;white-space:nowrap;font:12px/1.4 Segoe UI,sans-serif;text-shadow:-1px -1px #08131b,1px 1px #08131b,0 2px 3px #000;pointer-events:none;opacity:0;z-index:1}.stage-object:is(:hover,:focus-visible) .stage-object-name,.stage-floor-item:is(:hover,:focus-visible) .stage-object-name{opacity:1}.object-outline{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;opacity:0;filter:drop-shadow(0 0 2px #ffd633) drop-shadow(0 0 4px #e9b93577)}.object-outline path{fill:none;stroke:#ffe56a;stroke-width:2;stroke-linejoin:round;vector-effect:non-scaling-stroke}.stage-object:is(:hover,:focus-visible) .object-outline{opacity:1}.stage-object-name:before,.stage-object-name:after{content:"";position:absolute;top:50%;width:10px;height:15px;background:#ffeab3;clip-path:polygon(0 0,30% 0,30% 20%,60% 20%,60% 35%,100% 35%,100% 65%,60% 65%,60% 80%,30% 80%,30% 100%,0 100%);pointer-events:none;transform:translateY(-50%)}.stage-object-name:before{left:-12px}.stage-object-name:after{right:-12px;transform:translateY(-50%) scaleX(-1)}.stage-object:is(:hover,:focus-visible) .npc-sprite,.stage-floor-item:is(:hover,:focus-visible) .pixel-item{filter:drop-shadow(1.5px 0 #ffe56a) drop-shadow(-1.5px 0 #ffe56a) drop-shadow(0 1.5px #ffe56a) drop-shadow(0 -1.5px #ffe56a) drop-shadow(0 0 3px #f9cc3766)}.stage-world[inert] .object-outline,.stage-world[inert] .stage-object-name{opacity:0}.stage-world[inert] .npc-sprite,.stage-world[inert] .stage-floor-item .pixel-item{filter:none}.stage-door{top:30%;height:40%;width:18%}.stage-door-0{left:17%}.stage-door-1{left:42%}.stage-door-2{left:67%}.stage-merchant{left:1%;top:56%;width:14%;height:32%}.stage-mara{left:85%;top:41%;width:13%;height:38%}.stage-mara.is-free{left:77%;top:57%;width:14%;height:31%}.stage-object .npc-sprite{position:absolute;inset:auto auto 0 -30%;float:none;width:160%;height:auto;aspect-ratio:1;pointer-events:none}.stage-merchant .stage-object-name{left:60%}.stage-mara .stage-object-name{left:35%}.stage-object-E4-0{left:1%;top:44%;width:30%;height:40%}.stage-object-E4-1{left:56%;top:15%;width:40%;height:48%}.stage-object-E2-0{left:1%;top:21%;width:36%;height:40%}.stage-object-E2-1{left:70%;top:31%;width:28%;height:50%}.stage-object-L3-0{left:28%;top:22%;width:54%;height:52%}.stage-object-L3-1{left:1%;top:45%;width:23%;height:29%}.stage-floor-items{position:absolute;left:39%;bottom:10%;display:flex;gap:8px}.stage-floor-item{position:relative;background:transparent;padding:3px;border:0;min-width:44px;min-height:44px}.stage-floor-item .pixel-item{width:40px;height:40px;pointer-events:none}.stage-floor-item:hover,.stage-floor-item:focus-visible{background:transparent;border:0;outline:none}.stage-interaction{position:absolute;inset:0;pointer-events:none;z-index:4}.stage-interaction:has(.stage-panel):before{content:"";position:absolute;inset:0;background:#09172377}.stage-panel{position:absolute;left:50%;top:12%;transform:translate(-50%);width:min(78%,760px);max-height:76%;padding:0;border:3px solid #9a9b80;background:#19313def;box-shadow:inset 0 2px #fff2,0 5px #0c1b24;pointer-events:auto}.stage-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 14px;border-bottom:2px solid #587074}.stage-panel-heading h2{margin:0;color:#ecdab2;font:13px/1.7 Press Start,monospace}.stage-panel-heading>div{display:flex;gap:6px}.stage-panel-heading .stage-icon{width:38px;height:38px;min-height:38px}.stage-panel-heading .pixel-item{width:27px;height:27px}.stage-panel-content{padding:18px 22px}.stage-choices{display:grid;gap:9px}.stage-choices:not(:first-child){margin-top:12px}.stage-panel-content:has(.compact-puzzle)>.stage-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.stage-panel-content:has(.compact-puzzle)>.stage-choices .stage-choice{font-size:12px}.stage-choice{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 15px;background:#274753;color:#f0dfba;border:2px solid #789190;box-shadow:inset 0 2px #ffffff18,inset 0 -2px #142d36;font:15px/1.45 Segoe UI,sans-serif}.stage-choice:hover,.stage-choice:focus-visible{border-color:#dfbd77;background:#346b68}.stage-choice .pixel-item{width:30px;height:30px}.has-dialogue .stage-interaction{visibility:hidden}.compact-puzzle .control-instruction,.compact-puzzle .puzzle-response,.compact-puzzle .reward-receipt,.compact-puzzle>.fine-print{display:none}.compact-puzzle .circuit-board{width:min(100%,365px);margin:0 auto 12px;padding:14px 27px;background-color:#13262a;border:2px solid #6c7d6c}.compact-puzzle .circuit-board+.mechanical-button{display:block;margin:0 auto;min-height:44px}.compact-puzzle .indicator-line{margin:10px 0 0;text-align:center;color:#d1dbbd;font-size:11px}.compact-puzzle .mechanical-button,.compact-puzzle .secondary,.compact-puzzle .primary{color:#f2dfb3;background:#284a55;border:2px solid #78918a;padding:9px 13px;min-height:44px;font:12px/1.5 Segoe UI,sans-serif}.compact-puzzle .mechanical-button:hover,.compact-puzzle .secondary:hover{background:#346b68;border-color:#d8b878}.compact-puzzle .mechanical-button[aria-pressed=true]{background:#396a62;border-color:#dfc37f}.compact-puzzle .pump-gauges{margin:0 0 12px;padding:0}.compact-puzzle .pump-controls{gap:12px;margin:0 0 12px}.compact-puzzle .pump-controls .mechanical-button{min-height:100px}.compact-puzzle .pump-controls span,.compact-puzzle .pump-controls b{font-size:12px}.compact-puzzle .pump-wheel{width:42px;height:42px;font-size:32px;margin:3px auto}.compact-puzzle .outlet-selector{margin:0 0 10px;gap:10px}.compact-puzzle .outlet-warning{font-size:12px;line-height:1.5;margin:8px 0 12px;color:#e8cc92}.compact-puzzle[data-puzzle=pump]>.mechanical-button{width:100%}.compact-puzzle .picture-dials{margin:14px 0;gap:12px}.compact-puzzle .picture-dials .mechanical-button{min-height:100px;padding:12px}.compact-puzzle .service-plate{margin:0 auto;padding:12px;max-width:420px}.compact-puzzle .picture-symbol{width:36px;height:38px}.compact-puzzle[data-puzzle=locker]>.mechanical-button{width:100%}.compact-puzzle .gate-controls{gap:16px;margin:0;padding:0}.compact-puzzle .gate-controls .indicator-line{margin:0 0 12px}.compact-puzzle .gate-bolt{padding:16px}.compact-puzzle .gate-bolt>span{font-size:40px}.compact-puzzle .lever-handle{height:70px}.compact-puzzle .open-gate-light{min-height:36px;font-size:13px;padding:10px;margin:12px 0}.compact-puzzle .open-gate-light+.primary{width:100%}.compact-puzzle .latch-status{padding:10px;margin:0 0 16px;gap:8px}.compact-puzzle .latch-status span{font-size:11px}.compact-puzzle .control-row{display:flex;gap:10px}.compact-puzzle .control-row>button{flex:1}.compact-puzzle p{color:#d2d7c4;font-size:14px}.stage-panel .exit-passages{gap:12px;margin:0}.stage-panel .exit-passages>div{padding:12px;background:#122e3a}.stage-panel .exit-passages .secondary{font-size:12px;padding:10px;min-height:44px}.stage-panel .passage-view>.text-button{margin:12px 0 0;color:#e5c58d;font-size:13px}.stage-dialogue{position:absolute;z-index:8;left:3%;right:3%;bottom:3%;height:23%;min-height:112px;max-height:168px;border:4px solid #162a37;outline:3px solid #b7ac85;background:#f0e1bd;box-shadow:inset 0 0 0 3px #fff3d1,inset 0 0 0 6px #b7aa80,0 6px #101c2680}.dialogue-speaker{position:absolute;top:-30px;left:12px;padding:7px 12px;background:#2f5d5b;border:2px solid #bbae7f;color:#f4e4bb;font:10px/1.5 Press Start,monospace}.dialogue-advance{display:flex;align-items:flex-start;justify-content:flex-start;width:100%;height:100%;padding:20px 30px 28px;border:0;color:#25323b;background:transparent;text-align:left;font:600 clamp(15px,2.8cqh,22px)/1.65 "Courier New",monospace}.dialogue-advance:focus-visible{outline:2px solid #346b68;outline-offset:-10px}.dialogue-visible{display:block;white-space:pre-wrap}.dialogue-cursor{position:absolute;bottom:9px;right:18px;font-size:15px;color:#485a57;opacity:0}.stage-dialogue[data-ready=true] .dialogue-cursor{opacity:1;animation:dialogue-caret 1s steps(2,end) infinite}@keyframes dialogue-caret{50%{transform:translateY(3px)}}.stage-ending{position:absolute;z-index:4;bottom:8%;left:50%;transform:translate(-50%);width:min(340px,80%);display:grid;gap:12px;padding:20px;background:#172d37ee;border:3px solid #c3b17e}.stage-ending h2{text-align:center;font:16px/1.8 Press Start,monospace;color:#f1dfb6;margin:0 0 4px}.game-viewport .modal-backdrop{position:absolute;inset:0;padding:48px 5% 38px;overflow:hidden;background:#0b1521bf;z-index:12}.game-viewport .modal{max-height:100%;width:min(550px,100%);padding:25px;overflow-y:auto}.game-viewport .modal h2{padding-right:65px;margin-bottom:20px;font-size:15px}.game-viewport .modal:not(.journal-book) p{font-size:14px}.game-viewport .modal .inventory-entry{margin:0;padding:14px 0}.game-viewport .modal .inventory-entry p{margin:4px 0 10px}.game-viewport .modal .inventory-entry h3{font-size:16px;margin:0}.game-viewport .modal .inventory-entry .secondary{padding:8px 12px;min-height:40px;font-size:13px}.game-viewport .modal .inventory-entry .discard{display:block;margin-top:7px}.game-viewport .modal .modal-close{right:17px;top:18px}.game-viewport .journal-book{width:min(920px,100%);padding:12px 14px 16px;overflow:visible;max-height:none}.game-viewport .book-spread{height:min(450px,70cqh);min-height:0}.game-viewport .book-page{padding:24px 28px 18px;min-height:0}.game-viewport .journal-current{flex:1;min-height:0;max-height:none}.game-viewport .book-contents nav{flex:1;max-height:none;min-height:0}.game-viewport .book-owner{font-size:10px;padding-top:12px}.game-viewport .book-kicker{margin-bottom:16px}.game-viewport .book-contents h2{font-size:21px;margin:0;padding:0}.game-viewport .book-rule{margin:16px 0}.game-viewport .note-text{font-size:16px;line-height:1.75}.game-viewport .book-pagination{margin-top:14px}.game-viewport .book-close{min-height:34px;top:-44px}.game-viewport .book-help{top:calc(100% + 15px)}.game-viewport .note-category{margin-top:0}.game-viewport .book-sketch{margin:18px auto}.pixel-title-screen{min-height:100dvh;height:100dvh}@media(max-height:640px){.stage-hud{top:8px}.stage-icon{width:38px;height:38px;min-height:38px}.stage-icon .pixel-item{width:28px;height:28px}.stage-hud h1{padding:10px;font-size:9px}.stage-panel{top:11%;width:min(82%,690px);max-height:84%}.stage-panel-heading{padding:7px 12px}.stage-panel-heading h2{font-size:11px}.stage-panel-heading .stage-icon{height:32px;min-height:32px;width:32px}.stage-panel-content{padding:12px 18px}.compact-puzzle .circuit-board{width:min(100%,290px);padding:10px 24px}.compact-puzzle .pump-controls .mechanical-button{min-height:74px}.compact-puzzle .pump-wheel{width:30px;height:30px;font-size:25px}.compact-puzzle .picture-dials .mechanical-button{min-height:75px}.compact-puzzle .picture-symbol{width:28px;height:30px}.compact-puzzle .service-plate{padding:6px}.game-viewport .book-page{padding:18px 22px 12px}.game-viewport .journal-book h2{font-size:16px}.game-viewport .book-owner{display:none}.game-viewport .journal-current h3{font-size:19px;margin-bottom:12px}.game-viewport .note-text{font-size:14px}.game-viewport .book-pagination{margin-top:6px}}@media(max-width:700px){.stage-object-name{margin-left:var(--narrow-name-offset, 0px)}.stage-hud{left:8px;right:8px;top:8px}.stage-hud h1{font-size:8px;padding:10px}.stage-tools,.stage-hands{gap:4px}.stage-hands{margin-right:2px}.stage-icon{width:38px;height:38px;min-height:38px}.stage-icon .pixel-item{width:28px;height:28px}.stage-dialogue{left:3%;right:3%}.dialogue-advance{padding:14px 18px 24px;font-size:15px}.stage-object-name{font-size:10px;padding:5px 7px}.stage-panel{width:92%}.stage-panel-heading{gap:8px}.stage-panel-heading h2{font-size:10px}.stage-panel-content{padding:12px}.stage-choice{font-size:14px;padding:9px 12px}.compact-puzzle .mechanical-button{font-size:11px}}@media(orientation:portrait){.game-viewport{width:100vw;height:100dvh;background:linear-gradient(#142630,#101f2a)}.stage-world{top:12%;height:66.6667vw}.stage-panel{top:15%;max-height:76%}.stage-panel-heading .stage-icon{width:34px;height:34px;min-height:34px}.stage-dialogue{bottom:4%;height:25%;max-height:200px}.dialogue-advance{font-size:16px}.stage-object .npc-sprite{min-width:0}.game-viewport .modal-backdrop{padding:56px 6% 42px}.game-viewport .book-spread{height:min(540px,70cqh)}}@media(max-width:520px){.stage-hud{align-items:start}.stage-hud h1{max-width:95px;font-size:8px;padding:9px 8px;line-height:1.8}.stage-tools .stage-icon{width:36px;min-height:40px;height:40px}.stage-hands{gap:3px}.stage-dialogue{min-height:150px}.dialogue-advance{font-size:16px;line-height:1.65}.stage-panel .exit-passages{grid-template-columns:1fr 1fr}.stage-panel .exit-passages>div{padding:10px}.stage-panel .exit-passages .real-strips,.stage-panel .exit-passages .painted-strips{font-size:24px}.stage-panel .exit-passages small{font-size:11px}.stage-panel .exit-passages .secondary{padding:8px;font-size:11px}.compact-puzzle .gate-controls{gap:8px;grid-template-columns:1fr 1fr}.compact-puzzle .gate-bolt,.compact-puzzle .gate-controls .mechanical-button{padding:8px}.compact-puzzle .latch-status{flex-wrap:wrap}.compact-puzzle .control-row{gap:6px}.compact-puzzle .control-row .mechanical-button{padding:8px}.game-viewport .journal-book{padding:10px}.game-viewport .book-reading{min-height:0;height:100%}.game-viewport .book-page{padding:24px}.game-viewport .note-text{font-size:16px}.game-viewport .journal-current{max-height:none;min-height:0}.game-viewport .modal{padding:20px}.game-viewport .modal h2{font-size:13px}}@media(max-height:480px)and (orientation:landscape){.stage-hud h1{font-size:7px;padding:6px}.stage-tools .stage-icon{width:30px;height:30px;min-height:30px}.stage-tools .stage-icon .pixel-item{width:22px;height:22px}.stage-hands{display:none}.stage-panel{top:13%;max-height:85%}.compact-puzzle[data-puzzle=generator]{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:10px}.compact-puzzle[data-puzzle=generator] .circuit-board{grid-row:span 2;width:100%;margin:0}.compact-puzzle .gate-controls .lever-handle{height:35px}.compact-puzzle .pump-controls{display:flex;margin-bottom:6px}.compact-puzzle .pump-controls .mechanical-button{flex:1;min-height:44px;display:flex;flex-direction:row;justify-content:space-around;align-items:center;gap:6px}.compact-puzzle .outlet-warning{margin:5px 0;font-size:10px}.compact-puzzle .pump-gauges{margin-bottom:6px}.compact-puzzle .pump-controls .pump-wheel{display:none}.compact-puzzle .outlet-selector{margin-bottom:5px}.stage-dialogue{height:29%;min-height:100px}.dialogue-advance{font-size:13px;line-height:1.5;padding:12px 18px 20px}.game-viewport .book-kicker,.game-viewport .book-contents .contents-label{margin-bottom:8px;font-size:7px}.game-viewport .book-contents h2{font-size:12px}.game-viewport .book-rule{margin:12px 0}.game-viewport .journal-current h3{font-size:16px}.game-viewport .note-category{font-size:7px;margin-bottom:8px}.game-viewport .note-text{font-size:12px;line-height:1.6}}@media(prefers-reduced-motion:reduce){.dialogue-cursor{animation:none!important}}@font-face{font-family:Pixelify;src:url(../fonts/PixelifySans.ttf) format("truetype");font-weight:400 700;font-display:swap}:root{--game-font: "Pixelify", monospace;font-family:var(--game-font)}.game-viewport,.game-viewport *,.modal,.modal *{font-family:var(--game-font)!important;font-style:normal!important}.modal:not(.journal-book) h2{font-size:26px;line-height:1.25}.modal:not(.journal-book) p,.modal label{font-size:18px;line-height:1.5}.modal .modal-close{font-size:17px}.pixel-menu-button{font-family:var(--game-font);font-weight:600;font-size:clamp(20px,2.3vw,28px)}.game-viewport .stage-hud h1{font-size:16px;line-height:1.3;padding:10px 14px}.game-viewport .stage-object-name{font-size:17px;line-height:1.2}.game-viewport .stage-panel{background:#172f3b;border-color:#b5a173;box-shadow:inset 0 0 0 2px #50666b,0 5px #101f2b}.game-viewport .stage-panel-heading{background:#243e48;border-color:#7b8b78}.game-viewport .stage-panel-heading h2{font-size:24px;line-height:1.2}.game-viewport .stage-choice{font-size:19px;line-height:1.3}.game-viewport .stage-panel-content:has(.compact-puzzle)>.stage-choices .stage-choice{font-size:16px}.game-viewport .stage-icon{font-size:25px}.game-viewport .dialogue-advance{font-size:clamp(19px,3.1cqh,24px);font-weight:400;line-height:1.5}.game-viewport .dialogue-speaker{font-size:18px;line-height:1.2;top:-32px;padding:6px 12px}.game-viewport .modal:not(.journal-book){background:#203540}.game-viewport .modal:not(.journal-book) h2{font-size:26px;line-height:1.25}.game-viewport .modal:not(.journal-book) p,.game-viewport .modal .inventory-entry h3,.game-viewport .modal .inventory-entry .secondary,.game-viewport .modal label{font-size:19px;line-height:1.5}.game-viewport .modal .text-button{font-size:17px}.game-viewport .stage-ending h2{font-size:28px}.game-viewport .journal-book h2{font-size:32px;line-height:1.1}.game-viewport .journal-book .book-kicker,.game-viewport .journal-book .contents-label,.game-viewport .journal-book .note-category{font-size:14px;letter-spacing:1px;line-height:1.25}.game-viewport .journal-book .note-category{margin-bottom:12px}.game-viewport .journal-book .journal-current h3{font-size:25px;line-height:1.15;margin-bottom:14px}.game-viewport .journal-book .note-text{font-size:19px;line-height:1.45}.game-viewport .journal-book .contents-entry{font-size:18px;line-height:1.2;padding:8px 7px}.game-viewport .journal-book .book-owner{font-size:13px;line-height:1.25}.game-viewport .journal-book .book-empty-contents{font-size:18px;line-height:1.5}.game-viewport .journal-book .book-close{font-size:17px}.game-viewport .journal-book .book-pagination span,.game-viewport .journal-book .book-help{font-size:16px}.game-viewport .journal-book .book-pagination{margin-top:10px}.journal-diagram{height:74px;margin:16px auto 0;color:#7c5c39}.journal-diagram svg{display:block;height:100%;width:100%}.journal-diagram text{fill:#725234;font-size:20px}.journal-picture-steps{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:18px auto 0;color:#7c5c39}.journal-picture-steps>span{flex:1;text-align:center;font-size:28px}.journal-picture-steps small{display:block;font-size:13px;line-height:1.25}.journal-picture-steps svg{display:block;height:45px;width:100%}.game-viewport .journal-book .book-sketch{font-size:16px}.stage-panel:has(.illustrated-puzzle){width:min(92%,850px);top:11%;max-height:84%}.machine-picture{position:relative;width:min(100%,97.4cqh);aspect-ratio:720 / 340;margin:0 auto}.machine-picture>svg{display:block;width:100%;height:100%;overflow:visible}.machine-picture svg{shape-rendering:crispEdges}.machine-picture text{fill:#e9dfb9;stroke:none;font-size:19px;letter-spacing:1px}.machine-part{position:absolute;display:block;min-width:38px;min-height:38px;padding:0;border:0;background:transparent;box-shadow:none;cursor:pointer}.machine-part>svg{display:block;width:100%;height:100%;overflow:visible}.machine-part:focus-visible{outline:none}.machine-part:is(:hover,:focus-visible):not(:disabled)>svg{filter:drop-shadow(1px 0 #ffe56a) drop-shadow(-1px 0 #ffe56a) drop-shadow(0 1px #ffe56a) drop-shadow(0 -1px #ffe56a)}.machine-part:active:not(:disabled){translate:0 2px}.machine-part:disabled{opacity:.9;cursor:default}.machine-part[aria-pressed=true]>svg{filter:drop-shadow(0 0 3px #b2ddba88)}.machine-tooltip{position:absolute;bottom:calc(100% + 4px);left:50%;transform:translate(-50%);white-space:nowrap;padding:3px 6px;font-size:16px;line-height:1.2;color:#fff0c4;text-shadow:1px 1px #091823,-1px -1px #091823;pointer-events:none;opacity:0;z-index:3}.machine-part:is(:hover,:focus-visible):not(:disabled) .machine-tooltip{opacity:1}.pump-picture .machine-part:nth-last-child(-n+2) .machine-tooltip,.gate-picture .machine-part[data-id=pull] .machine-tooltip{left:auto;right:0;transform:none}.machine-status{font-size:19px;text-align:center;line-height:1.3;margin:10px 0 0;color:#c3d2bd}.machine-status.danger{color:#edb099}.machine-part .picture-symbol{width:100%;height:100%}.game-viewport .compact-puzzle .circuit-board{width:min(100%,390px);padding:17px 30px;background:#18303a;border:3px solid #ac955f;box-shadow:inset 0 0 0 3px #203e48}.game-viewport .compact-puzzle .circuit-map text{font-size:11px;fill:#aebfae}.game-viewport .compact-puzzle .fixed-guide-label,.game-viewport .compact-puzzle .fixed-output-label,.game-viewport .compact-puzzle .wire-terminal{font-size:12px}.game-viewport .compact-puzzle .mechanical-button{font-size:18px}.game-viewport .compact-puzzle .indicator-line{font-size:16px}.vent-steam{animation:vent-air .9s steps(3) infinite}.flowing-pipe{stroke-dasharray:24 5;animation:water-flow 1s linear infinite}@keyframes vent-air{to{translate:0 -8px;opacity:.2}}@keyframes water-flow{to{stroke-dashoffset:-58}}@container (max-width: 650px){.machine-picture text{font-size:23px;letter-spacing:.3px}}@media(max-width:700px){.game-viewport .stage-object-name,.game-viewport .stage-hud h1{font-size:14px}.game-viewport .stage-panel-heading h2{font-size:20px}.game-viewport .stage-choice{font-size:17px}.game-viewport .stage-panel-content:has(.compact-puzzle)>.stage-choices .stage-choice{font-size:14px}.game-viewport .dialogue-advance{font-size:19px;line-height:1.4}.machine-status{font-size:17px}}@media(max-width:520px){.game-viewport .stage-hud h1{font-size:13px;padding:8px}.game-viewport .stage-panel-heading h2{font-size:19px}.game-viewport .stage-panel-heading{gap:8px;padding:10px}.game-viewport .stage-panel-heading>div{gap:4px}.game-viewport .dialogue-advance,.game-viewport .journal-book .note-text{font-size:19px}.game-viewport .journal-book .journal-current h3{font-size:24px}.machine-tooltip{font-size:14px}}@media(max-height:620px)and (orientation:landscape){.stage-panel:has(.illustrated-puzzle){top:12%}.game-viewport .stage-panel-heading{padding:6px 10px}.game-viewport .stage-panel-heading h2{font-size:20px}.game-viewport .stage-panel-content{padding:10px 14px}.machine-picture{width:min(100%,88cqh)}.machine-status{margin-top:6px;font-size:16px}.game-viewport .stage-hud h1{font-size:12px;padding:7px 10px}.game-viewport .journal-book .journal-current h3{font-size:20px}.game-viewport .journal-book .note-text{font-size:16px}.game-viewport .journal-book .book-kicker,.game-viewport .journal-book .contents-label,.game-viewport .journal-book .note-category{font-size:12px}.game-viewport .journal-book .book-help{font-size:13px}.journal-diagram{height:48px;margin-top:8px}.journal-picture-steps{margin-top:8px}.journal-picture-steps svg{height:30px}}@media(prefers-reduced-motion:reduce){.vent-steam,.flowing-pipe{animation:none}}.adventure-drawing{display:block;width:100%;max-height:36cqh;margin:0 auto 10px;color:#d7c799}.adventure-drawing path,.adventure-drawing rect,.adventure-drawing circle,.adventure-drawing polyline{fill:#203845;stroke:#bdab7d;stroke-width:4;stroke-linejoin:round}.adventure-drawing path,.adventure-drawing polyline{fill:none}.adventure-drawing text{font-size:20px;fill:#eddfb6;stroke:none}.adventure-drawing .guide{stroke:#687e83;stroke-dasharray:8 8;stroke-width:2}.adventure-drawing .stone-baffle{fill:#5c6462}.adventure-drawing .light-ray{stroke:#ffe08a;stroke-width:5;filter:drop-shadow(0 0 4px #ffe08a);pointer-events:none}.adventure-drawing .mirror-face{stroke:#a2d6df;stroke-width:9}.adventure-drawing .wall-plate{fill:#515b60;stroke:#7b8582}.adventure-drawing .installed,.adventure-drawing .receiver-lit{fill:#acbd8b}.adventure-drawing .empty-shaft{stroke-dasharray:7 7}.adventure-drawing .latch-gap{fill:#aac2b8}.adventure-drawing .sliding-bolt{stroke:#e3bd73;stroke-width:14}.adventure-drawing .rope-attached{stroke:#e3bd73;stroke-width:8}.adventure-controls{display:flex;flex-wrap:wrap;gap:8px}.adventure-controls .stage-choice{flex:1 1 130px}.adventure-status{font-size:17px;line-height:1.35;margin:12px 0 0;color:#d6ddc9}.adventure-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-width:320px;margin:auto}.adventure-keypad .stage-choice{min-height:38px;padding:6px}.mirror-adjustments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}.mirror-adjustments label{display:block;font-size:16px}.mirror-adjustments input{display:block;width:100%;accent-color:#d9bc7b;min-height:30px}.mirror-adjustments .stage-choice{font-size:16px;padding:7px}.stage-panel:has(.adventure-puzzle){width:min(92%,850px);top:11%;max-height:84%}.new-item{display:inline-grid;place-items:center;min-width:30px;font-size:28px;color:#e5c480}.hub-panels{left:42%;top:76%;width:16%;height:15%}.hub-counterweight{left:58%;top:76%;width:14%;height:15%}.wall-panel-art,.assembly-art{display:grid;place-items:center;height:100%;font-size:40px;background:#263c43dd;color:#c2af82;border:3px solid #a7936e}.stage-object-L3-2{left:19%;top:70%;width:14%;height:17%}.stage-object-L3-2:before{content:"WINCH";display:grid;place-items:center;height:100%;background:#233b45;border:3px solid #a7936e;color:#e8d9b5;font-size:17px}.office-sketch{position:absolute;inset:0;background:linear-gradient(#172c36ee 65%,#3c4241ee 65%)}.office-bench,.office-records,.office-door{position:absolute;display:grid;place-items:center;background:#43504c;border:5px solid #9e855c;color:#eadcb9}.office-bench{left:10%;top:48%;width:34%;height:33%;border-bottom-width:23px}.office-records{right:9%;top:28%;width:31%;height:34%;background:repeating-linear-gradient(#c1b38b 0 16%,#6e6657 16% 17%);color:#172d38}.office-door{left:46%;top:27%;width:12%;height:42%;background:#203540}.stage-object-O-0{left:10%;top:48%;width:34%;height:33%}.stage-object-O-1{right:9%;top:28%;width:31%;height:34%}.game-viewport:has(.stage-object-O-0) .stage-return-door{left:46%;top:27%;width:12%;height:42%}.stage-floor-items{z-index:2;flex-wrap:wrap;max-width:70%}.hidden-markings{position:absolute;inset:0;pointer-events:none}.hidden-engraving{position:absolute;transform:translate(-50%,-50%);border:0;background:transparent;color:transparent;min-width:34px;min-height:34px;font-size:30px;padding:0;pointer-events:none}.hidden-engraving.is-lit{color:#ffe0a1;text-shadow:0 0 8px #ffc469}.lantern-equipped .hidden-engraving{pointer-events:auto}.lantern-equipped .hidden-engraving:focus-visible{outline:2px solid #d5be80}.lantern-cursor{display:none;position:absolute;z-index:8;left:var(--light-x);top:var(--light-y);pointer-events:none;color:#ffe0a1;font-size:30px;transform:translate(12px,10px)}.lantern-equipped .lantern-cursor{display:block}.lantern-shining:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;background:radial-gradient(circle 90px at var(--light-x) var(--light-y),#ffcc6644,transparent)}.light-notice{position:absolute;bottom:10px;left:50%;transform:translate(-50%);font-size:16px;background:#172f3be6;color:#e4d7b4;padding:4px 9px;pointer-events:none;white-space:nowrap}.light-notice:empty{display:none}@media(max-width:600px){.mirror-adjustments{grid-template-columns:1fr}.adventure-drawing text{font-size:23px}.adventure-status{font-size:16px}.light-notice{font-size:12px}.adventure-controls .stage-choice{flex-basis:100px}}.hub-inscriptions:before,.hub-inscriptions:after{content:"";position:absolute;background:repeating-linear-gradient(0deg,#273d48 0 30px,#1c323d 30px 32px);pointer-events:none}.hub-inscriptions:before{left:30.6%;top:22.7%;width:6.6%;height:14.4%}.hub-inscriptions:after{left:61.5%;top:24.6%;width:8%;height:12.3%}.hidden-engraving{z-index:1}.stage-mara:not(.is-free):after{content:"";position:absolute;inset:3% 1% 0;background:repeating-linear-gradient(90deg,transparent 0 18%,#a1a497 18% 20%,#263944 20% 24%);border:4px solid #6c7875;pointer-events:none}.stage-panel{display:flex;flex-direction:column;overflow:hidden}.stage-panel-heading{flex-shrink:0}.stage-panel-content{min-height:0;overflow-y:auto;overscroll-behavior:contain}.lantern-cursor .pixel-item{display:block;width:32px;height:32px}
