.guided-next{outline:2px solid #f4ce79!important;outline-offset:1px;background:#50674b!important;color:#fff0c9!important;box-shadow:0 0 12px #ecc77466!important;animation:guide-glow 1.8s ease-in-out infinite}@keyframes guide-glow{50%{box-shadow:0 0 20px #ecc774aa}}.dialogue-choice:disabled{opacity:.35;cursor:default}@media(prefers-reduced-motion:reduce){.guided-next{animation:none}}:root{font-family:Georgia,Times New Roman,serif;color:#f3e9cd;background:#071214;font-synthesis:none;--gold:#dfbd78;--teal:#8ce1d2;--muted:#a2aca6;--line:#d7c18d30}*{box-sizing:border-box}body{margin:0;overflow:hidden;cursor:none}button{font:inherit;color:inherit;cursor:none}button:focus-visible{outline:2px solid var(--teal);outline-offset:5px}button{border:0}button:disabled{opacity:.4}#world{position:fixed;inset:0;width:100%;height:100%;outline:none}#vignette{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,transparent 38%,#030e146b 100%)}[hidden]{display:none!important}.eyebrow{font:10px/1.5 Segoe UI,sans-serif;letter-spacing:2.8px;color:var(--gold)}#hud{position:fixed;top:32px;left:38px;right:38px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:5}.brand{display:flex;align-items:center;gap:13px;font-size:23px;letter-spacing:5px;text-shadow:0 2px 12px #000}.brand-mark{color:var(--gold);font-size:45px;line-height:1}.brand span:not(.brand-mark){display:block;font:8px/2 Segoe UI,sans-serif;letter-spacing:3.4px;color:var(--gold)}.chapter{font:9px Segoe UI,sans-serif;letter-spacing:2px;color:#c6d3cd}.chapter i{display:inline-block;width:5px;height:5px;background:var(--gold);transform:rotate(45deg);margin-right:10px}.chapter span{display:block;font:italic 15px Georgia;letter-spacing:.5px;text-align:center;margin-top:8px;color:#e3e1cd}.toolbar{display:flex;gap:8px;pointer-events:auto}.icon-button{width:36px;height:36px;background:#0c202287;border:1px solid var(--line);font-size:19px;color:#d8ddc9;transition:.2s}.icon-button:hover{background:#365047}.icon-button.off{color:#7e8b86}#quest{position:fixed;top:133px;left:42px;width:228px;pointer-events:none;z-index:4;text-shadow:0 2px 10px #000;background:linear-gradient(90deg,#0717198c,transparent);padding:14px 18px 18px 0;border-top:1px solid var(--line)}#quest h2{font-size:23px;font-weight:400;margin:10px 0}#quest p{font:12px/1.7 Segoe UI,sans-serif;color:#bac5ba;margin:0}#quest-progress{display:flex;gap:7px;margin-top:13px}#quest-progress i{width:21px;height:3px;background:#b1cfbc25}#quest-progress i.done{background:var(--gold);box-shadow:0 0 10px #e2c87755}#controls{position:fixed;bottom:24px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:26px;white-space:nowrap;font:11px Segoe UI,sans-serif;color:#aebfb7;z-index:5}#controls>span{display:flex;align-items:center;gap:5px}kbd{font:10px Segoe UI,sans-serif;display:inline-grid;place-items:center;min-width:20px;height:22px;padding:0 4px;background:#0e2023b3;border:1px solid #78928d36;border-bottom:2px solid #78928d50;border-radius:3px;color:#d4dfd7}#controls b{font-size:10px;font-weight:500;border:1px solid #78928d36;padding:5px;border-radius:8px}#bag-button{display:flex;align-items:center;gap:12px;background:#102728de;border:1px solid #bca57950;padding:12px 18px;border-radius:4px;font:12px Segoe UI,sans-serif}#bag-button:hover{background:#284239}#bag-count{color:var(--gold);font-size:10px}.bag-icon{font-size:23px;color:var(--gold)}#hover-label{position:fixed;pointer-events:none;padding:9px 13px;white-space:nowrap;background:#0b2125ed;border:1px solid #82d5c166;border-radius:3px;font:12px Segoe UI,sans-serif;z-index:7;box-shadow:0 4px 20px #0006;color:#f2eedb}#toast{position:fixed;top:113px;left:50%;transform:translate(-50%,-12px);background:#102729e8;border:1px solid #bba57466;padding:13px 24px;border-radius:3px;font:13px Segoe UI,sans-serif;z-index:30;opacity:0;transition:opacity .35s,transform .35s;max-width:540px;text-align:center;pointer-events:none}#toast.show{opacity:1;transform:translate(-50%)}#subtitle{position:fixed;bottom:110px;left:50%;transform:translate(-50%);font:italic 18px/1.6 Georgia;text-align:center;text-shadow:0 2px 6px #000;background:linear-gradient(90deg,transparent,#07181bcc,transparent);padding:12px 40px;pointer-events:none;max-width:650px;width:max-content;opacity:0;transition:opacity .4s}#subtitle.show{opacity:1}.screen{position:fixed;inset:0;z-index:10}.intro{position:absolute;top:28%;left:8%;max-width:550px}.tiny-line{display:inline-block;width:30px;height:1px;vertical-align:middle;background:var(--gold);margin-right:12px}#start{background:linear-gradient(90deg,#061316ed 0%,#061316a3 32%,transparent 67%)}h1{font-weight:400;font-size:clamp(70px,7.4vw,118px);line-height:1;margin:26px 0 28px;letter-spacing:-4px;text-shadow:0 4px 40px #0005}h1 span{display:block;font-size:.43em;letter-spacing:-.5px;color:var(--gold);margin-top:15px}.intro>p{font:16px/1.9 Segoe UI,sans-serif;color:#bbc9c2;margin:0 0 31px}.primary{display:flex;align-items:center;justify-content:space-between;gap:40px;min-width:260px;background:linear-gradient(110deg,#e5c886,#c5a665);color:#192729;padding:17px 24px;font:600 13px Segoe UI,sans-serif;border:1px solid #f1d89c;border-radius:2px;box-shadow:0 6px 25px #0003;transition:filter .2s,transform .2s}.primary:hover{filter:brightness(1.12);transform:translateY(-2px)}.primary span{font-size:20px;font-weight:400}.intro-note{font:10px/1.6 Segoe UI,sans-serif;color:#8b9c97;margin-top:19px}.intro-bottom{position:absolute;bottom:36px;left:42px;right:42px;display:flex;justify-content:space-between;font:8px Segoe UI,sans-serif;letter-spacing:2px;color:#81968e}.intro-bottom i{font-size:10px;font-style:normal;margin-left:14px;color:var(--gold)}.modal-shade{position:fixed;inset:0;display:grid;place-items:center;background:#041115a6;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);z-index:20}.panel{position:relative;background:linear-gradient(145deg,#203333f5,#0e2025fc);border:1px solid #c5aa6c6b;box-shadow:0 30px 120px #0009,inset 0 0 0 5px #0c1c2080;padding:33px;border-radius:5px}.panel:before,.panel:after{content:"";position:absolute;pointer-events:none;width:15px;height:15px;border-color:var(--gold);opacity:.65}.panel:before{top:7px;left:7px;border-top:2px solid;border-left:2px solid}.panel:after{bottom:7px;right:7px;border-bottom:2px solid;border-right:2px solid}.panel h2{font-size:34px;font-weight:400;margin:10px 0 19px}.panel h2 small{font:10px Segoe UI,sans-serif;color:var(--muted);margin-left:24px}.panel p{font:13px/1.8 Segoe UI,sans-serif;color:#b9c8bf}.inventory-panel{width:390px}#slots{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:24px 0 16px}.slot{height:88px;position:relative;border:1px solid #afbb9a29;background:linear-gradient(135deg,#253b36,#152b2c);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border-radius:3px}.slot.occupied{border-color:#b5985866}.slot:hover{border-color:#a2ddc2;background:#314b42}.slot .number{position:absolute;top:6px;left:8px;color:#70837b;font:9px Segoe UI,sans-serif}.item-icon{font-size:36px;color:var(--gold);text-shadow:0 0 22px #e4b76860}.slot small{font:9px Segoe UI,sans-serif;color:#d6d6bf}.slot .count{position:absolute;right:8px;bottom:7px;font:12px Segoe UI,sans-serif;color:var(--gold)}#item-description{min-height:44px;font:11px/1.7 Segoe UI,sans-serif;color:#b1c1b5}.panel-foot{border-top:1px solid var(--line);padding-top:16px;font:10px Segoe UI,sans-serif;color:#829b93}.panel-foot span{float:right;color:var(--gold)}.puzzle-panel{width:428px}.puzzle-panel h2{margin-bottom:10px}.puzzle-panel p{margin-top:0}.close{position:absolute;right:17px;top:13px;font:25px Segoe UI,sans-serif;background:none;color:#9cae9f}.close:hover{color:#fff}#puzzle-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:22px 0 14px;padding:8px;border:1px solid #668d803f;background:#06191c;box-shadow:inset 0 0 25px #0008}.puzzle-tile{height:72px;background:linear-gradient(145deg,#6b7460,#384d43);border:1px solid #beac7560;border-bottom:4px solid #233d35;border-radius:2px;position:relative;display:grid;place-items:center;color:#efd69d;font-size:25px;text-shadow:0 2px 2px #142e26;transition:background .18s,transform .15s}.puzzle-tile:before{content:attr(data-rune);position:absolute;font:43px Georgia;color:#bec19620}.puzzle-tile span{z-index:1}.puzzle-tile.movable{border-color:#91d4b282;background:linear-gradient(145deg,#78806a,#486455)}.puzzle-tile.movable:hover{background:#739681;transform:scale(.96)}.puzzle-tile.empty{background:#071416;border:1px solid #203c36;box-shadow:inset 0 2px 8px #0009}.puzzle-tile.suggested{box-shadow:0 0 18px #c6ffcb88;border-color:#d8ffd2;animation:pulse 1s infinite}.puzzle-bottom{display:flex;align-items:center;justify-content:space-between;font:11px Segoe UI,sans-serif;color:#8fa89e;margin-bottom:20px}.text-button{font:11px Segoe UI,sans-serif;color:var(--gold);background:none;padding:9px 0}.text-button:hover{color:#fff4ce}.dialogue-panel{position:absolute;bottom:13%;max-width:710px;width:85%;display:grid;grid-template-columns:90px 1fr;gap:24px}.spirit-icon{font-size:80px;color:#94f7de;text-shadow:0 0 35px #54eed3}.dialogue-panel h2{font-size:24px}.dialogue-panel p{font:17px/1.7 Georgia;color:#dfebd8;min-height:70px}.dialogue-panel .primary{padding:10px 18px;min-width:180px;font-size:12px;float:right}.pause-panel{width:390px}.pause-panel .text-button{display:block;margin:16px auto 0}.pause-panel .save-note{font-size:10px;color:#7a9489;text-align:center;margin-bottom:0}#ending{background:radial-gradient(ellipse at 50% 30%,#234d43d9,#06161bf5 75%);display:grid;place-items:center;z-index:40;text-align:center}.ending-content h1{font-size:76px;margin:10px 0 22px}.ending-content h1 span{font-size:48px}.ending-content>p{font:15px/1.9 Segoe UI,sans-serif;color:#b7cfc3}.end-cube{font-size:80px;color:#a2fce5;line-height:1.3;text-shadow:0 0 40px #8affd8;animation:float 4s ease-in-out infinite}.ending-content .primary{margin:22px auto}.dedication{font:italic 12px Georgia;color:#94ac9f;margin-top:30px}#end-stats{font:10px Segoe UI,sans-serif;letter-spacing:2px;color:var(--gold);margin-top:25px}#cursor{position:fixed;left:0;top:0;width:30px;height:34px;pointer-events:none;z-index:100;background:center/contain no-repeat url(/cursor.png);filter:drop-shadow(1px 2px 2px #000);transform:translate(-100px,-100px);transform-origin:top left}#cursor.active{filter:drop-shadow(0 0 5px #ffc46b) brightness(1.3)}#fatal{position:fixed;inset:30%;padding:40px;background:#152c2e;z-index:200;line-height:1.8}body.playing #start{display:none}body:not(.playing) #quest,body:not(.playing) #controls{display:none}body:not(.playing) .chapter{opacity:0}@keyframes float{50%{transform:translateY(-8px)}}@keyframes pulse{50%{filter:brightness(1.5)}}@media(max-width:900px){#hud{top:20px;left:22px;right:22px}#quest{left:24px;top:105px;width:185px}#quest h2{font-size:20px}#quest p{font-size:11px}#controls{gap:12px;bottom:15px}#controls>span:last-child{display:none}.intro{left:7%}.intro .eyebrow{font-size:8px;letter-spacing:1.5px}.intro-note{max-width:240px}.chapter{display:none}}@media(max-height:720px){.intro{top:24%}h1{font-size:75px;margin:20px 0}.intro>p{font-size:14px;margin-bottom:20px}.puzzle-panel{padding:23px;width:380px}.puzzle-tile{height:59px}.panel h2{font-size:29px}.puzzle-panel p{font-size:12px}#puzzle-grid{margin-top:12px}.ending-content h1{font-size:56px}.end-cube{font-size:60px}.dedication{margin-top:18px}.inventory-panel{padding:25px}.slot{height:76px}}.secondary{display:flex;align-items:center;justify-content:space-between;width:260px;margin-top:12px;padding:13px 23px;border:1px solid #bea46a88;background:#12272acc;border-radius:2px;color:#e8d3a5;font:13px Segoe UI,sans-serif}.secondary:hover{background:#29423e;border-color:#e5c886}.secondary span{font-size:20px}.tile-progress{padding:10px 12px;border:1px solid #bda77644;border-radius:3px;color:var(--gold);background:#152b2c;font:12px/1.5 Segoe UI,sans-serif}body:has(#start-new:not([hidden])) .intro-note{margin-top:12px}@media(max-height:720px){body:has(#start-new:not([hidden])) .intro{top:19%}.tile-progress{padding:6px 10px;font-size:11px}}.slot{padding:0 5px}.slot.selected{border-color:#b0ffe4;box-shadow:inset 0 0 16px #82ddbf44}.slot small{text-align:center}.slot .count{font-size:15px}#carried-item{position:fixed;top:0;left:0;z-index:101;pointer-events:none;background:#142f30ed;border:1px solid #a0e6ce;padding:8px 12px;border-radius:4px;color:#dbffe7;font:12px Segoe UI,sans-serif;box-shadow:0 3px 20px #0009}#craft-panel{border-top:1px solid var(--line);padding:10px 0}#craft-panel p{font-size:11px;margin:6px 0}#magic-hud{position:fixed;left:42px;bottom:110px;z-index:6;background:#10272bd9;border:1px solid #83e5ce44;padding:14px 16px;pointer-events:none}#magic-hud strong{display:block;font:17px Georgia;margin:7px 0;color:#b2ffe1}#magic-hud small{display:block;font:10px Segoe UI,sans-serif;color:#acc8ba}.mana-track{height:3px;background:#2c4c4a;margin-top:10px}.mana-track i{display:block;height:3px;background:#8ff9d6;transform-origin:left}#bag-panel:has(#craft-panel:not([hidden])) #slots{margin:12px 0}#bag-panel:has(#craft-panel:not([hidden])) .slot{height:71px}@media(max-height:720px){#bag-panel:has(#craft-panel:not([hidden])){padding:22px}#bag-panel:has(#craft-panel:not([hidden])) .slot{height:60px}#bag-panel:has(#craft-panel:not([hidden])) h2{margin-bottom:10px}#magic-hud{left:24px;bottom:85px;padding:10px}.slot .item-icon{font-size:30px}}#start-cloud{display:block;margin-top:9px}body:has(#start-new:not([hidden])) .intro{top:22%}.cloud-panel{width:560px;max-height:calc(100vh - 36px);overflow-y:auto;padding:28px}.cloud-panel h2{font-size:30px;margin:9px 0}.cloud-panel h3{font-size:20px;font-weight:400}.cloud-panel label{display:block;font:12px Segoe UI,sans-serif;color:#c6dbd0;margin:13px 0}.cloud-panel input{display:block;width:100%;margin-top:7px;border:1px solid #70968c77;background:#071d23;color:#edf7e6;padding:11px;border-radius:3px;font:14px Segoe UI,sans-serif;cursor:text;outline-color:#9aead0}.cloud-panel .primary{width:100%;margin-top:12px}.auth-switches{display:flex;justify-content:space-between}.cloud-panel .cloud-note{font-size:11px;line-height:1.6;color:#9ab7aa}.cloud-panel #cloud-email{font-size:12px;color:#b9e0cb;overflow-wrap:anywhere}.save-row{display:flex;align-items:center;gap:8px;padding:13px 0;border-top:1px solid var(--line);font:11px Segoe UI,sans-serif}.save-row>div{flex:1;min-width:0}.save-row strong{display:block;font-size:12px;font-weight:500}.save-row small{display:block;color:#91aaa0;margin-top:5px}.save-row button{background:#355649;border:1px solid #94c2a366;padding:9px;border-radius:3px;font:10px Segoe UI,sans-serif}.save-row button:hover{background:#507863}.cloud-panel #cloud-error{font:12px/1.6 Segoe UI,sans-serif;color:#f0ca93;min-height:19px}.cloud-panel code{display:block;overflow-wrap:anywhere;background:#0a1e23;padding:18px;margin:18px 0;color:#b8f4d1;-webkit-user-select:all;user-select:all}.cloud-panel #cloud-logout{float:right}@media(max-height:720px){body:has(#start-new:not([hidden])) .intro{top:15%}.cloud-panel{padding:22px}.cloud-panel h3{margin:10px 0}.cloud-panel label{margin:9px 0}.save-row{padding:11px 0}}#audio-settings{position:fixed;right:38px;top:80px;z-index:12;border:1px solid #b9ca9b44;background:#0c2228cc;color:#c8dccb;padding:7px 10px;border-radius:3px;font:10px Segoe UI,sans-serif}.audio-panel{width:410px}.audio-panel label{display:block;font:14px Segoe UI,sans-serif;margin:25px 0;color:#cee6d8}.audio-panel output{float:right;color:var(--gold)}.audio-panel input{display:block;width:100%;margin:16px 0;accent-color:#a1d8b3;cursor:none}.audio-panel p{font-size:11px;color:#9cb8aa}@media(max-width:900px){#audio-settings{right:22px;top:66px}}.inventory-panel{width:390px;max-width:calc(100vw - 28px);max-height:calc(100vh - 24px);overflow-y:auto;padding:25px}.inventory-panel.expanded{width:810px}.inventory-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}.expanded .inventory-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.inventory-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:22px;padding-bottom:12px}.inventory-tabs button{background:none;font:12px Segoe UI,sans-serif;color:#829d94;padding:5px 0}.inventory-tabs .selected{color:var(--gold);box-shadow:0 2px var(--gold)}#bag-panel h2{font-size:29px;margin:6px 0 15px}#bag-panel #slots{margin:15px 0 12px}#bag-panel .slot,#bag-panel.expanded #slots .slot{height:76px}.slot small{font-size:10px}.slot.selected .item-icon{opacity:.4}#bag-pages{display:flex;justify-content:center;align-items:center;gap:24px;margin:10px 0;font:12px Segoe UI,sans-serif;color:#d5c496}#bag-pages button{background:#274442;border:1px solid #77998755;width:35px;height:28px}#item-description{margin:14px 0;min-height:48px}#craft-panel{border-top:0;border-left:1px solid #aa83e15c;padding:0 0 0 24px}#craft-panel .eyebrow{color:#c9a7f5}.workbench-title{display:flex;align-items:center;justify-content:space-between;gap:20px}#cube-socket{margin:8px 12px 0 0;width:49px;height:49px;transform:rotate(45deg);border:2px solid #b7f1e2;background:radial-gradient(#85cfbf,#153b45);box-shadow:0 0 26px #78f4d454,inset 0 0 15px #a2ffe5;color:#f2fff5;flex-shrink:0}#cube-socket span{display:block;transform:rotate(-45deg);font-size:36px}.ringing{animation:pulse 1s infinite}#craft-panel .cube-caption{font-size:10px;color:#b0dacf;margin:5px 0 14px}#bench-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:linear-gradient(135deg,#241d37,#13343b);border:1px solid #af84d77a;padding:9px;box-shadow:inset 0 0 28px #0008}#bench-grid .slot{background:linear-gradient(140deg,#3c3152,#20313d);border:1px solid #aa84d84d}.rune-corner{position:absolute;right:5px;top:3px;color:#c49af046;font-size:16px}#bench-preview{font:12px/1.5 Segoe UI,sans-serif;color:#e0c79c;min-height:45px;padding:12px 0}#bench-create{min-width:0;width:100%;justify-content:center;padding:12px}#cube-conversation{padding-top:14px}#cube-conversation #cube-text{font:15px/1.75 Georgia;color:#daeee3}.dialogue-choice{display:block;width:100%;text-align:left;font:13px/1.5 Segoe UI,sans-serif;padding:10px 14px;border:1px solid #88baa55c;background:#1c393bc9;color:#e3eddc;border-radius:3px;margin:8px 0}.dialogue-choice:hover{background:#36584b;border-color:#a8e0c7}.dialogue-panel{bottom:auto;position:relative;max-height:90vh;overflow:auto}.dialogue-panel p{font-size:16px;min-height:0}#dialogue-close{margin-top:12px}#dialogue-next{float:none;margin-top:14px}#cube-notification{position:fixed;right:30px;bottom:94px;z-index:13;padding:14px 18px;background:#244340;border:1px solid #9af2dd;color:#dcfff2;font:13px Segoe UI,sans-serif;box-shadow:0 0 30px #76efd744;animation:pulse 1.5s infinite}#cube-notification span{display:block;font-size:11px;margin-top:5px;color:#d9c28b}body:not(.playing) #cube-notification{display:none}#character-button{background:#142c30d9;border:1px solid #86a59555;padding:11px 14px;font:11px Segoe UI,sans-serif;color:#d7d3b7;border-radius:3px}#controls{gap:16px}#equipment-panel{border-left:1px solid var(--line);padding-left:23px}#equipment-panel>p{font-size:10px;line-height:1.5}.paper-doll{height:310px;position:relative;background:radial-gradient(ellipse,#34504a66,transparent 65%)}.voxel-avatar{position:absolute;width:98px;height:235px;left:50%;top:34px;transform:translate(-50%);filter:drop-shadow(0 8px 12px #0008)}.voxel-avatar i{display:block;position:absolute;box-shadow:inset -8px 0 #0003,inset 0 6px #fff1}.avatar-head{width:44px;height:46px;background:linear-gradient(#644331 0 24%,#c9946e 24%);left:27px;top:0}.avatar-head:after{content:"▪ ▪";position:absolute;top:17px;left:10px;font-size:14px;color:#2e3437}.avatar-body{width:48px;height:78px;top:50px;left:25px;background:#a83c3f}.avatar-arm{width:21px;height:87px;top:52px;background:linear-gradient(#a83c3f 70%,#bf9479 70%)}.avatar-arm.left{left:0}.avatar-arm.right{right:0}.avatar-leg{width:23px;height:87px;top:132px;background:linear-gradient(#303e4c 77%,#d5d8cb 77%)}.avatar-leg.left{left:25px}.avatar-leg.right{right:25px}.equipment-slot{position:absolute;width:83px;height:57px;background:#152d30df;border:1px solid #718d7e77;border-radius:4px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px}.equipment-slot>span{font-size:23px;color:#a5b7a5}.equipment-slot small{font:9px Segoe UI,sans-serif;color:#a4b9ab}.equipment-slot.equipped{border-color:#dfbd78;background:#3c4836}.equipment-slot.equipped span{color:#dfbd78}.eq-head{top:0;left:0}.eq-neck{top:0;right:0}.eq-chest{top:70px;left:0}.eq-shield{top:70px;right:0}.eq-weapon{top:140px;left:0}.eq-ringRight{top:140px;right:0}.eq-ringLeft{top:210px;left:0}.eq-feet{top:210px;right:0}#character-stats{display:flex;flex-direction:column;gap:5px;font:11px Segoe UI,sans-serif;color:#a8c4b7;border-top:1px solid var(--line);padding-top:12px}#character-stats strong{font-size:14px;margin-bottom:3px}#magic-hud strong{color:var(--magic-color,#71dcff)}.mana-track i{background:var(--magic-color,#71dcff)}@media(max-height:760px){.inventory-panel{padding:20px}.inventory-tabs{margin-bottom:14px}.paper-doll{height:275px}.inventory-panel.expanded{width:780px}#bag-panel #slots .slot,#bag-panel #bench-grid .slot{height:67px}#bag-panel .panel-foot{padding-top:10px}.inventory-layout{gap:20px}#craft-panel,#equipment-panel{padding-left:19px}.inventory-panel #item-description{font-size:10px}.dialogue-panel{padding:24px}}@media(max-width:700px){.expanded .inventory-layout{grid-template-columns:1fr 1fr;gap:14px}.inventory-panel{padding:16px}#craft-panel,#equipment-panel{padding-left:12px}#bag-panel .slot small{font-size:8px}#bag-panel .slot{height:60px}.equipment-slot{width:62px}.voxel-avatar{transform:translate(-50%) scale(.8)}#controls>span{display:none}#cube-notification{right:15px;bottom:80px}}.voxel-avatar.has-feet .avatar-leg{background:linear-gradient(#303e4c 70%,#806b46 70%)}.voxel-avatar.has-head .avatar-head{border-top:12px solid #c1a66a}.voxel-avatar.has-chest .avatar-body{background:#89724c}.voxel-avatar.has-neck .avatar-body:after{content:"◆";position:absolute;top:6px;left:18px;color:#92e5db;font-size:14px}.voxel-avatar.has-shield .avatar-arm.left:after{content:"";position:absolute;top:25px;left:-9px;width:24px;height:50px;background:#718c7a;border:3px solid #d4bc75}.voxel-avatar.has-weapon .avatar-arm.right:after{content:"✧";position:absolute;top:12px;right:-12px;height:82px;border-right:5px solid #b79258;color:#71dcff;font-size:25px}body:has(#inventory:not([hidden])) #toast{top:auto;bottom:14px}#wake-button{position:fixed;bottom:126px;left:50%;transform:translate(-50%);z-index:15;max-width:min(420px,calc(100vw - 28px));min-height:44px;padding:10px 16px;border:1px solid #c3b17f;border-radius:7px;background:#173638e6;color:#f1dfb4;font:12px/1.4 Segoe UI,sans-serif;box-shadow:0 4px 12px #0006}@media(max-width:650px){.touch-mode #wake-button{bottom:116px;width:calc(100vw - 200px);max-width:200px;padding:8px;font-size:10px}}#cursor{width:calc(64px / 3);height:calc(86px / 3);background-position:left top;background-image:url(/cursor-temple-idle.png)}#cursor.active{background-image:url(/cursor-temple-active.png);filter:drop-shadow(0 0 3px #9f45ff)}#workshop-lock-note{padding:10px 14px;margin-bottom:17px;border:1px solid #bf9be566;border-radius:4px;background:#302d43;color:#e4d1f2;font:12px/1.5 Segoe UI,sans-serif}#cube-answers .read-confirm{border-color:#99d5ba;background:#355d50;text-align:center}#cube-answers .read-confirm:disabled{opacity:.7}.tutorial-topics{border-top:1px solid #a0b7a638;margin-top:12px;padding-top:4px}#cube-answers .asked{color:#b2d6ba}#cube-answers .begin-craft{border-color:#e0c480;background:#5a5133;color:#f5e2ad}.tutorial-locked .panel-foot{font-size:0!important}.tutorial-locked .panel-foot:before{content:"Заверши первый урок и создай Жезл Судьбы";font:11px Segoe UI,sans-serif;color:#c6addb}.tutorial-locked .panel-foot span{display:none}.touch-mode #workshop-lock-note{font-size:10px;padding:7px 9px;margin-bottom:10px}@media(max-width:600px){.touch-mode #bag-panel.tutorial-locked.has-bench .inventory-layout{grid-template-areas:"bench bench" "bag gear"}}#bag-panel #item-description{display:none}#inventory-filters{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px;font:12px Segoe UI,sans-serif}#inventory-filters input,#inventory-filters select{min-width:0;padding:8px;color:#e4ead5;background:#122b2e;border:1px solid #718c7566;border-radius:3px;font:inherit}#inventory-search{flex:1;width:80px}#inventory-filter{width:100%}#inventory-filter-toggle{width:34px;display:grid;place-items:center;background:#29463c;color:#d6c48c;border:1px solid #718c7566;border-radius:3px}#inventory-filter-toggle svg{width:20px;height:20px}body:not(.phone-mode) #bag-panel.cube-capacity #slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}body:not(.phone-mode) #bag-panel.cube-capacity #slots .slot{height:clamp(42px,5.5vh,59px);min-height:0;padding:3px}body:not(.phone-mode) #bag-panel.cube-capacity #slots .item-icon{font-size:26px}body:not(.phone-mode) #bag-panel.cube-capacity #slots small{font-size:9px}#bench-recycle{display:flex;gap:7px;margin-top:8px}#bench-recycle button{flex:1;padding:10px 5px;min-height:38px;border:1px solid #b4a57977;border-radius:3px;background:#29463d;font:12px Segoe UI,sans-serif}#bench-recycle svg{width:17px;height:17px;vertical-align:middle}#item-tooltip{position:fixed;z-index:100;max-width:min(320px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:hidden;padding:14px 17px;background:#10292df5;border:1px solid #bca66f99;box-shadow:0 10px 35px #0009;border-radius:4px;white-space:pre-line;font:12px/1.5 Segoe UI,sans-serif;color:#e5e7d2;pointer-events:none}@media(max-height:760px){#inventory-filters{margin-bottom:8px}body:not(.phone-mode) #bag-panel.cube-capacity #slots{gap:4px}body:not(.phone-mode) #bag-panel.cube-capacity #slots .slot{height:39px}body:not(.phone-mode) #bag-panel.cube-capacity #slots .item-icon{font-size:19px}#bag-panel.cube-capacity #slots small{font-size:8px}}.touch-only,#mobile-controls{display:none}.tile-stack{position:relative;width:43px;height:38px;display:block}.tile-stack i{position:absolute;left:calc(2px + var(--tile)*4px);top:calc(9px - var(--tile)*3px);display:grid;place-items:center;width:28px;height:28px;background:linear-gradient(135deg,#7e8d70,#3b5651);color:#f1d799;border:1px solid #c9b77b;box-shadow:1px 2px 3px #091d22;font-style:normal;font-size:24px;line-height:1;transform:rotate(-7deg)}#slots .count,#bench-grid .count{position:absolute;right:5px;bottom:4px;min-width:19px;padding:2px 4px;background:#071c24e8;border:1px solid #afcaa077;border-radius:3px;font:700 13px Segoe UI,sans-serif;color:#ffe4a9}.puzzle-bottom{gap:12px;flex-wrap:wrap}#puzzle-complete{border:1px dashed #c8a66a66;border-radius:3px;padding:7px 11px}#puzzle-complete:after{content:" · тест";font-size:9px;color:#91a798}.touch-mode{touch-action:none;-webkit-user-select:none;user-select:none}.touch-mode #world{touch-action:none}.touch-mode button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.touch-mode #cursor,.touch-mode #carried-item,.touch-mode #controls,.touch-mode #hover-label{display:none!important}.touch-mode .touch-only{display:block}.touch-mode .modal-shade{padding:10px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}.touch-mode .panel{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}.touch-mode .panel button{min-height:42px}.touch-mode input{font-size:16px;touch-action:auto}.touch-mode .close{top:6px;right:9px;min-width:40px;font-size:30px}.touch-mode .inventory-panel,.touch-mode .inventory-panel.expanded{width:410px;padding:19px}.touch-mode .inventory-tabs{padding-right:25px;gap:12px;margin-bottom:14px}.touch-mode .inventory-tabs button{font-size:12px;white-space:nowrap;min-height:35px}.touch-mode .inventory-layout,.touch-mode .expanded .inventory-layout{display:block}.touch-mode #bag-panel[data-view=bag] #craft-panel,.touch-mode #bag-panel[data-view=bag] #equipment-panel{display:none!important}.touch-mode #bag-panel[data-view=bench] .bag-column,.touch-mode #bag-panel[data-view=character] .bag-column{display:none}.touch-mode #craft-panel,.touch-mode #equipment-panel{padding:0;border:0}.touch-mode #bag-panel .slot,.touch-mode #bag-panel #slots .slot,.touch-mode #bag-panel #bench-grid .slot{height:74px}.touch-mode #bag-panel #slots{margin-top:12px;gap:7px}.touch-mode .slot small{font-size:11px}.touch-mode #item-description{min-height:32px;font-size:12px;margin:11px 0}.touch-mode #bag-panel .panel-foot{font-size:0;padding-top:9px}.touch-mode #bag-panel .panel-foot:before{content:"Тапни предмет, затем выбери цель. × — закрыть";font:11px Segoe UI,sans-serif;color:#92b6a5}.touch-mode #bag-panel .panel-foot span{display:none}.touch-mode #inventory-touch-actions{padding:9px;margin-bottom:12px;background:#30544e;border:1px solid #96ddba66;border-radius:3px;font:12px Segoe UI,sans-serif;display:flex;align-items:center;flex-wrap:wrap;gap:8px}.touch-mode #inventory-held-name{width:100%;color:#f3db9f;font-weight:600}.touch-mode #inventory-touch-actions button{font:11px Segoe UI,sans-serif;background:#193a40;border:1px solid #a1c6b366;border-radius:3px;padding:7px 11px;min-height:36px}.touch-mode #bag-pages button{width:45px}.touch-mode .dialogue-panel{width:430px;grid-template-columns:1fr;gap:0;bottom:auto;padding:23px}.touch-mode .spirit-icon{font-size:36px;line-height:1}.touch-mode .dialogue-panel h2{margin:8px 0}.touch-mode .dialogue-choice{padding:11px 12px;font-size:13px}.touch-mode .puzzle-panel{width:400px;padding:21px}.touch-mode .puzzle-tile{height:61px}.touch-mode .puzzle-bottom{gap:7px;margin-bottom:9px}.touch-mode .puzzle-panel .panel-foot{font-size:10px}.touch-mode .paper-doll{height:282px}.touch-mode #character-stats{font-size:12px}.touch-mode #cube-conversation #cube-text{font-size:15px}.touch-mode #toast{top:78px;max-width:calc(100vw - 30px);width:max-content;padding:10px 14px;font-size:12px}.touch-mode:has(#inventory:not([hidden])) #toast{top:auto;bottom:calc(10px + env(safe-area-inset-bottom))}.touch-mode #subtitle{bottom:190px;width:calc(100% - 28px);max-width:500px;font-size:13px;padding:8px 12px}.touch-mode #hud{top:calc(12px + env(safe-area-inset-top));left:16px;right:16px}.touch-mode .brand{font-size:17px;letter-spacing:3px;gap:8px}.touch-mode .brand-mark{font-size:31px}.touch-mode .brand span:not(.brand-mark){font-size:6px;letter-spacing:2px}.touch-mode .icon-button{width:39px;height:39px}.touch-mode .toolbar{gap:5px}.touch-mode .chapter{display:none}.touch-mode #quest{top:80px;left:17px;width:calc(100% - 100px);max-width:310px;padding:8px 0;border-top:0;background:none}.touch-mode #quest .eyebrow{display:none}.touch-mode #quest h2{font-size:18px;margin:4px 0}.touch-mode #quest p{font-size:11px;line-height:1.45}.touch-mode #quest-progress{margin-top:8px}.touch-mode #audio-settings{top:62px;right:16px;min-height:30px}.touch-mode #magic-hud{left:16px;bottom:calc(157px + env(safe-area-inset-bottom));padding:8px 11px}.touch-mode #magic-hud .eyebrow,.touch-mode #magic-hud small{display:none}.touch-mode #magic-hud strong{font:12px Segoe UI,sans-serif;margin:0}.touch-mode #cube-notification{bottom:175px;right:15px;font-size:12px;padding:10px 13px}.touch-mode #mobile-controls:not([hidden]){display:block;position:fixed;inset:0;z-index:9;pointer-events:none}.touch-mode #mobile-controls button,.touch-mode #joystick{pointer-events:auto}.mobile-shortcuts{position:absolute;right:16px;top:calc(102px + env(safe-area-inset-top));display:flex;gap:8px}.mobile-shortcuts button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:49px;height:52px;font-size:25px;border:1px solid #9ebbaa55;border-radius:9px;background:#102d32cb;color:#e3c98c}.mobile-shortcuts span{font:10px Segoe UI,sans-serif}#joystick{position:absolute;left:calc(22px + env(safe-area-inset-left));bottom:calc(25px + env(safe-area-inset-bottom));width:120px;height:120px;border-radius:50%;border:1px solid #b4cfad5c;background:radial-gradient(#35695750,#0a252cba);box-shadow:inset 0 0 0 15px #639e8330;touch-action:none;display:grid;place-items:center}#joystick:before,#joystick:after{content:"";position:absolute;background:#b3e0cb26;pointer-events:none}#joystick:before{height:1px;width:95px}#joystick:after{width:1px;height:95px}#joystick-knob{width:49px;height:49px;border-radius:50%;border:1px solid #c1e3c887;background:radial-gradient(at 35% 30%,#769e86,#335b55);box-shadow:0 4px 10px #0007;pointer-events:none;z-index:1}.mobile-actions{position:absolute;right:calc(18px + env(safe-area-inset-right));bottom:calc(27px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:end;gap:12px}.mobile-actions button{background:#183d43dd;border:1px solid #b5d8b477;border-radius:12px;color:#ece2bd;font:12px Segoe UI,sans-serif;padding:10px 13px;max-width:190px;min-height:47px}#mobile-fire{width:73px;height:73px;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:radial-gradient(#477990,#143340);border-color:#87e6ff;font-size:32px;touch-action:none}#mobile-fire span{font-size:10px}#mobile-fire.pressed{background:#5198b2;box-shadow:0 0 25px #71dcff70}#mobile-selection{position:absolute;left:50%;bottom:calc(167px + env(safe-area-inset-bottom));transform:translate(-50%);display:flex;align-items:center;gap:10px;max-width:95%;padding:7px 10px;border:1px solid #add9b877;border-radius:4px;background:#15353ff2;color:#f0d799;font:12px Segoe UI,sans-serif;pointer-events:auto}#mobile-selection button{background:#39544c;border:1px solid #d2c38c66;border-radius:3px;color:#f3e8c5;padding:8px;font:12px Segoe UI,sans-serif}.touch-mode .intro{top:24%;left:7%;right:7%}.touch-mode .intro h1{font-size:64px}.touch-mode .intro .eyebrow{max-width:260px;line-height:1.8}.touch-mode .intro>p{font-size:14px}.touch-mode .intro-bottom{left:18px;right:18px;bottom:20px;letter-spacing:1px;font-size:6px}.touch-mode .intro-bottom>span:last-child{display:none}.touch-mode:has(#start-new:not([hidden])) .intro{top:18%}.touch-mode .ending-content{padding:20px}.touch-mode .ending-content h1{font-size:52px}.touch-mode .ending-content h1 span{font-size:30px}.touch-mode .end-cube{font-size:50px}.touch-mode #end-stats{font-size:9px;letter-spacing:1px}.touch-mode .cloud-panel{padding:22px}.touch-mode .save-row{flex-wrap:wrap}.touch-mode .save-row>div{min-width:48%}.touch-mode .audio-panel{width:390px}@media(orientation:landscape)and (max-height:550px){.touch-mode .intro,.touch-mode:has(#start-new:not([hidden])) .intro{top:14%;max-width:430px}.touch-mode .intro h1{font-size:43px;margin:10px 0 12px}.touch-mode .intro h1 span{margin-top:7px}.touch-mode .intro>p{font-size:11px;line-height:1.6;margin-bottom:12px}.touch-mode .intro .primary{min-width:210px;padding:11px 18px}.touch-mode .intro .secondary{width:210px;padding:8px 17px;margin-top:7px}.touch-mode .intro-note,.touch-mode .intro .eyebrow{display:none}.touch-mode #start-cloud{margin-top:0}.touch-mode .intro-bottom{bottom:12px}.touch-mode #quest{top:67px;width:205px}.touch-mode #quest p{max-height:48px;overflow:hidden}.touch-mode #joystick{width:103px;height:103px;bottom:16px}.touch-mode #mobile-fire{width:65px;height:65px}.touch-mode .mobile-actions{bottom:16px;gap:8px}.touch-mode .mobile-shortcuts{top:99px}.touch-mode #magic-hud{bottom:134px}.touch-mode #mobile-selection{bottom:136px}.touch-mode #subtitle{bottom:14px;width:48%;font-size:12px}.touch-mode .panel{max-height:calc(100dvh - 14px)}.touch-mode #toast{top:58px}.touch-mode .puzzle-panel{width:375px;padding:16px 21px}.touch-mode .puzzle-panel h2{font-size:23px;margin:4px 0}.touch-mode .puzzle-panel>p{font-size:10px;margin:4px 0}.touch-mode .puzzle-panel .eyebrow{display:none}.touch-mode #puzzle-grid{margin:8px 0;padding:5px;gap:4px}.touch-mode .puzzle-tile{height:42px}.touch-mode .puzzle-panel .panel-foot{display:none}.touch-mode .puzzle-bottom{margin:0}.touch-mode .ending-content h1{font-size:39px}.touch-mode .end-cube{display:none}.touch-mode .ending-content>p{font-size:11px}.touch-mode .dedication{margin-top:10px}.touch-mode .ending-content .primary{margin:12px auto}}@media(orientation:portrait){.touch-mode #quest{width:calc(100% - 151px)}}body:not(.touch-mode) #bag-panel{width:800px;padding:24px;overflow-y:auto}body:not(.touch-mode) #bag-panel.has-bench{width:1120px}body:not(.touch-mode) #bag-panel .inventory-tabs{display:none}body:not(.touch-mode) #bag-panel .inventory-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}body:not(.touch-mode) #bag-panel.has-bench .inventory-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)}body:not(.touch-mode) #craft-panel{order:0;border:0;padding:0}body:not(.touch-mode) .bag-column{order:1;min-width:0}body:not(.touch-mode) #equipment-panel{order:2;padding-left:24px}body:not(.touch-mode) #bag-panel.has-bench .bag-column{border-left:1px solid var(--line);padding-left:24px}.bag-heading{font:13px Segoe UI,sans-serif;color:#d7c595;letter-spacing:2px;margin:9px 0 22px}body:not(.touch-mode) #bag-panel #slots{margin-top:0}body:not(.touch-mode) #bag-panel .slot{height:78px}body:not(.touch-mode) #bag-panel #item-description{font:12px/1.6 Segoe UI,sans-serif;min-height:54px}body:not(.touch-mode) #inventory-close{display:block;font-size:25px;right:7px;top:3px}body:not(.touch-mode) #equipment-panel>p{max-width:270px}body:not(.touch-mode) #bag-panel .paper-doll{height:287px}#dialogue{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;display:block;pointer-events:none;padding:0}#speech-bubble{position:absolute;width:330px;max-width:calc(100vw - 28px);padding:15px 20px;border:2px solid #879e87;border-radius:17px 17px 17px 4px;background:#f0eedc;color:#203b37;box-shadow:3px 5px #0c252f70;pointer-events:auto}#speech-bubble:after{content:"";position:absolute;left:var(--tail-x,40px);bottom:-17px;width:19px;height:22px;background:#f0eedc;border-right:2px solid #879e87;border-bottom:2px solid #879e87;transform:skewY(-38deg);clip-path:polygon(0 0,100% 0,100% 100%)}#speaker{font:700 11px Segoe UI,sans-serif;letter-spacing:1.5px;text-transform:uppercase;color:#5d795e}#dialogue-text{font:16px/1.55 Georgia;margin:7px 0 0}#dialogue .dialogue-panel{position:absolute;bottom:18px;left:50%;transform:translate(-50%);width:min(740px,calc(100vw - 32px));max-width:none;max-height:38vh;overflow-y:auto;display:block;padding:0;background:none;border:0;box-shadow:none;pointer-events:auto}#dialogue-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px}#dialogue .dialogue-choice{margin:0;padding:11px 17px;background:#153536e8;border:1px solid #86aa9388;box-shadow:0 2px 5px #0005;border-radius:4px;font-size:14px}#dialogue .dialogue-choice.asked{color:#b7c9b4}#dialogue .dialogue-choice:hover{background:#365c4c;border-color:#e5d7a4}.dialogue-actions{display:flex;justify-content:center;gap:10px;margin-top:8px}#dialogue #dialogue-next,#dialogue #dialogue-close{margin:0;float:none;min-width:0;padding:10px 18px;background:#153536e8;border:1px solid #86aa9366;border-radius:4px;font:12px Segoe UI,sans-serif;color:#e6d3a1}body:has(#dialogue:not([hidden])) #controls,body:has(#dialogue:not([hidden])) #quest,body:has(#dialogue:not([hidden])) #subtitle,body:has(#dialogue:not([hidden])) #magic-hud,body:has(#dialogue:not([hidden])) #toast{visibility:hidden}#magic-tuning-toggle{position:fixed;right:30px;top:128px;z-index:12;border:1px solid #88b5ad66;border-radius:3px;background:#15373bd9;color:#d9deb7;padding:9px 12px;font:11px Segoe UI,sans-serif}#magic-tuning{position:fixed;right:30px;top:168px;width:240px;z-index:15;background:#102f33ee;border:1px solid #87b5ad77;border-radius:5px;padding:18px;box-shadow:0 8px 28px #0007;font:12px/1.5 Segoe UI,sans-serif;color:#d1ddc9}#magic-tuning h3{font:16px Georgia;margin:0 0 4px;color:#ead8a9}#magic-tuning-close{position:absolute;right:7px;top:3px;font-size:23px;background:none;color:#becfb9}#magic-tuning label{display:block;margin:15px 0 0}#magic-tuning output{float:right;color:#e6d299}#magic-tuning input{width:100%;margin:10px 0 0;accent-color:var(--shot-color);cursor:pointer}#magic-tuning p{font-size:10px;color:#aac4b5;margin:7px 0}#magic-swatch{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:5px;box-shadow:0 0 9px var(--shot-color)}#magic-reset{font:11px Segoe UI,sans-serif;color:#dfc583;background:none;margin-top:10px}body:has(.modal-shade:not([hidden])) #magic-tuning,body:has(.modal-shade:not([hidden])) #magic-tuning-toggle{display:none}#movement-mode{position:fixed;bottom:77px;left:50%;transform:translate(-50%);font:11px Segoe UI,sans-serif;color:#d8ddbf;pointer-events:none;text-shadow:0 2px 4px #000}@media(max-height:760px){body:not(.touch-mode) #bag-panel{padding:20px}body:not(.touch-mode) #bag-panel .slot{height:67px}body:not(.touch-mode) #bag-panel #item-description{min-height:35px;margin:10px 0}.bag-heading{margin-bottom:16px}#dialogue-text{font-size:14px}#speech-bubble{width:335px;padding:12px 17px}}@media(max-width:950px){body:not(.touch-mode) #bag-panel .inventory-layout,body:not(.touch-mode) #bag-panel.has-bench .inventory-layout{gap:12px}body:not(.touch-mode) #bag-panel.has-bench .bag-column,body:not(.touch-mode) #equipment-panel{padding-left:12px}.equipment-slot{max-width:76px}}.touch-mode #dialogue .dialogue-panel{bottom:12px}.touch-mode #dialogue-choices{grid-template-columns:1fr 1fr}.touch-mode #dialogue .dialogue-choice{font-size:12px;padding:9px}.touch-mode #speech-bubble{width:270px;padding:12px}.touch-mode #dialogue-text{font-size:13px}.touch-mode #magic-tuning-toggle{right:16px;top:163px}.touch-mode #magic-tuning{right:16px;top:201px}.touch-mode #movement-mode{display:none}#craft-reveal,#weapon-lesson{z-index:40;background:radial-gradient(ellipse at center,#133b3de8,#031619ef);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);text-align:center}.reward-content{display:flex;align-items:center;flex-direction:column;color:#f2e3bb;gap:17px;max-width:90vw}.reward-content .eyebrow{color:#b1dac3}.reward-content h2{font:38px Georgia;margin:0 0 10px}.reward-content .primary{min-width:210px;justify-content:center}#reward-diamond{position:relative;width:180px;height:180px;margin:35px 0 45px;transform:rotate(45deg);border:2px solid #b8edce;background:radial-gradient(#5a9681,#1a464c 65%);box-shadow:0 0 0 9px #a0cfba14,0 0 0 22px #a0cfba09,0 0 100px #89efc36e,inset 0 0 40px #a4ffe345;animation:reward-arrive .65s ease-out}.crafted-staff{position:absolute;inset:0;transform:rotate(-45deg)}.crafted-staff:before{content:"";position:absolute;left:86px;top:13px;width:12px;height:157px;background:linear-gradient(90deg,#e8c584,#916532);box-shadow:4px 3px #0e2b3480;transform:rotate(23deg)}.staff-gem{position:absolute;top:4px;left:100px;width:27px;height:31px;border:5px solid #d8b25e;background:#92fbdc;box-shadow:0 0 26px #91ffe3;transform:rotate(23deg)}.staff-chain{position:absolute;top:45px;left:92px;width:21px;height:40px;border:2px solid #e5c571;border-top:0;transform:rotate(23deg)}.staff-chain:after{content:"";position:absolute;left:10px;top:35px;width:13px;height:17px;background:#8beacb;border:3px solid #dabc6c;transform:rotate(18deg)}#reward-diamond[data-item=stickPendant] .staff-gem,#reward-diamond[data-item=stickCrown] .staff-chain,#reward-diamond .crafted-item,#reward-diamond.ordinary .crafted-staff{display:none}#reward-diamond.ordinary .crafted-item{position:absolute;inset:0;display:grid;place-items:center;transform:rotate(-45deg);font-size:100px;color:#ffe1a0}#craft-reveal.flying{background:none;-webkit-backdrop-filter:none;backdrop-filter:none}#craft-reveal.flying .reward-content>*:not(#reward-diamond){visibility:hidden}#craft-reveal.flying #reward-diamond{animation:none}.weapon-lesson-content{max-width:650px;margin:20px;color:#e9ecd8}.weapon-lesson-content>p{font:24px/1.7 Georgia}.weapon-lesson-content small{display:block;font:14px/1.7 Segoe UI,sans-serif;color:#a6d2be;margin:22px 0}.weapon-lesson-content .primary{margin:auto}#equipment-panel.needs-weapon .eq-weapon{box-shadow:0 0 16px #c6d88266;border-color:#d7d994}body:not(.touch-mode) #bag-panel .dialogue-choice:hover:not(.inventory-hover){background:#1c393bc9;border-color:#88baa55c}body:not(.touch-mode) #bag-panel .slot:hover:not(.inventory-hover){border-color:#afbb9a29;background:linear-gradient(135deg,#253b36,#152b2c)}body:not(.touch-mode) #bag-panel .slot.occupied:hover:not(.inventory-hover){border-color:#b5985866}body:not(.touch-mode) #bag-panel #bench-grid .slot:hover:not(.inventory-hover){background:linear-gradient(140deg,#3c3152,#20313d);border-color:#aa84d84d}body:not(.touch-mode) #bag-panel .primary:hover:not(.inventory-hover){filter:none;transform:none}body:not(.touch-mode) #bag-panel .close:hover:not(.inventory-hover){color:#9cae9f}#bag-panel .dialogue-choice.inventory-hover{background:#36584b;border-color:#a8e0c7}#bag-panel .slot.inventory-hover,#bag-panel .equipment-slot.inventory-hover{border-color:#a2ddc2;box-shadow:0 0 0 1px #a2ddc277}#bag-panel .primary.inventory-hover{filter:brightness(1.12)}#bag-panel .inventory-hover:not(.slot):not(.primary):not(.dialogue-choice){outline:1px solid #a2ddc2;outline-offset:2px}@keyframes reward-arrive{0%{opacity:0;transform:rotate(10deg) scale(.2)}to{opacity:1;transform:rotate(45deg) scale(1)}}@media(max-height:650px){#reward-diamond{width:155px;height:155px;margin:12px 0 28px}.crafted-staff{transform:rotate(-45deg) scale(.8)}.reward-content h2{font-size:28px}.weapon-lesson-content>p{font-size:20px}}#weapon-lesson .weapon-lesson-content{width:960px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);overflow:auto;background:linear-gradient(140deg,#163c40,#102528);border:1px solid #d6bf7880;border-radius:9px;padding:26px;color:#e3dbc1;text-align:left}.weapon-lesson-content h2{font:30px Georgia;margin:9px 0 22px}.shot-instructions{display:grid;grid-template-columns:1fr 1fr;gap:22px}.shot-instructions article{min-width:0}.lesson-shot{position:relative;border:1px solid #95bca657;border-radius:5px;overflow:hidden;background:#142c30}.lesson-shot img{width:100%;aspect-ratio:1.65;display:block;object-fit:cover}.lesson-shot>b{position:absolute;bottom:0;left:0;right:0;text-align:left;padding:11px;background:linear-gradient(transparent,#0b2028f5);font:700 12px Segoe UI,sans-serif;color:#efd79a}.shot-instructions p{font:15px/1.55 Segoe UI,sans-serif;margin:13px 0 6px}.shot-instructions small{font:12px/1.4 Segoe UI,sans-serif;color:#a6c2b9}.lesson-mouse{display:flex;gap:14px;align-items:center;padding-top:10px}.lesson-mouse svg{width:49px;height:65px;flex-shrink:0}.lesson-mouse strong{font:700 18px Segoe UI,sans-serif;color:#f4d996}.lesson-mouse small{display:block;margin-top:6px}.lesson-facts{display:flex;gap:10px;flex-wrap:wrap;margin:19px 0;padding:12px;background:#274b4566;border:1px solid #91bdb63b;border-radius:4px;font:12px/1.6 Segoe UI,sans-serif}.lesson-facts span{flex:1;min-width:130px}.lesson-confirm{display:flex;align-items:center;gap:12px;font:14px/1.4 Segoe UI,sans-serif;padding:12px 0;cursor:pointer}.lesson-confirm input{accent-color:#adceae;width:22px;height:22px;flex-shrink:0}.weapon-lesson-content #weapon-lesson-close{display:block;margin:10px auto 0}.weapon-lesson-content #weapon-lesson-close:disabled{opacity:.35}.touch-mode #weapon-lesson .weapon-lesson-content{padding:16px}.touch-mode .weapon-lesson-content h2{font-size:22px;margin-bottom:14px}.touch-mode .shot-instructions{grid-template-columns:1fr;gap:15px}.touch-mode .lesson-shot img{max-height:160px}.touch-mode .shot-instructions p,.touch-mode .lesson-confirm{font-size:12px}.touch-mode .lesson-facts{font-size:10px;margin:10px 0}.touch-mode .lesson-facts span{min-width:110px}@media(orientation:landscape)and (max-height:550px){.touch-mode .shot-instructions{grid-template-columns:1fr 1fr}}#weapon-lesson .weapon-lesson-content{margin:0}.weapon-lesson-content .shot-instructions small{margin:5px 0}.shot-instructions article:first-child .lesson-shot img{object-fit:contain;object-position:center;background:#122d30}#weapon-lesson .guide-touch{display:none}.touch-mode #weapon-lesson .guide-touch{display:block}.touch-mode #weapon-lesson .guide-desktop{display:none}body #subtitle,body.touch-mode #subtitle{position:fixed;bottom:auto;left:0;top:0;transform:none;z-index:8;width:max-content;max-width:min(285px,calc(100vw - 28px));box-sizing:border-box;padding:12px 17px;border:2px solid #b1a579;border-radius:17px;background:#f3efdb;color:#263d36;text-shadow:none;text-align:left;font:16px/1.45 Segoe UI,sans-serif;box-shadow:3px 5px #081d2480;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .18s}body #subtitle.show{opacity:1;visibility:visible}#subtitle .hero-speaker{display:block;color:#7a653a;font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;margin-bottom:4px}#subtitle p{margin:0}#subtitle:after{content:"";position:absolute;left:var(--tail-x,40px);bottom:-10px;width:16px;height:16px;background:#f3efdb;border-right:2px solid #b1a579;border-bottom:2px solid #b1a579;transform:rotate(45deg)}#subtitle.below:after{bottom:auto;top:-10px;transform:rotate(225deg)}@media(max-width:600px){body #subtitle,body.touch-mode #subtitle{max-width:min(245px,calc(100vw - 28px));font-size:14px;padding:10px 14px}}.touch-mode{--orbit-size:154px;--bag-x:183px;--bag-bottom:53px}.touch-mode #joystick{left:auto;right:calc(19px + env(safe-area-inset-right));bottom:calc(24px + env(safe-area-inset-bottom));width:112px;height:112px}.touch-mode #mobile-fire{position:absolute;left:0;bottom:0;width:var(--orbit-size);height:var(--orbit-size);border-radius:0 100% 0 0;display:flex;align-items:flex-start;justify-content:flex-end;gap:3px;padding:0 24px calc(19px + env(safe-area-inset-bottom)) 18px;background:radial-gradient(at bottom left,#557263,#12323af5 80%);border:2px solid #c6ae74;border-left:0;border-bottom:0;box-shadow:inset 0 0 25px #dfc87715;color:#f3dfaf;touch-action:none}.touch-mode #mobile-fire[data-mode=item]{background:radial-gradient(at bottom left,#88784b,#1d373bf5 80%);box-shadow:inset 0 0 28px #e9cf7855}.touch-mode #mobile-fire[data-mode=fire]{border-color:#86d9f4;background:radial-gradient(at bottom left,#447c92,#12323af5 80%);color:#b3eeff}.touch-mode #mobile-fire.pressed{filter:brightness(1.4)}.touch-mode #mobile-fire #mobile-main-icon{font-size:38px;line-height:1.05;margin-left:17px;text-shadow:0 0 18px #e6d78b66}.touch-mode #mobile-main-label{font:600 13px Segoe UI,sans-serif}.touch-mode #mobile-main-item{font:10px/1.2 Segoe UI,sans-serif;max-width:112px;text-align:left;min-height:24px}.touch-mode .orbit-button{position:absolute;display:flex;align-items:center;justify-content:center;flex-direction:column;width:58px;height:58px;border:1px solid #cab879aa;border-radius:50%;background:radial-gradient(at 30% 20%,#486358,#15343beb);color:#f0ddb0;box-shadow:0 3px 12px #0005;font-size:26px;padding:3px;touch-action:manipulation}.touch-mode .orbit-button span{font:9px Segoe UI,sans-serif}.touch-mode .orbit-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;margin-bottom:4px}.touch-mode #mobile-bag{left:calc(var(--bag-x) - 29px + env(safe-area-inset-left));bottom:calc(var(--bag-bottom) - 29px + env(safe-area-inset-bottom))}.touch-mode #mobile-inspect{left:112px;bottom:137px}.touch-mode #mobile-selection{left:14px;bottom:205px;transform:none;max-width:210px;font-size:10px;padding:5px 8px;gap:5px}.touch-mode #mobile-selection button{padding:7px;font-size:10px;min-height:38px}.touch-mode #mobile-target{position:fixed;transform:translate(-50%,-100%);text-align:center;pointer-events:none;max-width:160px;color:#ffe3a1;filter:drop-shadow(0 2px 3px #000)}.touch-mode #mobile-target span{display:block;padding:4px 8px;border:1px solid #d9b96d88;border-radius:5px;background:#152d2ce8;font:10px/1.3 Segoe UI,sans-serif}.touch-mode #mobile-target i{display:block;font-style:normal;font-size:25px;line-height:24px;color:#ffe4a2;text-shadow:0 0 12px #ffda82}.touch-mode:has(#subtitle.show) #mobile-target-name{visibility:hidden}.touch-mode #magic-hud{left:auto;right:16px;bottom:152px}.touch-mode #cube-notification{bottom:255px;right:12px;max-width:190px}.touch-mode #inventory{padding:10px 8px 110px;align-items:center;overflow:hidden;grid-template-columns:minmax(0,1fr)}.touch-mode #bag-panel,.touch-mode #bag-panel.expanded{width:min(900px,calc(100vw - 16px));max-width:calc(100vw - 16px);max-height:calc(100dvh - 122px);padding:12px;overflow:auto;transform:none;animation:none}.touch-mode:has(#inventory:not([hidden])) #toast{top:12px;bottom:auto}.touch-mode #inventory .inventory-tabs,.touch-mode #bag-panel .panel-foot{display:none}.touch-mode #bag-panel .inventory-layout{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"bag gear";gap:12px}.touch-mode #bag-panel.has-bench .inventory-layout{grid-template-columns:1fr 1fr 1fr;grid-template-areas:"bench bag gear"}.touch-mode #bag-panel .bag-column{grid-area:bag;min-width:0;display:block!important}.touch-mode #inventory #bag-panel #craft-panel:not([hidden]){grid-area:bench;display:block!important;padding:0;border:0;min-width:0}.touch-mode #inventory #bag-panel #equipment-panel{grid-area:gear;display:block!important;padding:0 0 0 10px;border-left:1px solid #c2ceaf30;min-width:0}.touch-mode #bag-panel .bag-heading{font-size:10px;letter-spacing:1px;margin:3px 0 10px}.touch-mode #bag-panel #slots{gap:4px;margin:0}.touch-mode #bag-panel #slots .slot,.touch-mode #bag-panel #bench-grid .slot{height:48px;min-height:44px;min-width:0;padding:3px;overflow:hidden}.touch-mode #bag-panel .slot small{font:8px/1.1 Segoe UI,sans-serif;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.touch-mode #bag-panel .slot .item-icon{font-size:23px;line-height:1.1}.touch-mode #bag-panel .slot .count{font-size:11px;right:2px;top:1px}.touch-mode #bag-panel .tile-stack{transform:scale(.65);height:26px;margin:-3px 0}.touch-mode #bag-panel #item-description{font:10px/1.4 Segoe UI,sans-serif;margin:9px 0 0;min-height:28px}.touch-mode #bag-panel #bag-pages{gap:10px;margin:5px 0}.touch-mode #bag-panel h2{font-size:17px;margin:0 0 7px}.touch-mode #bag-panel .eyebrow{font-size:7px;letter-spacing:1px}.touch-mode #bag-panel #equipment-panel>.eyebrow,.touch-mode #bag-panel #equipment-panel>p{display:none}.touch-mode #bag-panel .paper-doll{height:208px}.touch-mode #bag-panel .voxel-avatar{top:42px;transform:translate(-50%) scale(.43);transform-origin:top center}.touch-mode #bag-panel .equipment-slot{width:54px;max-width:54px;height:46px;min-height:44px;gap:1px;overflow:hidden}.touch-mode #bag-panel .equipment-slot>span{font-size:19px}.touch-mode #bag-panel .equipment-slot small{font-size:8px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.touch-mode #bag-panel .eq-head,.touch-mode #bag-panel .eq-neck{top:0}.touch-mode #bag-panel .eq-chest,.touch-mode #bag-panel .eq-shield{top:52px}.touch-mode #bag-panel .eq-weapon,.touch-mode #bag-panel .eq-ringRight{top:104px}.touch-mode #bag-panel .eq-ringLeft,.touch-mode #bag-panel .eq-feet{top:156px}.touch-mode #bag-panel #character-stats{font-size:9px;gap:3px;padding-top:7px}.touch-mode #bag-panel #character-stats strong{font-size:10px}.touch-mode #bag-panel #bench-grid{gap:4px;padding:5px}.touch-mode #bag-panel .workbench-title{gap:8px;min-height:44px;margin-bottom:5px}.touch-mode #bag-panel #cube-socket{width:34px;height:34px;min-height:34px;margin:0 7px 5px;flex-shrink:0}.touch-mode #bag-panel #cube-socket span{font-size:24px}.touch-mode #bag-panel .cube-caption{font-size:9px;margin:2px 0 6px}.touch-mode #bag-panel #bench-preview{font-size:10px;padding:7px 0;min-height:28px}.touch-mode #bag-panel #bench-create{font-size:12px;padding:7px;min-height:44px}.touch-mode #bag-panel #bench-work>p{font:9px/1.4 Segoe UI,sans-serif;margin:6px 0}.touch-mode #bag-panel #cube-conversation{padding-top:0}.touch-mode #bag-panel #cube-text{font:13px/1.5 Georgia;margin:6px 0}.touch-mode #bag-panel #cube-answers button{font-size:11px;padding:8px;min-height:44px}.touch-mode #inventory-touch-actions{font-size:10px;margin:0 0 10px;padding:7px;gap:5px}.touch-mode #inventory-held-name{width:auto;flex:1}.touch-mode #inventory-use-world,.touch-mode #inventory-cancel-item{font-size:10px;padding:5px 7px;min-height:44px}.touch-mode #inventory-close{position:fixed;left:var(--close-x,calc(var(--bag-x) + env(safe-area-inset-left)));top:var(--close-y,calc(100dvh - var(--bag-bottom) - env(safe-area-inset-bottom)));right:auto;bottom:auto;transform:translate(-50%,-50%);width:62px;height:62px;border:2px solid #d6c184;border-radius:50%;background:#24483f;color:#f0dfac;font-size:31px;z-index:32;display:flex;justify-content:center;align-items:center;box-shadow:0 4px 22px #0009}.touch-mode #inventory-close:after{content:"Закрыть";position:absolute;top:62px;font:10px Segoe UI,sans-serif;color:#ebdfbb}@media(max-width:600px){.touch-mode #bag-panel.has-bench .inventory-layout{grid-template-columns:1fr 1fr;grid-template-areas:"bag gear" "bench bench"}.touch-mode #inventory #bag-panel #craft-panel:not([hidden]){border-top:1px solid #bc8ee755;padding-top:9px}.touch-mode #bag-panel #bench-work{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto 1fr;gap:5px 12px}.touch-mode #bag-panel #bench-grid{grid-row:1/4;grid-column:1}.touch-mode #bag-panel #bench-preview,.touch-mode #bag-panel #bench-create,.touch-mode #bag-panel #bench-work>p{grid-column:2;margin:0}.touch-mode #bag-panel .workbench-title{min-height:34px}.touch-mode #bag-panel .cube-caption{display:none}}@media(orientation:landscape)and (max-height:550px){.touch-mode{--orbit-size:132px;--bag-x:163px;--bag-bottom:44px}.touch-mode #mobile-inspect{left:95px;bottom:115px}.touch-mode #mobile-selection{bottom:174px}.touch-mode #mobile-fire{padding-bottom:13px;padding-left:14px}.touch-mode #mobile-fire #mobile-main-icon{font-size:29px}.touch-mode #mobile-main-item{font-size:9px;max-width:95px}.touch-mode #joystick{width:103px;height:103px;bottom:16px}.touch-mode #inventory{padding-bottom:92px}.touch-mode #bag-panel,.touch-mode #bag-panel.expanded{max-height:calc(100dvh - 104px)}.touch-mode #cube-notification{bottom:147px;right:15px}.touch-mode #inventory-close{width:58px;height:58px}.touch-mode #inventory-close:after{top:55px}}#vitals-hud{position:fixed;left:38px;bottom:91px;z-index:6;display:flex;gap:12px;align-items:center;padding:11px 14px;background:#10292ddf;border:1px solid #bda66b55;border-radius:5px;font:11px Segoe UI,sans-serif;pointer-events:none;color:#e8dfc1}.vital{position:relative;width:107px;display:flex;justify-content:space-between;gap:10px;padding-bottom:9px}.vital strong{font-size:11px}.health>span{color:#ee999a}.mana>span{color:#96dbef}.vital>i{position:absolute;bottom:1px;left:0;right:0;height:4px;background:#050f1666;border-radius:3px;overflow:hidden}.vital b{display:block;height:100%;transition:width .2s;background:#d66e7c}.mana b{background:#70badb}.vital em{position:absolute;bottom:-3px;left:0;height:1px;background:#bfebff}.armor-value{font-size:16px;color:#d3c18b}.armor-value small{display:block;font-size:8px;color:#9bb5a9}.low-health .health{color:#ffadb1}#character-vitals{font:12px/1.65 Segoe UI,sans-serif;color:#d6d9b7;padding:9px 0;border-top:1px solid #bac9a433}#character-vitals small{display:block;color:#99c3c3;font-size:10px}#drink-potion{margin:8px 0;padding:10px 14px;background:#593444;border:1px solid #e08b9c99;border-radius:4px;font:12px Segoe UI,sans-serif;min-height:44px}#test-hit{font:11px Segoe UI,sans-serif;padding:9px 11px;margin-top:10px;border:1px solid #c88b7566;background:#48342f;color:#e4b5a0}body:not(.touch-mode) #magic-hud{bottom:161px}#defeat .panel{max-width:430px;text-align:center}#defeat h2{color:#e3b397}#defeat button{display:block;margin:12px auto}.touch-mode #vitals-hud{left:16px;top:61px;bottom:auto;padding:7px 9px;gap:8px;max-width:calc(100vw - 122px)}.touch-mode #quest{top:111px;width:calc(100vw - 32px);max-width:360px}.touch-mode .vital{width:89px;font-size:10px}.touch-mode .vital strong{font-size:10px}.touch-mode #character-vitals{font-size:10px;padding:7px 0}.touch-mode #character-vitals small{font-size:9px}.touch-mode #drink-potion{font-size:11px;padding:7px;width:100%}.touch-mode #magic-tuning-toggle{top:230px}.touch-mode #magic-tuning{top:266px;max-height:calc(100dvh - 280px);overflow:auto}@media(orientation:landscape)and (max-height:550px){.touch-mode #vitals-hud{left:50%;top:14px;transform:translate(-50%)}.touch-mode #quest{top:67px;width:205px}.touch-mode #magic-tuning-toggle{top:102px}.touch-mode #magic-tuning{top:143px;max-height:calc(100dvh - 153px)}}#world-hints{position:fixed;inset:0;pointer-events:none;z-index:7}.world-hint{position:absolute;transform:translate(-50%,-100%);max-width:160px;text-align:center;background:#143038ef;border:1px solid #81dcc488;border-radius:4px;padding:5px 8px;font:11px/1.3 Segoe UI,sans-serif;color:#bceee0;box-shadow:0 2px 8px #0007}.world-hint:after{content:"";position:absolute;left:calc(50% - 3px);bottom:-4px;width:6px;height:6px;transform:rotate(45deg);background:#9de1c9}.world-hint.near{color:#ffe4a1;border-color:#e3c075;background:#3b3926ef}#hint-status{position:fixed;bottom:76px;left:50%;transform:translate(-50%);z-index:8;background:#163c3dec;border:1px solid #a1e5ca88;border-radius:5px;color:#d0f3d7;padding:9px 15px;font:12px Segoe UI,sans-serif;pointer-events:none;max-width:90vw;text-align:center}body:has(#subtitle.show) #world-hints[data-mode=near] .near{visibility:hidden}.touch-mode .world-hint{font-size:9px;max-width:120px;padding:4px}#guide{z-index:35;padding:18px}#guide .guide-panel{width:870px;max-width:100%;max-height:calc(100dvh - 36px);overflow:auto;padding:25px}.guide-panel>header{display:flex;justify-content:space-between;align-items:start;gap:20px}.guide-panel h2{margin:5px 0 20px;font-size:33px}#guide-close{font:32px Segoe UI,sans-serif;background:none;border:1px solid #b0c3a44d;border-radius:5px;min-width:44px;height:44px;flex-shrink:0}.guide-basics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.guide-basics article{padding:15px;border:1px solid #bdab6c66;background:#0e272c;border-radius:5px}.guide-basics b{display:block;color:#e4c47f;font:700 14px Segoe UI,sans-serif;margin-bottom:13px}.guide-basics strong{font-size:18px;font-weight:400;display:block}.guide-panel p{font:12px/1.6 Segoe UI,sans-serif;margin:8px 0;color:#b8cfc2}.guide-keys{display:grid;grid-template-columns:200px 1fr;gap:8px 16px;padding:15px 0;border-bottom:1px solid #bbd2b133;font:12px/1.5 Segoe UI,sans-serif}.guide-keys dt{color:#d6c593}.guide-keys dd{margin:0;color:#adc4b8}.guide-details{display:grid;grid-template-columns:1fr 1fr;gap:25px}.guide-details h3{font:20px Georgia;margin:7px 0}.guide-touch{display:none}#guide-done{margin:18px auto 0;min-width:0;padding:13px 21px;font-size:13px}.touch-mode .guide-desktop{display:none}.touch-mode .guide-touch{display:block}#start-guide{display:block;font:13px Segoe UI,sans-serif;color:#e3c98f;margin:12px 0 0;padding:4px 0}#pause-guide{display:block;margin:15px 0}.touch-mode .toolbar{gap:4px}.touch-mode #hud .icon-button{width:34px;height:36px}.touch-mode .brand{font-size:15px;gap:5px;letter-spacing:2px}.touch-mode .brand-mark{font-size:25px}.touch-mode #guide{padding:10px}.touch-mode #guide .guide-panel{max-height:calc(100dvh - 20px);padding:17px}.touch-mode #guide p{font-size:12px}.touch-mode #guide-close{min-height:44px}@media(max-width:650px){.guide-basics,.guide-details{grid-template-columns:1fr;gap:9px}.guide-basics article{padding:11px}.guide-basics b{margin-bottom:5px}.guide-keys{grid-template-columns:130px 1fr;font-size:11px;gap:8px}.guide-panel h2{font-size:27px}.guide-details{margin-top:15px}}#cube-link{position:fixed;bottom:22px;right:25px;z-index:10;width:65px;height:65px;border:1px solid #9acfb6;background:radial-gradient(#518d7a,#153f42);border-radius:12px;color:#cdf6de;box-shadow:0 0 20px #7acbae33;padding:4px}#cube-link span{font-size:35px;line-height:1;display:block}#cube-link small{font:10px Segoe UI,sans-serif}.speaking{filter:brightness(1.5);box-shadow:0 0 23px #9bdcca!important}#cube-speech{position:fixed;z-index:37;width:max-content;max-width:min(300px,calc(100vw - 24px));padding:13px 16px;border:2px solid #7ca693;border-radius:15px;background:#e5f2df;color:#24413a;font:14px/1.5 Segoe UI,sans-serif;box-shadow:3px 5px #061e2480;pointer-events:none}#cube-speech strong{display:block;font:700 10px Segoe UI,sans-serif;text-transform:uppercase;letter-spacing:1px;color:#558068;margin-bottom:6px}#cube-speech p{margin:0}#cube-speech:after{content:"";position:absolute;bottom:-10px;left:var(--tail-x);width:16px;height:16px;transform:rotate(45deg);background:#e5f2df;border-bottom:2px solid #7ca693;border-right:2px solid #7ca693}.touch-mode #cube-speech{font-size:12px;max-width:260px}body:has(#inventory:not([hidden])) #subtitle{z-index:37}#hotbar{position:fixed;bottom:18px;left:50%;transform:translate(-50%);z-index:34;display:flex;gap:5px;padding:6px;background:#102b30ed;border:1px solid #b5a47780;border-radius:8px;max-width:calc(100vw - 30px);font-family:Segoe UI,sans-serif}#hotbar-slots{display:flex;gap:4px;min-width:0;flex:1}.hot-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:48px;height:54px;flex:1;min-width:0;background:linear-gradient(145deg,#36534a,#193139);border:1px solid #b7b68766;border-radius:4px;padding:2px;color:#efd8a1;touch-action:none}.hot-slot>span{font-size:25px;line-height:1}.hot-slot small{font-size:7px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.hot-slot b{position:absolute;top:1px;right:2px;font-size:11px;text-shadow:0 1px 4px #000;background:#132c34}.hot-slot:disabled{opacity:.4}.hot-slot.chosen{border:2px solid #eacc82;box-shadow:0 0 12px #e8cf6655}.hot-slot .tile-stack{transform:scale(.65);height:25px;margin:-4px}.hot-slot .tile-stack i{font-size:24px}#hotbar-pages{display:flex;flex-direction:column;width:27px;justify-content:center;align-items:center}#hotbar-pages button{border:0;background:#284b48;width:27px;min-height:23px;padding:0;color:#e7d6ac}#hotbar-page{font-size:9px;line-height:12px}#hotbar-actions{position:absolute;bottom:calc(100% + 8px);left:0;width:100%;padding:12px;background:#183c3df5;border:1px solid #ddc882;border-radius:6px;box-shadow:0 4px 20px #0009;color:#f0deb1}#hotbar-actions>strong,#hotbar-actions>small{display:block;font-size:13px;margin-bottom:6px}#hotbar-actions>small{font-size:10px;color:#acbcb2}#hotbar-actions>div{display:flex;gap:5px;flex-wrap:wrap}#hotbar-actions button{flex:1;padding:10px 5px;background:#385f50;border:1px solid #9abd9566;border-radius:4px;font:12px Segoe UI,sans-serif;min-height:44px}#touch-drag-ghost{position:fixed;z-index:100;pointer-events:none;transform:translate(-50%,-50%);font-size:45px;color:#ffdf86;text-shadow:0 0 12px #fff;background:#173936cc;border:1px solid #e2c77b;border-radius:12px;width:58px;height:58px;text-align:center}.touch-mode #hotbar{left:12px;right:80px;bottom:calc(12px + env(safe-area-inset-bottom));transform:none;max-width:none;padding:4px}.touch-mode .hot-slot{height:48px;width:auto;min-height:48px}.touch-mode #hotbar-pages button{min-height:20px}.touch-mode #hotbar-slots{gap:3px}.touch-mode #joystick{left:calc(16px + env(safe-area-inset-left));right:auto;bottom:calc(111px + env(safe-area-inset-bottom));width:108px;height:108px}.touch-mode #mobile-fire,.touch-mode #mobile-inspect{left:auto;right:calc(14px + env(safe-area-inset-right));bottom:calc(191px + env(safe-area-inset-bottom));width:64px;height:64px;border:1px solid #c6ae74;border-radius:50%;padding:5px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(at 30% 20%,#45675c,#14343c);gap:1px}.touch-mode #mobile-inspect,.touch-mode[data-action-order=action-bottom] #mobile-fire{bottom:calc(115px + env(safe-area-inset-bottom))}.touch-mode[data-action-order=action-bottom] #mobile-inspect{bottom:calc(191px + env(safe-area-inset-bottom))}.touch-mode #mobile-fire #mobile-main-icon{font-size:25px;margin:0}.touch-mode #mobile-main-label{font-size:10px}.touch-mode #mobile-main-item{display:none}.touch-mode #mobile-inspect span{font-size:9px}.touch-mode #mobile-bag{left:auto;right:calc(12px + env(safe-area-inset-right));bottom:calc(14px + env(safe-area-inset-bottom));width:56px;height:56px}.touch-mode #mobile-bag span{font-size:8px}.touch-mode #mobile-selection{display:none!important}.touch-mode #inventory{padding:10px 8px 126px;align-items:center}.touch-mode #bag-panel,.touch-mode #bag-panel.expanded{max-height:calc(100dvh - 146px)}.touch-mode #bag-panel .bag-column{display:none!important}.touch-mode #bag-panel .inventory-layout{grid-template-columns:1fr;grid-template-areas:"gear"}.touch-mode #bag-panel.has-bench .inventory-layout,.touch-mode #bag-panel.tutorial-locked.has-bench .inventory-layout{grid-template-columns:1fr 1fr;grid-template-areas:"bench gear";gap:12px}.touch-mode #inventory #bag-panel #equipment-panel{padding-left:8px}.touch-mode #inventory #bag-panel #craft-panel:not([hidden]){padding-top:0;border-top:0}.touch-mode #bag-panel #bench-work{display:block}.touch-mode #bag-panel #bench-grid{margin-bottom:8px}.touch-mode #inventory-close{left:auto;top:auto;right:calc(12px + env(safe-area-inset-right));bottom:calc(14px + env(safe-area-inset-bottom));transform:none;width:56px;height:56px}.touch-mode #inventory-close:after{display:none}.touch-mode #inventory-touch-actions{display:none!important}.touch-mode #bag-panel.tutorial-locked:has(#cube-conversation:not([hidden])) .inventory-layout{grid-template-columns:1fr;grid-template-areas:"bench"}.touch-mode #inventory #bag-panel.tutorial-locked:has(#cube-conversation:not([hidden])) #equipment-panel{display:none!important}.touch-mode #magic-hud{bottom:275px;right:14px;left:auto}.touch-mode #cube-notification{bottom:275px}.touch-mode #quest{top:68px}@media(orientation:landscape)and (max-height:550px){.touch-mode #hotbar{left:50%;right:auto;transform:translate(-50%);width:310px}.touch-mode #joystick{bottom:24px}.touch-mode #mobile-inspect{bottom:90px}.touch-mode #mobile-fire{bottom:164px}.touch-mode[data-action-order=action-bottom] #mobile-fire{bottom:90px}.touch-mode[data-action-order=action-bottom] #mobile-inspect{bottom:164px}.touch-mode #bag-panel,.touch-mode #bag-panel.expanded{max-width:calc(100vw - 110px)}.touch-mode #magic-hud{bottom:240px}}body #audio-settings{display:none!important}#interface-settings{z-index:38}#interface-settings select{display:block;width:100%;margin:10px 0 20px;padding:12px;background:#183a3c;color:#e6d8b4;border:1px solid #a5ba9770;border-radius:4px;font-size:13px}#audio-mute{display:block;width:100%;padding:13px;border:1px solid #abbc9177;background:#2d5048;color:#e8ddb9;margin-top:18px;border-radius:4px}body:not(.playing) #hud{z-index:12}body:not(.playing) #hud .brand,body:not(.playing) #hud .chapter,body:not(.playing) #hud .toolbar>button:not(#sound):not(#interface-button){visibility:hidden}body #vitals-hud{inset:auto auto 93px 50%;transform:translate(-50%);width:458px;max-width:calc(100vw - 30px);padding:0;background:none;border:0;gap:12px;justify-content:space-between;z-index:8}body #vitals-hud .vital{width:50%;font-size:10px;padding-bottom:7px}body #vitals-hud .vital strong{font-size:10px}.armor-value{display:none!important}body[data-vitals=orbs] #vitals-hud{bottom:18px;width:610px;max-width:calc(100vw - 20px)}body[data-vitals=orbs] #vitals-hud .vital{border:2px solid #c4ae70;border-radius:50%;width:66px;height:66px;overflow:hidden;isolation:isolate;background:radial-gradient(circle at 35% 25%,#34424e,#030c11);display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0;gap:2px;box-shadow:inset 0 0 12px #000,0 0 12px #0008}body[data-vitals=orbs] .vital>i{inset:auto 0 0;height:var(--fill);border-radius:0;z-index:-1;background:linear-gradient(0deg,#5f162e,#ce5369);border-top:1px solid #ffadb0;transition:height .2s}body[data-vitals=orbs] .vital.mana>i{background:linear-gradient(0deg,#133963,#498ac4);border-color:#a2dcff}body[data-vitals=orbs] .vital b{display:none}body[data-vitals=orbs] .vital strong,body[data-vitals=orbs] .vital>span{text-shadow:0 1px 4px #000;color:#fff}body[data-vitals=orbs] .vital em{display:none}.touch-mode #vitals-hud{inset:auto 80px 78px 12px;transform:none;width:auto;max-width:none;gap:10px}.touch-mode[data-vitals=orbs] #vitals-hud{left:12px;right:80px;bottom:77px;width:auto;max-width:none}.touch-mode[data-vitals=orbs] #vitals-hud .vital{width:44px;height:44px;font-size:8px}.touch-mode[data-vitals=orbs] #vitals-hud .vital strong{font-size:9px}.touch-mode .toolbar{gap:3px}.touch-mode .icon-button{width:34px;height:36px}.touch-mode .brand{font-size:14px;letter-spacing:1px}@media(orientation:landscape)and (max-height:550px){.touch-mode #vitals-hud,.touch-mode[data-vitals=orbs] #vitals-hud{left:50%;right:auto;transform:translate(-50%);width:305px;bottom:78px}.touch-mode[data-vitals=orbs] #vitals-hud{width:420px;bottom:18px}}body{--dock-cell:48px;--dock-core:80px;--flask:52px;--dock-gap:5px;--thumb:54px;--dock-bottom: calc(22px + env(safe-area-inset-bottom)) }body:is(.touch-mode,:not(.touch-mode)) #hotbar{left:50%;right:auto;bottom:var(--dock-bottom);width:max-content;max-width:calc(100vw - 16px);transform:translate(-50%);display:block;padding:12px calc(var(--flask) + 14px);border:1px solid #aa986a80;border-radius:12px;background:linear-gradient(#31453ce8,#101f25f5);box-shadow:0 6px 20px #0009,inset 0 0 0 3px #ac9c6720;overflow:visible}body:is(.touch-mode,:not(.touch-mode)) #hotbar:before{display:none}body:is(.touch-mode,:not(.touch-mode)) #hotbar-slots{display:grid;grid-template-columns:1fr var(--dock-core) 1fr;gap:0}body .hotbar-half{display:flex;gap:var(--dock-gap)}body .hotbar-left{grid-column:1}body .hotbar-right{grid-column:3}body:is(.touch-mode,:not(.touch-mode)) #hotbar .hot-slot{width:var(--dock-cell);height:var(--dock-cell);min-width:0;min-height:0;flex:none;padding:2px;border-radius:4px;border:1px solid #b4af7866;background:linear-gradient(145deg,#3c5247,#172d32);box-shadow:inset 1px 1px #edddb618,inset -2px -2px #020e1555}body:is(.touch-mode,:not(.touch-mode)) #hotbar .hot-slot>span{font-size:27px}body:is(.touch-mode,:not(.touch-mode)) #hotbar .hot-slot small{display:none}body:is(.touch-mode,:not(.touch-mode)) #hotbar .hot-slot b{font-size:12px}body:is(.touch-mode,:not(.touch-mode)) #hotbar .hot-slot.chosen{border-color:#ffdea0;box-shadow:0 0 10px #cfb66e66}body:is(.touch-mode,:not(.touch-mode)) #hotbar #mobile-bag{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:var(--dock-core);height:var(--dock-core);display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:radial-gradient(#0e2527,#1d3938 60%,transparent 72%);box-shadow:none;overflow:visible;z-index:2}body:is(.touch-mode,:not(.touch-mode)) #hotbar #mobile-bag img{width:100%;height:100%;object-fit:contain;pointer-events:none}body:is(.touch-mode,:not(.touch-mode)) #hotbar #mobile-bag:disabled{opacity:1;cursor:default}body:is(.touch-mode,:not(.touch-mode)) #hotbar #mobile-bag[data-cube=true]{filter:drop-shadow(0 0 7px #78d9b73a)}body:is(.touch-mode,:not(.touch-mode)) #hotbar-pages{position:absolute;left:50%;bottom:calc(100% + 7px);transform:translate(-50%);width:110px;height:28px;display:flex;flex-direction:row;justify-content:space-between;gap:4px;align-items:center;background:#132d30ee;border:1px solid #a7956566;border-radius:6px}body:is(.touch-mode,:not(.touch-mode)) #hotbar-pages button{width:34px;min-height:28px;border:0;background:transparent;font-size:22px;line-height:22px}body:is(.touch-mode,:not(.touch-mode)) #hotbar-page{font-size:10px}body:is(.touch-mode,:not(.touch-mode)) #hotbar-actions{bottom:calc(100% + 45px);left:50%;transform:translate(-50%);width:min(340px,calc(100vw - 24px));z-index:3}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud{position:absolute;inset:0;display:block;transform:none;width:auto;max-width:none;padding:0;border:0;background:none;pointer-events:none}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital{position:absolute;top:50%;transform:translateY(-50%);width:var(--flask);height:calc(var(--flask) * 1.65);padding:0;display:block;border:3px solid #9e9066;border-radius:48% 48% 43% 43%;background:linear-gradient(115deg,#739c9944,#071720 40%,#193835);overflow:hidden;isolation:isolate;box-shadow:inset 2px 0 4px #f5f0bc66,inset -3px 0 4px #020d19,0 2px 6px #000a;font-family:Segoe UI,sans-serif;color:#fff4da}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .health{left:7px;--fluid:#bc394a;--fluid-deep:#59182d}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .mana{right:7px;left:auto;--fluid:#48afc3;--fluid-deep:#143d6a}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital>i{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;border-radius:0;background:none;z-index:-1;overflow:hidden}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital b{position:absolute;bottom:0;left:0;display:block;width:100%!important;height:var(--fill);background:radial-gradient(ellipse at 30% 0%,#ffffff55,transparent 65%),linear-gradient(var(--fluid),var(--fluid-deep));border-top:2px solid #dcffff77;box-shadow:0 -2px 8px var(--fluid);transition:height .35s ease}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital:after{content:"";position:absolute;inset:8% 12% 14% 8%;border-left:3px solid #f0ffff77;border-radius:50%;box-shadow:inset -1px 0 #d4f1db44;pointer-events:none}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital>span{position:absolute;top:25%;left:0;width:100%;text-align:center;font:600 10px Segoe UI,sans-serif;text-shadow:0 1px 4px #000,0 0 5px #000}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital strong{position:absolute;top:46%;left:0;width:100%;text-align:center;font:700 11px Segoe UI,sans-serif;white-space:nowrap;text-shadow:0 1px 3px #000,0 0 5px #000}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital em,body .desktop-vitals-setting{display:none}#cube-socket img{width:140%;height:140%;max-width:none;transform:rotate(-45deg)}body.touch-mode #joystick{left:calc(8px + env(safe-area-inset-left));right:auto;bottom:calc(8px + env(safe-area-inset-bottom));width:104px;height:104px}body.touch-mode #joystick-knob{width:var(--thumb);height:var(--thumb)}body.touch-mode #mobile-fire,body.touch-mode #mobile-inspect{left:auto;right:calc(14px + env(safe-area-inset-right));width:var(--thumb);height:var(--thumb);padding:4px;border-radius:50%;border:1px solid #c4b680;background:radial-gradient(at 35% 25%,#526e59,#172f34);box-shadow:0 4px 12px #0007;align-items:center;justify-content:center;gap:1px}body.touch-mode #mobile-inspect,body.touch-mode[data-action-order=action-bottom] #mobile-fire{bottom:calc(20px + env(safe-area-inset-bottom))}body.touch-mode #mobile-fire,body.touch-mode[data-action-order=action-bottom] #mobile-inspect{bottom:calc(101px + env(safe-area-inset-bottom))}body.touch-mode #mobile-main-icon{display:block;margin:0!important;line-height:1}body.touch-mode #mobile-main-icon svg{width:25px;height:25px;display:block}body.touch-mode #mobile-inspect svg{width:24px;height:24px;margin:0}body.touch-mode #mobile-main-label,body.touch-mode #mobile-inspect span{font-size:8px}body.touch-mode #inventory{padding:10px 8px 116px;align-items:center}body.touch-mode #bag-panel,body.touch-mode #bag-panel.expanded{max-height:calc(100dvh - 136px);max-width:calc(100vw - 16px);width:min(900px,calc(100vw - 16px));overflow-y:auto;overscroll-behavior:contain}body.touch-mode #inventory-close{left:auto;top:auto;right:12px;bottom:calc(101px + env(safe-area-inset-bottom));transform:none;width:48px;height:48px}body.touch-mode #magic-hud,body.touch-mode #cube-notification{bottom:185px}body:not(.touch-mode) #mobile-character{display:none}@media(max-width:650px){body{--dock-cell:clamp(36px,10.8vw,48px);--dock-core:58px;--flask:32px;--dock-gap:3px}body:is(.touch-mode,:not(.touch-mode)) #hotbar{padding:9px calc(var(--flask) + 8px)}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .health{left:3px}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .mana{right:3px}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital{border-width:2px}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital strong{font-size:8px}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital>span{font-size:8px}body.touch-mode #joystick{bottom:calc(96px + env(safe-area-inset-bottom))}body.touch-mode #mobile-inspect,body.touch-mode[data-action-order=action-bottom] #mobile-fire{bottom:calc(108px + env(safe-area-inset-bottom))}body.touch-mode #mobile-fire,body.touch-mode[data-action-order=action-bottom] #mobile-inspect{bottom:calc(189px + env(safe-area-inset-bottom))}body.touch-mode #inventory{padding:8px 8px 132px;align-items:start}body.touch-mode #bag-panel,body.touch-mode #bag-panel.expanded{max-height:calc(100dvh - 148px);padding:12px}body.touch-mode #bag-panel.has-bench .inventory-layout{grid-template-columns:1fr!important;grid-template-areas:"bench" "gear"!important}body.touch-mode #inventory #bag-panel #equipment-panel{border-left:0;padding:10px 0 0;border-top:1px solid #b7a57344}body.touch-mode #bag-panel #bench-work{display:grid;grid-template-columns:minmax(130px,1fr) 1fr;gap:8px}body.touch-mode #bag-panel .paper-doll{height:208px;max-width:300px;margin:auto}body.touch-mode #bag-panel .equipment-slot{width:74px;max-width:74px}body.touch-mode #bag-panel #character-stats,body.touch-mode #bag-panel #character-vitals{font-size:11px}body.touch-mode #magic-hud,body.touch-mode #cube-notification{bottom:265px}body.touch-mode #hud .toolbar{gap:3px}body.touch-mode #hud .toolbar .icon-button{width:30px;height:32px;font-size:18px}}@media(min-width:651px)and (max-width:950px){body{--dock-cell:38px;--dock-core:68px;--flask:43px;--dock-gap:4px}}body:is(.touch-mode,:not(.touch-mode)) #subtitle,body.touch-mode #subtitle{background:#f3efdbce;text-shadow:0 0 3px #f3efdb88;box-shadow:2px 4px 9px #081d2444}body:is(.touch-mode,:not(.touch-mode)) #subtitle:after{background:#f3efdbce}body:is(.touch-mode,:not(.touch-mode)) #speech-bubble{background:#f0eedcce;box-shadow:2px 4px 9px #081d2444;text-shadow:0 0 3px #f0eedc88}body:is(.touch-mode,:not(.touch-mode)) #speech-bubble:after{background:#f0eedcce}body:is(.touch-mode,:not(.touch-mode)) #cube-speech{background:#e5f2dfce;text-shadow:0 0 3px #e5f2df88;box-shadow:2px 4px 9px #081d2444}body:is(.touch-mode,:not(.touch-mode)) #cube-speech:after{background:#e5f2dfce}@media(prefers-reduced-motion:no-preference){body:is(.touch-mode,:not(.touch-mode)) #mobile-bag[data-cube=true] img{animation:core-pulse 4s ease-in-out infinite}@keyframes core-pulse{50%{filter:brightness(1.18);transform:translateY(-1px)}}}#phone-section-arrows,#phone-item-actions{display:none}body.phone-mode{--dock-core:64px;--flask:30px}body.phone-mode #hotbar #hotbar-slots,body.phone-mode #hotbar #hotbar-pages,body.phone-mode #hotbar #hotbar-actions{display:none!important}body.phone-mode #inventory{padding:8px 8px 108px;align-items:stretch;overflow:hidden}body.phone-mode #inventory #bag-panel{width:100%;height:100%;max-height:none;min-height:0;padding:54px 10px 8px;overflow:hidden;position:relative;transform:none;box-sizing:border-box}body.phone-mode #inventory #bag-panel .inventory-tabs{display:flex;position:absolute;left:43px;right:43px;top:5px;height:44px;gap:3px;margin:0;border:0}body.phone-mode #inventory #bag-panel .inventory-tabs button{flex:1;min-width:0;min-height:44px;padding:3px;font:12px Segoe UI,sans-serif;border:1px solid #a7b18c44;border-radius:4px;background:#1c393a;color:#aebdab}body.phone-mode #inventory #bag-panel .inventory-tabs button.selected{color:#f3ddb1;background:#405b48;border-color:#baa270}body.phone-mode #inventory #bag-panel .inventory-layout,body.phone-mode #inventory #bag-panel.has-bench .inventory-layout{position:relative;display:block!important;width:100%;height:100%;min-height:0;gap:0;left:auto;top:auto;transform:none}body.phone-mode #inventory #bag-panel.tutorial-locked{padding-top:88px}body.phone-mode #inventory #bag-panel #workshop-lock-note{position:absolute;top:52px;left:10px;right:10px;margin:0;padding:2px;font-size:11px;line-height:1.3}body.phone-mode #inventory #bag-panel .bag-column,body.phone-mode #inventory #bag-panel #craft-panel,body.phone-mode #inventory #bag-panel #equipment-panel{display:none!important;width:100%;min-width:0;padding:0;border:0;box-sizing:border-box;height:100%;overflow:hidden}body.phone-mode #inventory #bag-panel[data-view=bag] .bag-column{display:flex!important;flex-direction:column;gap:5px}body.phone-mode #inventory #bag-panel[data-view=bench] #craft-panel:not([hidden]),body.phone-mode #inventory #bag-panel[data-view=character] #equipment-panel{display:block!important}body.phone-mode #inventory #bag-panel .bag-heading,body.phone-mode #inventory #bag-panel .cube-caption,body.phone-mode #inventory #bag-panel .panel-foot,body.phone-mode #inventory #bag-panel #equipment-panel>p:last-child{display:none}body.phone-mode #inventory #bag-panel #slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(40px,1fr);gap:5px;margin:0;min-height:0;flex:1}body.phone-mode #inventory #bag-panel #slots .slot{height:auto;min-height:40px;max-height:85px;padding:3px}body.phone-mode #inventory #bag-panel .slot .item-icon{font-size:25px}body.phone-mode #inventory #bag-panel .slot small{font-size:10px;white-space:nowrap;text-overflow:ellipsis;line-height:1.15}body.phone-mode #inventory #bag-panel #bag-pages{display:flex;align-items:center;justify-content:center;gap:22px;height:44px;flex-shrink:0;margin:0}body.phone-mode #inventory #bag-panel #bag-pages button{min-height:44px;min-width:48px}body.phone-mode #inventory #bag-panel #phone-item-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;flex-shrink:0}body.phone-mode #inventory #bag-panel #phone-item-actions button{font-size:12px;padding:4px;min-height:44px}body.phone-mode #inventory #bag-panel #phone-section-arrows{display:block}body.phone-mode #phone-section-arrows button{position:absolute;top:5px;width:42px;height:44px;min-height:44px;font-size:26px;background:none;color:#dfc893;padding:0}#phone-section-prev{left:1px}#phone-section-next{right:1px}body.phone-mode #inventory #bag-panel #inventory-filters{margin:0;flex-shrink:0;gap:4px}body.phone-mode #inventory #bag-panel #inventory-filters input{font-size:16px}body.phone-mode #inventory #bag-panel #inventory-filter{width:auto;flex:1;font-size:12px}body.phone-mode #inventory #bag-panel .workbench-title{height:42px;margin:0}body.phone-mode #inventory #bag-panel .workbench-title .eyebrow,body.phone-mode #inventory #bag-panel #equipment-panel>.eyebrow{display:none}body.phone-mode #inventory #bag-panel h2{font-size:23px;margin:0 0 3px}body.phone-mode #inventory #bag-panel #recipe-book-toggle{min-height:44px;padding:6px;margin:4px 0}body.phone-mode #inventory #bag-panel #bench-work{display:flex;flex-direction:column;gap:5px;height:calc(100% - 94px)}body.phone-mode #inventory #bag-panel #bench-grid{flex:1;min-height:126px;grid-template-rows:repeat(3,minmax(40px,1fr));gap:5px;margin:0}body.phone-mode #inventory #bag-panel #bench-grid .slot{height:auto;min-height:40px;max-height:86px;padding:3px}body.phone-mode #inventory #bag-panel #bench-preview{font-size:12px;margin:0;min-height:0}body.phone-mode #inventory #bag-panel #bench-create,body.phone-mode #inventory #bag-panel #bench-recycle button{min-height:44px;padding:6px;font-size:13px}body.phone-mode #inventory #bag-panel #bench-recycle{margin:0}body.phone-mode #inventory #bag-panel #bench-work>p{font-size:11px;line-height:1.3;margin:0}body.phone-mode #inventory #bag-panel #cube-conversation{height:calc(100% - 96px);overflow-y:auto;touch-action:pan-y}body.phone-mode #inventory #bag-panel #cube-text{font-size:14px;line-height:1.4;margin:8px 0 12px}body.phone-mode #inventory #bag-panel #cube-answers button{font-size:13px;min-height:44px;padding:8px;margin:5px 0}body.phone-mode #inventory #bag-panel #recipe-book{height:calc(100% - 96px);overflow-y:auto;touch-action:pan-y}body.phone-mode #inventory #bag-panel #character-status{font-size:12px;line-height:1.2;margin:0 0 4px}body.phone-mode #inventory #bag-panel .paper-doll{height:238px;max-width:350px;margin:0 auto;float:none;width:100%}body.phone-mode #inventory #bag-panel .equipment-slot{width:82px;max-width:82px;height:44px;min-height:44px;padding:2px;left:auto;right:auto}body.phone-mode #inventory #bag-panel .equipment-slot small{font-size:10px}body.phone-mode #inventory #bag-panel .equipment-slot>span{font-size:19px}body.phone-mode #inventory #bag-panel .voxel-avatar{top:45px;height:186px;min-width:100px;width:45%;transform:translate(-50%)}body.phone-mode #inventory #bag-panel .eq-head{top:0;left:50%;transform:translate(-50%)}body.phone-mode #inventory #bag-panel .eq-chest,body.phone-mode #inventory #bag-panel .eq-hands,body.phone-mode #inventory #bag-panel .eq-weapon,body.phone-mode #inventory #bag-panel .eq-feet{left:0}body.phone-mode #inventory #bag-panel .eq-neck,body.phone-mode #inventory #bag-panel .eq-bracelet,body.phone-mode #inventory #bag-panel .eq-ringLeft,body.phone-mode #inventory #bag-panel .eq-ringRight{right:0}body.phone-mode #inventory #bag-panel .eq-chest,body.phone-mode #inventory #bag-panel .eq-neck{top:48px}body.phone-mode #inventory #bag-panel .eq-hands,body.phone-mode #inventory #bag-panel .eq-bracelet{top:95px}body.phone-mode #inventory #bag-panel .eq-weapon,body.phone-mode #inventory #bag-panel .eq-ringLeft{top:142px}body.phone-mode #inventory #bag-panel .eq-feet,body.phone-mode #inventory #bag-panel .eq-ringRight{top:189px}body.phone-mode #inventory #bag-panel #character-vitals,body.phone-mode #inventory #bag-panel #character-stats{font-size:12px;line-height:1.25;margin:4px 0 0;padding:5px 0 0}body.phone-mode #inventory #bag-panel #character-vitals>div{margin:0 0 2px}body.phone-mode #inventory #bag-panel #character-stats span{font-size:11px;line-height:1.3;margin:2px 0}body.phone-mode #inventory-close{bottom:calc(24px + env(safe-area-inset-bottom));right:16px;width:48px;height:48px}body.phone-mode #joystick{bottom:116px}body.phone-mode #mobile-inspect{bottom:122px}body.phone-mode #mobile-fire{bottom:203px}@media(orientation:landscape){body.phone-mode #inventory{padding:6px 64px 78px}body.phone-mode #inventory #bag-panel{padding-top:52px}body.phone-mode #inventory #bag-panel.tutorial-locked{padding-top:82px}body.phone-mode #inventory #bag-panel[data-view=bag] .bag-column{display:grid!important;grid-template-columns:minmax(0,3fr) minmax(0,2fr);grid-template-rows:44px minmax(0,1fr) 44px;gap:4px 10px}body.phone-mode #inventory #bag-panel #inventory-filters{grid-column:1;grid-row:1}body.phone-mode #inventory #bag-panel #slots{grid-column:1;grid-row:2/4;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(40px,1fr)}body.phone-mode #inventory #bag-panel #bag-pages{grid-column:2;grid-row:3}body.phone-mode #inventory #bag-panel #phone-item-actions{grid-column:2;grid-row:1/3;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}body.phone-mode #inventory #bag-panel #learn-held-recipe{grid-column:2;grid-row:1}body.phone-mode #inventory #bag-panel #bench-work{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto 44px 44px;gap:5px 10px}body.phone-mode #inventory #bag-panel #bench-grid{grid-column:1;grid-row:1/4;min-height:0}body.phone-mode #inventory #bag-panel #bench-work>p{display:none}body.phone-mode #inventory #bag-panel #bench-preview,body.phone-mode #inventory #bag-panel #bench-create,body.phone-mode #inventory #bag-panel #bench-recycle{grid-column:2}body.phone-mode #inventory #bag-panel #cube-conversation{display:grid;grid-template-columns:1fr 1fr;gap:5px 12px}body.phone-mode #inventory #bag-panel #cube-conversation>.eyebrow{display:none}body.phone-mode #inventory #bag-panel #cube-text{grid-column:1;font-size:13px;margin:0}body.phone-mode #inventory #bag-panel #cube-answers{grid-column:2;grid-row:1}body.phone-mode #inventory #bag-panel #cube-answers button{font-size:12px;margin:0 0 5px}body.phone-mode #inventory #bag-panel[data-view=character] #equipment-panel{display:grid!important;grid-template-columns:52% 48%;grid-template-rows:24px 20px 1fr;gap:0}body.phone-mode #inventory #bag-panel #equipment-panel>h2,body.phone-mode #inventory #bag-panel #character-status,body.phone-mode #inventory #bag-panel #character-vitals,body.phone-mode #inventory #bag-panel #character-stats{grid-column:2;margin-left:8px}body.phone-mode #inventory #bag-panel .paper-doll{grid-column:1;grid-row:1/5;height:100%;min-height:230px}body.phone-mode #joystick{bottom:8px}body.phone-mode #mobile-inspect{bottom:16px}body.phone-mode #mobile-fire{bottom:97px}body.phone-mode #hotbar{bottom:12px}body.phone-mode #inventory-close{bottom:13px}}body:is(.touch-mode,:not(.touch-mode)){--flask:42px}body:is(.touch-mode,:not(.touch-mode)) #hotbar{padding:12px calc(var(--flask) + 8px);background:none;border:0;box-shadow:none}body:is(.touch-mode,:not(.touch-mode)) #hotbar:before{content:"";display:block;position:absolute;inset:4px calc(var(--flask) / 2);border:1px solid #b09c6b99;border-radius:4px;background:linear-gradient(#344c42ed,#14262bef);box-shadow:inset 0 0 0 3px #a5936133,0 5px 14px #0007;z-index:-1;pointer-events:none}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital{height:106px;width:var(--flask);border:2px solid #b4d1ccd0;border-top:0;border-radius:3px 3px 20px 20px;background:linear-gradient(90deg,#d9fff52e,#92c4c413 23%,#15262d66 55%,#d1fff447 90%,#f1fff65e);box-shadow:inset 3px 0 2px #fff9,inset -3px 0 3px #001b2999,0 0 0 1px #526c6c,0 3px 8px #0008;overflow:visible}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .health{left:0}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .mana{right:0}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital:before{content:"";position:absolute;left:-4px;right:-4px;top:-5px;height:8px;background:linear-gradient(#f0f9e8,#a7b9a7 25%,#293d40,#ccdecc 65%,#687d76);border:1px solid #526962;border-radius:5px;box-shadow:0 2px 3px #0006;z-index:3}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital:after{inset:8px 5px 10px;border-radius:2px 2px 15px 15px;border-left:2px solid #f0ffffb8;background:repeating-linear-gradient(0deg,transparent 0 9px,#d7e3cb88 9px 10px) right 4px top 5px / 4px 65% no-repeat;box-shadow:inset -1px 0 #d4f1db66}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital>i{inset:5px 4px 4px;width:auto;height:auto;border-radius:0 0 14px 14px;overflow:hidden}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital b{background:linear-gradient(90deg,#ffffff55,var(--fluid) 25%,var(--fluid-deep) 80%,#cfffff55);border-top:2px solid #eeffffaa;box-shadow:inset 0 3px 3px #fff5,0 -2px 6px var(--fluid)}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital>span{top:35%;font-size:10px}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital strong{top:51%;font-size:10px}body:is(.touch-mode,:not(.touch-mode)) #hotbar{bottom:calc(34px + env(safe-area-inset-bottom))}body #hotbar .hot-slot kbd{position:absolute;left:3px;top:2px;font:9px Segoe UI,sans-serif;color:#c6cdb4;background:none;border:0;padding:0;box-shadow:none}body #hotbar .hot-slot b{top:auto!important;bottom:2px}body #hotbar #mobile-bag[data-cube=false] img{width:85%;height:85%;filter:drop-shadow(0 2px 4px #0008)}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital{transform:translateY(-50%) translateY(calc(2.5px * var(--flask-scale,.58))) scale(var(--flask-scale,.58));transform-origin:center}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital>span,body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital strong{font-size:calc(9px / var(--flask-scale,.58))}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital{pointer-events:auto}body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital>span,body:is(.touch-mode,:not(.touch-mode)) #hotbar #vitals-hud .vital strong{display:none}.vital-tooltip{display:none;position:absolute;left:50%;top:-14px;transform:translate(-50%,-100%) scale(calc(1 / var(--flask-scale,.58)));transform-origin:bottom center;width:max-content;padding:6px 9px;border:1px solid #b5a57488;border-radius:4px;background:#10292df2;color:#f3ead2;font:12px Segoe UI,sans-serif;pointer-events:none;box-shadow:0 3px 10px #0006;z-index:5}.vital:is(:hover,:focus-visible) .vital-tooltip{display:block}body #hotbar .potion-slot svg{width:31px;height:34px;display:block}body #hotbar .potion-slot.health{color:#e5a4a7;border-color:#bb737777}body #hotbar .potion-slot.mana{color:#8ccadf;border-color:#73aebb77}body #hotbar .potion-slot.empty-potion svg{opacity:.45}body #hotbar .potion-slot.filled svg{filter:drop-shadow(0 0 3px currentColor)}body:not(.touch-mode) #hotbar{padding-left:calc(var(--flask) + 42px);padding-right:calc(var(--flask) + 42px)}.movement-buttons{position:absolute;top:50%;transform:translateY(-50%);display:grid;grid-template-rows:1fr 1fr;gap:3px;width:28px;height:calc(100% - 14px);z-index:3}.movement-left{left:calc(var(--flask) + 3px)}.movement-right{right:calc(var(--flask) + 3px)}.movement-buttons button{display:grid;place-items:center;min-height:0;width:28px;padding:1px;border:1px solid #a9ad7655;border-radius:3px;background:linear-gradient(#2c443d,#193033);color:#a7bcb0;cursor:pointer;touch-action:manipulation}.movement-buttons svg{height:100%;max-height:22px;width:22px;pointer-events:none}.movement-buttons button:is(:hover,:focus-visible){color:#fff0c8;border-color:#dfc382;outline:1px solid #dfc38255}.movement-buttons button[aria-pressed=true]{color:#ffe1a0;background:#536248;border-color:#e4c67f;box-shadow:inset 0 0 5px #ffe3a122}.movement-buttons button:disabled{opacity:.4;cursor:default}body.touch-mode .movement-buttons{display:none}#mana-crescent{position:absolute;left:0;top:72%;width:100%;height:auto;z-index:4;line-height:0;filter:drop-shadow(0 2px 3px #031519aa)}#mana-crescent svg{display:block;width:100%;height:auto;overflow:visible}#mana-crescent .mana-tooltip{display:none;position:absolute;top:100%;left:50%;transform:translate(-50%);width:max-content;padding:6px 9px;border:1px solid #b5a57488;border-radius:4px;background:#10292df2;color:#f3ead2;font:12px Segoe UI,sans-serif;pointer-events:none;box-shadow:0 3px 10px #0006}#mana-crescent:hover .mana-tooltip,#mobile-bag:focus-visible #mana-crescent .mana-tooltip{display:block}body #bag-panel #equipment-panel>h2{margin-bottom:3px}body #bag-panel #character-status{display:block;margin:0 0 10px;font:12px/1.4 Segoe UI,sans-serif;color:#ccb888}body #bag-panel #equipment-panel .paper-doll{height:355px;min-width:0}body #bag-panel #equipment-panel .voxel-avatar{left:50%;top:61px;width:clamp(150px,calc(100% - 150px),190px);height:290px;transform:translate(-50%);filter:drop-shadow(0 5px 8px #0005)}#hero-portrait{width:100%;height:100%;object-fit:contain}body #bag-panel #equipment-panel .equipment-slot{width:78px;height:56px;min-height:0}body #bag-panel #equipment-panel .eq-head{top:0;left:50%;right:auto;transform:translate(-50%)}body #bag-panel #equipment-panel .eq-chest{top:77px;left:0;right:auto}body #bag-panel #equipment-panel .eq-neck{top:77px;right:0;left:auto}body #bag-panel #equipment-panel .eq-weapon{top:209px;left:0;right:auto}body #bag-panel #equipment-panel .eq-bracelet{top:143px;right:0;left:auto}body #bag-panel #equipment-panel .eq-hands{top:143px;left:0;right:auto}body #bag-panel #equipment-panel .eq-feet{top:275px;left:0;right:auto}body #bag-panel #equipment-panel .eq-ringLeft{top:209px;right:0;left:auto}body #bag-panel #equipment-panel .eq-ringRight{top:275px;right:0;left:auto}body #bag-panel #character-vitals{font:12px/1.7 Segoe UI,sans-serif;color:#c9dacb;display:grid;gap:3px;padding-top:8px;border-top:1px solid var(--line)}.character-resources{display:flex;flex-wrap:wrap;gap:2px 12px}.character-resources small{color:#96aea4;font-size:10px}body #bag-panel #character-stats{margin-top:10px;font-size:11px;line-height:1.4}body #bag-panel #character-stats strong{font-size:12px}body #hotbar #vitals-hud.stamina-mode .mana{--fluid:#65cb72;--fluid-deep:#205839}@media(max-height:760px){body:not(.phone-mode) #bag-panel #equipment-panel .paper-doll{height:305px}body:not(.phone-mode) #bag-panel #equipment-panel .voxel-avatar{top:57px;height:246px;width:clamp(134px,calc(100% - 150px),174px)}body:not(.phone-mode) #bag-panel #equipment-panel .eq-chest,body:not(.phone-mode) #bag-panel #equipment-panel .eq-neck{top:63px}body:not(.phone-mode) #bag-panel #equipment-panel .eq-hands,body:not(.phone-mode) #bag-panel #equipment-panel .eq-bracelet{top:122px}body:not(.phone-mode) #bag-panel #equipment-panel .eq-weapon,body:not(.phone-mode) #bag-panel #equipment-panel .eq-ringLeft{top:181px}body:not(.phone-mode) #bag-panel #equipment-panel .eq-feet,body:not(.phone-mode) #bag-panel #equipment-panel .eq-ringRight{top:240px}}#bag-panel #cube-socket{position:relative;display:grid;place-items:center}#bag-panel #cube-socket img{position:absolute;width:140%;height:140%;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-45deg);object-fit:contain;max-width:none;margin:0}#bag-panel #item-description{white-space:pre-line;line-height:1.45}#bag-panel #bench-grid [data-bench="4"]{border:2px solid #dcba76;background:radial-gradient(#615442,#2e3039);box-shadow:inset 0 0 20px #dfb96d24}#bag-panel #bench-grid [data-bench="4"]:empty:after{content:"Предмет"}#recipe-book-toggle,#learn-held-recipe,#recipe-book button{background:#314b42;border:1px solid #b59c65;color:#f1dfb4;border-radius:4px;padding:8px 12px;font:12px Segoe UI,sans-serif}#recipe-book-toggle{width:100%;margin:0 0 12px}#recipe-book h3{font:22px Georgia;color:#e3c990;margin:8px 0 12px}.recipe-entry{padding:10px 0;border-top:1px solid #b7a57144;font:12px/1.4 Segoe UI,sans-serif}.recipe-entry strong,.recipe-entry small{display:block}.recipe-entry small{color:#acbbaa}.recipe-entry p{font-size:12px!important;line-height:1.4!important;margin:6px 0!important}.learned{color:#9de1b4;font-size:10px}.recipe-unknown{color:#94a296!important}#recipe-book .recipe-entry{position:relative;display:flex;align-items:center;gap:9px;padding:12px 0;border-top:1px solid #b7a57144}#recipe-book .recipe-entry>strong{flex:1;font-size:13px;font-weight:500}#recipe-book .recipe-help{flex:none;display:grid;place-items:center;width:32px;height:32px;min-height:0;padding:3px;border-radius:4px;background:#203d3a;color:#e6c888}#recipe-book .recipe-help svg{width:26px;height:26px;pointer-events:none}#recipe-book .learned{flex:none;white-space:nowrap;font:11px Segoe UI,sans-serif}#recipe-book .recipe-tooltip{position:absolute;top:calc(100% - 3px);left:0;width:100%;display:none;padding:14px 16px;z-index:25;border:1px solid #c3ac76;border-radius:5px;background:#142d30f5;box-shadow:0 10px 25px #0008;color:#e8e5ce;font:12px/1.5 Segoe UI,sans-serif;pointer-events:none}#recipe-book .recipe-help:hover~.recipe-tooltip,#recipe-book .recipe-help:focus-visible~.recipe-tooltip,#recipe-book .show-hint .recipe-tooltip{display:block}#recipe-book .recipe-tooltip>b{font:17px Georgia;color:#e1c88d}#recipe-book .recipe-tooltip small{color:#afc2b3}#pause-screen .pause-panel{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto}#pause-screen .pause-panel>button:not(.close){display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;margin:10px 0;padding:13px 16px;border:1px solid #88baa55c;border-radius:4px;background:#1c393bc9;color:#e3eddc;font:600 14px Segoe UI,sans-serif;text-align:left;letter-spacing:normal;box-shadow:none;text-decoration:none;cursor:pointer}#pause-screen .pause-panel>button:not(.close):is(:hover,:focus-visible){background:#36584b;border-color:#a8e0c7;outline:2px solid #a8e0c744;outline-offset:2px}#pause-screen .pause-panel>button:not(.close):active{background:#426c5c}#pause-screen .pause-panel{position:relative}#pause-screen #pause-close{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;margin:0;border:0;border-radius:4px;background:transparent;color:#b8cabc;font:28px/1 Segoe UI,sans-serif;cursor:pointer}#pause-screen #pause-close:is(:hover,:focus-visible){background:#36584b;color:#fff;outline:1px solid #a8e0c7}#pause-screen .pause-panel>#resume{margin:16px 0 0;min-height:52px;background:linear-gradient(#eaa14e,#cc742e);border-color:#ffc581;color:#25170c;box-shadow:inset 0 1px #ffe1a377,0 3px 12px #cf76252b;font-weight:700}#pause-screen .pause-panel>#resume:is(:hover,:focus-visible){background:linear-gradient(#ffb765,#e98a3c);border-color:#ffdb9e;outline:2px solid #ffd18c66}#pause-screen .pause-panel>#resume:active{background:#cb742e}#touch-extras{display:none}body.touch-mode button,body.touch-mode #joystick{touch-action:none;-webkit-tap-highlight-color:transparent}body.touch-mode input,body.touch-mode select{font-size:16px}body.touch-mode #item-tooltip{display:none!important}body.touch-mode #touch-extras{display:block}body.touch-mode #touch-extras>button{position:fixed;pointer-events:auto;width:44px;height:44px;padding:7px;border:1px solid #bfa66d88;background:#173539ed;color:#ead49b;border-radius:50%;display:grid;place-items:center;box-shadow:0 3px 14px #0006}body.touch-mode #touch-extras svg{width:25px;height:25px}body.touch-mode #touch-movement{left:17px;bottom:122px}body.touch-mode #touch-movement>span{position:absolute;left:48px;white-space:nowrap;font-size:11px;background:#122d30cc;padding:4px;border-radius:4px}body.touch-mode #touch-hint{right:20px;bottom:194px}body.touch-mode #touch-cube-talk{left:calc(50% - 22px);bottom:127px}body.touch-mode #touch-movement-menu{position:fixed;z-index:15;left:12px;bottom:174px;width:190px;padding:8px;border:1px solid #aa936d;background:#132d30f5;box-shadow:0 10px 25px #0009;pointer-events:auto;border-radius:8px;display:grid;grid-template-columns:1fr 1fr;gap:6px}body.touch-mode #touch-movement-menu button{display:flex;align-items:center;gap:6px;min-height:48px;padding:8px;background:#24483f;color:#dddbb4;border:1px solid #688170;border-radius:5px;font-size:12px}body.touch-mode #touch-movement-menu button[aria-pressed=true]{background:#5c6846;border-color:#e2bd78}body.touch-mode #inventory #phone-item-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:4px}body.touch-mode #phone-item-actions strong{grid-column:1/-1;font:12px Segoe UI,sans-serif;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#e6d29d}body.touch-mode #phone-item-actions button,body.touch-mode #drink-potion{min-height:44px;border:1px solid #91a88580;border-radius:4px;background:#2d5145;color:#e9d6a9;padding:6px;font-size:12px}body.touch-mode #inventory-filters input,body.touch-mode #inventory-filters select,body.touch-mode #inventory-filter-toggle{min-height:44px;box-sizing:border-box}body.touch-mode #inventory-filter-toggle{width:44px}body.touch-mode #bag-pages button,body.touch-mode .recipe-help,body.touch-mode [data-learn-recipe],body.touch-mode #learn-held-recipe{min-height:44px;min-width:44px}body.touch-mode .recipe-entry{flex-wrap:wrap}body.touch-mode .recipe-entry.show-hint .recipe-tooltip{position:static;display:block;width:100%;max-width:none;transform:none;box-sizing:border-box;margin:4px 0}body.touch-mode #recipe-book{max-height:80%;overflow-y:auto;touch-action:pan-y}#touch-item-description{position:absolute;z-index:42;inset:12px;margin:auto;max-width:420px;max-height:90%;height:max-content;box-sizing:border-box;background:#173338;border:1px solid #baaa7c;border-radius:7px;box-shadow:0 0 0 100vmax #031014bb;color:#e1e7d1;padding:52px 20px 20px;overflow:auto;touch-action:pan-y}#touch-item-description p{font:14px/1.55 Segoe UI,sans-serif;white-space:pre-line;margin:0}#touch-description-close{position:absolute;right:6px;top:5px;width:44px;height:44px;font-size:28px;background:#305346;color:#f2d6a5;border:1px solid #91a88580;border-radius:5px}body.touch-mode #inventory-close{position:fixed;width:48px;height:48px;bottom:25px;right:16px;min-height:48px;z-index:45}body.touch-mode #bag-panel .panel-foot{display:none}body.touch-mode:not(.phone-mode) #inventory{padding:10px 18px 132px;align-items:stretch}body.touch-mode:not(.phone-mode) #inventory #bag-panel{width:min(1250px,100%);height:100%;max-height:none;overflow:hidden;padding:18px;min-height:0}body.touch-mode:not(.phone-mode) #inventory .inventory-layout{height:100%;min-height:0;grid-template-columns:1fr 1fr;gap:18px}body.touch-mode:not(.phone-mode) #inventory .has-bench .inventory-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) minmax(0,1.15fr)}body.touch-mode:not(.phone-mode) #inventory .bag-column,body.touch-mode:not(.phone-mode) #inventory #craft-panel,body.touch-mode:not(.phone-mode) #inventory #equipment-panel{min-width:0;padding:0 6px;overflow-y:auto;touch-action:pan-y}body.touch-mode:not(.phone-mode) #inventory #slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}body.touch-mode:not(.phone-mode) #inventory #bag-panel.cube-capacity #slots{grid-template-columns:repeat(4,minmax(0,1fr))}body.touch-mode:not(.phone-mode) #inventory #bag-panel #slots .slot{height:52px;min-height:44px;padding:3px}body.touch-mode:not(.phone-mode) #inventory #slots .item-icon{font-size:24px}body.touch-mode:not(.phone-mode) #inventory #slots small{font-size:10px}body.touch-mode:not(.phone-mode) #inventory .bag-heading{font-size:13px;margin:0 0 10px}body.touch-mode:not(.phone-mode) #inventory #bag-pages{margin:5px 0}body.touch-mode:not(.phone-mode) #inventory #cube-text{font-size:15px;line-height:1.45}body.touch-mode:not(.phone-mode) #inventory #cube-answers button,body.touch-mode:not(.phone-mode) #inventory #bench-create,body.touch-mode:not(.phone-mode) #inventory #bench-recycle button,body.touch-mode:not(.phone-mode) #inventory #recipe-book-toggle{min-height:44px;font-size:13px;padding:8px}body.touch-mode:not(.phone-mode) #inventory #bench-grid .slot{height:66px;min-height:44px}body.touch-mode:not(.phone-mode) #inventory .paper-doll{height:292px}body.touch-mode:not(.phone-mode) #inventory .voxel-avatar{top:53px;height:238px;min-width:100px;width:49%}body.touch-mode:not(.phone-mode) #inventory .equipment-slot{width:70px;height:50px;min-height:44px;padding:2px}body.touch-mode:not(.phone-mode) #inventory .eq-head{top:0}body.touch-mode:not(.phone-mode) #inventory .eq-chest,body.touch-mode:not(.phone-mode) #inventory .eq-neck{top:57px}body.touch-mode:not(.phone-mode) #inventory .eq-hands,body.touch-mode:not(.phone-mode) #inventory .eq-bracelet{top:114px}body.touch-mode:not(.phone-mode) #inventory .eq-weapon,body.touch-mode:not(.phone-mode) #inventory .eq-ringLeft{top:171px}body.touch-mode:not(.phone-mode) #inventory .eq-feet,body.touch-mode:not(.phone-mode) #inventory .eq-ringRight{top:228px}body.touch-mode:not(.phone-mode) #inventory #character-vitals,body.touch-mode:not(.phone-mode) #inventory #character-stats{font-size:12px;padding-top:8px;margin-top:8px}body.touch-mode:not(.phone-mode) #inventory #character-stats span{font-size:12px}body.touch-mode:not(.phone-mode) #inventory #equipment-panel>p:last-child{font-size:11px}body.touch-mode:not(.phone-mode) #inventory .cube-caption{display:none}body.touch-mode:not(.phone-mode) #hotbar{--dock-cell:44px;--dock-gap:4px;--dock-core:72px;--flask:38px}@media(max-width:999px){body.touch-mode:not(.phone-mode) #inventory #bag-panel{padding-top:68px}body.touch-mode:not(.phone-mode) #inventory #bag-panel .inventory-tabs{display:flex;position:absolute;left:18px;right:18px;top:12px;height:44px;gap:8px}body.touch-mode:not(.phone-mode) #inventory .inventory-tabs button{flex:1;min-height:44px;font-size:14px}body.touch-mode:not(.phone-mode) #inventory .has-bench .inventory-layout{grid-template-columns:1fr 1fr}body.touch-mode:not(.phone-mode) #inventory #bag-panel[data-view=bench] #equipment-panel{display:none!important}body.touch-mode:not(.phone-mode) #inventory #bag-panel:not([data-view=bench]) #craft-panel{display:none!important}body.touch-mode:not(.phone-mode) #inventory #bag-panel #craft-panel{order:2}body.touch-mode:not(.phone-mode) #inventory .bag-column{order:1}body.touch-mode:not(.phone-mode) #joystick{bottom:126px}body.touch-mode:not(.phone-mode) #mobile-inspect{bottom:133px}body.touch-mode:not(.phone-mode) #mobile-fire{bottom:214px}body.touch-mode:not(.phone-mode) #touch-movement{bottom:242px}body.touch-mode:not(.phone-mode) #touch-movement-menu{bottom:294px}body.touch-mode:not(.phone-mode) #touch-hint{bottom:310px}}body.phone-mode #touch-movement{bottom:230px}body.phone-mode #touch-movement-menu{bottom:282px}body.phone-mode #touch-hint{bottom:296px}body.phone-mode #touch-cube-talk{bottom:110px}body.phone-mode #inventory #bag-panel .voxel-avatar{min-width:100px}body.phone-mode #inventory #bag-panel #drink-potion{display:none}body.phone-mode #inventory #phone-item-actions{margin:0}body.phone-mode #inventory-close{bottom:24px}body.phone-mode #wake-button{bottom:110px;width:auto;max-width:calc(100vw - 150px);font-size:12px;padding:10px}@media(orientation:landscape){body.phone-mode #touch-movement{bottom:121px}body.phone-mode #touch-movement-menu{bottom:173px}body.phone-mode #touch-hint{bottom:188px}body.phone-mode #touch-cube-talk{bottom:91px}body.phone-mode #inventory-close{bottom:12px}}body.touch-mode [hidden],body.touch-mode #inventory [hidden],body.touch-mode #touch-extras [hidden]{display:none!important}body.phone-mode #inventory #bag-panel:not([data-view=character]) #equipment-panel{display:none!important}body.phone-mode #inventory #bag-panel:not([data-view=bag]) .bag-column{display:none!important}body.touch-mode:not(.phone-mode) #inventory #bag-panel .bag-column{display:block!important;order:1}body.touch-mode:not(.phone-mode) #inventory #bag-panel #craft-panel{order:0}body.touch-mode:not(.phone-mode) #inventory #bag-panel #equipment-panel{order:2}body.touch-mode #inventory #bag-panel #character-status{display:block}@media(max-width:999px){body.touch-mode:not(.phone-mode) #inventory #bag-panel #craft-panel{order:2}}body.touch-mode:not(.phone-mode) #inventory #bag-panel .inventory-layout{display:grid!important;grid-template-areas:none!important;grid-template-rows:minmax(0,1fr)}body.touch-mode:not(.phone-mode) #inventory #bag-panel .inventory-layout>.bag-column,body.touch-mode:not(.phone-mode) #inventory #bag-panel .inventory-layout>#craft-panel,body.touch-mode:not(.phone-mode) #inventory #bag-panel .inventory-layout>#equipment-panel{grid-area:auto;position:static;max-height:100%;align-self:stretch}body.touch-mode:not(.phone-mode) #inventory #bag-panel .voxel-avatar{transform:translate(-50%)}#touch-character-details{display:none}body.touch-mode #inventory #slots .count,body.touch-mode #inventory #bench-grid .count{bottom:auto;height:auto;min-height:0;line-height:1.2;padding:2px 4px}body.phone-mode #inventory #bag-panel #slots{align-content:start;grid-auto-rows:minmax(44px,70px)}@media(max-height:700px){body.phone-mode #inventory #bag-panel #character-vitals,body.phone-mode #inventory #bag-panel #character-stats{display:none}body.phone-mode #inventory #bag-panel #touch-character-details{display:block;min-height:44px;padding:8px;background:#2d5145;border:1px solid #91a88580;border-radius:4px;color:#e9d6a9;font-size:13px;margin-top:5px;width:100%;grid-column:2}body.phone-mode #inventory #bag-panel #slots{grid-auto-rows:minmax(40px,1fr)}body.phone-mode #inventory #bag-panel #slots .slot{max-height:none}}body.touch-mode:has(#inventory:not([hidden])) #cube-speech{max-width:calc(100vw - 90px);max-height:88px;overflow-y:auto;pointer-events:auto;touch-action:pan-y;padding:8px 12px;box-sizing:border-box}body.touch-mode:has(#inventory:not([hidden])) #cube-speech p{font-size:12px;line-height:1.35;margin:4px 0}body.touch-mode:has(#inventory:not([hidden])) #cube-speech:after{display:none}body.touch-mode:has(#inventory:not([hidden])) #subtitle{display:none!important}body.phone-mode #inventory #bag-panel #slots .slot{min-height:44px;gap:1px;display:flex;flex-direction:column;justify-content:center;align-items:center}body.phone-mode #inventory #bag-panel #slots .item-icon{font-size:23px;line-height:24px}body.phone-mode #inventory #bag-panel #slots small{display:block;line-height:11px;margin:0}body.phone-mode #hotbar{width:172px;height:64px;padding:0}body.touch-mode:not(.phone-mode) #inventory #bag-panel .equipment-slot{max-width:78px}body.touch-mode:not(.phone-mode) #inventory #bag-panel .equipment-slot small{font-size:10px}@media(orientation:landscape){body.phone-mode #hotbar{bottom:12px}body.phone-mode #inventory #bag-panel #character-vitals{display:grid}body.phone-mode #inventory #bag-panel #character-stats{display:flex}body.phone-mode #inventory #bag-panel #touch-character-details{display:none}}body.touch-mode #hud .toolbar .icon-button{width:42px;height:44px;min-height:44px;font-size:22px}body.touch-mode:not(.phone-mode) #inventory #bag-panel h2{font-size:23px}@media(orientation:portrait){body.phone-mode #hud .brand{max-width:110px}}#phone-action{display:none}body.touch-mode #touch-movement-menu{box-sizing:border-box;width:210px;grid-template-columns:repeat(2,minmax(0,1fr))}body.touch-mode #touch-movement-menu button{min-width:0;width:100%;box-sizing:border-box;gap:4px;padding:7px;font:12px Segoe UI,sans-serif}body.touch-mode #touch-movement-menu svg{flex:none;width:24px;height:27px}body.touch-mode #touch-movement>span{display:none}body #hotbar #mobile-bag[data-cube=false]{border:1px solid #a2d5c978;box-shadow:inset 0 0 12px #86d2c334,0 0 8px #609d8c26;background:radial-gradient(at 38% 28%,#37615b88,#102e33cc 68%);box-sizing:border-box}body.phone-mode #hotbar{background:none!important;border:0!important;box-shadow:none!important;outline:0;width:146px;height:60px;bottom:10px;--dock-core:60px;--flask:26px}body.phone-mode #hotbar:before,body.phone-mode #hotbar:after{display:none!important}body.phone-mode #hotbar #vitals-hud .vital{width:42px}body.phone-mode #joystick{width:104px;height:104px;bottom:8px;left:8px}body.phone-mode #touch-movement{left:16px;bottom:122px}body.phone-mode #touch-movement-menu{left:12px;bottom:174px}body.phone-mode #touch-cube-talk{bottom:84px;left:calc(50% - 22px)}body.phone-mode #hud .toolbar{gap:4px}body.phone-mode #hud .toolbar #touch-hint{position:static;border-radius:0;display:grid;place-items:center;padding:9px;width:42px;height:44px;background:#10272bb3;border:1px solid #9ebbaa33;color:#d4dfbf;box-shadow:none}body.phone-mode #hud .toolbar #touch-hint svg{width:25px;height:25px}body.phone-mode #mobile-fire{position:fixed;inset:auto 0 0 auto;width:104px;height:104px;box-sizing:border-box;border-radius:104px 0 0;border:1px solid #b4cfad5c;background:radial-gradient(circle at 100% 100%,#35695750,#0a252cba);box-shadow:inset 0 0 0 15px #639e8330;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 0 0 27px;gap:3px;touch-action:none}body.phone-mode #mobile-fire.pressed{background:radial-gradient(circle at 100% 100%,#5b9e8560,#244850cf)}body.phone-mode #mobile-main-icon{height:30px;display:grid;place-items:center}body.phone-mode #mobile-main-icon svg{width:29px;height:29px}body.phone-mode #mobile-main-icon .suggested-item-icon{font-size:31px;line-height:1;color:#ffe2a2;text-shadow:0 0 10px #eac976}body.phone-mode #mobile-main-label{font:10px Segoe UI,sans-serif}body.phone-mode #mobile-main-item{display:none}body.phone-mode #phone-action,body.phone-mode #mobile-inspect{position:fixed;width:46px;height:46px;box-sizing:border-box;border-radius:50%;border:1px solid #a4c5a27a;background:radial-gradient(at 35% 25%,#426551c7,#102f35c7);color:#e4d8ae;box-shadow:0 3px 10px #0005;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:3px;pointer-events:auto}body.phone-mode #phone-action{right:6px;bottom:112px}body.phone-mode #mobile-inspect{right:112px;bottom:6px;left:auto}body.phone-mode #phone-action svg,body.phone-mode #mobile-inspect svg{width:23px;height:23px}body.phone-mode #phone-action small,body.phone-mode #mobile-inspect span{font:8px Segoe UI,sans-serif}body.phone-mode #phone-action:disabled,body.phone-mode #mobile-inspect:disabled{opacity:.4}@media(max-width:430px){body.phone-mode #hud .brand>div{display:none}body.phone-mode #hotbar{bottom:6px;width:110px;height:50px;--dock-core:50px;--flask:20px}body.phone-mode #joystick{width:88px;height:88px;bottom:6px;left:4px}body.phone-mode #joystick-knob{width:46px;height:46px}body.phone-mode #mobile-fire{width:88px;height:88px;border-radius:88px 0 0;padding:25px 0 0 23px}body.phone-mode #phone-action{right:47px;bottom:98px}body.phone-mode #mobile-inspect{right:98px;bottom:47px}body.phone-mode #touch-movement{bottom:105px;left:8px}body.phone-mode #touch-movement-menu{bottom:157px;left:8px}body.phone-mode #touch-cube-talk{bottom:92px;left:calc(50% - 22px)}}body.phone-mode #inventory{padding:8px 8px 100px;align-items:center;overflow:hidden;touch-action:none}body.phone-mode #inventory #bag-panel{padding:0;width:100%;height:100%;max-height:none;overflow:hidden}body.phone-mode #inventory #bag-panel .inventory-tabs{left:36px;right:36px;top:6px;padding:0;gap:4px;height:44px}body.phone-mode #inventory #bag-panel .inventory-tabs button{white-space:normal;font:11px/1.2 Segoe UI,sans-serif;padding:4px}body.phone-mode #inventory #bag-panel .inventory-layout,body.phone-mode #inventory #bag-panel.has-bench .inventory-layout{position:absolute;top:58px;left:50%;height:auto;min-height:0;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:none!important;gap:14px;transform-origin:top center;align-items:start}body.phone-mode #inventory #bag-panel.tutorial-locked .inventory-layout{top:88px}body.phone-mode #inventory #bag-panel .inventory-layout>.bag-column,body.phone-mode #inventory #bag-panel .inventory-layout>#craft-panel,body.phone-mode #inventory #bag-panel .inventory-layout>#equipment-panel{grid-area:auto;position:static;overflow:visible!important;height:auto!important;max-height:none;min-width:0;width:auto;padding:0;border:0;display:block!important}body.phone-mode #inventory #bag-panel:not([data-view=bench]) #craft-panel{display:none!important}body.phone-mode #inventory #bag-panel[data-view=bench] #equipment-panel{display:none!important}body.phone-mode #inventory #bag-panel .bag-column{order:1}body.phone-mode #inventory #bag-panel #craft-panel{order:0}body.phone-mode #inventory #bag-panel #equipment-panel{order:2}body.phone-mode #inventory #bag-panel .bag-heading{display:block;font:16px Segoe UI,sans-serif;margin:0 0 10px}body.phone-mode #inventory #bag-panel #slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:60px;gap:5px;margin:0;flex:none}body.phone-mode #inventory #bag-panel.cube-capacity #slots{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:48px}body.phone-mode #inventory #bag-panel #slots .slot{height:100%;min-height:0;max-height:none;padding:2px;gap:1px}body.phone-mode #inventory #bag-panel #slots .item-icon{font-size:25px;line-height:26px}body.phone-mode #inventory #bag-panel #slots small{font-size:10px;line-height:11px;display:block}body.phone-mode #inventory #bag-panel #inventory-filters{display:flex;margin:0 0 7px;gap:4px;grid-area:auto}body.phone-mode #inventory #bag-panel #inventory-filters input{font-size:17px;height:42px;min-height:42px}body.phone-mode #inventory #bag-panel #inventory-filter{font-size:16px;width:100%;height:42px}body.phone-mode #inventory #bag-panel #phone-item-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-area:auto;margin-top:8px;gap:5px}body.phone-mode #inventory #bag-panel #phone-item-actions button{font-size:16px;min-height:44px;padding:5px;line-height:1.1}body.phone-mode #inventory #bag-panel #phone-item-actions strong{font-size:16px;line-height:1.3;white-space:normal}body.phone-mode #inventory #bag-panel #bag-pages{grid-area:auto;margin:5px 0;height:40px;font-size:16px}body.phone-mode #inventory #bag-panel #bag-pages button{min-height:40px}body.phone-mode #inventory #bag-panel .workbench-title{height:48px}body.phone-mode #inventory #bag-panel h2{font-size:24px}body.phone-mode #inventory #bag-panel #bench-work{display:block;height:auto;overflow:visible}body.phone-mode #inventory #bag-panel #bench-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,64px);gap:5px;margin-top:5px;min-height:0;flex:none}body.phone-mode #inventory #bag-panel #bench-grid .slot{height:64px;min-height:0;max-height:none}body.phone-mode #inventory #bag-panel #bench-preview{font-size:15px;line-height:1.3;padding:8px 0}body.phone-mode #inventory #bag-panel #bench-create,body.phone-mode #inventory #bag-panel #bench-recycle button,body.phone-mode #inventory #bag-panel #recipe-book-toggle{min-height:44px;font-size:16px;padding:8px;line-height:1.2}body.phone-mode #inventory #bag-panel #bench-work>p{display:none}body.phone-mode #inventory #bag-panel #cube-conversation{display:block;height:auto;max-height:none;overflow:visible;touch-action:none}body.phone-mode #inventory #bag-panel #cube-text{font:18px/1.35 Georgia;margin:8px 0}body.phone-mode #inventory #bag-panel #cube-answers button{font-size:17px;line-height:1.25;min-height:46px;padding:7px;margin:5px 0}body.phone-mode #inventory #bag-panel #recipe-book{height:auto;max-height:none;overflow:visible}body.phone-mode #inventory #bag-panel .recipe-entry>strong{font-size:17px}body.phone-mode #inventory #bag-panel .recipe-tooltip{font-size:16px}body.phone-mode #inventory #bag-panel #character-status{font-size:16px;margin-bottom:6px}body.phone-mode #inventory #bag-panel .paper-doll{height:270px;width:100%;min-height:0;float:none;max-width:none;margin:0}body.phone-mode #inventory #bag-panel .equipment-slot{width:63px;max-width:63px;height:48px;min-height:0;font-size:18px}body.phone-mode #inventory #bag-panel .equipment-slot small{font-size:11px}body.phone-mode #inventory #bag-panel .voxel-avatar{width:105px;min-width:0;height:214px;top:49px}body.phone-mode #inventory #bag-panel .eq-head{top:0}body.phone-mode #inventory #bag-panel .eq-chest,body.phone-mode #inventory #bag-panel .eq-neck{top:54px}body.phone-mode #inventory #bag-panel .eq-hands,body.phone-mode #inventory #bag-panel .eq-bracelet{top:106px}body.phone-mode #inventory #bag-panel .eq-weapon,body.phone-mode #inventory #bag-panel .eq-ringLeft{top:158px}body.phone-mode #inventory #bag-panel .eq-feet,body.phone-mode #inventory #bag-panel .eq-ringRight{top:210px}body.phone-mode #inventory #bag-panel #character-vitals{display:grid;font:15px/1.3 Segoe UI,sans-serif;gap:3px}body.phone-mode #inventory #bag-panel #character-stats{display:flex;font:14px/1.3 Segoe UI,sans-serif;gap:3px}body.phone-mode #inventory #bag-panel #character-stats strong,body.phone-mode #inventory #bag-panel #character-stats span{font-size:14px;line-height:1.3}body.phone-mode #inventory #bag-panel #touch-character-details{display:none}body.phone-mode #inventory #bag-panel #equipment-panel>p:last-of-type{display:none}body.phone-mode #inventory-close{right:12px;bottom:20px;width:48px;height:48px}@media(orientation:landscape){body.phone-mode #inventory{padding:6px 12px 74px}body.phone-mode #inventory-close{bottom:10px;right:12px}body.phone-mode #inventory #bag-panel.cube-capacity #slots{grid-template-columns:repeat(6,minmax(0,1fr))}body.phone-mode #inventory #bag-panel #phone-item-actions{grid-template-columns:repeat(3,minmax(0,1fr))}body.phone-mode #inventory #bag-panel #equipment-panel{display:grid!important;grid-template-columns:56% 44%;gap:0 6px}body.phone-mode #inventory #bag-panel #equipment-panel h2,body.phone-mode #inventory #bag-panel #character-status,body.phone-mode #inventory #bag-panel #character-vitals,body.phone-mode #inventory #bag-panel #character-stats{grid-column:2;margin-left:0}body.phone-mode #inventory #bag-panel .paper-doll{grid-column:1;grid-row:1/5}body.phone-mode #inventory #bag-panel[data-view=bench] #equipment-panel{display:none!important}body.phone-mode #inventory #bag-panel .voxel-avatar{width:90px}}body.phone-mode #inventory #bag-panel [hidden]{display:none!important}body.touch-mode #joystick{left:8px;bottom:8px;width:104px;height:104px}body.touch-mode #touch-movement{left:16px;bottom:122px}body.touch-mode #touch-movement-menu{left:12px;bottom:174px}body.touch-mode #mobile-fire{position:fixed;inset:auto 0 0 auto;width:104px;height:104px;box-sizing:border-box;border-radius:104px 0 0;border:1px solid #b4cfad5c;background:radial-gradient(circle at 100% 100%,#35695750,#0a252cba);box-shadow:inset 0 0 0 15px #639e8330;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 0 0 27px;gap:3px;touch-action:none}body.touch-mode #mobile-fire.pressed{background:radial-gradient(circle at 100% 100%,#5b9e8560,#244850cf)}body.touch-mode #mobile-main-icon{height:30px;display:grid;place-items:center}body.touch-mode #mobile-main-icon svg{width:29px;height:29px}body.touch-mode #mobile-main-icon .suggested-item-icon{font-size:31px;line-height:1;color:#ffe2a2;text-shadow:0 0 10px #eac976}body.touch-mode #mobile-main-label{font:10px Segoe UI,sans-serif}body.touch-mode #mobile-main-item{display:none}body.touch-mode #mobile-inspect{position:fixed;left:auto;top:auto;width:44px;height:44px;box-sizing:border-box;border-radius:50%;border:1px solid #a4c5a27a;background:radial-gradient(at 35% 25%,#426551c7,#102f35c7);color:#e4d8ae;box-shadow:0 3px 10px #0005;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:3px;pointer-events:auto}body.touch-mode #mobile-inspect{right:107.16px;bottom:61.87px}body.touch-mode:not(.phone-mode) #joystick{bottom:8px}body.touch-mode:not(.phone-mode) #touch-movement{bottom:122px}body.touch-mode:not(.phone-mode) #touch-movement-menu{bottom:174px}body.touch-mode:not(.phone-mode) #mobile-fire{bottom:0}body.touch-mode:not(.phone-mode) #mobile-inspect{bottom:61.87px}body.touch-mode #mobile-inspect svg{width:23px;height:23px}body.touch-mode #mobile-inspect :is(small,span){font:8px Segoe UI,sans-serif}body.touch-mode #mobile-inspect:disabled{opacity:.4}body.touch-mode #hud .toolbar #touch-hint{position:static;border-radius:0;display:grid;place-items:center;padding:9px;width:42px;height:44px;background:#10272bb3;border:1px solid #9ebbaa33;color:#d4dfbf;box-shadow:none}body.touch-mode #hud .toolbar #touch-hint svg{width:25px;height:25px}@media(max-width:430px){body.phone-mode #joystick{width:88px;height:88px;bottom:6px;left:4px}body.phone-mode #mobile-fire{width:88px;height:88px;border-radius:88px 0 0;padding:25px 0 0 23px}body.phone-mode #touch-movement{bottom:105px;left:8px}body.phone-mode #touch-movement-menu{bottom:157px;left:8px}}@media(max-width:999px){body.touch-mode:not(.phone-mode) #hotbar{bottom:192px;--dock-cell:clamp(30px, calc((100vw - 212px)*.1) ,44px)}body.touch-mode:not(.phone-mode):has(#inventory:not([hidden])) #hotbar{bottom:22px}body.touch-mode:not(.phone-mode) #touch-cube-talk{bottom:290px}}body.touch-mode [hidden]{display:none!important}:root{--gold:#d5b477;--cream:#f1e5c7;--muted:#b9b09a}.panel{background:linear-gradient(135deg,#2d2b23f7,#172222f7);border-color:#907b52;box-shadow:0 18px 75px #0009,inset 0 0 0 5px #a1813820}#start{background:linear-gradient(90deg,#0e1414f5,#0e1414bf 30%,#0e141414 66%)}#start h1{text-shadow:0 5px 25px #0009;color:#f3dfaf}#start .eyebrow{color:#d7b474;letter-spacing:.2em}#start .primary{background:linear-gradient(135deg,#bb873e,#835126);border:1px solid #dfb878;color:#fff0cf;box-shadow:0 5px 24px #0006,inset 0 1px #ffde9d66}#hotbar:before{background:linear-gradient(#514b38ed,#263432ee);border-color:#b09967}.slot,.bench-slot,.equip-slot{border-color:#82714e66;background-color:#8873400d}#vignette{background:radial-gradient(ellipse at 50% 42%,transparent 43%,#07111599 100%)}#camera-controls{position:absolute;right:0;top:calc(100% + 10px);display:flex;align-items:center;background:#173032df;border:1px solid #b8a16c88;border-radius:7px;box-shadow:0 3px 12px #0005;pointer-events:auto;overflow:hidden}#camera-controls button{width:38px;height:36px;min-height:36px;padding:0;border:0;background:transparent;color:#ebd7a6;font:22px Segoe UI,sans-serif;touch-action:manipulation}#camera-controls #zoom-reset{width:48px;font-size:11px;border-inline:1px solid #b8a16c40}#camera-controls button:hover{background:#67827244}#camera-controls button:disabled{opacity:.35}#camera-controls[hidden]{display:none}body.touch-mode{--control-size:108px;--knob-size:64px;--control-inset:8px}body.touch-mode #mobile-controls #joystick{left:calc(var(--control-inset) + env(safe-area-inset-left));bottom:calc(var(--control-inset) + env(safe-area-inset-bottom));width:var(--control-size);height:var(--control-size)}body.touch-mode #mobile-controls #joystick-knob,body.touch-mode #mobile-controls #mobile-fire{width:var(--knob-size);height:var(--knob-size);border-radius:50%;border:1px solid #b2d7bb99;background:radial-gradient(circle at 35% 25%,#84bea8bc,#386b59ce);box-shadow:inset 0 0 14px #d6f9dd30,0 3px 10px #0004;box-sizing:border-box}body.touch-mode #mobile-controls #mobile-fire{left:auto;top:auto;right:calc(var(--control-inset) + (var(--control-size) - var(--knob-size))/2 + env(safe-area-inset-right));bottom:calc(var(--control-inset) + (var(--control-size) - var(--knob-size))/2 + env(safe-area-inset-bottom));padding:0;display:flex;align-items:center;justify-content:center;gap:0;overflow:visible;transform:none;touch-action:none}body.touch-mode #mobile-controls #mobile-fire.pressed{filter:brightness(1.25)}body.touch-mode #mobile-controls #mobile-main-label,body.touch-mode #mobile-controls #mobile-main-item{display:none}body.touch-mode #mobile-controls #mobile-main-icon,body.touch-mode #mobile-controls #mobile-main-icon svg{width:30px;height:30px}body.touch-mode #mobile-controls #mobile-inspect{right:calc(var(--control-inset) + var(--control-size)/2 - 22px + env(safe-area-inset-right));bottom:calc(var(--control-inset) + (var(--control-size) + var(--knob-size))/2 + 16px + env(safe-area-inset-bottom));width:44px;height:44px;left:auto;top:auto}body.touch-mode #mobile-controls #touch-movement{left:calc(var(--control-inset) + env(safe-area-inset-left));bottom:calc(var(--control-inset) + var(--control-size) + 12px + env(safe-area-inset-bottom))}body.touch-mode #mobile-controls #touch-movement-menu{left:var(--control-inset);bottom:calc(var(--control-size) + 76px + env(safe-area-inset-bottom))}body.touch-mode:not(.phone-mode) #hotbar{bottom:calc(18px + env(safe-area-inset-bottom));--dock-cell:clamp(24px, calc((100vw - 420px)*.1) ,48px);--dock-core:64px;--flask:30px;--dock-gap:3px}body.touch-mode:not(.phone-mode) #hotbar .movement-buttons{display:none}body.touch-mode:not(.phone-mode) #touch-cube-talk{bottom:112px}@media(max-width:430px){body.touch-mode{--control-size:96px;--knob-size:56px;--control-inset:4px}#camera-controls button{width:34px;height:34px;min-height:34px}#camera-controls #zoom-reset{width:44px}}#hotbar #cube-talk{position:absolute;left:50%;bottom:calc(100% + 22px);transform:translate(-50%);width:42px;height:42px;padding:8px;display:grid;place-items:center;border:1px solid #d5b477b3;border-radius:50%;background:radial-gradient(at 35% 25%,#49655a,#142e32);color:#f2dba5;box-shadow:0 3px 12px #0006,inset 0 0 8px #c8ac6530;pointer-events:auto}#hotbar #cube-talk svg{width:26px;height:26px}#hotbar #cube-talk:hover{background:#466759;border-color:#ffe3a0;box-shadow:0 0 14px #c8ac6566}#hotbar #cube-talk[hidden],body.touch-mode #hotbar #cube-talk{display:none!important}body:not(.touch-mode) #wake-button{bottom:190px}body.touch-mode:not(.phone-mode) #wake-button{bottom:320px}body.phone-mode #quest-title{max-width:calc(100vw - 164px)}.item-render{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 3px 2px #0007)}#bag-panel .slot>.item-render{height:calc(100% - 19px);max-width:100%;margin:0 auto}#equipment-slots .equipment-slot>span{height:36px;display:block;margin:auto;max-width:90%}.gear-outline{height:100%;width:36px;vertical-align:middle}#hotbar .hot-slot>span{display:block;height:calc(100% - 5px);width:100%;margin:0}#hotbar .hot-slot>span .item-render{max-width:none;width:100%;height:100%}#carried-item .item-render{width:58px;height:58px;display:inline-block;vertical-align:middle}#touch-drag-ghost .item-render{width:62px;height:62px}#mana-crescent .mana-tooltip{top:auto;bottom:calc(100% + 5px);z-index:6}#reward-diamond.ordinary .item-render{width:100%;height:100%}#equipment-slots .equipment-slot small{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#bench-preview .item-render{display:inline-block;width:32px;height:32px;vertical-align:middle;margin-right:6px}#start .intro{max-width:min(760px,88vw)}#start h1{font-size:clamp(52px,7.4vw,108px);letter-spacing:-3px}#hud .brand{letter-spacing:2px}@media(max-width:600px){#start h1{font-size:clamp(39px,10vw,60px);letter-spacing:-1.5px}#hud .brand{font-size:14px;letter-spacing:.4px;gap:5px}#hud .brand-mark{font-size:24px}#hud .brand span:not(.brand-mark){font-size:5px;letter-spacing:1.7px}}
