:root{--font-main:"Source Sans 3", "Source Sans Pro", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;--font-nav:Ubuntu, Arial, sans-serif;--nav:#343536;--nav-text:#b2b2b0;--bg:#1b1b1c;--panel:#242526;--panel-2:#2d2e30;--line:#3a3b3d;--text:#e1e1e1;--muted:#9a9c9e;--cta:#1473e6;--cta-hover:#0d66d0;--accent:#ff9231;--link:#378ef0}*,:before,:after{box-sizing:border-box}html,body{height:100%}body.studio{background:var(--bg);color:var(--text);font-family:var(--font-main);flex-direction:column;margin:0;font-size:14px;line-height:1.43;display:flex;overflow:hidden}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}[hidden]{display:none!important}.st-nav{background:var(--nav);height:50px;font-family:var(--font-nav);z-index:5;flex:none;align-items:stretch;gap:8px;padding:0 12px 0 16px;font-size:13px;display:flex}.st-brand{color:#fff;align-items:center;gap:7px;padding-right:12px;font-size:23px;display:flex}.st-brand span{margin-top:-3px}.st-tabs{align-items:stretch;display:flex}.st-tabs a{color:var(--nav-text);border-top:3px solid #0000;border-bottom:3px solid #0000;align-items:center;padding:0 15px;display:flex}.st-tabs a:hover{color:#fff}.st-tabs a.active{color:#fff;border-bottom-color:var(--accent)}.st-nav-right{align-items:center;gap:10px;margin-left:auto;display:flex}.st-icon-btn{background:var(--nav-text);width:28px;height:28px;color:var(--nav);cursor:pointer;border:0;border-radius:50%;font-family:Arial,sans-serif;font-weight:700}.st-icon-btn:hover{background:#fff}.st-btn{height:32px;font-family:var(--font-main);cursor:pointer;white-space:nowrap;border:2px solid #0000;border-radius:16px;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-size:14px;font-weight:700;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.st-btn[disabled]{opacity:.6;cursor:default}.st-btn-cta{background:var(--cta);border-color:var(--cta);color:#fff;text-transform:uppercase;letter-spacing:.3px}.st-btn-cta:hover{background:var(--cta-hover);border-color:var(--cta-hover)}.st-btn-ghost{color:#e8e8e8;background:0 0;border-color:#8a8c8e}.st-btn-ghost:hover{color:#fff;border-color:#fff}.st-btn-sm{height:28px;padding:0 12px;font-size:13px}.st-badge{background:var(--accent);color:#1b1b1c;border-radius:9px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;display:inline-flex}.st-link{color:var(--link);cursor:pointer;background:0 0;border:0;padding:0;font-size:13px}.st-link:hover{text-decoration:underline}.st-x{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:22px;line-height:1}.st-x:hover{color:#fff}.st-main{flex:1;grid-template-columns:minmax(340px,1fr) minmax(460px,1.3fr);min-height:0;display:grid}.st-browser{background:var(--panel);border-right:1px solid #111;flex-direction:column;min-height:0;padding:16px 16px 0;display:flex}.st-search input{border:1px solid var(--line);color:#fff;background:#161617;border-radius:4px;outline:none;width:100%;height:36px;padding:0 12px;font-size:14px}.st-search input:focus{border-color:var(--cta)}.st-chips{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.st-chips:empty{display:none}.st-chip{border:1px solid var(--line);height:26px;color:var(--muted);cursor:pointer;background:0 0;border-radius:13px;padding:0 11px;font-size:12.5px}.st-chip:hover{color:#fff;border-color:#666}.st-chip.on{color:#1b1b1c;background:#fff;border-color:#fff;font-weight:700}.st-count{color:var(--muted);text-transform:uppercase;letter-spacing:.5px;margin:12px 0 8px;font-size:12px}.st-grid{scrollbar-color:#4a4b4d transparent;flex:1;grid-template-columns:repeat(auto-fill,minmax(146px,1fr));grid-auto-rows:max-content;align-content:start;gap:10px;min-height:0;padding-bottom:16px;display:grid;overflow-y:auto}.st-card{text-align:left;background:var(--panel-2);cursor:pointer;border:2px solid #0000;border-radius:4px;outline:none;flex-direction:column;padding:0 0 9px;display:flex;position:relative;overflow:hidden}.st-card>*{flex:none}.st-card:hover{border-color:#55575a}.st-card:focus-visible{border-color:var(--cta)}.st-card.selected{border-color:var(--accent)}.st-thumb{aspect-ratio:1;background:radial-gradient(at 50% 40%,#6a6d73 0%,#45474c 60%,#35373b 100%);justify-content:center;align-items:center;display:flex}.st-thumb img{object-fit:contain;width:100%;height:100%;display:block}.st-thumb img:not([src]),.st-thumb img[src=""]{visibility:hidden}.st-card-name{color:#f1f1f1;padding:7px 9px 0;font-size:13.5px;font-weight:700;line-height:1.25}.st-card-cat{color:var(--muted);padding:2px 9px 0;font-size:12px}.st-card-upload .st-thumb{background:#1f2021;border-bottom:1px dashed #4b4d50}.st-card-upload .st-thumb span{color:var(--accent);font-size:48px;font-weight:300}.st-card-del{color:#fff;cursor:pointer;opacity:0;background:#0009;border:0;border-radius:50%;width:24px;height:24px;font-size:16px;transition:opacity .15s;position:absolute;top:6px;right:6px}.st-card:hover .st-card-del,.st-card-del:focus{opacity:1}.st-empty{color:var(--muted);text-align:center;grid-column:1/-1;padding:24px 0}.st-editor{background:#2a2b2d;flex-direction:column;min-height:0;display:flex}.st-editor-head{border-bottom:1px solid #1a1a1b;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex}.st-title{color:#fff;font-size:20px;font-weight:300;line-height:1.2}.st-subtitle{color:var(--muted);font-size:12.5px}.st-actions{gap:10px;display:flex}.st-viewport{background:radial-gradient(80% 75% at 50% 42%,#7a7d83 0%,#55585d 52%,#36383c 100%);flex:1;min-height:260px;position:relative;overflow:hidden}.st-viewport canvas{touch-action:none;outline:none;width:100%;height:100%;display:block;position:absolute;inset:0}.st-view-tools{gap:6px;display:flex;position:absolute;top:10px;right:10px}.st-tool{color:#ddd;cursor:pointer;background:#1414168c;border:1px solid #ffffff40;border-radius:3px;height:26px;padding:0 10px;font-size:12px}.st-tool:hover{color:#fff;border-color:#ffffff80}.st-tool.on{border-color:var(--accent);color:#1b1b1c;background:#ff9231e6;font-weight:700}.st-view-hint{color:#fff9;pointer-events:none;font-size:11.5px;position:absolute;bottom:8px;left:12px}.st-nogl{text-align:center;color:#fff;background:#0000008c;justify-content:center;align-items:center;padding:30px;font-size:15px;display:flex;position:absolute;inset:0}.st-transport{background:#222325;border-top:1px solid #111;flex:none;align-items:center;gap:12px;padding:8px 16px;display:flex}.st-play{color:#1b1b1c;cursor:pointer;background:#fff;border:0;border-radius:50%;flex:none;width:34px;height:34px;font-size:12px}.st-play:hover{background:var(--accent)}.st-transport input[type=range]{flex:1}.st-time{text-align:right;min-width:108px;color:var(--muted);font-variant-numeric:tabular-nums;flex:none;font-size:12.5px}.st-params{background:var(--panel);border-top:1px solid #111;flex:none;max-height:36vh;padding:12px 16px 14px;overflow-y:auto}.st-params-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px;display:grid}.st-slider{grid-template-rows:auto auto;grid-template-columns:1fr 44px;align-items:center;column-gap:8px;display:grid}.st-slider-label{color:#c9c9c9;grid-column:1/-1;font-size:12.5px}.st-slider output{text-align:right;color:#fff;font-variant-numeric:tabular-nums;font-size:12.5px}.st-checks{flex-wrap:wrap;align-items:center;gap:18px;margin-top:12px;display:flex}.st-check{cursor:pointer;align-items:center;gap:7px;font-size:13px;display:inline-flex}.st-check.disabled{opacity:.45;cursor:default}input[type=range]{accent-color:var(--accent);width:100%;height:18px;margin:0}input[type=checkbox],input[type=radio]{accent-color:var(--cta);width:15px;height:15px;margin:0}.st-pack{z-index:20;background:#2f3032;border:1px solid #45474a;border-radius:6px;flex-direction:column;width:280px;max-height:60vh;display:flex;position:fixed;top:116px;right:16px;box-shadow:0 12px 32px #00000073}.st-pack-head{border-bottom:1px solid #3f4043;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.st-pack ul{flex:1;margin:0;padding:6px 0;list-style:none;overflow-y:auto}.st-pack li{justify-content:space-between;align-items:center;padding:4px 12px;font-size:13.5px;display:flex}.st-pack-foot{border-top:1px solid #3f4043;justify-content:flex-end;gap:8px;padding:10px 12px;display:flex}.st-modal{z-index:50;background:#0000009e;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.st-dialog{background:#2c2d2f;border:1px solid #45474a;border-radius:6px;flex-direction:column;width:min(520px,100%);max-height:calc(100vh - 40px);display:flex;box-shadow:0 24px 60px #0009}.st-dialog.wide{width:min(980px,100%)}.st-dialog-head{border-bottom:1px solid #3f4043;justify-content:space-between;align-items:center;padding:14px 20px;display:flex}.st-dialog-head h2{color:#fff;margin:0;font-size:20px;font-weight:300}.st-dialog-body{padding:18px 20px;overflow-y:auto}.st-dialog-foot{border-top:1px solid #3f4043;justify-content:flex-end;gap:10px;padding:12px 20px;display:flex}.st-dialog-foot:empty{display:none}.st-form{flex-direction:column;gap:16px;display:flex}.st-form-label{text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin-bottom:6px;font-size:12px}.st-radios{flex-direction:column;gap:6px;display:flex}.st-radio{cursor:pointer;align-items:center;gap:8px;display:inline-flex}.st-note{color:var(--muted);margin:8px 0 0;font-size:13px}.st-help{color:#d8d8d8;font-size:14.5px}.st-help h3{color:#fff;margin:18px 0 6px;font-size:15px}.st-help p{margin:0 0 8px}.st-help ol,.st-help ul{flex-direction:column;gap:6px;margin:0;padding-left:20px;display:flex}.st-keys td{padding:5px 14px 5px 0}kbd{text-align:center;background:#1f2021;border:1px solid #5a5c5f;border-radius:3px;min-width:22px;padding:1px 6px;font-family:inherit;font-size:12px;display:inline-block}.st-drop{cursor:pointer;text-align:center;background:#232426;border:2px dashed #5b5d61;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:6px;height:260px;display:flex}.st-drop.over,.st-drop:hover{border-color:var(--accent);background:#2a2622}.st-drop-icon{color:var(--accent);font-size:40px}.st-drop-title{color:#fff;font-size:18px}.st-drop-sub{color:var(--muted)}.st-status{color:#ffcf8a;min-height:20px;margin-top:12px}.st-rig{grid-template-columns:1fr 260px;gap:18px;display:grid}.st-rig-view{background:radial-gradient(at 50% 40%,#74777d 0%,#4a4c51 60%,#333539 100%);border-radius:4px;height:min(62vh,560px);position:relative;overflow:hidden}.st-rig-view canvas{touch-action:none;width:100%;height:100%;position:absolute;inset:0}.st-rig-overlay{pointer-events:none;position:absolute;inset:0}.st-dot{background:var(--c);pointer-events:auto;cursor:grab;touch-action:none;border:3px solid #fff;border-radius:50%;width:22px;height:22px;margin:-11px 0 0 -11px;position:absolute;box-shadow:0 1px 6px #0009}.st-dot span{white-space:nowrap;color:#fff;text-shadow:0 1px 3px #000;pointer-events:none;font-size:11.5px;position:absolute;top:-2px;left:24px}.st-dot:active{cursor:grabbing}.st-rig-side h3{color:#fff;margin:0 0 6px;font-size:18px;font-weight:400}.st-field{color:var(--muted);text-transform:uppercase;letter-spacing:.5px;flex-direction:column;gap:4px;margin:16px 0 12px;font-size:12px;display:flex}.st-input{border:1px solid var(--line);color:#fff;text-transform:none;letter-spacing:0;background:#161617;border-radius:4px;height:34px;padding:0 10px;font-size:14px}.st-row{flex-wrap:wrap;gap:8px;display:flex}.st-legend{flex-direction:column;gap:6px;margin:14px 0;padding:0;list-style:none;display:flex}.st-legend i{vertical-align:-1px;border:2px solid #fff;border-radius:50%;width:12px;height:12px;margin-right:8px;display:inline-block}.st-toast{color:#1b1b1c;opacity:0;pointer-events:none;z-index:60;background:#f3f3f3;border-radius:4px;max-width:calc(100vw - 32px);padding:10px 18px;font-size:14px;transition:opacity .2s,transform .2s;position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);box-shadow:0 6px 20px #0006}.st-toast.show{opacity:1;transform:translate(-50%)}@media (width<=900px){body.studio{height:auto;overflow:auto}.st-main{flex-direction:column-reverse;display:flex}.st-editor{min-height:auto}.st-viewport{flex:none;height:56vh}.st-params{max-height:none}.st-browser{border-right:0;padding-bottom:16px}.st-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));overflow:visible}.st-rig{grid-template-columns:1fr}.st-rig-view{height:52vh}}@media (width<=560px){.st-nav{gap:2px;padding:0 8px}.st-brand span{display:none}.st-tabs a{padding:0 9px}#btn-upload{padding:0 10px;font-size:12px}.st-params-grid{grid-template-columns:1fr}.st-editor-head{flex-wrap:wrap}.st-pack{width:auto;left:12px;right:12px}}.st-card-del{place-items:center;display:grid}.st-drop{text-align:center;border:2px dashed #4b4d50;border-radius:8px;padding:28px 20px;transition:border-color .15s,background .15s}.st-drop.over{border-color:var(--accent);background:#ffffff0a}.st-drop-btns{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px;display:flex}.st-import-status{color:#c9cbce;margin:0}.st-import-log{max-height:220px;margin:14px 0 0;padding:0;font-size:13px;list-style:none;overflow:auto}.st-import-log li{border-bottom:1px solid #2c2d2f;padding:4px 0}.st-import-log li.ok:before{content:"✓ ";color:#6fcf73}.st-import-log li.bad:before{content:"✕ ";color:#ef6b6b}.st-grid-head{letter-spacing:.08em;text-transform:uppercase;color:#a7a9ad;border-top:1px solid #3f4043;grid-column:1/-1;margin-top:6px;padding:14px 2px 2px;font-size:12px}.st-hint{color:#a7a9ad;margin-top:6px;font-size:12px;line-height:1.4}.st-input-short{max-width:110px}.st-checks-col{flex-direction:column;align-items:flex-start;gap:8px;margin-top:4px}.st-pack-item{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.st-pack-clip{box-sizing:border-box;color:#dcdee2;background:#232426;border:1px solid #45474a;border-radius:3px;width:100%;padding:3px 6px;font:12px/1.3 ui-monospace,Menlo,monospace}.st-pack-clip:focus{border-color:#ff9231;outline:none}
