*{box-sizing:border-box;margin:0;padding:0}html,body{background:#111;width:100%;height:100%;overflow:hidden}body{color:#e0e0e0;font-family:monospace}canvas{display:block}#developer-panel{color:#e0e0e0;z-index:9999;pointer-events:auto;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#080808f0;border:1px solid #ffffff1f;border-radius:8px;width:260px;max-height:calc(100vh - 32px);padding:14px;font-family:monospace;font-size:12px;line-height:1.5;position:fixed;top:16px;right:16px;overflow-y:auto}.developer-panel__header{color:#fff;z-index:2;background:#080808f5;margin-bottom:12px;padding-bottom:10px;font-size:13px;font-weight:700;position:sticky;top:0}.developer-panel__section{border-top:1px solid #ffffff14;padding:8px 0}.developer-panel__label{color:#a8a8a8;margin-bottom:4px}.developer-panel__value{color:#e0e0e0}#developer-panel button,#developer-panel input{font:inherit}#editor-ui{color:#e0e0e0;z-index:9999;pointer-events:auto;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#080808f0;border:1px solid #ffffff1f;border-radius:8px;width:300px;max-height:calc(100vh - 32px);font-family:monospace;font-size:12px;line-height:1.5;position:fixed;top:16px;left:16px;overflow:hidden auto}.editor-ui__header{color:#fff;z-index:3;background:#080808fa;border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;padding:14px;font-size:13px;font-weight:700;display:flex;position:sticky;top:0}.editor-ui__version{color:#8e8e8e;font-size:11px;font-weight:400}.editor-ui__section-heading{color:#bcbcbc;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;padding:11px 14px;font-weight:700;transition:background .12s,color .12s;display:flex}.editor-ui__section-heading:hover{color:#fff;background:#ffffff0b}.editor-ui__control{margin-bottom:12px}.editor-ui__row{justify-content:space-between;align-items:center;gap:12px;min-height:26px;margin-bottom:7px;display:flex}.editor-ui__row label{color:#c3c3c3}.editor-ui__row span{color:#f0f0f0;text-align:right}#editor-ui input,#editor-ui button{font:inherit}#editor-ui input[type=range]{cursor:pointer;width:100%}#editor-ui input[type=checkbox]{cursor:pointer;width:15px;height:15px}#editor-ui input[type=color]{cursor:pointer;background:0 0;border:1px solid #ffffff2e;border-radius:4px;width:42px;height:24px;padding:0}#editor-ui input[type=number]{color:#fff;background:#ffffff0d;border:1px solid #ffffff21;border-radius:4px;outline:none;width:92px;padding:5px 7px}#editor-ui input[type=number]:focus{background:#ffffff14;border-color:#ffffff59}.editor-ui__button{color:#e8e8e8;cursor:pointer;background:#ffffff12;border:1px solid #ffffff21;border-radius:4px;width:100%;margin-top:4px;padding:8px 10px;transition:background .12s,border-color .12s}.editor-ui__button:hover{background:#ffffff1f;border-color:#ffffff38}.editor-ui__button:active{background:#ffffff2b}#developer-panel,#editor-ui{scrollbar-width:thin;scrollbar-color:#ffffff2e transparent}#developer-panel::-webkit-scrollbar{width:8px}#editor-ui::-webkit-scrollbar{width:8px}#developer-panel::-webkit-scrollbar-track{background:0 0}#editor-ui::-webkit-scrollbar-track{background:0 0}#developer-panel::-webkit-scrollbar-thumb{background:#ffffff29;border-radius:999px}#editor-ui::-webkit-scrollbar-thumb{background:#ffffff29;border-radius:999px}#developer-panel::-webkit-scrollbar-thumb:hover{background:#ffffff40}#editor-ui::-webkit-scrollbar-thumb:hover{background:#ffffff40}@media (width<=900px){#editor-ui{width:260px}#developer-panel{width:230px}}#hierarchy-panel{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:9998;color:#e0e0e0;background:#080808f0;border:1px solid #ffffff1f;border-radius:8px;width:280px;height:calc(100vh - 32px);font-family:monospace;font-size:12px;display:none;position:fixed;top:16px;left:330px;overflow:hidden}.hierarchy-header{color:#fff;z-index:2;background:#080808fa;border-bottom:1px solid #ffffff14;padding:14px;font-size:13px;font-weight:700;position:sticky;top:0}.hierarchy-tree{height:calc(100% - 48px);overflow-y:auto}.hierarchy-row{cursor:pointer;align-items:center;gap:8px;min-height:28px;transition:background .15s;display:flex}.hierarchy-row.selected{background:#5582ff40}.hierarchy-eye{color:#fff;cursor:pointer;opacity:.75;background:0 0;border:none;width:20px;height:20px}.hierarchy-eye:hover{opacity:1}.hierarchy-label{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.hierarchy-type{color:#888;margin-right:8px;font-size:10px}.hierarchy-tree::-webkit-scrollbar{width:8px}.hierarchy-tree::-webkit-scrollbar-thumb{background:#ffffff26;border-radius:999px}.hierarchy-header{justify-content:space-between;align-items:center;display:flex}.hierarchy-rebuild{color:#cfcfcf;width:24px;height:24px;font:inherit;cursor:pointer;background:#ffffff0f;border:none;border-radius:4px}.hierarchy-rebuild:hover{color:#fff;background:#ffffff1f}.hierarchy-search input{color:#fff;width:100%;font:inherit;background:#ffffff0d;border:1px solid #ffffff1f;border-radius:4px;outline:none;padding:7px 9px}.hierarchy-search input:focus{background:#ffffff14;border-color:#ffffff4d}.hierarchy-arrow{color:#a0a0a0;cursor:pointer;background:0 0;border:none;flex:0 0 16px;width:16px;height:20px;padding:0;font-size:9px}.hierarchy-arrow:disabled{cursor:default}.hierarchy-icon{color:#a8a8a8;text-align:center;flex:0 0 14px;width:14px}.hierarchy-empty{color:#777;text-align:center;padding:18px 12px}.inspector-tabs{background:#0a0a0af5;border-bottom:1px solid #ffffff14;gap:6px;padding:10px;display:flex}.inspector-tab{color:#bfbfbf;height:32px;font:inherit;cursor:pointer;background:#ffffff0d;border:none;border-radius:6px;flex:1;transition:all .15s}.inspector-tab:hover{color:#fff;background:#ffffff1a}.inspector-tab.active{color:#fff;background:#2d5fff}#toolbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:10000;color:#fff;background:#0a0a0af5;border-bottom:1px solid #ffffff14;align-items:center;gap:16px;height:46px;padding:0 16px;font-family:monospace;display:none;position:fixed;top:0;left:0;right:0}.toolbar-brand{white-space:nowrap;margin-right:12px;font-weight:700}.toolbar-group{gap:8px;display:flex}.toolbar-button{color:#ddd;cursor:pointer;height:30px;font:inherit;background:#ffffff0f;border:none;border-radius:6px;padding:0 12px;transition:all .15s}.toolbar-button:hover{color:#fff;background:#ffffff1f}.toolbar-button.active{color:#fff;background:#2d5fff}.toolbar-right{opacity:.7;margin-left:auto}.toolbar-version{font-size:11px}:root{--toolbar-height:46px;--workspace-gap:12px;--workspace-top:calc(var(--toolbar-height) + var(--workspace-gap))}#editor-ui{top:var(--workspace-top);max-height:calc(100vh - var(--toolbar-height) - var(--workspace-gap) * 2)}#hierarchy-panel{top:var(--workspace-top);height:calc(100vh - var(--toolbar-height) - var(--workspace-gap) * 2)}#developer-panel{top:var(--workspace-top);max-height:calc(100vh - var(--toolbar-height) - var(--workspace-gap) * 2)}:root{--lantern-bg:#080806;--lantern-panel:#0e0e0cf5;--lantern-panel-soft:#141310f0;--lantern-line:#e2be701a;--lantern-line-strong:#e2be7033;--lantern-accent:#a98645;--lantern-accent-soft:#a9864538;--lantern-text:#e8e4dc;--lantern-muted:#8f8a80;--toolbar-height:44px;--workspace-left-width:270px;--workspace-right-width:330px;--workspace-gap:0px;--workspace-top:var(--toolbar-height)}body{background:var(--lantern-bg);color:var(--lantern-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}#toolbar.lantern-topbar{height:var(--toolbar-height);border-bottom:1px solid var(--lantern-line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#090908f5;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;padding:0 10px;font-family:inherit;display:none;box-shadow:0 8px 28px #0000003d}.topbar-zone{align-items:center;gap:3px;min-width:0;display:flex}.topbar-zone--centre{justify-content:center}.topbar-zone--right{justify-content:flex-end}.toolbar-brand{color:#f0ece4;letter-spacing:.01em;align-items:center;gap:8px;min-width:max-content;margin:0 12px 0 2px;font-size:12px;font-weight:650;display:flex}.toolbar-brand__mark{color:var(--lantern-accent);font-size:15px}.toolbar-brand.is-dirty:after{content:"";background:var(--lantern-accent);border-radius:50%;width:5px;height:5px;margin-left:1px}.topbar-menu{position:relative}.topbar-menu__trigger,.topbar-tool,.topbar-action,.topbar-performance{color:#bbb6ad;cursor:pointer;background:0 0;border:0;border-radius:5px;height:28px;font:500 11px/1 inherit}.topbar-menu__trigger{padding:0 8px}.topbar-menu__trigger:hover,.topbar-menu.is-open .topbar-menu__trigger,.topbar-tool:hover,.topbar-action:hover{color:#fff;background:#ffffff0e}.topbar-menu__popover{border:1px solid var(--lantern-line-strong);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#0d0d0bfb;border-radius:8px;min-width:210px;padding:5px;display:none;position:absolute;top:calc(100% + 7px);left:0;box-shadow:0 18px 48px #00000075}.topbar-menu.is-open .topbar-menu__popover{display:block}.topbar-menu__item{color:#d3cec5;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:space-between;align-items:center;gap:20px;width:100%;height:30px;padding:0 9px 0 27px;font:500 11px/1 inherit;display:flex;position:relative}.topbar-menu__item:hover{background:var(--lantern-accent-soft);color:#fff}.topbar-menu__item.is-checked:before{content:"✓";color:#c9a45d;position:absolute;left:9px}.topbar-menu__item kbd{color:#716d65;font:10px ui-monospace,SFMono-Regular,Consolas,monospace}.topbar-menu__separator{background:var(--lantern-line);height:1px;margin:5px 7px}.topbar-tool{color:#aaa59c;width:30px;padding:0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}.topbar-action{padding:0 10px}.topbar-action--primary{color:#fff9ee;background:#8f713b;margin-left:3px;padding:0 13px}.topbar-action--primary:hover{background:#a48243}.topbar-performance{color:#777269;cursor:default;padding:0 8px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px}.lantern-workspace-active #hierarchy-panel,.lantern-workspace-active #editor-ui,.lantern-workspace-active #developer-panel{top:var(--toolbar-height);background:var(--lantern-panel);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-top:0;border-bottom:0;border-radius:0;height:auto;max-height:none;font-family:inherit;font-size:11px;bottom:0}.lantern-workspace-active #hierarchy-panel{width:var(--workspace-left-width);border-left:0;border-right:1px solid var(--lantern-line);left:0}.lantern-workspace-active #editor-ui{width:var(--workspace-right-width);border-right:0;border-left:1px solid var(--lantern-line);left:auto;right:0}.lantern-workspace-active #developer-panel{left:auto;right:var(--workspace-right-width);border-right:1px solid var(--lantern-line);width:260px}.workspace-splitter{top:var(--toolbar-height);z-index:10001;cursor:col-resize;background:0 0;width:5px;position:fixed;bottom:0}.workspace-splitter:after{content:"";background:0 0;width:1px;position:absolute;top:0;bottom:0;left:2px}.workspace-splitter:hover:after{background:var(--lantern-accent)}.workspace-splitter--left{left:calc(var(--workspace-left-width) - 2px)}.workspace-splitter--right{right:calc(var(--workspace-right-width) - 2px)}.hierarchy-header,.editor-ui__header,.developer-panel__header{border-bottom:1px solid var(--lantern-line);color:#ded9cf;letter-spacing:.02em;background:0 0;min-height:42px;padding:0 12px;font-family:inherit;font-size:11px}.hierarchy-search{border-bottom:1px solid #ffffff09;padding:8px 10px}.hierarchy-search input,#editor-ui input[type=number]{color:var(--lantern-text);background:#ffffff09;border-color:#ffffff13;border-radius:5px;font-family:inherit}.hierarchy-row{gap:6px;min-height:27px}.hierarchy-row:hover{background:#ffffff09}.hierarchy-row.selected{background:var(--lantern-accent-soft);box-shadow:inset 2px 0 var(--lantern-accent)}.inspector-tabs{border-bottom:1px solid var(--lantern-line);background:0 0;gap:1px;padding:6px 8px}.inspector-tab{color:#858077;background:0 0;border-radius:4px;height:28px;font-family:inherit;font-size:10px}.inspector-tab:hover{background:#ffffff09}.inspector-tab.active{background:var(--lantern-accent-soft);color:#e9d5aa}.editor-ui__section{border-bottom:1px solid #ffffff0a}.editor-ui__section-heading{color:#a8a198;padding:9px 12px;font-size:10px}.editor-ui__section-heading:hover{background:#ffffff06}.editor-ui__section-content{padding:7px 12px 12px}.editor-ui__row{min-height:24px;margin-bottom:5px}@media (width<=900px){:root{--workspace-left-width:220px;--workspace-right-width:270px}.toolbar-brand span:last-child,.topbar-menu:nth-of-type(2),.topbar-performance{display:none}}:root{--workspace-bottom-height:230px}.lantern-workspace-active.lantern-bottom-dock-open #hierarchy-panel,.lantern-workspace-active.lantern-bottom-dock-open #editor-ui,.lantern-workspace-active.lantern-bottom-dock-open #developer-panel{bottom:var(--workspace-bottom-height)}.workspace-splitter--bottom{left:0;right:0;bottom:calc(var(--workspace-bottom-height) - 2px);cursor:row-resize;width:auto;height:5px;top:auto}.workspace-splitter--bottom:after{width:auto;height:1px;inset:2px 0 auto}.lantern-bottom-dock{z-index:9998;height:var(--workspace-bottom-height);border-top:1px solid var(--lantern-line-strong);color:var(--lantern-text);background:#0c0c0af9;flex-direction:column;font:11px Inter,ui-sans-serif,system-ui,sans-serif;display:none;position:fixed;bottom:0;left:0;right:0;overflow:hidden;box-shadow:0 -12px 30px #00000047}.bottom-dock__header{border-bottom:1px solid var(--lantern-line);align-items:center;min-height:35px;display:flex}.bottom-dock__tabs{align-self:stretch;padding-left:8px;display:flex}.bottom-dock__tab,.bottom-dock__collapse,.bottom-dock__button{color:#888279;cursor:pointer;background:0 0;border:0;font:500 10px/1 inherit}.bottom-dock__tab{border-bottom:2px solid #0000;min-width:76px;padding:0 12px}.bottom-dock__tab:hover{color:#ddd7cd;background:#ffffff06}.bottom-dock__tab.is-active{color:#e7d2a7;border-bottom-color:var(--lantern-accent)}.bottom-dock__spacer{flex:1}.bottom-dock__collapse{width:38px;height:34px;font-size:15px}.bottom-dock__collapse:hover{color:#fff;background:#ffffff0a}.bottom-dock__content{flex:1;min-height:0;padding:10px 12px 13px;overflow:auto}.bottom-dock__toolbar{color:#8e887f;align-items:center;gap:7px;min-height:28px;margin-bottom:8px;display:flex}.bottom-dock__toolbar>span:first-child{margin-right:auto}.bottom-dock__button{border:1px solid var(--lantern-line);color:#aaa49a;background:#ffffff06;border-radius:5px;min-height:25px;padding:0 9px}.bottom-dock__button:hover:not(:disabled){color:#fff;background:var(--lantern-accent-soft);border-color:#c9a45d59}.bottom-dock__button:disabled{opacity:.35;cursor:default}.bottom-dock__empty{color:#68635b;text-align:center;place-items:center;min-height:90px;display:grid}.asset-dock-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:7px;display:grid}.asset-dock-item{border:1px solid var(--lantern-line);color:#c8c2b7;text-align:left;cursor:pointer;background:#ffffff05;border-radius:6px;grid-template-rows:1fr 1fr;grid-template-columns:27px minmax(0,1fr);align-items:end;gap:0 7px;min-width:0;height:70px;padding:9px;display:grid}.asset-dock-item:hover{background:var(--lantern-accent-soft);border-color:#c9a45d59}.asset-dock-item__icon{color:var(--lantern-accent);text-align:center;grid-row:1/3;align-self:center;font-size:20px}.asset-dock-item__name{white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.asset-dock-item__type{color:#68635b;text-transform:uppercase;letter-spacing:.08em;align-self:start;font-size:9px}.preset-dock-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;display:grid}.preset-dock-card{border:1px solid var(--lantern-line);color:#c9c3b8;cursor:pointer;background:#ffffff05;border-radius:7px;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;min-height:72px;padding:12px;display:flex}.preset-dock-card strong{font-size:11px;font-weight:600}.preset-dock-card span{color:#6f6a61;font-size:9px}.preset-dock-card:hover{background:var(--lantern-accent-soft);color:#f1e4ca;border-color:#c9a45d6b}.history-dock-list{gap:5px;padding-bottom:5px;display:flex;overflow-x:auto}.history-dock-row{border:1px solid var(--lantern-line);color:#8e887f;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:#ffffff05;border-radius:5px;flex:none;min-width:130px;max-width:220px;height:34px;padding:0 10px;overflow:hidden}.history-dock-row:hover{color:#ddd7cc}.history-dock-row.is-active{background:var(--lantern-accent-soft);color:#eed7a8;border-color:#c9a45d6b}.history-dock-row.is-future{opacity:.45}.performance-dock-grid{grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:8px;display:grid}.performance-dock-card{border:1px solid var(--lantern-line);background:#ffffff05;border-radius:6px;flex-direction:column;justify-content:center;gap:7px;min-height:66px;padding:10px 12px;display:flex}.performance-dock-card span{color:#777168;text-transform:uppercase;letter-spacing:.08em;font-size:9px}.performance-dock-card strong{color:#ddd7cc;font:600 16px/1 ui-monospace,SFMono-Regular,Consolas,monospace}.topbar-performance{cursor:pointer}.topbar-performance:hover{color:#d7c59d;background:var(--lantern-accent-soft)}@media (width<=700px){.lantern-bottom-dock{height:min(var(--workspace-bottom-height), 42vh)}.bottom-dock__tab{min-width:0;padding:0 9px}}.hierarchy-lock{color:#68635b;cursor:pointer;background:0 0;border:0;flex:0 0 20px;width:20px;height:22px;padding:0;font-size:9px}.hierarchy-lock:hover{color:#d6b46f}.hierarchy-lock:disabled{opacity:.15;cursor:default}.hierarchy-rename-input{outline:none;flex:1;min-width:0;height:22px;padding:0 5px;border:1px solid var(--lantern-accent)!important;color:#fff1d3!important;background:#171510!important;border-radius:3px!important;font:10px Inter,ui-sans-serif,system-ui,sans-serif!important}.hierarchy-context-menu{z-index:12000;border:1px solid var(--lantern-line-strong);background:#0d0d0bfc;border-radius:7px;width:160px;padding:5px;position:fixed;box-shadow:0 16px 40px #0000007a}.hierarchy-context-menu button{color:#c5bfb4;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:4px;width:100%;height:29px;padding:0 9px;font:500 10px Inter,ui-sans-serif,system-ui,sans-serif}.hierarchy-context-menu button:hover:not(:disabled){background:var(--lantern-accent-soft);color:#fff0d0}.hierarchy-context-menu button:disabled{opacity:.28;cursor:default}body.lantern-presentation-mode{cursor:default}body.lantern-presentation-mode #toolbar,body.lantern-presentation-mode #lantern-bottom-dock,body.lantern-presentation-mode #developer-panel,body.lantern-presentation-mode #editor-ui,body.lantern-presentation-mode #fog-editor,body.lantern-presentation-mode [data-lantern-editor-window=true]{display:none!important}body.lantern-presentation-mode canvas{touch-action:pan-y}@media (width<=900px),(pointer:coarse){#toolbar{overscroll-behavior-x:contain;max-width:calc(100vw - 16px);overflow-x:auto}#lantern-bottom-dock{max-height:42vh}#developer-panel,#editor-ui{width:min(320px,100vw - 20px);max-height:calc(100dvh - 20px);top:10px}#developer-panel{right:10px}#editor-ui{left:10px}input,select,button{min-height:28px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}:root{--lantern-status-height:24px}.lantern-editor-status{z-index:10020;height:var(--lantern-status-height);color:#8d887f;box-sizing:border-box;-webkit-user-select:none;user-select:none;background:#0a0a09fb;border-top:1px solid #c9a45d29;justify-content:space-between;align-items:center;gap:16px;padding:0 10px;font:9px/1 Inter,ui-sans-serif,system-ui,sans-serif;display:none;position:fixed;bottom:0;left:0;right:0}.lantern-editor-status__left,.lantern-editor-status__right{align-items:center;gap:14px;min-width:0;display:flex}.lantern-editor-status__item{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.lantern-editor-status__key{color:#5f5b54}.lantern-editor-status__item.is-warning{color:#e0bd75}.lantern-editor-status__item.is-ok{color:#86aa8a}body.lantern-editor-status-open .lantern-bottom-dock{bottom:var(--lantern-status-height)}body.lantern-editor-status-open.lantern-bottom-dock-open #hierarchy-panel,body.lantern-editor-status-open.lantern-bottom-dock-open #editor-ui,body.lantern-editor-status-open.lantern-bottom-dock-open #developer-panel{bottom:calc(var(--workspace-bottom-height) + var(--lantern-status-height))}body.lantern-editor-status-open:not(.lantern-bottom-dock-open) #hierarchy-panel,body.lantern-editor-status-open:not(.lantern-bottom-dock-open) #editor-ui,body.lantern-editor-status-open:not(.lantern-bottom-dock-open) #developer-panel{bottom:var(--lantern-status-height)}body.lantern-editor-status-open .workspace-splitter--bottom{bottom:calc(var(--workspace-bottom-height) + var(--lantern-status-height) - 2px)}#editor-ui,#hierarchy-panel,#developer-panel,#lantern-bottom-dock,.lantern-floating-panel,[data-editor-panel]{overscroll-behavior:contain}@media (width<=760px){.lantern-editor-status__right .lantern-editor-status__item:nth-child(-n+2){display:none}.lantern-editor-status__left{gap:8px}}
