.ai-games{max-width:1000px;color:var(--ui-text,#243458);margin:0 auto;line-height:1.55}.ai-games .ai-intro{color:var(--ui-muted,#586681);margin-top:0}.ai-games .ai-steps{border-bottom:1px solid var(--ui-border,#d9deed);flex-wrap:wrap;gap:8px;margin-bottom:20px;padding-bottom:18px;display:flex}.ai-games button{border:1px solid var(--ui-accent-border,#b9b0e4);background:var(--ui-surface,#f5f2ff);min-height:44px;color:var(--ui-accent-text,#342777);font:inherit;cursor:pointer;border-radius:10px;padding:9px 14px}.ai-games button.primary,.ai-games .ai-steps button[aria-current=step]{color:#fff;border-color:var(--ui-accent-border,#6650d6);background:#6650d6}.ai-games button:disabled{opacity:.5;cursor:default}.ai-games button:focus-visible,.ai-games textarea:focus-visible,.ai-games summary:focus-visible{outline:3px solid var(--ui-focus,#526fe2);outline-offset:2px}.ai-games .ai-field{flex-direction:column;align-items:stretch;gap:8px;margin:16px 0;font-weight:650;display:flex}.ai-games textarea{box-sizing:border-box;border:1px solid var(--ui-border,#9ca9c5);width:100%;min-width:0;height:auto;min-height:96px;max-height:45vh;font:inherit;resize:vertical;background:var(--ui-surface,#fff);color:var(--ui-text,#243458);border-radius:10px;padding:12px;font-weight:400}.ai-games .ai-json{tab-size:2;font:.85rem/1.5 ui-monospace,monospace}.ai-games .ai-actions{flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0;display:flex}.ai-games .ai-examples{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.ai-games .ai-card{background:var(--ui-surface,#f8f9ff);border:1px solid var(--ui-border,#d9deed);overflow-wrap:anywhere;border-radius:12px;min-width:0;padding:14px}.ai-games h3{margin:20px 0 12px;font-size:1.1rem}.ai-games h4{margin:0;font-size:1rem}.ai-games summary{cursor:pointer;min-height:32px;font-weight:650}.ai-games .ai-success{background:var(--ui-success-soft,#edf8f1);border:1px solid var(--ui-success-border,#9fd0b2);border-radius:12px;padding:14px}.ai-games .ai-success p{margin-bottom:0}.ai-games .ai-summary{flex-wrap:wrap;gap:12px 24px;padding:12px 0;display:flex}.ai-games .ai-summary strong{font-size:1.25rem}.ai-games .ai-levels{overscroll-behavior:contain;gap:10px;max-height:240px;display:grid;overflow-y:auto}.ai-games .ai-errors{background:var(--ui-surface,#fff5f7);border:1px solid var(--ui-danger-border,#e9adba);border-radius:12px;margin-top:18px;padding:16px}.ai-games .ai-errors ol{overscroll-behavior:contain;max-height:260px;padding-left:25px;overflow-y:auto}.ai-games .ai-errors code{overflow-wrap:anywhere;font-size:.85rem}.ai-games .ai-errors li p{margin:4px 0 14px}.ai-games .ai-replace{background:var(--ui-warning-soft,#fff6dd);border:1px solid var(--ui-warning-border,#e3cb87);border-radius:12px;margin:18px 0;padding:14px}.ai-games .ai-replace label{align-items:flex-start;gap:8px;margin-top:14px;display:flex}.ai-games .ai-replace input{flex:0 0 18px;width:18px;height:18px;margin-top:4px}.ai-games .ai-notes,.ai-games .ai-status{color:var(--ui-muted,#586681);font-size:.9rem}.ai-games .ai-status{overflow-wrap:anywhere;min-height:24px;margin-top:14px}.ai-games .ai-filename{overflow-wrap:anywhere;min-width:0}@media (max-width:750px){.ai-games .ai-examples{grid-template-columns:1fr}.ai-games .ai-steps button{flex:130px}}@media (prefers-reduced-motion:reduce){.ai-games *{scroll-behavior:auto}}
.CombatPresets-module__LV9ETW__launch{width:100%;min-height:38px;margin-top:8px;font-size:.85rem!important}.CombatPresets-module__LV9ETW__setup{max-width:940px;color:var(--ui-text,#243458);margin:0 auto}.CombatPresets-module__LV9ETW__setup p{line-height:1.6}.CombatPresets-module__LV9ETW__tabs{flex-wrap:wrap;gap:8px;display:flex}.CombatPresets-module__LV9ETW__tabs button[aria-pressed=true]{color:#fff;border-color:var(--ui-accent-border,#6554e8);background:#6554e8}.CombatPresets-module__LV9ETW__setup fieldset{border:1px solid var(--ui-border,#d7ddea);border-radius:12px;min-width:0;margin:18px 0;padding:16px}.CombatPresets-module__LV9ETW__setup legend{padding:0 6px;font-weight:700}.CombatPresets-module__LV9ETW__fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;display:grid}.CombatPresets-module__LV9ETW__setup label{flex-direction:column;align-items:stretch;gap:6px;min-width:0;font-size:.875rem;display:flex}.CombatPresets-module__LV9ETW__setup select,.CombatPresets-module__LV9ETW__setup input:not([type=checkbox]){border:1px solid var(--ui-border,#aeb8cd);width:100%;min-width:0;height:auto;min-height:42px;color:var(--ui-text,#243458);background:var(--ui-surface,white);border-radius:8px;padding:8px}.CombatPresets-module__LV9ETW__setup .CombatPresets-module__LV9ETW__check{flex-direction:row;align-items:center;gap:8px;min-height:40px}.CombatPresets-module__LV9ETW__check input{flex-shrink:0;width:18px;height:18px}.CombatPresets-module__LV9ETW__note{color:var(--ui-muted,#596982);margin:8px 0;font-size:.83rem}.CombatPresets-module__LV9ETW__targets{overscroll-behavior:contain;max-height:420px;overflow:auto}.CombatPresets-module__LV9ETW__target{border-top:1px solid var(--ui-border,#e1e6ef);padding:10px}.CombatPresets-module__LV9ETW__target:first-child{border-top:0}.CombatPresets-module__LV9ETW__footer{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.CombatPresets-module__LV9ETW__error{color:var(--ui-danger-text,#a02642);background:var(--ui-surface,#fff0f3);border-radius:8px;padding:12px}.CombatPresets-module__LV9ETW__success{background:var(--ui-success-soft,#edfaf1);border:1px solid var(--ui-success-border,#9ccbaf);border-radius:12px;padding:22px}.CombatPresets-module__LV9ETW__success button{margin:6px 10px 0 0}@media (max-width:650px){.CombatPresets-module__LV9ETW__fields{grid-template-columns:minmax(0,1fr)}.CombatPresets-module__LV9ETW__setup fieldset{padding:12px}}
.SceneNavigation-module__gLij3W__navigation{align-items:center;gap:10px;min-width:0;display:flex}.SceneNavigation-module__gLij3W__navigation .SceneNavigation-module__gLij3W__field{min-width:0;color:var(--ui-muted,#64718a);align-items:center;gap:7px;font-size:12px;font-weight:600;display:flex}.SceneNavigation-module__gLij3W__field>span{flex-shrink:0}.SceneNavigation-module__gLij3W__field select{border:1px solid var(--ui-border,#d7ddeb);background:var(--ui-surface,#f8f9fd);width:clamp(112px,11vw,192px);min-width:0;max-width:100%;height:38px;color:var(--ui-text,#2f3a54);font:inherit;text-overflow:ellipsis;cursor:pointer;border-radius:8px;padding:7px 25px 7px 10px}.SceneNavigation-module__gLij3W__field select:focus-visible{outline:3px solid var(--ui-focus,#8770ec);outline-offset:2px}.SceneNavigation-module__gLij3W__manager{width:100%;max-width:860px;margin:auto}.SceneNavigation-module__gLij3W__toolbar{z-index:2;background:var(--ui-surface,#fafbfe);border-bottom:1px solid var(--ui-border,#e0e5ef);justify-content:space-between;align-items:center;gap:12px;padding:4px 0 12px;display:flex;position:sticky;top:-20px}.SceneNavigation-module__gLij3W__toolbar strong{font-size:14px}.SceneNavigation-module__gLij3W__toolbar p{color:var(--ui-muted,#69758c);margin:5px 0 0;font-size:12px;line-height:1.5}.SceneNavigation-module__gLij3W__toolbar>button{flex-shrink:0;color:#fff!important;border-color:var(--ui-accent-border,#6a4edb)!important;background:#6a4edb!important}.SceneNavigation-module__gLij3W__help,.SceneNavigation-module__gLij3W__status,.SceneNavigation-module__gLij3W__error{font-size:12px;line-height:1.6}.SceneNavigation-module__gLij3W__help{color:var(--ui-muted,#69758c)}.SceneNavigation-module__gLij3W__status:empty{display:none}.SceneNavigation-module__gLij3W__status{color:var(--ui-accent-text,#4d397e)}.SceneNavigation-module__gLij3W__error{background:var(--ui-surface,#fff1f2);color:var(--ui-danger-text,#953547);border:1px solid var(--ui-danger-border,#ecc4cc);border-radius:8px;padding:10px 12px}.SceneNavigation-module__gLij3W__list{gap:12px;margin:14px 0;padding:0;list-style:none;display:grid}.SceneNavigation-module__gLij3W__entry{border:1px solid var(--ui-border,#dfe4ef);background:var(--ui-surface,white);border-radius:12px;min-width:0;padding:15px;scroll-margin-top:92px}.SceneNavigation-module__gLij3W__entry.SceneNavigation-module__gLij3W__current{border-color:var(--ui-accent-border,#a38bdc);box-shadow:inset 3px 0 #7654d6}.SceneNavigation-module__gLij3W__entryHeading{color:var(--ui-muted,#768096);align-items:center;gap:9px;font-size:12px;display:flex}.SceneNavigation-module__gLij3W__entryHeading strong{color:var(--ui-accent-text,#6a4ac1);background:var(--ui-surface,#f1ebff);border-radius:6px;margin-left:auto;padding:5px 8px;font-size:11px}.SceneNavigation-module__gLij3W__number{background:var(--ui-accent-soft,#f0edf8);width:26px;height:26px;color:var(--ui-accent-text,#64479d);border-radius:7px;flex-shrink:0;place-items:center;font-weight:700;display:grid}.SceneNavigation-module__gLij3W__actions{flex-wrap:wrap;gap:7px;display:flex}.SceneNavigation-module__gLij3W__actions button{font-size:12px}.SceneNavigation-module__gLij3W__actions .SceneNavigation-module__gLij3W__delete{color:var(--ui-danger-text,#a04459);border-color:var(--ui-danger-border,#e7c4cc)}.SceneNavigation-module__gLij3W__confirm{background:var(--ui-warning-soft,#fff6e7);border:1px solid var(--ui-warning-border,#ead9b4);border-radius:8px;margin-top:12px;padding:12px;font-size:12px;line-height:1.6}.SceneNavigation-module__gLij3W__confirm p{margin:0 0 10px}@media (max-width:1350px){.SceneNavigation-module__gLij3W__field select{width:clamp(130px,18vw,210px)}}@media (max-width:700px){.SceneNavigation-module__gLij3W__navigation{gap:8px}.SceneNavigation-module__gLij3W__navigation .SceneNavigation-module__gLij3W__field{flex-direction:column;flex:1;align-items:stretch;gap:3px;font-size:11px}.SceneNavigation-module__gLij3W__field select{width:100%;min-width:90px;height:34px}}@media (max-width:900px){.SceneNavigation-module__gLij3W__toolbar{top:-15px}.SceneNavigation-module__gLij3W__entry{padding:12px}}@media (max-width:500px){.SceneNavigation-module__gLij3W__toolbar{align-items:flex-start}.SceneNavigation-module__gLij3W__toolbar p{max-width:210px}.SceneNavigation-module__gLij3W__actions button{flex-grow:1}.SceneNavigation-module__gLij3W__entryHeading{font-size:11px}.SceneNavigation-module__gLij3W__entryHeading strong{font-size:10px}}.SceneNavigation-module__gLij3W__navigation{gap:10px}.SceneNavigation-module__gLij3W__navigation .SceneNavigation-module__gLij3W__field{gap:6px}.SceneNavigation-module__gLij3W__navigation .SceneNavigation-module__gLij3W__field select{width:clamp(105px,10vw,160px);height:40px}@media (max-width:1100px){.SceneNavigation-module__gLij3W__navigation .SceneNavigation-module__gLij3W__field{flex-direction:column;align-items:stretch;gap:1px;font-size:10px}.SceneNavigation-module__gLij3W__navigation .SceneNavigation-module__gLij3W__field select{width:145px;height:34px;padding-top:4px;padding-bottom:4px}}@media (max-width:700px){.SceneNavigation-module__gLij3W__navigation{gap:6px}.SceneNavigation-module__gLij3W__navigation .SceneNavigation-module__gLij3W__field select{width:110px;min-width:0}}@media (max-width:500px){.SceneNavigation-module__gLij3W__navigation .SceneNavigation-module__gLij3W__field{flex:1;min-width:0}.SceneNavigation-module__gLij3W__navigation .SceneNavigation-module__gLij3W__field select{width:100%;min-width:72px;padding-left:6px;padding-right:16px}}.SceneNavigation-module__gLij3W__arrangement{border:1px solid var(--ui-border,#dfe4ef);background:var(--ui-surface-2,#f8f9fc);border-radius:12px;padding:14px}.SceneNavigation-module__gLij3W__arrangement h3{margin:0 0 10px;font-size:14px}.SceneNavigation-module__gLij3W__arrangement svg{width:100%;height:180px;margin-bottom:12px;display:block}.SceneNavigation-module__gLij3W__arrangementControls{flex-wrap:wrap;gap:12px;margin:8px 0 12px;display:flex}.SceneNavigation-module__gLij3W__arrangementControls label{flex-direction:column;flex:1;gap:6px;min-width:140px;font-size:12px;display:flex}.SceneNavigation-module__gLij3W__arrangementControls select{border:1px solid var(--ui-border,#dfe4ef);background:var(--ui-surface,#fff);width:100%;min-height:44px;color:var(--ui-text,#263552);border-radius:8px;padding:8px}
.AssemblyPanel-module__wgRgqW__panel{min-width:0;color:var(--ui-text,#243458);gap:12px;display:grid}.AssemblyPanel-module__wgRgqW__panel h2,.AssemblyPanel-module__wgRgqW__panel p{margin:0}.AssemblyPanel-module__wgRgqW__panel label{gap:5px;font-size:.85rem;display:grid}.AssemblyPanel-module__wgRgqW__panel input,.AssemblyPanel-module__wgRgqW__panel select{border:1px solid var(--ui-border,#c5cdea);background:var(--ui-surface,white);width:100%;min-width:0;height:auto;min-height:36px;color:inherit;font:inherit;border-radius:8px;padding:6px}.AssemblyPanel-module__wgRgqW__panel button{font:inherit;border:1px solid var(--ui-border,#c5cdea);background:var(--ui-surface,#f8f6ff);min-height:34px;color:var(--ui-accent-text,#443080);cursor:pointer;border-radius:8px;padding:7px 10px;font-size:.82rem}.AssemblyPanel-module__wgRgqW__panel button:disabled{opacity:.5;cursor:default}.AssemblyPanel-module__wgRgqW__actions{flex-wrap:wrap;gap:6px;display:flex}.AssemblyPanel-module__wgRgqW__fields{grid-template-columns:1fr 1fr;gap:8px;display:grid}.AssemblyPanel-module__wgRgqW__card{border:1px solid var(--ui-border,#d7ddee);background:var(--ui-surface,white);overflow-wrap:anywhere;border-radius:12px;gap:10px;padding:10px;display:grid}.AssemblyPanel-module__wgRgqW__card[draggable=true]{cursor:grab}.AssemblyPanel-module__wgRgqW__card strong{font-size:.9rem}.AssemblyPanel-module__wgRgqW__preview{background:repeating-conic-gradient(var(--ui-surface-2,#f1f3f8) 0% 25%,var(--ui-surface,white) 0% 50%) 0/16px 16px;border-radius:8px;padding:8px}.AssemblyPanel-module__wgRgqW__hint{color:var(--ui-muted,#65708b);font-size:.8rem;line-height:1.5}.AssemblyPanel-module__wgRgqW__message{overflow-wrap:anywhere;font-size:.82rem;line-height:1.5}.AssemblyPanel-module__wgRgqW__danger{border:1px solid var(--ui-danger-border,#e7b3b3);background:var(--ui-surface,#fff3f3);border-radius:8px;padding:10px}
*{box-sizing:border-box}body{background:var(--ui-surface-2,#eef1f6);color:var(--ui-text,#233049);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--ui-focus,#8770ec);outline-offset:2px}[hidden]{display:none!important}:is(html:has(.gm-app),body:has(.gm-app)){overscroll-behavior:none;height:100%;overflow:hidden}.gm-app{height:100dvh;position:fixed;inset:0;overflow:hidden}.gm-shell{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.editor-shell{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.gm-header,.panel-tabs,.scene-toolbar,.selection-toolbar,.scene-footer,.rules-dock,.editor-notice{flex-shrink:0}.gm-header{background:var(--ui-surface,#fff);border-bottom:1px solid var(--ui-border,#dbe1ec);justify-content:space-between;align-items:center;gap:20px;padding:15px 22px;display:flex}.gm-brand{align-items:center;gap:12px;min-width:220px;display:flex}.brand-mark{color:#fff;background:#6a4edb;border-radius:13px;place-items:center;width:42px;height:42px;font-size:24px;font-weight:800;display:grid;box-shadow:0 4px 12px #7156d733}.gm-brand small{letter-spacing:.14em;color:var(--ui-muted,#8c94a9);font-size:10px;font-weight:800;display:block}.gm-brand input{color:var(--ui-text,#24324d);background:0 0;border:0;width:260px;padding:3px 0;font-size:18px;font-weight:700}.header-actions,.scene-tools,.selection-toolbar,.rules-dock{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.gm-app button,.gm-modal button{border:1px solid var(--ui-border,#d7ddeb);background:var(--ui-surface,white);color:var(--ui-muted,#38415b);border-radius:8px;min-height:36px;padding:8px 11px;transition:background .12s,border-color .12s}.gm-app button:hover:not(:disabled),.gm-modal button:hover:not(:disabled){background:var(--ui-surface,#f3f0ff);border-color:var(--ui-accent-border,#ab9be5)}.gm-app .primary{color:#fff;border-color:var(--ui-accent-border,#6a4edb);background:#6a4edb;padding-inline:23px;font-weight:700}.save-state{color:var(--ui-muted,#8990a0);margin-right:5px;font-size:11px}.eyebrow{letter-spacing:.15em;color:var(--ui-muted,#828c9e);font-size:10px;font-weight:800}.gm-app button[aria-pressed=true],.gm-modal button[aria-selected=true]{background:var(--ui-accent-soft,#eee8ff);color:var(--ui-accent-text,#5c3fb7);border-color:var(--ui-accent-border,#aa92ef)}.gm-workspace{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:248px minmax(0,1fr) 284px;gap:0;min-height:0;display:grid;overflow:hidden}.asset-sidebar,.properties-sidebar{background:var(--ui-surface,#fff);flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.asset-sidebar{border-right:1px solid var(--ui-border,#dbe1ec)}.properties-sidebar{border-left:1px solid var(--ui-border,#dbe1ec)}.panel-tabs{border-bottom:1px solid var(--ui-border,#e3e7ef);gap:3px;padding:10px 8px;display:flex}.panel-tabs button{flex:1;padding:7px;font-size:11px}.panel-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;overflow-wrap:anywhere;flex:1;min-width:0;min-height:0;padding:17px;overflow:hidden auto}.panel-scroll:focus-visible{outline:2px solid var(--ui-focus,#8770ec);outline-offset:-2px}.gm-app h2,.gm-modal h2{margin:0 0 12px;font-size:15px}.gm-app h3,.gm-modal h3{font-size:14px}.hint{color:var(--ui-muted,#7a8599);font-size:12px;line-height:1.6}.gm-app .catalogue-panel>p{font-size:11px}.gm-app .asset-sidebar .catalogue-grid{max-height:none;overflow:visible}.gm-app .catalogue-grid button{border-radius:10px}.create-sprite{width:100%;margin-top:16px;background:var(--ui-surface,#f4f0ff)!important;color:var(--ui-accent-text,#6748ca)!important}.object-list{gap:6px;display:grid}.object-list button{text-align:left;align-items:center;gap:10px;font-size:12px;display:flex}.object-thumb{flex-shrink:0;width:35px;height:35px}.background-grid{grid-template-columns:1fr 1fr;gap:9px;margin:12px 0;display:grid}.background-grid button{padding:5px;font-size:11px}.background-grid button span+span{margin-top:6px;display:block}.scene-panel{background:var(--ui-canvas,#e8ecf3);flex-direction:column;min-width:0;min-height:0;display:flex}.scene-toolbar{background:var(--ui-surface,#fff);border-bottom:1px solid var(--ui-border,#e3e7ef);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 17px;font-size:13px;display:flex}.scene-tools{font-size:12px}.scene-tools button{min-height:31px;padding:6px 10px}.selection-toolbar{background:var(--ui-surface,#f8f9fc);border-bottom:1px solid var(--ui-border,#dbe1ec);white-space:nowrap;flex-wrap:nowrap;padding:8px 16px;font-size:11px;overflow-x:auto}.selection-toolbar>*{flex-shrink:0}.selection-toolbar span{color:var(--ui-muted,#7b8598);margin-right:auto}.selection-toolbar button{min-height:29px;padding:5px 8px;font-size:11px}.scene-viewport{flex:1;min-width:0;min-height:0;position:relative;overflow:hidden}.scene-scroll{overscroll-behavior:contain;touch-action:pan-x pan-y;padding:0;position:absolute;inset:0;overflow:auto}.scene-scroll:focus-visible{outline:2px solid var(--ui-focus,#8770ec);outline-offset:-2px}.scene-stage{place-items:center;min-width:100%;min-height:100%;padding:48px;display:grid}.scene-size{flex-shrink:0;margin:0}.scene-scroll.pan-enabled{touch-action:none}.scene-scroll.pan-enabled,.scene-scroll.pan-enabled .sprite{cursor:grab}.scene-scroll.is-panning,.scene-scroll.is-panning .sprite{cursor:grabbing;-webkit-user-select:none;user-select:none}.world-content{border-radius:inherit;position:absolute;inset:0;overflow:hidden}.world{outline:1px solid var(--ui-focus,#adc3d3);border-radius:4px;width:100%;min-height:1px;position:relative;overflow:visible;box-shadow:0 12px 35px #34446015}.sprite{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;position:absolute;background:0 0!important;border:0!important;border-radius:0!important;min-height:0!important;margin:0!important;padding:0!important}.sprite[aria-pressed=true]{outline:2px dashed var(--ui-focus,#7653e3);outline-offset:-2px}.sprite:active{cursor:grabbing}.sprite:focus-visible{outline:3px solid var(--ui-focus,#6a4edb);outline-offset:-3px}.scene-footer{background:var(--ui-surface,#f6f8fb);border-top:1px solid var(--ui-border,#dbe1ec);color:var(--ui-muted,#7d8798);white-space:nowrap;justify-content:space-between;gap:10px;padding:10px 17px;font-size:10px;display:flex;overflow:hidden}.rules-dock{background:var(--ui-surface,white);border-bottom:1px solid var(--ui-border,#dbe1ec);flex-direction:column;align-items:stretch;gap:10px;padding:13px 16px}.rules-heading{flex-direction:column;gap:4px;min-width:0;display:flex}.rules-heading strong{font-size:14px}.rules-heading .hint{font-size:11px}.rules-actions{flex-wrap:wrap;gap:7px;display:flex}.rules-actions button{white-space:nowrap;flex:1;padding-inline:8px;font-size:12px}.rules-actions button:first-child{color:#fff;border-color:var(--ui-accent-border,#6a4edb);background:#6a4edb}.editor-notice{min-height:26px;color:var(--ui-accent-text,#60568a);white-space:nowrap;text-overflow:ellipsis;margin:0;padding:6px 22px;font-size:12px;overflow:hidden}.gm-app label,.gm-modal label{align-items:center;gap:7px;font-size:12px;display:flex}.gm-app input[type=checkbox],.gm-modal input[type=checkbox]{width:16px;height:16px;accent-color:var(--ui-focus,#7255d7);flex-shrink:0}.inspector .portrait{background:repeating-conic-gradient(var(--ui-surface-2,#edf0f7) 0% 25%,var(--ui-surface,#fff) 0% 50%) 0/16px 16px;border:1px solid var(--ui-border,#e4e7ef);border-radius:12px;justify-content:center;margin-top:14px;padding:15px;display:flex}.inspector fieldset,.scene-properties fieldset{border:1px solid var(--ui-border,#dfe4ef);border-radius:10px;min-width:0;margin:17px 0;padding:12px}.inspector legend,.scene-properties legend{padding-inline:5px;font-size:12px;font-weight:700}.property-field,.scene-properties>label,.scene-properties fieldset>label{flex-direction:column;gap:7px;margin:11px 0;align-items:stretch!important;display:flex!important}.field-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;display:grid}.property-field input,.inspector select,.scene-properties select,.gm-modal input:not([type=checkbox]),.gm-modal select{border:1px solid var(--ui-border,#cbd4e3);width:100%;min-width:0;color:var(--ui-text,#283752);background:var(--ui-surface,#fff);border-radius:7px;min-height:37px;padding:9px}.inspector input[type=checkbox]{margin-block:6px}.scene-properties input[type=color]{border:0;width:100%;height:36px}.delete-button{border-color:var(--ui-danger-border,#e8bcc3)!important;color:var(--ui-danger-text,#b34760)!important;background:var(--ui-surface,#fff3f5)!important}.gm-modal{width:min(1100px,100vw - 32px);max-height:calc(100dvh - 40px);color:var(--ui-text,#233049);border:0;border-radius:18px;padding:0;overflow:hidden;box-shadow:0 24px 80px #12234445}.gm-modal:not([open]){display:none}.gm-modal[open]{flex-direction:column;display:flex}.gm-modal::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#15233c66}.modal-heading{border-bottom:1px solid var(--ui-border,#e1e5ee);background:var(--ui-surface,#fff);justify-content:space-between;align-items:center;gap:12px;padding:17px 23px;display:flex}.modal-heading h2{margin:0}.modal-body{background:var(--ui-surface,#fafbfe);min-height:0;padding:20px 24px;overflow:auto}.rule-tabs{background:var(--ui-surface,#fafbfe);z-index:2;gap:6px;padding-bottom:13px;display:flex;position:sticky;top:-20px;overflow:auto}.rule-tabs button{text-align:left;min-width:96px;font-size:12px;font-weight:700}.rule-tabs small{text-overflow:ellipsis;white-space:nowrap;max-width:150px;margin-top:4px;font-size:10px;font-weight:400;display:block;overflow:hidden}.rule-fields{flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:12px;display:flex}.rule-fields label{flex-direction:column;flex:1;align-items:stretch;min-width:130px;max-width:100%;display:flex}.rule-fields label:has(input[type=checkbox]){flex-direction:row;align-items:center;min-height:37px}.rule-fields input[type=number]{width:130px;max-width:100%}.rule-fields input:not([type=checkbox]),.rule-fields select{font-size:13px}.rule-trigger{border:1px solid var(--ui-accent-border,#c4b4ec);background:var(--ui-surface,#f3edff);border-radius:12px;margin:15px 0;padding:15px}.rule-trigger strong{color:#fff;background:#7654d6;border-radius:7px;padding:9px 14px;font-size:12px}.action-card{background:var(--ui-surface,white);border:1px solid var(--ui-border,#dce3ee);border-left:4px solid var(--ui-success-border,#76b8a2);border-radius:10px;min-width:0;margin-block:12px;padding:14px}.action-heading{justify-content:space-between;align-items:center;margin-bottom:12px;font-size:12px;display:flex}.action-heading>div{gap:5px;display:flex}.action-heading button{min-height:27px;padding:3px 8px;font-size:10px}.nested-actions{border-left:2px solid var(--ui-accent-border,#c8b8eb);margin:10px 0 8px 8px;padding-left:14px}.rule-detail details{border:1px solid var(--ui-border,#e1e4ef);border-radius:10px;margin:12px 0;padding:12px}.rule-detail summary{cursor:pointer;padding:5px;font-size:12px;font-weight:700}.rule-detail fieldset{min-width:0}.rule-detail fieldset label{flex-wrap:wrap}.gm-modal .cloud-panel{margin-bottom:0}.gm-app .play-panel{flex:1;width:100%;min-height:0;margin:0;overflow:hidden}.gm-app .toolbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.studio.sprite-editing{max-width:none;padding:0}.studio.sprite-editing .gm-shell{display:none}@media (max-width:1200px){.gm-workspace{grid-template-columns:210px minmax(0,1fr) 245px}.gm-header{gap:10px;padding:12px}.gm-brand{min-width:0}.gm-brand input{width:220px}.header-actions{gap:5px}.header-actions button{padding:8px;font-size:11px}.save-state,.scene-footer span{display:none}.panel-scroll{padding:12px}}@media (max-width:900px){.gm-workspace{grid-template-columns:166px minmax(0,1fr) 220px}.gm-header{flex-wrap:wrap;gap:8px;padding:8px 12px}.gm-brand small{font-size:9px}.brand-mark{width:34px;height:34px}.header-actions{flex-wrap:nowrap;width:100%;overflow-x:auto}.header-actions button{white-space:nowrap;flex-shrink:0}.scene-toolbar{gap:7px;padding:8px}.scene-tools{gap:5px}.scene-tools button{padding:5px 8px}.selection-toolbar{padding:6px 8px}.scene-footer{padding:8px}.panel-tabs{flex-wrap:wrap;gap:1px;padding:7px 3px}.panel-tabs button{min-width:0;padding:5px 3px;font-size:10px}.panel-scroll,.rules-dock{padding:10px}.rules-heading .hint{font-size:10px}.modal-body{padding:15px}.rule-tabs{top:-15px}}@media (max-width:600px){.gm-workspace{grid-template-columns:minmax(90px,22%) minmax(0,1fr) minmax(136px,28%)}.gm-brand input{width:220px}.rules-heading .hint{display:none}.rules-actions{gap:5px}.rules-actions button,.scene-toolbar strong{font-size:11px}.scene-tools{gap:3px;font-size:10px}.scene-tools button{min-height:27px;padding:4px 6px}.scene-footer{padding:7px 4px;font-size:9px}.panel-scroll{padding:8px}.panel-tabs{flex-direction:column}.gm-app .catalogue-grid,.properties-sidebar .field-pair{grid-template-columns:minmax(0,1fr)}.gm-modal{border-radius:12px;width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.modal-heading{padding:12px}.nested-actions{margin-left:0;padding-left:8px}.rule-fields label{min-width:105px}}@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}.screen-order{flex-wrap:wrap;gap:5px;display:flex}.screen-order button{font-size:11px}.asset-sidebar .panel-tabs{grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.component-source{border:1px solid var(--ui-border,#dfe4ef);border-radius:8px;margin:12px 0;padding:10px;font-size:12px}.component-source summary{cursor:pointer;font-weight:600}.component-source dl{margin:8px 0}.component-source dt{color:var(--ui-muted,#6e7b92);margin-top:8px}.component-source dd{overflow-wrap:anywhere;margin:3px 0}@media (max-width:600px){.asset-sidebar .panel-tabs{grid-template-columns:minmax(0,1fr)}}.gm-app{width:100%;min-width:0;max-width:100vw;height:100dvh;min-height:0}.gm-shell,.editor-shell,.gm-workspace{min-width:0;max-width:100%}.gm-header{grid-template-columns:minmax(150px,1fr) auto auto;gap:16px;min-width:0;padding:12px 18px;display:grid}.gm-header .gm-brand{gap:10px;min-width:0}.gm-brand>div{width:100%;min-width:0;max-width:260px}.gm-header .gm-brand input{width:100%;min-width:0;max-width:100%}.gm-header .brand-mark{flex-shrink:0}.gm-header .header-actions{flex-wrap:nowrap;justify-content:safe flex-end;gap:6px;min-width:0;max-width:100%}.gm-header .header-actions button{white-space:nowrap;flex-shrink:0}.gm-header .save-state{white-space:nowrap}.scene-toolbar{flex-wrap:nowrap;min-width:0}.scene-toolbar>strong{flex-shrink:0}.scene-tools{white-space:nowrap;overscroll-behavior:contain;flex-wrap:nowrap;min-width:0;overflow-x:auto}.scene-tools>*{flex-shrink:0}.editor-notice:empty{display:none}.modal-heading{flex-shrink:0;min-width:0}.modal-heading h2{overflow-wrap:anywhere}.modal-heading>button{flex-shrink:0}@media (max-width:1350px){.gm-header .save-state{display:none}}@media (max-width:1180px){.gm-header{grid-template-columns:minmax(140px,1fr) auto;gap:8px 14px;padding:9px 12px}.gm-header .header-actions{grid-column:1/-1;justify-content:safe flex-end;width:100%;overflow-x:auto}.gm-header .header-actions button{min-height:32px;padding:6px 10px;font-size:12px}}@media (max-width:700px){.gm-header{grid-template-columns:minmax(0,1fr) minmax(210px,1.15fr);gap:7px 10px;padding:7px 10px}.gm-header .gm-brand{gap:7px}.gm-header .gm-brand input{font-size:15px}.gm-header .gm-brand small{letter-spacing:.04em;font-size:8px}.gm-header .header-actions{justify-content:flex-start;gap:5px}.gm-header .header-actions button{min-height:30px;padding:5px 8px;font-size:11px}.scene-toolbar{gap:6px}.scene-toolbar>strong{display:none}}@media (max-width:500px){.gm-header .brand-mark{display:none}.gm-header .gm-brand input{font-size:14px}.gm-header .gm-brand small{font-size:7px}}@media (max-height:540px){.gm-header{gap:5px 10px;padding-block:5px}.gm-header .brand-mark{width:32px;height:32px;font-size:20px}.scene-toolbar{padding-block:5px}.selection-toolbar{padding-block:4px}.scene-footer{padding-block:5px}.editor-notice{min-height:20px;padding-block:3px}}.panel-tabs button:last-child:nth-child(odd){grid-column:1/-1}.assembly-context{background:var(--ui-surface,#f3efff);border:1px solid var(--ui-accent-border,#d7caff);border-radius:12px;gap:8px;margin-bottom:14px;padding:12px;display:grid}.assembly-context details button{text-align:left;width:100%;margin-top:6px;display:block}.world .sprite:disabled{cursor:default;pointer-events:none}.gm-app .primary:hover:not(:disabled),.gm-modal .primary:hover:not(:disabled),.gm-app .rules-actions button:first-child:hover:not(:disabled){color:#fff;background:#5940c1;border-color:#ad93ff}.assembly-edit-banner{background:var(--ui-accent-soft,#eee9ff);border-bottom:1px solid var(--ui-border,#dbd2ef);flex:none;justify-content:space-between;align-items:center;gap:8px;padding:5px 12px;font-size:12px;display:flex}.assembly-edit-banner strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.assembly-edit-banner button{flex-shrink:0}.gm-app{padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}.workspace-fitted{isolation:isolate;grid-template-columns:var(--workspace-left,clamp(210px,18vw,248px)) minmax(0,1fr) var(--workspace-right,clamp(245px,21vw,284px));width:100%;min-width:0;position:relative}.workspace-fitted>.asset-sidebar{grid-area:1/1}.workspace-fitted>.scene-panel{grid-area:1/2;overflow:hidden}.workspace-fitted>.properties-sidebar{grid-area:1/3}.workspace-fitted[data-assets-open=false]{--workspace-left:0px}.workspace-fitted[data-properties-open=false]{--workspace-right:0px}.workspace-fitted[data-assets-open=false]>.asset-sidebar,.workspace-fitted[data-properties-open=false]>.properties-sidebar{display:none}.workspace-panel-heading{border-bottom:1px solid var(--ui-border,#dbe1ec);background:var(--ui-surface-2,#f8f9fc);flex:none;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:3px 10px;font-size:12px;display:flex}.workspace-panel-heading strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.gm-app .workspace-panel-heading button{flex:none;min-width:36px;min-height:32px;padding:3px 8px;font-size:17px}.gm-app .workspace-show{z-index:25;background:var(--ui-surface,#fff);min-height:36px;padding:6px 10px;font-size:12px;position:absolute;top:8px;box-shadow:0 2px 9px #17284222}.workspace-show-assets{left:8px}.workspace-show-properties{right:8px}.workspace-fitted[data-assets-open=true]>.workspace-show-assets,.workspace-fitted[data-properties-open=true]>.workspace-show-properties,.gm-app .workspace-library-picker{display:none}.workspace-fitted .panel-scroll{flex:1 1 0;min-width:0;max-width:100%;min-height:0}.workspace-fitted .panel-scroll input:not([type=checkbox]):not([type=radio]),.workspace-fitted .panel-scroll select,.workspace-fitted .panel-scroll textarea{min-width:0;max-width:100%}.workspace-fitted .rules-dock{overscroll-behavior:contain;gap:7px;max-height:45%;padding:9px 12px;overflow:auto}.workspace-fitted .scene-footer{flex:none;padding-block:6px}@media (max-width:1050px){.workspace-fitted{grid-template-columns:minmax(0,1fr)}.workspace-fitted>.scene-panel{grid-column:1}.workspace-fitted>.asset-sidebar,.workspace-fitted>.properties-sidebar{z-index:40;width:min(320px,100% - 56px);max-width:100%;position:absolute;top:0;bottom:0;box-shadow:0 8px 30px #101d3433}.workspace-fitted>.asset-sidebar{left:0}.workspace-fitted>.properties-sidebar{right:0}.workspace-fitted[data-panels-ready=false]>.asset-sidebar,.workspace-fitted[data-panels-ready=false]>.properties-sidebar{display:none}.workspace-fitted .panel-scroll{padding:12px}.workspace-fitted .field-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media (max-width:1050px),(max-height:620px){.workspace-fitted .panel-tabs{display:none}.gm-app .workspace-library-picker{border-bottom:1px solid var(--ui-border,#dbe1ec);flex:none;gap:8px;padding:8px 10px;font-size:11px;display:flex}.workspace-library-picker select{border:1px solid var(--ui-border,#dbe1ec);background:var(--ui-surface,#fff);min-width:0;min-height:36px;color:var(--ui-text,#233049);border-radius:7px;flex:1;padding:5px}}@media (pointer:coarse){.gm-app .workspace-panel-heading button,.gm-app .workspace-show,.workspace-library-picker select{min-width:44px;min-height:44px}}
