.wardrobe-dialog{width:min(1000px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid #d8dcd2;border-radius:20px;background:#faf9f5;color:#263e36;overflow:auto;box-shadow:0 24px 90px #07151e55;font-family:var(--sans,'Wanted Sans Variable',sans-serif)}
.wardrobe-dialog::backdrop{background:#0b192b9c;backdrop-filter:blur(5px)}
.wardrobe-dialog header{display:flex;align-items:center;justify-content:space-between;padding:25px 30px;border-bottom:1px solid #e0e2d9}.wardrobe-dialog header p{margin:0 0 6px;font-size:13px;color:#6c7b70}.wardrobe-dialog h2{margin:0;font-size:25px;letter-spacing:-.045em;font-weight:600}.wardrobe-dialog button{font:inherit;cursor:pointer;min-height:44px;color:inherit;border:1px solid #d9ded4;background:#fffefa;border-radius:10px}.wardrobe-dialog button:focus-visible{outline:3px solid #6b8e78;outline-offset:3px}.wardrobe-dialog header button{width:44px;border:0;background:transparent;font-size:27px}
.wardrobe-layout{display:grid;grid-template-columns:45% 55%;min-height:440px}.wardrobe-preview{position:relative;display:flex;flex-direction:column;align-items:center;background:#e9ede4;border-radius:0 0 0 14px;padding:12px 22px 22px;min-width:0}.wardrobe-stage{width:100%;height:330px;touch-action:none;cursor:grab}.wardrobe-stage:active{cursor:grabbing}.wardrobe-stage canvas{display:block;width:100%;height:100%}.wardrobe-loading{position:absolute;top:38%;left:15px;right:15px;text-align:center;font-size:14px;color:#526a5c}.wardrobe-loading[hidden]{display:none}.wardrobe-turn,.wardrobe-poses{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.wardrobe-turn button{min-width:44px;padding:0 13px;background:transparent;border-color:#cbd4c7}.wardrobe-poses{margin-top:14px}.wardrobe-poses button{font-size:13px;padding:0 11px}.wardrobe-poses button[aria-pressed=true]{background:#314c40;color:#fff;border-color:#314c40}.wardrobe-preview-note{font-size:13px;color:#63796c;margin:14px 0 0}
.wardrobe-choices{padding:25px 28px;min-width:0}.wardrobe-tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid #e0e2d9;padding-bottom:18px}.wardrobe-tabs button{padding:0 13px;border-color:transparent;background:transparent;font-size:14px}.wardrobe-tabs button[aria-selected=true]{background:#314c40;color:#fff}.wardrobe-choices h3{font-size:15px;margin:24px 0 14px}.wardrobe-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-height:162px;align-content:start}.wardrobe-option-grid button{display:flex;align-items:center;gap:10px;position:relative;padding:13px 15px;text-align:left;font-size:14px}.wardrobe-option-grid button b{margin-left:auto;visibility:hidden;font-size:14px}.wardrobe-option-grid button[aria-pressed=true]{border:1.5px solid #526e59;background:#e9eee3}.wardrobe-option-grid button[aria-pressed=true] b{visibility:visible}.wardrobe-option-grid i{width:25px;height:25px;border-radius:50%;background:var(--swatch);box-shadow:inset 0 0 0 1px #0002;flex-shrink:0}.wardrobe-actions{display:flex;gap:9px;margin-top:22px}.wardrobe-actions button{padding:0 16px;font-size:13px}.wardrobe-privacy{font-size:13px;color:#738176;line-height:1.8;margin:19px 0 0}.wardrobe-dialog footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #dce1d6;padding:18px 28px;background:#faf9f5}.wardrobe-status{font-size:13px;color:#738176;line-height:1.6;margin:0;max-width:250px}.wardrobe-dialog footer>div{display:flex;gap:8px}.wardrobe-dialog footer button{padding:0 21px;font-size:14px}.wardrobe-dialog footer [data-apply]{background:#314c40;color:#fff;border-color:#314c40}
@media(max-width:700px){.wardrobe-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.wardrobe-dialog header{padding:17px 19px}.wardrobe-dialog h2{font-size:20px}.wardrobe-layout{grid-template-columns:1fr}.wardrobe-preview{padding:0 12px 16px}.wardrobe-stage{height:235px}.wardrobe-turn button{min-height:36px;font-size:13px}.wardrobe-poses{margin-top:8px}.wardrobe-preview-note{display:none}.wardrobe-choices{padding:18px}.wardrobe-tabs{gap:4px;padding-bottom:12px}.wardrobe-tabs button{padding:0 10px;min-height:40px}.wardrobe-option-grid{min-height:0}.wardrobe-choices h3{margin-top:18px}.wardrobe-dialog footer{padding:12px 16px;flex-direction:column;align-items:stretch;gap:8px}.wardrobe-status{max-width:none;font-size:11px}.wardrobe-dialog footer>div{display:grid;grid-template-columns:65px 1fr}.wardrobe-dialog footer button{padding:0 10px}.wardrobe-privacy{margin-bottom:0}}
.xp-wardrobe-link{width:100%;padding:14px 16px;margin:0 0 14px;border:1px solid #bdcdb8;border-radius:9px;background:#e9eee3;color:#314c40;font:inherit;text-align:left;cursor:pointer}
@media(prefers-reduced-motion:reduce){.wardrobe-dialog *{scroll-behavior:auto}}
