.world-editor{width:98vw;height:96vh;max-width:none;max-height:none;margin:auto;padding:14px;background:#0e202a;color:#dfebe5;border:1px solid #55787d;box-sizing:border-box;display:flex;flex-direction:column;font:13px/1.5 system-ui,sans-serif}.world-editor::backdrop{background:#020c14df}.world-editor>header{display:flex;align-items:center;justify-content:space-between}.world-editor h2{margin:0 0 8px;font-size:21px}.world-editor button,.world-editor select,.world-editor input{font:inherit;background:#203b48;color:#edf5ed;border:1px solid #56747c;border-radius:3px;padding:7px;box-sizing:border-box}.world-editor button{cursor:pointer}.world-editor button:hover{background:#3d6066}.world-editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.world-editor-toolbar label{display:flex;gap:5px;align-items:center}.world-editor-status{margin:8px 0;min-height:20px;color:#a9decf}.world-editor-body{display:grid;grid-template-columns:210px minmax(480px,1fr) 275px;gap:12px;min-height:0;flex:1}.world-editor-body>aside{overflow:auto;border:1px solid #37545d;padding:10px;min-height:0}.world-editor-body>section{min-width:0;min-height:0;display:flex;flex-direction:column}.world-editor-scroll{overflow:auto;flex:1;background:#09161e;display:block;border:1px solid #456572;padding:12px}.world-editor canvas{display:block;image-rendering:auto;max-width:none;touch-action:none}.world-editor-list{display:flex;flex-direction:column;gap:5px;margin-top:10px}.world-editor-list button{text-align:left}.world-editor-list button[aria-pressed=true]{background:#416a6b;border-color:#8de6ce}.world-editor-body>aside>label{display:flex;flex-direction:column;gap:3px;margin:9px 0}.world-editor pre{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.7 ui-monospace,monospace;background:#0a1922;padding:8px}.world-editor code{overflow-wrap:anywhere}.world-editor .world-character-preview{width:180px;height:180px;background:#284a43;margin:auto}.world-editor button:focus-visible,.world-editor canvas:focus-visible{outline:2px solid #a5edcc;outline-offset:2px}

.world-editor canvas{position:static!important;inset:auto!important;max-width:none!important;flex-shrink:0}.world-editor .world-character-preview{width:180px!important;height:180px!important}
.world-editor>header{height:auto;min-height:40px;flex:0 0 auto;padding:0;gap:10px;background:transparent}.world-editor-toolbar{flex:0 0 auto;max-width:100%}.world-editor-toolbar button,.world-editor-toolbar select{flex-shrink:0}.world-editor-toolbar input[type=checkbox]{width:auto}.world-editor-body,.world-editor-body>aside,.world-editor-scroll{min-width:0}.world-editor-body>aside{box-sizing:border-box}.world-editor{overflow:hidden}.world-editor-scroll{max-width:100%;box-sizing:border-box}
