#wardrobe-dialog{width:min(820px,calc(100vw - 32px));max-height:90dvh;overflow:auto;padding:24px;border:1px solid var(--ink);border-radius:2px;background:var(--paper);color:var(--ink);box-shadow:none}
#wardrobe-dialog h2{font-size:26px;margin-bottom:20px}#wardrobe-dialog h3{margin-bottom:8px}#wardrobe-dialog p{font-size:14px}#wardrobe-dialog button{min-height:44px}#wardrobe-dialog label{display:grid;gap:6px;font-size:14px}#wardrobe-dialog input,#wardrobe-dialog select{min-width:0;width:100%;min-height:44px}#wardrobe-dialog .check-label input{width:20px;min-height:20px;height:20px;flex-shrink:0}#username-section{border-bottom:1px solid var(--rule);padding-bottom:24px;margin-bottom:24px}#username-form>label{max-width:360px}#username-rules{margin:8px 0 16px}.username-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}#username-confirmation{margin-top:16px}#username-error:not(:empty),#wardrobe-error:not(:empty){color:#b91c1c;margin:12px 0}
.wardrobe-layout{display:grid;grid-template-columns:192px minmax(0,1fr);gap:28px;align-items:start}.avatar-stage{margin:0;text-align:center}.avatar-stage canvas{display:block;width:192px;max-width:100%;height:auto;image-rendering:pixelated}.avatar-stage figcaption{display:grid;gap:4px;margin-top:12px;font-size:13px;overflow-wrap:anywhere}.avatar-stage figcaption span{color:var(--muted)}.wardrobe-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0 20px}.wardrobe-help{margin:0}.wardrobe-progress{border-top:1px solid var(--rule);padding-top:24px;margin-top:28px}.wardrobe-progress ul{list-style:none;padding:0;margin:18px 0}.wardrobe-progress li{display:grid;grid-template-columns:140px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid var(--rule);font-size:14px}.wardrobe-progress li span{color:var(--muted)}#identity-onboarding{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0 0;font-size:14px}#identity-onboarding p{margin:0}#identity-onboarding button{min-height:44px}
@media(max-width:600px){#wardrobe-dialog{padding:18px;max-height:92dvh}.wardrobe-layout{grid-template-columns:1fr;gap:24px}.avatar-stage{display:grid;grid-template-columns:96px 1fr;gap:18px;align-items:center;text-align:left}.avatar-stage canvas{width:96px}.avatar-stage figcaption{margin:0}.wardrobe-controls{gap:14px 12px}.wardrobe-progress li{grid-template-columns:1fr;gap:4px}}
@media(max-width:360px){.wardrobe-controls{grid-template-columns:1fr}}
