.panel-header{display:flex;align-items:center;gap:8px;min-height:44px;flex-shrink:0}.panel-header small{color:#bccab6;margin-left:auto}.panel-header h3{margin:0!important}html body dialog button.panel-help{position:relative;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;background:transparent;border:0}.panel-help:after{content:"";position:absolute;inset:8px;border:1px solid #bccab6;border-radius:50%}.panel-popover{position:fixed;inset:auto;margin:0;box-sizing:border-box;width:min(300px,calc(100vw - 16px));padding:12px;border:1px solid #c9b583;border-radius:8px;background:#172b25;color:#eeeadd;box-shadow:0 4px 20px #0008;font-size:13px}.panel-popover p{margin:0}.panel-bar{height:6px;background:#081710;border-radius:4px;overflow:hidden}.panel-bar>span{display:block;height:100%;background:var(--status-colour)}[data-colour=green]{--status-colour: #a8cf92}[data-colour=amber]{--status-colour: #efc578}[data-colour=red]{--status-colour: #ed8c78}.material-row{display:flex;flex-wrap:wrap;gap:8px}[data-material=wood]{color:#ddba83}[data-material=stone]{color:#bbc8cb}[data-material=metal],[data-material=hqm]{color:#a4cdd6}[data-material=sulfur]{color:#e3d882}html body dialog button.panel-quiet{min-height:44px;background:transparent;border:0;padding:6px;font-size:12px}html body dialog button.panel-quiet[data-confirming=true]{background:#792e25;color:#fff}html body #options button{min-height:44px}#options .panel-header{justify-content:space-between}#options .options-heading{display:flex;align-items:center;justify-content:space-between}#developer-options{border-top:1px solid #c9b58366;margin-top:12px;padding-top:8px}#piece-buttons .radial-cost{justify-content:center;visibility:hidden}#piece-buttons button:hover .radial-cost,#piece-buttons button:focus .radial-cost{visibility:visible}#hammer-panel .panel-bar{margin:6px 0}#upgrade-cost{margin-bottom:8px}.material-row [data-missing=true]{color:#ff9e88}.panel-chip{display:inline-block;color:#bccab6;font-size:11px;padding:3px 6px;border-radius:4px;background:#0c1b16}#craft-recipes button{display:flex;flex-direction:column;gap:6px}.craft-job .panel-bar{width:70px;flex:1}.trade-row button .material-row{display:inline-flex;margin-left:5px}.panel-chip[data-colour]{color:var(--status-colour)}#hammer-panel #demolish-piece{background:transparent;border:0;min-height:44px}#hammer-panel #demolish-piece[data-confirming=true]{background:#792e25;color:#fff}dialog#options{width:min(760px,calc(100vw - 24px));height:min(620px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:16px;overflow:hidden;box-sizing:border-box}dialog#options[open]{display:flex;flex-direction:column;gap:10px}#options .options-heading{flex:none;position:static;margin:0;padding:0;min-height:32px}#options .options-heading h2{margin:0}.options-tabs{display:flex;flex-wrap:wrap;gap:4px;flex:none}.options-tabs button{flex:1;min-height:44px;padding:6px 10px}.options-tabs [aria-selected=true]{background:#526a48;border-color:#e2c184}#options .options-panel{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}#options [hidden]{display:none!important}#options .options-footer{display:none}#options-controls:not([hidden]){display:flex;flex-direction:column}#binding-list{min-height:0;overflow:auto}#options .binding-row.conflict{outline:2px solid #ee8076;background:#683c37}#options .panel-header{margin:6px 0}#options fieldset{border:0;margin:0;padding:8px 0}#options input,#options select,#options button{min-height:44px}#options .connection{position:static!important;transform:none!important;margin-left:auto;max-width:65%;opacity:1!important}#options .options-heading{display:flex;align-items:center}#options #social-name{display:block;font-size:22px;margin-bottom:12px}#options #debug-items{max-height:170px;overflow:auto}#options .debug-filters{display:flex;gap:8px;flex-wrap:wrap}#options .debug-filters input[type=search]{flex:1;min-width:100px}#options .debug-item{display:flex;justify-content:space-between;align-items:center}#options .debug-item small{display:block}#toast{z-index:20}#debug-search{width:160px}#debug-quantity{width:72px}#debug-destination{display:block;width:100%;margin:8px 0;box-sizing:border-box}#options .debug-item{border-bottom:1px solid #ffffff18;padding:8px 0}@media(max-width:450px){.options-tabs button{flex:1 1 28%}}#error-log{box-sizing:border-box;width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:16px;border:1px solid #a99467;border-radius:10px;background:#25362f;color:#eee6d3}#error-log::backdrop{background:#111a17a8}#error-log header{display:flex;align-items:center;justify-content:space-between;gap:12px}#error-log h2{margin:0}#error-log button{min-height:44px;padding:8px 12px;color:inherit;background:#34483b;border:1px solid #788d78;border-radius:5px;cursor:pointer}#error-log button:disabled{opacity:.5;cursor:default}#error-log-entries{list-style:none;padding:0}#error-log-entries li{border-top:1px solid #ffffff28;padding:10px 0;overflow-wrap:anywhere}#error-log-entries time{color:#c1c9b9;font-size:12px}#error-log-entries p{white-space:pre-wrap;margin:6px 0 0;-webkit-user-select:text;user-select:text}#trade-dialog{width:min(640px,calc(100vw - 24px));max-height:85dvh;overflow:auto;box-sizing:border-box;color:#eee6d3;background:#25362f;border:1px solid #a99467;border-radius:12px;padding:22px}#trade-dialog::backdrop{background:#111a17a8}#trade-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px}#trade-dialog h2{margin:0;font-size:22px}#trade-dialog p,#trade-dialog small{line-height:1.5;color:#c9cbbd}#trade-dialog button{color:#f2e6cd;background:#435247;border:1px solid #83917d;border-radius:6px;padding:10px;cursor:pointer}#trade-dialog button:disabled{opacity:.4;cursor:default}#trade-dialog input{width:60px;padding:8px;background:#18271f;border:1px solid #83917d;color:#fff;border-radius:4px;font-size:16px}.trade-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #ffffff18}.trade-row span{flex:1}#trade-dialog #trade-error{color:#f2b795}@media(max-width:500px){#trade-dialog{padding:14px}.trade-row{flex-wrap:wrap}.trade-row span{flex-basis:100%}}:root{font-family:Arial,Helvetica,sans-serif;color:#eeeadd;background:#192c28;font-synthesis:none;font-size:14px}.inventory-toggle{position:fixed;top:82px;right:136px;padding:7px 12px;background:#172b25e8;border:1px solid #d0d4b340;border-radius:3px;font-size:11px}.inventory-toggle kbd{margin-left:8px;color:#edcc8e}#inventory-dialog{color:#eeeadd;background:#172b25;border:1px solid #c9b583;border-radius:6px;width:min(580px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:24px;overflow-y:auto}#inventory-dialog::backdrop{background:#091612aa}#inventory-dialog p{font-size:12px;color:#bccab6;line-height:1.5}#inventory-dialog button,#death-screen button{color:#eeeadd;border:1px solid #c9d1b640;background:#293e33;border-radius:3px;padding:9px}.inventory-caption{margin:16px 0 8px;color:#edcc8e;font-size:10px;letter-spacing:1px}.inventory-caption span{float:right;color:#9bac97;font-size:9px;letter-spacing:0}.inventory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}#inventory-dialog .inventory-cell{height:68px;padding:5px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}.cell-icon{font:25px Georgia,serif;color:#e3c58c;line-height:1.1}.cell-name{font-size:10px;margin-top:4px}.cell-count{position:absolute;right:6px;bottom:5px;font-size:10px;color:#edcc8e}#inventory-dialog .inventory-cell.chosen{border-color:#edd49a;background:#4a5037}#inventory-dialog .inventory-cell.equipped{box-shadow:inset 0 -2px #9eba86}.inventory-description{padding:14px 0;font-size:11px;color:#c8d1b7;min-height:44px}.inventory-actions{display:flex;justify-content:space-between}button:disabled{opacity:.4;cursor:default}.pickup-options{border-top:1px solid #c9d1b630;margin:16px 0;padding-top:8px}.pickup-options h3{font:20px Georgia,serif}.pickup-options label{font-size:12px;margin-right:12px}.pickup-options select{color:#eeeadd;padding:8px;background:#293e33;border:1px solid #c9d1b640}.hotbar-count{position:absolute;right:5px;top:5px;color:#edcc8e;font-size:10px}#use-item{position:fixed;right:36px;bottom:135px;min-width:185px;min-height:66px;display:grid;grid-template-columns:34px 1fr;gap:5px 10px;align-items:center;text-align:left;background:#354634ef;border:1px solid #d1bc83;padding:10px 16px;border-radius:4px;touch-action:none}#use-icon{font-size:26px;grid-row:span 2;color:#edcc8e}#use-label{font-size:12px}#use-item small{font-size:9px;color:#bec9ac}#death-screen p{color:#d4c5a6}@media(max-width:800px){.inventory-toggle{top:65px;right:110px;padding:4px 9px}#use-item{right:20px;bottom:132px;min-width:135px}}@media(max-width:540px){#inventory-dialog{padding:15px}#inventory-dialog .inventory-cell{height:58px}#use-item{right:20px;bottom:120px;min-width:145px}}@media(max-height:520px){.inventory-toggle{top:57px;right:135px;padding:4px 9px}#use-item{bottom:111px;right:36px;min-width:155px}.compass{display:none}}#ping{color:#bbd3a6;font-variant-numeric:tabular-nums;min-width:40px}#ping.simulated{color:#edcc8e}.latency-options{border-top:1px solid #c9d1b630;margin:16px 0;padding-top:8px}.latency-options h3{font:20px Georgia,serif}.latency-options label{font-size:12px}.latency-range{display:flex;align-items:end;gap:12px;margin:16px 0}.latency-range label{flex:1;min-width:0}.latency-range input{display:block;margin-top:6px;width:100%;padding:9px;background:#10251c;color:#eeeadd;border:1px solid #c9d1b640;border-radius:3px}#diagnostics{max-width:calc(100vw - 30px);line-height:1.6}.options-toggle{position:fixed;right:36px;top:82px;padding:7px 12px;background:#172b25e8;border:1px solid #d0d4b340;border-radius:3px;font-size:11px}#options{color:#eeeadd;background:#172b25;border:1px solid #c9b583;border-radius:6px;width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:24px;overflow-y:auto}#options::backdrop{background:#091612bb}.options-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.options-heading h2{font:28px Georgia,serif;margin:8px 0}#options button{border:1px solid #c9d1b640;border-radius:3px;background:#293e33;padding:9px 12px}#options p{color:#bccab6;font-size:12px;line-height:1.6}.profiles{display:flex;align-items:center;gap:10px;margin:20px 0 12px}#options .profiles button[aria-pressed=true],#options button.listening{border-color:#edcc8e;background:#4a5037}#active-profile{margin-left:auto;color:#edcc8e;font-size:11px}.binding-head,.binding-row{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:12px;align-items:center}.binding-head{padding:12px 0 8px;color:#9bac97;font-size:10px;text-transform:uppercase;letter-spacing:1px}.binding-row{padding:7px 0;border-top:1px solid #c9d1b617;font-size:12px}.binding-cell{display:flex;gap:3px;min-width:0}.binding-cell button:first-child{flex:1;min-width:0;overflow-wrap:anywhere}#options .clear-binding{padding:5px;background:transparent;border-color:transparent;color:#a6b49e}#binding-message{min-height:38px;margin:12px 0}.options-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.options-footer span{font-size:10px;line-height:1.6;color:#9bac97}@media(max-width:800px){.options-toggle{top:65px;right:20px;padding:4px 9px}}@media(max-height:520px){.options-toggle{top:57px;right:36px;padding:4px 9px}}@media(max-width:440px){#options{padding:16px}.binding-head,.binding-row{gap:6px}#options .binding-cell button{padding:8px 4px}}*{box-sizing:border-box}#duel-panel{position:fixed;top:80px;left:50%;transform:translate(-50%);width:min(350px,92vw);padding:12px;text-align:center;z-index:4}#duel-panel[hidden],#duel-panel button[hidden],#duel-stash[hidden],#respawn[hidden],#bed-choices[hidden]{display:none}#duel-panel button{min-height:44px;margin:3px;padding:8px 14px;background:#293e33;border:1px solid #d1bc83;color:#eeeadd;border-radius:4px}#duel-panel p{font-size:12px;margin:6px 0}#duel-stash{border-top:1px solid #94a57b44;padding-top:8px;color:#a1aaa1;font-size:12px}@media(max-height:520px){#duel-panel{top:65px;left:10px;transform:none;width:230px;padding:6px;font-size:12px}}body{margin:0;overflow:hidden}#build-picker,#hammer-panel{position:fixed;left:50%;bottom:165px;transform:translate(-50%);padding:10px;width:min(560px,92vw);z-index:5;font-size:11px}#build-picker[hidden],#hammer-panel[hidden],#storage-panel[hidden],[data-storage-slot][hidden]{display:none}#build-menu-toggle{color:#edcc8e;background:#293e33;border:1px solid #94a57b66;border-radius:4px;padding:10px 18px;min-height:44px}#selected-piece{margin-left:12px;text-transform:capitalize}#build-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}#build-actions[hidden]{display:none}#build-actions button{min-height:44px;color:#eeeadd;background:#293e33;border:1px solid #94a57b66;border-radius:4px;padding:7px 12px}#build-radial{color:#eeeadd;background:#172b25;border:1px solid #c9b583;border-radius:16px;width:min(520px,90vw,calc(100dvh - 120px));max-height:calc(100dvh - 24px);padding:12px;overflow:auto;text-align:center}#build-radial::backdrop{background:#091612bb}#build-radial h2{font-size:14px;margin:0 0 8px}#build-radial p{font-size:10px;margin:8px 0 0;color:#bccab6}#piece-buttons{position:relative;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#172b25 0 22%,#334b39 23% 66%,#172b25 67%)}#piece-buttons button{position:absolute;transform:translate(-50%,-50%);width:21.5%;height:17%;min-height:40px;display:flex;flex-direction:column;justify-content:center;gap:4px;color:#eeeadd;text-transform:capitalize;cursor:pointer}#piece-buttons button small{font-size:9px;color:#bccab6;text-transform:none}#radial-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:28%;color:#edcc8e;font-weight:700;letter-spacing:1px}#radial-center small{font-weight:400;font-size:10px;letter-spacing:0}#piece-buttons button:hover,#piece-buttons button:focus-visible{outline:2px solid #f0c27b;background:#425a40}#piece-buttons button,#hammer-panel button,#craft-recipes button,#clear-auth,#bed-choices button{background:#293e33;border:1px solid #94a57b66;border-radius:3px;padding:8px;font-size:11px}#piece-buttons button[aria-pressed=true]{border-color:#f0c27b;color:#f0c27b}#build-message{margin:6px 0 0;color:#edcc8e}#build-picker.inactive{width:auto;padding:5px}#build-picker.inactive #selected-piece,#build-picker.inactive #build-message{display:none}#build-picker #hammer-panel{position:static;transform:none;width:auto;padding:8px 0 0;margin-top:8px;background:transparent;border:0;box-shadow:none}#hammer-panel small{display:block;margin-top:8px}#craft-recipes{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}#storage-panel,#craft-panel{border-top:1px solid #94a57b44;margin-top:12px;padding-top:8px}#inventory-dialog{max-height:85vh;overflow-y:auto}@media(max-width:540px){#build-picker,#hammer-panel{bottom:275px;width:94vw}#piece-buttons button{font-size:9px;padding:6px 3px}}@media(max-height:520px){#build-picker,#hammer-panel{bottom:165px;width:55vw;max-height:140px;overflow-y:auto}}@media(max-height:520px){#build-radial{width:min(90vw,calc(100dvh - 76px));padding:6px}#build-radial h2{font-size:11px;margin:0}#build-radial p{display:none}#piece-buttons button{font-size:9px;padding:2px;gap:1px}#piece-buttons button small{font-size:8px}#radial-center{font-size:10px}}#interact{position:fixed;bottom:145px;left:50%;transform:translate(-50%);padding:10px 16px;background:#172b25ed;border:1px solid #d1bc83;border-radius:4px;font-size:12px}#car-readout{position:fixed;top:82px;left:50%;transform:translate(-50%);padding:12px 16px;width:230px;font-size:11px;text-align:center}#car-readout[hidden]{display:none}.car-speedometer{display:flex;align-items:baseline;justify-content:center;gap:8px;margin-bottom:10px}#car-speed{font-size:40px;line-height:1;font-variant-numeric:tabular-nums;color:#edcc8e}#car-health{font-variant-numeric:tabular-nums}#car-health-bar{display:block;width:100%;height:9px;margin:7px 0 10px;accent-color:#a8ca86}#car-readout.damaged #car-health{color:#fa8272}#car-readout.damaged #car-health-bar{accent-color:#fa8272}#car-controls{display:block;color:#bfcaaf;font-size:9px}@media(max-width:540px){#car-readout{top:180px;left:auto;right:15px;transform:none;width:150px;padding:10px}}@media(max-height:520px){#car-readout{top:96px}}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible{outline:2px solid #f0c27b;outline-offset:4px}#world{position:fixed;inset:0}canvas{display:block;touch-action:none}.topbar{position:fixed;top:0;left:0;right:0;height:100px;padding:26px 36px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#102822c9,transparent);pointer-events:none}.brand{display:flex;align-items:center;gap:13px}.brand-mark{border:1px solid #d7be88;width:43px;height:43px;display:grid;place-items:center;font:26px Georgia,serif;color:#f1d59f;transform:rotate(-7deg)}h1{font:24px Georgia,serif;letter-spacing:5px;margin:0 0 7px}.eyebrow{font-size:9px;letter-spacing:2.1px;color:#bfcaaf}.connection{position:fixed;top:14px;right:16px;z-index:4;display:flex;align-items:center;gap:8px;font-size:11px;padding:6px 10px;border-radius:8px;background:#172b25b8;border:1px solid #d0d4b326;pointer-events:none}.version{margin-left:7px;border-left:1px solid #e7e8ca40;padding-left:9px;letter-spacing:1px;font-size:9px;color:#d6d9c2;font-variant-numeric:tabular-nums}#status-dot{width:6px;height:6px;border-radius:50%;background:#d7b26e}#status-dot.online{background:#a5ce97;box-shadow:0 0 12px #a5ce9760}.panel{background:#172b25e8;border:1px solid #d0d4b326;box-shadow:0 8px 30px #0b1a1820;border-radius:3px}.region{position:fixed;top:125px;left:36px;padding:22px 23px;width:275px;border-top:2px solid #bcaa7c}.region h2{font:21px Georgia,serif;line-height:1.3;margin:13px 0 8px}.region p{font-size:11px;color:#c0c7b2;margin:0 0 22px}.region-meta{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;border-top:1px solid #c7c9ab24;padding-top:13px;color:#c7cbb6}.compass{position:fixed;right:56px;bottom:195px;text-align:center;color:#eff1d2;text-shadow:0 2px 5px #243a25}.compass span{font-size:11px}.compass div{font-size:55px;line-height:50px}.compass small{font-size:8px;letter-spacing:2px}.bottom{position:fixed;left:36px;right:36px;bottom:43px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.vitals{padding:17px;width:215px}.vital-label{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.6px}.vital-label strong{font-weight:400;color:#c9d1b6}.health-track{height:5px;background:#0e211c;margin:10px 0 17px}.health-track>div{height:100%;background:#9db879;width:100%}.attire{font-size:10px;color:#d3c49e}.attire span{float:right;color:#8da38d;font-size:9px}.equipment{text-align:center}.hotbar{display:flex;gap:6px}.slot{position:relative;width:66px;height:73px;background:#1c302bdd;border:1px solid #d3d6b333;border-radius:3px;display:flex;flex-direction:column;align-items:center;justify-content:center}.slot.selected{background:#394336ee;border:1px solid #d8b574;box-shadow:inset 0 -3px #d8b574}.slot kbd{position:absolute;top:6px;left:7px;font-size:9px;color:#c1c5ae}.item-icon{font-size:28px;color:#edcb94}.slot small{font-size:9px;margin-top:4px;color:#ddd2b8}.empty{font-size:20px;color:#788a74}.controls-hint{display:block;font-size:8px;letter-spacing:1.2px;margin-top:12px;text-shadow:0 1px 4px #152822}.controls-hint b{padding:0 8px;color:#ecd09c}.prototype-note{position:fixed;bottom:12px;left:0;right:0;text-align:center;color:#e1e2cb;font-size:9px;letter-spacing:.4px;text-shadow:0 1px 5px #142c20}#toast{position:fixed;left:50%;bottom:165px;transform:translate(-50%);padding:12px 18px;background:#292f26f2;border:1px solid #c8ab71;color:#f0d3a3;max-width:90%;opacity:0;font-size:12px;pointer-events:none}#toast.show{opacity:1}#diagnostics-toggle{position:fixed;right:8px;bottom:8px;background:transparent;border:0;color:#d1dabd}#diagnostics{position:fixed;right:15px;bottom:35px;padding:12px;font:11px monospace}#joystick{display:none;position:fixed;left:30px;bottom:145px;width:120px;height:120px;border-radius:50%;background:#1b302b55;border:1px solid #e0d9b855;touch-action:none}#stick{position:absolute;left:39px;top:39px;width:40px;height:40px;border-radius:50%;background:#e1d9b887;border:1px solid #f2e5c4;pointer-events:none}@media(pointer:coarse){#joystick{display:block}.controls-hint{visibility:hidden}}@media(max-width:800px){.topbar{height:80px;padding:15px 20px}h1{font-size:18px;letter-spacing:3px}.brand-mark{width:32px;height:32px;font-size:20px}.brand .eyebrow{font-size:7px}.region{top:91px;left:20px;width:215px;padding:15px}.region h2{font-size:17px}.region p{font-size:10px;margin-bottom:12px}.bottom{left:20px;right:20px;bottom:35px;gap:12px}.vitals{width:160px;padding:12px}.slot{width:48px;height:60px}.compass{right:32px;bottom:165px}}@media(max-width:540px){.connection{font-size:9px}.region{width:190px;padding:12px}.region h2{font-size:16px}.region p{display:none}.region-meta{margin-top:12px}.bottom{left:15px;right:15px;bottom:37px;flex-wrap:wrap;align-items:flex-end;gap:12px}.vitals{position:fixed;bottom:120px;left:20px;width:145px;padding:10px}.health-track{margin-bottom:10px}.equipment{order:1}.controls-hint{display:none}.slot{width:44px;height:63px}.compass{display:none}.prototype-note{font-size:8px;padding:0 20px}#joystick{bottom:210px;left:23px;width:112px;height:112px}#stick{left:35px;top:35px}#toast{bottom:190px}}@media(max-height:520px){.region{top:82px;padding:12px}.region p,.region-meta,.compass{display:none}.bottom{bottom:29px}.vitals{position:fixed;bottom:155px;left:25px;width:145px;padding:10px}.health-track{margin-bottom:0}.attire{display:none}.equipment{margin:auto}#joystick{bottom:40px;left:25px;width:100px;height:100px}#stick{left:29px;top:29px}.region h2{margin-bottom:0}.prototype-note{font-size:8px;bottom:8px}}#mobile-location,#mobile-item-name{display:none}#joystick{display:none;bottom:auto;right:auto}#joystick.active{display:block}#handbrake[hidden],#touch-hint[hidden]{display:none}[data-piece].hover{outline:2px solid #f0c27b;background:#425a40}html:not(.touch-hud) .topbar,html:not(.touch-hud) .region,html:not(.touch-hud) .compass,html:not(.touch-hud) .prototype-note,html:not(.touch-hud) .controls-hint,html:not(.touch-hud) .attire,html:not(.touch-hud) #inventory-toggle,html:not(.touch-hud) #options-toggle,html:not(.touch-hud) #handbrake,html:not(.touch-hud) #touch-hint,html:not(.touch-hud) #interact,html:not(.touch-hud) #diagnostics-toggle,html:not(.touch-hud) #diagnostics,html:not(.touch-hud) #build-picker.inactive{display:none}html:not(.touch-hud) .bottom{left:0;right:0;bottom:20px;justify-content:center;pointer-events:none}html:not(.touch-hud) .equipment{margin:0;pointer-events:auto}html:not(.touch-hud) .vitals{position:fixed;top:auto;left:50%;bottom:101px;transform:translate(-50%);width:282px;padding:10px}html:not(.touch-hud) .health-track{margin:8px 0 0}#menu-world-info,#menu-diagnostics{overflow-wrap:anywhere}.touch-hud{--hud-left: max(12px, env(safe-area-inset-left));--hud-right: max(12px, env(safe-area-inset-right));--hud-top: max(8px, env(safe-area-inset-top));--hud-bottom: max(12px, env(safe-area-inset-bottom))}.touch-hud body,.touch-hud #app{width:100%;height:100dvh}.touch-hud #world canvas{touch-action:none}.touch-hud body{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.touch-hud dialog{-webkit-user-select:text;user-select:text}.touch-hud .brand,.touch-hud .region,.touch-hud .compass,.touch-hud .prototype-note,.touch-hud .controls-hint,.touch-hud .attire,.touch-hud kbd,.touch-hud #inventory-toggle span,.touch-hud .build-word,.touch-hud .slot small,.touch-hud #options-toggle span,.touch-hud #car-controls,.touch-hud #diagnostics-toggle{display:none}.touch-hud .topbar{height:64px;padding:0}.touch-hud .connection{right:calc(var(--hud-right) + 58px);top:calc(var(--hud-top) + 10px);font-size:10px;gap:6px;padding:5px 8px;max-width:calc(100vw - var(--hud-left) - var(--hud-right) - 66px);white-space:nowrap;overflow:hidden}.touch-hud .version{margin-left:4px;padding-left:6px;font-size:9px;letter-spacing:.5px;overflow:hidden;text-overflow:ellipsis}.touch-hud #options-toggle{top:var(--hud-top);right:var(--hud-right);width:48px;height:48px;padding:0;font-size:24px;border-radius:12px}.touch-hud .vitals{position:fixed;left:50%;top:auto;bottom:calc(var(--hud-bottom) + 60px);transform:translate(-50%);width:232px;padding:8px 10px;border-radius:10px}.touch-hud .vital-label{font-size:10px}.touch-hud .health-track{height:6px;margin:6px 0 0}.touch-hud .bottom{position:fixed;left:0;right:0;bottom:var(--hud-bottom);transform:none;display:flex;justify-content:center;pointer-events:none}.touch-hud .bottom .vitals{position:fixed}.touch-hud .equipment{margin:0;pointer-events:auto}.touch-hud .hotbar{gap:8px;touch-action:none}.touch-hud .slot{width:52px;height:52px;border-radius:9px}.touch-hud .slot .item-icon{font-size:28px}.touch-hud .hotbar-count{font-size:11px;right:4px;top:3px}.touch-hud #joystick{position:fixed;width:112px;height:112px}.touch-hud #stick{left:35px;top:35px}.touch-hud #interact{left:auto;right:var(--hud-right);top:42%;bottom:auto;transform:translateY(-50%);width:112px;min-height:48px;padding:7px;border-radius:10px;font-size:12px}.touch-hud #interact.unavailable{display:none}.touch-hud #inventory-toggle{top:auto;left:auto;right:calc(50% + 124px);bottom:calc(var(--hud-bottom) + 2px);width:48px;height:48px;padding:0;border-radius:9px;font-size:22px}.touch-hud #build-picker,.touch-hud #build-picker.inactive{left:calc(50% + 124px);bottom:calc(var(--hud-bottom) + 2px);transform:none;width:48px;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible;max-height:none}.touch-hud #build-menu-toggle{width:48px;height:48px;padding:0;border-radius:9px;font-size:22px;touch-action:none}.touch-hud #selected-piece,.touch-hud #build-message{display:none}.touch-hud #build-actions{position:fixed;right:var(--hud-right);bottom:calc(var(--hud-bottom) + 64px);left:auto;transform:none;width:124px;display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0}.touch-hud #build-actions[hidden]{display:none}.touch-hud #build-actions button{min-width:0;min-height:44px;padding:4px 6px;font-size:11px}.touch-hud #build-picker #hammer-panel{position:fixed;top:calc(var(--hud-top) + 56px);bottom:auto;left:var(--hud-left);width:160px;max-height:120px;overflow-y:auto;background:#172b25ed;padding:8px;margin:0}.touch-hud #handbrake{position:fixed;right:var(--hud-right);bottom:calc(var(--hud-bottom) + 72px);width:56px;height:56px;border-radius:50%;background:#3f2d26d9;border:1px solid #d1bc83;color:#f2e5c4;font-size:15px;font-weight:700;letter-spacing:1px;touch-action:none;z-index:4}.touch-hud #touch-hint:not([hidden]){position:fixed;inset:0;display:flex;pointer-events:none;z-index:3}.touch-hud #touch-hint>div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#f2e5c4;text-shadow:0 1px 3px #000c;border:1px dashed #f2e5c466;margin:calc(var(--hud-top) + 64px) 8px calc(var(--hud-bottom) + 130px);border-radius:16px;background:#172b2533}.touch-hud #touch-hint strong{font-size:18px;letter-spacing:2px}.touch-hud #touch-hint span{font-size:12px}.touch-hud #mobile-location:not([hidden]),.touch-hud #mobile-item-name:not([hidden]){display:block;position:fixed;left:50%;transform:translate(-50%);background:#172b25d9;padding:7px 12px;border-radius:8px;font-size:12px;pointer-events:none;text-align:center}.touch-hud #mobile-location{top:calc(var(--hud-top) + 54px)}.touch-hud #mobile-item-name{bottom:calc(var(--hud-bottom) + 164px)}.touch-hud body:has(#build-actions:not([hidden])) #mobile-item-name{display:none}.touch-hud #car-readout{top:calc(var(--hud-top) + 54px);left:var(--hud-left);right:auto;transform:none;width:144px;padding:8px}.touch-hud #car-speed{font-size:24px}.touch-hud .car-speedometer{margin-bottom:6px}.touch-hud #car-health-bar{margin:6px 0 0}.touch-hud #duel-panel{top:calc(var(--hud-top) + 54px);left:50%;transform:translate(-50%);width:240px;max-height:calc(100dvh - 220px);overflow-y:auto;padding:6px;font-size:11px}.touch-hud #duel-panel p{font-size:11px}.touch-hud #duel-panel button{min-height:48px}.touch-hud #toast{bottom:auto;top:calc(var(--hud-top) + 56px);max-width:55vw;pointer-events:none}.touch-hud #diagnostics{top:calc(var(--hud-top) + 56px);bottom:auto;right:var(--hud-right);width:190px;max-height:100px;overflow-y:auto;padding:6px;font-size:9px}.touch-hud dialog#options,.touch-hud dialog#inventory-dialog,.touch-hud dialog#build-radial{width:min(680px,calc(100% - var(--hud-left) - var(--hud-right)));max-height:calc(100dvh - var(--hud-top) - var(--hud-bottom));padding:16px;overscroll-behavior:contain}.touch-hud dialog#build-radial{top:auto;bottom:calc(var(--hud-bottom) + 64px);margin:0 auto;max-height:calc(100dvh - var(--hud-top) - var(--hud-bottom) - 64px)}.touch-hud dialog button,.touch-hud dialog select{min-width:48px;min-height:48px}.touch-hud .options-heading{position:sticky;top:-16px;background:#172b25;z-index:1;padding:8px 0}.touch-hud .inventory-caption span,.touch-hud #build-radial p{display:none}.touch-hud #piece-buttons{aspect-ratio:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;background:none;border-radius:0;margin:12px 0}.touch-hud #piece-buttons button{position:static;transform:none;width:100%;height:60px;padding:6px;font-size:11px;gap:5px}.touch-hud #piece-buttons button small{font-size:10px}.touch-hud #radial-center{display:none}.touch-hud body:has(dialog[open]) #app>:not(#world),.touch-hud body:has(dialog[open])>#inventory-toggle,.touch-hud body:has(dialog[open])>#options-toggle,.touch-hud body:has(dialog[open])>#build-picker,.touch-hud body:has(dialog[open])>#duel-panel{visibility:hidden;pointer-events:none}@media(orientation:portrait){.touch-hud .bottom{bottom:var(--hud-bottom)}.touch-hud .binding-head,.touch-hud .binding-row{grid-template-columns:1fr 1fr;gap:8px}.touch-hud .binding-row>span{grid-column:1 / -1}.touch-hud .binding-head{display:none}.touch-hud #piece-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}#hitch[hidden],html:not(.touch-hud) #hitch{display:none}.touch-hud #hitch{position:fixed;right:calc(var(--hud-right) + 64px);bottom:calc(var(--hud-bottom) + 72px);width:56px;height:56px;border-radius:50%;background:#3f2d26d9;border:1px solid #d1bc83;color:#f2e5c4;font-size:11px;font-weight:700;touch-action:manipulation;z-index:4}#terrain-controls{position:fixed;right:16px;bottom:232px;z-index:12;display:flex;gap:6px}#terrain-controls[hidden],#terrain-controls button[hidden]{display:none}#terrain-controls button{min-height:44px;min-width:52px;padding:8px 12px;border:1px solid #7a886b;border-radius:6px;background:#314638;color:#eeeadd;font:inherit}#terrain-controls button[aria-pressed=true]{background:#c4b27e;color:#172b25}#terrain-controls button:focus-visible{outline:2px solid #f1d28a;outline-offset:2px}#death-screen{border:0;padding:0;width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);color:#eeeadd;background:#20372d;border-radius:10px}#death-screen:not([hidden]){position:fixed;inset:0;display:block;margin:auto}#death-screen::backdrop{background:#180f12a8}#death-screen .panel{padding:16px;text-align:left}#death-screen h2{margin:4px 0;font-size:24px}#death-screen h2:focus{outline:none}#death-screen p{margin:8px 0;font-size:13px}#bed-choices{display:grid;gap:8px;overflow:auto;max-height:calc(100dvh - 165px);overscroll-behavior:contain}#death-screen .spawn-card{display:grid;grid-template-columns:1fr auto;gap:3px 12px;min-height:64px;text-align:left;padding:10px 12px}.spawn-card>span:not(.spawn-state){grid-column:1;font-size:12px}.spawn-state{grid-column:2;grid-row:1 / 3;align-self:center;padding:7px;min-width:68px;text-align:center;font-variant-numeric:tabular-nums}.spawn-state[data-ready=true]{color:#aad3a5}.spawn-cooldown{border:1px solid #d0ad69;border-radius:4px;background:linear-gradient(to right,#b5975155 var(--remaining),transparent var(--remaining))}#bed-dialog{width:min(340px,calc(100vw - 24px));color:#eeeadd;background:#20372d;border:1px solid #d0ad69;border-radius:8px}#bed-dialog label,#bed-dialog input{display:block;width:100%;box-sizing:border-box}#bed-dialog input{padding:12px;margin-top:8px}#bed-dialog button{min-height:48px}#bed-error{color:#ecb6a4}#respawn-choice{margin-top:16px;min-height:48px}#craft-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}#craft-tabs [aria-pressed=true]{border-color:#e4c58b;background:#4e6149}#craft-recipes{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px}#craft-recipes button{min-height:48px;text-align:left;white-space:normal}#craft-count{min-width:64px;min-height:44px}.craft-job{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:6px 0}.craft-job progress{width:100px}.craft-job button,#furnace-toggle{min-height:44px}#craft-error{color:#ffbda5}#storage-help{max-width:65ch}html:not(.touch-hud):not(.panel-open) #hand-queue:not(:empty){position:fixed;bottom:174px;left:50%;transform:translate(-50%);background:#26372ef2;border-radius:8px;padding:8px;max-width:420px}html body dialog#inventory-dialog[open]{inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 112px max(12px,env(safe-area-inset-left));border:0;border-radius:0;background:#07110b33;overflow:hidden;color:#eeeadd;-webkit-user-select:none;user-select:none}#inventory-dialog::backdrop{background:#07110b44}#inventory-windows{display:grid;grid-template-columns:minmax(230px,360px) minmax(270px,420px);justify-content:space-between;gap:24px;height:calc(100% - 44px);max-width:1100px;margin:auto;pointer-events:none}#inventory-dialog .inventory-window{pointer-events:auto;background:#172b25f5;border:1px solid #c9b58366;border-radius:10px;padding:12px;display:flex;flex-direction:column;min-height:0;min-width:0;overflow:auto;scrollbar-width:thin}#inventory-dialog #backpack-panel,#inventory-dialog #inventory-secondary{align-self:start;max-height:100%}#inventory-dialog h2,#inventory-dialog h3{margin:0 0 8px;font-size:14px;letter-spacing:.4px}#inventory-title small{float:right;color:#bccab6;font-size:11px;font-weight:400}#inventory-dialog #inventory-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;flex-shrink:0}#inventory-dialog #storage-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}html body #inventory-dialog .inventory-cell{min-width:0;min-height:44px;height:clamp(44px,calc((100dvh - 192px)/4),68px);padding:3px;border-radius:5px;touch-action:none;position:relative}#inventory-dialog .cell-name{display:none}#inventory-dialog .cell-icon{font-size:26px}#inventory-dialog .cell-count{position:absolute;bottom:3px;right:4px;font-size:11px}#inventory-dialog #inventory-tabs{display:flex;align-items:center;gap:6px;height:36px;margin:0 auto 8px;max-width:1100px}#inventory-dialog #inventory-tabs button{width:120px;min-height:32px;padding:5px;background:#172b25}#inventory-tabs small{font-size:11px}#inventory-dialog #storage-empty{font-size:12px;margin:0}#inventory-dialog button[aria-pressed=true]{border-color:#e4c58b}#inventory-dialog #craft-panel{flex:1;min-height:0;overflow:auto}#inventory-dialog #craft-recipes{grid-template-columns:1fr}#inventory-dialog #craft-tabs{gap:3px}#inventory-dialog #craft-tabs button{flex:1;padding:5px;font-size:11px;min-width:0}#inventory-dialog #storage-panel{display:flex;flex-direction:column;min-height:0;overflow:hidden;margin-top:0;padding-top:0;border-top:0}#inventory-dialog #storage-help{display:none}#inventory-dialog #storage-panel[data-kind=cupboard]{margin-top:0;padding-top:0;border-top:0}#inventory-dialog #storage-panel[data-kind=cupboard]>h3{margin-bottom:4px}#inventory-dialog #item-description{font-size:11px;margin:6px 0 0}#inventory-dialog .bottom{position:fixed;bottom:max(10px,env(safe-area-inset-bottom));left:0;right:0;justify-content:center;pointer-events:none}#inventory-dialog .equipment{pointer-events:auto}#inventory-dialog .slot{width:52px;height:52px;touch-action:none}#inventory-dialog .slot small,#inventory-dialog .action{display:none}html body #inventory-dialog .vitals{position:fixed;width:226px;padding:5px 8px;bottom:calc(max(10px,env(safe-area-inset-bottom)) + 58px);left:50%;transform:translate(-50%)}#inventory-dialog .health-track{margin:4px 0 0}#inventory-dialog .vital-label{font-size:10px}html body #inventory-dialog #inventory-toggle{display:block;position:fixed;top:auto;right:calc(50% + 128px);left:auto;bottom:max(10px,env(safe-area-inset-bottom));min-width:44px;height:52px;padding:4px}#inventory-dialog #inventory-toggle span,#inventory-dialog #inventory-toggle kbd{display:none}#inventory-feedback{position:fixed;left:8px;right:8px;bottom:87px;text-align:center;margin:0;pointer-events:none;text-shadow:0 1px 3px black}#inventory-drag{position:fixed;pointer-events:none;z-index:10;padding:10px;border-radius:8px;background:#283e33f5;border:1px solid #e4c58b;transform:translate(-50%,-100%);white-space:nowrap}#inventory-drag.world-drop{background:#6d352a}#inventory-dialog .transfer-source{outline:2px solid #e4c58b;opacity:.65}#inventory-dialog .transfer-target{outline:2px solid #b9d895}#stack-picker{position:fixed;z-index:11;left:50%;top:35%;transform:translate(-50%,-50%);background:#172b25;border:1px solid #e4c58b;padding:16px;border-radius:8px}#stack-picker input{display:block;width:120px;padding:10px;margin:8px 0;font-size:16px}#inventory-dialog [hidden]{display:none!important}@media(max-height:420px){html body dialog#inventory-dialog[open]{padding-top:6px;padding-bottom:100px}#inventory-windows{gap:12px}#inventory-dialog .inventory-window{padding:6px}#inventory-dialog h2,#inventory-dialog h3,#inventory-dialog #inventory-tabs{margin-bottom:4px}#inventory-dialog #item-description{display:none}#inventory-dialog #inventory-tabs button{padding:4px;min-height:28px}}@media(max-width:600px){#inventory-windows{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:8px}}@media(max-width:600px)and (orientation:landscape){#inventory-dialog .inventory-window{padding:4px}#inventory-dialog #inventory-grid,#inventory-dialog #storage-grid{gap:2px}}@media(orientation:portrait){#inventory-windows{grid-template-columns:1fr;grid-template-rows:1fr 1fr;gap:8px}#inventory-dialog .inventory-window{padding:8px}}#inventory-dialog #cupboard-panel{display:flex;flex-direction:column;min-height:0;font-size:12px}#inventory-dialog #cupboard-panel #upkeep-summary{display:grid;grid-template-columns:1fr 44px;gap:3px 8px;position:relative;border:0;padding:0;margin:0;flex-shrink:0}#cupboard-panel #decay-countdown:before{content:"●";color:var(--status-colour);margin-right:6px}#cupboard-panel #upkeep-summary .panel-help{grid-column:2;grid-row:1 / 4}#cupboard-panel #upkeep-daily:before{content:attr(data-label);color:#bccab6}#cupboard-panel #claim-group{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-height:30px;flex-shrink:0}#cupboard-panel #claim-group small{color:#bccab6}.claim-surcharge{display:inline-flex;align-items:center;margin-left:auto;color:#efc578}#inventory-dialog #cupboard-panel #storage-grid{overflow-y:auto;min-height:44px;flex:1;scrollbar-width:thin}#cupboard-panel .claim-footer{display:flex;justify-content:flex-end;flex-shrink:0}#inventory-dialog #cupboard-authorize{min-height:44px;margin:20px auto;width:min(220px,100%)}#inventory-dialog #cupboard-panel .panel-header{min-height:44px}@media(max-height:420px){#inventory-dialog #cupboard-panel .panel-header{gap:4px}#cupboard-panel .panel-header small{font-size:10px}#inventory-dialog #cupboard-panel #claim-group{min-height:22px;font-size:11px}#inventory-dialog #cupboard-panel .inventory-cell{height:44px}}html body #inventory-dialog #cupboard-panel button.panel-help{background:transparent;border:0}html body #inventory-dialog button.panel-quiet{background:transparent;border:0;padding:6px;min-height:44px}html body #inventory-dialog button.panel-quiet[data-confirming=true]{background:#792e25;color:#fff}#inventory-dialog #storage-grid{overflow-y:auto;min-height:44px;flex:1;scrollbar-width:thin}@media(max-height:420px)and (orientation:landscape){html body dialog#inventory-dialog[open]{padding-bottom:84px}html body #inventory-dialog .vitals{padding:2px 6px;bottom:calc(max(10px,env(safe-area-inset-bottom)) + 56px)}#inventory-dialog .health-track{height:4px;margin-top:2px}#inventory-dialog #cupboard-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:44px auto minmax(44px,1fr) 44px;column-gap:4px}#inventory-dialog #cupboard-panel>.panel-header{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:0}#inventory-dialog #cupboard-panel>.panel-header h3{font-size:11px}#cupboard-panel>.panel-header small{margin:0;font-size:9px}#cupboard-panel>.panel-header .panel-help{grid-row:1 / 3;grid-column:2}#inventory-dialog #cupboard-panel #upkeep-summary{font-size:10px;gap:1px 0}#cupboard-panel #claim-group,#cupboard-panel #storage-grid,#cupboard-panel .claim-footer{grid-column:1 / -1}#inventory-dialog #cupboard-panel #claim-group{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 4px}#cupboard-panel #claim-group>span:first-child{grid-column:1;grid-row:1}#cupboard-panel #claim-group>small{grid-column:1;grid-row:2}#cupboard-panel #claim-group>.claim-surcharge{grid-column:2;grid-row:1 / 3}#cupboard-panel #upkeep-daily{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:none}#inventory-dialog #cupboard-panel[data-authorised=false]{display:flex}}.hud-safe-area{position:fixed;inset:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));visibility:hidden;pointer-events:none}body .hud-positioned:not(dialog *){position:fixed!important;left:var(--layout-x)!important;top:var(--layout-y)!important;right:auto!important;bottom:auto!important;width:var(--layout-width)!important;transform:scale(var(--layout-scale))!important;transform-origin:top left!important;opacity:var(--layout-opacity);margin:0!important}#hud-editor{position:fixed;inset:0;z-index:1000;touch-action:none}#hud-editor[hidden]{display:none}#hud-editor header{position:absolute;z-index:3;top:max(4px,env(safe-area-inset-top));left:max(4px,env(safe-area-inset-left));right:max(4px,env(safe-area-inset-right));display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:4px;background:#172b25f5}#hud-editor header nav{display:flex;flex:1;gap:4px}#hud-editor button{min-height:44px;padding:6px 10px;color:#eeeadd;background:#293e33;border:1px solid #94a57b;border-radius:6px;font:inherit}#hud-editor button[aria-pressed=true]{border-color:#e2c184;background:#526a48}#hud-editor button[data-confirming=true]{background:#792e25;color:#fff}.editing-hud #touch-hint{display:none!important}.hud-outline{position:absolute;border:2px dashed #e2c184;box-sizing:border-box;color:#ffe8b6;text-shadow:0 1px 3px #000;cursor:move;touch-action:none;-webkit-user-select:none;user-select:none;z-index:1}.hud-outline[data-selected=true],.hud-outline.snapped{border-color:#92ecc1;background:#92ecc11a}#layout-tools{position:absolute;width:250px;background:#172b25f5;z-index:4;padding:6px;border-radius:8px}#layout-tools label{display:flex;align-items:center;gap:6px}#layout-tools input{min-width:0;min-height:44px;flex:1}#layout-divider{position:absolute;top:25%;height:45%;border:2px dashed #fff8;width:44px;padding:0!important;background:#172b2566;transform:translate(-50%);font-size:10px;touch-action:none}.editing-hud .hud-positioned{visibility:visible!important;pointer-events:none!important}.editing-hud #interact,.editing-hud #handbrake,.editing-hud #hitch{display:block!important}.touch-hud body>#hammer-panel{position:fixed;top:calc(var(--hud-top) + 56px);bottom:auto;left:var(--hud-left);transform:none;width:160px;max-height:120px;overflow-y:auto;background:#172b25ed;padding:8px;margin:0}.touch-hud body:has(dialog[open])>#hammer-panel,.touch-hud body:has(dialog[open])>#build-actions{visibility:hidden;pointer-events:none}#movement-actions{position:fixed;display:grid;gap:8px;width:48px;z-index:5;touch-action:none}#movement-actions button{width:48px;height:48px;padding:0;font-size:26px;background:#22382ee8;color:#e6c487;border:1px solid #80916d;border-radius:8px;touch-action:none}#movement-actions button[aria-pressed=true]{background:#677746;border-color:#e6c487}html:not(.touch-hud) #movement-actions,#movement-actions[hidden]{display:none}.vitals.panel .vital-track{position:relative;display:block;width:100%;height:20px;margin:0;overflow:hidden;border-radius:3px;background:#26372e}.vitals.panel #sprint-meter{margin-top:4px}.vital-track>div{height:100%}.vital-track .stamina-fill{background:#c5a463}.vital-track>strong{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font:600 12px/20px system-ui;text-shadow:0 1px 2px #18221c}.movement-settings{padding:12px 0}.movement-settings select{min-height:44px}#movement-binding-warning{display:block;color:#e6c487;font-size:12px}
