@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-mono-400-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-mono-400-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-mono-500-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-mono-500-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:300 700;font-display:swap;src:url(../fonts/space-grotesk-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:300 700;font-display:swap;src:url(../fonts/space-grotesk-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*{box-sizing:border-box}html,body{background:var(--ground);height:100%;color:var(--text);font:14px/1.4 var(--sans);margin:0}button{font:inherit;color:inherit}h1,h2,p{margin:0}.mono{font-family:var(--mono)}.muted{color:var(--muted)}.app{--sidebar-width:280px;grid-template-rows:56px 1fr;grid-template-columns:var(--sidebar-width) minmax(0, 1fr) 320px;height:100vh;min-width:calc(960px + var(--sidebar-width));display:grid;position:relative}.sidebar-resize{top:56px;bottom:0;left:var(--sidebar-width);cursor:ew-resize;touch-action:none;width:12px;margin-left:-6px;position:absolute}.sidebar-resize:before{content:"";background:var(--highlight);opacity:0;width:2px;transition:opacity .15s;position:absolute;top:0;bottom:0;left:5px}.sidebar-resize:hover:before{opacity:.5}.sidebar-resize:focus-visible{outline:none}.sidebar-resize:focus-visible:before,.sidebar-resize.dragging:before{opacity:1}body:has(.sidebar-resize.dragging){cursor:ew-resize;-webkit-user-select:none;user-select:none}.slot-sidebar,.slot-params{min-height:0;display:flex}.slot-sidebar>*,.slot-params>*{flex:1}.btn{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--panel-raised);cursor:pointer;height:36px;padding:0 14px}.btn:hover:not(:disabled){border-color:var(--border-strong)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.accent{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);font-weight:600}.btn.accent:hover{filter:brightness(1.08)}.btn.icon{width:44px;height:44px;padding:0;font-size:13px}.btn.tall{height:44px}.btn.small{height:32px;padding:0 10px;font-size:13px}button:focus-visible{outline:2px solid var(--highlight);outline-offset:2px}.topbar{background:var(--panel);border-bottom:1px solid var(--border);grid-column:1/-1;align-items:center;gap:24px;padding:0 16px;display:flex}.brand{align-items:center;gap:10px;width:208px;font-size:15px;font-weight:700;display:flex}.brand-edition{white-space:nowrap;font-size:.75em;font-weight:100}.logo{border-radius:var(--radius-md);background:var(--logo);flex:none;width:22px;height:22px}.actions{flex:none;gap:8px;margin-left:auto;display:flex}.search{flex:200px;min-width:120px;max-width:420px;position:relative}.search .preset-search{width:100%;margin:0}.search-results{z-index:20;border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--panel);width:max(100%,320px);max-height:min(70vh,560px);box-shadow:0 16px 40px var(--shadow);flex-direction:column;gap:4px;padding:10px;display:flex;position:absolute;top:calc(100% + 6px);left:0;overflow-y:auto}.search-results[hidden]{display:none}.search-results .section-label{margin:8px 4px 4px}.search-results .section-label:first-child{margin-top:0}.search-results .preset-empty{margin:4px}.search-results .preset-result[aria-selected=true]{background:var(--panel-raised);border-color:var(--border-strong)}.search-results .preset-result.current{border-color:var(--highlight);border-style:solid}.search-chips{flex:none;gap:3px;display:flex}.search-chips .chip:not(:only-child){border-radius:3px;width:10px;height:10px}.segmented.personas{flex:none}.personas .seg{height:36px;font-family:var(--sans);align-items:center;gap:7px;padding:0 12px;font-size:13px;display:inline-flex}.personas .seg:hover:not([aria-pressed=true]){color:var(--text)}.personas .seg[aria-pressed=true]{background:var(--seg-main-on);color:var(--seg-main-on-ink);box-shadow:inset 0 -2px 0 var(--seg-main-on-line)}.sidebar{background:var(--panel);border-right:1px solid var(--border);flex-direction:column;padding:20px 14px 0;display:flex;overflow-y:auto}.sidebar>*{flex:none}.mode-switch{margin:0 2px 20px}.mode-switch .seg{height:36px;font-family:var(--sans);flex:1;justify-content:center;align-items:center;gap:7px;font-size:13px;display:inline-flex}.mode-switch .seg:hover:not([aria-pressed=true]){color:var(--text)}.library-foot{border-top:1px solid var(--border);background:var(--panel);margin:auto -14px 0;padding:12px 20px 14px;font-size:12.5px;position:sticky;bottom:0}.library-foot.compact{align-items:center;gap:14px;padding:6px 12px 6px 20px;display:flex}.library-foot.compact .link-btn{min-height:32px}.library-foot .link-btn.behind{color:var(--notice)}.library-toggle{border-radius:var(--radius-md);width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:15px}.library-toggle:hover{background:var(--panel-raised);color:var(--text)}.library-foot:not(.compact) .library-toggle{float:right;margin:-6px -12px 0 4px}.library-foot.compact .library-toggle{margin-left:auto;font-size:13px}.library-status{margin-top:2px}.library-status.behind{color:var(--notice)}.library-actions{flex-wrap:wrap;gap:0 14px;margin-top:6px;display:flex}.library-actions .link-btn{min-height:24px}.section-label{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 6px 10px;font-size:11px;font-weight:600}.category-list{flex-direction:column;gap:4px;margin-bottom:24px;display:flex}.particle-group{margin-top:4px}.category-list.particle-list{margin-bottom:12px}.category{border-radius:var(--radius-lg);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;align-items:center;gap:10px;min-height:44px;padding:0 10px;display:flex}.category:hover:not(:disabled){background:var(--panel-raised)}.category[aria-pressed=true]{background:var(--panel-raised);border-color:var(--border)}.category .name{flex:1}.category .count{color:var(--muted);font-size:11.5px}.category .pack-tag{text-overflow:ellipsis;white-space:nowrap;max-width:45%;overflow:hidden}.category.locked .name,.category.locked .chip{opacity:.55}.category .lock{vertical-align:-1px;margin-right:4px}.category .new-tag{border:1px solid var(--accent);color:var(--accent);letter-spacing:.04em;vertical-align:1px;border-radius:999px;margin-left:7px;padding:1px 6px;font-size:10px;font-weight:600;display:inline-block}.category.planned{border:1px dashed var(--border);min-height:36px;color:var(--muted);cursor:not-allowed;font-size:13px}.chip{border-radius:4px;flex:none;width:12px;height:12px;display:inline-block}.btn.with-icon{align-items:center;gap:8px;display:inline-flex}.btn .icon{flex:none}.layers-badge{border:1px solid var(--accent);color:var(--accent);vertical-align:middle;border-radius:999px;margin-left:10px;padding:3px 8px;font-size:11px;font-weight:500;display:inline-block}.layers-label{justify-content:space-between;display:flex}.layer-count{letter-spacing:0;text-transform:none;font-weight:400}.layer-list{flex-direction:column;gap:4px;margin-bottom:24px;display:flex}.layer-row{border-radius:var(--radius-lg);border:1px solid #0000;align-items:center;gap:2px;min-height:44px;padding-left:2px;display:flex}.layer-row:has(.layer-select[aria-pressed=true]){background:var(--panel-raised);border-color:var(--border)}.layer-row.dragging{opacity:.4}.layer-row.drop-before{box-shadow:inset 0 2px 0 var(--highlight)}.layer-row.drop-after{box-shadow:inset 0 -2px 0 var(--highlight)}.layer-ghost{z-index:50;pointer-events:none;background:var(--panel-raised);border-color:var(--highlight);margin:0;position:fixed;box-shadow:0 8px 24px #00000059}.layer-row.arriving{visibility:hidden}@keyframes layer-landed{0%{box-shadow:0 0 0 2px var(--highlight)}to{box-shadow:0 0 0 2px #0000}}.layer-row.landed{animation:.9s ease-out layer-landed}.drag-handle{width:14px;color:var(--muted);letter-spacing:-2px;cursor:grab;-webkit-user-select:none;user-select:none;font-size:12px}.layer-eye,.layer-remove,.layer-duplicate{border-radius:var(--radius-md);width:30px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;display:grid}.layer-remove{font-size:16px}.layer-eye:hover,.layer-remove:hover,.layer-duplicate:hover:not(:disabled){background:var(--ground);color:var(--text)}.layer-duplicate{opacity:0;width:26px}.layer-row:hover .layer-duplicate,.layer-row:focus-within .layer-duplicate{opacity:1}.layer-row:has(.layer-select[aria-pressed=true]) .layer-duplicate{opacity:1}.layer-duplicate:disabled{cursor:default;opacity:.3}.layer-select{text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:10px;min-width:0;min-height:40px;padding:0 6px;display:flex}.layer-row.off .layer-select,.layer-row.covered .layer-select{opacity:.45}.layer-select .name{flex:1}.layer-row.covered .name{font-style:italic}.add-mark{width:12px;color:var(--muted);font-family:var(--mono)}.scene-list{flex-direction:column;gap:4px;margin-bottom:24px;display:flex}.scene-group{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 8px 4px;font-size:11px;font-weight:600}.scene-row{border-radius:var(--radius-lg);border:1px solid #0000;align-items:center;gap:4px;padding-left:8px;display:flex}.scene-row:has(.scene-select[aria-pressed=true]){background:var(--panel-raised);border-color:var(--border)}.scene-play{border:1px solid var(--border);width:22px;height:22px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.scene-play svg{fill:currentColor;width:10px;height:10px;margin-left:1px}.scene-play:hover{border-color:var(--highlight);color:var(--text)}.scene-play[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.scene-select{border-radius:var(--radius-lg);text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:flex-start;gap:5px;min-width:0;min-height:44px;padding:6px 8px;display:flex}.scene-select:hover{background:var(--panel-raised)}.scene-chips{gap:3px;display:flex}.scene-chips .chip{border-radius:3px;width:10px;height:10px}.scene-title{color:var(--text);overflow-wrap:anywhere;margin:14px 0 0;font-size:15px;font-weight:600}.scene-title+.param-group{margin-top:6px}.scene-layers{flex-direction:column;gap:8px;margin:4px 0 16px;padding:0;list-style:none;display:flex}.scene-layers li{align-items:center;gap:10px;display:flex}.scene-layers li.off{opacity:.45;font-style:italic}.playlist-order summary{cursor:pointer;align-items:baseline;gap:8px;list-style:none;display:flex}.playlist-order summary::-webkit-details-marker{display:none}.playlist-order summary:before{content:"▸";color:var(--muted);width:10px;font-size:11px}.playlist-order[open] summary:before{content:"▾"}.playlist-order summary .param-group{margin-bottom:0}.playlist-order summary .count{color:var(--muted);font-size:12px}.playlist-order .preset-empty{margin:8px 0 4px}.playlist-list{flex-direction:column;gap:2px;margin:8px 0 4px;padding:0;list-style:none;display:flex}.playlist-row{border-radius:var(--radius-lg);border:1px solid #0000;align-items:center;gap:4px;padding-left:2px;display:flex}.playlist-row:has(.playlist-select[aria-pressed=true]){background:var(--panel-raised);border-color:var(--border)}.playlist-row.dragging{opacity:.4}.playlist-row.drop-before{box-shadow:inset 0 2px 0 var(--highlight)}.playlist-row.drop-after{box-shadow:inset 0 -2px 0 var(--highlight)}.playlist-number{text-align:right;width:16px;color:var(--muted);font-size:12px}.playlist-select{border-radius:var(--radius-lg);min-width:0;min-height:40px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:flex-start;gap:4px;padding:5px 8px;display:flex}.playlist-select:hover{background:var(--panel-raised)}.playlist-select .name{overflow-wrap:anywhere}.playlist-remove{border-radius:var(--radius-md);width:30px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;font-size:16px;display:grid}.playlist-remove:hover{background:var(--ground);color:var(--text)}.scene-actions{flex-wrap:wrap;gap:8px;display:flex}.gallery-sidebar [hidden],.playlist-order [hidden]{display:none!important}.segmented.gallery-tabs{z-index:2;background:var(--panel);border:0;border-radius:0;margin:-20px -14px 14px;padding:12px 14px 10px;position:sticky;top:-20px;overflow:visible}.gallery-tabs .seg{font-family:var(--sans);border:1px solid var(--border);flex:1;font-size:13px}.gallery-tabs .seg:first-child{border-radius:var(--radius-control) 0 0 var(--radius-control)}.gallery-tabs .seg:last-child{border-radius:0 var(--radius-control) var(--radius-control) 0;border-left:0}.scene-tools{flex-direction:column;gap:8px;margin:0 2px 14px;display:flex}.scene-filter{height:34px;font-size:13px}.scene-tools-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.scene-strays{color:var(--muted);cursor:pointer;align-items:center;gap:6px;font-size:12.5px;display:flex}.scene-strays input{accent-color:var(--highlight);margin:0}.scene-pick{gap:6px;display:flex}.box-card .box-slides{margin:6px}.box-cards{margin-bottom:16px}select.text-input.scene-sort{flex:none;width:auto;height:30px;padding:0 26px 0 8px;font-size:12.5px}.scene-picked{z-index:1;border:1px solid var(--highlight);border-radius:var(--radius-lg);background:var(--panel-raised);align-items:center;gap:6px;margin:0 0 12px;padding:6px 8px;display:flex;position:sticky;top:36px}.scene-picked .count{flex:1;font-size:12.5px;font-weight:600}.scene-picked{flex-wrap:wrap}.scene-picked .picked-actions{flex-basis:100%;gap:6px;display:flex}.scene-picked .picked-actions .btn{white-space:nowrap}.scene-row.picked{background:color-mix(in srgb, var(--highlight) 16%, transparent);border-color:var(--highlight)}.scene-row.dragging{opacity:.4}.scene-add{border-radius:var(--radius-md);width:28px;height:32px;color:var(--muted);cursor:pointer;opacity:.55;background:0 0;border:0;flex:none;place-items:center;padding:0;font-size:17px;display:grid}.scene-row:hover .scene-add,.scene-add:focus-visible,.scene-add[aria-expanded=true]{opacity:1}.scene-add:hover{background:var(--ground);color:var(--text)}@media (hover:none){.scene-add{opacity:1}}.playlist-cards{flex-direction:column;gap:6px;margin-bottom:24px;display:flex}.playlist-card{border:1px solid var(--border);border-radius:var(--radius-lg)}.playlist-card.dragging{opacity:.4}.playlist-card.drop-before{box-shadow:0 -2px 0 var(--highlight)}.playlist-card.drop-after{box-shadow:0 2px 0 var(--highlight)}.playlist-head{border-radius:var(--radius-lg);align-items:center;gap:4px;padding:2px 4px 2px 6px;display:flex}.playlist-card .playlist-head{background:var(--border-strong);border-radius:calc(var(--radius-lg) - 1px)}.playlist-card:has(>.playlist-head .playlist-fold[aria-expanded=true]) .playlist-head{border-radius:calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0}.playlist-card .playlist-head .playlist-fold:hover,.playlist-card .playlist-head .playlist-more:hover{background:color-mix(in srgb, var(--text) 10%, transparent)}.playlist-card .playlist-head .playlist-fold:before,.playlist-card .playlist-head .count,.playlist-card .playlist-head .drag-handle{color:var(--text-soft)}.playlist-head.drop-into,.playlist-list.drop-into,.playlist-empty.drop-into{outline:2px dashed var(--highlight);outline-offset:-2px}.playlist-fold{border-radius:var(--radius-md);min-width:0;min-height:40px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:8px;padding:0 6px;font-weight:600;display:flex}.playlist-fold:before{content:"▸";color:var(--muted);width:14px;font-size:17px}.playlist-fold[aria-expanded=true]:before{content:"▾"}.playlist-fold:hover{background:var(--panel-raised)}.playlist-fold .name{overflow-wrap:anywhere;flex:1}.playlist-fold .count{color:var(--muted);font-size:12px;font-weight:400}.playlist-more{border-radius:var(--radius-md);width:30px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;font-size:16px;display:grid}.playlist-more:hover{background:var(--ground);color:var(--text)}.playlist-card .playlist-list,.playlist-card .playlist-empty{margin:6px}.playlist-empty{border-radius:var(--radius-lg);padding:10px;font-size:12.5px}.playlist-heading{align-items:center;gap:10px;display:flex}.playlist-heading .param-group{flex:none;margin-bottom:0}.playlist-picker{flex:1;min-width:0;height:32px;font-size:13px}.playlist-name{overflow-wrap:anywhere;font-weight:600}.playlist-order{margin-top:4px}.menu{z-index:45;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--panel-raised);min-width:180px;max-width:280px;max-height:60vh;box-shadow:0 8px 24px var(--shadow);padding:4px;position:fixed;overflow-y:auto}.menu-item{border-radius:var(--radius-md);width:100%;min-height:34px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 10px;font-size:13px;display:flex}.menu-item:hover:not(:disabled),.menu-item:focus-visible{background:var(--ground);outline:none}.menu-item:disabled{opacity:.45;cursor:not-allowed}.menu-tick{width:14px;color:var(--highlight);visibility:hidden}.menu-item[aria-checked=true] .menu-tick{visibility:visible}.scene-warn{color:var(--notice)}.playlist-status{font-variant-numeric:tabular-nums;padding:4px 0 8px;font-size:12.5px}.canvas-wrap.ambient:fullscreen .badges{display:none}.canvas-wrap.ambient.idle:fullscreen{cursor:none}.preset-search{width:calc(100% - 4px);height:36px;padding:0 var(--control-inset);border:1px solid var(--border);border-radius:var(--radius-control);background:var(--ground);color:var(--text);font:inherit;margin:0 2px 10px;font-size:13px}.preset-search:focus{border-color:var(--highlight);outline:none}.preset-result{border:1px solid var(--border);border-radius:var(--radius-lg);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:10px;min-height:40px;padding:4px 10px;display:flex}.preset-result.saved{border-style:dashed}.preset-result:hover{background:var(--panel-raised)}.preset-result[aria-pressed=true]{border-color:var(--highlight);border-style:solid}.preset-result .text{flex-direction:column;min-width:0;display:flex}.preset-result .preset-name{font-size:13px}.preset-result .shader-name{color:var(--muted);font-size:11.5px}.preset-empty{margin:0 6px 24px;font-size:13px}.preset-toggle{color:var(--muted);align-items:center;gap:6px;display:inline-flex}.preset-toggle .chevron{transition:transform .16s}[aria-expanded=false] .preset-toggle .chevron{transform:rotate(-90deg)}.preset-panel{grid-template-rows:0fr;transition:grid-template-rows .18s;display:grid}.preset-panel.open{grid-template-rows:1fr}.preset-panel-inner{visibility:hidden;border-left:2px solid color-mix(in srgb, var(--swatch) 55%, transparent);min-height:0;margin-left:15px;padding-left:12px;transition:visibility 0s .18s;overflow:hidden}.preset-panel.open .preset-panel-inner{visibility:visible;transition:none}.preset-panel-inner>:first-child{margin-top:6px}.preset-panel .preset-list{margin:0 0 10px}@media (prefers-reduced-motion:reduce){.preset-panel,.preset-toggle .chevron{transition:none}}.preset-list{flex-wrap:wrap;gap:6px;margin:0 2px 24px;display:flex}.preset{border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:999px;min-height:36px;padding:0 12px;font-size:13px}.preset:hover{background:var(--panel-raised)}.preset[aria-pressed=true]{border-color:var(--highlight);color:var(--highlight-text)}.preset.saved{cursor:default;border-style:dashed;align-items:stretch;padding:0;display:inline-flex}.preset.saved:hover{background:0 0}.preset.saved[aria-pressed=true]{border-style:solid}.preset-apply,.preset-delete{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0}.preset-apply{border-radius:999px 0 0 999px;padding:0 4px 0 12px}.preset-delete{width:30px;color:var(--muted);border-radius:0 999px 999px 0;font-size:16px}.preset-apply:hover,.preset-delete:hover{background:var(--panel-raised);color:var(--text)}.preset-io{flex-wrap:wrap;gap:8px 14px;margin:-14px 6px 24px;display:flex}.layers-section{border-bottom:1px solid var(--border);margin-bottom:20px;padding-bottom:0}.layers-section .preset-io{margin-top:4px}.layers-section .stack-actions-label{margin:-8px 6px 0}.layers-section .stack-actions{grid-template-columns:repeat(2,max-content);justify-items:stretch;gap:8px;margin-top:8px;display:grid}.link-btn{min-height:32px;color:var(--muted);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font-size:12.5px;text-decoration:underline}.link-btn:hover:not(:disabled){color:var(--text)}.link-btn:disabled{opacity:.45;cursor:not-allowed}.dialog{border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--panel);width:380px;color:var(--text);padding:22px}.dialog::backdrop{background:var(--overlay)}.dialog.wide{width:520px}.export-field{margin-top:14px}.export-field .field-label{font-weight:500}.video-fields{margin-top:6px}.video-fields .param:last-of-type{border-bottom:0}.export-summary{color:var(--muted);margin-top:8px;font-size:12.5px}.export-progress{width:100%;height:10px;accent-color:var(--highlight);margin:16px 0 8px}.dialog.wide{max-height:calc(100vh - 40px);overflow-y:auto}.export-notes{flex-direction:column;gap:4px;margin:10px 0 0;padding-left:18px;font-size:12.5px;line-height:1.5;display:flex}.dialog h2{margin-bottom:4px;font-size:16px;font-weight:600}.dialog form>p.muted{margin-bottom:16px;font-size:13px}.dialog label{margin-bottom:6px;font-weight:500;display:block}.text-input{width:100%;height:40px;padding:0 var(--control-inset);border:1px solid var(--border);border-radius:var(--radius-control);background:var(--ground);color:var(--text);font:inherit}.text-input:focus{outline:2px solid var(--highlight);outline-offset:1px}select.text-input{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);cursor:pointer;background-position:calc(100% - 15px) 55%,calc(100% - 10px) 55%;background-repeat:no-repeat;background-size:5px 5px;padding-right:28px}.dialog-hint{min-height:20px;margin-top:6px;font-size:12.5px}.theme-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px;display:grid}.theme-option{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--ground);min-height:44px;color:var(--muted);text-align:left;cursor:pointer;align-items:center;gap:8px;padding:0 10px;font-size:13px;display:flex}.theme-option:hover{color:var(--text)}.theme-option[aria-pressed=true]{background:var(--panel-raised);border-color:var(--highlight);color:var(--text)}.theme-option .name{flex:1;min-width:0}.theme-swatch{border:1px solid var(--border-strong);border-radius:4px;flex:none;width:36px;height:20px;display:flex;overflow:hidden}.theme-swatch span{flex:1}.theme-swatch span:first-child{background:var(--ground)}.theme-swatch span:nth-child(2){background:var(--panel)}.theme-swatch span:nth-child(3){background:var(--accent)}.theme-check{color:var(--highlight-text);visibility:hidden;flex:none;font-weight:600}.theme-option[aria-pressed=true] .theme-check{visibility:visible}.settings-packs{gap:6px;margin:6px 0 8px;padding:0;list-style:none;display:grid}.settings-packs li{align-items:center;gap:10px;display:flex}.settings-packs .name{flex:none;font-weight:600}.settings-packs .muted{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12.5px;overflow:hidden}.error-text{color:var(--danger)}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.dialog-actions .btn{height:40px}.dialog:has(.choice-actions){width:min(520px,100vw - 32px)}.choice-actions{flex-wrap:wrap}.choice-actions .btn:first-child{margin-right:auto}.btn.accent:disabled{filter:none}.toast{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--panel-raised);color:var(--text);opacity:0;pointer-events:none;padding:10px 16px;font-size:13px;transition:opacity .16s,transform .16s;position:fixed;bottom:24px;left:50%;transform:translate(-50%,12px)}.toast.visible{opacity:1;transform:translate(-50%)}.center{flex-direction:column;gap:16px;padding:20px 24px 24px;display:flex;overflow-y:auto}.center-header{justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.scene-tabs{border-bottom:1px solid var(--border);scrollbar-width:none;align-items:flex-end;gap:2px;margin-bottom:12px;display:flex;overflow-x:auto}.scene-tab{border:1px solid var(--border);background:var(--panel);border-bottom:0;border-radius:8px 8px 0 0;flex:0 auto;align-items:center;min-width:0;max-width:200px;display:flex}.scene-tab.active{background:var(--panel-raised);box-shadow:inset 0 2px 0 var(--accent)}.scene-tab.dragging{opacity:.5}.scene-tab.drop-target{border-color:var(--border-strong)}.scene-tab-name{min-width:0;color:var(--muted);font:inherit;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;background:0 0;border:0;padding:7px 4px 7px 12px;font-size:13px;overflow:hidden}.scene-tab.active .scene-tab-name,.scene-tab-name:hover{color:var(--text)}.scene-tab-close,.scene-tab-new{width:24px;height:24px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;margin-right:4px;font-size:15px;display:grid}.scene-tab-new{margin:0 0 4px 4px;font-size:18px}.scene-tab-close:hover,.scene-tab-new:hover:not(:disabled){background:var(--ground);color:var(--text)}.scene-tab-new:disabled{opacity:.4;cursor:default}.center-header h1{font-size:20px;font-weight:600}.center-header>div:first-child{flex:1;min-width:0}.center-header h1{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.center-header p{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;height:2.8em;margin-top:2px;line-height:1.4;display:-webkit-box;overflow:hidden}.toolbar{flex:none;align-items:center;gap:8px;display:flex}.sky-bar{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px 18px;margin-top:10px;font-size:13px;display:flex}.sky-bar label{align-items:center;gap:8px;display:inline-flex}.sky-bar input[type=range]{width:110px}.sky-bar output{min-width:2.5em;color:var(--text)}.sky-bar .seg{min-width:0;height:32px;padding:0 12px}.sky-bar input[type=color]{border:1px solid var(--border);background:0 0;border-radius:4px;width:28px;height:24px;padding:0}.sky-bar input[type=color]:disabled{opacity:.4}.sky-bar .btn{height:32px}.transport{justify-content:center;gap:8px;margin-top:-6px;display:flex}.transport .btn.icon{justify-content:center;align-items:center;width:40px;height:36px;display:inline-flex}.transport .btn.icon.play{width:52px}.transport svg{fill:currentColor;width:12px;height:12px}.segmented{border:1px solid var(--border);border-radius:var(--radius-control);display:flex;overflow:hidden}.seg{background:var(--panel);min-width:56px;height:44px;font-family:var(--mono);cursor:pointer;color:var(--muted);border:0;font-size:12.5px}.seg+.seg{border-left:1px solid var(--border)}.seg[aria-pressed=true]{background:var(--seg-on);color:var(--seg-on-ink);box-shadow:inset 0 -2px 0 var(--seg-on-line)}.stage{background:var(--stage);border:1px solid var(--border);border-radius:var(--radius-xl);flex:none;justify-content:center;align-items:center;height:468px;display:flex;position:relative;overflow:hidden}.stage-resize{cursor:ns-resize;touch-action:none;height:12px;position:absolute;bottom:0;left:0;right:0}.stage-resize:before{content:"";background:var(--muted);opacity:0;border-radius:2px;width:48px;height:4px;margin-left:-24px;transition:opacity .15s;position:absolute;bottom:4px;left:50%}.stage:hover .stage-resize:before{opacity:.6}.stage-resize:focus-visible{outline:none}.stage-resize:focus-visible:before,.stage-resize.dragging:before{opacity:1;background:var(--highlight)}.canvas-wrap{line-height:0;position:relative}.canvas-wrap canvas{background:#000;display:block}.canvas-wrap:fullscreen{background:#000}.seg.fullscreen{font-size:18px}.seg:disabled{cursor:not-allowed;opacity:.5}.badges{pointer-events:none;justify-content:space-between;display:flex;position:absolute;inset:10px 10px auto}.canvas-wrap.no-badges .badges{display:none}.interact-hint{white-space:nowrap;pointer-events:none;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.canvas-wrap.no-badges .interact-hint,.interact-hint[hidden]{display:none}.canvas-wrap.interactive canvas{cursor:crosshair;touch-action:none}.canvas-wrap.sky canvas{cursor:grab;touch-action:none}.canvas-wrap.sky.sky-dragging canvas{cursor:grabbing}.canvas-wrap.emitter canvas{cursor:move;touch-action:none}.btn[aria-disabled=true]{opacity:.45}.badge{border-radius:var(--radius-md);background:var(--scrim);color:var(--muted);padding:6px 8px;font-size:11.5px;line-height:1}.badge.live{color:var(--success)}.error{color:var(--danger);padding:24px}.app-version{color:var(--muted);opacity:.8;justify-content:center;gap:14px;margin-top:auto;padding-top:4px;font-size:11.5px;display:flex}.app-version .link{font:inherit;color:inherit;cursor:pointer;text-underline-offset:2px;background:0 0;border:0;padding:0;text-decoration:underline}.app-version .link:hover{color:var(--text)}.dialog.plans{width:720px;max-width:calc(100vw - 32px)}.plan-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:8px;display:grid}.plan{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--panel-raised);padding:14px}.plan h3{font-size:14px;font-weight:600}.plan-price{margin:4px 0;font-size:22px;font-weight:600}.plan-price .muted{font-size:12.5px;font-weight:400}.plan>.muted{margin-bottom:10px;font-size:12.5px}.plan ul{gap:6px;margin:0;padding:0;font-size:12.5px;list-style:none;display:grid}.plan li{padding-left:14px;position:relative}.plan li:before{content:"";background:var(--accent);border-radius:50%;width:6px;height:6px;position:absolute;top:7px;left:0}.dialog-actions a.btn{color:var(--text);align-items:center;text-decoration:none;display:inline-flex}.dialog-actions a.btn:first-child{margin-right:auto}.topbar a.btn{color:var(--text);align-items:center;text-decoration:none;display:inline-flex}.topbar a.btn.accent{color:var(--accent-ink)}@media (width<=720px){.plan-grid{grid-template-columns:1fr}}.code-panel{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-xl);overflow:hidden}.tabs{border-bottom:1px solid var(--border);align-items:stretch;padding:0 8px;display:flex}.tab{height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 14px}.tab[aria-selected=true]{color:var(--text);box-shadow:inset 0 -2px 0 var(--accent)}.target-label{align-self:center;margin-left:auto;padding-right:8px;font-size:12px}.tab-body{padding:14px 16px}.code{max-height:280px;font:12.5px/1.6 var(--mono);color:var(--text-soft);white-space:pre;margin:0;overflow:auto}.note{margin-bottom:10px;font-size:12.5px}.export-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.target-card{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--panel-raised);flex-direction:column;display:flex;overflow:hidden}.target-card[data-selected=true]{border-color:var(--highlight)}.target-card[data-unsupported=true]{opacity:.6}.target-card[data-unsupported=true] .target-select{cursor:not-allowed}.target-select{text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;align-items:flex-start;gap:8px;padding:14px;display:flex}.godot-mode{grid-template-columns:1fr 1fr;gap:6px;padding:0 14px 14px;display:grid}.godot-mode .opt{min-height:32px}.asset-name{align-items:center;gap:8px;padding:0 14px 14px;font-size:12.5px;display:flex}.asset-name .text-input{min-width:0;height:32px;font-size:12.5px}.name-field{flex:1;min-width:0;display:flex;position:relative}.name-field .text-input{padding-right:34px}.name-apply{border-radius:calc(var(--radius-control) - 2px);width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0;font-size:13px;line-height:1;position:absolute;top:3px;right:3px}.name-apply:hover{color:var(--text)}.name-apply.lit{background:var(--accent);color:var(--accent-ink);font-weight:600}.name-apply.lit:hover{filter:brightness(1.08)}@keyframes name-apply-pulse{50%{transform:scale(1.25)}}@media (prefers-reduced-motion:no-preference){.name-apply.lit{animation:.3s ease-out name-apply-pulse}.files .renamed{transform-origin:0;animation:.3s ease-out name-apply-pulse}.btn.download.renamed{animation:.3s ease-out .9s 2 name-apply-pulse}.step-hint.pulse{animation:.5s ease-out 3 name-apply-pulse}}.asset-persistent{cursor:pointer;align-items:center;gap:8px;margin-top:-4px;padding:0 14px 14px;font-size:12.5px;display:flex}.asset-persistent input{accent-color:var(--highlight);width:16px;height:16px;margin:0}.export-stack{margin-bottom:14px}.export-stack .asset-name{flex:1;max-width:360px;padding:0 0 10px}.stack-name-row{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.step-hint{color:var(--accent);transform-origin:0;margin:0;font-size:12.5px;font-weight:600;display:inline-block}.stack-name-row .step-hint{padding-bottom:10px}p.step-hint{margin:4px 0 8px;display:block}.step-hint.step-hidden{visibility:hidden}.download-step{flex-direction:column;align-items:center;gap:6px;display:flex}.download-step .step-hint{transform-origin:50%}.export-stack .asset-name>span{flex:none}.export-stack .asset-name>.name-field{flex:1}.export-stack .note{margin-bottom:6px}.export-layers{flex-wrap:wrap;gap:6px 18px;margin:0;padding:0;font-size:13px;list-style:none;display:flex}.export-layers li{align-items:center;gap:8px;display:flex}.export-layers li .muted{font-size:12px}.export-layers li.off{opacity:.5;text-decoration:line-through}.export-actions{justify-content:space-between;align-items:center;gap:16px;margin-top:14px;display:flex}.export-actions .note{margin:0}.export-elsewhere{margin:14px 0 0}.export-elsewhere .link-btn{min-height:0;padding:0}.target-name{font-weight:600}.files{color:var(--muted);flex-direction:column;gap:2px;min-width:0;font-size:11.5px;display:flex}.files span{overflow-wrap:anywhere}.params{background:var(--panel);border-left:1px solid var(--border);flex-direction:column;min-height:0;display:flex}.params-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.params-header h2{font-size:14px;font-weight:600}.params-actions{gap:8px;display:flex}.btn.square{justify-content:center;align-items:center;width:32px;padding:0;display:inline-flex}.btn.unsaved{border-color:var(--notice);color:var(--notice)}.category.unsaved .name:after,.layer-row.unsaved .name:after{content:"";background:var(--notice);vertical-align:middle;border-radius:50%;width:6px;height:6px;margin-left:7px;display:inline-block}.params-body{flex:1;padding:8px 16px;overflow-y:auto}.params-empty{margin:12px 0;font-size:13px}.params-footer{border-top:1px solid var(--border);color:var(--muted);padding:12px 16px;font-size:12px}.params-body{padding:4px 16px 12px}.param{border-bottom:1px solid var(--border);padding:12px 0}.param-group{letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin:18px 0 2px;font-size:11px;font-weight:600}.param-group:first-child{margin-top:10px}.param:last-child{border-bottom:0}.param[data-param=shape]:has(+.param[data-param=seeShape]){border-bottom:0;padding-bottom:4px}.param[data-param=seeShape]{padding-top:4px}.param-warning{border-left:2px solid var(--notice);border-radius:0 var(--radius-md) var(--radius-md) 0;background:var(--panel-raised);margin:10px 0 0;padding:8px 10px;font-size:12.5px;line-height:1.45}.tab-set{margin-top:10px}.segmented.tabs{z-index:1;background:var(--panel);border-radius:var(--radius-lg);flex-wrap:wrap;position:sticky;top:0}.segmented.tabs .seg{flex:1 0 25%;height:36px}.seg[aria-selected=true]{background:var(--seg-on);color:var(--seg-on-ink);box-shadow:inset 0 -2px 0 var(--seg-on-line)}.tab-panel .param:last-child{border-bottom:0}.tab-panel .param{scroll-margin-top:48px}.param-head{justify-content:space-between;align-items:center;gap:12px;min-height:32px;display:flex}.param-head label,.param-head>span:first-child{font-weight:500}.num-wrap,.color-wrap{align-items:center;gap:6px;display:flex}.num,.hex,.glyphs{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--ground);height:32px;color:var(--text);text-align:right;padding:0 8px;font-size:12.5px}.num{-moz-appearance:textfield;width:72px}.num::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.num::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.hex{text-align:left;width:88px}.num:focus,.hex:focus,.glyphs:focus{outline:2px solid var(--highlight);outline-offset:1px}.glyphs{text-align:left;letter-spacing:.15em;white-space:pre;width:100%;font-size:15px}.param-hint{margin:6px 0 0;font-size:12px}.unit{color:var(--muted);min-width:18px;font-size:12px}input[type=range]{appearance:none;cursor:pointer;background:0 0;width:100%;height:28px;margin:4px 0 0;display:block}input[type=range]::-webkit-slider-runnable-track{background:var(--border);border-radius:2px;height:4px}input[type=range]::-moz-range-track{background:var(--border);border-radius:2px;height:4px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--highlight);border:2px solid var(--panel);border-radius:50%;width:16px;height:16px;margin-top:-6px}input[type=range]::-moz-range-thumb{background:var(--highlight);border:2px solid var(--panel);border-radius:50%;width:14px;height:14px}input[type=range]:focus-visible{outline:2px solid var(--highlight);outline-offset:2px;border-radius:var(--radius-sm)}.picker{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--ground);cursor:pointer;width:36px;height:32px;padding:2px}.picker::-webkit-color-swatch-wrapper{padding:0}.picker::-webkit-color-swatch{border-radius:var(--radius-sm);border:0}.picker::-moz-color-swatch{border-radius:var(--radius-sm);border:0}.switch{border:1px solid var(--border);background:var(--ground);cursor:pointer;border-radius:999px;flex:none;width:48px;height:28px;transition:background .12s;position:relative}.switch .knob{background:var(--muted);border-radius:50%;width:20px;height:20px;transition:transform .12s,background .12s;position:absolute;top:3px;left:3px}.switch[aria-checked=true]{background:var(--highlight);border-color:var(--highlight)}.switch[aria-checked=true] .knob{background:var(--highlight-ink);transform:translate(20px)}.options{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px;display:grid}.opt{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--ground);min-height:36px;color:var(--muted);cursor:pointer;font-size:13px}.opt:hover{color:var(--text)}.opt[aria-pressed=true]{background:var(--panel-raised);border-color:var(--highlight);color:var(--text)}.btn[aria-pressed=true]{border-color:var(--highlight);color:var(--highlight-text)}.compare-overlay{display:none}.stage.comparing .compare-overlay{display:block}.stage.comparing canvas{cursor:pointer}.split-divider{cursor:ew-resize;touch-action:none;width:24px;margin-left:-12px;position:absolute;top:0;bottom:0}.split-divider:before{content:"";background:var(--stage-line);width:2px;box-shadow:0 0 0 1px var(--stage-line-edge);position:absolute;top:0;bottom:0;left:11px}.split-handle{border-radius:var(--radius-md);background:var(--text);width:20px;height:36px;box-shadow:0 1px 4px var(--shadow);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.split-handle:before{content:"";border-left:2px solid var(--ground);border-right:2px solid var(--ground);position:absolute;inset:10px 7px}.split-divider:focus-visible{outline:none}.split-divider:focus-visible .split-handle,.split-divider.dragging .split-handle{background:var(--highlight)}.side-label{border-radius:var(--radius-md);background:var(--scrim);min-width:44px;height:32px;color:var(--muted);cursor:pointer;border:1px solid #0000;font-size:13px;line-height:1;position:absolute;bottom:10px}.side-label:first-of-type{left:10px}.side-label:last-of-type{right:10px}.side-label[aria-pressed=true]{border-color:var(--highlight-text);color:var(--highlight-text)}.compare-bar{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:10px 16px;font-size:13px;display:flex}.compare-bar .btn{margin-left:auto}.segmented.small .seg{min-width:44px;height:32px}.shader-tabs{margin:0 2px 10px}.shader-tabs .seg{flex:auto;min-width:0;padding:0 4px;font-size:11.5px}.texture-row{align-items:center;gap:10px;margin-top:8px;display:flex}.texture-row .options{flex:1;margin-top:0}.texture-thumb{border:1px solid var(--border);border-radius:var(--radius-md);width:56px;height:56px;image-rendering:pixelated;object-fit:contain;background:repeating-conic-gradient(var(--border) 0 25%, var(--panel-raised) 0 50%) 0 0 / 12px 12px;flex:none}.dialog label.dialog-check{cursor:pointer;align-items:center;gap:8px;margin:4px 0 0;font-size:13px;font-weight:400;display:flex}.dialog-check input{accent-color:var(--highlight);width:16px;height:16px;margin:0}.settings-button{flex:none;margin-left:-12px}.help-button{flex:none;margin-left:-12px;font-weight:600}.help-button[aria-expanded=true]{border-color:var(--highlight);color:var(--highlight-text)}.help-panel{z-index:15;background:var(--panel);border-left:1px solid var(--border);width:min(400px,100vw);box-shadow:-16px 0 40px var(--shadow-soft);flex-direction:column;display:flex;position:fixed;top:56px;bottom:0;right:0}.help-panel[hidden]{display:none}.help-header{justify-content:space-between;align-items:center;padding:12px 12px 8px 20px;display:flex}.help-header h2{font-size:16px;font-weight:600}.help-search{border-bottom:1px solid var(--border);padding:0 20px 12px}.help-search .preset-search{width:100%;margin:0}.help-body{flex-direction:column;flex:1;gap:10px;min-height:0;padding:16px 20px 24px;display:flex;overflow-y:auto}.help-body:focus{outline:none}.help-body>.section-label{margin:10px 0 0}.help-body>.section-label:first-child{margin-top:0}.help-foot{border-top:1px solid var(--border);color:var(--muted);gap:14px;padding:10px 20px;font-size:11.5px;display:flex}.help-foot .link{font:inherit;color:inherit;cursor:pointer;text-underline-offset:2px;background:0 0;border:0;padding:0;text-decoration:underline}.help-foot .link:hover{color:var(--text)}.help-cards{flex-direction:column;gap:6px;display:flex}.help-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--panel-raised);text-align:left;cursor:pointer;flex-direction:column;gap:3px;padding:10px 12px;display:flex}.help-card:hover{border-color:var(--border-strong)}.help-card.now{border-left:3px solid var(--highlight)}.help-card-title{align-items:baseline;gap:8px;font-size:13.5px;font-weight:500;display:flex}.help-card-title .shader-name{color:var(--muted);font-size:11.5px;font-weight:400}.help-card-detail{font-size:12.5px;line-height:1.45}.help-topics{flex-direction:column;display:flex}.help-topic{border-radius:var(--radius-lg);text-align:left;cursor:pointer;background:0 0;border:0;min-height:36px;margin:0 -10px;padding:0 10px;font-size:13.5px}.help-topic:hover{background:var(--panel-raised)}.help-back{align-self:flex-start;min-height:28px}.help-title{align-items:center;gap:10px;margin:0;font-size:18px;font-weight:600;display:flex}.help-body>p{font-size:13.5px;line-height:1.55}.help-subs{flex-wrap:wrap;gap:4px 14px;font-size:12.5px;display:flex}.help-link{font:inherit;color:var(--link);text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.help-link:hover{filter:brightness(1.15)}.help-prose{flex-direction:column;gap:10px;font-size:13.5px;line-height:1.6;display:flex}.help-prose h3,.help-prose h4{margin:14px 0 0;scroll-margin-top:8px;font-size:14.5px;font-weight:600}.help-prose p{margin:0}.help-prose ul,.help-prose ol{flex-direction:column;gap:8px;margin:0;padding-left:20px;display:flex}.help-prose li>ul,.help-prose li>ol,.help-prose li>p,.help-prose li>pre{margin-top:8px}.help-prose strong{color:var(--text-strong);font-weight:600}.help-prose code{font:12px var(--mono);border-radius:var(--radius-sm);background:var(--ground);border:1px solid var(--border);overflow-wrap:anywhere;padding:1px 5px}.help-prose .code{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--ground);max-height:none;padding:10px 12px}.help-note>ul{padding-left:0;list-style:none}.help-table{border:1px solid var(--border);border-radius:var(--radius-lg);overflow-x:auto}.help-table table{border-collapse:collapse;width:100%;font-size:12.5px;line-height:1.5}.help-table th,.help-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--border);padding:7px 10px}.help-table th{color:var(--muted);background:var(--panel-raised);font-weight:600}.help-table tr:last-child td{border-bottom:0}.help-chip{border:1px solid var(--border);width:16px;height:16px;color:var(--muted);border-radius:50%;justify-content:center;align-items:center;font-size:10.5px;display:inline-flex}.export-buttons{flex:none;align-items:center;gap:16px;display:flex}.params-header>.btn.square{flex:none}.tour-dim{z-index:30;background:var(--overlay-soft);pointer-events:none;position:fixed;inset:0}.tour-rings{z-index:31;pointer-events:none;position:fixed;inset:0}.tour-ring{border:2px solid var(--accent);border-radius:var(--radius-lg);box-shadow:0 0 0 4px var(--accent-soft);position:absolute}.tour-card{z-index:32;border:1px solid var(--border-strong);border-radius:var(--radius-xl);background:var(--panel-raised);width:320px;max-width:calc(100vw - 24px);box-shadow:0 16px 40px var(--shadow-strong);padding:16px 18px 14px;position:fixed;top:0;left:0}.tour-card.placed{transition:transform .18s ease-out}.tour-card h2{margin-bottom:6px;font-size:21px;font-weight:600}.tour-card p{font-size:15px;line-height:1.5}.tour-status{justify-content:space-between;align-items:center;min-height:20px;margin-top:10px;font-size:12px;display:flex}.tour-tick{color:var(--success);font-weight:600}.tour-tick[hidden]{display:none}.tour-card.done{border-color:var(--success)}.tour-actions{align-items:center;gap:8px;margin-top:8px;display:flex}.tour-actions .link-btn{margin-right:auto}.tour-actions [hidden]{display:none}.toast{z-index:40}.drop-hint{z-index:39;pointer-events:none;background:color-mix(in srgb, var(--ground) 78%, transparent);outline:2px dashed var(--highlight);outline-offset:-14px;place-items:center;display:grid;position:fixed;inset:0}.drop-hint[hidden]{display:none}.drop-hint p{margin:0;font-size:18px;font-weight:600}@media (prefers-reduced-motion:reduce){.tour-card.placed{transition:none}}.param-head:has(>.key-button){justify-content:flex-start}.param-head:has(>.key-button)>:last-child{margin-left:auto}.key-button{border-radius:var(--radius-sm);width:22px;height:22px;color:var(--border-strong);cursor:pointer;background:0 0;border:0;flex:none;margin-right:-4px;font-size:12px;line-height:1}.key-button:hover:not(:disabled){color:var(--text);background:var(--panel-raised)}.key-button.keyed{color:var(--muted)}.key-button.here{color:var(--accent)}.key-button:disabled{opacity:.35;cursor:default}.key-button:focus-visible{outline:2px solid var(--highlight);outline-offset:1px}.timeline{--timeline-name:168px;background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-xl);-webkit-user-select:none;user-select:none;margin-top:12px;overflow:hidden}.timeline-bar{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 12px;display:flex}.timeline-time{min-width:108px;color:var(--text-soft);font-size:13px}.timeline-field{color:var(--muted);align-items:center;gap:6px;font-size:13px;display:inline-flex}.timeline-field .num{width:64px;height:28px}.timeline-spacer{flex:1}.forge{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-xl);margin-top:12px;overflow:hidden}.forge-bar{flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 12px;display:flex}.forge-count{color:var(--text-soft);font-size:12.5px}.forge-spacer{flex:1}.forge-hint{font-size:12.5px}.forge-life{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:6px 12px;padding:10px 12px;display:flex}.forge-life-label{min-width:88px;font-size:12.5px}.forge-life-row{align-items:center;gap:8px;min-width:0;font-size:12px;display:flex}.forge-life-strip{border-radius:4px;max-width:100%;height:auto}.timeline-flash{flex-basis:100%;order:10;margin:0}.timeline-grid{max-height:320px;overflow-y:auto}.timeline-row{grid-template-columns:var(--timeline-name) 1fr;border-bottom:1px solid var(--border);min-height:30px;display:grid}.timeline-row:last-child{border-bottom:0}.timeline-row.ruler{z-index:2;background:var(--panel);min-height:24px;position:sticky;top:0}.timeline-row.layer.selected{background:var(--panel-raised)}.timeline-row.track .timeline-name{padding-left:24px}.timeline-name{border-right:1px solid var(--border);align-items:center;gap:4px;min-width:0;padding:0 8px 0 12px;font-size:12.5px;display:flex}.timeline-layer-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;padding:0;font-weight:500;overflow:hidden}.timeline-layer-name:hover{color:var(--text-strong)}.timeline-track-name{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);overflow:hidden}.timeline-name .btn.small.square{width:24px;height:24px;padding:0;font-size:11px}.timeline-hint{margin:0;padding:6px 12px;font-size:12.5px}.timeline-lane{cursor:col-resize;touch-action:none;margin:0 12px;position:relative}.timeline-tick{border-left:1px solid var(--border);color:var(--muted);pointer-events:none;padding-left:3px;font-size:10.5px;line-height:22px;position:absolute;top:0;bottom:0}.timeline-tick.major{border-left-color:var(--border-strong)}.timeline-playhead{border-left:2px solid var(--accent);pointer-events:none;z-index:1;width:0;margin-left:-1px;position:absolute;top:0;bottom:0}.timeline-shown{border-radius:var(--radius-sm);background:var(--accent-soft);pointer-events:none;position:absolute;top:9px;bottom:9px}.timeline-dot{background:var(--muted);pointer-events:none;width:6px;height:6px;margin:-3px 0 0 -3px;position:absolute;top:50%;transform:rotate(45deg)}.timeline-key,.timeline-switch,.timeline-start{border:1px solid var(--accent-ink);background:var(--accent);cursor:grab;touch-action:none;z-index:2;width:14px;height:14px;margin:-7px 0 0 -7px;padding:0;position:absolute;top:50%}.timeline-key{border-radius:2px;transform:rotate(45deg)scale(.8)}.timeline-key.linear{background:var(--highlight-text);border-radius:0}.timeline-key.hold{background:var(--panel);border:2px solid var(--accent)}.timeline-switch{background:var(--panel);border:2px solid var(--muted);border-radius:50%}.timeline-switch.on{background:var(--success);border-color:var(--success)}.timeline-start{clip-path:polygon(0 0,100% 50%,0 100%);background:var(--success);border:0}.timeline-key:focus-visible,.timeline-switch:focus-visible,.timeline-start:focus-visible{outline:2px solid var(--text);outline-offset:2px}@font-face{font-family:Archivo;font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(../fonts/archivo-latin.woff2)format("woff2")}@font-face{font-family:Figtree;font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/figtree-latin.woff2)format("woff2")}:root,[data-theme=classic]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--sans:"Space Grotesk", system-ui, sans-serif;--mono:"IBM Plex Mono", ui-monospace, monospace;--display:var(--sans);--ground:#0d0e12;--panel:#121318;--panel-raised:#181a21;--stage:#121318;--border:#23262e;--border-strong:#3a3e49;--text:#e7e8ec;--text-strong:#fff;--text-soft:#c9ccd4;--muted:#9aa0ad;--accent:#f2a43a;--accent-ink:#1a1206;--accent-soft:#f2a43a2e;--highlight:#f2a43a;--highlight-ink:#1a1206;--highlight-text:#f2a43a;--notice:#f2a43a;--link:#f2a43a;--success:#7ee2a8;--danger:#ff8a80;--seg-on:var(--panel-raised);--seg-on-ink:var(--text);--seg-on-line:var(--highlight);--seg-main-on:var(--panel-raised);--seg-main-on-ink:var(--text);--seg-main-on-line:var(--accent);--overlay:#05060999;--overlay-soft:#05060980;--scrim:#0d0e12b8;--shadow-soft:#00000073;--shadow:#00000080;--shadow-strong:#0000008c;--stage-line:#e7e8ecd9;--stage-line-edge:#0d0e1280;--logo:conic-gradient(from 200deg, var(--accent), #ff5fa2, #6a3cff, var(--accent));--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-card:10px;--radius-xl:12px;--radius-control:8px;--control-inset:10px}[data-theme=classic] .options.tight .opt{font-size:11px}[data-theme=midnight]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--sans:"Figtree", system-ui, sans-serif;--mono:"IBM Plex Mono", ui-monospace, monospace;--display:"Archivo", "Figtree", system-ui, sans-serif;--ground:#0f0b26;--panel:#161135;--panel-raised:#1e1846;--stage:#0b0820;--border:#2c2560;--border-strong:#3d3580;--text:#f2f0ff;--text-strong:#fff;--text-soft:#d6d2f5;--muted:#a49ed3;--accent:#ff8a3d;--accent-ink:#1c1d24;--accent-soft:#ff8a3d2e;--highlight:#6a5cf5;--highlight-ink:#fff;--highlight-text:#a79cff;--notice:#ffb454;--link:#a79cff;--success:#7ee2a8;--danger:#ff8a80;--seg-on:var(--highlight);--seg-on-ink:var(--highlight-ink);--seg-on-line:transparent;--seg-main-on:var(--accent);--seg-main-on-ink:var(--accent-ink);--seg-main-on-line:transparent;--overlay:#0604129e;--overlay-soft:#06041280;--scrim:#0f0b26b8;--shadow-soft:#00000073;--shadow:#00000080;--shadow-strong:#0000008c;--stage-line:#f2f0ffd9;--stage-line-edge:#0f0b2680;--logo:linear-gradient(135deg, #ff8a3d, #5a4bf0);--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-card:16px;--radius-xl:16px;--radius-control:999px;--control-inset:14px}[data-theme=daylight]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--sans:"Figtree", system-ui, sans-serif;--mono:"IBM Plex Mono", ui-monospace, monospace;--display:"Archivo", "Figtree", system-ui, sans-serif;--ground:#f5f4fb;--panel:#fff;--panel-raised:#ece9ff;--stage:#14121f;--border:#e2dff2;--border-strong:#c9c4e6;--text:#1c1d24;--text-strong:#0c0d12;--text-soft:#3b3d4a;--muted:#5b5d6b;--accent:#5a4bf0;--accent-ink:#fff;--accent-soft:#5a4bf01f;--highlight:#c8510b;--highlight-ink:#fff;--highlight-text:#ad4a0a;--notice:#94540a;--link:#4a3ce0;--success:#14703a;--danger:#c62828;--seg-on:var(--highlight);--seg-on-ink:var(--highlight-ink);--seg-on-line:transparent;--seg-main-on:var(--accent);--seg-main-on-ink:var(--accent-ink);--seg-main-on-line:transparent;--overlay:#1c1d2473;--overlay-soft:#1c1d2459;--scrim:#14121fb8;--shadow-soft:#1c145024;--shadow:#1c145029;--shadow-strong:#1c14502e;--stage-line:#f2f0ffd9;--stage-line-edge:#14121f80;--logo:linear-gradient(135deg, #ff8a3d, #5a4bf0);--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-card:16px;--radius-xl:16px;--radius-control:999px;--control-inset:14px}[data-theme=daylight] .stage{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ground:#14121f;--panel:#1b1830;--panel-raised:#231f3d;--border:#322c5c;--border-strong:#463f80;--text:#f2f0ff;--text-strong:#fff;--text-soft:#d6d2f5;--muted:#a49ed3;--highlight:#ff8a3d;--highlight-ink:#1c1d24;--highlight-text:#ffa257;--notice:#ffb454;--success:#7ee2a8;--danger:#ff8a80;--shadow-soft:#00000073;--shadow:#00000080;--shadow-strong:#0000008c}[data-theme=forest]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--sans:"Figtree", system-ui, sans-serif;--mono:"IBM Plex Mono", ui-monospace, monospace;--display:"Archivo", "Figtree", system-ui, sans-serif;--ground:#07160d;--panel:#0d2214;--panel-raised:#132e1c;--stage:#06130b;--border:#1d4229;--border-strong:#2a5a39;--text:#eef7ef;--text-strong:#fff;--text-soft:#cfe5d4;--muted:#98bba1;--accent:#ff8a3d;--accent-ink:#1c1d24;--accent-soft:#ff8a3d2e;--highlight:#31a056;--highlight-ink:#07160d;--highlight-text:#6fd08c;--notice:#ffb454;--link:#6fd08c;--success:#7ee2a8;--danger:#ff8a80;--seg-on:var(--highlight);--seg-on-ink:var(--highlight-ink);--seg-on-line:transparent;--seg-main-on:var(--accent);--seg-main-on-ink:var(--accent-ink);--seg-main-on-line:transparent;--overlay:#030c069e;--overlay-soft:#030c0680;--scrim:#07160db8;--shadow-soft:#00000073;--shadow:#00000080;--shadow-strong:#0000008c;--stage-line:#eef7efd9;--stage-line-edge:#07160d80;--logo:linear-gradient(135deg, #ff8a3d, #2a8746);--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-card:16px;--radius-xl:16px;--radius-control:999px;--control-inset:14px}:is([data-theme=midnight],[data-theme=daylight],[data-theme=forest]) :is(.display,.brand,.center-header h1,.param-group){font-family:var(--display);text-transform:uppercase;font-weight:900;font-stretch:125%}:is([data-theme=midnight],[data-theme=daylight],[data-theme=forest]) .brand-edition{font-stretch:115%}
