/* A real dressing corner with the live character and native controls. */
.wardrobe{background:#f6eddb;animation:none}
.wardrobe .wardrobe-head{flex:none;position:relative;z-index:2;padding:calc(12px + env(safe-area-inset-top)) 18px 12px;gap:13px;background:#fbf3e3;border-bottom:1px solid #c7a77d6b;box-shadow:0 3px 14px #78552e0c}
.wardrobe-head .round-button{width:42px;height:42px;border:1.5px solid #b89971;background:#fff8e8;box-shadow:0 2px 0 #dbc6a5;color:#785337}
.wardrobe .wardrobe-head h2{font-size:24px;letter-spacing:3px;margin:0 0 3px;color:#65442c}
.wardrobe .wardrobe-head small{font-size:10px;letter-spacing:.7px;color:#9d7957}
.wardrobe .wardrobe-count{margin-left:auto;text-align:center;font-size:19px;line-height:1.2;color:#8c7655;padding:4px 9px;border-left:1px dashed #c9b48f}
.wardrobe .wardrobe-count small{font-size:8px;letter-spacing:1px}
.wardrobe .dressing-stage{flex:1;min-height:180px;isolation:isolate;position:relative;overflow:hidden;background:#ead7b4 url(assets/wardrobe-corner-v1.png) center bottom/cover no-repeat}
.wardrobe .dressing-avatar{z-index:2;left:32%;bottom:7%;height:86%;width:auto;max-height:470px;aspect-ratio:2/3;transform:translateX(-50%);pointer-events:none}
.wardrobe .dressing-avatar::after{content:'';position:absolute;z-index:-1;left:28%;right:28%;bottom:3.7%;height:2.5%;border-radius:50%;background:#765a3740;filter:blur(3px)}
.wardrobe .wardrobe-bottom{position:relative;z-index:3;flex:none;padding:11px 17px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #d4bd97;border-radius:24px 24px 0 0;margin-top:-13px;background:repeating-linear-gradient(0deg,#bda37b06 0 1px,transparent 1px 4px),repeating-linear-gradient(90deg,#bda37b05 0 1px,transparent 1px 5px),#fbf3e2;box-shadow:0 -4px 16px #7b542c0c}
.wardrobe-categories{display:flex;flex-wrap:nowrap;gap:7px;overflow-x:auto;padding:0 0 10px;border-bottom:1px solid #dcc7a47a;scrollbar-width:none}
.wardrobe-categories::-webkit-scrollbar,.wardrobe .outfit-grid::-webkit-scrollbar{display:none}
.wardrobe-categories button{flex:1 0 62px;min-height:36px;padding:7px 11px;border-radius:14px;background:transparent;font-size:12px;letter-spacing:1px;color:#826343;border:1px solid transparent}
.wardrobe-categories button[aria-pressed=true]{background:#8d9e76;color:#fffaf0;border-color:#7b8c64;box-shadow:inset 0 0 0 3px #b8c3a540}
.wardrobe-shelf{position:relative;min-height:118px;margin-top:9px}
.wardrobe .outfit-grid{display:flex;gap:9px;overflow-x:auto;overflow-y:hidden;padding:8px 2px 4px;scrollbar-width:none;scroll-snap-type:x proximity;touch-action:pan-x;overscroll-behavior-x:contain}
.wardrobe .outfit-card{flex:0 0 92px;min-height:117px;border-radius:15px 15px 10px 10px;padding:6px 3px 8px;border:1px solid #cdb087;background:linear-gradient(115deg,#fff8e9,#eee0c5);box-shadow:0 2px 0 #d5c2a474;overflow:visible;scroll-snap-align:start}
.wardrobe .outfit-card::before{content:'';position:absolute;left:calc(50% - 3px);top:-7px;width:6px;height:12px;border-radius:5px;background:#bf9670;border:1px solid #8b684a;box-shadow:0 1px 0 #fff2d8}
.wardrobe .outfit-card[aria-pressed=true]{border:2px solid #8c9e72;padding:5px 2px 7px;background:linear-gradient(115deg,#f9f7e7,#e7ecd7)}
.wardrobe .outfit-thumbnail{height:82px;width:100%;position:relative;overflow:hidden}
.wardrobe .outfit-thumbnail .puppet-rig,.wardrobe .outfit-thumbnail .rig-fallback{position:absolute;height:220%;width:auto;aspect-ratio:2/3;top:-113%;bottom:auto;left:50%;right:auto;transform:translateX(-50%)}
.wardrobe .outfit-card>span:last-child{font-size:9px;letter-spacing:0;white-space:nowrap;margin-top:3px}
.wardrobe .outfit-card b{z-index:3;right:4px;top:3px;width:17px;height:17px;line-height:17px;background:#8a9d73;box-shadow:0 0 0 2px #fff7e7}
.selection-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:9px 2px 0;min-height:35px}
.selection-meta>div{display:flex;align-items:center;gap:8px;min-width:0}
.selection-meta small{font-size:8px;color:#a58c6c;white-space:nowrap}
.selection-meta strong{font-size:11px;font-weight:500;color:#755737;white-space:nowrap}
.favorite-outfit{display:flex;align-items:center;gap:4px;flex:none;background:none;min-height:35px;padding:5px;font-size:9px;color:#9d8666}
.favorite-outfit svg{width:18px;height:18px;stroke-width:1.7}
.favorite-outfit[aria-pressed=true]{color:#bb7e78}
.favorite-outfit[aria-pressed=true] svg{fill:#dba9a05c}
.wardrobe .primary-button{min-height:47px;border-radius:19px;background:#8c9d73;border:1px solid #75875f;box-shadow:0 3px 0 #d5c3a1,inset 0 0 0 4px #ffffff12;font-size:14px;letter-spacing:2px;margin-top:8px}
.wardrobe-empty{margin:0;display:grid;place-items:center;text-align:center;height:118px;font-size:10px;line-height:1.8;color:#a18a68;padding:15px 30px}
@media(max-height:720px){.wardrobe .wardrobe-head{padding-top:9px;padding-bottom:8px}.wardrobe .wardrobe-head h2{font-size:21px}.wardrobe .wardrobe-bottom{padding-top:8px;padding-bottom:9px}.wardrobe-categories{padding-bottom:6px}.wardrobe-categories button{min-height:31px;padding:5px 9px}.wardrobe-shelf{min-height:95px;margin-top:5px}.wardrobe .outfit-card{min-height:93px;flex-basis:85px}.wardrobe .outfit-thumbnail{height:62px}.selection-meta{margin-top:5px;min-height:28px}.wardrobe .primary-button{min-height:40px;margin-top:4px}.wardrobe-empty{height:95px}.wardrobe .dressing-avatar{height:86%;max-height:365px}}
@media(max-width:350px){.wardrobe .wardrobe-bottom{padding-left:12px;padding-right:12px}.wardrobe .outfit-card{flex-basis:85px}.wardrobe-categories{gap:2px}.selection-meta strong{font-size:10px}.wardrobe .dressing-avatar{left:32%;height:82%}}
