:root{color-scheme:dark;--bg:#171916;--panel:#20221e;--line:#363a31;--text:#eeeee6;--muted:#989f8e;--accent:#e8b96a;font:12px/1.5 system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select{font:inherit}a,button,input,select{touch-action:manipulation}button{border:1px solid transparent;border-radius:7px;background:#2b2e26;color:var(--text);padding:7px 10px;cursor:pointer;transition:background .12s,border-color .12s,color .12s}button:hover{background:#373d2f;border-color:#555f47}button:disabled{opacity:.3;cursor:default}button[aria-pressed=true]{border-color:#8b7955;color:var(--accent);background:#373327}button.primary{background:var(--accent);color:#201e19;font-weight:700;padding-inline:18px}button.primary:hover{background:#f4cb88}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}a{color:inherit;text-decoration:none}header,section{border-bottom:1px solid var(--line)}header{height:54px;justify-content:space-between;padding:0 18px;gap:12px}.brand{font-weight:900;letter-spacing:-.4px;font-size:15px}.brand span{font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:16px}.actions,.row,header{display:flex;align-items:center}.actions,.row{gap:6px}.actions button{white-space:nowrap}.actions #redo,.actions #undo,.icon-button{width:32px;height:32px;padding:0;font-size:17px;background:0 0}.actions #status{font-size:10px;color:var(--muted);margin-right:12px;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.actions #status:before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#97ac80;margin-right:7px}.actions #status.notice:before{background:var(--accent)}main{display:grid;grid-template-columns:202px minmax(280px,1fr) 306px;height:calc(100dvh - 54px)}aside{background:var(--panel);overflow-y:auto;padding:18px 14px;scrollbar-width:thin;scrollbar-color:#444b3c transparent}.sources{border-right:1px solid var(--line)}.inspector{border-left:1px solid var(--line)}section{padding-bottom:20px;margin-bottom:18px}section:last-child{border:0;margin-bottom:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:10px}h2{font-size:10px;font-weight:600;letter-spacing:.3px;color:var(--muted);margin:0}.section-heading button{font-size:12px;padding:3px 7px;background:0 0}.empty{color:#7c8470;font-size:11px;margin:24px 0;text-align:center}.sources>section:last-child{margin-top:24px}.sources>section:last-child button{background:0 0;color:var(--muted);font-size:10px;padding:4px 0}.primitive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.primitive-grid button{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:9px;padding:10px 3px;background:#272b23;border:1px solid #343a2e}.primitive-grid button:hover{background:#353c2b;border-color:#788364}.primitive-grid svg{width:23px;height:23px;stroke:#c3cbb5;fill:none;stroke-width:1.1}.primitive-grid button:last-child{grid-column:span 1}.item-row,.part-row{display:flex;gap:4px;align-items:center;margin:4px 0}.item-row button:first-child,.part-row button:first-child{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;text-align:left;white-space:nowrap}.item-row button:first-child{padding:8px 10px;background:0 0}.item-row button[aria-pressed=true]:first-child,.part-row button[aria-pressed=true]:first-child{background:#373327}.item-row small{font-size:9px;color:var(--muted);display:block;margin-top:2px}.item-row button:last-child,.part-row button:last-child{background:0 0;color:var(--muted);padding:6px}.sources section>.row{justify-content:flex-end;margin-top:8px}.sources section>.row button{padding:4px 9px}.part-row button:first-child{background:#272b23;padding:6px 8px}.swatch{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:8px;border:1px solid #ffffff25}#collection .row{margin-bottom:5px}#collection .row button{font-size:11px;background:0 0}#collection .row button:first-child{flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#stage,.stage-wrap{position:relative;overflow:hidden}.stage-wrap{display:flex;flex-direction:column;min-width:0;background:#e8e8e0;color:#35382e}.stage-top{position:absolute;z-index:2;top:14px;right:16px;display:flex;gap:8px}.stage-top .row{gap:2px;padding:3px;border:1px solid #bfc4b266;background:#e8e8e0e8;border-radius:9px;backdrop-filter:blur(12px)}.camera button,.stage-top button{background:0 0;color:#626a56;border-color:transparent;font-size:10px;padding:6px 10px}.camera button:hover,.stage-top button:hover{background:#daddcf}.camera button[aria-pressed=true],.stage-top button[aria-pressed=true]{background:#d2d8c4;border-color:transparent;color:#324026}#stage{flex:1;min-height:280px;background-image:radial-gradient(#b7bcac80 .65px,transparent .65px);background-size:24px 24px}#walker{width:100%;height:100%;display:block;color:#0b0b0c;cursor:grab;touch-action:none;overflow:visible}#walker:active{cursor:grabbing}.stage-caption{position:absolute;bottom:16px;left:20px;pointer-events:none;font-size:10px;color:#747e64}.camera{border-top:1px solid #cbd0bf80;padding:10px 20px;display:grid;grid-template-columns:auto repeat(3,minmax(70px,1fr));gap:18px;align-items:center;background:#e5e7dd}.camera .views{gap:2px}.camera label,footer{display:flex;font-size:9px}.camera label{flex-direction:column;gap:3px;color:#737e63}.camera input{accent-color:#74835b}footer{justify-content:flex-end;padding:6px 20px;color:#89927e;background:#e5e7dd}.tabs{display:flex;gap:3px;margin:0 0 16px;background:#171a15;border-radius:8px;padding:3px;position:sticky;top:-18px;z-index:3}.tabs button{flex:1;background:0 0;font-size:11px;padding:6px}.tabs button[aria-pressed=true]{background:#343a2d;color:#e6eadf;border-color:transparent}.field{display:block;margin:10px 0}.field>span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}input[type=number],input[type=text],select{background:#191c16;color:var(--text);border:1px solid var(--line);border-radius:6px;padding:7px 9px;min-width:0;width:100%;transition:border-color .12s}input:hover,select:hover{border-color:#5b654d}input[type=number]:focus,input[type=text]:focus,select:focus{border-color:#a28c61}#item-name{font-size:14px;font-weight:500;letter-spacing:-.2px}.vector-row label,input[type=color]{border:1px solid var(--line);border-radius:6px}input[type=color]{width:100%;height:27px;background:0 0;padding:3px;cursor:pointer}.check{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;margin:8px 0}input[type=checkbox],input[type=range]{accent-color:var(--accent)}.part-actions{float:right;margin-top:2px}.part-actions button{background:0 0;padding:4px 9px;font-size:16px}#part-list{margin:12px 0 16px}.property-group{border-top:1px solid var(--line);padding-top:12px;margin-top:14px;clear:both}.property-group h2{margin-bottom:9px}.vector-row{gap:6px}.vector-row label{display:flex;align-items:center;background:#191c16;min-width:0;flex:1;overflow:hidden}.vector-row label:focus-within{border-color:#a28c61}.vector-row label>span{font-size:9px;padding-left:8px;color:#8c977e}.vector-row input[type=number]{border:0;background:0 0;width:100%;font:11px ui-monospace,monospace;padding:7px 3px 7px 6px;appearance:textfield;-moz-appearance:textfield}.vector-row input::-webkit-inner-spin-button{display:none}.vector-row label:nth-child(1)>span{color:#c28b7c}.vector-row label:nth-child(2)>span{color:#99b278}.vector-row label:nth-child(3)>span{color:#85a5bf}.reset-transform{display:block;margin:8px 0 0 auto;background:0 0;font-size:9px;color:var(--muted);padding:3px 0}.deform summary,.param-row{color:var(--muted);font-size:10px}.param-row{display:grid;grid-template-columns:70px 1fr 53px;gap:8px;align-items:center;margin:9px 0}.param-row input[type=number]{font:10px ui-monospace,monospace;padding:4px 5px}.camera input[type=range],.param-row input[type=range]{width:100%;height:14px;margin:0;cursor:pointer}#point-panel,.deform{border-top:1px solid var(--line);padding-top:12px;margin-top:16px}.deform summary{cursor:pointer;user-select:none}.deform[open] summary{margin-bottom:10px}#point-panel{padding-top:14px}#point-panel select{font-size:9px;width:auto;max-width:120px;padding:4px 6px}#point-editor{display:block;width:100%;background:#171b14;border:1px solid var(--line);border-radius:8px;touch-action:none;margin:10px 0}#point-editor circle{cursor:move}#point-panel>.row button{font-size:10px}#point-values>p{font-size:9px;color:var(--muted)}[hidden]{display:none!important}@media (min-width:1500px){main{grid-template-columns:214px minmax(280px,1fr) 320px}}@media (max-width:1050px){main{grid-template-columns:180px minmax(250px,1fr) 280px}aside{padding:16px 12px}.camera{grid-template-columns:repeat(3,1fr);gap:8px 16px;padding:10px 16px}.camera .views{grid-column:1/-1;justify-content:center}.tabs{top:-16px}.actions #status{max-width:150px}.brand span{display:none}}@media (max-width:760px){header{height:54px;padding:0 12px}.actions{gap:3px}.actions #status{display:none}main{height:auto;grid-template-columns:140px minmax(0,1fr)}.inspector{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);max-height:none;padding:16px}.stage-wrap{min-height:530px}.sources{padding:16px 8px}.primitive-grid{grid-template-columns:repeat(2,1fr)}.primitive-grid button{padding:9px 2px}.stage-top{top:10px;right:10px}.stage-top button{padding:5px 7px}.camera{gap:7px}.camera .views{flex-wrap:wrap}.camera button{padding:5px 6px}.tabs{position:static}.property-group{margin-top:12px}.vector-row input[type=number]{padding:8px}.inspector #properties{max-width:560px}.brand{font-size:13px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.part-meta{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:10px}.part-meta input[type=color]{height:34px;padding:4px}.camera input[type=range]{accent-color:#74835b}.category-field>.field>.row{align-items:stretch}.category-field button{flex:none;padding:5px 10px}.new-category{display:flex;gap:6px;margin:0 0 12px}.category-field select,.new-category input{min-width:0;flex:1}.new-category button,.property-group>.row button,.studio-nav a{font-size:10px}.artwork-preview{display:block;max-width:100%;width:100%;height:110px;object-fit:contain;margin:10px 0;border:1px solid var(--line);border-radius:7px;background:repeating-conic-gradient(#34382d 0 25%,#292d24 0 50%)0/14px 14px}.skin-palette{gap:8px;margin-top:12px}.skin-palette button{width:23px;height:23px;border-radius:50%;padding:0;background:var(--skin);border:1px solid #ffffff35}.skin-palette button:hover{outline:1px solid var(--accent);outline-offset:2px}[inert]{opacity:.65}.studio-nav{display:flex;gap:3px;margin-left:20px;padding:3px;background:#22261d;border-radius:7px}.studio-nav a{padding:4px 10px;border-radius:4px;color:var(--muted)}.studio-nav a[aria-current=page]{background:#383f2e;color:var(--text)}header>.brand{margin-right:auto}.enemy-row{display:flex;align-items:center;gap:12px;width:100%;margin:6px 0;padding:12px;text-align:left;background:0 0}.enemy-row svg{width:25px;height:38px;flex:none}.enemy-row>span{flex:1}.enemy-row .enemy-dot{width:6px;height:6px;border-radius:50%;flex:none;background:var(--enemy-color)}.enemy-editor .sources>section:last-child button{font-size:11px;padding:7px 10px}.enemy-editor #properties{margin-top:12px}.enemy-editor #properties>.property-group:first-child{border:0}.enemy-editor #identity .field{margin-top:0}.palette{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.palette button{width:23px;height:23px;border-radius:50%;padding:0;border:2px solid transparent;background:var(--swatch);box-shadow:inset 0 0 0 1px #ffffff22}.palette button[aria-pressed=true]{border-color:#fff;outline:1px solid #b7bcac;outline-offset:2px}.enemy-color{display:grid;grid-template-columns:35px 1fr;gap:9px}.enemy-color input[type=color]{height:34px}.enemy-color input[type=text]{font:11px ui-monospace,monospace}.enemy-editor #reset{font-size:10px;background:0 0;color:var(--muted)}.enemy-editor .enemy-name{font-size:16px;font-weight:500;margin-bottom:20px}.enemy-editor #walker{transition:color .12s}.enemy-editor .sources{display:flex;flex-direction:column}.enemy-editor .sources>section:last-child{margin-top:auto;margin-bottom:0}.enemy-editor .camera{grid-template-columns:auto repeat(3,minmax(70px,1fr))}@media (max-width:1050px){.enemy-editor .camera{grid-template-columns:repeat(3,1fr)}.studio-nav{margin-left:5px}.studio-nav a{padding:4px 7px}}@media (max-width:760px){.brand span{display:none}.studio-nav{margin-left:0}.studio-nav a{font-size:9px;padding:5px 6px}.actions .icon-button{width:25px}.enemy-editor .sources>section:last-child{margin-top:20px}.enemy-row{gap:6px;padding:10px 6px}}