:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#1b1e22;--panel:#23272c;--field:#2c3138;--hover:#323840;--line:#343a41;--text:#e6e8eb;--muted:#8f97a1;--accent:#4f8cff;--accent-soft:#4f8cff29;--warn:#d9a441;--error:#e0605e;--ok:#58b07a;--focus:0 0 0 2px #4f8cff8c;--s1:4px;--s2:8px;--s3:12px;--s4:16px;--r1:4px;--r2:6px;--z-popover:40;--z-menu:50;--z-dialog:100;--font-mono:ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;--bar-h:34px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:var(--focus);outline:none}button:hover:not(:disabled):not(.active):not(.primary):not(.link){background:var(--hover)}.small{font-size:12px}.icon-svg{vertical-align:-3px;flex:none}a.link{color:var(--accent);text-decoration:none}a.link:hover{text-decoration:underline}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font:14px/1.4 system-ui,sans-serif}button,input,select,textarea{font:inherit;color:inherit;background:var(--field);border:1px solid var(--line);border-radius:4px;padding:4px 8px}select{appearance:none;background-color:var(--field);color:var(--text);background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23e6e8eb' stroke-width='1.5'/></svg>");background-position:right 7px center;background-repeat:no-repeat;padding-right:22px}select:disabled{opacity:.55}select option,select optgroup{background:var(--panel);color:var(--text)}select option:checked{color:var(--text);background:#33415a}select option:disabled{color:var(--muted)}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button.active,button.primary{background:var(--accent);border-color:var(--accent);color:#fff}button.link{color:var(--accent);text-align:left;background:0 0;border:none;padding:0}a.button{border:1px solid var(--line);background:var(--field);color:var(--text);cursor:pointer;border-radius:4px;padding:4px 8px;text-decoration:none;display:inline-block}a.button.disabled{opacity:.45;pointer-events:none}.center{justify-content:center;align-items:center;height:100%;display:flex}.page{flex-direction:column;height:100%;display:flex}.columns{grid-template-columns:1fr 1fr;gap:12px;padding:12px;display:grid}.columns.projects.with-game{grid-template-columns:minmax(220px,1fr) minmax(280px,1.4fr) minmax(280px,1fr)}.columns.projects .list li .row{align-items:center;margin:0}.columns.projects .list li .link.grow{text-align:left}.game-panel textarea{resize:vertical}.game-panel .row input[readonly]{color:var(--muted);flex:1}.panel{background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:12px}.panel h2,.panel h3{margin:0 0 8px;font-size:15px}.login{flex-direction:column;gap:10px;width:320px;display:flex}.login label{flex-direction:column;gap:4px;display:flex}.bar{background:var(--panel);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding:6px 10px;display:flex}.grow{flex:1}.sep{background:var(--line);width:1px;height:20px}.muted{color:var(--muted)}.error{color:var(--error)}.badge{background:var(--line);border-radius:10px;padding:2px 8px;font-size:12px}.badge.ok{background:var(--ok);color:#06301a}.badge.warn{background:var(--warn);color:#3a2a00}.badge.error{background:var(--error);color:#fff;cursor:pointer}.list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.list li{flex-direction:column;gap:2px;display:flex}.list li.active{outline:1px solid var(--accent);border-radius:4px;padding:2px 4px}.list li.error strong{color:var(--error)}.list li.warning strong{color:var(--warn)}.row{gap:6px;margin:6px 0;display:flex}.row input,.row select{flex:1;min-width:0}.row input[type=checkbox]{flex:none;width:auto}.editor{flex-direction:column;height:100%;display:flex;overflow:hidden}.workspace{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:280px minmax(0,1fr) 300px;min-height:0;display:grid}.viewport-column{flex-direction:column;min-width:0;min-height:0;display:flex}.layerbar{background:var(--panel);border-bottom:1px solid var(--line);flex-wrap:wrap;gap:6px;padding:4px 8px;display:flex}.layerbar .layer{align-items:center;gap:6px;padding:2px 8px;font-size:13px;display:inline-flex}.layerbar .layer.off{opacity:.55;text-decoration:line-through}.layerbar .eye{color:var(--accent)}.layerbar .layer.off .eye{color:var(--muted)}button.danger{border-color:var(--error);color:var(--error);margin-top:6px}.list.compact{gap:2px}.viewport-host{flex:1;min-width:0;min-height:0;position:relative;overflow:hidden}.assets{border-width:0 1px 0 0;border-radius:0;overflow:auto}.tabs{gap:4px;margin-bottom:8px;display:flex}.asset{cursor:grab;border-radius:4px;align-items:center;gap:8px;padding:4px;flex-direction:row!important}.asset:hover{background:var(--field)}.asset>div{flex:1;min-width:0}.asset small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.thumb{border-radius:4px;flex:none;justify-content:center;align-items:center;width:36px;height:36px;font-size:12px;font-weight:600;display:inline-flex}.viewport{touch-action:none;outline:none;width:100%;height:100%;display:block;position:absolute;inset:0}.sidebar{border-left:1px solid var(--line);flex-direction:column;gap:8px;padding:8px;display:flex;overflow:auto}.sidebar .panel{padding:8px 10px}.field{flex-direction:column;gap:2px;margin-bottom:6px;display:flex}.field label{color:var(--muted);font-size:12px}.field .row{margin:0}.field input.num{width:30%}.check{align-items:center;gap:4px;display:inline-flex}.issues{max-height:40vh;overflow:auto}.menubar{background:var(--panel);border-bottom:1px solid var(--line);align-items:center;gap:2px;padding:2px 6px;font-size:13px;display:flex}.menu{position:relative}.menu-button{background:0 0;border:1px solid #0000;padding:3px 8px}.menu-button.active,.menu-button:hover{background:var(--field);border-color:var(--line)}.menu-list{z-index:50;background:var(--panel);border:1px solid var(--line);border-radius:6px;min-width:240px;margin:2px 0 0;padding:4px;list-style:none;position:absolute;top:100%;left:0;box-shadow:0 8px 24px #00000073}.menu-list li.separator{border-top:1px solid var(--line);margin-top:4px;padding-top:4px}.menu-list button{white-space:nowrap;text-align:left;background:0 0;border:none;border-radius:4px;align-items:center;gap:8px;width:100%;padding:4px 8px;display:flex}.menu-list button:hover:not(:disabled){background:var(--accent);color:#fff}.menu-list button:hover:not(:disabled) .muted{color:#e8f0ff}.menu-list .check{width:14px;display:inline-block}.popover-host{position:relative}.popover{z-index:40;background:var(--panel);border:1px solid var(--line);border-radius:6px;flex-direction:column;gap:6px;min-width:220px;margin-top:4px;padding:10px;display:flex;position:absolute;top:100%;left:0;box-shadow:0 8px 24px #00000073}.workspace{grid-template-rows:minmax(0,1fr);display:grid}.column{background:var(--panel);flex-direction:column;min-width:0;min-height:0;display:flex}.column.left{border-right:1px solid var(--line)}.column.right{border-left:1px solid var(--line)}.column-panel{flex-direction:column;min-height:0;display:flex;overflow:hidden}.column-panel.grow{flex:auto}.splitter{background:var(--bg);flex:none}.splitter.vertical{cursor:col-resize;width:6px}.splitter.horizontal{cursor:row-resize;height:6px}.splitter:hover{background:var(--accent)}.panel.dock{border:none;border-radius:0;flex-direction:column;flex:1;min-height:0;padding:0;display:flex}.panel-head{border-bottom:1px solid var(--line);align-items:center;gap:6px;padding:6px 10px;display:flex}.panel-head h3{color:var(--muted);flex:1;margin:0;font-size:13px;font-weight:600}.panel-actions{align-items:center;gap:4px;display:flex}.panel-actions input.filter{width:120px;padding:2px 6px;font-size:12px}.panel-body{flex:1;min-height:0;padding:8px 10px;overflow:auto}.assets.panel.dock .panel-body{padding:8px}.statusbar{background:var(--panel);border-top:1px solid var(--line);white-space:nowrap;align-items:center;gap:14px;padding:3px 10px;font-size:12px;display:flex;overflow:hidden}.statusbar .warn{color:var(--warn)}.statusbar .error{color:var(--error)}.tree{margin:0;padding:0;list-style:none}.tree-row{cursor:default;-webkit-user-select:none;user-select:none;border-radius:4px;align-items:center;gap:4px;min-height:24px;padding:2px 4px;display:flex}.tree-row:hover{background:var(--field)}.tree-row.selected{outline:1px solid var(--accent);background:#4f8cff40}.tree-row.hidden .label{opacity:.5}.tree-row .label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tree-row .twisty,button.icon{color:var(--muted);background:0 0;border:none;padding:0 3px;line-height:1}button.icon.on{color:var(--accent)}button.icon.danger-text{color:var(--error)}.tree-row .icon{color:var(--muted);font-size:12px}.layers .layer-row{flex-direction:row;align-items:center;gap:4px}.layers .layer-row.active{outline:1px solid var(--accent);border-radius:4px}.layers .layer-row input.name{min-width:0;padding:2px 6px}.layers .layer-row input[type=color]{background:0 0;border:none;width:26px;height:22px;padding:0}.layers .count{text-align:right;min-width:20px;font-size:12px}.chips{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.chip{background:var(--field);border-radius:10px;align-items:center;gap:4px;padding:1px 6px;font-size:12px;display:inline-flex}.chip.partial{opacity:.6;border:1px dashed var(--muted)}.chip-input{width:70px;padding:1px 6px;font-size:12px}.row.flags{gap:14px}.row.end{justify-content:flex-end}.form{flex-direction:column;gap:2px;display:flex}.form .field{flex-direction:row;align-items:center;gap:6px;margin-bottom:2px}.form .field label{flex:none;width:90px}.form .field input,.form .field select{flex:1;min-width:0;padding:2px 6px}.component{border:1px solid var(--line);border-radius:4px;margin:4px 0;padding:4px 6px}.inspector .ids{word-break:break-all;margin-top:6px;display:block}.dialog-backdrop{z-index:100;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.dialog{background:var(--panel);border:1px solid var(--line);border-radius:8px;flex-direction:column;gap:8px;width:min(560px,90vw);max-height:90vh;padding:16px;display:flex;overflow:auto}.dialog .field.grow{flex:1}.asset-filters{flex-wrap:wrap}.asset-filters select{flex:45%;min-width:0;padding:2px 6px;font-size:12px}.asset-name{align-items:center;gap:4px;display:flex}.asset-name button.star{margin-left:auto;font-size:14px}.asset.active{outline:1px solid var(--accent)}img.thumb{object-fit:cover;background:var(--field)}.assets-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:6px;display:grid!important}.assets-grid .asset{text-align:center;align-items:stretch;padding:6px;flex-direction:column!important}.assets-grid .asset .thumb{width:100%;height:84px;font-size:18px}.assets-grid .asset small{white-space:normal;font-size:11px}.assets-grid .asset-name{justify-content:center;font-size:12px}.tree-scroll{height:100%;overflow:auto}[data-panel=hierarchy] .panel-body{flex-direction:column;padding:4px;display:flex;overflow:hidden}.tree{box-sizing:border-box}.placement-bar{border-bottom:1px solid var(--accent);background:#2a3340;flex-wrap:wrap;align-items:center;gap:8px;padding:4px 8px;font-size:13px;display:flex}.placement-bar label{align-items:center;gap:4px;display:inline-flex}.placement-bar input.num{width:56px;padding:2px 4px}.viewport-host.placing canvas{cursor:crosshair}.draw-bar .chips{flex-wrap:wrap;align-items:center;gap:4px;display:inline-flex}.draw-bar .chip{border:1px solid var(--line);background:var(--field,#1b212a);border-radius:10px;align-items:center;gap:2px;padding:1px 6px;font-size:12px;display:inline-flex}.shortcuts-dialog{width:min(640px,92vw)}.shortcuts-table{border:1px solid var(--line);border-radius:var(--r1,4px);max-height:60vh;overflow:auto}.shortcuts-table table{border-collapse:collapse;width:100%;font-size:12px}.shortcuts-table th,.shortcuts-table td{text-align:left;border-bottom:1px solid var(--line);vertical-align:middle;padding:4px 8px}.shortcuts-table th{background:var(--panel);position:sticky;top:0}.shortcuts-table tr.custom td:first-child{color:var(--accent)}.shortcuts-table td.actions{white-space:nowrap;text-align:right}.shortcuts-table kbd{border:1px solid var(--line);background:var(--field,#1b212a);font-family:var(--font-mono,monospace);border-bottom-width:2px;border-radius:3px;margin-right:4px;padding:0 5px;font-size:11px;display:inline-block}.shortcuts-table .warn{color:#f0b24a}.marquee{border:1px solid var(--accent);pointer-events:none;background:#4f8cff26;position:absolute}.context-menu{z-index:90;position:fixed}.context-menu .menu-list{margin:0;position:static}.replace-list{max-height:40vh;overflow:auto}.tree-row.drop-target{outline:1px dashed var(--accent);background:#4f8cff1f}.logic-palette{grid-template-columns:1fr 1fr;gap:4px;display:grid}.logic-palette button{text-align:left;align-items:center;gap:6px;display:flex}.logic-palette .swatch{border-radius:50%;width:10px;height:10px;display:inline-block}.shape-fields{flex-wrap:wrap;gap:4px;display:flex}.shape-fields input.num{width:60px}.snapshots{border-collapse:collapse;width:100%;margin:8px 0}.snapshots td{border-top:1px solid var(--border,#333);padding:4px 6px}.dialog .row{align-items:center;gap:6px;display:flex}.dialog .row.end{justify-content:flex-end}.badge.agent{color:#d6c8ff;background:#3b2f6b}.autosave-offer{z-index:30;color:#ffe9a8;background:#4a3d12;border-radius:6px;align-items:center;gap:8px;padding:6px 12px;display:flex;position:fixed;top:88px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0006}.play-view{background:#101418;flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.play-bar{background:#1d2a1f;border-bottom:1px solid #2f4a33;align-items:center;gap:8px;padding:4px 8px;display:flex}.play-canvas{touch-action:none;outline:none;flex:1;width:100%;min-height:0}.play-log{color:#d8e6d0;pointer-events:none;white-space:pre-wrap;background:#0000008c;border-radius:4px;max-width:50%;max-height:40%;margin:0;padding:6px 8px;font-size:11px;line-height:1.4;position:absolute;bottom:8px;left:8px;overflow:hidden}.panel-head{align-items:center;gap:8px;display:flex}.panel-head h3{flex:1}.field .checks{grid-template-columns:1fr 1fr;gap:2px 10px;display:grid}.field .checks .check{align-items:center;gap:6px;display:flex}.panel.notes .notes-list{max-height:40vh;margin:0;padding:0;list-style:none;overflow:auto}.panel.notes .note{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr auto;align-items:start;gap:2px 6px;padding:4px 2px;display:grid}.panel.notes .note.selected{background:var(--accent-soft)}.panel.notes .note .check{grid-row:1/span 2;margin-top:2px}.panel.notes .note .note-text{text-align:left;white-space:pre-wrap;word-break:break-word;grid-column:2;padding:0}.panel.notes .note.resolved .note-text{color:var(--muted);text-decoration:line-through}.panel.notes .note small{grid-column:2;font-size:11px}.panel.notes .note .note-actions{grid-area:1/3/span 2;gap:2px;display:flex}.panel.notes .note textarea{resize:vertical;grid-column:2;width:100%;min-height:60px}.note-dialog{min-width:360px}.note-dialog textarea{resize:vertical;width:100%;min-height:96px}.problem-group{margin-bottom:6px}.problem-group .group-head,.statistics .group-head{text-align:left;width:100%;color:inherit;cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;padding:2px 0;display:flex}.statistics .group-head h3{margin:0}.problem-group.error .group-head strong{color:#ff8a8a}.problem-group.warning .group-head strong{color:#ffd27a}.stats{border-collapse:collapse;width:100%;font-size:12px}.stats td{padding:2px 4px}.stats td:last-child{text-align:right}.search{align-items:center;gap:4px;display:inline-flex}.search input{width:180px}.terrain-bar label{align-items:center;gap:4px;display:inline-flex}.terrain-bar input.num{width:56px}.row.wrap{flex-wrap:wrap}label.file{margin-top:6px;font-size:12px;display:block}label.file input{margin-top:2px;display:block}.play-window{flex-direction:column;display:flex;position:fixed;inset:0}.play-window .play-view{height:100%}.play-status{color:#fff;background:#782828cc;border-radius:4px;padding:6px 8px;font-size:12px;position:absolute;bottom:8px;right:8px}.component.behavior.disabled>.row strong{opacity:.55;text-decoration:line-through}.form .field.wide{flex-direction:column;align-items:stretch}.form .field.wide>.form{border-left:2px solid var(--line);padding-left:8px}.form .field textarea{width:100%;font:inherit;resize:vertical}.form .field .row.slider{align-items:center;gap:6px}.form .field .row.slider input[type=range]{flex:1;min-width:60px}.form .field .row.slider .num{text-align:right;min-width:36px;font-size:11px}.param-list .row{align-items:center}.rule-list{margin:0;padding:0;list-style:none}.rule-list li{border-bottom:1px solid var(--line);align-items:flex-start;gap:6px;padding:3px 0;font-size:12px;display:flex}.rule-list li.complex{font-style:italic}.value-list{margin:0;padding:0;list-style:none}.value-list li{border-bottom:1px solid var(--line);padding:4px 0;font-size:12px}.value-list .row{flex-wrap:wrap;align-items:center;gap:4px}.value-list .row input:not([type=checkbox]){width:64px}.value-list .row input[aria-label=Name]{flex:80px;width:auto}.value-list .tag{color:var(--muted);border:1px solid var(--line);border-radius:var(--r1,3px);padding:0 4px;font-size:10px}.rule-new{border:1px solid var(--line);border-radius:4px;margin-top:4px;padding:4px 6px}.rule-new .row{flex-wrap:wrap;align-items:center;gap:4px}.rule-new select{max-width:180px}.behavior-details{margin-top:4px;font-size:12px}.behavior-details p{margin:0 0 4px}.assets .extensions{margin-top:6px;font-size:11px}.play-message{color:#fff;text-align:center;pointer-events:none;background:#000000b3;border-radius:6px;max-width:60%;padding:10px 16px;font-size:16px;position:absolute;top:18%;left:50%;transform:translate(-50%)}.play-message.warning{background:#965a14d9}.play-message.dialog{background:#141e3ce6;border:1px solid #6a7fb0;max-width:70%;top:auto;bottom:14%}.play-prompt{color:#111;pointer-events:none;background:#ffffffd9;border-radius:4px;padding:4px 10px;font-size:13px;position:absolute;bottom:22%;left:50%;transform:translate(-50%)}.play-debug{color:#cfe;white-space:pre;pointer-events:none;background:#000000a6;margin:0;padding:6px 8px;font-size:11px;line-height:1.4;position:absolute;top:44px;right:8px}.play-overlay{color:#fff;text-align:center;background:#0a0e12b8;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;display:flex;position:absolute;inset:32px 0 0}.play-overlay h1{letter-spacing:.02em;margin:0;font-size:40px}.play-overlay p{color:#dfe6ee;max-width:32em;margin:0;font-size:17px}.play-end.win h1{color:#9be3a9}.play-end.lose h1{color:#f0a09e}.play-overlay .primary{padding:8px 18px;font-size:16px}.play-hint{text-overflow:ellipsis;white-space:nowrap;flex:80px;min-width:0;font-size:12px;overflow:hidden}.play-bar{flex-wrap:nowrap}.play-bar>*{flex:none}.play-bar>.play-hint{flex:80px}.play-bar .grow{flex:0 0 4px}.play-error{margin:0;position:absolute;bottom:8px;left:8px}.play-chrome-public .play-bar{border-bottom:1px solid var(--line);background:#1c2127}.extensions{border-top:1px solid var(--line);margin-top:8px;padding-top:6px;font-size:12px}.extension-lists .list li{display:block}.extension-lists .list li .row{align-items:center}.toolbar{min-height:var(--bar-h);flex-wrap:wrap;gap:6px;padding:4px 8px}.toolbar>*{flex:none}.toolbar .search{flex:100px;min-width:90px;max-width:260px}.toolbar .search input{width:100%;min-width:0}.toolbar input.summary{flex:90px;width:auto;min-width:80px;max-width:200px}.toolbar [data-toolbar-status]{text-overflow:ellipsis;white-space:nowrap;flex:80px;max-width:260px;font-size:12px;overflow:hidden}.toolbar button{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.toolbar button.icon,.panel-actions button.icon{color:var(--text);border-radius:var(--r1);border:1px solid #0000;padding:3px}.toolbar button.icon:hover:not(:disabled){background:var(--hover);border-color:var(--line)}.segmented{border:1px solid var(--line);border-radius:var(--r2);display:inline-flex;overflow:hidden}.segmented button{border:none;border-right:1px solid var(--line);background:var(--field);border-radius:0;padding:4px 9px}.segmented button:last-child{border-right:none}.segmented button.active{background:var(--accent);color:#fff}.segmented .label{font-size:13px}@media (width<=1700px){.toolbar .label,.toolbar input.summary{display:none}.toolbar [data-toolbar-status]{max-width:160px}}.popover-title{color:var(--muted);margin-bottom:2px;font-size:12px;font-weight:600}.popover .row{flex-wrap:wrap}.popover p.small{max-width:260px;margin:4px 0 0}.menu-list li.has-sub{position:relative}.menu-list.sub{margin:0;top:-5px;left:100%}.menu-list .check{color:var(--accent)}.menu-list button:hover:not(:disabled) .check{color:#fff}.breadcrumb{padding-right:6px;font-size:13px}.breadcrumb strong{color:var(--text);font-weight:600}.layerbar-title{align-self:center;padding-right:4px;font-size:12px}.layerbar .eye .icon-svg{vertical-align:-2px}.assets .panel-head{padding:6px 10px}.tabs{flex-wrap:wrap}.tabs button{white-space:nowrap;padding:3px 8px;font-size:13px}.asset .place-button{padding:2px 8px;font-size:12px;display:none}.asset:hover .place-button,.asset.active .place-button{display:inline-flex}.assets-grid .asset .place-button{display:none!important}.play-bar{min-height:var(--bar-h)}.touch-controls{pointer-events:none;justify-content:space-between;align-items:flex-end;height:200px;padding:0 24px 24px;display:flex;position:absolute;inset:auto 0 0}.touch-stick{pointer-events:auto;touch-action:none;background:#ffffff1f;border:2px solid #ffffff59;border-radius:50%;justify-content:center;align-items:center;width:120px;height:120px;display:flex}.touch-knob{background:#ffffffbf;border-radius:50%;width:52px;height:52px}.touch-buttons{pointer-events:auto;align-items:flex-end;gap:14px;display:flex}.touch-button{touch-action:none;color:#fff;width:64px;height:64px;font:700 22px var(--font-mono);-webkit-user-select:none;user-select:none;background:#14181e99;border:2px solid #ffffff80;border-radius:50%}.touch-button:active{background:var(--accent)}.touch-run{width:52px;height:52px}.touch-controls~.play-log{bottom:216px}.play-volume{align-items:center;gap:4px;font-size:12px;display:inline-flex}.play-volume input[type=range]{background:0 0;border:none;width:90px;padding:0}.play-settings{text-align:left;grid-template-columns:auto auto;align-items:center;gap:8px 14px;font-size:13px;display:grid}.play-settings>label{display:contents}.play-settings>label.check{grid-column:1/-1;align-items:center;gap:6px;display:flex}.play-settings>.play-volume{grid-column:1/-1}.play-settings input[type=range]{background:0 0;border:none;width:120px;padding:0}.play-settings-popover{z-index:4;color:#fff;background:#141a20f0;border-radius:8px;flex-direction:column;gap:10px;min-width:260px;padding:10px 12px;display:flex;position:absolute;top:40px;right:12px;box-shadow:0 6px 24px #0006}.play-settings-popover .row{align-items:center;gap:8px;display:flex}.play-map{z-index:5;background:#080b0fe6;gap:10px}.play-map-canvas{cursor:crosshair;border-radius:8px;width:auto;max-width:calc(100% - 32px);height:auto;max-height:calc(100% - 64px)}.play-map .row{align-items:center;gap:12px;display:flex}.play-waypoint{color:#ffb27a;pointer-events:none;background:#141a20bf;border-radius:999px;padding:4px 12px;font-size:14px;position:absolute;top:44px;left:50%;transform:translate(-50%)}.play-loading{z-index:5;background:#0a0e12e6}.play-progress{background:#ffffff26;border-radius:4px;width:min(360px,80%);height:8px;overflow:hidden}.play-progress-fill{background:#9be3a9;height:100%;transition:width .12s linear}.asset.sound{cursor:default}.asset-upload label.file{cursor:pointer;align-items:center;gap:4px;font-size:13px;display:inline-flex}.asset-upload label.file input,.asset .remove{display:none}.asset:hover .remove{display:inline-flex}.play-fade{opacity:0;pointer-events:none;background:#000;transition:opacity .3s ease-in-out;position:absolute;inset:0}.play-fade.on{opacity:1}@media (prefers-reduced-motion:reduce){.play-fade{transition:none}}.play-health{color:#fff;pointer-events:none;background:#0000008c;border:1px solid #ffffff59;border-radius:9px;width:180px;height:18px;font-size:11px;position:absolute;top:44px;left:12px;overflow:hidden}.play-health-fill{background:#58b07a;height:100%;transition:width .2s ease-out}.play-health-fill.low{background:var(--error)}.play-health span{text-align:center;text-shadow:0 1px 2px #000;line-height:16px;position:absolute;inset:0}.play-dialog{color:#fff;background:#10141aeb;border:1px solid #6a7fb0;border-radius:8px;width:min(640px,90%);padding:14px 18px;font-size:16px;position:absolute;bottom:12%;left:50%;transform:translate(-50%)}.play-dialog-title{color:#9fc0ff;margin-bottom:4px;font-weight:600}.play-dialog p{margin:0 0 10px}.play-dialog-options{flex-direction:column;gap:4px;margin:0 0 6px;padding:0;list-style:none;display:flex}.play-dialog-options button{text-align:left;width:100%}.play-dialog small{margin-top:6px;font-size:11px;display:block}.title-screen{background:radial-gradient(ellipse at top, #1f2a3a, var(--bg,#141a22) 70%)}.title-card{text-align:center;flex-direction:column;align-items:center;gap:12px;width:min(560px,92vw);display:flex}.title-card h1{margin:0;font-size:32px}.title-card p{max-width:48ch;margin:0}.title-cover{aspect-ratio:16/9;object-fit:cover;border-radius:var(--r2,8px);border:1px solid var(--line);width:100%}button.big{align-items:center;gap:8px;padding:10px 24px;font-size:18px;display:inline-flex}.cover-row{align-items:flex-start}.cover-preview{object-fit:cover;border:1px solid var(--line);border-radius:var(--r1,4px);background:var(--field,#1b212a);justify-content:center;align-items:center;width:160px;height:90px;font-size:12px;display:inline-flex}.cover-row .col{flex-direction:column;gap:4px;display:flex}.file-button{border:1px solid var(--line);border-radius:var(--r1,4px);background:var(--field,#1b212a);cursor:pointer;text-align:center;padding:4px 8px;font-size:12px;display:inline-block;position:relative}.file-button input[type=file]{opacity:0;cursor:pointer;position:absolute;inset:0}.play-minimap{border-radius:var(--r1,4px);pointer-events:none;z-index:3;width:160px;height:160px;position:absolute;top:44px;right:12px}.play-inventory{border-radius:var(--r1,4px);color:#fff;pointer-events:none;text-shadow:0 1px 2px #000;background:#00000080;flex-wrap:wrap;gap:4px 10px;max-width:320px;padding:4px 8px;font-size:12px;display:flex;position:absolute;top:70px;left:12px}.play-quests{border-radius:var(--r1,4px);color:#fff;pointer-events:none;text-shadow:0 1px 2px #000;background:#00000080;max-width:320px;margin:0;padding:6px 10px;font-size:12px;list-style:none;position:absolute;top:104px;left:12px}.play-quests li.done{opacity:.6;text-decoration:line-through}.play-quests li.failed{opacity:.6;color:#f0a0a0}.play-quests .mark{color:#ffd23f}.hud-list{margin:0;padding:0;list-style:none}.hud-list li{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:4px;padding:2px 0}.hud-list input{width:110px}.play-hud{pointer-events:none;z-index:3;flex-direction:column;gap:6px;max-width:45%;display:flex;position:absolute}.play-hud.top-left{top:44px;left:12px}.play-hud.top-right{align-items:flex-end;top:44px;right:12px}.play-hud.bottom-left{bottom:56px;left:12px}.play-hud.bottom-right{align-items:flex-end;bottom:56px;right:12px}.play-hud .play-health,.play-hud .play-inventory,.play-hud .play-quests,.play-hud .play-minimap{position:static}.play-hud-item{border-radius:var(--r1,4px);color:#fff;text-shadow:0 1px 2px #000;background:#00000080;padding:4px 8px;font-size:13px}.node-editor{gap:6px;width:min(1500px,96vw);height:90vh;padding:10px 12px}.node-editor-head h3{margin:0 12px 0 0}.node-editor-body{flex:1;grid-template-columns:150px 1fr 240px;gap:8px;min-height:0;display:grid}.node-palette{flex-direction:column;gap:3px;display:flex;overflow:auto}.node-palette button{text-align:left;border-left:4px solid var(--line);padding:4px 6px;font-size:12px}.node-canvas{border:1px solid var(--line);border-radius:var(--r1,4px);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:#141a22;width:100%;height:100%}.node-canvas.dragging{cursor:grabbing}.node-canvas .node-body{fill:#232b36;stroke:#ffffff2e}.node-canvas .node.selected .node-body{stroke:#fff;stroke-width:2px}.node-canvas .node-head{cursor:move}.node-canvas .node-title{fill:#fff;pointer-events:none;font-size:11px;font-weight:600}.node-canvas .node-kind{opacity:.8;font-weight:400}.node-canvas .node-sub{fill:var(--muted);pointer-events:none;font-size:10px}.node-canvas .port circle{fill:#64748b;stroke:#0b0f14;cursor:crosshair}.node-canvas .port.data circle{fill:#22c55e}.node-canvas .port.flow circle{fill:#e2e8f0}.node-canvas .port-label{fill:#cbd5e1;pointer-events:none;font-size:10px}.node-canvas .node-edge{fill:none;stroke:#e2e8f0;stroke-width:2px;cursor:pointer}.node-canvas .node-edge.data{stroke:#22c55e;stroke-dasharray:5 3}.node-canvas .node-edge.selected{stroke:#ffd23f;stroke-width:3px}.node-canvas .node-edge.pending{stroke:#ffd23f;pointer-events:none}.node-inspector{font-size:12px;overflow:auto}.node-fields{flex-direction:column;gap:6px;display:flex}.node-fields .field{flex-direction:column;gap:2px;display:flex}.playtest .row.wrap button.active{background:var(--accent,#4a7);color:#fff}.playtest-state{grid-template-columns:max-content 1fr;gap:.15rem .75rem;margin:.5rem 0;font-size:.9em;display:grid}.playtest-state dt{color:var(--muted,#888)}.playtest-state dd{margin:0}.playtest-state dd.warn{color:var(--warn,#c80)}.playtest-events{border:1px solid var(--border,#444);border-radius:4px;max-height:10rem;margin:0;padding:.25rem .5rem;font-family:monospace;font-size:.85em;list-style:none;overflow:auto}.bindings-table{border-collapse:collapse;width:100%;font-size:.9em}.bindings-table th{text-align:left;white-space:nowrap;padding:.15rem .5rem .15rem 0;font-weight:400}.bindings-table td{padding:.15rem .25rem}.bindings-table tr.changed th{font-weight:700}.play-gauges .gauge{margin-right:.75rem}.asset-inspection{flex-direction:column;gap:.1rem;margin-top:.25rem;display:flex}.parts-list{border:1px solid var(--border,#444);border-radius:4px;max-height:9rem;margin:.25rem 0;padding:.25rem .5rem;font-size:.85em;list-style:none;overflow:auto}input.warn{border-color:var(--warn,#c80)}.dialog.wide{width:min(56rem,96vw)}.dialog textarea[data-publish-json],.dialog textarea[data-publish-runtime]{width:100%;font-family:monospace;font-size:.85em}.extension-lists .tabs{margin-bottom:.4rem}span.warn{color:var(--warn,#c80)}.play-crosshair{color:#ffffffd9;text-shadow:0 0 4px #000c;pointer-events:none;font-size:2rem;line-height:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.dialog table.history tr.clickable{cursor:pointer}.dialog table.history tr.clickable:hover td{background:var(--hover)}.dialog table.history tr.error td{color:var(--error)}.dialog .play-log-events{border:1px solid var(--line);border-radius:4px;max-height:50vh;overflow:auto}.dialog table.history{border-collapse:collapse;width:100%;max-height:50vh;font-size:12px}.dialog table.history th,.dialog table.history td{text-align:left;border-bottom:1px solid var(--line);vertical-align:top;padding:3px 6px}.list.points li.row{align-items:flex-end;gap:4px}.list.points .field.grow{min-width:0}.projects-page{--bg:#14232b;--panel:#1d3038;--field:#253a43;--hover:#304751;--line:#3c535b;--text:#edf2ed;--muted:#a8b9ba;--accent:#94dcc8;--accent-soft:#94dcc821;--focus:0 0 0 2px #94dcc8cc;background:var(--bg);height:auto;min-height:100%;color:var(--text);font-family:Segoe UI,system-ui,sans-serif}.projects-page button,.projects-page input,.projects-page select,.projects-page textarea{font:inherit}.projects-page button:focus-visible,.projects-page a:focus-visible,.projects-page input:focus-visible,.projects-page select:focus-visible,.projects-page textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.projects-topbar{border-bottom:1px solid var(--line);background:#192b33;align-items:center;gap:28px;min-height:72px;padding:12px clamp(20px,3vw,48px);display:flex}.projects-brand{align-items:center;gap:12px;min-width:172px;display:flex}.projects-brand-mark{border:1px solid var(--accent);width:39px;height:39px;color:var(--accent);place-items:center;font:700 22px/1 Avenir Next,Segoe UI,sans-serif;display:grid;transform:rotate(-7deg)}.projects-brand strong,.projects-brand small{display:block}.projects-brand strong{letter-spacing:-.04em;font:700 21px/1 Avenir Next,Segoe UI,sans-serif}.projects-brand small,.projects-kicker,.projects-topbar-label,.projects-hero-count span{font:700 11px/1.3 var(--font-mono);letter-spacing:.12em}.projects-brand small{color:var(--muted);margin-top:4px;font-size:9px}.projects-topbar-label{color:var(--accent)}.projects-account{flex-wrap:wrap;align-items:center;gap:18px;margin-left:auto;display:flex}.projects-account a,.projects-account button{color:var(--text);cursor:pointer;background:0 0;border:0;padding:5px 0;font-size:13px;text-decoration:none}.projects-account a:hover,.projects-account button:hover{color:var(--accent)}.projects-user{color:var(--muted);font-size:13px}.projects-error{border:1px solid var(--error);color:#ffe1df;background:#e0605e1f;border-radius:5px;margin:14px clamp(20px,3vw,48px) 0;padding:12px 16px}.projects-shell{grid-template-columns:minmax(252px,310px) minmax(0,1fr);align-items:start;gap:clamp(20px,2.5vw,40px);width:min(100%,1600px);margin:0 auto;padding:clamp(20px,3vw,48px);display:grid}.projects-rail{border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:24px 18px 18px}.projects-kicker{color:var(--accent)}.projects-rail-heading{border-bottom:1px solid var(--line);padding:0 8px 17px}.projects-rail-heading h2{letter-spacing:-.04em;margin:8px 0 0;font-size:24px}.projects-rail-heading h2 span{color:var(--muted);font:500 14px var(--font-mono);margin-left:5px}.projects-rail-empty{color:var(--muted);padding:12px 8px}.projects-project-list,.projects-map-list{margin:0;padding:0;list-style:none}.projects-project-list{padding:13px 0 22px}.projects-project-list li{border-left:2px solid #0000;border-radius:3px}.projects-project-list li.active{border-left-color:var(--accent);background:var(--accent-soft)}.projects-project-list li:hover{background:var(--hover)}.projects-project-row{align-items:center;gap:3px;padding:3px 6px;display:flex}.projects-project-name{text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:10px;min-width:0;padding:9px 4px;font-weight:600;display:flex}.projects-project-name span:last-child{overflow-wrap:anywhere}.projects-project-symbol{color:var(--accent);font-size:21px;line-height:.7}.projects-project-description{color:var(--muted);margin:0 8px 10px 36px;display:block}.projects-icon{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;flex:none;place-items:center;padding:0;display:inline-grid;font-size:17px!important}.projects-icon:hover{border-color:var(--line);color:var(--text)}.projects-icon.projects-remove:hover{color:#ff9c96}.projects-create-project{border-top:1px solid var(--line);padding:16px 8px 3px}.projects-create-project label{margin-bottom:9px;font-weight:600;display:block}.projects-create-row{gap:7px;display:flex}.projects-create-row input{flex:1;min-width:0}.projects-create-row button,.projects-map-fields>button{border-color:var(--accent);background:var(--accent);color:#11252a;font-weight:700}.projects-create-row button:disabled,.projects-map-fields>button:disabled{opacity:.5}.projects-workspace{min-width:0}.projects-hero,.projects-welcome{border:1px solid var(--line);background-color:#203840;background-image:linear-gradient(#b0d9d60b 1px,#0000 1px),linear-gradient(90deg,#b0d9d60b 1px,#0000 1px),radial-gradient(circle at 87% 40%,#94dcc81f,#0000 35%);background-size:34px 34px,34px 34px,auto;border-radius:8px;position:relative;overflow:hidden}.projects-hero{justify-content:space-between;align-items:end;gap:20px;min-height:204px;padding:clamp(26px,4vw,52px);display:flex}.projects-hero:after,.projects-welcome:after{content:"";pointer-events:none;border:1px solid #94dcc83b;border-radius:50%;width:180px;height:180px;position:absolute;top:-84px;right:5%}.projects-hero-content{z-index:1;min-width:0;position:relative}.projects-hero h1,.projects-welcome h1{letter-spacing:-.05em;overflow-wrap:anywhere;margin:12px 0 7px;font:700 clamp(34px,4.2vw,61px)/1.05 Avenir Next,Segoe UI,sans-serif}.projects-hero p,.projects-welcome p{color:#c4d1cd;max-width:55ch;margin:0}.projects-hero-count{z-index:1;color:#e5bb80;flex-direction:column;flex:none;align-items:end;display:flex}.projects-hero-count strong{font:500 54px/1 var(--font-mono);letter-spacing:-.09em}.projects-hero-count span{margin-top:5px}.projects-tabs{border-bottom:1px solid var(--line);gap:24px;margin:24px 0 0;display:flex}.projects-tabs button{min-height:48px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;border-radius:0;padding:0 6px 13px;font-weight:600}.projects-tabs button.active{color:var(--text);border-bottom-color:var(--accent)}.projects-tabs button span{font:500 12px var(--font-mono);color:var(--accent);margin-left:7px}.projects-tabs button:hover{color:var(--text)}.projects-section{padding-top:28px}.projects-section[hidden]{display:none!important}.projects-section-heading{justify-content:space-between;align-items:end;gap:22px;margin-bottom:20px;display:flex}.projects-section-heading h2{letter-spacing:-.04em;margin:6px 0 0;font-size:27px}.projects-section-heading p{max-width:37ch;color:var(--muted);margin:0;font-size:13px}.projects-empty-maps{border:1px dashed var(--line);color:var(--muted);border-radius:7px;padding:28px}.projects-map-list{gap:10px;display:grid}.projects-map-list li{border:1px solid var(--line);background:var(--panel);border-radius:7px;justify-content:space-between;align-items:center;gap:15px;min-height:85px;padding:15px 18px;display:flex}.projects-map-list li:hover{border-color:#658783}.projects-map-main{align-items:center;gap:15px;min-width:0;display:flex}.projects-map-symbol{width:44px;height:44px;color:var(--accent);border:1px solid #53716f;border-radius:4px;flex:none;place-items:center;font-size:23px;display:grid}.projects-map-info{min-width:0}.projects-map-title{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.projects-map-title button{text-align:left;cursor:pointer;overflow-wrap:anywhere;background:0 0;border:0;padding:0;font-size:17px;font-weight:650}.projects-map-title button:hover{color:var(--accent)}.projects-map-info small{color:var(--muted);margin-top:6px;display:block}.projects-start-badge{color:#edc487;font:600 10px var(--font-mono);border:1px solid #b38b59;border-radius:3px;padding:3px 7px}.projects-map-actions{flex:none;align-items:center;gap:3px;display:flex}.projects-create-map{border:1px solid var(--line);background:#1b2d35;border-radius:7px;margin-top:22px;padding:20px}.projects-create-map h3{margin:5px 0 16px;font-size:19px}.projects-map-fields{grid-template-columns:minmax(150px,1fr) auto auto;align-items:center;gap:10px;display:grid}.projects-map-fields>input{min-width:0}.projects-size-fields{color:var(--muted);align-items:center;gap:7px;display:flex}.projects-size-fields input{width:78px}.projects-game-section .game-panel{border:1px solid var(--line);background:var(--panel);border-radius:7px;max-width:920px;padding:26px}.projects-game-section .game-panel>.field{gap:7px;margin-bottom:17px}.projects-game-section .game-panel>.field>label,.projects-game-section .game-panel>.field>summary{color:var(--text);font-weight:600}.projects-game-section .game-panel .row{flex-wrap:wrap}.projects-welcome{min-height:370px;padding:clamp(34px,5vw,72px)}.projects-welcome p{z-index:1;position:relative}.projects-welcome-compass{color:#94dcc81f;pointer-events:none;font:300 300px/1 Segoe UI Symbol,sans-serif;position:absolute;bottom:-80px;right:7%}@media (width<=980px){.projects-shell{grid-template-columns:minmax(0,1fr)}.projects-rail{padding:18px}.projects-project-list{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:5px;display:grid}.projects-create-project{padding-top:14px}.projects-topbar-label{display:none}}@media (width<=620px){.projects-topbar{flex-wrap:wrap;gap:12px;padding:12px 18px}.projects-account{justify-content:space-between;gap:12px;width:100%}.projects-user{display:none}.projects-shell{gap:18px;padding:18px}.projects-hero{min-height:180px;padding:25px}.projects-hero-count strong{font-size:39px}.projects-section-heading{flex-direction:column;align-items:start;gap:6px}.projects-map-list li{flex-direction:column;align-items:start}.projects-map-actions{align-self:end}.projects-map-fields{grid-template-columns:1fr}.projects-size-fields input{width:min(35vw,120px)}.projects-game-section .game-panel{padding:16px}.projects-game-section .game-panel .row{align-items:start}}.studio-workspace{--muted:#a9b1bc;--text:#e6e8eb;--bg:#1b1e22;--panel:#23272c;--field:#2c3138;--accent:#4f8cff;font-size:13px}.studio-workspace [hidden],.diagnostics-dock [hidden]{display:none!important}.studio-workspace button{min-height:28px}.studio-workspace button:focus-visible,.menu-list button:focus-visible,.dialog :focus-visible{outline-offset:2px;box-shadow:none;outline:2px solid #8eb6ff}.studio-workspace input,.studio-workspace select,.dialog input{min-height:28px}.studio-workspace input[type=checkbox],.studio-workspace input[type=radio]{min-height:auto}.studio-workspace input.num,.studio-workspace input[type=number]{font-variant-numeric:tabular-nums}.studio-workspace .menubar{background:#1b1e22;flex:none;gap:14px;min-height:40px;padding:4px 12px}.menubar nav{flex:none;gap:2px;display:flex}.studio-mark{color:#fff;background:#4f8cff;border-radius:6px;flex:none;place-items:center;width:25px;height:25px;font-weight:800;display:grid}.studio-workspace .breadcrumb{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);margin-left:auto;overflow:hidden}.breadcrumb strong{color:var(--text)}.breadcrumb>span{color:var(--muted);padding:0 8px}.command-trigger{color:var(--muted);text-align:left;flex:none;min-width:168px}.command-trigger kbd{margin-left:12px;font-size:10px}.editor-controls{background:var(--panel);border-bottom:1px solid var(--line);flex:none;padding:0;display:block}.project-bar,.toolstrip{align-items:center;gap:8px;min-width:0;padding:6px 12px;display:flex}.project-bar{border-bottom:1px solid var(--line);height:46px}.project-bar>*{flex:none}.project-bar .grow{flex:1}.project-bar .search{flex:200px;min-width:100px;max-width:380px;margin-left:auto}.project-bar .search input{width:100%}.project-bar .badge{text-overflow:ellipsis;white-space:nowrap;max-width:240px;overflow:hidden}.project-bar button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.project-bar .primary{min-width:102px}.project-bar .play{color:#b6f1cb;background:#294035;border-color:#426b53;min-width:72px}.project-bar .play.icon{min-width:32px}.project-bar .summary{width:280px;max-width:75vw}.toolstrip{gap:6px;min-height:44px}.toolstrip>*{flex:none}.toolstrip .segmented{border:none;gap:3px;overflow:visible}.toolstrip .segmented button{border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;gap:7px;height:30px;padding:5px 8px;display:inline-flex}.toolstrip .segmented button:nth-child(5),.toolstrip .segmented button:nth-child(7){margin-left:9px}.toolstrip .segmented .label{display:none}.toolstrip .segmented .active .label{font-weight:600;display:inline}.toolstrip .segmented button.active{background:var(--accent-soft);color:#dbe8ff;border-color:#4f8cff}.toolstrip .sep{background:var(--line);width:1px;height:20px;margin:0 4px}.toolstrip .popover-host>button{align-items:center;gap:5px;display:inline-flex}.editor-feedback{border-top:1px solid var(--line);gap:12px;max-height:60px;padding:5px 12px;display:flex;overflow:auto}.editor-feedback:empty{display:none}.studio-workspace .workspace{position:relative}.left-dock,.left-drawer{min-width:0;min-height:0;display:flex}.left-dock>.column,.left-drawer>.column{width:100%}.scene-panel{flex-direction:column;height:100%;min-height:0;display:flex}.scene-tabs{border-bottom:1px solid var(--line);gap:4px;padding:8px;display:flex}.scene-tabs button{color:var(--muted);background:0 0;border:1px solid #0000;flex:1}.scene-tabs [aria-selected=true]{color:var(--text);background:var(--field);border-color:var(--line)}.scene-panel>[role=tabpanel]{flex:1;min-height:0;display:flex}.inspector-dock{background:var(--panel);flex-direction:column;min-width:0;min-height:0;display:flex}.inspector-dock .sidebar{border:none;flex:1;min-height:0;padding:0;display:flex;overflow:hidden}.inspector-dock .sidebar>.inspector{flex:1;min-height:0;padding:0}.studio-workspace .panel-head{min-height:42px;padding:8px 12px}.studio-workspace .panel-head h3{color:var(--text);letter-spacing:.015em;font-size:13px}.studio-workspace .panel-body{scrollbar-gutter:stable;padding:12px}.studio-workspace .inspector .panel-body{flex:1 1 0;min-height:0;overflow:auto}.studio-workspace .inspector .field{margin-bottom:12px}.studio-workspace .inspector .field>label{color:var(--muted)}.studio-workspace .inspector code{overflow-wrap:anywhere;font-size:12px}.studio-workspace .inspector h4{border-bottom:1px solid var(--line);padding:10px 0 6px}.studio-workspace .tree-row{min-height:30px}.studio-workspace .tree-row.selected{background:var(--accent-soft);box-shadow:inset 3px 0 var(--accent);border-color:#0000}.studio-workspace .assets .tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-bottom:12px;display:grid}.studio-workspace .assets .tabs button{min-width:0;padding:5px 3px;font-size:12px}.studio-workspace .assets li{border-bottom:1px solid #ffffff08}.studio-workspace .layerbar{background:var(--bg);flex-wrap:nowrap;min-height:32px;padding:4px 8px;overflow-x:auto}.studio-workspace .layerbar>*{flex-shrink:0}.studio-workspace .layerbar .layer{background:0 0;border-color:#0000;font-size:12px}.studio-workspace .placement-bar{background:#262e3a;border-bottom:1px solid #3c4e69;gap:8px;max-height:112px;padding:8px;font-size:13px;overflow-y:auto}.studio-workspace .placement-bar .tool-hint{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;display:block;overflow:hidden}.studio-workspace .vegetation-bar .tool-hint{flex-basis:100%}.studio-workspace .placement-bar select{max-width:200px}.studio-workspace .popover .chips{max-width:320px}.popover{gap:10px;max-width:min(420px,100vw - 16px);max-height:calc(100vh - 24px);margin:0;padding:14px;overflow-y:auto;box-shadow:0 12px 36px #0008}.popover label{align-items:center;gap:8px;display:flex}.popover input.num{width:64px}.popover .field{flex-direction:column;align-items:stretch;display:flex}.menu-list,.menu-list.sub{z-index:60;min-width:240px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);margin:0;padding:6px;overflow-y:auto;box-shadow:0 12px 36px #0008}.menu-list button{min-height:32px;font-size:13px}.menu-list button:focus-visible{background:var(--accent-soft);outline-offset:-2px}.diagnostics-dock{border-top:1px solid var(--line);background:var(--panel);flex:none;min-width:0}.diagnostics-tabs{gap:4px;min-height:36px;padding:3px 10px;display:flex;overflow-x:auto}.diagnostics-tabs button{color:var(--muted);background:0 0;border:1px solid #0000;flex:none}.diagnostics-tabs [aria-selected=true]{background:var(--accent-soft);color:var(--text);border-bottom-color:var(--accent)}.diagnostics-tabs .dock-toggle{margin-left:auto}.diagnostics-content{border-top:1px solid var(--line);padding:12px 16px;overflow:auto}.diagnostics-content .panel{background:0 0;border:none;padding:0}.diagnostics-content .panel-head{padding:0 0 10px}.diagnostics-content .issues,.diagnostics-content .issues-list{max-height:none}.diagnostics-content table{width:100%}.studio-workspace .statusbar{white-space:nowrap;background:var(--bg);height:26px;font-size:11px;overflow-x:auto}.studio-workspace .statusbar>*{flex-shrink:0}.library-rail{background:var(--panel);padding:6px 4px}.left-drawer{z-index:30;flex-direction:column;width:300px;position:absolute;top:0;bottom:0;left:40px;box-shadow:12px 0 30px #0008}.drawer-close{background:var(--panel);border-radius:0;padding:8px}.drawer-scrim{z-index:29;background:#0004;border:none;position:absolute;inset:0 0 0 40px}.dialog-backdrop{background:#080b10b8;padding:24px}.dialog{scrollbar-gutter:stable;border-color:#454d58;border-radius:10px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);padding:24px;box-shadow:0 24px 80px #0008}.dialog h3,.dialog h2{margin-top:0;font-size:18px}.dialog .field{margin-bottom:12px}.dialog .row.end{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.dialog-title{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.dialog-title h2{margin:0}.command-palette{width:680px}.command-palette>input{width:100%;padding:12px}.command-results{max-height:min(440px,55vh);margin:12px -6px;overflow-y:auto}.command-results>button{text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;width:100%;padding:10px;display:flex}.command-results strong,.command-results small{display:block}.command-results small{color:var(--muted);margin-top:3px}.node-editor-head{border-bottom:1px solid var(--line);padding-bottom:14px}.node-palette button{min-height:32px}.node-inspector{background:var(--bg);border-radius:6px;padding:12px;overflow-y:auto}@media (width<=1279px){.studio-workspace .menubar{gap:6px}.command-trigger{min-width:auto}.command-trigger kbd{display:none}.toolstrip{overflow-x:auto}.project-bar .badge.agent{max-width:100px}.studio-workspace .breadcrumb{max-width:200px}}@media (width<=900px){.studio-workspace .menubar{overflow-x:auto}.studio-workspace .breadcrumb{display:none}.project-bar .badge{max-width:100px}.project-bar{gap:4px;padding:6px}.project-bar .search{min-width:80px}}@media (prefers-reduced-motion:reduce){.studio-workspace *,.dialog *{scroll-behavior:auto;transition:none;animation:none}}.studio-workspace .assets .panel-body{gap:4px;padding:8px}.studio-workspace .assets .tabs{grid-template-columns:repeat(6,minmax(0,1fr));margin:0 0 6px}.studio-workspace .assets .tabs button{grid-column:span 2}.studio-workspace .assets .tabs button:nth-child(n+4){grid-column:span 3}.studio-workspace .assets .row{margin-bottom:4px}.studio-workspace .vegetation-bar>.muted{flex-basis:auto;font-size:11px}.studio-workspace .placement-bar:has(.tool-options-row){max-height:none;padding:0;display:block;overflow:visible}.tool-options-row{flex-wrap:wrap;align-items:center;gap:8px;max-height:78px;padding:8px;display:flex;overflow:auto}.tool-action-row{border-top:1px solid var(--line);align-items:center;gap:8px;padding:5px 8px;display:flex}.tool-action-row .muted{flex:1;font-size:11px}.tool-action-row button{flex:none}.play-logs-content .play-log-events{border:1px solid var(--line);border-radius:4px;max-height:300px;overflow:auto}.play-logs-content table.history{border-collapse:collapse;width:100%;font-size:13px}.play-logs-content table.history td,.play-logs-content table.history th{text-align:left;border-bottom:1px solid var(--line);padding:6px 10px}.play-logs-content table.history tr.clickable{cursor:pointer}.play-logs-content table.history tr.clickable:hover td{background:var(--hover)}.diagnostics-content{max-height:45dvh}@media (width<=900px){.project-bar{overflow-x:auto}}
