:root{--paper:#f3f1eb;--surface:#fffefa;--ink:#26312e;--muted:#7e8680;--line:#dedfd6;--green:#c5e6a3;--teal:#258f80;--gold:#ba945f;--shadow:0 14px 40px #27372c0b;--radius:22px;font-family:Inter,"SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--paper);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:default;opacity:.38}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #268f8090;outline-offset:3px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{transition:background .18s,color .18s,box-shadow .18s,transform .18s}button:active:not(:disabled){transform:translateY(1px)}button:hover:not(:disabled){filter:brightness(.98)}
.app-header{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--line);gap:24px;background:#f3f1ebed;position:relative;z-index:20}.brand{display:flex;align-items:center;gap:11px;font-size:15px;line-height:1.05;letter-spacing:-.5px;min-width:182px}.brand strong{font-weight:760}.brand-mark{display:grid;place-items:center;width:41px;height:45px;border-radius:15px 15px 18px 7px;background:var(--ink);color:var(--green);transform:rotate(-7deg)}.brand-mark svg{width:26px;height:26px;fill:currentColor;stroke:none;transform:rotate(7deg)}.top-nav{display:flex;gap:12px;align-self:stretch;align-items:stretch}.nav-item{padding:0 18px;position:relative;color:#737e77;font-size:14px;font-weight:650;display:flex;align-items:center;gap:8px}.nav-item.active{color:var(--ink)}.nav-item.active:after{content:"";height:3px;border-radius:2px;background:var(--ink);position:absolute;bottom:-1px;left:18px;right:18px}.nav-count{font-size:10px;border:1px solid #ccd1c7;border-radius:6px;padding:2px 5px;color:#8b948c}.header-right{display:flex;align-items:center;gap:16px}.saved-status{font-size:11px;color:#7a847d;display:flex;align-items:center;gap:7px}.saved-status i{width:5px;height:5px;border-radius:50%;background:#8eab78}.icon-button{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:#67766b}.icon-button:hover{background:#e5e8df}.header-play{display:flex;align-items:center;gap:19px;background:var(--ink);color:white;border-radius:12px;padding:12px 18px;font-size:12px;font-weight:650}.header-play svg{width:17px;height:17px}
.studio-view{max-width:1920px;margin:auto;padding:24px 30px 20px}.studio-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:0 2px 22px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2.2px;color:#899288;margin:0 0 8px}.studio-heading h1{font-size:28px;font-weight:560;line-height:1.1;letter-spacing:-1.2px;margin:0}.studio-heading h1>span,.worlds-heading h1>span{color:#73a95c}.project-actions{display:flex;gap:6px}.quiet-button{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 12px;font-size:11px;font-weight:550;color:#748073;border-radius:9px}.quiet-button svg{width:15px;height:15px}.quiet-button:hover{background:#e9e9df}.export-button{border:1px solid #cfd5c8;color:#4e6254}.workspace{display:grid;grid-template-columns:64px minmax(0,1fr) 304px;gap:15px;min-height:570px;height:calc(100vh - 274px);max-height:900px}.tool-rail{display:flex;flex-direction:column;align-items:center;gap:7px;padding:11px 6px;background:#fffefa;border:1px solid #e4e6dc;border-radius:20px;box-shadow:var(--shadow)}.tool-button{width:49px;min-height:58px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:#7c887c}.tool-button svg{width:22px;height:22px}.tool-button span{font-size:8px;font-weight:650}.tool-button.active{background:#e5eedc;color:#38503f}.tool-button:hover:not(:disabled){background:#eef0e8}.rail-separator{height:1px;width:28px;background:#e5e7de;margin:4px 0}.rail-bottom{margin-top:auto;display:flex;flex-direction:column;gap:8px;align-items:center;font-size:8px;line-height:1.6;color:#a1a89e;text-align:center;padding-bottom:8px}.tool-dot{height:7px;width:7px;background:#c5cbbd;border-radius:50%}.tool-dot.detected{background:#3ba998;box-shadow:0 0 0 5px #3ba99815}
.stage-shell{position:relative;min-width:0;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#faf8f0,#dad9d0);border:1px solid #e1e1d6;border-radius:24px;box-shadow:0 2px 3px #333a2d02;isolation:isolate}.studio-canvas{position:absolute;inset:0;touch-action:none}.studio-canvas canvas{display:block;width:100%;height:100%;outline:none}.stage-top{position:absolute;z-index:3;left:28px;right:24px;top:24px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}.stage-kicker{font-size:8px;font-weight:650;letter-spacing:2px;color:#8b9488}.stage-top h2{font-size:24px;font-weight:560;letter-spacing:-.8px;margin:8px 0 7px}.stage-top p{font-size:10px;color:#8d978c;margin:0}.stage-badge{display:flex;align-items:center;gap:6px;font-size:9px;font-weight:600;letter-spacing:.2px;padding:8px 10px;border:1px solid #ffffff90;border-radius:8px;background:#ffffff50;backdrop-filter:blur(10px);color:#667d69}.live-dot{width:5px;height:5px;border-radius:50%;background:#68ac78}.stage-bottom{position:absolute;z-index:3;left:15px;right:15px;bottom:18px;display:flex;align-items:center;flex-direction:column;gap:10px;pointer-events:none}.animation-switch{display:flex;gap:3px;padding:4px;border-radius:13px;background:#fffef9d4;border:1px solid #fffef9;backdrop-filter:blur(15px);box-shadow:0 5px 20px #56613b0a;pointer-events:auto}.animation-switch button{font-size:10px;color:#7b877b;padding:9px 13px;border-radius:9px}.animation-switch button.active{background:#dde6d3;color:#3c5843;font-weight:650}.stage-hint{margin:0;font-size:9px;letter-spacing:.15px;color:#7c897a;text-align:center}.stage-loading{position:absolute;inset:0;z-index:10;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#eeeee7ed;backdrop-filter:blur(8px)}.stage-loading p{font-size:14px;font-weight:600;letter-spacing:-.2px;margin:24px 0 8px}.stage-loading span{font-size:11px;color:#8e978d}.loader-orbit{width:44px;height:44px;border-radius:50%;border:2px solid #d6dccd;border-top-color:#74925b;animation:spin 1s linear infinite}.physics-banner{position:absolute;bottom:98px;left:20px;right:20px;z-index:5;display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff6e7eb;color:#8d5e2d;border:1px solid #ead7b3;border-radius:13px;backdrop-filter:blur(10px);font-size:10px}.physics-banner svg{width:18px;height:18px}.physics-banner span{flex:1}.physics-banner button{border-bottom:1px solid #a87942;padding:2px 0;font-weight:650}.physics-banner.ok{background:#edf4e5ef;color:#567a47;border-color:#cdddc0}
.inspector{display:flex;flex-direction:column;min-height:0;border:1px solid #e2e5da;background:var(--surface);border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}.inspector-tabs{display:flex;border-bottom:1px solid #e8e9e1;padding:7px 12px 0;gap:10px;flex-shrink:0}.inspector-tabs button{padding:14px 13px 15px;font-size:12px;font-weight:560;color:#92998e;position:relative}.inspector-tabs button.active{color:#344e3c}.inspector-tabs button.active:after{content:"";position:absolute;bottom:-1px;left:13px;right:13px;height:2px;border-radius:2px;background:#466c50}.inspector-scroll{padding:20px 20px 12px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#dbe0d3 transparent;flex:1}.section-label{display:flex;justify-content:space-between;align-items:center;font-size:8px;font-weight:700;letter-spacing:1.35px;color:#8c9688;margin-bottom:13px;gap:10px}.count-tag{font-size:9px;letter-spacing:0;background:#edf0e6;padding:3px 7px;border-radius:5px;color:#697d61}.kind-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.kind-grid button{border:1px solid #e5e8df;border-radius:10px;padding:10px 3px 9px;font-size:9px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:#7d8a7c}.kind-grid button svg{width:20px;height:20px}.kind-grid button.active{border-color:#adbe9e;background:#f0f5e9;color:#3a5a3f;box-shadow:inset 0 0 0 1px #adc39c25}.part-list{display:flex;flex-direction:column;gap:5px;max-height:153px;overflow:auto;margin:14px 0 8px;scrollbar-width:thin}.part-row{display:flex;align-items:center;width:100%;gap:9px;padding:10px 9px;border:1px solid transparent;border-radius:9px;font-size:10px;text-align:left}.part-row.active{background:#eaf0e2;border-color:#d3dfc8}.part-row .part-color{width:17px;height:17px;flex-shrink:0;border-radius:5px;border:1px solid #00000012;box-shadow:inset 0 2px 3px #ffffff50}.part-row .part-name{flex:1}.part-row .connected-indicator{width:5px;height:5px;border-radius:50%;background:#9eb488}.part-row .connected-indicator.detached{background:#d87956;box-shadow:0 0 0 3px #e79b7015}.part-row .part-id{font-size:8px;color:#a0a798}.empty-parts{font-size:11px;color:#9aa291;padding:15px 2px;text-align:center}.add-part-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;font-size:10px;font-weight:600;border:1px dashed #cad5bf;border-radius:9px;color:#7a8f68;padding:11px 8px;background:#f7f9f2}.add-part-button svg{width:14px;height:14px}.microcopy{font-size:9px;line-height:1.65;color:#9aa390;margin:11px 0 0}.material-section{border-top:1px solid #eceee5;margin-top:18px;padding-top:18px}.material-caption{font-weight:400;letter-spacing:0;font-size:9px;color:#a3aa9a}.material-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.material-choices button{padding:8px 3px 7px;border:1px solid #e3e7da;border-radius:10px;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:9px;color:#8e9984}.material-choices button.active{border-color:#b4c6a1;background:#f2f6ec;color:#586f48}.mat-ball{display:block;width:25px;height:25px;border-radius:50%;box-shadow:2px 4px 5px #38473024}.mat-ball.matte{background:radial-gradient(circle at 32% 27%,#d6d9c8,#a9b49a 55%,#7c8b6d)}.mat-ball.satin{background:radial-gradient(ellipse at 34% 23%,white,#dce5ce 15%,#a5b294 49%,#6d805b 90%)}.mat-ball.metal{background:linear-gradient(135deg,#f9e6a9 7%,#d3b274 25%,#5a5335 45%,#fff3be 51%,#b49a58 72%,#746548)}.transform-panel{margin-top:17px;border-top:1px solid #eceee5;padding-top:14px}.transform-panel summary{display:flex;justify-content:space-between;align-items:center;list-style:none;font-size:10px;color:#8a9780;cursor:pointer}.transform-panel summary::-webkit-details-marker{display:none}.transform-panel summary svg{width:13px;height:13px;transition:transform .2s}.transform-panel[open] summary svg{transform:rotate(90deg)}.transform-fields{padding-top:12px}.transform-fields label{display:flex;align-items:center;gap:8px;margin:10px 0;font-size:10px;color:#819073}.transform-fields label>span{width:12px}.transform-fields input{width:100%;min-width:0}.transform-fields output{width:35px;text-align:right;font-size:9px}.transform-fields .scale-field>span{width:52px;flex-shrink:0}.delete-part{display:flex;align-items:center;gap:6px;font-size:9px;color:#aa897b;padding:10px 0 0}.delete-part svg{width:13px;height:13px}.inspector-footer{flex-shrink:0;padding:12px 16px 16px;border-top:1px solid #e9ecdf;background:#fafbf5}.connection-button{display:flex;align-items:center;justify-content:center;width:100%;gap:8px;font-size:10px;padding:8px 5px 13px;color:#799168}.connection-button svg{width:14px;height:14px}.connection-button.warning{color:#c08051}.primary-button{display:flex;align-items:center;justify-content:center;gap:22px;background:var(--ink);color:#f7f7ec;font-size:12px;font-weight:550;padding:14px 18px;min-height:46px;border-radius:11px;box-shadow:0 6px 13px #26312e0c}.primary-button svg{width:18px;height:18px}.inspector-footer .primary-button{width:100%;background:#c6e5a5;color:#3b5232;box-shadow:0 6px 12px #bad99422}.primary-button:hover{box-shadow:0 7px 20px #26312e1c}
.swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.swatch{aspect-ratio:1;border-radius:9px;background:var(--swatch);border:1px solid #00000012;position:relative;box-shadow:inset 0 3px 7px #ffffff20}.swatch.active:after{content:"";position:absolute;inset:-4px;border:1px solid #7e9970;border-radius:12px}.color-row{display:flex;align-items:center;gap:9px;font-size:10px;color:#829176;margin:19px 0 21px}.color-row input{width:29px;height:29px;padding:0;border:none;background:none;cursor:pointer;margin-left:auto}.color-row code{font-size:9px;color:#687b5e}.range-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#829176;margin:0 0 9px}.range-label output{font-size:9px}.inspector input[type=range],.draw-options input[type=range]{appearance:none;-webkit-appearance:none;height:4px;border-radius:4px;background:#dee5d4;accent-color:#7d9c68}.inspector input[type=range]::-webkit-slider-thumb,.draw-options input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:#839e6b;border:3px solid #fafdf5;box-shadow:0 0 0 1px #abc395;cursor:pointer}#brushSize{width:100%;margin:9px 0 20px}.outlined-button{width:100%;border:1px solid #ccd8bf;border-radius:9px;font-size:10px;color:#6e885a;padding:12px 8px}.palette-dot{height:9px;width:9px;border-radius:50%;background:conic-gradient(#d77664,#e6c668,#8ab5a1,#6c8fac,#d77664)}.accessory-picker{margin:11px 0 5px;display:flex;flex-direction:column;gap:7px}.accessory-picker label{font-size:9px;color:#829176}.accessory-picker select,.draw-options select{background:#f5f7ef;border:1px solid #dce4d1;border-radius:8px;padding:9px;font-size:11px;color:#627952;width:100%}
.presets-bar{display:flex;align-items:center;gap:24px;margin:17px 0 0;padding-left:80px}.presets-caption{flex-shrink:0;width:128px}.presets-caption>span{font-size:8px;letter-spacing:1.3px;font-weight:650;color:#8a9583}.presets-caption p{font-size:10px;color:#9aa38f;margin:5px 0 0}.presets{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;flex:1;min-width:0}.preset{display:flex;align-items:center;gap:11px;border:1px solid transparent;border-radius:12px;padding:9px 10px;text-align:left;min-width:0}.preset.active{background:#fffefa;border-color:#dce2d0;box-shadow:0 3px 10px #5c683e04}.preset strong{display:block;font-size:11px;font-weight:550}.preset small{display:block;font-size:8px;color:#9da58e;margin-top:4px;white-space:nowrap}.preset-avatar{display:grid;place-items:center;flex-shrink:0;font-style:normal;font-size:21px;width:37px;height:37px;border-radius:12px;box-shadow:inset 0 2px 6px #fff8}.cat-avatar{background:#d3e9de;color:#489f8b}.robot-avatar{background:#f0d5c9;color:#ba7b67}.creature-avatar{background:#e1dcee;color:#9180a9}.ninja-avatar{background:#d9dfe4;color:#657787}
.worlds-view{max-width:1600px;margin:auto;padding:50px 54px 40px}.worlds-heading{display:flex;justify-content:space-between;gap:40px;align-items:flex-end;margin-bottom:36px}.worlds-heading .eyebrow{font-size:10px;letter-spacing:2px}.worlds-heading h1{font-size:clamp(36px,4vw,59px);line-height:1.03;letter-spacing:-2.7px;font-weight:520;margin:16px 0 18px}.worlds-intro{font-size:12px;color:#8b9485;line-height:1.8;margin:0}.journey-facts{display:flex;gap:31px;padding-bottom:5px}.journey-facts>div{padding-left:25px;border-left:1px solid #d8ddce}.journey-facts strong{display:block;font-size:36px;font-weight:450;letter-spacing:-1.8px;color:#55714c}.journey-facts strong small{font-size:13px;letter-spacing:0}.journey-facts span{display:block;font-size:9px;color:#929d85;line-height:1.6;max-width:105px;margin-top:6px}.world-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.world-card{border-radius:23px;background:#fffdf8;border:1px solid #e3e4d8;overflow:hidden;box-shadow:0 5px 30px #3b4b2106;transition:transform .25s,box-shadow .25s}.world-card:hover{transform:translateY(-3px);box-shadow:0 12px 35px #3b4b2111}.world-picture{position:relative;aspect-ratio:1.6;overflow:hidden;background:#dfe3d4}.world-picture img{width:100%;height:100%;object-fit:cover;transition:transform .6s}.world-card:hover .world-picture img{transform:scale(1.045)}.world-picture:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0001,transparent 35%,#182c2b52)}.world-number{position:absolute;z-index:1;top:16px;left:16px;font-size:10px;letter-spacing:1px;color:white;border:1px solid #fff5;border-radius:8px;padding:6px 8px;backdrop-filter:blur(8px);background:#ffffff14}.world-concept{position:absolute;z-index:1;bottom:14px;left:17px;font-size:8px;letter-spacing:1px;color:#ffffffe0;text-transform:uppercase}.world-card-body{padding:20px 21px}.world-title-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.world-title-row h2{margin:0;font-size:21px;font-weight:550;letter-spacing:-.8px}.world-color-dot{height:8px;width:8px;border-radius:50%;background:var(--accent)}.world-subtitle{font-size:10px;color:#909b84;margin:9px 0 15px;line-height:1.6;min-height:32px}.territory-tags{display:flex;gap:5px;flex-wrap:wrap;min-height:44px}.territory-tags span{padding:4px 6px;background:#f1f3e9;border-radius:5px;font-size:8px;color:#8a987a}.world-card button{display:flex;align-items:center;justify-content:space-between;width:100%;border-top:1px solid #e5e9dc;margin-top:16px;padding:15px 0 0;color:#576f45;font-size:11px;font-weight:600}.world-card button svg{width:18px;height:18px}.worlds-footnote{display:flex;align-items:center;gap:9px;margin:24px 0 0;color:#97a08a}.worlds-footnote>svg{width:17px;height:17px}.worlds-footnote p{font-size:9px;line-height:1.7;max-width:680px;margin:0}.worlds-footnote label{margin-left:auto;font-size:10px;white-space:nowrap}.worlds-footnote select{font-size:10px;border:1px solid #d6deca;border-radius:8px;padding:8px;background:#f9faf4;color:#748a5c;margin-left:8px}.race-view{position:fixed;inset:0;z-index:100;background:#14222b;width:100vw;height:100dvh;overflow:hidden;touch-action:none}
dialog{padding:0;border:1px solid #e4e7db;color:var(--ink);background:#f7f7ef;box-shadow:0 35px 100px #15252140;border-radius:24px;max-height:92dvh;width:min(800px,calc(100vw - 28px));overflow:auto}dialog::backdrop{background:#1e2c2c70;backdrop-filter:blur(9px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;padding:25px 27px 20px;gap:15px}.dialog-heading h2{font-size:25px;font-weight:550;letter-spacing:-1px;margin:0}.draw-options{display:flex;align-items:center;gap:25px;padding:0 27px 19px}.draw-options label{display:flex;align-items:center;gap:10px;font-size:11px;color:#8b987e}.draw-options select{width:145px}.draw-options input{width:120px}.draw-paper{position:relative;background:#fffffb;border-top:1px solid #e1e7d5;border-bottom:1px solid #e1e7d5;aspect-ratio:1.5;background-image:radial-gradient(#bdc6ae80 .8px,transparent .8px);background-size:22px 22px}.draw-paper canvas{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.draw-placeholder{position:absolute;pointer-events:none;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#9eab8e;gap:13px}.draw-placeholder svg{width:30px;height:30px;stroke-width:1}.draw-placeholder strong{font-size:13px;font-weight:450}.draw-placeholder span{font-size:10px;line-height:1.7;text-align:center}.dialog-footer{padding:18px 25px;display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-footer>span{font-size:10px;color:#9ba78b;text-align:center;flex:1}.dialog-footer .primary-button{font-size:11px;padding:12px 15px;gap:15px}.help-dialog{width:min(630px,calc(100vw - 28px))}.help-steps{padding:5px 29px 15px;display:flex;flex-direction:column;gap:21px}.help-steps article{display:flex;gap:22px}.help-steps b{font-size:13px;font-weight:500;color:#a0b58b;padding-top:2px}.help-steps h3{font-size:15px;font-weight:550;margin:0 0 7px;letter-spacing:-.3px}.help-steps p{font-size:11px;line-height:1.8;color:#8d987f;margin:0}.help-note{margin:5px 29px 27px;padding-top:16px;border-top:1px solid #dfe6d4;font-size:10px;line-height:1.8;color:#9aa589}.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,18px);background:#26382feb;color:#f7f9f0;padding:14px 22px;border-radius:13px;box-shadow:0 8px 35px #132a2520;z-index:300;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:min(540px,calc(100vw - 28px));text-align:center;line-height:1.5;backdrop-filter:blur(12px)}.toast.visible{opacity:1;transform:translate(-50%,0)}
@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.workspace{grid-template-columns:70px minmax(0,1fr) 340px;gap:20px}.studio-view{padding:30px 42px 24px}.stage-top{left:35px;top:31px}.stage-top h2{font-size:29px}.inspector-scroll{padding:25px}.section-label{font-size:9px}.kind-grid button{font-size:10px;padding:13px 5px}.part-row{font-size:12px}.microcopy{font-size:10px}.material-choices button{font-size:10px}.presets-bar{padding-left:90px}}
@media(max-width:1150px){.app-header{padding:0 24px}.saved-status{display:none}.studio-view{padding:22px 20px 18px}.workspace{grid-template-columns:57px minmax(0,1fr) 270px;gap:11px;height:calc(100vh - 265px);min-height:540px}.tool-button{width:44px}.inspector-scroll{padding:17px 15px 10px}.stage-top{left:20px;right:18px;top:20px}.stage-top h2{font-size:20px}.stage-badge{display:none}.stage-kicker{font-size:7px}.presets-bar{padding-left:68px;gap:10px}.presets-caption{display:none}.preset{padding:8px 7px;gap:8px}.preset-avatar{width:31px;height:31px}.preset small{font-size:7px}.worlds-view{padding:35px 30px}.worlds-heading{gap:15px}.journey-facts{gap:13px}.journey-facts>div{padding-left:14px}.journey-facts strong{font-size:29px}.world-grid{gap:15px}.world-title-row h2{font-size:18px}.world-card-body{padding:17px}.worlds-heading h1{font-size:43px}}
@media(max-width:850px){.app-header{height:69px;padding:0 18px;gap:12px}.brand{min-width:140px;font-size:13px;gap:9px}.brand-mark{width:34px;height:37px;border-radius:12px 12px 14px 5px}.brand-mark svg{width:22px;height:22px}.top-nav{gap:0}.nav-item{font-size:12px;padding:0 12px}.nav-item.active:after{left:12px;right:12px}.header-right{gap:4px}.header-play{padding:11px 13px;gap:10px;font-size:11px}.help-button{width:34px}.studio-view{padding:20px 16px}.studio-heading h1{font-size:24px}.project-actions{gap:0}.quiet-button{font-size:10px;padding:9px}.workspace{grid-template-columns:53px minmax(0,1fr) 248px;min-height:560px;height:calc(100vh - 240px);gap:9px}.tool-rail{padding:9px 4px;border-radius:17px}.tool-button{width:42px;min-height:53px}.stage-shell{border-radius:19px}.inspector{border-radius:18px}.inspector-scroll{padding:15px 12px}.inspector-tabs{padding:5px 7px 0;gap:2px}.inspector-tabs button{font-size:11px;padding:13px 11px}.stage-top{left:15px;top:17px}.stage-top h2{font-size:17px;max-width:190px}.stage-top p{font-size:9px;max-width:170px;line-height:1.5}.stage-kicker{letter-spacing:1.1px}.animation-switch button{font-size:9px;padding:8px 9px}.stage-hint{font-size:8px;max-width:190px;line-height:1.6}.stage-bottom{bottom:15px;gap:8px}.material-choices{gap:6px}.material-choices button{font-size:8px}.presets-bar{padding-left:62px}.preset small{display:none}.preset strong{font-size:10px}.preset-avatar{width:27px;height:27px;font-size:17px}.worlds-view{padding:33px 24px}.worlds-heading{align-items:flex-start}.worlds-heading h1{font-size:36px;letter-spacing:-1.6px}.journey-facts{flex-direction:column;gap:13px;min-width:110px}.journey-facts>div{display:flex;align-items:center;gap:10px;padding-left:15px}.journey-facts strong{font-size:25px;min-width:45px}.journey-facts span{font-size:8px;max-width:80px;margin:0}.world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.worlds-footnote{align-items:flex-start;flex-wrap:wrap}.worlds-footnote p{flex:1}.worlds-footnote label{margin-top:10px}}
@media(max-width:620px){.app-header{height:63px;padding:0 15px}.brand{min-width:0;gap:8px;font-size:11px}.brand-mark{width:29px;height:32px;border-radius:10px 10px 12px 4px}.brand-mark svg{width:19px;height:19px}.top-nav{margin-left:auto}.nav-item{font-size:11px;padding:0 10px}.nav-count{font-size:8px;padding:1px 3px}.header-right{gap:1px}.header-play{font-size:0;gap:0;width:34px;height:34px;padding:8px;border-radius:10px}.header-play svg{width:18px;height:18px}.help-button{width:31px;height:34px}.help-button svg{width:18px;height:18px}.studio-view{padding:18px 12px 25px}.studio-heading{align-items:flex-start;padding-bottom:15px;gap:8px}.studio-heading h1{font-size:22px;letter-spacing:-.8px}.eyebrow{font-size:7px;letter-spacing:1.4px;margin-bottom:7px}.project-actions{gap:2px}.project-actions .quiet-button{font-size:0;padding:8px;width:31px;height:33px;gap:0}.project-actions .quiet-button svg{width:16px;height:16px}.export-button{border-radius:9px}.workspace{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;height:auto;min-height:0;max-height:none}.tool-rail{grid-column:1;grid-row:1;min-height:430px;gap:3px;padding:6px 3px;border-radius:15px}.tool-button{width:36px;min-height:52px;border-radius:11px;gap:4px}.tool-button svg{width:20px;height:20px}.tool-button span{font-size:7px}.rail-separator{width:23px;margin:3px 0}.rail-bottom{font-size:7px;gap:7px}.stage-shell{grid-column:2;grid-row:1;min-height:430px;border-radius:18px}.stage-top{left:16px;right:12px;top:18px}.stage-top h2{font-size:22px;margin-top:9px}.stage-top p{font-size:9px;max-width:220px}.stage-kicker{font-size:7px}.stage-bottom{bottom:16px}.animation-switch button{font-size:9px;padding:9px 10px}.stage-hint{max-width:none;font-size:7px}.inspector{grid-column:1/-1;grid-row:2;margin-top:3px;border-radius:18px;max-height:none}.inspector-tabs{padding:2px 13px 0}.inspector-tabs button{font-size:12px;padding:13px}.inspector-scroll{overflow:visible;display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:13px;padding:17px}.inspector-panel{grid-column:1;grid-row:1/3}.section-label{font-size:7px;letter-spacing:1px;margin-bottom:10px}.kind-grid{gap:5px}.kind-grid button{font-size:8px;padding:8px 2px;gap:5px;border-radius:8px}.kind-grid button svg{width:17px;height:17px}.part-list{max-height:118px;margin:10px 0 6px}.part-row{font-size:10px;padding:8px 5px;gap:6px}.part-row .part-color{width:13px;height:13px;border-radius:4px}.part-row .part-id{display:none}.add-part-button{font-size:9px;padding:10px 3px;gap:5px}.add-part-button svg{width:11px;height:11px}.microcopy{font-size:8px;margin-top:8px}.material-section{grid-column:2;grid-row:1;margin:0;padding:0;border:none}.material-caption{display:none}.material-choices{display:flex;flex-direction:column;gap:7px}.material-choices button{display:flex;flex-direction:row;justify-content:flex-start;gap:10px;font-size:9px;padding:9px}.mat-ball{width:22px;height:22px;flex-shrink:0}.transform-panel{grid-column:2;grid-row:2;margin-top:0;padding-top:12px;align-self:start}.transform-panel summary{font-size:8px;gap:3px;line-height:1.5}.transform-fields label{gap:4px;font-size:8px}.transform-fields output{width:27px;font-size:8px}.transform-fields .scale-field>span{width:34px;font-size:7px}.delete-part{font-size:8px;line-height:1.5}.inspector-footer{padding:11px 16px 15px;display:flex;align-items:center;gap:10px}.connection-button{font-size:9px;padding:5px;flex:1;gap:5px;text-align:left;line-height:1.5}.connection-button svg{width:15px;height:15px}.inspector-footer .primary-button{flex:1.3;font-size:11px;gap:9px;padding:12px 10px;min-height:43px;white-space:nowrap}.presets-bar{padding-left:0;margin-top:13px}.presets{gap:5px;grid-template-columns:repeat(4,1fr)}.preset{flex-direction:column;gap:6px;padding:9px 4px;border-radius:11px}.preset-avatar{width:28px;height:28px}.preset strong{font-size:9px}.swatches{gap:6px;grid-template-columns:repeat(4,1fr)}.color-row{font-size:8px;gap:6px;margin:14px 0}.color-row code{font-size:7px}.color-row input{width:23px;height:23px}.range-label{font-size:9px}.outlined-button{font-size:9px;padding:9px 5px}.physics-banner{left:10px;right:10px;bottom:92px;font-size:8px;padding:9px;gap:7px}.physics-banner svg{width:15px;height:15px}.worlds-view{padding:27px 18px 30px}.worlds-heading{display:block;margin-bottom:23px}.worlds-heading h1{font-size:38px;margin:13px 0 15px;letter-spacing:-1.8px}.worlds-intro{font-size:11px}.journey-facts{flex-direction:row;gap:15px;margin-top:25px;padding:0}.journey-facts>div{display:block;min-width:0;flex:1;padding-left:14px}.journey-facts strong{font-size:27px;min-width:0}.journey-facts span{font-size:8px;margin-top:4px;max-width:100px}.journey-facts strong small{font-size:10px}.world-grid{grid-template-columns:1fr;gap:20px}.world-picture{aspect-ratio:1.65}.world-title-row h2{font-size:24px}.world-card-body{padding:21px}.world-subtitle{font-size:11px;min-height:0}.territory-tags{min-height:0}.territory-tags span{font-size:9px;padding:5px 7px}.world-card button{font-size:12px;padding-top:17px}.worlds-footnote{margin-top:22px;gap:7px}.worlds-footnote p{font-size:8px}.worlds-footnote label{width:100%;text-align:right;font-size:10px}.desktop-only{display:none}.dialog-heading{padding:20px}.dialog-heading h2{font-size:21px}.draw-options{padding:0 20px 16px;gap:15px;flex-wrap:wrap}.draw-options label{font-size:10px;gap:7px}.draw-options select{width:130px;padding:8px}.draw-options input{width:100px}.draw-paper{aspect-ratio:1.05}.draw-placeholder strong{font-size:11px}.draw-placeholder span{font-size:9px}.dialog-footer{padding:15px;gap:10px;flex-wrap:wrap}.dialog-footer>span{order:3;flex-basis:100%;font-size:9px}.dialog-footer .primary-button{font-size:11px;gap:12px}.help-steps{padding:5px 21px 10px;gap:19px}.help-steps article{gap:17px}.help-steps h3{font-size:14px}.help-steps p{font-size:10px}.help-note{margin:8px 21px 23px;font-size:9px}.toast{font-size:11px;bottom:18px;padding:13px 17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.loader-orbit{animation-duration:2s}}
