#app{height:100dvh}#work{flex:1;grid-template-columns:290px minmax(0,1fr) 340px;min-height:0;display:grid}.intro-warn{color:var(--danger);max-width:52ch}select,input[type=search]{background:var(--plate);border:1px solid var(--plate-line);border-radius:4px;min-width:0;padding:5px 8px}input[type=search]::placeholder{color:var(--muted)}.btn.small{padding:3px 10px;font-size:13px}.count,.note{color:var(--muted);margin:6px 0;font-size:13px}.note.error{color:var(--danger)}.outfit{border-right:1px solid var(--rule);min-height:0;padding:14px 14px 10px;overflow-y:auto}.body-pick{gap:10px;margin-bottom:12px;display:flex}.body-pick label{color:var(--muted);flex-direction:column;flex:1;gap:3px;font-size:12px;display:flex}.slots{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.slot{border:1px solid #0000;border-radius:6px;flex-wrap:wrap;align-items:center;gap:6px;padding:6px;display:flex}.slot.active{border-color:var(--plate-line);background:var(--plate)}.slot-pick{text-align:left;cursor:pointer;background:0 0;border:0;flex:100%;align-items:center;gap:10px;min-width:0;padding:0;display:flex}.slot-icon{background:var(--plate-deep);border:1px solid var(--rule);border-radius:4px;flex:none;width:40px;height:40px}.slot-text{flex-direction:column;min-width:0;display:flex}.slot-name{color:var(--muted);font-size:12px}.slot-skin{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.slot-dyes{gap:3px;margin-left:50px;margin-right:auto;display:flex}.slot-dyes i{border:1px solid #ffffff40;border-radius:3px;width:14px;height:14px}.stage{min-width:0;min-height:0;position:relative}.stage canvas{touch-action:none;width:100%;height:100%;display:block}.stage-tools{align-items:center;gap:12px;display:flex;position:absolute;top:10px;left:12px}.stage-msg{color:var(--left);margin:0;font-size:13px;position:absolute;bottom:8px;left:12px}.picker{border-left:1px solid var(--rule);flex-direction:column;min-height:0;display:flex}.tabs{border-bottom:1px solid var(--rule);display:flex}.tab{cursor:pointer;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;flex:1;padding:10px}.tab[aria-selected=true]{color:var(--paper);border-bottom-color:var(--left)}.pane{flex-direction:column;flex:1;min-height:0;padding:10px 12px 0;display:flex}.filters{flex-direction:column;gap:8px;display:flex}.filter-row{gap:10px;display:flex}.filter-row label{color:var(--muted);align-items:center;gap:6px;font-size:13px;display:flex}.skin-list{flex:1;min-height:0;margin:0 -12px;padding:0 6px 12px;list-style:none;overflow-y:auto}.skin{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;align-items:center;gap:10px;width:100%;padding:5px 6px;display:flex}.skin:hover{border-color:var(--plate-line)}.skin.worn{background:var(--plate);border-color:var(--left)}.skin img{background:var(--plate);border-radius:3px;flex:none;width:40px;height:40px}.skin-text{flex-direction:column;min-width:0;display:flex}.skin-meta{color:var(--muted);font-size:12px}.dye-for{color:var(--paper);margin:0 0 8px}.channels{grid-template-columns:1fr 1fr;gap:6px;margin-bottom:10px;display:grid}.channels .btn{grid-column:span 2;justify-self:start}.channel{border:1px solid var(--plate-line);text-align:left;cursor:pointer;background:0 0;border-radius:4px;align-items:center;gap:8px;min-width:0;padding:5px 7px;display:flex}.channel.active{border-color:var(--left);background:var(--plate)}.channel:disabled{opacity:.45;cursor:default}.channel span{flex-direction:column;min-width:0;line-height:1.25;display:flex}.channel small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chip{background:repeating-linear-gradient(45deg, var(--plate), var(--plate) 4px, var(--plate-deep) 4px, var(--plate-deep) 8px);border:1px solid #ffffff40;border-radius:4px;flex:none;width:22px;height:22px}.swatches{flex:1;grid-template-columns:repeat(auto-fill,minmax(28px,1fr));align-content:start;gap:4px;min-height:0;padding-bottom:12px;display:grid;overflow-y:auto}.swatch{aspect-ratio:1;cursor:pointer;border:1px solid #ffffff26;border-radius:3px;padding:0}.swatch:hover{border-color:var(--paper)}.swatch.active{outline:2px solid var(--left);outline-offset:1px}@media (max-width:1000px){#app{height:auto;min-height:100dvh}#work{grid-template-rows:auto;grid-template-columns:1fr}.stage{order:-1;height:min(70vh,520px)}.outfit{border-right:0;border-bottom:1px solid var(--rule)}.slots{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));display:grid}.picker{border-left:0;height:80vh}}
