:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}html,body{background:#0b1220;width:100%;height:100%;margin:0;overflow:hidden}#renderCanvas{touch-action:none;outline:none;width:100%;height:100%;display:block}#hud{color:#e8eefc;pointer-events:none;z-index:2;background:#080e1cb8;border:1px solid #ffffff1f;max-width:min(420px,100vw - 24px);margin:12px;padding:10px 12px;font-size:13px;line-height:1.4;position:fixed;inset:0 auto auto 0}#hud-auth{pointer-events:auto;flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}#hud input,#hud button{font:inherit;color:#e8eefc;background:#ffffff14;border:1px solid #ffffff2e;border-radius:6px;padding:6px 8px}#hud button{cursor:pointer}#hud button:disabled{opacity:.45;cursor:default}#hud-hint{opacity:.7;margin-top:4px}#auth-status{opacity:.85;flex-basis:100%;min-height:1.2em}#view-modes{z-index:2;gap:6px;display:flex;position:fixed;top:12px;right:12px}#view-modes button{font:inherit;color:#e8eefc;cursor:pointer;background:#080e1cc7;border:1px solid #ffffff2e;border-radius:6px;padding:8px 12px;font-size:13px}#view-modes button:hover{background:#ffffff1f}#view-modes button.active{background:#e08a3c40;border-color:#e08a3ccc}#touch-zone{touch-action:none;z-index:2;background:#ffffff0f;border:1px solid #fff3;border-radius:999px;width:120px;height:120px;display:none;position:fixed;bottom:16px;left:16px}@media (pointer:coarse){#touch-zone{display:block}}#world-view{z-index:5;color:#e8eefc;background:radial-gradient(at 30% 20%,#28463259,#0000 50%),#0b1220;flex-direction:column;padding:16px;display:flex;position:fixed;inset:0;overflow:auto}#world-view.hidden,#chunk-view.hidden{display:none!important}.world-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.world-header a{color:#9ec5ff;white-space:nowrap;text-decoration:none}.world-auth{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px;display:flex}.world-auth input{font:inherit;color:#e8eefc;background:#ffffff14;border:1px solid #ffffff2e;border-radius:6px;padding:8px 10px}.world-grid{aspect-ratio:1;gap:6px;width:min(720px,100%);max-height:min(70vh,720px);margin:0 auto;display:grid}.world-grid .cell{color:#9aa3b5;font:inherit;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff24;border-radius:6px;justify-content:center;align-items:center;font-size:11px;transition:background .12s,border-color .12s,transform 80ms;display:flex}.world-grid .cell.filled{color:#eaf7ee;background:#388c508c;border-color:#78c88c8c;font-weight:600}.world-grid .cell.adjacent:not(.filled){color:#d8b896;background:#e08a3c1f;border-style:dashed;border-color:#e08a3c59}.world-grid .cell:hover{border-color:#ffffff73;transform:scale(1.03)}.world-grid .cell.origin{box-shadow:inset 0 0 0 2px #ffdc78b3}.world-status{text-align:center;opacity:.75;margin-top:14px}#chunk-view{position:fixed;inset:0}body.editor-body #editor-panel{color:#e8eefc;z-index:3;pointer-events:auto;background:#080e1ceb;border-left:1px solid #ffffff1f;width:min(320px,92vw);height:100%;padding:14px;font-size:13px;position:fixed;top:0;right:0;overflow:auto}#editor-panel header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}#editor-panel header a{color:#9ec5ff;text-decoration:none}#editor-panel section{border-bottom:1px solid #ffffff14;margin-bottom:14px;padding-bottom:12px}#editor-panel label{opacity:.85;margin-bottom:6px;display:block}#editor-panel .btn-row{flex-wrap:wrap;gap:6px;display:flex}#editor-panel button,.world-auth button{font:inherit;color:#e8eefc;cursor:pointer;background:#ffffff14;border:1px solid #ffffff2e;border-radius:6px;padding:6px 10px}#editor-panel button.active{background:#e08a3c40;border-color:#e08a3ccc}#editor-panel button:hover,.world-auth button:hover{background:#ffffff24}#editor-panel .hint,.world-header .hint,.world-auth .hint{opacity:.65;margin:6px 0 0;font-size:12px;line-height:1.35}#editor-panel .hidden{display:none}#editor-panel input[type=range]{width:100%}#editor-panel input[type=text],#editor-panel input[type=password],#editor-panel select{font:inherit;color:#e8eefc;background:#ffffff14;border:1px solid #ffffff2e;border-radius:6px;flex:1;min-width:0;padding:6px 8px}body.editor-body #chunk-view:not(.hidden) #renderCanvas{width:calc(100% - min(320px,92vw));height:100%}@media (width<=720px){body.editor-body #chunk-view:not(.hidden) #renderCanvas{width:100%;height:55%}body.editor-body #editor-panel{border-top:1px solid #ffffff1f;border-left:none;width:100%;height:45%;top:auto;bottom:0}}
