:root{color:#ecf4ff;background:#09111f;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 22% 0,#192a45,#09111f 45%)}button,input,select,textarea{font:inherit}button{color:#dce9f9;background:#18263d;border:1px solid #30425e;border-radius:10px;padding:.7rem .9rem;cursor:pointer}button:hover{background:#223653}button:disabled{opacity:.38;cursor:not-allowed}button.play,button.primary{color:#10202a;background:#67e8f9;border-color:#67e8f9;font-weight:800}button.play:hover,button.primary:hover{color:#10202a;background:#9af1fb;border-color:#9af1fb}main{max-width:1800px;margin:0 auto;padding:24px clamp(14px,2vw,30px) 60px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.library-shell{max-width:1240px}.library-shell[data-active-level]{max-width:1720px;padding-top:12px}.library-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}.library-subtitle{max-width:780px;margin:10px 0 0;color:#a9bad0;font-size:clamp(.95rem,2vw,1.08rem);line-height:1.55}.catalogue-section{margin-bottom:26px}.catalogue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px;margin-top:16px}.level-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px}.level-card h3{margin:0 0 6px;font-size:1.05rem}.level-card p{margin:0;color:#8da1ba;font-size:.78rem}.level-card button{min-width:94px}.create-level{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(320px,1.2fr);grid-gap:24px;gap:24px;padding:24px}.create-level>div:first-child>p:not(.eyebrow){margin:12px 0 0;color:#9eb1c8;line-height:1.55}.create-level form{display:grid;grid-template-columns:minmax(220px,1fr) auto;grid-gap:12px;gap:12px;align-items:flex-end}.create-level label{display:grid;grid-gap:7px;gap:7px;color:#a9b9cd;font-size:.8rem;font-weight:800}.create-level label small{color:#70849d;font-weight:650}.create-level input,.create-level select,.rename-form input{width:100%;min-height:46px;padding:.7rem .8rem;border:1px solid #354b68;border-radius:10px;color:#eef7ff;background:#091421}.draft-section{margin-top:34px}.draft-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.draft-heading>span{color:#91a6be;font-size:.8rem}.library-message{margin:12px 0 16px;padding:10px 12px;border:1px solid #253b55;border-radius:10px;color:#9fd6df;background:#0b1929;font-size:.8rem}.empty-library{padding:28px;text-align:center;border-style:dashed}.empty-library p{margin:8px 0 0;color:#8da1ba}.draft-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.draft-card{padding:19px}.draft-card-heading{display:grid;grid-gap:11px;gap:11px;align-items:start}.draft-card-heading h3{margin:1px 0 4px;font-size:1.05rem}.draft-card-heading p{margin:0;color:#79dceb;font:.72rem ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}.draft-meta{display:grid;grid-gap:7px;gap:7px;margin:17px 0;padding:13px 0;border-top:1px solid #24364d;border-bottom:1px solid #24364d}.draft-meta div{display:grid;grid-template-columns:70px minmax(0,1fr);grid-gap:10px;gap:10px;color:#8da0b8;font-size:.73rem}.draft-meta dd{margin:0;color:#d8e5f3;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}.draft-actions{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;grid-gap:8px;gap:8px}.compact-button,.draft-actions button{padding:.58rem .65rem;font-size:.76rem}.subtle-danger{background:#241522}.rename-form{display:grid;grid-template-columns:minmax(120px,1fr) auto auto;grid-gap:6px;gap:6px}.rename-form label{min-width:0}.remove-confirmation{padding:13px;border:1px solid #744258;border-radius:12px;background:#281621}.remove-confirmation p{margin-bottom:12px;color:#eabdc9;font-size:.8rem;line-height:1.45}.remove-confirmation>div{display:flex;justify-content:flex-end;gap:8px}.library-footer{display:flex;flex-wrap:wrap;gap:7px 14px;margin-top:28px;padding:16px 18px;border-top:1px solid #263a52;color:#8fa2b8;font-size:.78rem}.library-footer strong{color:#b7c9da}.editor-topbar{display:grid;grid-template-columns:minmax(260px,1fr) auto;grid-gap:12px 20px;gap:12px 20px;align-items:center;padding:10px 14px;border-radius:14px}.editor-identity h1{font-size:clamp(1.35rem,2.4vw,2rem)}.editor-identity .eyebrow{margin-bottom:.12rem}.editor-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:7px;color:#9fb2c8;font:.68rem ui-monospace,SFMono-Regular,Menlo,monospace}.editor-meta>span{padding:.28rem .45rem;border:1px solid #2c4058;border-radius:7px;background:#0a1625}.editor-meta .editor-message{flex:1 1 260px;overflow:hidden;border:0;padding-inline:.25rem;color:#8fb9c6;background:transparent;text-overflow:ellipsis;white-space:nowrap}.draft-badge{color:#a9ead1!important;border-color:#31694f!important;background:#123329!important;font-family:inherit!important;font-weight:800}.editor-actions{display:flex;justify-content:flex-end;gap:7px}.editor-actions button{min-height:40px;padding:.54rem .72rem;font-size:.78rem}.editor-actions button span{margin-right:.18rem;font-size:1rem}.exact-play-backdrop{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:clamp(10px,2vw,24px);background:#020711ee;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.exact-play-shell{width:min(1440px,100%);max-height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-gap:12px;gap:12px;overflow:hidden;padding:14px;border-color:#426784}.exact-play-shell>header{display:flex;align-items:center;justify-content:space-between;gap:18px}.exact-play-shell>header h1{font-size:clamp(1.25rem,2.3vw,1.9rem)}.exact-play-shell>header p:not(.eyebrow){margin:5px 0 0;color:#99aec5;font-size:.72rem}.exact-play-shell>header code{color:#9de9f2}.exact-play-canvas{min-height:0;overflow:hidden;aspect-ratio:16/9;border:1px solid #35536d;border-radius:12px;background:#07111d}.exact-play-canvas>div{width:100%!important;height:100%!important;min-height:0!important}.exact-play-canvas canvas{max-width:100%;max-height:100%;display:block;margin:auto}.exact-play-shell>footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.exact-play-shell>footer>p{max-width:760px;margin:0;color:#91a7bf;font-size:.72rem;line-height:1.4}.exact-play-controls{display:flex;gap:7px}.exact-play-controls button{min-width:48px;min-height:44px;padding:.55rem .72rem;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.exact-play-controls button[aria-label="Main thrust"]{min-width:76px;color:#10202a;border-color:#f7cf65;background:#f7cf65;font-weight:850}.editor-message{margin:0;color:#9fd6df;font-size:.7rem}.editor-mode-bar{display:flex;gap:5px;width:max-content;margin:9px 12px -2px;padding:4px;border:1px solid #2d435c;border-radius:10px;background:#0a1625}.editor-mode-bar button{min-height:32px;padding:.35rem .7rem;border-color:transparent;background:transparent;font-size:.72rem}.editor-mode-bar button.active,.editor-mode-bar button.active:hover{color:#07111d;background:#9fe7f2}.shared-world-workspace{position:relative;margin-top:10px;padding:12px}.shared-world-workspace.has-hierarchy{min-height:640px;padding-left:244px}.authoring-hierarchy{position:absolute;top:12px;bottom:12px;left:12px;width:216px;overflow:auto;padding:10px;border:1px solid #2d435c;border-radius:12px;background:#091522}.authoring-hierarchy header{display:grid;grid-gap:2px;gap:2px;padding:2px 4px 9px;border-bottom:1px solid #263c54}.authoring-hierarchy header span{color:#73dbea;font-size:.55rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.authoring-hierarchy header strong{color:#e7f4ff;font-size:.78rem}.authoring-hierarchy ul{display:grid;grid-gap:2px;gap:2px;margin:0;padding:5px 0 0;list-style:none}.authoring-hierarchy ul ul{padding-top:2px}.authoring-hierarchy button{width:100%;min-height:28px;display:grid;grid-template-columns:14px minmax(0,1fr);align-items:center;grid-gap:3px;gap:3px;padding:.27rem .35rem;border-color:transparent;color:#a8bfd4;background:transparent;font-size:.64rem;text-align:left}.authoring-hierarchy button[data-depth="1"]{padding-left:.72rem}.authoring-hierarchy button[data-depth="2"]{padding-left:1.12rem}.authoring-hierarchy button strong{overflow:hidden;font-weight:720;text-overflow:ellipsis;white-space:nowrap}.authoring-hierarchy button[aria-current=true]{border-color:#3e7892;color:#e9fbff;background:#123047}.shared-world-workspace>.editor-mode-bar{margin-left:0}.shared-context-toolbar{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:44px;margin:9px 0}.selection-inspector{padding:8px;border:1px solid #263c54;border-radius:10px;background:#091522}.shared-context-toolbar .context-identity{display:grid;grid-gap:3px;gap:3px;line-height:1.05}.shared-context-toolbar .context-identity>span{color:#7890aa;font-size:.55rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.shared-context-toolbar .context-identity>strong{color:#e7f4ff;font-size:.82rem}.consumer-authoring-inspector{min-width:0;margin:9px 0;padding:12px;border:1px solid #38536d;border-radius:12px;color:#dce9f6;background:#091522}.consumer-authoring-inspector>*{min-width:0}.consumer-camera-toolbar{flex:0 1 auto;min-width:0}.consumer-camera-toolbar:empty{display:none}.workspace-history{display:flex;gap:5px;margin-left:auto;padding-left:8px;border-left:1px solid #2b4058}.shared-workspace-stage{position:relative;display:grid;min-width:0}.shared-workspace-stage>*{grid-area:1/1;min-width:0}.shared-world-canvas-shell{position:relative;z-index:1;min-width:0;overflow:hidden;border:1px solid #34506d;border-radius:15px;background:#07111d}.shared-world-canvas-shell.preview-hidden{visibility:hidden;pointer-events:none}.shared-workspace-stage>.camera-preview-layout{position:relative;z-index:2;align-self:start}.shared-world-canvas{display:block;width:100%;height:auto;cursor:-webkit-grab;cursor:grab;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.shared-world-canvas:active{cursor:-webkit-grabbing;cursor:grabbing}.shared-world-navigator{z-index:5;right:auto;left:12px}.shared-world-footer{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;margin-top:7px;padding:0 2px;color:#8fb9c6;font-size:.68rem}.shared-world-footer p{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.exchange-status-button{display:flex;align-items:center;gap:6px;min-height:32px;padding:.34rem .55rem;border-color:transparent;color:#8197b0;background:transparent;font-size:.65rem;white-space:nowrap}.exchange-status-button:hover{border-color:#304a64;color:#b8cee2;background:#0a1625}.exchange-status-button strong{color:#dce9f6;font:.68rem ui-monospace,SFMono-Regular,Menlo,monospace}.exchange-status-button.valid strong{color:#a9ead1}.exchange-status-button.warning strong{color:#f3d28c}.exchange-status-button.blocked strong{color:#ff9daf}.exchange-dialog-backdrop{position:absolute;z-index:20;inset:0;display:grid;place-items:center;padding:18px;border-radius:14px;background:#020711b8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.exchange-dialog{width:min(760px,100%);max-height:calc(100% - 24px);display:grid;grid-template-rows:auto auto auto auto minmax(180px,1fr) auto;grid-gap:11px;gap:11px;overflow:hidden;padding:18px;border:1px solid #466581;border-radius:14px;background:#0c1828;box-shadow:0 18px 54px #000c}.exchange-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.exchange-dialog>header span{color:#73dbea;font-size:.6rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.exchange-dialog>header h2{margin-top:2px;font-size:1.1rem}.exchange-dialog>header .icon-button{width:32px;min-width:32px;min-height:32px}.exchange-authority-note{padding:9px 10px;border:1px solid #2d435c;border-radius:9px;color:#9cb0c6;background:#091421;font-size:.68rem;line-height:1.45}.exchange-authority-note strong{color:#dce9f6}.exchange-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid #32644f;border-radius:9px;background:#102b23}.exchange-summary.warning{border-color:#735d2f;background:#2d2514}.exchange-summary.blocked{border-color:#774052;background:#301824}.exchange-summary strong{color:#b7f1d5;font-size:.77rem}.exchange-summary.warning strong{color:#f3d28c}.exchange-summary.blocked strong{color:#ffb0bf}.exchange-summary span{overflow:hidden;color:#9eb4c8;font:.64rem ui-monospace,SFMono-Regular,Menlo,monospace;text-overflow:ellipsis;white-space:nowrap}.exchange-issues{max-height:132px;display:grid;grid-gap:6px;gap:6px;overflow-y:auto;margin:0;padding:0;list-style:none}.exchange-issues li{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:3px 8px;gap:3px 8px;padding:8px 9px;border:1px solid #705333;border-radius:8px;background:#291f12}.exchange-issues li.blocking{border-color:#774052;background:#301824}.exchange-issues li>strong{color:#f3d28c;font-size:.66rem}.exchange-issues li.blocking>strong{color:#ffb0bf}.exchange-issues li>span{color:#dce5ef;font-size:.7rem}.exchange-issues code{grid-column:2;color:#889db4;font-size:.58rem;overflow-wrap:anywhere}.exchange-clear{margin:0;color:#9fd6bb;font-size:.7rem}.exchange-json-field{min-height:0;display:grid;grid-template-rows:auto auto minmax(130px,1fr);grid-gap:4px;gap:4px;color:#c6d5e5;font-size:.72rem;font-weight:800}.exchange-json-field small{color:#8298b0;font-size:.63rem;font-weight:600}.exchange-json-field textarea{width:100%;min-height:130px;resize:none;padding:10px;border:1px solid #344b67;border-radius:9px;color:#dce9f6;background:#07111d;font:.66rem/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;-moz-tab-size:2;tab-size:2}.exchange-dialog>footer{display:flex;justify-content:flex-end;gap:7px}.exchange-dialog>footer button{min-height:36px;padding:.48rem .68rem;font-size:.7rem}.preview-position{margin-left:auto;color:#a8bfd4;font:.7rem ui-monospace,SFMono-Regular,Menlo,monospace}.contour-workspace{margin-top:10px;padding:12px;border-radius:14px}.contour-commandbar{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin-bottom:9px}.context-identity{flex:1 1 220px;min-width:190px}.context-identity .eyebrow{margin-bottom:.08rem}.context-title-line{display:flex;align-items:baseline;gap:8px}.context-title-line h2{font-size:clamp(1.05rem,1.8vw,1.3rem)}.context-title-line .point-identity{margin:0;max-width:150px;text-overflow:ellipsis;white-space:nowrap}.contour-state{display:flex;gap:5px;color:#8ea3bb;font-size:.66rem}.contour-state span{padding:.32rem .45rem;border:1px solid #31445d;border-radius:7px;background:#0a1625;white-space:nowrap}.context-identity .contour-state{margin-top:5px}.contour-state .overhang-active{color:#baf4dc;border-color:#2f765a;background:#113327}.context-point-form{flex:0 1 280px;display:grid;grid-template-columns:repeat(2,minmax(72px,1fr)) 40px;grid-gap:6px;gap:6px;align-items:flex-end;padding-left:14px;border-left:1px solid #2b4058}.context-point-form label{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:5px;gap:5px;align-items:center;color:#91a5bc;font-size:.7rem;font-weight:850}.context-point-form input{width:100%;min-width:0;height:40px;padding:.45rem .55rem;border:1px solid #344b67;border-radius:8px;color:#eef7ff;background:#07111d}.context-point-form input:disabled{color:#93a4b8;background:#111b29}.contour-toolbar{flex:0 0 auto;display:flex;flex-wrap:nowrap;gap:6px;margin:0;padding-left:14px;border-left:1px solid #2b4058}.icon-button{display:inline-grid;place-items:center;width:40px;min-width:40px;min-height:40px;padding:0;font-size:1.15rem;font-weight:900;line-height:1}.trash-icon{width:18px;height:18px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.contour-canvas-shell{position:relative;min-width:0;overflow:hidden;border:1px solid #34506d;border-radius:15px;background:#0a1422;box-shadow:inset 0 0 0 1px #08111d}.contour-canvas-shell.contour-invalid{border-color:#ef6b83;box-shadow:inset 0 0 0 1px #ef6b83,0 0 0 3px #ef6b8326}.contour-canvas{display:block;width:100%;height:auto;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.canvas-pan-surface{fill:#07111d;cursor:-webkit-grab;cursor:grab}.canvas-pan-surface:active{cursor:-webkit-grabbing;cursor:grabbing}.world-sky{fill:#07111d}.world-grid{fill:url(#shared-world-grid);opacity:.42;pointer-events:none}.world-grid-line{fill:none;stroke:#6585a4;stroke-width:.7;opacity:.28}.world-outline{fill:none;stroke:#5d7c99;stroke-width:1.5}.world-coordinate-label{fill:#aec5db;font:10px ui-monospace,SFMono-Regular,Menlo,monospace}.world-coordinate-end{fill:#8dabc5}.solid-contour-fill{fill:#274a3a;stroke:none}.solid-contour-line{fill:none;stroke:#8cf0be;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.contour-invalid .solid-contour-line{stroke:#ff718d}.contour-add-target{fill:none;stroke:transparent;stroke-linecap:round;stroke-linejoin:round;stroke-width:18;cursor:default;pointer-events:none}.contour-add-target.active{cursor:crosshair;stroke:#67e8f9;stroke-opacity:.32;pointer-events:stroke}.contour-point{fill:#dbeafe;stroke:#14314b;stroke-width:3;cursor:-webkit-grab;cursor:grab;outline:none;touch-action:none}.contour-point:focus-visible,.contour-point:hover{fill:#fff;stroke:#67e8f9}.contour-point:active{cursor:-webkit-grabbing;cursor:grabbing}.contour-point.selected{fill:#67e8f9;stroke:#072134;stroke-width:4}.contour-point.endpoint{fill:#ffd166}.contour-point.endpoint.selected{fill:#ffe5a0}.canvas-help{position:absolute;left:12px;bottom:10px;max-width:calc(100% - 24px);padding:.42rem .6rem;border:1px solid #304a64;border-radius:8px;color:#c0d1e4;background:#07111ddd;font-size:.68rem;pointer-events:none}.point-identity{margin:5px 0 0;color:#7edce9;font:.66rem ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}.world-navigator{position:absolute;top:12px;right:12px;width:246px;padding:7px;border:1px solid #52708d;border-radius:10px;background:#07111ded;box-shadow:0 8px 24px #0008}.world-navigator>span{display:block;margin:0 2px 5px;color:#bad0e5;font-size:.63rem;font-weight:800}.world-navigator svg{display:block;width:100%;border:1px solid #395570;border-radius:6px;background:#0b1d30;cursor:crosshair;outline:none}.world-navigator svg:focus-visible{border-color:#67e8f9;box-shadow:0 0 0 2px #67e8f955}.navigator-world{fill:#15324e}.navigator-solid{fill:#315943}.navigator-contour{fill:none;stroke:#9bf2c6;stroke-width:2}.navigator-viewport{fill:#67e8f91c;stroke:#67e8f9;stroke-width:2}.contour-footer{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;margin-top:7px;padding:0 2px}.canvas-viewport-controls{display:flex;align-items:center;gap:4px}.canvas-viewport-controls .icon-button{width:32px;min-width:32px;min-height:32px;font-size:1rem}.canvas-viewport-controls output{min-width:44px;color:#a8bfd4;font:.67rem ui-monospace,SFMono-Regular,Menlo,monospace;text-align:center}.contour-message{min-width:0;margin:0;color:#8fb9c6;font-size:.69rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contour-message.invalid{color:#ff9daf}.world-size-control{position:relative;flex:0 0 auto}.world-size-button{display:flex;align-items:center;gap:6px;min-height:32px;padding:.34rem .55rem;border-color:transparent;color:#8197b0;background:transparent;font-size:.65rem}.world-size-button:hover,.world-size-button[aria-expanded=true]{border-color:#304a64;color:#b8cee2;background:#0a1625}.world-size-button strong{color:#dce9f6;font:.7rem ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap}.world-settings-panel{position:absolute;z-index:8;right:0;bottom:calc(100% + 8px);width:min(340px,calc(100vw - 48px));padding:14px;border:1px solid #3a5672;border-radius:12px;background:#0c1828;box-shadow:0 16px 46px #000b}.world-settings-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.world-settings-heading>div>span{color:#73dbea;font-size:.62rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.world-settings-heading h3{margin:2px 0 0;font-size:1rem}.world-settings-heading .icon-button{width:32px;min-width:32px;min-height:32px}.world-settings-panel form{display:grid;grid-gap:11px;gap:11px;margin-top:12px}.world-size-fields{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.world-size-fields label{display:grid;grid-gap:5px;gap:5px;color:#9bb0c6;font-size:.7rem;font-weight:800}.world-size-fields input{width:100%;min-width:0;padding:.58rem .65rem;border:1px solid #344b67;border-radius:8px;color:#eef7ff;background:#07111d}.world-settings-panel form>p{margin:0;color:#8ea3bb;font-size:.68rem;line-height:1.4}.world-settings-panel form>p.invalid{color:#ff9daf}.world-settings-actions{display:flex;justify-content:flex-end;gap:7px}.world-settings-actions button{min-height:36px;padding:.48rem .68rem;font-size:.72rem}.layer-workspace{position:relative;margin-top:10px;padding:12px}.layer-commandbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:44px;margin-bottom:9px}.layer-stack-toggle{min-height:40px;white-space:nowrap}.layer-stack-toggle strong{margin-left:4px;color:#73dbea}.layer-property-fields{flex:1 1 700px;display:flex;align-items:center;gap:6px;min-width:0;padding-left:10px;border-left:1px solid #2b4058}.layer-camera-summary{flex:0 1 360px;min-width:220px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:2px 8px;gap:2px 8px;padding:5px 7px;border:1px solid #304a64;border-radius:8px;color:#9fb4ca;background:#091522;font-size:.62rem;line-height:1.25}.layer-camera-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-camera-summary button{grid-column:2;grid-row:1/span 2;min-height:30px;padding:.32rem .5rem;color:#c7f6ff;font-size:.62rem}.layer-staging-controls{position:static;flex:0 0 auto}.layer-staging-controls summary{cursor:pointer;color:#9ed8ff;font-size:.7rem;font-weight:800;white-space:nowrap}.layer-staging-controls[open]{flex:0 0 auto}.layer-staging-grid{position:absolute;z-index:3;top:calc(100% + 8px);right:0;width:min(430px,calc(100% - 8px));max-height:min(420px,calc(100vh - 96px));display:grid;grid-template-columns:repeat(3,minmax(118px,1fr));grid-gap:8px;gap:8px;overflow:auto;padding:10px;border:1px solid #466581;border-radius:10px;background:#101d2bf7;box-shadow:0 14px 36px #000b}.layer-inspector-open .layer-staging-grid{right:388px;width:min(430px,calc(100% - 396px))}.layer-staging-help{grid-column:1/-1;margin:0;color:#91a9bf;font-size:.64rem;line-height:1.4}.layer-staging-help strong{color:#dce9f6}.layer-staging-grid label{display:grid;grid-gap:4px;gap:4px;color:#9fb4ca;font-size:.65rem;font-weight:750}.layer-staging-grid input{width:100%}.layer-staging-grid>button{min-height:32px;padding:.35rem .55rem;font-size:.65rem}.layer-staging-intervals{grid-column:1/-1;display:flex;gap:6px;overflow-x:auto}.layer-staging-intervals button[aria-pressed=true]{border-color:#67e8f9;color:#d9fbff;background:#173649}.layer-property-field{position:relative;flex:0 0 86px;min-width:0;color:#91a5bc;font-size:.7rem;font-weight:800}.layer-property-field>span{position:absolute;z-index:1;top:4px;left:9px;color:#7890aa;font-size:.53rem;font-weight:900;letter-spacing:.04em;line-height:1;pointer-events:none;text-transform:uppercase}.layer-property-field input,.layer-property-field select{width:100%;height:40px;min-width:0;padding:.86rem .5rem .18rem;border:1px solid #344b67;border-radius:8px;color:#eef7ff;background:#07111d;font-size:.7rem}.layer-property-field input:disabled,.layer-property-field select:disabled{color:#72849a;background:#0a1422}.layer-name-field{flex:1 1 180px;max-width:240px}.layer-repeat-field{flex-basis:112px}.layer-transform-field{flex-basis:70px}.layer-depth-field{flex-basis:72px}.layer-history{display:flex;gap:6px;margin-left:auto;padding-left:10px;border-left:1px solid #2b4058}.layer-canvas-shell{position:relative;overflow:hidden;border:1px solid #34506d;border-radius:15px;background:#07111d}.layer-canvas{display:block;width:100%;height:auto;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.layer-canvas-empty{fill:#07111d}.layer-pan-surface{fill:transparent;cursor:-webkit-grab;cursor:grab}.layer-pan-surface:active{cursor:-webkit-grabbing;cursor:grabbing}.layer-world-navigator{z-index:3;right:auto;left:12px}.layer-stack{position:absolute;z-index:4;top:12px;right:12px;width:min(370px,calc(100% - 24px));max-height:calc(100% - 24px);display:grid;grid-template-rows:auto auto auto minmax(80px,1fr) auto;padding:11px;border:1px solid #496985;border-radius:12px;background:#07111def;box-shadow:0 12px 36px #000a}.layer-stack.compact{grid-template-rows:auto minmax(80px,1fr)}.area-stack{grid-template-rows:auto minmax(80px,1fr) auto}.area-stack .layer-stack-heading>span{min-width:0;display:grid;grid-gap:2px;gap:2px}.area-stack .layer-stack-heading h2{margin:0}.area-stack .layer-stack-heading small,.area-stack>p{margin:0;color:#91a9bf;font-size:.58rem}.area-add-button{min-height:34px;padding:.4rem .6rem;font-size:.68rem}.layer-stack-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.layer-stack-heading h2{margin-top:2px;font-size:1rem}.layer-stack-heading .icon-button{width:32px;min-width:32px;min-height:32px}.layer-backdrop-control{min-width:0;display:grid;grid-gap:7px;gap:7px;margin-bottom:9px;padding:8px;border:1px solid #2f4b64;border-radius:8px;background:#0b1727}.layer-backdrop-control label{min-width:0;display:grid;grid-gap:3px;gap:3px;color:#9bb0c6;font-size:.58rem;font-weight:850;letter-spacing:.02em}.layer-backdrop-control input,.layer-backdrop-control select{width:100%;min-width:0;height:29px;padding:.25rem .35rem;border:1px solid #496985;border-radius:6px;color:#e6f0fa;background:#07111d;font-size:.66rem}.layer-backdrop-control input[type=color]{padding:2px}.layer-backdrop-control input[readonly]{color:#8296aa;background:#101c2b}.backdrop-disclosure{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;grid-gap:7px;gap:7px;min-height:34px;padding:2px;border:0;color:#dce9f6;background:transparent;box-shadow:none;text-align:left}.backdrop-disclosure:hover{background:#14253a}.backdrop-disclosure>span:nth-child(2){min-width:0;display:grid}.backdrop-disclosure strong{font-size:.68rem}.backdrop-disclosure small{overflow:hidden;color:#91a9bf;font-size:.56rem;text-overflow:ellipsis;white-space:nowrap}.backdrop-summary-swatch{width:30px;height:22px;border:1px solid #6d8296;border-radius:5px}.backdrop-editor-fields{display:grid;grid-gap:7px;gap:7px}.backdrop-editor-topline{display:grid;grid-template-columns:minmax(0,1fr) 112px;align-items:stretch;grid-gap:7px;gap:7px}.backdrop-live-preview{position:relative;min-height:46px;overflow:hidden;border:1px solid #5e7890;border-radius:7px;touch-action:none}.backdrop-live-preview[data-backdrop-type=radial-gradient]{cursor:crosshair}.backdrop-focal-point{position:absolute;width:12px;height:12px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #07111d,0 1px 4px #000c;transform:translate(-50%,-50%)}.backdrop-solid-field{grid-template-columns:minmax(0,1fr) 50px;align-items:center}.backdrop-stop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:5px;gap:5px}.backdrop-stop{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 42px;grid-gap:3px;gap:3px;padding:4px;border:1px solid #263f56;border-radius:6px;background:#081321}.backdrop-stop label:first-child{grid-template-columns:minmax(0,1fr) 28px;align-items:center;grid-column:1/-1}.backdrop-stop input[type=color]{width:28px;height:25px}.backdrop-stop label:last-child{grid-column:1/-1}.backdrop-stop input[type=number]{height:25px}.backdrop-range-field{display:grid!important;grid-template-columns:38px minmax(0,1fr) 38px;align-items:center;grid-gap:5px!important;gap:5px!important}.backdrop-range-field input[type=range]{height:24px;padding:0;border:0;background:transparent}.backdrop-range-field output{color:#dce9f6;font:.6rem ui-monospace,SFMono-Regular,Menlo,monospace;text-align:right}.backdrop-radial-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:5px;gap:5px}.backdrop-radial-fields input{height:27px}.backdrop-presets{display:flex;gap:5px;overflow-x:auto;padding-bottom:1px}.backdrop-presets button{flex:0 0 auto;display:flex;align-items:center;gap:5px;min-height:28px;padding:.2rem .4rem;font-size:.58rem}.backdrop-preset-swatch{width:19px;height:19px;border:1px solid #6d8296;border-radius:4px}.layer-atmosphere-control,.world-region-control{min-width:0;display:grid;grid-gap:7px;gap:7px;margin-bottom:9px;padding:8px;border:1px solid #2f4b64;border-radius:8px;background:#0b1727}.atmosphere-editor-fields{display:grid;grid-gap:7px;gap:7px}.atmosphere-live-preview{min-height:38px;border:1px solid #5e7890;border-radius:7px}.atmosphere-column-list{max-height:145px;display:grid;grid-gap:5px;gap:5px;overflow-y:auto}.atmosphere-column{display:grid;grid-template-columns:70px minmax(0,1fr) minmax(0,1fr) 26px;align-items:end;grid-gap:4px;gap:4px;padding:5px;border:1px solid #263f56;border-radius:6px;background:#081321}.atmosphere-column label,.world-region-fields label{min-width:0;display:grid;grid-gap:3px;gap:3px;color:#9bb0c6;font-size:.58rem;font-weight:850}.atmosphere-column input,.world-region-fields input{width:100%;min-width:0;height:28px;padding:.2rem .3rem;border:1px solid #496985;border-radius:6px;color:#e6f0fa;background:#07111d;font-size:.63rem}.atmosphere-column input[type=color]{padding:2px}.atmosphere-column>button{width:26px;min-width:26px;min-height:28px;padding:0}.atmosphere-actions{gap:6px}.atmosphere-actions,.world-region-heading{display:flex;justify-content:space-between}.world-region-heading{align-items:center;gap:7px}.world-region-heading>span{min-width:0;display:grid}.world-region-heading strong{font-size:.68rem}.world-region-control p,.world-region-heading small{color:#91a9bf;font-size:.56rem}.world-region-heading button{min-height:28px;padding:.2rem .45rem;font-size:.58rem}.world-region-list{max-height:92px;display:grid;grid-gap:4px;gap:4px;overflow-y:auto}.world-region-row{display:grid;grid-template-columns:minmax(0,1fr) 30px;grid-gap:4px;gap:4px}.world-region-row>button:first-child{min-width:0;display:grid;justify-items:start;min-height:34px;padding:.25rem .4rem;text-align:left}.world-region-row>button:first-child small,.world-region-row>button:first-child strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.world-region-row.active>button:first-child{border-color:#67e8f9;background:#123047}.world-region-row>button:last-child{width:30px;min-width:30px;min-height:34px;padding:0}.world-region-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:5px;gap:5px;padding-top:6px;border-top:1px solid #263f56}.world-region-fields label:nth-child(-n+3){grid-column:span 4}.world-region-fields .danger{grid-column:span 4;min-height:28px}@media (max-width:900px){.shared-world-workspace.has-hierarchy{padding-left:12px}.authoring-hierarchy{position:static;width:100%;max-height:230px;margin-bottom:9px}}.shared-context-toolbar>.world-region-fields{flex:1 1 720px;display:flex;align-items:center;gap:6px;min-width:0;padding:0;border:0}.shared-context-toolbar>.world-region-fields label,.shared-context-toolbar>.world-region-fields label:nth-child(-n+3){position:relative;flex:0 0 74px;display:block;min-width:0;grid-column:auto}.shared-context-toolbar>.world-region-fields label:first-child{flex:1 1 170px;max-width:230px}.shared-context-toolbar>.world-region-fields label:nth-child(2){flex-basis:140px}.shared-context-toolbar>.world-region-fields label:nth-child(3){flex-basis:110px}.shared-context-toolbar>.world-region-fields label>span{position:absolute;z-index:1;top:4px;left:9px;color:#7890aa;font-size:.53rem;font-weight:900;letter-spacing:.04em;line-height:1;pointer-events:none;text-transform:uppercase}.shared-context-toolbar>.world-region-fields input{height:40px;padding:.86rem .5rem .18rem;font-size:.7rem}.shared-context-toolbar>.world-region-fields .danger{flex:0 0 auto;grid-column:auto;min-height:36px;padding:.4rem .58rem;font-size:.65rem}.area-axis-help{display:grid;grid-gap:2px;gap:2px;color:#91a9bf;font-size:.58rem;white-space:nowrap}.area-axis-help strong{color:#dce9f6;font-size:.65rem}.world-atmosphere-canvas{display:block;width:100%;height:100%}.world-region{fill:#67e8f91f;stroke:#67e8f9;stroke-width:2;vector-effect:non-scaling-stroke}.world-region.selected{fill:#facc1530;stroke:#facc15;stroke-width:3}.region-selection rect{fill:transparent;stroke:#facc15;stroke-width:2;vector-effect:non-scaling-stroke;cursor:move}.region-resize-handle{fill:#facc15;stroke:#07111d;stroke-width:2;cursor:nwse-resize}.backdrop-proof-page{min-height:100vh;padding:24px;color:#e8f2fb;background:#07111d}.backdrop-proof-page>header{max-width:1500px;margin:0 auto 18px}.backdrop-proof-page h1{margin:4px 0 14px}.backdrop-proof-card code,.backdrop-proof-page p{color:#9bb0c6}.backdrop-proof-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.backdrop-proof-controls label{display:flex;align-items:center;gap:8px;min-width:min(520px,100%)}.backdrop-proof-controls input{flex:1 1}.backdrop-proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;max-width:1500px;margin:0 auto}.backdrop-proof-card{overflow:hidden;border:1px solid #496985;border-radius:12px;background:#0b1727}.backdrop-proof-card header{display:flex;justify-content:space-between;gap:12px;padding:10px 12px}.backdrop-proof-card header span{color:#9bb0c6;font-size:.78rem}.backdrop-proof-canvas{aspect-ratio:16/9;overflow:hidden;background:#f0f}.backdrop-proof-canvas canvas{display:block;width:100%!important;height:100%!important}.backdrop-proof-card code{display:block;padding:10px 12px;font-size:.75rem}@media (max-width:1000px){.backdrop-proof-grid{grid-template-columns:1fr}}.layer-list{min-height:0;display:grid;grid-gap:0;gap:0;overflow-y:auto}.layer-drop-zone{height:5px;border-radius:999px;transition:height .12s ease,background .12s ease,box-shadow .12s ease}.layer-list.dragging .layer-drop-zone{height:9px}.layer-drop-zone.active{background:#8bc9d8;box-shadow:0 0 0 1px #07111d,0 0 0 2px #8bc9d8}.layer-row{display:grid;grid-template-columns:minmax(0,1fr) 38px 38px;min-height:48px;overflow:hidden;border:1px solid #344b67;border-radius:8px;background:#111d30}.layer-row:not(.locked),.layer-row:not(.locked) .layer-select-button{cursor:-webkit-grab;cursor:grab;touch-action:none}.layer-row:not(.locked):active,.layer-row:not(.locked):active .layer-select-button{cursor:-webkit-grabbing;cursor:grabbing}.layer-row.dragging{opacity:.35}.layer-row.active{border-color:#67e8f9;background:#14314a}.layer-row.never-visible{border-color:#a94e63}.layer-row.never-visible.active{border-color:#ff6f8d;box-shadow:inset 0 0 0 1px #ff6f8d44}.layer-row.locked,.layer-row.locked.active{border-color:#56616f;background:#171e28;opacity:.67}.layer-select-button{display:flex;align-items:center;gap:6px;min-width:0;min-height:46px;padding:.4rem .45rem;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left}.layer-select-button:hover{background:#21334a}.layer-row-copy{flex:1 1 auto;min-width:0;display:grid}.layer-camera-warning{flex:0 0 14px;display:grid;place-items:center;width:14px;height:14px;border:1px solid #ff8da4;border-radius:50%;color:#ffd7df;background:#5b1626;font-size:.52rem;font-weight:950;line-height:1}.layer-list small,.layer-list strong,.layer-terrain-row small,.layer-terrain-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-list small{margin-top:2px;color:#8da5bd;font-size:.62rem}button.layer-row-action{display:grid;place-items:center;min-height:46px;padding:0;border:0;border-left:1px solid #344b67;border-radius:0;color:#8bc9d8;background:transparent;box-shadow:none}button.layer-row-action:hover{color:#bcecf4;background:#21334a}button.layer-row-action svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.layer-terrain-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:6px;gap:6px;min-height:48px;padding:.4rem .45rem;border:1px solid #496553;border-radius:8px;color:#c7ead0;background:#14271e}.layer-terrain-copy{min-width:0;display:grid}.layer-terrain-row small{margin-top:2px;color:#8fb49a;font-size:.62rem}.layer-terrain-row>span:last-child{color:#82ad90;font-size:.52rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.layer-add-button{margin-top:9px;min-height:38px}.layer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;margin-top:7px;padding:0 2px;color:#8fb9c6;font-size:.68rem}.layer-footer p{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-footer>span{flex:0 0 auto;color:#9fb3c9;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.layer-dialog-backdrop{position:absolute;z-index:12;inset:0;display:grid;place-items:center;padding:18px;border-radius:14px;background:#02071199;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.layer-dialog{width:min(420px,100%);display:grid;grid-gap:12px;gap:12px;padding:18px;border:1px solid #466581;border-radius:14px;background:#0c1828;box-shadow:0 18px 54px #000c}.layer-dialog h2{font-size:1.1rem}.layer-dialog label{display:grid;grid-gap:5px;gap:5px;color:#9bb0c6;font-size:.7rem;font-weight:800}.layer-dialog input,.layer-dialog select{width:100%;padding:.6rem .68rem;border:1px solid #344b67;border-radius:8px;color:#eef7ff;background:#07111d}.layer-dialog>div:last-child{display:flex;justify-content:flex-end;gap:7px}.camera-preview-layout{display:grid;grid-gap:7px;gap:7px;min-width:0}.phaser-layer-preview{min-width:0;overflow:hidden;border:1px solid #34506d;border-radius:15px;background:#07111d}.phaser-preview-stage{overflow:hidden;padding:28px;background:repeating-linear-gradient(135deg,#091522,#091522 8px,#0c1a29 0,#0c1a29 16px)}.phaser-preview-canvas{position:relative;overflow:visible;aspect-ratio:16/9;background:#07111d;box-shadow:0 0 0 1px #456783}.phaser-preview-canvas>div:not(.phaser-layer-selection){width:100%!important;height:100%!important;min-height:0!important}.phaser-preview-canvas canvas{max-width:100%;max-height:100%;display:block;margin:auto}.phaser-layer-selection{position:absolute;z-index:3;min-width:12px;min-height:12px;border:2px solid #67e8f9;border-radius:3px;background:#67e8f90d;box-shadow:0 0 0 1px #07111daa,0 0 14px #67e8f955;cursor:-webkit-grab;cursor:grab;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.phaser-layer-selection:active{cursor:-webkit-grabbing;cursor:grabbing}.phaser-layer-selection>span{position:absolute;bottom:calc(100% + 4px);left:0;padding:2px 5px;border-radius:4px;color:#07111d;background:#8cecf5;font-size:.55rem;font-weight:900;white-space:nowrap}.phaser-layer-selection.disabled{border-color:#8193a7;background:#8193a70d;box-shadow:none;cursor:not-allowed}.phaser-layer-selection.disabled>span{color:#d7e2ec;background:#33475b}.phaser-scrub-control{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:10px;gap:10px;min-height:38px;padding:0 2px}.phaser-scrub-control label{color:#a8bbcf;font-size:.7rem;font-weight:800}.phaser-scrub-control input{width:100%}.phaser-scrub-track{min-width:0}.phaser-scrub-control button{min-height:34px;padding:.4rem .62rem;font-size:.68rem}.phaser-staging-panel{display:grid;grid-gap:8px;gap:8px;padding:9px 10px;border:1px solid #2e4e68;border-radius:9px;background:#101d2be8;color:#a8bbcf;font-size:.68rem}.phaser-in-out-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.phaser-in-out-controls button{min-width:42px;min-height:32px;padding:.35rem .55rem;font-size:.65rem;font-weight:900}.phaser-in-out-controls button[aria-pressed=true]{border-color:#67e8f9;color:#e9fcff;background:#16465b}.phaser-in-out-controls span{color:#9fd6df;font-size:.63rem;font-weight:750}.phaser-staging-summary{display:flex;align-items:center;flex-wrap:wrap;gap:5px 0}.phaser-staging-summary span{padding:0 8px;border-right:1px solid #2b4058}.phaser-staging-summary span:first-child{padding-left:0}.phaser-staging-summary strong{color:#e4f4ff}.phaser-staging-actions{display:flex;flex-wrap:wrap;gap:6px}.phaser-staging-actions button{min-height:32px;padding:.35rem .55rem;font-size:.65rem}.phaser-placement-note{margin:0;color:#8da4bc;font-size:.63rem;line-height:1.35}.phaser-staging-details{border-top:1px solid #2b4058;padding-top:7px}.phaser-staging-details>summary{width:max-content;cursor:pointer;color:#9ed8ff;font-size:.66rem;font-weight:800}.phaser-staging-details[open] .phaser-staging-summary{margin-top:8px}.camera-placement-details{border-top:1px solid #2b4058;padding-top:7px}.camera-placement-details summary{width:max-content;cursor:pointer;color:#9ed8ff;font-size:.66rem;font-weight:800}.camera-placement-grid{display:grid;grid-template-columns:repeat(3,minmax(118px,1fr));grid-gap:8px;gap:8px;margin-top:8px}.camera-placement-grid label{display:grid;grid-gap:4px;gap:4px;color:#9fb4ca;font-size:.63rem;font-weight:750}.camera-placement-grid input,.camera-placement-grid select{width:100%;min-width:0}.camera-placement-grid>button{min-height:32px;padding:.35rem .55rem;font-size:.63rem}.camera-single-range{grid-column:1/-1;margin:0;color:#a8bbcf;font-size:.65rem}.camera-single-range strong{color:#e4f4ff}.camera-range-choice{grid-column:1/-1;max-width:260px}.camera-authoring-status{margin:0;color:#9fd6df;font-size:.63rem}.object-workspace{position:relative;margin-top:10px;padding:12px}.object-commandbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:44px;margin-bottom:9px}.object-context{flex:0 1 150px;min-width:110px;display:grid;line-height:1.1}.object-context span{color:#7890aa;font-size:.53rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.object-context strong{margin-top:4px;overflow:hidden;color:#e7f4ff;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.object-property-fields{flex:1 1 690px;min-width:0;display:flex;align-items:center;gap:6px;padding-left:10px;border-left:1px solid #2b4058}.object-property-fields label{position:relative;flex:0 0 82px;min-width:0;color:#91a5bc;font-size:.7rem;font-weight:800}.object-property-fields label>span{position:absolute;z-index:1;top:4px;left:9px;color:#7890aa;font-size:.53rem;font-weight:900;letter-spacing:.04em;line-height:1;pointer-events:none;text-transform:uppercase}.object-property-fields input,.object-property-fields select{width:100%;height:40px;min-width:0;padding:.86rem .5rem .18rem;border:1px solid #344b67;border-radius:8px;color:#eef7ff;background:#07111d;font-size:.7rem}.object-property-fields button{min-height:40px;padding:.45rem .58rem;font-size:.67rem}.object-history{display:flex;gap:5px;margin-left:auto;padding-left:8px;border-left:1px solid #2b4058}.object-add-button{min-height:40px;margin-left:auto;white-space:nowrap}.object-canvas-shell{position:relative;min-width:0;overflow:hidden;border:1px solid #34506d;border-radius:15px;background:#07111d}.object-canvas{display:block;width:100%;height:auto;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.object-pan-surface{fill:transparent;cursor:-webkit-grab;cursor:grab}.object-pan-surface:active{cursor:-webkit-grabbing;cursor:grabbing}.prefab-object{cursor:-webkit-grab;cursor:grab;outline:none;touch-action:none}.prefab-object:active{cursor:-webkit-grabbing;cursor:grabbing}.prefab-object.selected{filter:drop-shadow(0 0 5px #67e8f955)}.layer-selection>rect{fill:#67e8f90d;stroke:#67e8f9;stroke-width:1.5;stroke-dasharray:5 4;cursor:-webkit-grab;cursor:grab;vector-effect:non-scaling-stroke;touch-action:none}.layer-selection>rect:active{cursor:-webkit-grabbing;cursor:grabbing}.layer-selection.locked>rect{fill:#9baec018;stroke:#9baec0;cursor:not-allowed}.layer-selection.never-visible>rect{fill:#ff52770d;stroke:#ff6f8d}.layer-resize-handle{fill:#d9fbff;stroke:#0d3445;stroke-width:2.5;cursor:nwse-resize;touch-action:none}.layer-selection.never-visible .layer-resize-handle{fill:#ffe1e7;stroke:#7a1f34}.layer-camera-status{flex:0 1 205px;min-width:150px;padding:.35rem .48rem;border:1px solid #2d4a62;border-radius:7px;color:#b6d4dd;background:#0a1726;font-size:.62rem;line-height:1.25}.layer-camera-status.never{border-color:#a94e63;color:#ffd0da;background:#34111d}.layer-camera-status.interval{border-color:#356b78;color:#c7f1f5}.prefab-selection>rect{fill:none;stroke:#67e8f9;stroke-width:1.5;stroke-dasharray:5 4;vector-effect:non-scaling-stroke;pointer-events:none}.prefab-resize-handle{fill:#d9fbff;stroke:#0d3445;stroke-width:2.5;cursor:nwse-resize;touch-action:none}.prefab-visual-bounds{fill:#67e8f90d;stroke:#67e8f9;stroke-width:1.5;vector-effect:non-scaling-stroke}.prefab-collision{fill:#ff718d20;stroke:#ff8da2;stroke-width:1.5;vector-effect:non-scaling-stroke}.prefab-socket{fill:#ffd166;stroke:#4a3500;stroke-width:2;vector-effect:non-scaling-stroke}.authoring-point-marker circle{fill:#07111d;stroke:#67e8f9;stroke-width:3;vector-effect:non-scaling-stroke}.authoring-point-marker path{fill:none;stroke:#f8fafc;stroke-width:2;vector-effect:non-scaling-stroke}.authoring-point-marker text{fill:#f8fafc;font:600 12px system-ui,sans-serif;paint-order:stroke;stroke:#07111d;stroke-width:3;vector-effect:non-scaling-stroke}.prefab-ground-contact{fill:#8cf0be;stroke:#8cf0be;stroke-width:4;stroke-linecap:round;vector-effect:non-scaling-stroke}.surface-zone{fill:none;stroke:#f7cf65;stroke-width:9;stroke-linecap:round;stroke-linejoin:round;opacity:.72;cursor:pointer;outline:none;vector-effect:non-scaling-stroke}.surface-zone.selected,.surface-zone:focus-visible,.surface-zone:hover{opacity:1;filter:drop-shadow(0 0 4px #f7cf65)}.surface-zone.zone-rescue{stroke:#71e6c1}.surface-zone.zone-home{stroke:#75b9ff}.surface-zone.zone-checkpoint{stroke:#d7a5ff}.surface-zone.zone-hazard{stroke:#ff718d}.surface-zone.zone-bonus{stroke:#ffd166}.surface-zone.zone-game-defined{stroke:#d7e6f5;stroke-dasharray:8 5}.surface-zone-add-target{fill:none;stroke:#67e8f9;stroke-width:24;stroke-linecap:round;stroke-linejoin:round;opacity:.24;cursor:crosshair;pointer-events:stroke;vector-effect:non-scaling-stroke}.surface-zone-preview{fill:none;stroke:#e9fbff;stroke-width:11;stroke-linecap:round;stroke-linejoin:round;opacity:.9;vector-effect:non-scaling-stroke}.surface-zone-handles circle{fill:#fff7d1;stroke:#604b00;stroke-width:2.5;cursor:ew-resize;touch-action:none}.zone-name-field{flex:1 1 160px!important}.object-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;margin-top:7px;padding:0 2px;color:#8fb9c6;font-size:.68rem}.object-footer p{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.object-footer>span{flex:0 0 auto;color:#9fb3c9;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.7rem,4vw,2.7rem);letter-spacing:-.04em}h1,h2{margin-bottom:0}h2{font-size:clamp(1.2rem,2vw,1.65rem)}.eyebrow{margin-bottom:.3rem;color:#73dbea;font-size:.72rem;font-weight:900;letter-spacing:.15em;text-transform:uppercase}.panel{background:linear-gradient(150deg,#111d30,#0c1727);border:1px solid #263954;border-radius:18px;box-shadow:0 16px 50px #02071366}.fixed-screen-page{width:min(1120px,100%);min-height:100dvh;display:grid;align-content:start;grid-gap:clamp(18px,3vw,34px);gap:clamp(18px,3vw,34px)}.fixed-screen-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:15px;border-bottom:1px solid #263a52}.fixed-screen-header h1{margin:0;font-size:clamp(1.65rem,4vw,3rem);letter-spacing:-.035em}.fixed-screen-header>p{max-width:420px;margin:0;color:#9eb2c9;line-height:1.55}.fixed-screen-layout{display:grid;grid-template-columns:minmax(220px,390px) minmax(220px,360px);justify-content:center;align-items:center;grid-gap:clamp(24px,7vw,88px);gap:clamp(24px,7vw,88px)}.fixed-screen-device{width:min(390px,100%);justify-self:center;padding:10px;border:1px solid #34506d;border-radius:34px;background:linear-gradient(155deg,#12233a,#081321);box-shadow:0 24px 70px #02071388}.fixed-screen-canvas{width:100%;aspect-ratio:390/844;overflow:hidden;border:1px solid #233a55;border-radius:25px;background:#081120}.fixed-screen-canvas>div{width:100%!important;height:100%!important;min-height:0!important}.fixed-screen-canvas canvas{max-width:100%;max-height:100%;display:block;margin:auto}.fixed-screen-controls{display:grid;grid-template-columns:1fr auto 1fr;grid-gap:8px;gap:8px;padding-top:10px}.fixed-screen-controls button{min-height:48px;padding:.55rem .75rem;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fixed-screen-direction{color:#07111d;border-color:#8ee8f5;background:#8ee8f5;font-size:1.35rem;font-weight:900}.fixed-screen-direction:hover{background:#b8f2fa}.fixed-screen-restart{color:#a9bcd2;background:#0c192a;font-size:.78rem}.fixed-screen-instructions{align-self:center;padding:clamp(18px,3vw,28px);border:1px solid #263954;border-radius:18px;background:#0c1727cc}.fixed-screen-instructions h2{margin:0 0 12px;font-size:1.2rem}.fixed-screen-instructions p{margin:8px 0 0;color:#9fb2c9;line-height:1.55}button.danger{color:#ffdce4;background:#3a1724;border-color:#733047}button.danger:hover{background:#512032}.profile-library-shell{min-height:100dvh;padding-top:clamp(30px,6vw,76px)}.profile-level-card{align-items:flex-start;min-height:176px}.profile-level-card .eyebrow{margin-bottom:6px}.profile-level-card>div>p:last-child{max-width:480px;line-height:1.5}.profile-back-button{position:fixed;z-index:20;top:18px;left:18px;display:flex;align-items:center;gap:9px;padding:7px;border:1px solid #314968;border-radius:12px;color:#9fb2c8;background:#07111dee;box-shadow:0 8px 24px #02071388;font-size:.66rem}.profile-back-button strong{color:#eef7ff}.room-editor-shell{max-width:1720px}.room-editor-topbar{display:grid;grid-template-columns:minmax(320px,1fr) auto;grid-gap:20px;gap:20px;align-items:center;padding:14px}.room-workbench{position:relative;min-height:680px;display:grid;grid-template-columns:218px minmax(400px,1fr) 288px;grid-template-rows:minmax(540px,1fr) auto;grid-gap:12px;gap:12px;margin-top:10px;padding:12px}.room-hierarchy{position:static;width:auto;min-height:0}.room-hierarchy>p{margin:12px 4px 2px;color:#7890aa;font-size:.58rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.room-stage{min-width:0;display:grid;place-items:center;overflow:hidden;border:1px solid #34506d;border-radius:14px;background:#07111d}.room-edit-canvas{display:block;width:100%;max-height:620px;background:#050b19}.room-edit-canvas rect{cursor:pointer}.room-edit-canvas circle.selected,.room-edit-canvas rect.selected{filter:drop-shadow(0 0 8px #67e8f9);stroke:#67e8f9;stroke-width:6;vector-effect:non-scaling-stroke}.room-platform{fill:#8ba0bd;stroke:#d8e8f5;stroke-width:3;vector-effect:non-scaling-stroke}.room-player-start{fill:#67e8f9;stroke:#fff;stroke-width:3;cursor:pointer;vector-effect:non-scaling-stroke}.room-connection{fill:#f7cf6577;stroke:#f7cf65;stroke-width:4;vector-effect:non-scaling-stroke}.room-phaser-canvas{width:100%;aspect-ratio:844/390}.room-phaser-canvas>div{width:100%!important;height:100%!important;min-height:0!important}.room-phaser-canvas canvas{display:block;max-width:100%;max-height:100%;margin:auto}.room-exact-play-shell .exact-play-canvas{min-height:280px;height:min(60dvh,570px);aspect-ratio:auto}.room-inspector{min-width:0;overflow:auto;padding:14px}.room-inspector form{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.room-inspector form button,.room-inspector form h2,.room-inspector form p{grid-column:1/-1}.room-inspector form h2{margin:2px 0;font-size:1rem}.room-inspector form p{margin:0 0 8px;color:#8da1ba;font-size:.72rem;line-height:1.45}.room-inspector label{display:grid;grid-gap:5px;gap:5px;color:#9fb2c8;font-size:.68rem;font-weight:800}.room-inspector input{width:100%;min-width:0;padding:.55rem;border:1px solid #354b68;border-radius:8px;color:#eef7ff;background:#07111d}.game-authoring-inspector{min-width:0;overflow:auto;padding:14px;border:1px solid #3c6f7a;border-radius:12px;background:#0a1c29}.game-inspector-form{display:grid;grid-gap:9px;gap:9px}.game-inspector-form h2,.game-inspector-form p{margin:0}.game-inspector-form p:not(.eyebrow){color:#91a9bf;font-size:.72rem;line-height:1.45}.game-inspector-form label{display:grid;grid-gap:5px;gap:5px;color:#9fb2c8;font-size:.68rem;font-weight:800}.game-inspector-form input{width:100%;min-width:0}.room-workbench-footer{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr auto;align-items:center;grid-gap:14px;gap:14px}.room-workbench-footer>div{display:flex;gap:6px}.room-workbench-footer p{margin:0;color:#9fd6df;font-size:.72rem;text-align:center}@media (max-width:900px){.create-level{grid-template-columns:1fr}.create-level form{grid-template-columns:1fr 1fr}.create-level form button{min-height:46px}.catalogue-grid,.draft-grid{grid-template-columns:1fr}.context-identity{flex-basis:100%}.context-point-form{flex:1 1 280px;padding-left:0;border-left:0}.layer-stack{width:min(270px,calc(100% - 24px))}.layer-inspector-open .layer-staging-grid{right:288px;width:min(430px,calc(100% - 296px))}.layer-staging-grid{grid-template-columns:repeat(2,minmax(110px,1fr))}.room-editor-topbar{grid-template-columns:1fr}.room-editor-topbar .editor-actions{justify-content:flex-start;flex-wrap:wrap}.room-workbench{grid-template-columns:190px minmax(360px,1fr)}.room-inspector{grid-column:1/-1}}@media (max-width:1180px){.shared-context-toolbar .layer-property-fields{flex:1 1 100%;flex-wrap:wrap;padding-left:0;border-left:0}.shared-context-toolbar .layer-name-field{flex:0 0 150px;max-width:150px}.shared-context-toolbar .layer-repeat-field{flex-basis:100px}.shared-context-toolbar .layer-property-field:not(.layer-name-field):not(.layer-repeat-field){flex-basis:68px}}@media (max-width:640px){main{padding-top:16px}.library-topbar{margin-bottom:20px}.create-level{padding:18px}.create-level form{grid-template-columns:1fr}.draft-actions{grid-template-columns:1fr 1fr}.editor-topbar{grid-template-columns:1fr}.editor-actions{display:grid;grid-template-columns:repeat(2,1fr)}.editor-actions button{padding-inline:.42rem}.exact-play-backdrop{padding:6px}.exact-play-shell{gap:8px;padding:9px}.exact-play-shell>header{align-items:flex-start}.exact-play-shell>header p:not(.eyebrow){max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.exact-play-shell>header button{padding:.55rem .65rem;font-size:.72rem}.exact-play-shell>footer{align-items:stretch;flex-direction:column}.exact-play-controls{display:grid;grid-template-columns:repeat(4,1fr)}.exact-play-controls button{min-width:0}.shared-world-footer{flex-wrap:wrap}.shared-world-footer p{order:4;flex-basis:100%;white-space:normal}.exchange-dialog-backdrop{padding:8px}.exchange-dialog{max-height:calc(100% - 8px);padding:12px}.exchange-dialog>footer{display:grid;grid-template-columns:1fr 1fr}.exchange-dialog>footer .primary{grid-column:1/-1}.context-point-form{flex-basis:100%;grid-template-columns:1fr 1fr 40px}.contour-toolbar{width:100%;padding-left:0;border-left:0;display:grid;grid-template-columns:repeat(7,1fr)}.contour-toolbar .icon-button{width:100%}.contour-footer{align-items:flex-start}.contour-message{white-space:normal}.world-navigator{width:min(230px,calc(100% - 24px))}.layer-commandbar{flex-wrap:wrap}.layer-property-fields{flex-basis:100%;flex-wrap:wrap;padding-left:0;border-left:0}.layer-name-field{flex:1 1 100%;max-width:none}.layer-property-field:not(.layer-name-field){flex:1 1 82px}.layer-history{margin-left:0}.layer-stack{width:min(270px,calc(100% - 24px))}.layer-footer{align-items:flex-start;flex-direction:column}.layer-footer p{white-space:normal}.level-card{align-items:stretch;flex-direction:column}.rename-form{grid-template-columns:1fr 1fr}.rename-form label{grid-column:1/-1}.fixed-screen-page{gap:16px;padding-inline:10px}.fixed-screen-header{display:grid;grid-gap:8px;gap:8px}.fixed-screen-header>p{font-size:.86rem}.fixed-screen-layout{grid-template-columns:1fr;gap:14px}.fixed-screen-device{width:min(100%,340px)}.fixed-screen-instructions{padding:14px}.room-workbench{display:flex;min-height:0;flex-direction:column}.room-hierarchy{min-height:220px}.room-workbench-footer{display:flex;align-items:stretch;flex-direction:column}.room-workbench-footer p{text-align:left}}@media (orientation:landscape) and (max-height:640px){.fixed-screen-page{gap:10px;padding-block:10px 20px}.fixed-screen-header{align-items:center;padding-bottom:8px}.fixed-screen-header .eyebrow,.fixed-screen-header>p{display:none}.fixed-screen-header h1{font-size:1.35rem}.fixed-screen-layout{grid-template-columns:auto minmax(220px,360px);align-items:start;gap:clamp(16px,4vw,36px)}.fixed-screen-device{width:min(230px,calc((100dvh - 76px) * 390 / 914));padding:6px;border-radius:22px}.fixed-screen-canvas{border-radius:16px}.fixed-screen-controls{gap:5px;padding-top:6px}.fixed-screen-controls button{min-height:38px;padding:.35rem .55rem}.fixed-screen-instructions{padding:14px}}