:root{--font-main: "Avenir Next", "Segoe UI", system-ui, sans-serif;--color-primary: #d9d9a1;--color-danger: #d37665;--color-bg: rgba(13, 16, 13, .94);color-scheme:dark}*{box-sizing:border-box}html,body{width:100%;height:100%;overscroll-behavior:none}body{font-family:var(--font-main);color:#eeefdb;-webkit-user-select:none}#game-container,#ui-layer{position:fixed!important;top:0;right:0;bottom:0;left:0}#game-container canvas{display:block}#ui-layer{pointer-events:none;display:flex;flex-direction:column}.screen{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;background:radial-gradient(ellipse at 30% 20%,rgba(66,67,37,.72),transparent 75%),var(--color-bg);display:flex;flex-direction:column;align-items:center;pointer-events:auto;overflow:auto;-webkit-overflow-scrolling:touch;padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}.screen-content{width:min(520px,100%);margin:auto;text-align:center;flex-shrink:0}.screen-content.compact{width:min(420px,100%)}.hidden{display:none!important}.eyebrow{color:#bfc49a;letter-spacing:3px;font-size:10px;margin:0 0 12px}h1{font-size:clamp(25px,5vw,42px);font-weight:600;margin:0 0 10px;text-transform:uppercase;letter-spacing:3px}#lift-screen{z-index:45;background:#131914fa}#lift-options{display:grid;grid-template-columns:1fr;gap:4px}#lift-options button{text-align:left;min-height:52px}#lift-options button:disabled{color:#77816d;border-color:#46503d;cursor:default}#lift-options button span,#lift-options button small{display:block}#lift-options button small{font-size:12px;margin-top:4px;color:#bcc5ad;line-height:1.4}#discovery-list h3,.entity-guide h3{font-size:14px;margin:16px 0 6px}#discovery-list section{border-top:1px solid #58614655}#journal-leads{color:#e3dbb0}.intro{font-size:13px;color:#c6c9b5;margin:0 0 24px;line-height:1.5}.preset-label{display:block;text-align:left;font-size:10px;letter-spacing:2px;margin-bottom:8px;color:#a7ae91}#layout-input{margin-bottom:14px}select:disabled{opacity:.55}#world-status{position:absolute;top:max(22px,env(safe-area-inset-top));left:24px;display:grid;gap:6px;padding:10px 14px;background:#10140fcc;border-left:2px solid #c9d39b;max-width:46%}#floor-label{font-size:12px;letter-spacing:2px}#map-seed{color:#b5bd9e;font-size:12px;overflow-wrap:anywhere}.entity-guide{margin:12px 0;text-align:left;font-size:14px;line-height:1.5;color:#c6cdb2}.entity-guide summary{cursor:pointer;padding:8px 0;color:#e5e8d8}.entity-guide summary:focus-visible{outline:2px solid #c9d39b;outline-offset:3px}.entity-guide dl{margin:8px 0}.entity-guide dt{margin-top:10px;font-weight:600;color:#e5e8d8}.entity-guide dd{margin:3px 0 0}.entity-guide p{margin:12px 0 0;font-size:13px}#objective-label{color:#c6cdb2;font-size:11px}.touch-controls-active #world-status{top:max(195px,calc(env(safe-area-inset-top) + 185px));left:20px;max-width:230px}@media (max-height: 560px){.touch-controls-active #world-status{top:18px;left:245px;max-width:240px}}input,select{padding:9px 12px;min-height:42px;min-width:0;width:100%;font:inherit;font-size:16px;border-radius:5px;background:#262c23;border:1px solid #545b45;color:#f0f1dc}input:focus-visible,select:focus-visible,button:focus-visible{outline:2px solid #dee2ab;outline-offset:3px}.settings-grid{display:grid;grid-template-columns:100px minmax(0,1fr);gap:9px 16px;align-items:center;text-align:left;margin:14px 0 18px;font-size:13px}.preferences{padding:14px 0;border-top:1px solid #58614677;display:grid;gap:10px}.preferences label{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;align-items:center;font-size:12px;text-align:left}.preferences select{min-height:36px;padding:6px 10px;font-size:14px}.preferences input[type=range]{accent-color:#ced898;padding:0;min-height:28px}.preferences input[type=checkbox]{width:24px;height:24px;min-height:24px;padding:0;margin:0;accent-color:#ced898}.touch-preferences{text-align:left}.touch-preferences summary{cursor:pointer;padding:8px 0;font-size:14px}.touch-preferences label{margin:8px 0}.touch-preferences p{font-size:13px;line-height:1.5;color:#bcc5ad}.control-help{font-size:11px;line-height:1.6;color:#b7bea3;margin:10px 0 16px}.gamepad-focus{outline:3px solid #e9efb9!important;outline-offset:4px;box-shadow:0 0 0 7px #b5c47833}.gamepad-status{color:#d6dfaa;font-size:12px;line-height:1.5}#controller-monitor{position:fixed;top:max(12px,env(safe-area-inset-top));right:12px;z-index:90;max-width:min(490px,calc(100vw - 24px));margin:0;padding:10px 12px;border:1px solid #87946b;border-radius:5px;background:#10140ff2;color:#e1e7cb;font:12px/1.45 monospace;white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:none}#gamepad-menu-help,#gamepad-play-help{display:none}.gamepad-active #gamepad-menu-help{position:absolute;bottom:0;left:0;right:0;z-index:50;padding:14px 20px;background:#11170ff2;color:#d6dfaa;text-align:center;font-size:13px;line-height:1.5}.gamepad-active:has(.screen:not(.hidden)) #gamepad-menu-help{display:block}.gamepad-active .screen{padding-bottom:85px;scroll-padding-block:12px 85px}.gamepad-active #gamepad-play-help{display:block;position:absolute;right:24px;bottom:26px;color:#c6cdb2;font-size:12px;padding:8px 12px;background:#10140f88}#audio-unlock{position:absolute;top:12px;left:50%;transform:translate(-50%);width:max-content;max-width:85%;z-index:60;pointer-events:auto;background:#1b241cee;font-size:12px;min-height:38px;padding:8px 14px}button{font:inherit;border-radius:5px;border:1px solid #87946b;background:transparent;color:#e1e7cb;padding:12px 24px;min-height:48px;font-size:15px;cursor:pointer;margin:6px 0;width:100%;touch-action:manipulation}.primary-button{background:#d6dfaa;color:#20281c;border-color:#d6dfaa;font-weight:600}@media (hover: hover){button:hover{background:#64714a;color:#fff}}#hud{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}#stats,#world-status{transition:opacity 1.1s ease}#hud.stats-quiet #stats{opacity:.12}#hud.context-quiet #world-status{opacity:0}#hud:not(.stats-quiet) #stats,#hud:not(.context-quiet) #world-status{transition-duration:.15s}@media (prefers-reduced-motion: reduce){#stats,#world-status{transition:none!important}}#crosshair{--reticle-size: 24px;--reticle-arm: 7px;position:absolute;top:50%;left:50%;width:var(--reticle-size);height:var(--reticle-size);transform:translate(-50%,-50%);color:#f3efdc;pointer-events:none}#crosshair.reticle-hidden{visibility:hidden}.crosshair-arm,.hit-marker i{position:absolute;display:block;background:currentColor;border-radius:1px;box-shadow:0 0 0 1px #10150fd9,0 1px 3px #0009}.crosshair-arm.north,.crosshair-arm.south{width:2px;height:var(--reticle-arm);left:calc(50% - 1px)}.crosshair-arm.east,.crosshair-arm.west{height:2px;width:var(--reticle-arm);top:calc(50% - 1px)}.crosshair-arm.north{top:0}.crosshair-arm.south{bottom:0}.crosshair-arm.east{right:0}.crosshair-arm.west{left:0}.hit-marker{position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px;opacity:0;color:#fff5d6}.hit-marker i{width:8px;height:2px}.hit-marker i:nth-child(1){top:5px;left:2px;transform:rotate(45deg)}.hit-marker i:nth-child(2){top:5px;right:2px;transform:rotate(-45deg)}.hit-marker i:nth-child(3){bottom:5px;right:2px;transform:rotate(45deg)}.hit-marker i:nth-child(4){bottom:5px;left:2px;transform:rotate(-45deg)}#crosshair.hit-confirmed .hit-marker,#crosshair.hit-defeated .hit-marker{opacity:1}#crosshair.hit-defeated,#crosshair.hit-defeated .hit-marker{color:#edb27b}#crosshair.hit-defeated .hit-marker i{height:3px}#crosshair.interaction-ready:not(.hit-confirmed):not(.hit-defeated){color:#dce7b2}#crosshair.interaction-ready .crosshair-arm{box-shadow:0 0 0 1px #10150fd9,0 0 5px #d0dda755}#hurt-feedback{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:4}#hurt-feedback.hurt-hidden{visibility:hidden}#hurt-feedback i{position:absolute;display:block;opacity:0;border-radius:3px;background:#d6a58d;box-shadow:0 0 6px #36201dc0;transition:opacity .22s ease-out}#hurt-feedback .hurt-front,#hurt-feedback .hurt-back,#hurt-feedback .hurt-unknown{left:50%;width:66px;height:3px;transform:translate(-50%)}#hurt-feedback .hurt-front{top:max(26px,var(--safe-top))}#hurt-feedback .hurt-back{bottom:max(26px,var(--safe-bottom))}#hurt-feedback .hurt-right,#hurt-feedback .hurt-left{top:50%;height:66px;width:3px;transform:translateY(-50%)}#hurt-feedback .hurt-right{right:max(26px,var(--safe-right))}#hurt-feedback .hurt-left{left:max(26px,var(--safe-left))}#hurt-feedback .hurt-unknown{bottom:38%;width:24px;height:2px}#hurt-feedback.hurt-active[data-direction=front] .hurt-front,#hurt-feedback.hurt-active[data-direction=right] .hurt-right,#hurt-feedback.hurt-active[data-direction=back] .hurt-back,#hurt-feedback.hurt-active[data-direction=left] .hurt-left,#hurt-feedback.hurt-active[data-direction=unknown] .hurt-unknown{opacity:.75;transition-duration:.04s}@media (prefers-reduced-motion: reduce){#hurt-feedback i{transition:none!important}}.touch-controls-active #crosshair{--reticle-size: 26px;--reticle-arm: 8px}#ui-layer.large-text #crosshair{--reticle-size: 30px;--reticle-arm: 10px}#stats{position:absolute;bottom:max(26px,env(safe-area-inset-bottom));left:max(26px,env(safe-area-inset-left));width:218px;font-size:13px;padding:12px;background:#10140fa3;border:1px solid #a5ad7b44;border-radius:6px}.hp-bar-container{width:136px;height:7px;background:#35412b;margin-right:10px}.hp-bar{width:100%;height:100%;background:#c98771;transition:width .15s}.stat-label{font-size:8px;letter-spacing:1px;color:#ccd4b7}.stamina-row{display:flex;align-items:center;margin-top:9px}.stamina-track{width:136px;height:4px;background:#35412b;margin-right:10px}.stamina-bar{width:100%;height:100%;background:#c7d995;transition:width .08s}.stamina-bar.low{background:#d7a575}#keys-container{display:flex;gap:8px;margin-top:12px}.key-slot{display:grid;place-items:center;width:22px;height:22px;border:1px solid #73835c;border-radius:3px;font-size:9px;color:#98a881;background:#232d21}.key-slot.active-red{background:#8f4339;color:#fff;border-color:#d39382}.key-slot.active-blue{background:#335c89;color:#fff;border-color:#9ac1e4}.key-slot.active-green{background:#436d47;color:#fff;border-color:#b9d99a}#timer-display{font-size:11px;letter-spacing:1px}#interaction-prompt{position:absolute;top:57%;left:50%;transform:translate(-50%);max-width:80%;text-align:center;padding:9px 14px;border:1px solid #b5c39077;border-radius:5px;background:#131911d9;font-size:13px;display:none}#message-log{position:absolute;top:max(26px,env(safe-area-inset-top));right:max(26px,env(safe-area-inset-right));max-width:45%;text-align:right;color:#dee2b8;font-size:12px;line-height:1.6;text-shadow:0 1px 3px black}#win-stats{margin:20px 0;font-size:14px;color:#cbd3b9;line-height:1.5}.no-cursor{cursor:none!important}.touch-controls-active #stats{top:max(20px,calc(env(safe-area-inset-top) + 10px));bottom:auto;left:max(20px,calc(env(safe-area-inset-left) + 10px))}.touch-controls-active #message-log{top:max(93px,calc(env(safe-area-inset-top) + 83px));right:22px;max-width:42%}@media (max-height: 720px){.screen{padding-top:16px;padding-bottom:16px}h1{font-size:30px;margin-bottom:6px}.eyebrow{margin-bottom:6px}.intro{margin-bottom:12px}.settings-grid{margin:8px 0 12px;gap:6px 16px}.preferences{padding:8px 0;gap:6px}.control-help{margin:4px 0 8px}input,select{min-height:38px;padding:7px 10px}}.scene-credit{margin:18px 0 0;color:#9da690;font-size:12px;line-height:1.6}.scene-credit a{color:inherit}@media (max-width: 600px){.screen{padding-left:20px;padding-right:20px}#stats{width:190px;padding:10px}.hp-bar-container,.stamina-track{width:110px}#message-log{font-size:10px}}.save-status{font-size:.875rem;color:#c5c0b4;line-height:1.5}#btn-continue[hidden]{display:none}#ui-layer{--safe-x: 0vw;--safe-y: 0vh;--safe-top: max(env(safe-area-inset-top), var(--safe-y));--safe-bottom: max(env(safe-area-inset-bottom), var(--safe-y));--safe-left: max(env(safe-area-inset-left), var(--safe-x));--safe-right: max(env(safe-area-inset-right), var(--safe-x))}.screen{padding:max(24px,var(--safe-top)) max(24px,var(--safe-right)) max(24px,var(--safe-bottom)) max(24px,var(--safe-left))}.gamepad-active #gamepad-menu-help{left:max(12px,var(--safe-left));right:max(12px,var(--safe-right));bottom:var(--safe-bottom)}.gamepad-active .screen{padding-bottom:calc(var(--gamepad-footer-height, 85px) + var(--safe-bottom) + 20px);scroll-padding-top:max(12px,var(--safe-top));scroll-padding-bottom:calc(var(--gamepad-footer-height, 85px) + var(--safe-bottom) + 20px)}#world-status{top:max(22px,var(--safe-top));left:max(24px,var(--safe-left))}#stats{bottom:max(26px,var(--safe-bottom));left:max(26px,var(--safe-left))}#message-log{top:max(26px,var(--safe-top));right:max(26px,var(--safe-right))}.gamepad-active #gamepad-play-help{right:max(24px,var(--safe-right));bottom:max(26px,var(--safe-bottom))}#audio-unlock{top:max(12px,var(--safe-top))}.comfort-preferences{text-align:left}.comfort-preferences summary{cursor:pointer;padding:8px 0;font-size:14px}.comfort-preferences label{margin:10px 0}.comfort-preferences p{font-size:13px;line-height:1.5;color:#bcc5ad}.comfort-preferences output{display:block;text-align:right;font-variant-numeric:tabular-nums;color:#d6dfaa}.save-controls{border-top:1px solid #58614677;padding-top:16px;margin-top:12px;text-align:left}.save-controls>label{display:block;margin-bottom:8px}.save-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.save-actions button{padding-inline:12px}#save-dialog{z-index:70;background:#131b14fa}#save-dialog-body{line-height:1.6}.gamepad-active:has(#save-dialog:not(.hidden)) #gamepad-menu-help{z-index:75}.large-text .screen-content{width:min(680px,100%)}.large-text .screen-content.compact{width:min(600px,100%)}.large-text .screen{font-size:20px}.large-text .screen button,.large-text .screen input,.large-text .screen select,.large-text .screen summary{font-size:20px}.large-text .intro,.large-text .entity-guide,.large-text .entity-guide p,.large-text .entity-guide h3,.large-text .preferences label,.large-text .settings-grid,.large-text .save-status,.large-text .scene-credit,.large-text .control-help,.large-text .gamepad-status,.large-text .comfort-preferences p,.large-text .touch-preferences p,.large-text #lift-options button small,.large-text #win-stats,.large-text #discovery-list h3{font-size:18px}.large-text .eyebrow,.large-text .preset-label{font-size:14px}.large-text .settings-grid,.large-text .preferences label{grid-template-columns:minmax(130px,.9fr) minmax(0,1.5fr)}.large-text #floor-label,.large-text #map-seed,.large-text #objective-label,.large-text #message-log,.large-text #interaction-prompt,.large-text #gamepad-menu-help,.large-text #gamepad-play-help,.large-text #audio-unlock{font-size:18px}.large-text #stats{width:270px}.large-text .hp-bar-container,.large-text .stamina-track{flex:1;min-width:0}.large-text .stat-label{font-size:14px}.large-text .key-slot{font-size:14px;width:28px;height:28px}.large-text #timer-display{font-size:18px}.touch-controls-active #stats{top:max(20px,calc(env(safe-area-inset-top) + 10px));bottom:auto}.touch-controls-active .large-text #stats{top:max(20px,var(--safe-top));left:max(20px,var(--safe-left))}.touch-controls-active .large-text #world-status{top:calc(max(20px,var(--safe-top)) + 175px);left:max(20px,var(--safe-left))}.touch-controls-active .large-text #message-log{top:max(93px,var(--safe-top));right:max(22px,var(--safe-right))}@media (max-height: 560px) and (min-width: 700px){.touch-controls-active .large-text #world-status{top:max(20px,var(--safe-top));left:calc(max(20px,var(--safe-left)) + 290px);max-width:240px}}@media (max-width: 600px){.large-text .settings-grid,.large-text .preferences label,.save-actions{grid-template-columns:1fr;gap:6px}.large-text #stats{width:210px}.large-text #world-status{max-width:48%}.large-text #gamepad-play-help{max-width:40%}}#equipment{position:absolute;right:max(24px,var(--safe-right));bottom:calc(max(26px,var(--safe-bottom)) + 60px);display:flex;flex-direction:column;align-items:flex-end;gap:5px;color:#e6dfc9;text-shadow:0 2px 4px #000}#equipment strong{font-size:30px;font-variant-numeric:tabular-nums;font-weight:500}#equipment small{font-size:10px;letter-spacing:1.2px}#enemy-health{position:absolute;left:50%;top:calc(50% - 54px);transform:translate(-50%);width:180px;text-align:center;color:#e3d6c4;font-size:11px;text-shadow:0 1px 3px #000}#enemy-health>div{height:3px;margin-top:6px;background:#211e1cc9}#enemy-health i{display:block;height:100%;background:#c89974}.large-text #equipment strong{font-size:38px}.large-text #equipment small,.large-text #enemy-health{font-size:16px;letter-spacing:.5px}.gamepad-active #equipment{bottom:calc(max(26px,var(--safe-bottom)) + 78px)}.touch-controls-active #equipment{right:max(var(--safe-right),calc(var(--touch-button-edge) + var(--touch-inset)));bottom:calc(var(--touch-button-bottom) + var(--touch-inset) + (var(--touch-fire-size) + 72px) * var(--touch-size) + var(--touch-row-gap) + 14px)}@media (max-height: 480px){.touch-controls-active #stats,.touch-controls-active .large-text #stats{width:clamp(160px,32vw,210px);padding:8px}.touch-controls-active #stats .hp-bar-container,.touch-controls-active #stats .stamina-track{flex:1;min-width:0}.touch-controls-active #stats .stamina-row,.touch-controls-active #keys-container{margin-top:6px}.touch-controls-active #world-status,.touch-controls-active .large-text #world-status{top:calc(max(20px,var(--safe-top)) + 135px);left:max(20px,var(--safe-left));width:clamp(160px,32vw,210px);max-width:none;padding:4px 8px}.touch-controls-active #world-status #map-seed,.touch-controls-active #world-status #objective-label{display:none}.touch-controls-active #world-status #floor-label{font-size:12px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.touch-controls-active .large-text #world-status #floor-label{font-size:14px}.touch-controls-active #equipment{top:max(20px,var(--safe-top));left:auto;right:max(108px,calc(var(--safe-right) + 70px));bottom:auto}.touch-controls-active #equipment #weapon-state{display:none}.touch-controls-active #equipment strong{font-size:28px}.touch-controls-active .large-text #equipment strong{font-size:34px}}@media (max-height: 360px){.touch-controls-active #equipment,.touch-controls-active .large-text #equipment{top:max(12px,var(--safe-top))}.touch-controls-active .large-text #equipment strong{font-size:28px}.touch-controls-active .large-text #equipment small{font-size:14px}}#hills-cycle{font-size:11px;color:#c8dfcb;line-height:1.35}#hills-cycle[data-stage=dusk],#hills-cycle[data-stage=night]{color:#e9cda2}#hud.context-quiet #world-status.hills-active{opacity:1}.touch-controls-active #message-log>:not(:last-child){display:none}@media (max-width: 600px) and (min-height: 481px){.touch-controls-active #stats,.touch-controls-active .large-text #stats{width:clamp(128px,43.6vw,170px);padding:8px}.touch-controls-active #hud #equipment,.touch-controls-active #hud.large-text #equipment{top:calc(max(20px,var(--safe-top)) + 56px * var(--touch-size) + 12px);bottom:auto;right:max(22px,var(--safe-right))}.touch-controls-active #equipment strong{font-size:25px}.touch-controls-active .large-text #equipment strong{font-size:29px}.touch-controls-active #equipment small{font-size:10px}.touch-controls-active #equipment #weapon-state{display:none}.touch-controls-active #world-status,.touch-controls-active .large-text #world-status{top:calc(max(20px,var(--safe-top)) + 162px);left:max(20px,var(--safe-left));right:max(20px,var(--safe-right));max-width:none;padding:7px 10px;gap:4px}.touch-controls-active #world-status #map-seed,.touch-controls-active #world-status #objective-label{display:none}.touch-controls-active #floor-label{font-size:12px}.touch-controls-active #message-log,.touch-controls-active .large-text #message-log{top:calc(max(20px,var(--safe-top)) + 226px);left:max(20px,var(--safe-left));right:max(20px,var(--safe-right));max-width:none;text-align:left;font-size:12px;line-height:1.45}.touch-controls-active #message-log>:last-child{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;background:#10140fcc;padding:7px 10px}.touch-controls-active .large-text #floor-label{font-size:14px}}#ui-layer [hidden],#touch-controls [hidden]{display:none!important}.touch-controls-active #ui-layer[data-active-mode=story] #world-status #objective-label{display:block;max-width:min(72vw,440px);line-height:1.55}#ui-layer:lang(zh-CN) .stat-label,#ui-layer:lang(zh-CN) #equipment small{letter-spacing:.04em}:root{--touch-size: 1;--touch-inset: 0px;--touch-button-edge: max(28px, calc(env(safe-area-inset-right) + 16px) );--touch-button-bottom: max(30px, calc(env(safe-area-inset-bottom) + 16px) );--touch-fire-size: 76px;--touch-row-gap: 12px}.touch-controls{-webkit-tap-highlight-color:transparent;position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.touch-controls[hidden]{display:none}.touch-move-zone,.touch-look-zone,.touch-button,.touch-controls-active #game-container canvas{touch-action:none}.touch-move-zone,.touch-look-zone{position:absolute;pointer-events:auto}.touch-move-zone{left:0;bottom:0;width:44%;height:55%}.touch-look-zone{right:0;top:0;width:56%;height:100%}.touch-stick-base{position:absolute;left:max(105px,calc(env(safe-area-inset-left) + 88px));top:calc(100% - max(112px,calc(env(safe-area-inset-bottom) + 96px)));width:104px;height:104px;border:1px solid rgba(228,232,192,.4);border-radius:50%;background:#0d100e3d;transform:translate(-50%,-50%);pointer-events:none}.touch-stick-base.is-held{border-color:#e4e8c0cc}.touch-stick-thumb{position:absolute;left:30px;top:30px;width:42px;height:42px;border:1px solid rgba(236,241,208,.75);border-radius:50%;background:#cfdcbb3d}.touch-move-label,.touch-look-label{position:absolute;font-size:10px;letter-spacing:2px;color:#ecf1d099;pointer-events:none}.touch-move-label{left:max(87px,calc(env(safe-area-inset-left) + 70px));bottom:max(38px,calc(env(safe-area-inset-bottom) + 22px))}.touch-look-label{right:max(34px,calc(env(safe-area-inset-right) + 20px));top:48%}.touch-controls .touch-button{width:auto;position:absolute;z-index:1;pointer-events:auto;min-width:56px;min-height:56px;margin:0;padding:10px;border:1px solid rgba(228,232,192,.55);border-radius:18px;color:#eef2d4;background:#121713a1;font-size:13px;font-weight:600;letter-spacing:1px;transition:none}.touch-controls .touch-button:active,.touch-controls .touch-button[aria-pressed=true]{background:#b4ca9da6;color:#11190e}#touch-interact{right:var(--touch-button-edge);bottom:calc(var(--touch-button-bottom) + var(--touch-fire-size) * var(--touch-size) + var(--touch-row-gap));width:72px;height:72px;border-radius:50%}#touch-sprint{right:calc(var(--touch-button-edge) + var(--touch-fire-size) * var(--touch-size) + var(--touch-row-gap));bottom:calc(var(--touch-button-bottom) + (var(--touch-fire-size) - 60px) * var(--touch-size) / 2);width:68px;height:60px}#touch-pause{right:max(22px,calc(env(safe-area-inset-right) + 12px));top:max(20px,calc(env(safe-area-inset-top) + 10px));font-size:20px}@media (orientation: portrait){.touch-move-zone{height:43%}.touch-stick-base{left:max(88px,calc(env(safe-area-inset-left) + 76px))}.touch-move-label{left:max(70px,calc(env(safe-area-inset-left) + 58px))}.touch-look-label{top:54%;font-size:9px}}#touch-interact,#touch-sprint{transform:translate(calc(-1 * var(--touch-inset)),calc(-1 * var(--touch-inset))) scale(var(--touch-size));transform-origin:right bottom}#touch-pause{transform:scale(var(--touch-size));transform-origin:right top}#touch-sprint:disabled{opacity:.65;font-size:10px;cursor:default}#touch-fire{right:var(--touch-button-edge);bottom:var(--touch-button-bottom);width:var(--touch-fire-size);height:var(--touch-fire-size);border-radius:50%;border-color:#c9ab7b}#touch-reload,#touch-drink{bottom:calc(var(--touch-button-bottom) + var(--touch-fire-size) * var(--touch-size) + var(--touch-row-gap));height:56px;font-size:11px}#touch-reload{right:calc(var(--touch-button-edge) + var(--touch-fire-size) * var(--touch-size) + var(--touch-row-gap));width:64px}#touch-drink{right:calc(var(--touch-button-edge) + (var(--touch-fire-size) + 64px) * var(--touch-size) + var(--touch-row-gap) * 2);width:66px}#touch-swap{right:calc(var(--touch-button-edge) + (var(--touch-fire-size) + 68px) * var(--touch-size) + var(--touch-row-gap) * 2);bottom:calc(var(--touch-button-bottom) + (var(--touch-fire-size) - 56px) * var(--touch-size) / 2);width:66px;height:56px;font-size:11px}#touch-fire,#touch-reload,#touch-drink,#touch-swap{transform:translate(calc(-1 * var(--touch-inset)),calc(-1 * var(--touch-inset))) scale(var(--touch-size));transform-origin:right bottom}@media (max-width: 520px) and (orientation: portrait){#touch-sprint,#touch-swap{bottom:calc(var(--touch-button-bottom) + (var(--touch-fire-size) + 56px) * var(--touch-size) + var(--touch-row-gap) * 2)}body.touch-controls-active #equipment{top:calc(max(20px,var(--safe-top)) + 170px);bottom:auto}}@media (max-height: 480px){.touch-look-label{display:none}:root{--touch-button-bottom: max(10px, calc(env(safe-area-inset-bottom) + 10px) );--touch-fire-size: 64px}.touch-stick-base{top:calc(100% - 83px)}.touch-move-label{bottom:16px}}@media (max-height: 360px){#touch-pause{top:max(8px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));transform:none}}.mode-tabs{display:flex;gap:10px;margin:14px 0 20px}.mode-tabs button{flex:1;min-height:48px;margin:0}.mode-tabs button[aria-pressed=true]{border-color:#d7c58b;background:#38372a;color:#fff6d6}#start-screen[data-mode=story] [data-challenge-home]{display:none!important}.story-home{padding:18px 20px;margin-bottom:20px;border:1px solid #757056;border-radius:8px;background:linear-gradient(150deg,#302f26,#181b1b)}.story-home h2{margin:4px 0 12px;font-size:1.8rem;color:#f2e2b3}.story-eyebrow{font-size:.8rem;letter-spacing:.13em;color:#bfb493;margin:0}.story-intro{line-height:1.75;color:#dedbcf}.story-home button{width:100%}.story-home .save-actions{display:flex;gap:8px}.story-home .save-actions button{flex:1;width:auto}#ui-layer:not([data-play-mode=story]) #btn-story-skip,#ui-layer:not([data-play-mode=story]) #btn-story-checkpoint,#ui-layer[data-play-mode=story] #save-export-current,#ui-layer[data-play-mode=story] #btn-cheat{display:none!important}@media (max-width: 600px){.story-home{padding:14px}.mode-tabs{gap:6px}}
