@import"https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Mono:wght@400;700&display=swap";:root{font-family:DM Mono,monospace;color:#26352f;background:#e9ddbd;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden}button{font:inherit;color:inherit;border:0;cursor:pointer}button:focus-visible{outline:2px solid #e88951;outline-offset:4px}button:hover{filter:brightness(1.12)}#world{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;image-rendering:pixelated;touch-action:none}header{position:fixed;top:27px;left:35px;right:35px;display:flex;align-items:center;gap:24px;pointer-events:none}.identity{display:flex;align-items:center;gap:18px}.identity strong{font-family:Space Mono,monospace;font-size:30px;letter-spacing:-2px}.identity strong span{color:#a57b54;margin-left:8px;font-weight:400}.identity small{font-size:9px;letter-spacing:2px}.readouts{display:flex;margin-left:auto;gap:33px}.readouts>div{display:flex;flex-direction:column;gap:3px;min-width:82px}.readouts span{font-size:9px;letter-spacing:1px}.readouts strong{font-size:27px;font-weight:400}.readouts strong span{font-size:16px;letter-spacing:-1px;margin-left:2px}#pause{pointer-events:auto;background:transparent;width:32px;height:40px;font-size:20px;border:1px solid #66705a66}#heat{position:fixed;top:0;left:0;width:100%;height:3px}#heat i{display:block;height:100%;width:0;background:#d5754f;transition:width .2s}.objective{position:fixed;left:36px;top:126px;pointer-events:none}.objective>span{font-size:9px;letter-spacing:2px;color:#796d53}.objective h1{font-family:Space Mono,monospace;font-size:clamp(16px,1.65vw,24px);line-height:1.5;font-weight:400;letter-spacing:-1px;margin:13px 0 10px}.objective p{font-size:10px;color:#726b54;max-width:300px;line-height:1.7}#toast{position:fixed;left:50%;top:98px;transform:translate(-50%);font-size:11px;line-height:1.7;text-align:center;background:#243a35;color:#e9e2c7;padding:12px 20px;max-width:460px;width:max-content;opacity:0;transition:opacity .3s;pointer-events:none}#toast.visible{opacity:1}.depth{position:fixed;right:36px;top:48%;display:flex;flex-direction:column;text-align:right;border-right:1px solid #c9d0a66b;padding-right:12px;color:#e4dfbf;gap:8px}.depth span{font-size:21px}.depth small{font-size:8px;letter-spacing:1.5px}.zoom{position:fixed;right:36px;bottom:145px;display:flex;align-items:center;gap:12px;color:#e2dec1;font-size:10px}.zoom button{width:27px;height:27px;background:#253a34aa;color:#e2dec1;font-size:19px;border:1px solid #b2b18a55}footer{position:fixed;bottom:20px;left:35px;right:35px;color:#ebe4c7;display:flex;flex-direction:column;align-items:center}.controls{display:flex;gap:20px;font-size:9px;margin-bottom:15px;color:#d9d8b6}.controls kbd{font:inherit;color:#f2e9cb;margin-right:3px}#hotbar{display:flex;background:#20332ff2;padding:5px;gap:4px;border:1px solid #a9b39155}#hotbar button{width:48px;height:48px;position:relative;background:#34483d;border:1px solid transparent;color:#e9e2c7;padding:10px}#hotbar button[aria-pressed=true]{border-color:#f4dfac;background:#50604a}#hotbar button canvas{width:24px;height:24px;image-rendering:pixelated;display:block;opacity:.9}#hotbar button.empty canvas{opacity:.23}#hotbar button .number{position:absolute;left:3px;top:2px;font-size:8px}#hotbar button .count{position:absolute;bottom:1px;right:3px;font-size:10px;background:#263a2ecc;padding:0 2px}.bottomline{display:flex;width:100%;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1px;margin-top:16px}.bottomline button{background:none;color:#e9e2c7;font-size:9px}#material-label{min-width:145px}#save-status{opacity:.5}#help{position:fixed;right:35px;bottom:155px;width:360px;max-width:calc(100% - 40px);padding:22px;background:#21352ef5;color:#e6e1c2;font-size:11px;line-height:1.8;border:1px solid #a7b38b66;z-index:4}#help strong{font-size:9px;letter-spacing:2px}#help button{background:#425547;padding:8px 12px;color:#e6e1c2}#paused{position:fixed;top:45%;left:50%;transform:translate(-50%,-50%);padding:25px;background:#21352eed;color:#e6e1c2;font-size:16px;text-align:center;min-width:280px}#paused span{display:block;font-size:10px;line-height:1.6;margin-top:12px}#touch-controls{display:none}body.dark header,body.dark .objective{color:#e4dfbf}body.dark .objective>span,body.dark .objective p{color:#a6b29b}body.dark #pause{border-color:#b6bb9166}body.dark .identity strong span{color:#c39b6c}@media(max-width:750px){header{left:18px;right:18px;top:18px;gap:12px}.identity strong{font-size:24px}.identity small{display:none}.readouts{gap:14px}.readouts>div{min-width:60px}.readouts strong{font-size:22px}.readouts span{font-size:7px}.objective{left:20px;top:104px}.objective h1{font-size:16px}.objective>span{font-size:8px}.objective p{font-size:9px;max-width:235px}.depth{right:18px}footer{left:12px;right:12px;bottom:14px}.controls{gap:10px;font-size:8px}.bottomline{font-size:7px}#save-status{display:none}#hotbar{gap:3px;padding:4px}#hotbar button{width:37px;height:43px;padding:10px 5px}#toast{max-width:calc(100% - 30px);top:83px;font-size:10px}.zoom{right:20px;bottom:144px}#help{right:20px;bottom:170px}}@media(pointer:coarse){#touch-controls{display:flex;position:fixed;bottom:160px;left:18px;right:18px;justify-content:space-between;pointer-events:none}#touch-controls button{pointer-events:auto;background:#253b32ca;color:#f1e5c3;border:1px solid #afbc9566;min-width:45px;height:45px;touch-action:none}.controls{visibility:hidden}.zoom{bottom:220px}#touch-mode{font-size:9px}.objective p{max-width:220px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.controls{background:#243a32e8;padding:7px 12px;margin-bottom:9px}.bottomline>span,.bottomline>button{background:#243a32d9;padding:4px 6px}#save-status{opacity:.75}:root{background:#07121c;color:#e6dcc5}header{top:20px;left:28px;right:28px;background:#081522eb;border:1px solid #53687a66;padding:12px 16px;gap:20px}.identity strong{color:#eee5d1;letter-spacing:1px;font-size:25px}.identity small{color:#a1adac;font-size:8px}#atlas-open{pointer-events:auto;background:transparent;border-left:1px solid #73838d55;color:#bfcacf;padding:8px 14px;font-size:10px;letter-spacing:1px}.readouts strong{font-size:22px}.readouts span{color:#a8b6bd}.objective{top:119px;left:45px;color:#eee5d1;max-width:340px;padding:12px 15px;background:#081522ca;border-left:2px solid #c3945c}.objective h1{font-size:16px;line-height:1.6;letter-spacing:-.3px;margin:8px 0}.objective>span,.objective p{color:#b8bbab!important}.objective p{font-size:9px}.depth{background:#081522c9;padding:10px 13px;color:#d6ded9}footer{bottom:18px}.controls,#hotbar,.bottomline>span,.bottomline>button{background:#081522ee}#hotbar{border-color:#53687a77}#hotbar button{background:#23313a}#hotbar button[aria-pressed=true]{background:#3f4037;border-color:#e6bd78}#hotbar button canvas{opacity:1}#hotbar button.empty canvas{opacity:.5}.zoom{background:#081522e9;padding:5px}.zoom button{background:transparent}.zoom span{min-width:28px;text-align:center}#toast{background:#0c1b28;border:1px solid #75857466;color:#e2d3b5}#help,#paused{background:#091724f5;border-color:#586e7c}#atlas{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;background:#07121c;color:#e8decc}#atlas-canvas{width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;touch-action:none}.atlas-heading{position:absolute;top:30px;left:40px;pointer-events:none}.atlas-heading small{font-size:10px;color:#cd9d65;letter-spacing:2px}.atlas-heading h2{font-family:Space Mono,monospace;font-weight:400;font-size:23px;line-height:1.3;margin:12px 0}.atlas-heading p{font-size:9px;color:#9badb8;line-height:1.8}#atlas-close{position:absolute;top:35px;right:35px;background:#142838;border:1px solid #526778;color:#dddac9;padding:12px 18px;font-size:10px}.atlas-actions{position:absolute;bottom:30px;left:0;right:0;display:flex;align-items:center;gap:12px;flex-direction:column}.atlas-actions>span{font-size:11px;letter-spacing:1px;color:#e9c082}.atlas-actions button{background:#d1ad79;color:#162230;padding:12px 22px;font-size:11px}.atlas-actions small{font-size:9px;color:#768d9f}@media(max-width:750px){header{left:10px;right:10px;top:10px;padding:9px;gap:8px}.identity strong{font-size:19px}.identity strong span{display:none}#atlas-open{font-size:8px;padding:5px 7px}.readouts{gap:8px}.readouts>div{min-width:47px}.readouts strong{font-size:18px}.readouts span{font-size:6px}#pause{width:25px;height:32px;font-size:16px}.objective{top:91px;left:15px;max-width:270px;padding:9px 11px}.objective h1{font-size:12px}.objective p{font-size:8px}.depth{font-size:12px;top:43%}.atlas-heading{left:20px;top:20px}.atlas-heading h2{font-size:17px}.atlas-heading p{font-size:8px;max-width:200px}#atlas-close{top:20px;right:15px;padding:9px;font-size:8px}.atlas-actions small{font-size:7px}.atlas-actions>span{font-size:9px}}.tools{position:fixed;top:96px;left:28px;right:28px;display:flex;align-items:center;gap:6px;color:#dadacb;font-size:9px;flex-wrap:wrap}.tools button{background:#0a1a26eb;border:1px solid #53687a80;padding:8px 10px;min-height:32px}.tools button[aria-pressed=true]{border-color:#e5c180;color:#e5c180}#needs{margin-left:auto;background:#091724e8;padding:10px;color:#b6cecc;font-size:9px}#needs.low{color:#f1a56f}.objective{top:150px;max-width:295px}#survey{position:fixed;bottom:165px;left:50%;transform:translate(-50%);background:#102938ed;border:1px solid #9fbaac;padding:12px 18px;color:#c9e0d9;font-size:10px;white-space:nowrap;pointer-events:none}#warning{position:fixed;top:139px;right:28px;max-width:350px;background:#47281eee;border:1px solid #e3a56a;padding:12px;color:#ffd3a4;font-size:10px;pointer-events:none}#warning.critical{animation:heat-alert 1.2s ease-in-out infinite}@keyframes heat-alert{50%{background:#893b29;box-shadow:0 0 25px #a82f2f66}}.game-panel{position:fixed;z-index:30;right:28px;top:145px;bottom:35px;width:min(510px,calc(100vw - 40px));padding:24px;background:#081522f8;border:1px solid #617986;color:#dedbcb;overflow:auto;box-shadow:0 10px 70px #0009}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;border-bottom:1px solid #41535d;padding-bottom:15px}.panel-heading h2{margin:0;font:18px Space Mono,monospace;line-height:1.5}.game-panel button{background:#1b303d;border:1px solid #57717a;color:#dbd8c4;padding:11px 13px;font-size:11px;margin:3px 4px 3px 0;line-height:1.5}.game-panel button:disabled{opacity:.4;cursor:not-allowed}.game-panel p{font-size:11px;line-height:1.9;color:#b3c3c6;overflow-wrap:anywhere}.game-panel h3{font-size:12px;line-height:1.6;margin-top:24px;color:#e1bd87;font-weight:400}.item-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:18px 0}.item-grid button{border-left:2px solid var(--item-color);text-align:left;min-height:52px;margin:0;font-size:10px}.item-grid .selected{background:#34403e;border-color:#d7b886}#collapse{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;background:#060c14dc;display:grid;place-items:center;color:#eae0c8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}#collapse>div{width:min(510px,calc(100vw - 36px));padding:32px;background:#101c26;border:1px solid #aa7052}#collapse small{font-size:9px;letter-spacing:2px;color:#d59b74}#collapse h2{font:22px Space Mono,monospace}#collapse p{font-size:12px;line-height:1.9;color:#b9c2c2}#collapse button{background:#d1ad79;color:#162230;padding:14px 18px;margin-top:12px;min-height:44px;font-size:12px}[hidden]{display:none!important}@media(max-width:750px){.tools{top:80px;left:12px;right:12px;gap:4px}.tools button{padding:6px;font-size:8px;min-height:30px}#needs{font-size:8px;padding:8px}.objective{top:155px;left:15px;max-width:230px}.game-panel{top:125px;bottom:16px;right:15px;padding:18px}#warning{top:130px;right:15px;font-size:8px;max-width:220px}#survey{bottom:150px;font-size:8px;padding:10px}.panel-heading h2{font-size:15px}}@media(prefers-reduced-motion:reduce){#warning.critical{animation:none}}
