:root{color-scheme:dark;--mint:#d0e9b1;--muted:#a5b1b1;--line:#becbd426;--panel:#161d2de8;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#151925;color:#eceedd;font:13px/1.5 system-ui,-apple-system,sans-serif}button{color:inherit;font:inherit;cursor:pointer;border:0;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible{outline:2px solid var(--mint);outline-offset:4px}#world{display:block;width:100%;height:100%;touch-action:none;outline:none}.vignette{position:fixed;inset:0;pointer-events:none;background:linear-gradient(#10162480,transparent 30%,transparent 70%,#11162570),radial-gradient(ellipse at center,transparent 50%,#090e2026);z-index:1}.hud-top{position:fixed;left:28px;right:28px;top:22px;display:flex;align-items:flex-start;gap:22px;justify-content:space-between;z-index:3}.brand{display:flex;align-items:center;gap:11px;font:34px var(--serif);color:var(--mint);text-decoration:none;text-shadow:0 2px 10px #0005}.brand>span{font:21px var(--serif);letter-spacing:3px;color:#ecedde}.brand small{display:block;font:7px system-ui;letter-spacing:3px;margin-top:6px;color:#bac5b0}.resources{display:flex;gap:1px;border:1px solid var(--line);border-radius:7px;overflow:hidden;box-shadow:0 5px 30px #0002;backdrop-filter:blur(15px)}.resources>div,.resources>button{padding:10px 20px;background:#172131b3;min-width:114px;text-align:left;border-right:1px solid var(--line)}.resources>button{border-right:0}.resources span{display:block;font-size:7px;letter-spacing:1.4px;color:#b4c1b4}.resources strong{display:block;font:27px/1.2 var(--serif);margin:3px 0}.resources small{font-size:8px;color:#bfd1ac}.resources .blood strong{color:#e2b3c0}.resources .blood small{color:#c4a5b0}.top-actions{display:flex;gap:8px}.top-actions button{border:1px solid var(--line);border-radius:50%;width:36px;height:36px;background:#1a2439aa;font-size:20px;backdrop-filter:blur(15px)}.location{position:fixed;top:141px;left:30px;pointer-events:none;z-index:2;text-shadow:0 2px 8px #0008}.eyebrow{font-size:8px;letter-spacing:2px;color:var(--mint);margin-bottom:8px}.location h1{font:30px/1.2 var(--serif);margin:0 0 9px}.location p{font-size:11px;color:#b9c0c0;margin:0}.explore-progress{margin-top:20px;width:190px;font-size:9px;color:#c1cbb9}.explore-progress>div,.heat>div{height:3px;border-radius:3px;background:#bbc9b62e;overflow:hidden;margin-top:8px}.explore-progress i,.heat i{display:block;background:var(--mint);height:100%;width:0;transition:width .3s}.quest-box{position:fixed;right:30px;top:142px;width:235px;padding:19px;border:1px solid var(--line);border-radius:6px;background:#151e32a6;backdrop-filter:blur(14px);z-index:2}.quest-box h2{font:21px var(--serif);margin:10px 0}.quest-box p{font-size:10px;color:#b0bfc0;line-height:1.8}.quest-box button{font-size:9px;background:none;color:var(--mint);padding:8px 0 0}.menu{position:fixed;left:30px;bottom:115px;z-index:3;display:flex;gap:8px}.menu button{display:flex;flex-direction:column;align-items:center;gap:6px;width:66px;background:#151e32b3;border:1px solid var(--line);border-radius:6px;padding:12px 8px;font-size:9px;backdrop-filter:blur(15px)}.menu button span{font:22px var(--serif);color:var(--mint)}.menu button:hover{background:#344538cc}.interaction{position:fixed;left:50%;transform:translateX(-50%);bottom:77px;z-index:3;display:flex;flex-direction:column;align-items:center;gap:9px;min-width:280px}.interaction>span{font-size:10px;color:#d6dfc9;text-shadow:0 2px 5px #000}.interaction button{background:#d0e2b3;box-shadow:0 8px 50px #0005;color:#243021;border:1px solid #e4efce;border-radius:6px;padding:14px 18px;font-size:12px;display:flex;align-items:center;gap:15px;min-height:51px}.interaction button:disabled{background:#172031b3;border-color:var(--line);color:#c8d5c1}.interaction b{font:19px var(--serif)}kbd{display:inline-block;border:1px solid #c0cbaa70;border-bottom-width:2px;border-radius:3px;padding:2px 5px;font:9px system-ui;min-width:18px;text-align:center}.desktop-controls{position:fixed;bottom:37px;left:30px;display:flex;gap:20px;font-size:9px;color:#b4c0b4;z-index:2}.desktop-controls kbd{margin-right:3px;font-size:8px}.heat{position:fixed;bottom:134px;right:30px;width:175px;z-index:2;font-size:8px;letter-spacing:1.5px;text-shadow:0 2px 5px #000}.heat b{float:right;color:#d4c2a7}.heat i{background:#dbc18e}.saved{position:fixed;bottom:15px;left:30px;right:30px;display:flex;justify-content:space-between;font-size:7px;letter-spacing:1px;color:#b9c3b6a0;z-index:2;pointer-events:none}#joystick{display:none}#jump{position:fixed;right:30px;bottom:37px;width:69px;height:69px;background:#182237b3;border:1px solid #c5d7b859;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:3;backdrop-filter:blur(14px)}#jump span{font-size:27px;line-height:1.2;color:var(--mint)}#jump small{font-size:7px;letter-spacing:1px}#reset-camera{position:fixed;right:112px;bottom:47px;width:40px;height:40px;border:1px solid var(--line);background:#172031b3;border-radius:50%;font-size:22px;z-index:3}.world-label{position:fixed;left:50%;top:43%;transform:translateX(-50%);border:1px solid #d5dfae40;border-radius:20px;background:#152117c0;backdrop-filter:blur(8px);padding:7px 15px;color:var(--mint);font-size:10px;pointer-events:none;z-index:2;display:none}.world-label.visible{display:block}#toasts{position:fixed;left:50%;transform:translateX(-50%);top:114px;display:flex;flex-direction:column;gap:7px;align-items:center;z-index:8;pointer-events:none;max-width:90%}.toast{background:#202d25e6;color:#deedc8;border:1px solid #788c5366;padding:11px 18px;border-radius:5px;font-size:11px;box-shadow:0 8px 30px #0003;text-align:center;animation:arrive .2s ease}.toast.error{background:#3b232be6;color:#e5c0bd;border-color:#a86b6666}dialog{background:var(--panel);border:1px solid #8596775c;border-radius:9px;box-shadow:0 20px 120px #000a;color:#eceedd;width:min(650px,calc(100% - 30px));max-height:85dvh;padding:25px;backdrop-filter:blur(20px)}dialog::backdrop{background:#0b1224b8;backdrop-filter:blur(6px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.modal-header .eyebrow{margin:0}.modal-header button{background:none;color:#c7d6b4;font-size:28px;width:30px}dialog h2{font:29px var(--serif);margin:9px 0 15px}dialog h3{font:20px var(--serif);margin:0 0 5px}dialog p{font-size:12px;color:#b1bec0;line-height:1.8;margin:8px 0}dialog ul{font-size:12px;color:#b8c6bb;line-height:1.9;padding-left:18px}.card{padding:16px;margin:12px 0;background:#aabca507;border:1px solid #a9bba822;border-radius:6px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.card p{font-size:11px;margin:8px 0}.card small{font-size:9px;color:#c7d5b6}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:11px 15px;min-height:42px;border-radius:4px;border:1px solid #758963;font-size:11px}.primary{background:#c6ddab;color:#24301e}.secondary{background:#344435;color:#d4e3bf}.full{width:100%}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.actions button{flex:1}.danger{background:#452e35;border-color:#916363;color:#e4bbb4}.tag{font-size:9px;color:#b9cda6;border:1px solid #84977750;border-radius:3px;padding:4px 6px;white-space:nowrap}.rare{color:#c7b0ea}.legendary{color:#ebcf8d}.modal-meters{display:flex;gap:12px;margin:18px 0}.modal-meters>div{flex:1;border:1px solid var(--line);padding:12px;font-size:10px;color:#b9c8b1}.modal-meters strong{display:block;font:27px var(--serif);color:var(--mint)}.fineprint{font-size:9px!important;color:#95a39c!important}.row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0}.row>span{font-size:11px;color:#b4c4b0}.result{text-align:center}.result .result-sigil{font:75px var(--serif);color:var(--mint);text-shadow:0 0 30px #e4fcae40}.result h2{margin:12px 0}.result .rare-sigil{color:#c7b0ea}.result .legendary-sigil{color:#ebcf8d}.loading-sigil{font:90px var(--serif);color:var(--mint);animation:breathe 2s infinite}#loading{position:fixed;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#151925;z-index:20;text-align:center;padding:30px}#loading h2{font:28px var(--serif);letter-spacing:5px;margin:10px 0}#loading p{font-size:12px;line-height:1.8;color:#b5c2b1;max-width:500px}.onboarding{border:1px solid #8fa47066;background:#b5d29412;padding:14px;border-radius:5px;color:#dae6c9;font-size:12px;margin:15px 0}@keyframes breathe{50%{opacity:.4;transform:scale(.95)}}@keyframes arrive{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px){.hud-top{left:20px;right:20px;gap:12px}.resources>div,.resources>button{padding:9px 13px;min-width:91px}.resources>button span{font-size:6px}.brand>span{font-size:17px;letter-spacing:2px}.quest-box{width:205px;right:20px;top:133px}.location{left:20px;top:132px}.location h1{font-size:25px}.location p{font-size:10px}.menu{left:20px;bottom:110px;gap:5px}.menu button{width:56px;font-size:8px}.desktop-controls{left:20px;font-size:8px;gap:10px}.heat{right:20px;width:145px}.interaction{min-width:240px}.interaction button{font-size:11px;padding:12px 15px}}
@media(max-width:700px), (pointer:coarse){.hud-top{top:calc(12px + env(safe-area-inset-top));left:12px;right:12px;flex-wrap:wrap;gap:11px}.brand{font-size:27px;gap:7px}.brand>span{font-size:16px;letter-spacing:2px}.brand small{font-size:6px;letter-spacing:2px;margin-top:4px}.top-actions{margin-left:auto;gap:7px}.top-actions button{width:31px;height:31px;font-size:17px}.resources{order:3;width:100%;display:grid;grid-template-columns:repeat(4,1fr)}.resources>div,.resources>button{min-width:0;padding:7px 10px}.resources span{font-size:6px;letter-spacing:1px}.resources strong{font-size:23px;margin:2px 0}.resources small{font-size:6px}.resources>button span{font-size:5px}.location{top:calc(139px + env(safe-area-inset-top));left:14px}.location .eyebrow{font-size:6px;letter-spacing:1.5px;margin-bottom:5px}.location h1{font-size:22px;margin-bottom:6px}.location p{display:none}.explore-progress{width:150px;margin-top:9px;font-size:8px}.explore-progress>div{margin-top:5px}.quest-box{display:none}.menu{left:14px;bottom:calc(199px + env(safe-area-inset-bottom));gap:5px}.menu button{width:46px;font-size:7px;padding:8px 5px;gap:3px}.menu button span{font-size:17px}.heat{bottom:calc(202px + env(safe-area-inset-bottom));right:14px;width:98px;font-size:6px;letter-spacing:.7px}.heat>div{margin-top:5px}.interaction{bottom:calc(140px + env(safe-area-inset-bottom));min-width:0;width:auto;max-width:calc(100% - 28px);gap:5px}.interaction>span{font-size:8px;white-space:nowrap}.interaction button{padding:10px 12px;min-height:44px;font-size:10px;gap:9px;white-space:nowrap}.interaction kbd{display:none}.interaction b{font-size:16px}.desktop-controls{display:none}#joystick{position:fixed;display:block;bottom:calc(27px + env(safe-area-inset-bottom));left:24px;width:98px;height:98px;border:1px solid #c2d5b447;border-radius:50%;background:#151e2b6e;backdrop-filter:blur(8px);z-index:4;touch-action:none;box-shadow:inset 0 0 0 13px #d3e7c007}#joystick-knob{position:absolute;left:28px;top:28px;width:40px;height:40px;border:1px solid #c9dabb7a;border-radius:50%;background:#98ad813b;box-shadow:0 3px 16px #0002;pointer-events:none}#jump{right:22px;bottom:calc(38px + env(safe-area-inset-bottom));width:72px;height:72px}#jump span{font-size:31px}#jump small{font-size:8px}#reset-camera{right:105px;bottom:calc(51px + env(safe-area-inset-bottom));width:34px;height:34px;font-size:19px}.saved{bottom:calc(6px + env(safe-area-inset-bottom));left:14px;right:14px;font-size:6px}.world-label{font-size:9px;top:41%}#toasts{top:calc(217px + env(safe-area-inset-top));width:90%}.toast{font-size:10px;padding:9px 13px}dialog{padding:21px;max-height:85dvh}dialog h2{font-size:26px}.card{padding:13px}.card-head{align-items:flex-start}.card h3{font-size:18px}.card p{font-size:11px}.primary,.secondary{font-size:10px;padding:10px 12px}.card-head .tag{font-size:8px}#loading h2{font-size:25px}}
@media(max-height:520px) and (orientation:landscape){.hud-top{top:10px;left:14px;right:14px;flex-wrap:nowrap;gap:10px}.brand small{display:none}.brand>span{font-size:14px}.resources{order:0;width:auto;display:flex}.resources>div,.resources>button{padding:5px 9px;min-width:72px}.resources strong{font-size:20px}.resources small{display:none}.resources span{font-size:5px}.location{top:80px;left:14px}.location h1{font-size:18px}.location .eyebrow{display:none}.explore-progress{margin-top:6px}.quest-box{display:none}.menu{bottom:115px;left:14px}.menu button{width:42px;font-size:6px;padding:5px}.menu button span{font-size:14px}.interaction{bottom:28px}.interaction>span{font-size:8px}.interaction button{min-height:42px;padding:8px 12px}.heat{bottom:132px;right:14px;width:110px;font-size:6px}#jump{bottom:25px;right:22px;width:64px;height:64px}#joystick{left:20px;bottom:15px;width:85px;height:85px}#joystick-knob{top:21px;left:21px}#reset-camera{right:98px;bottom:40px}.desktop-controls{display:none}.saved{bottom:3px}#toasts{top:95px}dialog{max-height:95dvh}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
