.wardrobe-page{overflow:hidden}.wardrobe-studio-layout{height:100%;padding:76px 22px 22px;display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:14px;background:#090e14;color:#e8edf1}.wardrobe-workbench,.wardrobe-assets-panel{min-height:0;border:1px solid #ffffff16;border-radius:16px;background:#0e161f}.wardrobe-workbench{display:grid;grid-template-rows:auto minmax(280px,1fr) auto;padding:18px}.wardrobe-workbench>header,.wardrobe-assets-panel>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.wardrobe-workbench small,.wardrobe-assets-panel small{color:#ff8b79;font-size:10px;font-weight:800;letter-spacing:.12em}.wardrobe-workbench h1,.wardrobe-assets-panel h2{margin:4px 0 0}.wardrobe-workbench h1{font-size:26px}.wardrobe-assets-panel h2{font-size:22px}.wardrobe-compare-tabs,.wardrobe-asset-filter{display:flex;gap:4px}.wardrobe-compare-tabs button,.wardrobe-asset-filter button,.wardrobe-assets-panel header button{border:1px solid #ffffff18;border-radius:8px;background:#141f2a;color:#82909c;padding:7px 10px;cursor:pointer}.wardrobe-compare-tabs button.active,.wardrobe-asset-filter button.active{background:#e8edf1;color:#111820}.wardrobe-canvas{position:relative;min-height:0;margin:16px 0;overflow:hidden;border-radius:14px;background:#080d12}.wardrobe-canvas.empty{border:1px dashed #ffffff25}.wardrobe-canvas #wardrobe-drop{height:100%;min-height:360px;display:grid;place-content:center;justify-items:center;gap:8px;color:#748291}.wardrobe-canvas #wardrobe-drop b{color:#e7edf1;font-size:18px}.wardrobe-canvas #wardrobe-drop button{margin-top:10px;padding:10px 16px;border:0;border-radius:9px;background:#ff7966;color:#fff;font-weight:800;cursor:pointer}#wardrobe-compare{position:absolute;inset:0;overflow:hidden}#wardrobe-result-image,#wardrobe-source-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}#wardrobe-before-layer{position:absolute;inset:0;width:50%;overflow:hidden}#wardrobe-before-layer img{width:calc(100vw - 410px);max-width:none}#wardrobe-mask{position:absolute;inset:0;width:100%;height:100%;touch-action:none;pointer-events:none}#wardrobe-compare-handle{position:absolute;top:0;bottom:0;left:50%;width:2px;padding:0;border:0;background:#f4f7f9;cursor:ew-resize}#wardrobe-compare-handle:after{content:'↔';position:absolute;top:50%;left:50%;display:grid;place-items:center;width:34px;height:34px;transform:translate(-50%,-50%);border-radius:50%;background:#edf1f4;color:#101820}.wardrobe-canvas.painting #wardrobe-mask{pointer-events:auto;cursor:crosshair}.wardrobe-canvas.painting #wardrobe-compare-handle{display:none}.wardrobe-canvas.split #wardrobe-before-layer{right:50%;width:50%}.wardrobe-canvas.split #wardrobe-before-layer img{width:200%}.wardrobe-canvas.split #wardrobe-result-image{left:50%;width:50%}.wardrobe-canvas.split #wardrobe-compare-handle{left:50%;cursor:default}.wardrobe-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.wardrobe-tools>button,.wardrobe-upscale{min-width:0;border:1px solid #ffffff18;border-radius:10px;background:#141f2a;color:#dce4ea}.wardrobe-tools button{width:100%;min-height:52px;padding:8px 10px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.wardrobe-tools button:disabled{opacity:.4;cursor:wait}.wardrobe-tools button:active{transform:translateY(1px)}.wardrobe-tools b,.wardrobe-tools small{display:block}.wardrobe-tools b{font-size:11px}.wardrobe-tools small{margin-top:3px;color:#738190;font-size:9px}.wardrobe-upscale{display:grid;grid-template-columns:1fr auto}.wardrobe-upscale select{margin:8px;border:1px solid #ffffff20;border-radius:7px;background:#0b1219;color:#e8edf1}.wardrobe-assets-panel{display:grid;grid-template-rows:auto auto 1fr;padding:16px}.wardrobe-asset-filter{margin:16px 0 10px}.wardrobe-assets-panel .wardrobe-items{display:grid;grid-template-columns:1fr;gap:8px;overflow:auto}.wardrobe-assets-panel .wardrobe-items article{display:grid;grid-template-columns:74px 1fr;gap:10px;padding:8px;border-radius:11px}.wardrobe-assets-panel .wardrobe-items img{width:74px;height:74px;border-radius:8px;object-fit:cover;background:#080d12}.wardrobe-asset-meta{display:grid;align-content:center;gap:5px}.wardrobe-asset-kind{color:#ff8b79!important}#wardrobe-task-state{position:absolute;top:12px;left:50%;z-index:6;transform:translateX(-50%);padding:8px 12px;border-radius:8px;background:#0d1722e8;color:#dfe7ed;font-size:11px}#wardrobe-result-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}#wardrobe-3d-preview{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:12px;background:#080d12}#wardrobe-3d-preview a{padding:9px 13px;border-radius:8px;background:#ff7966;color:#fff;text-decoration:none;font-weight:800}@media(max-width:980px){.wardrobe-page{overflow:auto}.wardrobe-studio-layout{height:auto;grid-template-columns:1fr;padding:72px 12px 90px}.wardrobe-workbench{min-height:720px}.wardrobe-assets-panel{min-height:420px}.wardrobe-tools{grid-template-columns:repeat(2,minmax(0,1fr))}#wardrobe-before-layer img{width:calc(100vw - 60px)}}
#wardrobe-compare[hidden],#wardrobe-result-video[hidden],#wardrobe-3d-preview[hidden],#wardrobe-task-state[hidden]{display:none!important}
#wardrobe-3d-canvas[hidden],.wardrobe-view-tabs[hidden],.wardrobe-credit-dialog button[hidden]{display:none!important}.wardrobe-workbench-controls{display:flex;align-items:center;gap:8px}.wardrobe-view-tabs{display:flex;padding:3px;border:1px solid #ffffff18;border-radius:9px;background:#0a1118}.wardrobe-view-tabs button{border:0;border-radius:6px;background:transparent;color:#7f8d98;padding:6px 10px;font-weight:750;cursor:pointer}.wardrobe-view-tabs button.active{background:#ff7966;color:#fff}.wardrobe-view-tabs button:disabled{opacity:.35;cursor:not-allowed}#wardrobe-3d-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}#wardrobe-3d-canvas:active{cursor:grabbing}.wardrobe-credit-dialog{width:min(400px,calc(100vw - 32px));padding:0;border:1px solid #ffffff1f;border-radius:15px;background:#101922;color:#e8edf1;box-shadow:0 24px 90px #000b}.wardrobe-credit-dialog::backdrop{background:#02070cc7;backdrop-filter:blur(4px)}.wardrobe-credit-dialog form{padding:22px}.wardrobe-credit-dialog small{color:#ff8b79;font-size:10px;font-weight:800;letter-spacing:.12em}.wardrobe-credit-dialog h2{margin:7px 0 8px;font-size:22px}.wardrobe-credit-dialog p{min-height:42px;margin:0;color:#93a0aa;line-height:1.55}.wardrobe-credit-balance{display:flex;justify-content:space-between;align-items:center;margin:18px 0;padding:13px 14px;border:1px solid #ffffff14;border-radius:10px;background:#0a1219}.wardrobe-credit-balance span{color:#81909b;font-size:12px}.wardrobe-credit-balance b{font-size:13px}.wardrobe-credit-balance i{color:#ff8b79;font-style:normal;font-size:18px}.wardrobe-credit-dialog footer{display:flex;justify-content:flex-end;gap:7px}.wardrobe-credit-dialog footer button{border:1px solid #ffffff1c;border-radius:8px;background:#192530;color:#cbd4da;padding:9px 13px;font-weight:750;cursor:pointer}.wardrobe-credit-dialog #wardrobe-credit-confirm,.wardrobe-credit-dialog #wardrobe-credit-recharge{border-color:#ff7966;background:#ff7966;color:#fff}@media(max-width:700px){.wardrobe-workbench>header{align-items:flex-start}.wardrobe-workbench-controls{align-items:flex-end;flex-direction:column}.wardrobe-view-tabs button,.wardrobe-compare-tabs button{padding:6px 8px}}
.wardrobe-compare-labels{position:absolute;inset:12px 12px auto;z-index:5;display:flex;justify-content:space-between;pointer-events:none}.wardrobe-compare-labels span{padding:5px 8px;border-radius:6px;background:#071019c9;color:#dce5ea;font-size:10px;font-weight:800}.wardrobe-compare.pristine #wardrobe-before-layer,.wardrobe-compare.pristine #wardrobe-compare-handle,.wardrobe-compare.pristine .wardrobe-compare-labels{display:none}.wardrobe-canvas.uploading #wardrobe-drop{pointer-events:none;opacity:.55}.wardrobe-save-control{display:grid;grid-template-columns:auto 1fr;min-width:0;border:1px solid #ff796666;border-radius:10px;background:#141f2a;overflow:hidden}.wardrobe-save-control select{margin:8px 2px 8px 8px;border:1px solid #ffffff20;border-radius:7px;background:#0b1219;color:#e8edf1}.wardrobe-save-control button{color:#fff!important}.wardrobe-save-control small{color:#ff9b8c!important}
.wardrobe-workbench-controls{gap:10px}.wardrobe-compare-tabs{padding:3px;border:1px solid #ffffff18;border-radius:9px;background:#0a1118;gap:0}.wardrobe-compare-tabs button{border:0;border-radius:6px;background:transparent;color:#7f8d98;padding:6px 10px;font-weight:750}.wardrobe-compare-tabs button.active{background:#ff7966;color:#fff}
.wardrobe-canvas.split #wardrobe-before-layer{inset:0 50% 0 0;width:auto;border-right:1px solid #ffffff42;overflow:hidden}.wardrobe-canvas.split #wardrobe-before-layer img{inset:0;width:100%;max-width:none}.wardrobe-canvas.split #wardrobe-result-image{inset:0 0 0 50%;width:50%;height:100%}.wardrobe-canvas.split #wardrobe-compare-handle{left:50%;width:1px;background:#ffffff70;pointer-events:none}.wardrobe-canvas.split #wardrobe-compare-handle:after{display:none}.wardrobe-canvas.split .wardrobe-compare-labels{inset:12px 12px auto;display:grid;grid-template-columns:1fr 1fr;gap:24px}.wardrobe-canvas.split .wardrobe-compare-labels span:last-child{justify-self:start}
#wardrobe-compare.focus-third #wardrobe-result-image,#wardrobe-compare.focus-third #wardrobe-source-image{transform:scale(3);transition:transform .24s ease;will-change:transform}#wardrobe-compare[data-focus-third="top"] #wardrobe-result-image,#wardrobe-compare[data-focus-third="top"] #wardrobe-source-image{transform-origin:50% 0}#wardrobe-compare[data-focus-third="middle"] #wardrobe-result-image,#wardrobe-compare[data-focus-third="middle"] #wardrobe-source-image{transform-origin:50% 50%}#wardrobe-compare[data-focus-third="bottom"] #wardrobe-result-image,#wardrobe-compare[data-focus-third="bottom"] #wardrobe-source-image{transform-origin:50% 100%}#wardrobe-result-image,#wardrobe-source-image{transition:transform .2s ease;user-select:none}#wardrobe-compare.focus-third .wardrobe-compare-labels{opacity:0}
.wardrobe-module-header{position:absolute;z-index:4;inset:18px 22px auto;display:flex;align-items:center;justify-content:space-between;color:#e8edf1}.wardrobe-module-header small{color:#ff8b79;font-size:10px;font-weight:800;letter-spacing:.12em}.wardrobe-module-header h1{margin:2px 0 0;font-size:24px}.wardrobe-module-header nav{display:flex;padding:3px;border:1px solid #ffffff18;border-radius:10px;background:#0e161f}.wardrobe-module-header button{min-height:34px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:#84919c;font-weight:750;cursor:pointer}.wardrobe-module-header button.active{background:#e8edf1;color:#111820}.wardrobe-room-module{height:100%;padding:76px 22px 22px;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;background:#090e14;color:#e8edf1}.wardrobe-room-stage,.wardrobe-room-library{min-height:0;border:1px solid #ffffff16;border-radius:16px;background:#0e161f}.wardrobe-room-stage{display:grid;grid-template-rows:minmax(0,1fr) auto;padding:18px}.wardrobe-room-preview{display:grid;place-items:center;min-height:300px;overflow:hidden;border-radius:13px;background:#070c11}.wardrobe-room-preview>div{display:grid;gap:7px;text-align:center;color:#748291}.wardrobe-room-preview b{color:#dfe6eb}.wardrobe-room-preview img,.wardrobe-room-preview video{width:100%;height:100%;object-fit:contain}.wardrobe-room-copy{padding:20px 4px 4px}.wardrobe-room-copy h2{margin:0;font-size:24px}.wardrobe-room-copy p{max-width:58ch;margin:8px 0 12px;color:#84929d;line-height:1.55}.wardrobe-room-copy strong{color:#ff8b79;font-size:11px}.wardrobe-room-library{display:grid;grid-template-rows:auto minmax(150px,1fr) auto;padding:16px}.wardrobe-room-library>header{display:flex;align-items:center;justify-content:space-between}.wardrobe-room-library small{color:#ff8b79;font-size:10px;font-weight:800;letter-spacing:.12em}.wardrobe-room-library h2{margin:4px 0 0;font-size:20px}.wardrobe-room-library>header button{padding:7px 10px;border:1px solid #ffffff18;border-radius:8px;background:#141f2a;color:#aab5bd;cursor:pointer}.wardrobe-room-list{display:grid;align-content:start;gap:8px;margin-top:14px;overflow:auto}.wardrobe-room-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:8px;border:1px solid #ffffff14;border-radius:12px;background:#111b25}.wardrobe-room-open{display:grid;grid-template-columns:76px 1fr;align-items:center;gap:10px;min-width:0;padding:0;border:0;background:transparent;color:#e6ecf0;text-align:left;cursor:pointer}.wardrobe-room-open img,.wardrobe-room-open i{display:block;width:76px;height:58px;border-radius:8px;background:#080d12;object-fit:cover}.wardrobe-room-open span{display:grid;gap:4px;min-width:0}.wardrobe-room-open b,.wardrobe-room-open small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wardrobe-room-open small{color:#74828d;letter-spacing:0}.wardrobe-room-card label{display:grid;justify-items:center;gap:5px;color:#8d9aa5;font-size:9px;cursor:pointer}.wardrobe-room-card input{accent-color:#ff7966}.wardrobe-room-settings-mount{margin-top:10px}.wardrobe-room-settings-mount .room-view-tools{position:static;display:flex!important;transform:none;box-shadow:none}.wardrobe-room-settings-mount .room-settings-panel{position:absolute;z-index:8;top:70px;right:382px;left:auto;max-height:calc(100% - 92px);overflow:auto}.wardrobe-room-settings-mount .room-settings-panel[hidden]{display:none!important}@media(max-width:980px){.wardrobe-module-header{position:relative;inset:auto;padding:14px 12px;align-items:flex-start;gap:10px;flex-direction:column}.wardrobe-module-header nav{width:100%;overflow:auto}.wardrobe-module-header button{white-space:nowrap}.wardrobe-room-module{height:auto;min-height:calc(100dvh - 116px);padding:0 12px 90px;grid-template-columns:1fr}.wardrobe-room-stage{min-height:520px}.wardrobe-room-library{min-height:420px}.wardrobe-room-settings-mount .room-settings-panel{position:fixed;inset:80px 12px 20px;max-height:none}}
@media(min-width:981px){.wardrobe-module-header{display:block;pointer-events:none}.wardrobe-module-header>div{pointer-events:auto}.wardrobe-module-header nav{position:absolute;top:0;left:50%;transform:translateX(-50%);pointer-events:auto;white-space:nowrap}}

/* Public wardrobe market and guest figurine playback. */
.wardrobe-room-stage{grid-template-rows:minmax(300px,1fr) auto auto}
.wardrobe-room-preview{position:relative}.wardrobe-room-preview.is-black{background:#000}
.wardrobe-room-preview>img,.wardrobe-room-preview>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.wardrobe-room-copy{padding:18px 4px 12px}
.wardrobe-room-library>header>div{display:grid;gap:4px}.wardrobe-room-library>header span{color:#73818d;font-size:10px}
.wardrobe-figurine-shelf{min-width:0;padding-top:14px;border-top:1px solid #ffffff12}
.wardrobe-figurine-shelf>header{display:flex;align-items:end;justify-content:space-between;margin-bottom:10px}.wardrobe-figurine-shelf h3{margin:4px 0 0;font-size:16px}.wardrobe-figurine-shelf small{color:#ff8b79;font-size:10px;font-weight:800;letter-spacing:.12em}.wardrobe-figurine-shelf>header>span{color:#73818d;font-size:10px}
.wardrobe-figurine-list{display:flex;gap:9px;overflow-x:auto;padding:0 0 5px}.wardrobe-figurine-list .wardrobe-empty{min-width:100%;min-height:116px}
@media(max-width:980px){.wardrobe-room-stage{min-height:720px}}

/* “宽屏 / 竖屏 / 设置”属于我的衣橱，固定在衣橱画布右上角。 */
.wardrobe-room-stage{position:relative;grid-template-rows:minmax(300px,1fr) auto}
.wardrobe-room-settings-mount{position:absolute;z-index:7;top:30px;right:30px;margin:0}
.wardrobe-room-settings-mount .room-settings-panel{top:44px;right:0;left:auto;max-height:calc(100dvh - 150px)}
.wardrobe-room-library h2{margin:0}
@media(max-width:980px){.wardrobe-room-settings-mount{top:28px;right:28px}.wardrobe-room-settings-mount .room-settings-panel{position:fixed;inset:80px 12px 20px;max-height:none}}
