:root{--ed-bg:#171b22;--ed-bg-2:#1d222b;--ed-panel:#202630;--ed-panel-2:#252c36;--ed-header:#2a313b;--ed-border:#343d4a;--ed-border-soft:#2b333f;--ed-text:#d7dde6;--ed-muted:#8d98a8;--ed-accent:#5b8def;--ed-select:#284362}.editor-shell{background:var(--ed-bg);height:100vh;color:var(--ed-text);grid-template-rows:30px minmax(0,1fr) 22px;display:grid;overflow:hidden}.menu-bar{background:#202630;border-bottom:1px solid #11151b;align-items:center;gap:6px;padding:0 8px;display:flex;position:relative}.menu-bar .brand{color:#eef4ff;letter-spacing:.08em;background:0 0;border:0;font-weight:800}.menu-bar button{background:0 0;border-color:#0000;min-height:24px;padding:3px 8px}.menu-bar button:hover{background:#303947}.menu-center{pointer-events:none;justify-content:center;align-items:center;height:24px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.menu-center button{pointer-events:auto}.menu-bar .play-button{color:#dff6e7;background:#2d5b3a;border:1px solid #3f7d51;border-radius:4px;justify-content:center;align-items:center;width:34px;min-width:34px;height:24px;min-height:24px;padding:2px 8px;line-height:18px;display:inline-flex}.menu-bar .play-button svg{width:18px;height:18px}.menu-bar .play-button:hover{background:#376f47}.menu-tab-button{height:24px;color:var(--ed-muted);border-radius:3px;align-items:center;gap:5px;font-size:11px;display:inline-flex;background:#1b2028!important;border:1px solid #3a4554!important}.menu-tab-button:hover{color:#e6edf7;background:#252d38!important;border-color:#53657c!important}.menu-tab-button svg{width:14px;height:14px}.titlebar-icon{justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex;min-height:24px!important;padding:3px!important}.titlebar-icon svg{width:15px;height:15px}.dock-workspace{background:#11151b;grid-template-rows:minmax(0,1fr) 230px;grid-template-columns:250px minmax(0,1fr) 330px;gap:2px;min-height:0;display:grid}.editor-panel{background:var(--ed-panel);border:1px solid #11151b;flex-direction:column;min-width:0;min-height:0;display:flex}.hierarchy{grid-area:1/1/span 2}.scene-panel{grid-area:1/2}.inspector{grid-area:1/3/span 2}.project-panel{grid-area:2/2}.panel-titlebar{border-bottom:1px solid var(--ed-border);background:linear-gradient(#2c3440,#252c36);flex:none;justify-content:space-between;align-items:center;gap:8px;height:32px;padding:0 8px;display:flex}.panel-titlebar strong{color:#e6edf7;font-size:12px;display:block}.panel-titlebar small{color:var(--ed-muted);margin-top:-1px;font-size:10px;display:block}.panel-titlebar button{min-height:22px;padding:1px 7px}.status-bar{color:var(--ed-muted);background:#202630;border-top:1px solid #303947;align-items:center;gap:18px;padding:0 8px;font-size:11px;display:flex}.scene-tools{color:var(--ed-muted);gap:6px;font-size:11px;display:flex}.scene-tools span{background:#1b2028;border:1px solid #3a4554;border-radius:3px;padding:2px 6px}.project-browser{flex:1;grid-template-columns:145px minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.project-tree{border-right:1px solid var(--ed-border);color:#b5c0cf;background:#1a1f27;min-height:0;padding:6px;font-size:12px;overflow:auto}.project-tree-row{color:#b5c0cf;text-align:left;background:0 0;border:0;border-radius:3px;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:24px;padding:4px 6px;font-size:12px;display:flex}.project-tree-row:hover{color:#fff;background:#252d38}.project-tree-row.active{color:#fff;background:#293241}.project-tree-row.child{color:#8d98a8;padding-left:18px}.project-tree-row span{color:#728196;font-size:10px}.editor-asset-grid{min-width:0;height:auto;min-height:0;padding:8px;overflow:auto}.asset-group-title{color:#8d98a8;text-transform:uppercase;letter-spacing:.06em;width:100%;margin:4px 0 -4px;font-size:11px}.tree{background:#1b2028;flex:auto;min-height:72px;padding:4px 0;overflow:auto}.tree-row{color:#c5cfdc;border:0;align-items:center;gap:6px;height:24px;font-size:12px;display:flex}.tree-row:hover{background:#252d38}.tree-row.selected{background:var(--ed-select);color:#fff}.fold{color:#8d98a8;background:0 0;border:0;width:18px;min-height:18px;padding:0;font-size:12px}.tree-type{color:#7fa9d9;width:28px;font-size:10px;font-weight:800}.stage-scroll{background-color:#181d25}.stage{box-shadow:0 0 0 1px #4a586b,0 16px 42px #00000073}.floating-window{z-index:60;background:#202630;border:2px solid #465569;border-radius:0;min-width:420px;min-height:260px;display:flex;position:fixed;overflow:hidden;box-shadow:0 18px 50px #00000061}.floating-window-titlebar{z-index:6;cursor:move;-webkit-user-select:none;user-select:none;background:#242b35;border-bottom:1px solid #303947;flex:none;justify-content:space-between;align-items:center;height:36px;padding:0 8px 0 12px;display:flex;position:relative}.floating-window-title-main{align-items:center;gap:8px;min-width:0;display:flex}.floating-window-titlebar strong{color:#f0f3f7;display:block}.floating-window-leading{color:#cdd5df;background:0 0;border:0;flex:none;place-items:center;width:24px;height:24px;min-height:24px;padding:3px;display:grid}.floating-window-leading:hover{color:#fff;background:#303947}.floating-window-leading svg{width:16px;height:16px}.floating-window-subtitle{color:#8f9bac;margin-top:1px;font-size:10px;font-weight:400;display:block}.floating-window-titlebar button{background:0 0;border:0}.floating-window-resize{z-index:4;touch-action:none;position:absolute}.floating-window-resize-n{cursor:ns-resize;height:8px;top:-4px;left:8px;right:8px}.floating-window-resize-s{cursor:ns-resize;height:8px;bottom:-4px;left:8px;right:8px}.floating-window-resize-e{cursor:ew-resize;width:8px;top:8px;bottom:8px;right:-4px}.floating-window-resize-w{cursor:ew-resize;width:8px;top:8px;bottom:8px;left:-4px}.floating-window-resize-ne{cursor:nesw-resize;width:12px;height:12px;top:-5px;right:-5px}.floating-window-resize-nw{cursor:nwse-resize;width:12px;height:12px;top:-5px;left:-5px}.floating-window-resize-se{cursor:nwse-resize;width:14px;height:14px;bottom:-5px;right:-5px}.floating-window-resize-sw{cursor:nesw-resize;width:12px;height:12px;bottom:-5px;left:-5px}.floating-window-resize-se:after{content:"";border-bottom:2px solid #6f7d90;border-right:2px solid #6f7d90;width:8px;height:8px;position:absolute;bottom:4px;right:4px}.gdd-editor.svelte-ud8pf2{box-sizing:border-box;flex-direction:column;width:100%;height:100%;min-height:0;display:flex}.gdd-scroll.svelte-ud8pf2{flex:1;min-height:0;padding:24px 32px;overflow:auto}.gdd-editor.svelte-ud8pf2 h3:where(.svelte-ud8pf2){margin-top:0}.gdd-status.svelte-ud8pf2{background:#252e3a;border-radius:6px;padding:10px 12px}.gdd-editor.svelte-ud8pf2 label:where(.svelte-ud8pf2){margin:10px 0;display:block}.gdd-editor.svelte-ud8pf2 textarea:where(.svelte-ud8pf2){box-sizing:border-box;color:#e1e7ef;width:100%;font:inherit;background:#171c23;border:1px solid #3b4656;border-radius:5px;margin-top:4px;padding:10px;line-height:1.5;display:block}.design-sections-heading.svelte-ud8pf2{justify-content:space-between;align-items:center;gap:12px;display:flex}.design-card.svelte-ud8pf2{background:#202630;border:1px solid #3b4656;border-radius:6px;margin:12px 0;padding:14px}.design-card-header.svelte-ud8pf2{gap:6px;display:flex}.design-card-header.svelte-ud8pf2 input:where(.svelte-ud8pf2),.design-list-row.svelte-ud8pf2 input:where(.svelte-ud8pf2){color:#e1e7ef;min-width:0;font:inherit;background:#171c23;border:1px solid #3b4656;border-radius:4px;flex:1;padding:7px}.design-list-row.svelte-ud8pf2{gap:6px;margin:6px 0;display:flex}.gdd-footer.svelte-ud8pf2{background:#202630;border-top:1px solid #3b4656;flex:none;padding:12px 20px}.gdd-message.svelte-ud8pf2{max-height:4.5em;margin:0 0 8px;overflow:auto}.gdd-actions.svelte-ud8pf2{flex-wrap:wrap;gap:8px;display:flex}.gdd-summary.svelte-pn25yd{color:#cbd4df;padding:24px}.gdd-summary-status.svelte-pn25yd{background:#252e3a;border-radius:6px;padding:10px 12px}.gdd-summary-hint.svelte-pn25yd{color:#9aaabc}
