:root{font-family:Georgia,Times New Roman,serif;color:#f4edd9;background:#101d19;font-synthesis:none;--ink:#263830;--paper:#f2e4c5;--gold:#d5ae65;--line:rgba(213,174,101,.28)}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{min-width:44px;min-height:44px;border:1px solid var(--line);background:#1b3028;color:#f0e4c8;border-radius:4px;cursor:pointer;padding:9px 15px;transition:background .15s,transform .15s}button:hover{background:#30483a}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #e9bc63;outline-offset:3px}button:disabled{opacity:.55;cursor:default}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.primary{background:#c9a05b;color:#1f3028;border-color:#e2c084;font-weight:700}.primary:hover{background:#e3bd76}.eyebrow{font-family:Arial,sans-serif;font-size:10px;font-weight:700;letter-spacing:2.3px;color:#d5b679}.paper-panel .eyebrow{color:#786342}#app{height:100dvh;max-width:1500px;margin:auto;display:flex;flex-direction:column;background:#16271f}.masthead{height:80px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:14px;align-items:center;color:#e3c891;text-decoration:none;font-family:Arial,sans-serif;font-size:14px;letter-spacing:3px}.brand b{font-weight:400;color:#f6edd8}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:7px;color:#a8b2a0}.brand-mark{width:42px;height:42px;border:1px solid #b3985e;display:grid;place-items:center;font:italic 18px Georgia;letter-spacing:-2px;transform:rotate(-4deg)}.header-actions{display:flex;gap:8px}.header-actions button{background:transparent}.header-actions #music-toggle,.header-actions #restart-open{font-size:24px;padding:4px 12px}.header-actions #inventory-toggle{font:11px Arial;letter-spacing:1px}#stage{position:relative;flex:1;min-height:0;overflow:hidden;background:#152820}#game{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}#game canvas{display:block;image-rendering:auto}#scene-strip{position:absolute;top:19px;left:28px;right:28px;display:flex;justify-content:space-between;pointer-events:none;text-shadow:0 2px 4px #000;font:11px Arial;letter-spacing:1.5px;color:#fff0cc}#scene-era{padding:9px 12px}#interaction-hint{position:absolute;bottom:75px;left:50%;transform:translate(-50%);background:#142c24e8;border:1px solid #bfa16a;color:#ffedc7;padding:10px 17px;border-radius:5px;text-align:center;font-size:15px;max-width:70%;pointer-events:none}#interaction-hint b{display:inline-block;font:11px Arial;border:1px solid #aa986c;padding:3px 5px;margin-right:8px}#location-toast{position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);max-width:80%;padding:12px 20px;pointer-events:none;opacity:0;transition:opacity .25s;background:#182f27e8;border:1px solid #b59b65;text-align:center;z-index:12}#location-toast.visible{opacity:1}.screen{position:absolute;inset:0;z-index:20;background:#10261f}.screen:focus{outline:none}#start-screen{background:linear-gradient(90deg,#10251ff5,#10251fe0 38%,#10251f44 68%,#10251f12)}.start-copy{position:absolute;left:8%;top:50%;transform:translateY(-50%);width:520px;max-width:85%}.start-copy h1{font-size:clamp(54px,7vw,96px);line-height:.92;letter-spacing:-3px;margin:24px 0 23px;color:#f4e5c4;text-shadow:2px 5px 0 #1c3026}.start-copy h1 em{color:#d5b36c;font-style:italic}.title-rule{width:70px;height:2px;background:#c29e58;margin:22px 0}.subtitle{font:11px Arial;letter-spacing:3px;color:#dbc28e;line-height:1.8}.start-description{font-size:18px;line-height:1.7;color:#cccfbb;margin:27px 0}.start-copy .primary{padding:15px 23px;min-width:250px;text-align:left;font-size:16px}.start-copy .primary span{float:right;margin-left:25px}.start-meta{display:block;margin-top:20px;font:9px Arial;letter-spacing:2px;color:#9da99a}.start-location{position:absolute;bottom:28px;right:35px;font:9px Arial;letter-spacing:3px;color:#e9d6aa}#cinematic{background:#050d09}#cinema-canvas{width:100%;height:100%;object-fit:contain;image-rendering:auto}.cinema-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#00140770,transparent 30%,transparent 60%,#000c)}#cinema-label{position:absolute;top:35px;left:40px;text-shadow:0 2px 4px #000}#cinema-caption{position:absolute;bottom:65px;left:50%;transform:translate(-50%);text-align:center;max-width:min(650px,85%);padding:10px 17px;background:#0b1b13d9;font-size:20px;line-height:1.5;color:#fff2d0;margin:0;text-shadow:0 2px 2px #000}#cinema-caption:empty{display:none}#cinema-skip{position:absolute;right:25px;top:20px;background:#10271dc9;font:11px Arial;letter-spacing:1px}#cinema-progress{position:absolute;bottom:0;left:0;height:2px;background:#c6a563;width:0}#dialogue{position:absolute;z-index:15;bottom:55px;left:50%;transform:translate(-50%);width:min(760px,90%);display:flex;gap:20px;padding:20px 24px;background:linear-gradient(115deg,#183228fa,#132a22fa);border:1px solid #c6a26099;box-shadow:0 10px 40px #0005;border-radius:4px}#dialogue-portrait{width:84px;height:105px;image-rendering:auto;object-fit:cover;border:1px solid #b4976155;background:#344338;flex-shrink:0}.dialogue-copy{flex:1;min-width:0}#dialogue-text{font-size:19px;line-height:1.5;margin:9px 0 14px;color:#f2e6cb}#dialogue-next{float:right;min-height:40px;font-size:13px;padding:7px 15px}#dialogue-choices{display:flex;gap:8px;flex-wrap:wrap}#dialogue-choices button{font-size:14px;flex:1;min-width:140px}#dialogue-speaker{color:#e2bd73}.modal-backdrop{position:absolute;inset:0;background:#06140fbd;z-index:30;display:flex;align-items:center;justify-content:center;padding:20px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.paper-panel{color:var(--ink);background:linear-gradient(130deg,#f6e9cb,#e7d5ac);border:1px solid #c3a779;width:min(700px,100%);max-height:100%;overflow:auto;overscroll-behavior:contain;padding:22px 27px;box-shadow:0 20px 90px #0008;border-radius:5px;position:relative}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-heading button{background:transparent;border:0;color:#3d5143;font-size:25px;padding:0;width:44px}.paper-panel h2{font-size:31px;line-height:1.1;margin:3px 0 12px;letter-spacing:-.6px}.paper-panel p{font-size:16px;line-height:1.5}.paper-panel button{background:#e7d6b2;color:#2a3d31;border-color:#a99670}.paper-panel button:hover{background:#d6c399}.paper-panel button.primary{background:#254b39;color:#fff0ca;border-color:#254b39}.paper-panel button:focus-visible{outline-color:#567347}#puzzle-feedback{min-height:25px;font-size:14px;color:#50613e;margin:12px 0}#puzzle-feedback.error{color:#9b4b33}.puzzle-footer{display:flex;justify-content:space-between;gap:10px;align-items:center}.puzzle-footer button{font-size:13px}#puzzle-help{background:transparent;border:none;text-decoration:underline;padding:5px}.map-slots,.map-pieces{display:flex;gap:10px;justify-content:center}.map-slots{margin:15px 0;border:1px dashed #9a8967;padding:12px;border-radius:4px}.map-card{width:31%;height:125px;padding:4px!important;position:relative;background:#dfcfaa!important;overflow:hidden}.map-card.selected{outline:3px solid #355e47;outline-offset:2px}.map-card canvas{width:100%;height:83px;image-rendering:auto}.map-card small{display:block;font:11px Arial;color:#344c39}.map-empty{display:flex;align-items:center;justify-content:center;color:#99845a;font-size:28px}.map-legend{font-size:14px!important;border-left:2px solid #8e9a70;padding-left:10px}.support-diagram{height:160px;position:relative;background:#d9c79f;border:1px solid #b6a078;border-radius:4px;margin:12px 0;display:flex;gap:15px;align-items:center;justify-content:center}.support-stack{width:200px;position:relative;height:140px}.support-crate{height:30px;background:repeating-linear-gradient(0deg,#a5804f 0 6px,#947043 6px 7px);border:3px solid #614d31;position:absolute;width:130px;left:25px;transition:transform .3s,opacity .3s}.support-crate:after{content:"×";display:block;color:#564028;text-align:center;font-size:29px;line-height:22px}.support-crate[data-removed=true]{transform:translate(145px);opacity:.45}.chest-drawing{font-size:65px;color:#78572f}.support-actions{display:flex;gap:8px}.support-actions button{flex:1;font-size:13px}.trail-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.trail-card{text-align:center;padding:9px!important}.trail-card svg{width:100%;height:105px;display:block}.trail-card strong{display:block;font-size:14px;margin:4px 0}.trail-card small{font:11px Arial;line-height:1.5}.bridge-diagram{width:100%;height:170px;display:block;background:#ccceb0;border:1px solid #a7a77e;border-radius:4px;margin:12px 0}.bridge-options{display:flex;gap:8px}.bridge-options button{flex:1;font-size:13px}.puzzle-success{outline:2px solid #66854e}.solved-mark{font-size:12px;font-family:Arial;letter-spacing:1px;color:#557242}.inventory-card{border-top:1px solid #b9a47d;padding:13px 0;display:flex;gap:13px}.inventory-icon{font-size:25px;width:35px;text-align:center}.inventory-card h3{font-size:17px;margin:0 0 5px}.inventory-card p{font-size:14px;margin:0;color:#5b6650}.empty-inventory{padding:25px 0}#restart-confirmation{position:fixed;z-index:60}.restart-panel{max-width:520px;padding:30px}.restart-panel h2{margin-top:18px}.restart-actions{display:flex;gap:10px;margin-top:22px}.restart-actions button{flex:1}#ending{background:linear-gradient(#0c241dec,#0c241df5)}.ending-copy{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:90%;max-width:650px;text-align:center}.ending-copy h2{font-size:clamp(37px,5vw,64px);font-weight:400;line-height:1.1;margin:28px 0 17px;color:#f1e1b9}.ending-copy>p{font-size:21px;color:#c4c7ac}.ending-copy .title-rule{margin:25px auto}.ending-copy .subtitle{font-size:10px}.ending-title{font-size:27px!important;color:#e4c58b!important}.ending-title small{font-size:16px}.ending-copy button{margin-top:12px}#touch-controls{display:none;pointer-events:none}#joystick{pointer-events:auto;width:104px;height:104px;border:1px solid #e0d1a384;background:#1d352873;border-radius:50%;position:absolute;left:20px;bottom:16px;touch-action:none;-webkit-user-select:none;user-select:none;box-shadow:inset 0 0 25px #0005}#joystick-knob{position:absolute;width:42px;height:42px;left:30px;top:30px;border-radius:50%;background:linear-gradient(#dec995,#9a8050);border:2px solid #ead5a4;pointer-events:none;box-shadow:0 4px 12px #0007}.stick-cross{position:absolute;inset:0;display:grid;place-items:center;color:#ebd6ac66;font-size:87px}#touch-interact{pointer-events:auto;position:absolute;right:22px;bottom:27px;width:84px;height:84px;border-radius:50%;background:#243c2de6;border:2px solid #d1b67d;touch-action:none;padding:8px;box-shadow:0 5px 25px #0004}#action-icon{display:block;font-size:27px;line-height:30px;color:#e3c483}#touch-interact small{font:10px Arial;letter-spacing:.5px;display:block;margin-top:4px}#desktop-controls{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;gap:5px;align-items:center;background:#10251ebf;padding:4px 9px;border-radius:5px}#desktop-controls button{font:18px Arial;width:35px;min-width:35px;min-height:33px;padding:2px;background:#193127b0}#desktop-controls span{font:8px Arial;letter-spacing:1.3px;padding:0 12px;color:#d0d4bf}#desktop-controls b{color:#d3a758;padding:0 4px}#desktop-controls[data-locked=true] button{opacity:.45}.modal-open #objective,.modal-open #interaction-hint,.modal-open #desktop-controls,.modal-open #touch-controls,.dialogue-open #objective,.dialogue-open #interaction-hint,.cinema-open #objective,.cinema-open #desktop-controls,.cinema-open #touch-controls,.cinema-open #scene-strip{visibility:hidden}@media(max-width:760px),(pointer:coarse){.masthead{height:63px;padding:0 16px}.brand{font-size:11px;gap:10px;letter-spacing:2px}.brand-mark{width:33px;height:33px;font-size:15px}.brand small{font-size:6px;letter-spacing:1.4px}.header-actions{gap:3px}.header-actions #inventory-toggle span{display:none}.header-actions button{padding:4px 8px;min-width:38px}.header-actions #music-toggle,.header-actions #restart-open{font-size:21px;padding:4px 8px}#touch-controls{display:block}#desktop-controls{display:none}#scene-strip{top:10px;left:13px;right:13px;font-size:9px}#scene-era{display:none}#interaction-hint{bottom:133px;font-size:13px;max-width:90%;width:max-content;padding:8px 12px}#interaction-hint b{display:none}.start-copy{left:9%;max-width:85%}.start-copy h1{font-size:66px;margin-top:20px}.start-copy .eyebrow{font-size:8px;letter-spacing:1.7px}.start-description{font-size:16px;margin:20px 0}.start-copy .subtitle{font-size:9px;letter-spacing:2px}.start-copy .primary{min-width:230px;font-size:15px}.start-meta{font-size:8px;letter-spacing:1.2px}.start-location{font-size:8px;right:18px;bottom:18px;letter-spacing:1.6px}.modal-backdrop{padding:12px}.paper-panel{padding:15px 18px}.paper-panel h2{font-size:27px}.paper-panel p{font-size:14px}#dialogue{width:calc(100% - 24px);bottom:129px;padding:15px 14px;gap:12px}#dialogue-portrait{width:58px;height:75px}#dialogue-text{font-size:16px;line-height:1.45;margin:7px 0 11px}#dialogue-speaker{font-size:9px;letter-spacing:1.5px}#dialogue-choices{gap:6px}#dialogue-choices button{font-size:12px;min-width:115px;padding:7px 8px}#dialogue-next{font-size:12px;min-height:44px}#cinema-label{left:20px;top:24px;font-size:9px;letter-spacing:1.5px}#cinema-skip{right:13px;top:9px;font-size:10px;padding:6px 10px}#cinema-caption{bottom:42px;max-width:92%;font-size:17px;width:max-content}#joystick{left:16px;bottom:16px}.map-card{height:112px}.map-card canvas{height:76px}.map-slots{padding:8px;gap:8px}.map-pieces{gap:8px}.map-card small{font-size:9px}.support-diagram{height:145px}.trail-options{gap:6px}.trail-card svg{height:85px}.trail-card small{font-size:10px}.bridge-options{gap:5px}.bridge-options button{font-size:11px;padding:7px 5px}.bridge-diagram{height:145px}.restart-panel{padding:25px}.restart-actions{flex-direction:column}.ending-copy h2{font-size:41px}.ending-copy>p{font-size:17px}.ending-copy .eyebrow{font-size:8px}.ending-title{font-size:25px!important}}@media(max-height:500px)and (orientation:landscape){.masthead{height:45px}.brand small{display:none}.brand-mark{width:28px;height:28px}.header-actions button{min-height:34px}.start-copy h1{font-size:45px;margin:10px 0}.start-copy{left:8%}.start-description{font-size:13px;line-height:1.4;margin:9px 0}.start-copy .title-rule{margin:10px 0}.start-copy .subtitle{font-size:8px;margin:0}.start-meta{margin-top:8px}.start-copy .primary{padding:10px 16px;min-height:38px}.start-location{bottom:14px}#joystick{width:82px;height:82px;bottom:10px}#joystick-knob{width:34px;height:34px;left:23px;top:23px}.stick-cross{font-size:67px}#touch-interact{width:66px;height:66px;bottom:17px}#action-icon{font-size:22px;line-height:22px}#interaction-hint{bottom:100px}#dialogue{bottom:90px;width:min(700px,76%);padding:10px 15px}#dialogue-portrait{width:46px;height:61px}#dialogue-text{font-size:14px;margin:5px 0 8px}#dialogue-next{min-height:36px}.paper-panel{width:min(660px,85%);padding:10px 18px}.panel-heading{height:28px}.panel-heading button{min-height:28px;height:28px}.paper-panel h2{font-size:22px;margin:0 0 5px}.paper-panel p{font-size:12px;margin:7px 0}.map-card{height:82px}.map-card canvas{height:50px}.map-slots{margin:7px 0;padding:6px}.map-legend{font-size:11px!important}.puzzle-footer button{min-height:35px}.bridge-diagram{height:100px}.support-diagram{height:110px}.support-stack{transform:scale(.75)}.trail-card svg{height:55px}.trail-card{padding:5px!important}.trail-options{margin-top:5px}.ending-copy h2{font-size:34px;margin:12px 0}.ending-copy .title-rule{margin:12px auto}.ending-copy>p{font-size:14px;margin:9px 0}.ending-title{font-size:21px!important}.ending-copy button{min-height:38px;margin-top:0}#cinema-caption{bottom:22px;font-size:15px}#cinema-label{top:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}#start-screen{background-size:cover;background-position:center;background-repeat:no-repeat}@media(max-height:500px)and (orientation:landscape){#puzzle .paper-panel{padding:8px 18px}.panel-heading button{min-height:44px;height:44px}#puzzle-content:has(.map-slots){display:grid;grid-template-columns:1fr 1fr;gap:7px;align-items:start}#puzzle-content .map-slots{margin:0}.map-legend{grid-column:1/-1;margin:2px 0!important}#puzzle-content .map-pieces{padding:6px 0}#puzzle-content button{min-height:44px}#puzzle-content .map-card{height:68px}#puzzle-content .map-card canvas{height:44px}.bridge-diagram,.support-diagram{height:60px;margin:6px 0}.support-stack{transform:scale(.45)}.chest-drawing{font-size:45px}.chest-drawing svg{display:block;width:85px;height:52px}.trail-card svg{height:38px}.trail-card strong{font-size:12px;margin:2px 0}.trail-card small{font-size:9px;line-height:1.3}#puzzle-feedback{min-height:17px;margin:6px 0;font-size:11px}.puzzle-footer button,#dialogue-next{min-height:44px}}#inventory-bar{height:59px;flex-shrink:0;border-bottom:1px solid var(--line);background:#14271f;display:flex;align-items:center;justify-content:center;padding:3px 14px}#inventory-items{display:flex;gap:9px;align-items:center;max-width:100%}.inventory-item{padding:3px 8px;min-width:66px;min-height:50px;border-color:#a68e5950;background:#20362b;display:flex;flex-direction:column;align-items:center;gap:2px}.inventory-item svg{width:28px;height:28px;image-rendering:auto}.inventory-item span{font:9px Arial;letter-spacing:.3px}#dialogue-text{margin-bottom:6px}#touch-controls{display:block}#joystick{display:none}#touch-interact{width:70px;height:70px;bottom:10px;right:22px}#touch-interact small{font-size:9px}#interaction-hint{bottom:92px}.dialogue-open #joystick{opacity:.45;pointer-events:none}.dialogue-open #desktop-controls button{opacity:.45}@media(max-width:760px),(pointer:coarse){#inventory-bar{height:53px;padding:2px 5px}#inventory-items{gap:4px;justify-content:center;width:100%}.inventory-item{min-width:0;flex:1;padding:2px;min-height:46px}.inventory-item svg{width:24px;height:24px}.inventory-item span{font-size:8px;letter-spacing:0}#joystick{display:block}#touch-interact{width:84px;height:84px;bottom:27px}#dialogue{bottom:128px}#interaction-hint{bottom:133px}}@media(max-height:500px)and (orientation:landscape){.masthead{height:45px}#inventory-bar{height:39px}.inventory-item{min-height:34px;flex-direction:row;gap:4px;padding:1px 6px}.inventory-item svg{width:23px;height:23px}#dialogue{bottom:88px;padding:10px 15px;gap:12px}#dialogue-portrait{height:71px;width:57px}#dialogue-text{font-size:15px;line-height:1.35;margin:5px 0}#dialogue-choices button{min-height:44px}#touch-interact{width:68px;height:68px;bottom:10px}#joystick{width:78px;height:78px;bottom:10px}#joystick-knob{width:32px;height:32px;left:22px;top:22px}}@media(max-height:500px)and (orientation:landscape){#puzzle{position:fixed;inset:45px 0 0;z-index:45;padding:8px 18px}}#inventory-items:empty{display:none}#cinema-label{max-width:calc(100% - 210px);line-height:1.6}@media(max-width:760px),(pointer:coarse){#cinema-label{max-width:calc(100% - 185px);font-size:7px;letter-spacing:1.2px}#cinema-skip{right:14px;top:14px;font-size:9px}}.header-actions{min-width:0}#development-navigation{display:flex;align-items:center;gap:6px;min-width:0}#development-navigation button{width:44px;min-width:44px;height:44px;padding:2px;font-size:21px}#dev-scene{width:190px;min-width:0;height:44px;padding:4px 7px;color:#e3cf9b;background:#20362b;border:1px solid var(--line);border-radius:4px;font:12px Arial}#scene-strip{align-items:flex-start;gap:16px;letter-spacing:0}#scene-summary{display:flex;align-items:baseline;gap:10px;min-width:0;padding:9px 12px;background:#11251fe6;border-left:2px solid #d6b16b;font:12px/1.5 Arial}#scene-name{font-weight:700;flex-shrink:0}#objective{display:flex;align-items:baseline;gap:8px;min-width:0;pointer-events:none}.objective-star{color:#e8c578;flex-shrink:0}#objective-text{color:#f5e9cd}#scene-era{flex-shrink:0;font-size:10px;letter-spacing:1px}.modal-open #objective,.dialogue-open #objective{display:none}@media(max-width:760px),(pointer:coarse){.masthead{padding:0 10px;gap:8px}.brand{gap:0}.brand>span:last-child{display:none}.brand-mark{width:33px;height:33px}.header-actions,#development-navigation{gap:5px}#dev-scene{width:clamp(92px,29vw,155px);font-size:11px}.header-actions button,#development-navigation button{width:44px;min-width:44px;min-height:44px;padding:2px}#scene-strip{left:10px;right:10px;top:10px}#scene-summary{padding:7px 9px;gap:8px;font-size:11px;line-height:1.5}#objective{gap:6px}}@media(max-width:350px){.masthead{padding:0 6px;gap:4px}.header-actions,#development-navigation{gap:3px}#dev-scene{width:84px}.brand-mark{width:28px;font-size:13px}#scene-summary{font-size:10px;gap:6px;padding:6px 7px}}@media(max-height:500px)and (orientation:landscape){.masthead{height:45px}#scene-summary{padding:5px 9px;font-size:11px}#dev-scene{height:40px}#scene-strip{top:8px}}#dialogue{background:radial-gradient(ellipse at 4% 8%,#9c71331c,transparent 55%),radial-gradient(ellipse at 95% 92%,#91602226,transparent 58%),repeating-linear-gradient(0deg,#69471606 0 1px,transparent 1px 5px),linear-gradient(115deg,#f4e7c9,#e4ceaa);color:#3b2b1b;border:1px solid #9c7947;border-left:4px solid #a27e4b;box-shadow:0 8px 28px #0005,inset 0 0 20px #9a70221c}#dialogue-text{color:#3b2b1b;margin-bottom:0}#dialogue-speaker{color:#73502a;text-shadow:none}#dialogue-portrait{background:#bfb494;border-color:#997a4a;box-shadow:0 0 0 3px #f6ead1,0 2px 5px #74542633}#dialogue-choices:not(:empty){margin-top:12px}#dialogue-choices button{background:#ead8b4;color:#493622;border-color:#aa8856;box-shadow:inset 0 1px #fff6}#dialogue-choices button:hover{background:#d9bf91}#dialogue-choices button:focus-visible{outline-color:#76512a}.statue-detail{display:flex;align-items:center;gap:18px;padding:8px 16px;background:#d9c49c;border:1px solid #b49969;border-radius:3px}.statue-bust{width:104px;height:112px;flex-shrink:0}.statue-inscription{margin:0;font-style:italic;color:#4b3b26}.statue-circles{display:flex;gap:16px;margin-top:14px}.statue-circle{flex:1;min-width:0;padding:8px!important;display:flex;flex-direction:column;align-items:center;gap:4px}.statue-circle svg{width:min(128px,100%);height:128px;display:block}.statue-circle span{font:11px Arial}.statue-circle strong{font:13px Arial;color:#56442c}@media(max-width:760px),(pointer:coarse){.statue-detail{padding:6px 9px;gap:10px}.statue-bust{width:76px;height:86px}.statue-inscription{font-size:13px!important}.statue-circles{gap:8px;margin-top:10px}.statue-circle{padding:6px 4px!important}.statue-circle svg{height:95px}.statue-circle span{font-size:10px}}@media(max-width:350px){.inventory-item span{font-size:7px}.statue-inscription{font-size:12px!important}.statue-circle svg{height:78px}.statue-circles{gap:5px}}@media(max-height:500px)and (orientation:landscape){#puzzle-content:has(.statue-circles){display:grid;grid-template-columns:1fr 1.25fr;gap:12px;align-items:center}.statue-detail{gap:7px;padding:5px 7px}.statue-bust{width:50px;height:75px}.statue-inscription{font-size:11px!important;line-height:1.3!important}.statue-circles{gap:6px;margin:0}.statue-circle svg{height:68px}.statue-circle{padding:4px!important}.statue-circle strong{font-size:11px}}.statue-key{display:none}.statue-open .statue-key{display:block}.statue-open .statue-door{transform:translate(26px);opacity:.45}.statue-head{transform-box:fill-box;transform-origin:center bottom}.statue-turning .statue-head{animation:statue-head-turn .65s ease-out both}@keyframes statue-head-turn{0%{transform:rotate(0)}55%{transform:rotate(-12deg)}to{transform:rotate(-5deg)}}@media(prefers-reduced-motion:reduce){.statue-turning .statue-head{animation:none;transform:rotate(-5deg)}}#touch-controls{position:absolute;left:18px;right:22px;bottom:14px;display:flex;justify-content:flex-end;align-items:flex-end;pointer-events:none;z-index:4}.movement-control,.action-control{display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none}.movement-control{display:none}.control-label,#action-label{font:8px/1 system-ui,sans-serif;letter-spacing:1.7px;color:#bcc3aa;text-transform:uppercase;text-shadow:0 1px 3px #000;white-space:nowrap}#joystick{position:relative;left:auto;bottom:auto;width:104px;height:104px;display:grid;place-items:center;touch-action:none;pointer-events:auto;user-select:none;-webkit-user-select:none;background:radial-gradient(circle,#38514965 0,#182c2dcc 60%,#132324e8);border:1px solid #a4b08b65;box-shadow:inset 0 0 0 6px #101d2455,0 4px 18px #0007;border-radius:50%}.joystick-ring{position:absolute;inset:17px;border:1px solid #b0b28a28;border-radius:50%}#joystick:before,#joystick:after{content:"";position:absolute;background:#b9b48c20;pointer-events:none}#joystick:before{width:70px;height:1px}#joystick:after{width:1px;height:70px}#joystick-knob{position:absolute;z-index:1;width:44px;height:44px;left:calc(50% - 22px);top:calc(50% - 22px);border-radius:50%;border:1px solid #d5c89180;background:radial-gradient(circle at 35% 25%,#6c7c69,#354f45 65%,#243d35);box-shadow:inset 0 1px 2px #e6dab04d,0 3px 10px #030c10b3;pointer-events:none;will-change:transform}#joystick[data-active=true]{border-color:#d8c28ba6}#joystick[data-locked=true]{opacity:.4}#touch-interact{width:62px;height:62px;min-width:0;min-height:44px;position:relative;right:auto;bottom:auto;padding:0;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#304c44,#1c322f);border:1px solid #b8ae7566;box-shadow:inset 0 0 0 4px #101e242e,0 3px 15px #0008;color:#d8cda9;opacity:.5;transition:opacity .15s,border-color .15s,box-shadow .15s;pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none}#action-icon{display:grid;place-items:center;font-size:inherit;line-height:1;color:inherit}#touch-interact svg{grid-area:1/1;width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#touch-interact .icon-next{display:none}#touch-interact[data-state=ready],#touch-interact[data-state=dialogue]{opacity:1;border-color:#d8c18a;color:#f1e3be;box-shadow:inset 0 0 0 4px #e7c77212,0 0 15px #d7aa5624,0 3px 15px #0008}#touch-interact[data-state=dialogue] .icon-hand{display:none}#touch-interact[data-state=dialogue] .icon-next{display:block}#touch-interact:active{transform:scale(.96)}#desktop-controls{bottom:14px;left:18px;transform:none;display:flex;flex-direction:column;gap:8px;padding:0;background:none}#desktop-controls .dpad{display:grid;grid-template-columns:repeat(3,32px);grid-template-rows:repeat(2,32px);gap:3px}#desktop-controls button{width:32px;min-width:32px;min-height:32px;height:32px;padding:0;border:1px solid #a4b08b50;border-radius:5px;background:linear-gradient(#2d413be6,#162b28e6);font:16px system-ui;color:#d8cda9;box-shadow:inset 0 1px #cbb68122,0 3px 8px #0005}#desktop-controls button[data-direction=up]{grid-column:2}#desktop-controls button[data-direction=left]{grid-row:2;grid-column:1}#desktop-controls button[data-direction=down]{grid-row:2;grid-column:2}#desktop-controls button[data-direction=right]{grid-row:2;grid-column:3}#desktop-controls .control-label{padding:0;font:8px/1 system-ui;letter-spacing:1.7px;color:#bcc3aa}@media(max-width:760px),(pointer:coarse){#touch-controls{left:16px;right:22px;bottom:8px;justify-content:space-between}.movement-control{display:flex}#desktop-controls{display:none}#joystick{display:grid}#touch-interact{width:62px;height:62px}#interaction-hint{bottom:133px}#dialogue{bottom:128px}}@media(max-height:500px)and (orientation:landscape){#touch-controls{bottom:6px;left:14px;right:18px}.movement-control,.action-control{gap:5px}#joystick{width:78px;height:78px}.joystick-ring{inset:12px}#joystick:before{width:52px}#joystick:after{height:52px}#joystick-knob{width:34px;height:34px;left:calc(50% - 17px);top:calc(50% - 17px)}#touch-interact{width:54px;height:54px}.control-label,#action-label{font-size:7px}#dialogue{bottom:96px}#interaction-hint{bottom:102px}}@media(prefers-reduced-motion:reduce){#touch-interact{transition:none}}#start-screen{background:#061c20}.cover-art{position:absolute;inset:0;pointer-events:none}.cover-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}#start-screen:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#03181b30,transparent 48%)}#start-screen .start-copy{z-index:1;left:5%;top:24px;bottom:40px;width:39%;max-width:540px;transform:none;display:flex;flex-direction:column}#start-screen .start-copy h1{margin:0;line-height:1;letter-spacing:normal;text-shadow:none}.adventure-title{display:block;width:100%;height:auto}#start-screen .title-rule{display:none}#start-screen .subtitle{margin:8px 0;color:#f2dca4}#start-screen .start-description{margin:auto 0 18px;font-size:17px;color:#e5e4ce;line-height:1.6;text-shadow:0 2px 5px #000}#start-screen .start-copy .primary{width:280px;max-width:100%}#start-screen .start-meta{margin-top:15px}#start-screen .start-location{z-index:1}@media(max-width:760px)and (orientation:portrait){#start-screen .cover-art img{object-fit:contain;object-position:center top}#start-screen:after{background:linear-gradient(0deg,#03171ed9,transparent 24%)}#start-screen .start-copy{left:7%;top:0;bottom:47px;width:86%;max-width:none;align-items:center;text-align:center}#start-screen .start-copy h1{width:100%;max-width:260px;margin:0}#start-screen .subtitle{font-size:9px;letter-spacing:1.8px;margin:0;text-shadow:0 2px 4px #03171e}#start-screen .start-description{font-size:14px;line-height:1.45;margin:auto 0 13px}#start-screen .start-copy .primary{width:100%;max-width:350px}#start-screen .start-meta{font-size:7px;letter-spacing:1.2px;margin-top:11px}}@media(max-height:650px)and (orientation:portrait){#start-screen .start-copy{top:0;bottom:29px}#start-screen .start-copy h1{width:76%;max-width:220px}#start-screen .subtitle{font-size:8px}#start-screen .start-description{display:none}#start-screen .start-copy .primary{margin-top:auto;padding:12px 18px;min-height:44px}#start-screen .start-meta{display:none}#start-screen .start-location{bottom:8px;font-size:7px}}@media(max-height:500px)and (orientation:landscape){#start-screen .start-copy{left:4%;top:4px;bottom:14px;width:35%;max-width:340px}#start-screen .start-copy h1{width:87%;margin:0}#start-screen .subtitle{font-size:8px;letter-spacing:1.5px;margin:0}#start-screen .start-description{font-size:12px;line-height:1.4;margin:auto 0 8px}#start-screen .start-meta{font-size:7px;margin-top:8px}#start-screen .start-location{font-size:7px;bottom:9px;right:14px}}#music-toggle svg{width:27px;height:27px;display:block;overflow:visible}#music-toggle .music-note{fill:currentColor}#music-toggle .music-cross{display:none;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round}#music-toggle[data-muted=true] .music-cross{display:block}.inventory-item img{width:29px;height:29px;object-fit:contain}@media(max-height:500px)and (orientation:landscape){.inventory-item img{width:23px;height:23px}}#puzzle-content:has(.sofa-search){display:block}.sofa-search{height:250px;position:relative;overflow:hidden;border-radius:4px;background:url(./sofa-background-v35-7umT7obO.webp) center 42%/cover no-repeat;border:1px solid #7b5c39}.sofa-object{position:absolute;object-fit:contain;pointer-events:none;filter:drop-shadow(2px 5px 3px #170e08aa)}.sofa-shoe{width:35%;height:37%;left:20%;top:44%}.sofa-sock{width:27%;height:42%;left:18%;top:46%}.sofa-paper{width:28%;height:40%;left:57%;top:45%}.sofa-keys{width:18%;height:28%;left:68%;top:42%}.sofa-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:10px}.sofa-actions button{font-size:12px;padding:7px 5px;min-height:44px}.sofa-actions button:disabled{opacity:.45}@media(max-width:500px){.sofa-search{height:210px}.sofa-actions{grid-template-columns:repeat(2,1fr)}.sofa-actions button{font-size:12px}}@media(max-height:500px)and (orientation:landscape){.sofa-search{height:110px}.sofa-actions{grid-template-columns:repeat(4,1fr);margin-top:6px}.sofa-actions button{font-size:11px}.paper-panel:has(.sofa-search) #puzzle-description{font-size:12px;margin:5px 0}}@media(max-height:650px)and (orientation:portrait){#puzzle .paper-panel:has(.sofa-search){padding:12px 14px}.paper-panel:has(.sofa-search) .panel-heading{height:0}.paper-panel:has(.sofa-search) .panel-heading .eyebrow{display:none}.paper-panel:has(.sofa-search) #puzzle-close{position:absolute;top:4px;right:8px}.paper-panel:has(.sofa-search) h2{font-size:21px;line-height:1.1;margin:0 40px 5px 0}.paper-panel:has(.sofa-search) #puzzle-description{font-size:12px;line-height:1.3;margin:5px 0 8px}.paper-panel:has(.sofa-search) .sofa-search{height:100px}.paper-panel:has(.sofa-search) .sofa-actions{margin-top:6px}.paper-panel:has(.sofa-search) .sofa-actions button{font-size:11px;padding:4px;min-height:44px}.paper-panel:has(.sofa-search) #puzzle-feedback{font-size:11px;line-height:1.3;min-height:15px;margin:6px 0}.paper-panel:has(.sofa-search) .puzzle-footer button{min-height:44px}}@media(max-height:500px)and (orientation:landscape){.paper-panel:has(.sofa-search) .panel-heading{height:0}.paper-panel:has(.sofa-search) .panel-heading .eyebrow{display:none}.paper-panel:has(.sofa-search) #puzzle-close{position:absolute;top:4px;right:8px}.paper-panel:has(.sofa-search) h2{font-size:24px;line-height:1.1;margin:0 40px 6px 0}}.sequence-open #inventory-bar,.cinema-open #inventory-bar{display:none}#inventory-items{--inventory-gap:9px;width:100%;justify-content:center;gap:var(--inventory-gap)}#inventory-items .inventory-item{flex:1 1 0;min-width:0;max-width:min(112px,calc((100% - 3*var(--inventory-gap))/4))}.inventory-item span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-item svg,.inventory-item img{flex-shrink:0}@media(max-width:760px),(pointer:coarse){#inventory-items{--inventory-gap:4px}}#level-loading{z-index:70;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#182c30,#080e13 75%);padding:24px;text-align:center}.loading-copy{width:min(420px,100%)}.loading-copy h2{font:clamp(22px,5vw,34px)/1.2 Georgia;margin:18px 0;color:#ead9b2}#loading-label{font:16px Arial;color:#ede5d4}#loading-progress{display:block;width:100%;height:9px;margin:24px 0 30px;accent-color:#d6b16b;border:0;border-radius:4px;overflow:hidden;background:#344244}#loading-progress::-webkit-progress-bar{background:#344244}#loading-progress::-webkit-progress-value{background:#d6b16b}.sequence-open #interaction-hint,.sequence-open #scene-strip{visibility:hidden}#start-game:disabled{cursor:wait;opacity:.8}.nets-board{position:relative;width:min(100%,560px);aspect-ratio:560/360;margin:8px auto;background:radial-gradient(ellipse,#354e51,#192f36);border:2px solid #a38b61;border-radius:12px;box-shadow:inset 0 0 35px #05181b}.nets-board svg{position:absolute;width:100%;height:100%;inset:0}.nets-board line{stroke-width:5;stroke-linecap:round;stroke:#d5c09c}.nets-board line.crossed{stroke:#eaa77b}.net-knot{position:absolute;width:48px;height:48px;min-width:48px;min-height:48px;transform:translate(-50%,-50%);padding:0!important;border-radius:50%!important;border:3px solid #d3bd83!important;color:#fff2c9!important;background:#25433e!important;font:700 18px Georgia,serif;box-shadow:0 2px 7px #0009}.net-knot[aria-pressed=true]{background:#b27235!important;outline:3px solid #f1dc9b;outline-offset:3px}.net-knot:focus-visible{outline:3px solid #fff3c9;outline-offset:3px}.net-status{text-align:center;font-size:14px}@media(max-height:500px)and (orientation:landscape){#puzzle .paper-panel:has(.nets-board){display:grid;grid-template-columns:minmax(190px,1fr) minmax(290px,340px);column-gap:18px;width:min(730px,96%);padding:14px 18px}.paper-panel:has(.nets-board) .panel-heading{height:0;grid-column:1}.paper-panel:has(.nets-board) .panel-heading .eyebrow{display:none}.paper-panel:has(.nets-board) #puzzle-close{position:absolute;top:4px;right:6px;z-index:2}.paper-panel:has(.nets-board) #puzzle-title{grid-column:1;font-size:22px;line-height:1.1;margin:0 0 6px}.paper-panel:has(.nets-board) #puzzle-description{grid-column:1;font-size:12px;line-height:1.4;margin:5px 0}.paper-panel:has(.nets-board) #puzzle-content{grid-column:2;grid-row:1/6;align-self:center}.paper-panel:has(.nets-board) .nets-board{margin:0 auto}.paper-panel:has(.nets-board) .net-status{font-size:11px;line-height:1.3;margin:6px 0 0}.paper-panel:has(.nets-board) #puzzle-feedback{grid-column:1;font-size:12px;line-height:1.3;min-height:16px;margin:6px 0}.paper-panel:has(.nets-board) .puzzle-footer{grid-column:1;flex-wrap:wrap;gap:6px}.paper-panel:has(.nets-board) .puzzle-footer button{min-height:44px;padding:6px 10px;font-size:12px}}.paper-panel:has(.nets-board) #puzzle-title{font-size:clamp(25px,4vw,34px);line-height:1.1}.paper-panel:has(.nets-board) #puzzle-description{font-size:15px;line-height:1.4;margin:10px 0}@media(max-height:480px)and (orientation:landscape){.paper-panel:has(.nets-board) #puzzle-title{font-size:22px}.paper-panel:has(.nets-board) #puzzle-description{font-size:12px;margin:5px 0}}#ending{display:grid;place-items:center;padding:24px 18px;overflow:auto;overscroll-behavior:contain}#ending .ending-copy{position:static;transform:none;width:min(100%,620px);max-width:620px;margin:auto}#ending .ending-copy h2{font-size:clamp(34px,6vw,58px);line-height:1.1;margin:0 0 18px}#ending .ending-lead{font-size:clamp(16px,2.5vw,21px);line-height:1.5;max-width:30rem;margin:0 auto}#ending .title-rule{margin:24px auto}#ending .ending-title{font-size:clamp(27px,4vw,36px)!important;line-height:1.15;margin:0 0 28px}#ending .ending-title small{display:block;font-size:.65em;line-height:1.45;margin-top:6px}.ending-actions{display:flex;flex-direction:column;gap:12px;width:min(100%,360px);margin:0 auto}.ending-actions a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:13px 16px;border:1px solid #a88f61;border-radius:4px;font-size:16px;line-height:1.35;text-decoration:none;transition:background .15s,color .15s}.ending-actions a.primary{background:#c9a05b;border-color:#e2c084;color:#1f3028;font-weight:700}.ending-actions a.primary:hover{background:#e3bd76}.ending-actions .ending-secondary{background:#172e26;color:#efe1bc}.ending-actions .ending-secondary:hover{background:#30483a}@media(max-height:500px)and (orientation:landscape){#ending{padding:16px 22px}#ending .ending-copy h2{font-size:30px;margin-bottom:10px}#ending .ending-lead{font-size:15px}#ending .title-rule{margin:14px auto}#ending .ending-title{font-size:26px!important;margin-bottom:18px}.ending-actions{width:100%;flex-direction:row;justify-content:center;gap:12px}.ending-actions a{flex:1;max-width:290px;min-height:48px;padding:10px 14px;font-size:14px}}
