:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e8eee7;font-synthesis:none;text-rendering:optimizelegibility;--page:#111713;--surface:#19211b;--surface-raised:#202a22;--surface-input:#121914;--line:#354137;--line-soft:#2a342c;--ink:#e8eee7;--muted:#a5b0a4;--accent:#b7e28e;--accent-ink:#172316;--danger:#ffb2a0;background:#111713;font-family:Inter,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}body{background:var(--page);min-width:320px;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,label.button:focus-within,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}::selection{color:var(--accent-ink);background:var(--accent)}main{max-width:1480px;margin:0 auto;padding:0 40px}.top{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;height:64px;display:flex}.brand{letter-spacing:.1em;align-items:center;gap:11px;font-size:12px;display:flex}.brand b{font-weight:700}.brand-icon{object-fit:contain;flex:none;width:32px;height:32px;display:block}.hero{padding:34px 0 28px}.hero h1{letter-spacing:-.025em;margin:0 0 7px;font-size:clamp(24px,2.4vw,31px);font-weight:650;line-height:1.2}.intro{max-width:62ch;color:var(--muted);margin:0;font-size:14px;line-height:1.55}.bar{background:var(--surface);border:1px solid var(--line);border-radius:9px;align-items:end;gap:12px;margin-bottom:16px;padding:13px 15px;display:flex}.bar label{width:min(195px,22%);color:var(--muted);font-size:11px}.bar select{margin-top:6px}.workspace{grid-template-columns:minmax(235px,.92fr) minmax(330px,1.38fr) minmax(270px,.98fr);align-items:stretch;gap:12px;display:grid}.panel{background:var(--surface);border:1px solid var(--line);border-radius:9px;min-width:0;padding:16px}.catalog,.editor,.summary{min-height:540px}.panel-title{justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;display:flex}.panel-title h2{letter-spacing:-.01em;margin:0;font-size:16px;font-weight:620;line-height:1.3}.panel-title>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.tabs{border-bottom:1px solid var(--line-soft);gap:2px;margin:0 -16px 13px;padding:0 16px;display:flex}.tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:7px;padding:9px 10px;font-size:12px;display:inline-flex}.tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent)}.tab-icon{width:13px;height:13px;display:inline-block;position:relative}.block-glyph:before{content:"";background:linear-gradient(90deg,#0000 46%,currentColor 47% 53%,#0000 54%),linear-gradient(#0000 46%,currentColor 47% 53%,#0000 54%);border:1px solid;position:absolute;inset:1px}.speaker-icon{flex:none;width:24px;height:24px;display:block}.speaker-icon.tab-icon{width:16px;height:16px}input:not([type=checkbox]),select,textarea{width:100%;color:var(--ink);background:var(--surface-input);border:1px solid var(--line);border-radius:6px;padding:9px 10px;font-size:12px}input::placeholder,textarea::placeholder{color:#9ba79a}.filters{align-items:end;gap:10px;margin:11px 0;display:flex}.filters label:first-child{color:var(--muted);flex:1;font-size:11px}.filters select{margin-top:5px;padding:8px 7px}.check{color:var(--muted);white-space:nowrap;align-items:center;gap:6px;padding-bottom:8px;font-size:10px;display:flex}.check input{accent-color:var(--accent)}.asset-list{scrollbar-color:#526052 transparent;scrollbar-width:thin;max-height:350px;margin:0 -5px;overflow:auto}.asset{width:100%;color:var(--ink);text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;align-items:center;gap:12px;padding:8px 7px;display:flex}.asset:hover{background:var(--surface-raised)}.asset.selected{background:#263329;border-color:#4c6249}.asset-artwork{flex:none;place-items:center;display:grid;overflow:hidden}.catalog-artwork{border-radius:4px;width:36px;height:36px}.texture-artwork{background:#233026}.texture-artwork img{object-fit:contain;width:100%;height:100%;image-rendering:pixelated;display:block}.sound-artwork{color:#b9d7bf;background:#28382d;border-radius:8px}.sound-artwork .speaker-icon{width:22px;height:22px}.missing-texture-icon{width:24px;height:24px;color:var(--muted)}.asset-label{flex:1;gap:3px;min-width:0;display:grid}.asset-label b{font-size:13px;font-weight:500}.asset-label small,.changes small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.dot{color:var(--accent);font-size:9px}.catalog-foot{color:var(--muted);border-top:1px solid var(--line-soft);padding-top:10px;font-size:10px;line-height:1.5}.technical{color:var(--muted);overflow-wrap:anywhere;margin:-4px 0 15px;font-size:10px}.technical span{color:var(--accent)}.type-tag{color:var(--accent);border:1px solid #53624f;border-radius:4px;padding:5px 7px;font-size:10px}.drop{text-align:center;border:1px dashed #586b55;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;min-height:300px;padding:26px 22px;display:flex}.editor-artwork{border-radius:4px;width:80px;height:80px;margin-bottom:11px}.editor-artwork.sound-artwork{border-radius:14px;width:64px;height:64px;margin-bottom:20px}.editor-artwork.sound-artwork .speaker-icon{width:36px;height:36px}.reference-caption{color:var(--muted);margin-bottom:20px;font-size:10px}.drop b{font-size:15px;font-weight:600}.drop p,.mapping-note p,.install p{max-width:380px;color:var(--muted);font-size:11px;line-height:1.6}.button{border:1px solid var(--line);border-radius:6px;justify-content:center;align-items:center;padding:10px 13px;font-size:12px;font-weight:600;display:inline-flex}.primary{color:var(--accent-ink);background:var(--accent);border-color:var(--accent);margin-top:9px}.primary:hover,.export:hover:not(:disabled){background:#c7eda4}.mapping-note{border-top:1px solid var(--line-soft);margin-top:19px;padding-top:11px}.mapping-note b,.validation b{font-size:11px}.mapping-note p{margin:5px 0}.empty-editor{text-align:center;flex-direction:column;justify-content:center;align-items:center;height:360px;display:flex}.empty-editor div{display:none}.empty-editor h3{margin:0 0 5px;font-size:15px;font-weight:600}.empty-editor p{color:var(--muted);font-size:11px}.preview{border:1px solid var(--line);border-radius:7px;align-items:center;gap:13px;padding:12px;display:flex}.preview-image{width:108px;height:108px;image-rendering:pixelated;background:#101510;flex:none;place-items:center;display:grid}.preview-image img{object-fit:contain;max-width:100%;max-height:100%;image-rendering:pixelated}.sound-symbol{color:#b9d7bf;width:40px;height:40px}.preview-info{min-width:0}.preview-info>b{overflow-wrap:anywhere;font-size:12px}.preview-info p{font-size:10px;line-height:1.5}.preview-info audio{width:100%;height:32px}.valid{color:var(--accent)}.invalid{color:var(--danger)}.text-button{color:var(--danger);text-underline-offset:3px;background:0 0;border:0;padding:5px 0;font-size:10px;text-decoration:underline}.summary{flex-direction:column;gap:11px;display:flex}.summary>.panel-title{margin-bottom:0}.summary label{color:var(--muted);font-size:11px}.summary label input,.summary textarea{margin-top:5px}.count{font-variant-numeric:tabular-nums;background:#2b382d;border-radius:5px;place-items:center;width:24px;height:24px;display:grid;color:var(--accent)!important}.mini-heading{color:var(--muted);padding-top:4px;font-size:10px}.mini-heading span{float:right;font-variant-numeric:tabular-nums}.changes{max-height:120px;margin:0;padding:0;list-style:none;overflow:auto}.changes li{border-bottom:1px solid var(--line-soft);align-items:flex-start;gap:8px;padding:7px 0;display:flex}.changes li>span{color:var(--accent);font-size:12px}.changes li>div{flex:1;gap:3px;min-width:0;display:grid}.changes b{font-size:10px;font-weight:500}.changes button{color:var(--muted);background:0 0;border:0}.summary-empty{color:var(--muted);margin:0;font-size:11px}.validation{border:1px solid var(--line);background:#202921;border-radius:6px;margin-top:auto;padding:10px}.validation p{color:#bdc9bc;margin:5px 0 0;font-size:10px;line-height:1.5}.export{width:100%;color:var(--accent-ink);background:var(--accent);border-color:var(--accent)}.export:disabled,.secondary:disabled{opacity:.52;cursor:not-allowed}.export span{margin-left:8px;font-size:17px}.secondary{width:100%;color:var(--ink);background:var(--surface-raised)}.backup-actions{justify-content:space-around;display:flex}.backup-actions button,.backup-actions label{color:var(--accent);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;font-size:10px;text-decoration:underline}.install{border-top:1px solid var(--line-soft);padding-top:9px}.install summary{color:var(--ink);cursor:pointer;font-size:11px}.install p,.install small{color:var(--muted);font-size:10px;line-height:1.5}footer{color:var(--muted);border-top:1px solid var(--line-soft);justify-content:flex-end;margin-top:18px;padding:13px 0 22px;font-size:10px;display:flex}footer a{color:var(--muted);text-underline-offset:3px;margin-left:7px}footer a:hover{color:var(--ink)}.empty{color:var(--muted);padding:8px;font-size:11px}.sr-only,.sr-only:not([type=checkbox]){clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.alert,.toast{z-index:3;max-width:520px;color:var(--ink);background:#382d20;border:1px solid #796141;border-radius:7px;padding:14px 17px;font-size:12px;position:fixed;bottom:20px;right:20px;box-shadow:0 8px 28px #0008}.alert button,.toast button{color:#fff;background:0 0;border:0;margin-left:15px;text-decoration:underline}.toast{background:#26382a;border-color:#58734c}.toast.error{background:#49251f;border-color:#9c4e3a}.editing-controls{border:0;min-width:0;margin:0;padding:0}.editing-controls:disabled{opacity:.65}.upload-progress{background:var(--surface);border:1px solid var(--line);border-radius:7px;align-items:center;gap:16px;margin-bottom:12px;padding:12px;display:flex}.upload-progress button{margin-left:auto;padding:8px 12px}@media (width<=1050px){main{padding:0 24px}.workspace{grid-template-columns:minmax(220px,.85fr) minmax(280px,1.15fr)}.summary{grid-column:1/-1;grid-template-columns:1fr 1fr;align-items:start;min-height:auto;display:grid}.summary .panel-title,.mini-heading,.changes,.summary-empty,.validation,.export,.secondary,.backup-actions,.install{grid-column:1/-1}.validation{margin-top:0}}@media (width<=650px){main{padding:0 14px}.top{height:58px}.hero{padding:25px 0 21px}.hero h1{font-size:25px}.intro{font-size:12px}.bar{grid-template-columns:1fr 1fr;gap:9px;padding:11px;display:grid}.bar label{width:auto}.workspace{flex-direction:column;display:flex}.catalog,.editor{min-height:unset}.asset-list{max-height:260px}.summary{display:flex}.summary>.panel-title{margin-bottom:2px}.summary label{width:100%}footer{line-height:1.5;display:block}.preview{align-items:flex-start}.preview-image{width:86px;height:86px}.preview-info{flex:1}.preview-info audio{min-width:0}.drop{min-height:280px}}@media (prefers-reduced-motion:no-preference){.asset,.button{transition:background-color .14s,border-color .14s}}.crop-backdrop{z-index:20;background:#070c09c7;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.crop-dialog{border:1px solid var(--line);background:var(--panel);border-radius:1rem;width:min(100%,28rem);max-height:calc(100dvh - 2rem);padding:1.25rem;overflow:auto;box-shadow:0 1.5rem 5rem #0009}.crop-frame{aspect-ratio:1;border:2px solid var(--accent);background-color:#172019;background-image:linear-gradient(45deg,#26312a 25%,#0000 25%),linear-gradient(-45deg,#26312a 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#26312a 75%),linear-gradient(-45deg,#0000 75%,#26312a 75%);background-position:0 0,0 .5rem,.5rem -.5rem,-.5rem 0;background-size:1rem 1rem;border-radius:.5rem;width:min(100%,20rem);margin:1rem auto;overflow:hidden}.crop-frame img{object-fit:cover;image-rendering:auto;width:100%;height:100%;display:block}.crop-range{color:var(--muted);gap:.5rem;display:grid}.crop-range input{width:100%;accent-color:var(--accent)}.crop-help{color:var(--muted);line-height:1.5}.crop-actions{justify-content:flex-end;gap:.75rem;margin-top:1rem;display:flex}@media (width<=520px){.crop-dialog{padding:1rem}.crop-actions{flex-direction:column-reverse}.crop-actions .button{width:100%}}
