.modelbox{position:relative}.body-summary{background:#f8f0e9;padding:16px;margin:12px 0 0;border-radius:10px;text-align:left}.body-summary strong{font-size:14px;color:#8c4937}.body-summary small{font-size:11px;color:#8d7c71}.body-summary #bodySummary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.body-summary span{font-size:12px;white-space:nowrap}.text-button{border:0;background:none;color:#9b3b2c;font-size:12px;cursor:pointer;padding:6px}.wardrobe-actions,.wardrobe-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.wardrobe-actions button,.wardrobe-tabs button,.wardrobe-recovery button,.stylist-card button{padding:9px 12px;border:1px solid #e0cabe;background:#fffaf6;border-radius:7px;color:#884733;cursor:pointer;font-size:12px}.wardrobe-tabs{border-bottom:1px solid #f0e4dc;padding-bottom:12px}.wardrobe-tabs .on{background:#9b3b2c;color:white;border-color:#9b3b2c}.wardrobe-badge{font-size:11px;color:#9b3b2c;white-space:nowrap}.outfit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wardrobe-outfit{padding:14px;background:#fffdfb;border:1px solid #eee1d8;border-radius:10px;min-width:0}.wardrobe-outfit h3{font-size:14px;line-height:1.6;margin:7px 0 12px}.wardrobe-outfit .hint{margin:12px 0;font-size:11px;line-height:1.7}.outfit-meta{font-size:10px;color:#ac8066}.wardrobe-images{display:flex;gap:7px}.wardrobe-product{display:block;background:none;border:0;padding:0;text-align:left;color:#51433b;cursor:pointer;min-width:0;flex:1}.wardrobe-product img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:6px}.wardrobe-product span{display:block;font-size:11px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wardrobe-primary{width:100%;background:#9b3b2c;color:white;border:0;padding:10px;border-radius:6px;cursor:pointer}.wardrobe-primary:disabled{background:#f0e5dc;color:#9a7a66}.season-label{display:flex;gap:10px;align-items:center;font-size:12px;margin:12px 0 18px}.season-label select,.stylist-card select,#preferredAdvisor{padding:8px;border:1px solid #e2cfc1;border-radius:6px;background:#fff;color:#59483b}.wardrobe-empty{grid-column:1/-1;font-size:13px;color:#968071;padding:22px 6px;line-height:1.8}.wardrobe-history{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wardrobe-history>h3{grid-column:1/-1;font-size:12px;color:#958172}.purchase-status{font-size:11px;color:#3c7454;background:#edf5eb;padding:8px;border-radius:5px}.wardrobe-recovery{margin-top:22px;font-size:12px;color:#907765;border-top:1px solid #ecdfd3;padding-top:15px}.wardrobe-recovery label{display:block;margin:12px 0}.wardrobe-recovery input{max-width:100%;padding:8px;margin-left:8px}.wardrobe-recovery .hint{margin-top:12px;line-height:1.7}#wardrobeStatus{font-size:12px;color:#647257;line-height:1.7}#wardrobeStatus.wardrobe-error{color:#ad3830}.wardrobe-dialog{width:min(94vw,720px);max-height:88vh;overflow:auto;border:0;border-radius:14px;padding:28px;color:#4e3e33}.wardrobe-dialog::backdrop{background:#36251d88}.wardrobe-dialog>img{width:100%;max-height:340px;object-fit:contain}.wardrobe-dialog>h2{margin-top:18px}.stylist-card{border:1px solid #e5d7ca;background:#fbf8f3;padding:15px;border-radius:9px;margin:14px 0;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.stylist-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#e8d4c1;color:#785b43;font-size:22px}.stylist-card>div{flex:1;min-width:160px}.stylist-card h3{font-size:14px;margin:0 0 5px}.stylist-card p,.stylist-card small{font-size:11px;line-height:1.7;margin:5px 0}.stylist-card .hint{flex-basis:100%;margin:0}.product-specs{display:grid;grid-template-columns:70px 1fr;gap:10px;font-size:12px}.product-specs dt{color:#a18e80}.product-specs dd{margin:0}.field label{font-size:12px;display:block;margin-bottom:7px}.field label span{color:#a9392d}#modelFeatured .wardrobe-product{flex:0 0 130px}#modelFeatured{margin-bottom:14px}.wardrobe-dialog .wardrobe-outfit{margin-top:12px}@media(max-width:520px){.body-summary #bodySummary{grid-template-columns:repeat(2,1fr)}.outfit-grid,.wardrobe-history{grid-template-columns:minmax(0,1fr)}.selection-heading{flex-wrap:wrap}.wardrobe-dialog{padding:22px 16px}.wardrobe-badge{white-space:normal}}
.wardrobe-images .wardrobe-product img{height:220px;aspect-ratio:auto;object-fit:contain;background:#f6f1eb}.wardrobe-dialog .stylist-card{margin-top:20px}
/* 人脸上传：无文字头像占位，自定义按钮替代浏览器文件控件 */
.face-upload{padding:18px 0 20px;gap:22px}.face-avatar-wrap{position:relative;flex:0 0 96px}.face-pick{border:0;background:none;padding:0;display:block;width:96px;height:96px;cursor:pointer;position:relative;border-radius:50%}.face-pick .faceprev{display:block;width:96px;height:96px;border:0;border-radius:50%;object-fit:cover;background:#f5eee7}.face-camera{position:absolute;bottom:0;right:0;width:29px;height:29px;display:grid;place-items:center;border:3px solid #fff;border-radius:50%;background:#9b5f47;color:#fff;box-sizing:content-box}.face-camera svg{width:16px;height:16px}.face-remove{position:absolute;top:-4px;right:-5px;width:24px;height:24px;border:1px solid #e9dacf;background:white;border-radius:50%;color:#956d56;cursor:pointer;font-size:18px;line-height:18px}.face-choose{padding:10px 20px;border:1px solid #dfc9ba;border-radius:8px;background:#fffaf6;color:#8a523b;font-size:13px;cursor:pointer}.face-choose:hover{background:#f5eade;border-color:#c49c82}.face-upload-copy p{font-size:11px;color:#a08c7c;margin:9px 0 0}.face-upload-copy #faceStatus{color:#ad4537;max-width:250px}.face-upload-copy #faceStatus:empty{display:none}.face-demo{border-top:1px solid #f1e7df;padding-top:14px;display:flex;align-items:center;gap:8px;line-height:1.7}.face-demo img{margin:0;width:42px;height:48px;border-radius:8px}.image-fallback{object-fit:contain!important;background:#f6f0ea!important}.stylist-card .stylist-avatar{object-fit:cover;flex:0 0 46px;border-radius:50%;height:46px}.face-pick:focus-visible,.face-choose:focus-visible{outline:3px solid #c6a087;outline-offset:4px}@media(max-width:420px){.face-upload{flex-wrap:nowrap;gap:18px}.face-demo{font-size:11px;flex-wrap:wrap}.face-upload-copy{min-width:0}}

.catalog-navigation{margin-top:18px}.catalog-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 14px;margin:18px 0 24px}.catalog-shelf .wardrobe-product img{object-fit:contain;background:#f6f1eb}.catalog-shelf .wardrobe-product span{white-space:normal;line-height:1.6}.wardrobe-dialog section[hidden]{display:none}@media(max-width:520px){.catalog-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}}
/* 衣柜内统一按钮分类；独立业务面板共享当前位置。 */
#wardrobeSection [hidden]{display:none!important}
.wardrobe-tab-panel{min-width:0;max-width:100%;margin-top:16px}
#personalWardrobeFrame{display:block;width:100%;height:640px;border:0;background:transparent}
.wardrobe-tabs button{min-height:42px}
#wardrobeEffectsPanel .service-record{min-width:0}

#wardrobeSection > .wardrobe-tabs{display:grid;gap:12px}.wardrobe-tab-group{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.wardrobe-tab-heading{width:100%;font-size:11px;color:#8d7c71}.wardrobe-tab-group button{min-height:42px}
