:root{--ink:#343432;--muted:#8b8b85;--paper:#f7f7f5;--line:#eaeae6;--pink:#eab6c0;--font:Huninn,"Yuanti SC","PingFang SC",sans-serif}*{box-sizing:border-box}html{height:100%;font-size:16px}body{margin:0;background:#eeefeb;color:var(--ink);font:400 14px/1.5 var(--font);-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;padding:0}a{color:inherit;text-decoration:none}button:disabled{opacity:.4;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.stage:focus-visible{outline:2px solid #9a715b;outline-offset:3px}[hidden]{display:none!important}svg{width:22px;height:22px;display:block;flex-shrink:0}span[data-icon]{display:inline-flex;align-items:center;justify-content:center}h1,h2,h3,p{margin:0}h1{font-size:25px;font-weight:400;line-height:1.35}h2{font-size:18px;font-weight:400}h3{font-size:14px;font-weight:400}small{font-size:12px}.app-shell{width:min(100%,460px);height:calc(100dvh - 40px);max-height:940px;min-height:580px;margin:20px auto;background:var(--paper);border:1px solid #deded8;border-radius:30px;overflow:hidden;position:relative;box-shadow:0 14px 60px #24251d0a;display:flex;flex-direction:column}.app-header{height:64px;padding:10px 22px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;background:var(--paper);z-index:3}.logo{font-size:33px;letter-spacing:-2px;line-height:1;display:flex;align-items:center;gap:6px}.logo-flower{font-size:19px;color:#d7a7b4;letter-spacing:0;transform:rotate(12deg);padding-top:3px}.header-tools{display:flex;gap:4px}.icon-button{width:42px;height:42px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;transition:background .15s,transform .15s}.icon-button:hover{background:#eaeae6}.icon-button:active{transform:scale(.94)}.header-tools .icon-button{background:#ffffffb3;width:36px;height:36px}.header-tools svg{width:18px;height:18px}.outlined{border:1px solid var(--line);background:#fff}main{min-height:0;flex:1;position:relative;overflow:hidden}.page{height:100%}.home-page{display:flex;flex-direction:column}.viewer{flex:1;min-height:150px;position:relative;isolation:isolate;background:var(--paper);transition:background-color .2s}.season{position:absolute;top:-5px;left:0;right:0;text-align:center;font:bold clamp(40px,13vw,65px)/1.2 Georgia,serif;color:#eaeae7;letter-spacing:-2px;z-index:-1;pointer-events:none}.stage{width:100%;height:100%;display:flex;align-items:center;justify-content:center;touch-action:pan-y;cursor:grab;position:relative;overflow:hidden;user-select:none;padding:0 18px 20px}.stage.dragging{cursor:grabbing}.stage canvas,.stage>img{display:block;object-fit:contain;max-width:100%;width:auto;height:100%;pointer-events:none}.stage canvas{mix-blend-mode:multiply}.stage.static{cursor:default}.stage>img{mix-blend-mode:multiply}.viewer[data-bg] canvas{mix-blend-mode:normal}.viewer[data-bg=warm]{background:#e8e1d5}.viewer[data-bg=dark]{background:#303932}.viewer[data-bg=dark] .season{color:#444f45}.viewer[data-bg=dark] .viewer-caption{color:#dadbd2}.viewer[data-bg=checker]{background-color:#f7f7f7;background-image:conic-gradient(#e7e7e7 25%,transparent 0 50%,#e7e7e7 0 75%,transparent 0);background-size:24px 24px}.look-arrow{position:absolute;top:45%;width:34px;height:34px;background:#ffffffdf;box-shadow:0 2px 8px #00000003}.look-arrow svg{width:18px;height:18px}.look-arrow.previous{left:18px}.look-arrow.next{right:18px}.viewer-caption{position:absolute;bottom:6px;left:25px;right:25px;display:flex;justify-content:space-between;color:var(--muted);font-size:11px;pointer-events:none}#angle{font-variant-numeric:tabular-nums}.look-sheet{background:#fff;flex-shrink:0;border-radius:23px 23px 0 0;padding:0 22px 6px;box-shadow:0 -4px 22px #37332a03;z-index:1}.sheet-handle{width:100%;height:22px;display:grid;place-items:center}.sheet-handle span{height:3px;width:28px;border-radius:4px;background:#d7d7d2}.look-meta{display:flex;align-items:center;justify-content:space-between;min-height:30px}.color-dots{display:flex;gap:5px}.color-dots i{width:10px;height:10px;border-radius:50%;background:var(--color);border:1px solid #00000005}.date-button{display:flex;align-items:center;gap:5px;font-size:12px;min-height:32px}.date-button svg{width:14px;height:14px}.look-heading{display:flex;align-items:center;justify-content:space-between;margin-top:6px}.look-heading h1{font-size:19px}.look-heading p{font-size:12px;color:var(--muted);line-height:1.5;margin-top:3px}.favorite svg{width:19px;height:19px}.favorite[aria-pressed=true]{color:#d27d94}.favorite[aria-pressed=true] svg{fill:#e9b4c1}.look-items{display:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0 5px}.look-sheet.expanded .look-items{display:grid}.look-items .item-art{height:62px;background:#fafaf8;border-radius:8px}.look-items .mini-item{min-width:0}.look-items .mini-item>span{display:block;font-size:10px;margin-top:5px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.look-actions{display:flex;align-items:center;justify-content:center;gap:8px;margin:9px 0 1px}.look-actions>.icon-button{width:36px;height:36px}.look-actions svg{height:17px;width:17px}.pill{min-height:38px;padding:9px 17px;border-radius:30px;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.3;font-size:13px}.pill.dark{background:#333532;color:#fff}.pill.dark:hover{background:#4d504a}.pill svg{width:16px;height:16px}.bottom-nav{display:flex;align-items:center;justify-content:space-around;background:#ffffffeb;border-top:1px solid #f0f0eb;flex-shrink:0;padding:8px 26px max(10px,env(safe-area-inset-bottom));height:74px;z-index:3}.nav-item{width:82px;height:53px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:#a1a19b;font-size:10px;position:relative}.nav-item>span[data-icon]{height:26px}.nav-item svg{width:21px;height:21px}.nav-item.active{color:#383c36}.nav-item.active:not(.camera-nav)::before{content:"";width:65px;height:31px;position:absolute;top:2px;background:#eeeFEB;border-radius:20px;z-index:-1}.camera-circle{width:39px;height:39px!important;background:#343733;color:#fff;border-radius:50%;margin-top:-7px}.camera-nav.active .camera-circle{background:#967c6c}.scroll-page{overflow-y:auto;overscroll-behavior:contain;padding-bottom:22px;scrollbar-width:thin;scrollbar-color:#dbdcd5 transparent}.page-heading{padding:19px 22px 22px;display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:10px;letter-spacing:1.6px;color:#a2a49a;margin-bottom:7px}.page-heading h1{display:flex;align-items:center;gap:10px}.tiny-flower{font-size:22px;color:#d7a7b4}.page-heading p:not(.eyebrow){margin-top:7px;font-size:12px;color:var(--muted)}.search-box{margin:0 22px 15px;padding:0 13px;height:42px;border:1px solid var(--line);background:#fff;border-radius:13px;display:flex;align-items:center;gap:8px}.search-box svg{width:17px;color:#95998d}.search-box input{width:100%;min-width:0;border:0;background:none;outline:none;font-size:13px}.filter-row{display:flex;gap:8px;padding:0 22px 19px;overflow-x:auto}.chip{white-space:nowrap;padding:7px 12px;border-radius:20px;background:#fff;color:#83897d;border:1px solid var(--line);font-size:12px;min-height:34px}.chip.active{color:#fff;background:#67735f;border-color:#67735f}.wardrobe-group{background:#fff;border-bottom:7px solid #f0f1ed;padding:18px 20px 16px}.group-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.group-heading h2{font-size:13px;letter-spacing:1px}.group-heading h2 span{font-size:11px;color:#9a9e92;letter-spacing:0;margin-left:8px}.group-heading>span{font-size:11px;color:#a2a59c}.items-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px 9px}.item-card{text-align:center;min-width:0;position:relative}.item-art{display:block;width:100%;aspect-ratio:1;overflow:hidden;position:relative;background:#fff}.item-art svg{width:100%;height:100%}.item-art>img{width:100%;height:100%;object-fit:contain}.item-card>.item-art{border:1.5px solid transparent;border-radius:9px}.item-card.selected>.item-art{border-color:#afb5a8;box-shadow:inset 0 0 0 1px #69745f0d;background:#f6f7f4}.item-card.selected::after{content:'✓';position:absolute;top:3px;right:3px;border-radius:50%;width:17px;height:17px;background:#75816a;color:white;font-size:11px}.item-name{font-size:11px;line-height:1.5;margin-top:5px;display:block;overflow-wrap:anywhere}.selection-bar{position:sticky;bottom:0;margin:15px 18px 0;padding:10px 12px 10px 18px;border:1px solid #e5e9df;background:#f6f8f2f5;border-radius:18px;box-shadow:0 -5px 20px #40492f08;display:flex;align-items:center;justify-content:space-between;font-size:13px;z-index:2}.empty{text-align:center;padding:35px 24px;color:var(--muted);font-size:14px;line-height:1.8}.upload-illustration{width:66px;height:66px;background:#fff;border-radius:22px;transform:rotate(-7deg);box-shadow:0 6px 15px #42543305}.upload-illustration svg{width:30px;height:30px}.section-label{display:flex;align-items:center;justify-content:space-between;margin:20px 22px 12px}.section-label h2{font-size:15px}.section-label>span{font-size:9px;letter-spacing:1px;color:#a2a59b}.text-button{min-height:32px;color:#7a826f;font-size:12px;text-decoration:underline;text-underline-offset:3px}.entry-row{margin:0 22px;width:calc(100% - 44px);padding:15px 0;display:flex;gap:13px;align-items:center;border-bottom:1px solid var(--line);text-align:left}.entry-icon{width:44px;height:44px;border-radius:14px;background:white;color:#9e968a}.entry-row>span:nth-child(2){flex:1}.entry-row strong{display:block;font-size:14px;font-weight:400}.entry-row small{display:block;color:var(--muted);margin-top:4px;font-size:12px}.entry-row>span:last-child svg{width:17px;color:#a4a69f}.looks-grid{margin:0 22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.look-card{text-align:left;min-width:0;position:relative}.look-card img{width:100%;height:152px;object-fit:contain;background:#eeeFEB;border-radius:13px;mix-blend-mode:multiply}.look-card strong{font-weight:400;font-size:12px;display:block;margin-top:5px;overflow-wrap:anywhere}.look-card small{color:var(--muted);font-size:10px}.look-card .heart-badge{position:absolute;right:7px;top:5px;color:#cf8597}.loading{position:absolute;inset:0;background:var(--paper);display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);font-size:13px}.spinner{width:18px;height:18px;border:2px solid #deded6;border-top-color:#9ca98b;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:1px solid #e6e6e0;border-radius:24px;width:min(420px,calc(100% - 24px));max-height:calc(100dvh - 40px);padding:0;background:#fff;color:var(--ink);box-shadow:0 20px 80px #22231c25;overflow-y:auto}dialog::backdrop{background:#292e254f;backdrop-filter:blur(4px)}.dialog-top{position:sticky;top:0;background:#fff;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:14px 18px 10px;border-bottom:1px solid #f0f0eb;gap:12px}.dialog-top h2{font-size:18px;line-height:1.4}.dialog-top .icon-button{width:32px;height:32px;background:#f5f5f1}#modal-body,.settings-body{padding:18px 22px 24px}.settings-body label{display:block;font-size:14px}.muted{color:var(--muted);font-size:12px}.settings-body label .muted{display:block;margin-top:4px}input[type=range]{width:100%;accent-color:#879876;margin:20px 0 8px}.segmented{display:flex;padding:4px;border-radius:13px;background:#f3f4ef;gap:4px;margin:20px 0 12px}.segmented button{flex:1;padding:9px;border-radius:10px;font-size:13px}.segmented button.active{background:white;box-shadow:0 2px 5px #00000006}.backdrops{display:flex;gap:16px;margin:17px 0}.swatch-button{width:30px;height:30px;border-radius:50%;background:var(--swatch);border:3px solid #fff;outline:1px solid #e0e1d8}.swatch-button.selected{outline:2px solid #8c9980}.checker{background:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%) 0/10px 10px}.helper{font-size:12px;color:var(--muted);line-height:1.8;margin:10px 0}.technical{margin-top:22px;padding-top:15px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);line-height:1.8}.technical p{margin:10px 0}.technical a{text-decoration:underline}.form-grid{display:grid;gap:14px}.form-grid label{display:grid;gap:7px;font-size:13px}.field{width:100%;height:44px;border:1px solid #dfe2d8;border-radius:11px;background:#fafbf8;padding:0 12px;font-size:16px;min-width:0}.form-grid .pill{margin-top:5px;width:100%;min-height:43px}.photo-preview{width:100%;height:260px;object-fit:contain;background:#f3f4f0;border-radius:15px;margin-bottom:17px}.detail-art{height:230px;margin:0 auto 15px;max-width:250px}.detail-art .item-art{height:100%}.detail-actions{display:flex;gap:10px;margin:18px 0 0;justify-content:center}.detail-actions .pill{flex:1}.pill.soft{background:#edf1e8;color:#66715c}.pill.danger{background:#fbefef;color:#b66262}.toast{position:fixed;bottom:105px;left:50%;transform:translateX(-50%);background:#3c4238ee;color:#fff;border-radius:24px;padding:12px 20px;z-index:20;font-size:13px;max-width:calc(100% - 36px);width:max-content;text-align:center;box-shadow:0 5px 15px #0001}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.calendar-grid .weekday{font-size:11px;color:var(--muted);padding-bottom:8px}.day{position:relative;min-height:40px;border-radius:50%;font-size:13px}.day.has-look::after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;bottom:4px;left:calc(50% - 2px);background:#ba8797}.day.today{border:1px solid #bec8b1}.day.chosen{background:#e8ede1}.calendar-results{margin-top:18px;display:grid;gap:9px}.calendar-look{display:flex;align-items:center;gap:12px;text-align:left;padding:8px;background:#f7f8f4;border-radius:12px}.calendar-look img{width:40px;height:60px;object-fit:contain}.menu-list{display:grid;gap:5px}.menu-list button{display:flex;gap:12px;align-items:center;text-align:left;padding:14px 8px;min-height:48px;border-bottom:1px solid var(--line)}.menu-list button svg{width:18px}.selected-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0}.selected-items .item-art{height:62px}.selected-items span{font-size:10px}.step-label{font-size:12px;color:#929b88;margin:10px 0}.tryon-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tryon-pair img{width:100%;height:250px;object-fit:contain;background:#f4f4f0;border-radius:13px}.tryon-pair p{font-size:11px;text-align:center;margin:7px 0}.notice{background:#f5f6f1;color:#858a7c;font-size:12px;line-height:1.8;padding:12px 14px;border-radius:12px;margin:14px 0}.progress-track{height:5px;border-radius:4px;background:#e8ecdf;overflow:hidden;margin-top:15px}.progress-track>div{height:100%;background:#97a77f;width:0}.busy-center{text-align:center;padding:30px 0}.busy-center .spinner{display:inline-block;margin-bottom:15px}.busy-center p{font-size:14px}.busy-center small{color:var(--muted)}
@media(max-width:600px){body{background:var(--paper)}.app-shell{height:100dvh;min-height:0;max-height:none;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none}.app-header{padding-top:max(10px,env(safe-area-inset-top));height:calc(58px + env(safe-area-inset-top))}.season{font-size:clamp(43px,14vw,65px)}.bottom-nav{height:calc(70px + env(safe-area-inset-bottom));padding-bottom:calc(8px + env(safe-area-inset-bottom))}.look-sheet{padding-inline:20px}.viewer-caption{font-size:10px}.toast{bottom:90px}.looks-grid .look-card img{height:140px}}
@media(max-width:360px){.page-heading{padding-inline:17px}h1{font-size:22px}.look-heading h1{font-size:18px}.look-heading p{font-size:11px}.look-sheet{padding-inline:17px}.look-actions{gap:4px}.items-grid{gap:10px 6px}.item-name{font-size:10px}.filter-row{padding-inline:17px;gap:5px}.chip{padding:7px 10px}.app-header{padding-inline:17px}.look-items .item-art{height:49px}}
@media(max-height:700px){.app-header{height:52px}.look-heading p{display:none}.look-actions{margin-top:5px}.look-sheet.expanded .look-items{margin-top:7px}.look-items .item-art{height:45px}.look-sheet{padding-bottom:3px}.look-heading{margin-top:0}.bottom-nav{height:64px;padding-block:5px}.season{font-size:43px}.viewer-caption{bottom:1px}.stage{padding-bottom:15px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.spinner{animation:none}}
.logo{font-size:23px;letter-spacing:1px}.logo-flower{font-size:16px;margin-left:7px;color:#bd93a2}.time-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.video-guide>label{display:grid;gap:8px;font-size:14px}.video-guide summary{font-size:14px;line-height:1.6}
/* Original white plates blend into the reference's quiet background. */
.viewer[data-bg=""] canvas{mix-blend-mode:multiply}
/* Small labels remain readable on narrow phones without scaling the UI. */
:root{--muted:#767d70}.nav-item{color:#7d8377}.item-name{font-size:12px}.group-heading h2 span,.group-heading>span{font-size:12px;color:#7f8679}.mini-item>span{font-size:11px!important}.nav-item{font-size:11px}.viewer-caption{font-size:11px}.look-card small{font-size:11px}
.generated-preview{height:auto;max-height:48dvh;aspect-ratio:3/4;background:white}.generation-list{display:grid;gap:10px}.generation-row{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid var(--line);border-radius:14px;text-align:left}.generation-row>img{width:48px;height:64px;object-fit:contain;border-radius:7px;background:#f5f6f1}.generation-row>span:nth-child(2){flex:1;min-width:0}.generation-row strong{display:block;font-size:14px;font-weight:400;overflow-wrap:anywhere}.generation-row small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.generation-row svg{width:16px}
.flow-steps{font-size:13px;color:#847266;line-height:1.7;margin-bottom:12px}.garment-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:10px;background:#f7f7f3;border:1px solid var(--line);padding:14px;border-radius:15px;margin-bottom:12px}.garment-row .check-line{grid-column:1/-1}.garment-row .remove-garment{grid-column:1/-1;justify-self:end}.form-grid .check-line{display:flex;align-items:center;gap:9px;min-height:30px}.check-line input{width:18px;height:18px;accent-color:#75816a}.batch-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.batch-card{min-width:0;display:grid;gap:10px;border:1px solid var(--line);padding:10px;border-radius:15px}.batch-card img{width:100%;aspect-ratio:3/4;object-fit:contain}.batch-card .field{font-size:14px;padding:0 8px}.model-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 22px}.model-card{padding:10px;border:1px solid var(--line);border-radius:15px;text-align:left;min-width:0}.model-card.selected{border:2px solid #8a9b7a}.model-card img{width:100%;aspect-ratio:3/4;object-fit:contain}.model-card span,.model-card small{display:block;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.model-card small{color:#79866c;margin-top:4px}.video-guide{display:grid;gap:12px}.video-guide .pill{width:100%}input[type=file]{max-width:100%;font-size:14px}button:disabled{cursor:wait;opacity:.55}@media(max-width:360px){.batch-results{grid-template-columns:1fr}.garment-row{grid-template-columns:1fr}.form-grid .field{font-size:16px}}

.extract-look-button{width:100%;min-height:44px;margin:8px 0;font-size:14px;line-height:1.4;gap:8px;white-space:normal}.extract-look-button svg{width:18px;height:18px;flex-shrink:0}

.clothes-progress{padding:18px 0 14px;text-align:center;overflow:hidden}
.clothes-loop{overflow:hidden;width:100%;padding:14px 0 24px;mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent)}
.clothes-loop-track{display:flex;width:max-content;animation:clothes-slide-left 18s linear infinite;will-change:transform}
.clothes-loop-group{display:flex;gap:14px;padding-right:14px}
.clothes-loop-card{width:100px;height:124px;padding:8px;background:#f6f5f1;border:1px solid #eeede7;border-radius:16px;flex:none}
.clothes-loop-card:nth-child(even){transform:rotate(3deg)}
.clothes-loop-card:nth-child(odd){transform:rotate(-3deg)}
.clothes-loop-card .item-art{width:100%;height:100%;display:block}
.clothes-loop-card img,.clothes-loop-card svg{width:100%;height:100%;object-fit:contain}
.clothes-progress-title{font-size:17px;line-height:1.5;margin:4px 0 12px;color:var(--ink)}
.clothes-progress .helper{font-size:13px;line-height:1.7;max-width:290px;margin:0 auto}
.saved-clothes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px;margin:20px 0 24px}
.saved-clothes-grid .item-art{height:105px;width:100%}
.saved-clothes-grid span:not(.item-art){display:block;text-align:center;font-size:12px;line-height:1.5;overflow-wrap:anywhere;margin-top:6px}
@keyframes clothes-slide-left{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.clothes-loop-track{animation:none}.clothes-loop-card{transform:none!important}}

.closet-tools{display:flex;align-items:center;gap:4px;margin-left:auto;flex-shrink:0;padding-left:8px;border-left:1px solid var(--line)}.closet-tool{width:32px;height:34px;display:grid;place-items:center;border-radius:50%;color:#818879;transition:background .15s,color .15s}.closet-tool svg{width:18px;height:18px}.closet-tool:hover{background:#e9ece4;color:#505c46}.closet-tool[aria-pressed=true]{background:#f1e4df;color:#a15e50}.closet-tool:disabled{opacity:.32;cursor:default}.filter-row{align-items:center}.filter-row>.chip{flex-shrink:0}@media(max-width:400px){.filter-row{gap:4px;padding-inline:14px}.filter-row>.chip{font-size:11px;padding-inline:8px}.closet-tools{gap:0;padding-left:4px}.closet-tool{width:28px}}.delete-solid{background:#a95f52;color:white;min-height:44px}.closet-delete-bar{padding:0 24px 18px}.closet-delete-bar p{font-size:12px;color:var(--muted);margin:0 0 10px}.closet-delete-bar .pill{width:100%}.undo-delete{margin:0 24px 16px;min-height:32px;color:#98564a}.delete-link{color:#98564a}.item-card.delete-choice.selected::after{background:#75816a}

/* Quiet movement of the selected model while its outfit is being prepared. */
.tryon-wait{padding:4px 0 12px}.model-wait-stage{height:218px;overflow:hidden;margin:0 0 22px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:#f8f9f6}.model-wait-photo{display:block;height:196px;max-width:65%;object-fit:contain;mix-blend-mode:multiply;animation:model-drift 7s ease-in-out infinite;will-change:transform}.tryon-wait>p:first-of-type{font-size:15px}.tryon-wait>.helper{font-size:12px;margin-top:10px}@keyframes model-drift{0%,100%{transform:translateX(-22px)}50%{transform:translateX(22px)}}@media(prefers-reduced-motion:reduce){.model-wait-photo{animation:none;will-change:auto}}

/* One compact navigation row, with management tools outside the scroll area. */
.filter-row{overflow:visible;gap:8px}.filter-chips{display:flex;gap:6px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}.filter-chips::-webkit-scrollbar{display:none}.filter-chips>.chip{flex-shrink:0;padding-inline:10px}.closet-tools{margin-left:0;padding-left:6px}.closet-model-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px;padding:4px 22px 22px}.closet-model-card{text-align:left;min-width:0}.model-portrait{display:block;position:relative;aspect-ratio:3/4;background:#eff0ec;border-radius:15px;overflow:hidden;border:1px solid transparent}.model-portrait img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.closet-model-card.selected .model-portrait{border-color:#a5b099}.model-portrait i{position:absolute;right:8px;top:8px;width:19px;height:19px;background:#75816a;color:white;border-radius:50%;font:12px/19px var(--font);text-align:center}.model-name{display:block;font-size:12px;line-height:1.5;margin:8px 2px 0;overflow-wrap:anywhere}.home-model-actions{display:flex;align-items:center;justify-content:center;gap:16px;padding-top:12px}.home-model-actions .pill{font-size:12px}.home-model-actions .text-button{font-size:11px}.closet-model-card:focus-visible{outline-offset:5px;border-radius:15px}

.filter-label-compact{display:none}@media(max-width:400px){.filter-label-wide{display:none}.filter-label-compact{display:inline}.filter-chips{gap:4px}.filter-chips>.chip{padding-inline:8px;font-size:11px}}

/* The showcase keeps identical geometry for photos, models and rotation frames. */
.home-page{display:grid;grid-template-rows:minmax(0,1fr) 164px;position:relative;min-height:0}
.home-page>.viewer{min-height:0;min-width:0;overflow:hidden}
.home-page .stage{position:absolute;inset:0;height:100%;width:100%;padding:10px 18px 26px}
.home-page .stage>img,.home-page .stage>canvas{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.home-page .look-arrow{top:50%;transform:translateY(-50%)}
.home-page>.look-sheet{height:164px;min-height:0;padding:0 22px 8px;overflow:hidden}
.home-page .look-meta{height:30px;min-height:30px}
.home-page .look-heading{height:54px;min-height:54px;margin-top:2px;gap:12px}
.home-page .look-heading>div{min-width:0;flex:1}
.home-page .look-heading h1{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}
.home-page .look-heading p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;line-height:18px;margin-top:2px}
.home-page .look-actions{height:42px;min-height:42px;margin:4px 0 0}
.home-page>.look-sheet.expanded{position:absolute;left:0;right:0;bottom:0;height:auto;max-height:55%;overflow-y:auto;box-shadow:0 -8px 30px #343b3014}
@media(max-height:700px){.home-page{grid-template-rows:minmax(0,1fr) 148px}.home-page>.look-sheet{height:148px}.home-page .look-heading{height:42px;min-height:42px}.home-page .look-actions{height:38px;min-height:38px;margin-top:0}}

/* Rotation scrubber lives in the metadata row, outside the portrait. */
.home-page .look-meta{gap:14px}
.home-page .color-dots,.home-page .date-button{flex-shrink:0}
.home-page input.home-rotation{appearance:none;-webkit-appearance:none;flex:1 1 120px;min-width:36px;max-width:170px;width:0;height:30px;margin:0;padding:0;background:transparent;cursor:pointer;border:0;border-radius:12px;--rotation-progress:0%}
.home-rotation::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:linear-gradient(to right,#899779 var(--rotation-progress),#e7eae2 var(--rotation-progress))}
.home-rotation::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;margin-top:-4.5px;border-radius:50%;border:2px solid #fff;background:#899779;box-shadow:0 0 0 1px #89977933}
.home-rotation::-moz-range-track{height:3px;border-radius:3px;background:#e7eae2}
.home-rotation::-moz-range-progress{height:3px;background:#899779}
.home-rotation::-moz-range-thumb{width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#899779}
.home-rotation:focus-visible{outline:2px solid #899779;outline-offset:3px}
.home-rotation:disabled{opacity:.4;cursor:wait}
@media(max-width:380px){.home-page .look-meta{gap:10px}.home-page .date-button{font-size:11px}.home-page .color-dots{gap:4px}.home-page .color-dots i{width:8px;height:8px}}

.home-page>.viewer:not([data-bg]),.home-page>.viewer[data-bg=""]{background:#fff}
.viewer[data-bg="white"]{background:#fff}
.viewer[data-bg=""] canvas{mix-blend-mode:normal}
.look-card img{background:#fff;mix-blend-mode:normal}

.model-processing{display:block;font-size:11px;color:#89927d;margin-top:3px}.model-portrait{background:#fff}
.stage>img,.model-portrait img{mix-blend-mode:normal}

/* Model imports stay outside the library until the white photo is ready. */
.model-save-wait .model-wait-stage{height:260px;background:#fff}.model-save-wait .model-wait-photo{height:238px;mix-blend-mode:normal;border-radius:8px}.model-save-wait #retry-model-import{margin-top:18px}.model-save-wait:has(#retry-model-import) .model-wait-photo{animation:none}.model-save-result{text-align:center}.model-save-result>.pill{margin-top:12px}.model-import-status{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px 18px;margin:0 0 14px;border:1px solid #e4e8df;border-radius:14px;background:#f5f7f1;color:#68745f;font-size:13px}.model-import-status span:last-child{white-space:nowrap;font-size:12px}

/* Generated white backgrounds are shown without blending or keying. */
#look-photo,.model-portrait img,.model-wait-photo{mix-blend-mode:normal;background:#fff}

/* Direct outfit selection with a separate, quiet favorite control. */
.closet-item{position:relative;min-width:0;padding-top:24px}.closet-item>.item-card{display:block;width:100%}.item-heart{position:absolute;top:0;left:0;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:transparent;color:#93998c;touch-action:manipulation}.item-heart svg{width:13px;height:13px;transition:fill .15s,color .15s}.item-heart[aria-pressed=true]{color:#ba8797}.item-heart[aria-pressed=true] svg{fill:currentColor}.item-heart:hover{background:#f5f5f1}.item-heart:focus-visible{outline:2px solid #87967a;outline-offset:1px}.item-card.selected::after{pointer-events:none}

/* Saved-look picker sits in the empty upper corners of the viewing stage. */
.viewer-topline{position:absolute;inset:12px 14px auto;display:flex;align-items:center;justify-content:space-between;z-index:4;pointer-events:none}.look-position{font-size:12px;font-variant-numeric:tabular-nums;letter-spacing:.06em;color:#8b9185;padding:6px 9px;background:#ffffffdf;border-radius:15px}.viewer-topline .look-picker-toggle{pointer-events:auto;width:34px;height:34px;background:#ffffffeb;color:#727c68;border:1px solid #ebede7}.look-picker-toggle svg{width:19px;height:19px}
dialog.look-picker{position:fixed;inset:0;margin:auto;padding:0;max-height:min(620px,calc(100dvh - 64px));border-radius:20px;border:1px solid #e6e9e0;box-shadow:0 14px 48px #313a3025;overflow:hidden;overscroll-behavior:contain}dialog.look-picker[open]{display:flex;flex-direction:column}dialog.look-picker::backdrop{background:#26302312;backdrop-filter:none}.look-picker-heading{flex-shrink:0;position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;background:#fff;padding:12px 14px 8px}.look-picker-heading h2{font-size:14px;font-weight:400;margin:0}.look-picker-heading .icon-button{width:30px;height:30px}.look-picker-heading svg{width:16px;height:16px}.look-picker-grid{min-height:0;overflow-y:auto;overscroll-behavior:contain;align-content:start;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px;padding:6px 14px 18px}.look-picker-card{min-width:0;text-align:left;border-radius:12px}.look-picker-photo{position:relative;display:block;aspect-ratio:3/4;background:#fff;overflow:hidden;border:1.5px solid #eeefeb;border-radius:12px}.look-picker-photo img{position:absolute;width:100%;height:100%;object-fit:contain}.look-picker-card[aria-current=true] .look-picker-photo{border-color:#88967b;box-shadow:0 0 0 1px #88967b}.look-picker-photo small{position:absolute;bottom:6px;right:6px;background:#ffffffdf;border-radius:8px;padding:1px 5px;font-size:10px;color:#75816a}.look-picker-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:12px;line-height:1.5;margin:6px 2px 0}.look-picker-card:focus-visible{outline:2px solid #88967b;outline-offset:3px}

/* Yixu — shared visual system. Photography always remains pure white. */
:root{--ink:#20211f;--muted:#6b6c66;--paper:#f6f5ef;--line:#e4e4dc;--pink:#e5afc6;--yellow:#f7df68;--lilac:#e5def4;--font:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif}
body{background:#eae9e2;font-family:var(--font)}
h1,h2,h3,strong{font-weight:600}button:disabled{cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.stage:focus-visible{outline:2px solid #6b51b6;outline-offset:3px}
.app-shell{width:min(1120px,calc(100% - 48px));height:calc(100dvh - 40px);min-height:520px;max-height:1040px;border:1px solid #deded6;border-radius:28px;margin:20px auto;box-shadow:none;background:var(--paper)}
.app-header{height:76px;padding:16px 32px;background:var(--paper);gap:20px}
.logo{display:flex;gap:14px;align-items:center;letter-spacing:0}
.header-page{font-size:12px;color:var(--muted);margin-left:auto}.header-tools{gap:8px}.header-tools .icon-button{width:38px;height:38px;border:1px solid var(--line);background:transparent}.header-tools .icon-button:hover{background:#fff}
.pill{min-height:44px;border-radius:14px;padding:12px 20px;font-size:13px;font-weight:500;gap:9px}.pill.dark{background:var(--ink);color:white}.pill.dark:hover{background:#3c3d38}.pill.soft{background:var(--lilac);color:#403450}.pill.danger{background:#fae2de;color:#9a4139}.text-button{color:#57584f;text-decoration:none;font-size:12px;font-weight:500}.text-button:hover{text-decoration:underline}
.icon-button:hover{background:#eae8e0}.favorite[aria-pressed=true]{color:#b54b70}.favorite[aria-pressed=true] svg{fill:currentColor}
.bottom-nav{position:relative;align-self:center;display:flex;justify-content:space-between;flex-shrink:0;gap:5px;width:304px;height:58px;margin:12px auto 18px;padding:5px;border:0;background:var(--ink);border-radius:23px;box-shadow:0 5px 18px #20211f12;z-index:5}
.nav-item{width:auto;flex:1;height:48px;flex-direction:row;gap:7px;border-radius:18px;font-size:12px;font-weight:500;color:#c8c8c0}.nav-item>span[data-icon]{height:auto}.nav-item svg{width:19px;height:19px}.nav-item.active{background:var(--yellow);color:var(--ink)}.nav-item.active:not(.camera-nav)::before{display:none}.camera-circle{width:auto;height:auto!important;margin:0;background:none;color:inherit;border-radius:0}.camera-nav.active .camera-circle{background:none}
.home-page{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:30px;padding:8px 32px 0;overflow:hidden}
.home-page>.viewer{min-height:0;min-width:0;border:1px solid #e9e7df;border-radius:22px;overflow:hidden;background:#fff!important}.season{display:none}.stage{padding:30px 18px 27px}.stage canvas,.stage>img{object-fit:contain;max-width:100%;height:100%;width:auto;mix-blend-mode:normal}
.viewer-topline{inset:14px 14px auto}.look-position{font:600 12px/1.4 var(--font);letter-spacing:.03em;color:var(--ink);background:var(--paper);border-radius:10px;padding:9px 12px}.viewer-topline .look-picker-toggle{background:var(--yellow);border:0;color:var(--ink);border-radius:13px;width:38px;height:38px}.look-arrow{width:36px;height:44px;border:1px solid #efeee8;background:#ffffffed;border-radius:14px}.look-arrow.previous{left:12px}.look-arrow.next{right:12px}.viewer-caption{left:18px;right:18px;bottom:10px;color:#74756d;font-size:10px}.viewer-caption #angle{font-family:Arial,sans-serif;letter-spacing:.06em}
.home-page>.look-sheet{height:auto;min-width:0;padding:16px 6px 12px;background:none;border-radius:0;box-shadow:none;display:flex;flex-direction:column;overflow-y:auto;z-index:1}
.look-intro{display:block;margin-bottom:30px}.look-intro .eyebrow{display:block;font-size:10px;letter-spacing:2px;color:#66675e;margin-bottom:16px}.look-intro h2{font-size:clamp(30px,3.4vw,44px);font-weight:600;line-height:1.25;letter-spacing:-1.8px}.look-intro p{color:var(--muted);font-size:12px;margin-top:16px}
.home-page .sheet-handle{height:20px;order:4;margin-top:10px}.sheet-handle span{width:26px;background:#a5a398}.home-page .look-meta{gap:12px;min-height:34px;flex-wrap:wrap;margin:0}.look-meta-label{font:600 9px/1 Arial,sans-serif;letter-spacing:1px;color:#727268}.home-page input.home-rotation{flex:1;max-width:none;min-width:60px}.home-rotation::-webkit-slider-runnable-track{background:linear-gradient(to right,#282924 var(--rotation-progress),#e1e0d6 var(--rotation-progress));height:3px}.home-rotation::-webkit-slider-thumb{background:#282924;box-shadow:0 0 0 1px #28292422}.date-button{font-size:11px;color:var(--muted)}
.home-page .look-heading{height:auto;flex-shrink:0;margin-top:14px;gap:10px;align-items:flex-start;padding:16px;background:var(--lilac);border-radius:17px}.home-page .look-heading>div{min-width:0;flex:1}.home-page .look-heading h1{font-size:19px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;font-weight:600;letter-spacing:-.3px}.home-page .look-heading p{font-size:12px;line-height:1.6;white-space:normal;display:block;margin-top:5px;color:#6a6178}.look-heading .favorite{width:32px;height:32px}.look-heading .favorite svg{width:20px;height:20px}
.home-page .look-actions{margin:20px 0 0;gap:10px;justify-content:flex-start;flex-shrink:0}.look-actions>.pill{flex:1;max-width:240px;min-height:46px;background:var(--yellow);color:var(--ink);border-radius:14px}.look-actions>.pill:hover{background:#ebcf4d}.look-actions>.icon-button{width:40px;height:44px;border:1px solid #deded5;border-radius:13px}.look-actions svg{width:18px;height:18px}.home-page .look-items{order:3;margin:18px 0 0}.home-page>.look-sheet.expanded{position:static;height:auto;max-height:none;inset:auto;border:0;box-shadow:none}.look-items .item-art{background:#fff!important;border-radius:10px}
.scroll-page{padding:8px 32px 18px;scrollbar-gutter:stable}.page-heading{padding:14px 0 24px;gap:20px;align-items:center}.page-heading .eyebrow{color:#71716a;font:600 10px/1.5 Arial,sans-serif;letter-spacing:2px;margin:0 0 10px}.page-heading h1{font-size:36px;line-height:1.2;font-weight:600;letter-spacing:-1.2px;gap:16px}.heading-tag{padding:7px 9px;background:var(--lilac);border-radius:8px;font:600 8px/1.2 Arial,sans-serif;letter-spacing:1px}.page-heading p:not(.eyebrow){color:var(--muted);font-size:12px;margin-top:12px}.page-heading .outlined{width:48px;height:48px;border:0;border-radius:16px;background:var(--yellow)}
.search-box{margin:0 0 16px;height:48px;border:1px solid #e7e6de;border-radius:15px;background:#fff;padding:0 16px}.search-box input{font-size:13px}.search-box:focus-within{outline:2px solid #a18cc6;outline-offset:2px}.search-box svg{color:#73746a;width:18px}
.filter-row{padding:0 0 20px;margin:0;gap:12px;overflow:visible;align-items:center}.filter-chips{gap:7px}.chip{min-height:36px;font-size:12px;border:1px solid #e0dfd7;background:transparent;color:#68695f;padding:8px 13px;border-radius:12px}.chip.active{background:var(--ink);color:white;border-color:var(--ink)}.closet-tools{border-left:1px solid #dcdcd2}.closet-tool{color:#737569}.closet-tool[aria-pressed=true]{background:#f7d8d0;color:#9a4139}.undo-delete{margin:0 0 14px;font-size:11px;color:#965349}.closet-delete-bar{margin:0 0 18px}
.wardrobe-group{padding:20px;background:#fff;border:1px solid #e9e8e1;border-radius:20px;margin-bottom:18px}.group-heading{margin-bottom:14px}.group-heading h2{font-size:17px;font-weight:600;letter-spacing:0}.group-heading h2 span{font:500 9px/1.4 Arial,sans-serif;color:#83837a;letter-spacing:1px;margin-left:10px}.group-heading>span{font-size:11px;background:#f0eee5;border-radius:8px;padding:4px 8px;color:#67685d}.items-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px 15px}.closet-item{padding-top:32px}.item-heart{width:32px;height:32px;left:0;top:0;color:#8a8b81;border-radius:10px}.item-heart svg{width:15px;height:15px}.item-heart[aria-pressed=true]{color:#b75275}.item-heart:hover{background:#f6ebef}.item-card>.item-art{border:1.5px solid transparent;border-radius:12px;background:#fff}.item-card.selected>.item-art{border-color:#8c79b1;box-shadow:none;background:#fff}.item-card.selected::after{background:#7c67a3;width:20px;height:20px;line-height:20px;top:5px;right:5px;font-size:12px}.item-name{font-size:12px;line-height:1.5;margin-top:8px;color:#47483f;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px}
.selection-bar{margin:16px 0 0;padding:10px 12px 10px 18px;bottom:0;background:var(--lilac);border:1px solid #d9d0e9;border-radius:16px;box-shadow:0 -4px 16px #22222207;gap:10px}.selection-bar>span{white-space:nowrap;font-size:13px}.selection-bar .pill{min-height:40px;padding:10px 17px}.selection-bar .text-button{margin-left:auto;font-size:11px}
.closet-model-grid{padding:0!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.model-portrait{border:1px solid #e7e5dc;border-radius:18px;background:#fff;overflow:hidden}.model-name{font-size:13px;line-height:1.5;margin-top:10px}.closet-model-card.selected .model-portrait{border-color:#8c79b1}.closet-model-card .model-check{background:#7c67a3}
.import-paths{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 30px}.import-paths>div{background:#e8e2f2;padding:17px 20px;border-radius:16px;display:flex;align-items:center;gap:15px}.import-paths>div+div{background:#dfe8dd}.path-number{font:400 25px/1 Arial,sans-serif;letter-spacing:-1px;opacity:.55}.import-paths strong{display:block;font-size:13px}.import-paths small{display:block;font-size:11px;color:#67676a;margin-top:5px}
.section-label{margin:24px 0 16px}.section-label h2{font-size:20px;font-weight:600;letter-spacing:-.5px;display:flex;align-items:center;gap:10px}.archive-count{font:500 10px/1 Arial,sans-serif;background:#e8e5d9;border-radius:8px;padding:6px 8px;color:#66675f}.looks-grid{margin:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}.look-card img{height:auto!important;aspect-ratio:3/4;width:100%;background:#fff;border:1px solid #e9e8e1;border-radius:18px;mix-blend-mode:normal}.look-card strong{font-size:13px;font-weight:500;margin-top:8px;line-height:1.5}.look-card small{font-size:10px;color:#77786e}.look-card .heart-badge{background:#fff;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;right:8px;top:8px;color:#b75275}
/* Dialogs share the same calm typography and solid, compact controls. */
dialog{border:1px solid #e6e4dc;border-radius:24px;width:min(460px,calc(100% - 32px));box-shadow:0 24px 80px #17181222}dialog::backdrop,dialog.look-picker::backdrop{background:#20211f45;backdrop-filter:blur(5px)}.dialog-top{padding:18px 22px 15px;border-bottom:1px solid #eeece5}.dialog-top h2{font-size:18px;font-weight:600;letter-spacing:-.4px}.dialog-top .icon-button{width:36px;height:36px;border-radius:12px;background:var(--paper)}#modal-body,.settings-body{padding:22px}.helper{font-size:12px;line-height:1.8;color:#747469}.photo-preview{background:#fff;border:1px solid #eeece6;border-radius:16px}.field{background:#f8f7f2;border-color:#e4e2d8;border-radius:12px}.notice{background:#eee9f7;color:#655c73}.step-label{color:#6b5c81;font-size:12px;font-weight:500;letter-spacing:.02em}.menu-list{gap:3px}.menu-list button{border:0;border-radius:12px;padding:15px 12px;font-size:14px}.menu-list button:hover{background:var(--paper)}.menu-list button:nth-child(1){background:#f5e8a6}.calendar-look{background:var(--paper)}.day.chosen{background:var(--lilac)}.day.today{border-color:#baa9d2}.look-picker-heading{padding:18px 18px 12px}.look-picker-heading h2{font-size:18px;font-weight:600}.look-picker-heading .icon-button{border-radius:10px;background:var(--paper);width:32px;height:32px}.look-picker-grid{padding:4px 18px 20px;gap:18px 12px}.look-picker-card[aria-current=true] .look-picker-photo{border-color:#8c79b1;box-shadow:0 0 0 1px #8c79b1}.look-picker-photo{border-radius:14px}.look-picker-name{font-size:12px}.toast{background:var(--ink);border-radius:14px;bottom:96px}
@media(min-width:0px){
 .app-shell{width:min(500px,100% - 24px);height:calc(100dvh - 24px);margin:12px auto;min-height:0}.app-header{height:66px;padding:14px 22px;gap:12px}.header-page{font-size:11px}.header-tools{gap:6px}.header-tools .icon-button{width:34px;height:34px}.header-tools svg{width:17px;height:17px}
 .home-page{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 164px;gap:0;padding:0 16px}.home-page>.viewer{border-radius:20px;min-height:0}.stage{padding:28px 12px 23px}.viewer-topline{inset:10px 10px auto}.look-position{padding:7px 9px;font-size:10px}.viewer-topline .look-picker-toggle{width:34px;height:34px;border-radius:12px}.viewer-caption{font-size:9px;left:14px;right:14px;bottom:8px}.look-arrow{width:30px;height:38px}.look-arrow.previous{left:9px}.look-arrow.next{right:9px}
 .home-page>.look-sheet{height:164px;padding:6px 2px 0;display:block;overflow:hidden}.look-intro{display:none}.home-page .sheet-handle{display:none}.home-page .look-meta{min-height:28px;flex-wrap:nowrap;gap:10px}.home-page .look-meta-label{font-size:8px;flex-shrink:0}.home-page input.home-rotation{max-width:none;min-width:45px;height:28px}.home-page .date-button{font-size:10px;min-height:28px}.date-button svg{width:12px;height:12px}.home-page .look-heading{height:64px;margin:0;padding:10px 12px;align-items:center;border-radius:14px}.home-page .look-heading h1{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.home-page .look-heading p{font-size:10px;line-height:1.5;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.look-heading .favorite{width:30px;height:30px}.home-page .look-actions{margin:9px 0 0;gap:9px;justify-content:center}.look-actions>.pill{height:42px;min-height:42px;max-width:none;padding:10px 15px;font-size:12px}.look-actions>.icon-button{height:42px;width:40px}.home-page .look-items{display:none}.home-page>.look-sheet.expanded{height:164px;max-height:164px;position:static}.home-page .look-sheet.expanded .look-items{display:none}
 .bottom-nav{margin:10px auto 12px;width:280px;height:55px;padding:5px;border-radius:21px}.nav-item{height:45px;font-size:11px;border-radius:16px}.nav-item svg{width:18px;height:18px}.scroll-page{padding:5px 22px 18px}.page-heading{padding:12px 0 22px}.page-heading h1{font-size:30px;letter-spacing:-1px}.page-heading .eyebrow{font-size:9px;letter-spacing:1.5px}.heading-tag{font-size:7px;padding:6px 7px}.page-heading p:not(.eyebrow){font-size:11px;margin-top:10px}.page-heading .outlined{width:43px;height:43px;border-radius:14px}.search-box{height:45px;margin-bottom:14px}.search-box input{font-size:12px}.filter-row{gap:8px;padding-bottom:16px;flex-wrap:wrap}.filter-chips{flex:1;gap:6px}.chip{font-size:11px;min-height:34px;padding:7px 11px;border-radius:11px}.closet-tools{padding-left:8px;gap:3px;margin-left:auto}.closet-tool{width:29px;height:29px}.wardrobe-group{padding:15px 12px;margin-bottom:14px;border-radius:18px}.group-heading{margin-bottom:8px}.group-heading h2{font-size:15px}.group-heading h2 span{font-size:8px}.group-heading>span{font-size:10px}.items-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px}.item-name{font-size:11px;min-height:33px;line-height:1.5}.closet-item{padding-top:30px}.item-heart{width:30px;height:30px}.item-heart svg{width:14px;height:14px}.closet-model-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.model-name{font-size:12px}.selection-bar{padding:9px 10px;margin-top:12px;gap:8px}.selection-bar>span{font-size:12px}.selection-bar .pill{padding:10px 12px;font-size:11px}.selection-bar .text-button{font-size:10px}.selection-bar svg{width:14px}.import-paths{gap:10px;margin-bottom:26px}.import-paths>div{padding:14px 12px;gap:9px;align-items:flex-start}.path-number{font-size:19px}.import-paths strong{font-size:11px}.import-paths small{font-size:9px;line-height:1.6;max-width:110px}.section-label{margin:24px 0 14px}.section-label h2{font-size:19px}.section-label .text-button{font-size:11px}.looks-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 13px}.look-card strong{font-size:12px}.look-card small{font-size:10px}
}
@media(max-width:540px){.app-shell{width:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0}.app-header{height:calc(62px + env(safe-area-inset-top));padding-top:calc(12px + env(safe-area-inset-top))}.bottom-nav{margin-bottom:calc(10px + env(safe-area-inset-bottom));margin-top:8px}.scroll-page{scrollbar-gutter:auto}}
@media(max-width:380px){.app-header{padding-inline:18px}.home-page{padding-inline:12px}.scroll-page{padding-inline:17px}.page-heading h1{font-size:27px}.heading-tag{display:none}.chip{padding:7px 9px;font-size:10px}.filter-row{gap:6px}.filter-label-wide{display:none!important}.filter-label-compact{display:inline!important}.closet-tools{padding-left:6px}.closet-tool{width:27px}.import-paths>div{gap:7px;padding:12px 10px}.path-number{font-size:17px}.home-page .look-heading h1{font-size:14px}.bottom-nav{width:260px}.item-name{font-size:10px}.wardrobe-group{padding:13px 10px}}
@media(max-height:700px){.app-header{height:54px;padding-block:8px}.home-page{grid-template-rows:minmax(0,1fr) 145px}.home-page>.look-sheet{height:145px;padding-top:3px}.home-page .look-heading{height:52px;padding-block:7px}.home-page .look-heading p{display:none}.home-page .look-actions{margin-top:7px}.bottom-nav{height:50px;margin-block:7px}.nav-item{height:40px}.home-page .look-meta{min-height:25px}.home-page input.home-rotation{height:25px}}
@media(prefers-reduced-motion:reduce){}
.home-page .look-items{display:none!important}.look-detail-toggle{font-size:10px;white-space:nowrap}.look-meta:has(.look-detail-toggle:not([hidden])) .look-meta-label{display:none}.home-gallery-preview{display:block;text-align:left;width:100%;margin-top:auto;padding-top:32px}.gallery-preview-heading{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;margin-bottom:12px}.gallery-preview-heading #gallery-total{font-size:10px;color:#75766a;margin-left:auto}.gallery-preview-heading svg{width:14px;height:14px}.gallery-preview-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.gallery-preview-images img{display:block;width:100%;height:142px;object-fit:contain;border:1px solid #e6e4dc;background:#fff;border-radius:13px}.look-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px}.look-detail-grid .mini-item{min-width:0}.look-detail-grid .mini-item>span{display:block;font-size:11px;margin-top:8px}.look-detail-grid .item-art{border-radius:10px}.closet-model-card.selected .model-portrait{box-shadow:0 0 0 1px #8c79b1}.model-portrait i{background:#7c67a3}
@media(min-width:0px){.home-gallery-preview{display:none}.home-page .look-detail-toggle{font-size:9px}.home-page .look-meta:has(.look-detail-toggle:not([hidden])){gap:8px}}
@media(min-width:900px) and (max-height:740px){.home-gallery-preview{display:none}.look-intro{margin-bottom:20px}.look-intro h2{font-size:32px}}
@media(min-width:0px){}
@media(max-width:380px){}
@media(max-width:380px){.filter-row{flex-wrap:wrap}.filter-chips{flex:0 0 100%;overflow:visible;justify-content:flex-start}.closet-tools{margin-left:auto;border:0;padding:0}.filter-row .chip{flex-shrink:0}}

/* Import content and artwork occupy separate grid cells at every breakpoint. */
.logo b{font:600 27px/1.2 var(--font);letter-spacing:2px}
.upload-card{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:32px;width:100%;margin:0 0 18px;padding:32px;min-height:270px;border:0;border-radius:22px;background:var(--yellow);color:var(--ink);text-align:left;overflow:hidden}
.upload-copy{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:0;max-width:none}
.upload-copy .eyebrow{margin:0;font-size:11px;letter-spacing:1px;color:#69613e}
.upload-copy strong{font-size:30px;line-height:1.35;font-weight:600;color:var(--ink);letter-spacing:-.5px}
.upload-copy>span:not(.pill):not(.eyebrow){font-size:12px;line-height:1.7;color:#645d3d}
.upload-card .pill{margin-top:3px;min-width:140px;border-radius:13px;white-space:nowrap}
.import-art{grid-column:2;grid-row:1;position:relative;display:block;width:220px;height:190px;justify-self:center;transform:none;opacity:1}
.import-tile{position:absolute;width:100px;height:136px;border-radius:17px;display:flex!important;align-items:center;justify-content:center;border:1px solid #20211f12;box-shadow:0 6px 12px #55491810}
.import-tile svg{width:42px;height:42px;stroke-width:1.2}.tile-back{background:#b8c9e5;top:24px;left:12px;transform:rotate(-12deg)}.tile-middle{background:#e5aecb;top:14px;left:103px;transform:rotate(12deg)}.tile-front{background:#fffdf6;top:38px;left:62px;transform:rotate(-3deg)}
@media(min-width:0px){
 .logo b{font-size:25px;letter-spacing:1px}
 .upload-card{grid-template-columns:minmax(0,1fr);gap:16px;padding:24px;min-height:0}
 .import-art{grid-column:1;grid-row:1;width:166px;height:124px;position:relative;inset:auto;transform:none}
 .import-tile{width:72px;height:96px;border-radius:13px}.import-tile svg{width:32px;height:32px}.tile-back{top:11px;left:7px}.tile-middle{top:8px;left:81px}.tile-front{top:22px;left:47px}
 .upload-copy{grid-column:1;grid-row:2;width:100%;max-width:none;gap:11px}
 .upload-copy strong{font-size:25px}.upload-copy .pill{width:100%;min-height:44px}.upload-copy>span:not(.pill):not(.eyebrow){font-size:11px;max-width:none}
}
@media(max-width:380px){.upload-card{padding:20px}.upload-copy strong{font-size:23px}}

/* Compact layout for phones and tablets; desktop overrides follow below. */
.app-shell{width:min(430px,calc(100% - 32px));height:calc(100dvh - 32px);max-height:932px;min-height:0;margin:16px auto}
@media(max-width:540px){.app-shell{width:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0}}

/* Keep saved records from flashing as an empty/default wardrobe during startup. */
.app-startup{position:fixed;inset:0;z-index:10000;background:#f6f5ef;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;text-align:center}.app-startup[hidden]{display:none}

/* Neutral project title fits narrow mobile headers. */
.logo b{font-size:21px;letter-spacing:0}.header-page{min-width:0}@media(max-width:360px){.header-page{display:none}.logo b{font-size:20px}}


/* Public experience: real remaining quotas, responsive desktop workspace. */
.experience-bar{flex-shrink:0;display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;margin:0 16px 12px;padding:12px 14px;border:1px solid #e5e1d5;border-radius:16px;background:#f0eee5}
.experience-heading{grid-column:1/-1;display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.3}
.experience-heading strong{font-weight:600}.experience-heading>span:last-child{margin-left:auto;font-size:10px;color:#6b6c66}
.experience-dot{width:6px;height:6px;border-radius:50%;background:#74875e}
.experience-meter{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:3px 6px;font-size:10px;color:#6b6c66;min-width:0}
.experience-meter>div{justify-self:end;white-space:nowrap}.experience-meter strong{font:600 22px/1 Arial,sans-serif;color:#292a24;font-variant-numeric:tabular-nums}.experience-meter>div>span{font-size:10px;margin-left:3px}
.experience-meter progress{grid-column:1/-1;appearance:none;border:0;height:3px;width:100%;background:#dfddd2;border-radius:5px;overflow:hidden;accent-color:#788164}
.experience-meter progress::-webkit-progress-bar{background:#dfddd2}.experience-meter progress::-webkit-progress-value{background:#788164}.experience-meter progress::-moz-progress-bar{background:#788164}
.experience-personal{grid-column:1/-1;font-size:10px;line-height:1.4;color:#626457}
.experience-bar[data-state=error] .experience-dot,.experience-bar[data-state=exhausted] .experience-dot{background:#a87756}
@media(min-width:900px){
 .app-shell{width:min(1120px,calc(100% - 64px));height:calc(100dvh - 48px);margin:24px auto;max-height:1060px;border-radius:26px}
 .app-header{height:76px;padding:16px 32px}.logo b{font-size:25px}.header-page{font-size:12px}
 .experience-bar{margin:0 32px 20px;padding:16px 20px;grid-template-columns:145px minmax(130px,1fr) minmax(130px,1fr) minmax(140px,1fr);align-items:center;gap:24px}
 .experience-heading{grid-column:auto;flex-wrap:wrap;gap:8px;font-size:12px}.experience-heading>span:last-child{flex-basis:100%;margin-left:14px;font-size:10px}
 .experience-meter{font-size:11px;gap:7px 8px}.experience-meter strong{font-size:28px}.experience-personal{grid-column:auto;padding-left:20px;border-left:1px solid #dcd9cc;font-size:11px;line-height:1.8}
 .home-page{grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);grid-template-rows:minmax(0,1fr);gap:32px;padding:0 32px}
 .home-page>.viewer{border-radius:20px}.stage{padding:38px 18px 30px}
 .home-page>.look-sheet,.home-page>.look-sheet.expanded{height:auto;max-height:none;padding:12px 0;display:flex;flex-direction:column;overflow-y:auto;min-height:0}
 .look-intro{display:block;margin-bottom:24px}.look-intro h2{font-size:36px;line-height:1.3}.look-intro .eyebrow{margin-bottom:12px}
 .home-page .look-meta{margin-bottom:12px;gap:12px}.home-page .look-heading{height:auto;min-height:88px;padding:16px;align-items:flex-start}
 .home-page .look-heading h1{font-size:20px;white-space:normal}.home-page .look-heading p{font-size:12px;white-space:normal;line-height:1.6;display:block}
 .home-page .look-actions{margin-top:18px;gap:8px;justify-content:flex-start}.look-actions>.pill{font-size:12px;min-width:110px;flex:1}
 .home-gallery-preview{display:block;padding-top:24px}.gallery-preview-images img{height:120px}
 .scroll-page{padding:8px 32px 24px}.page-heading h1{font-size:36px}.items-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.closet-model-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.looks-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .upload-card{grid-template-columns:minmax(0,1fr) 220px;gap:32px;padding:32px;min-height:260px}.upload-copy{grid-column:1;grid-row:1;gap:14px}.upload-copy strong{font-size:32px}.upload-copy .pill{width:auto;min-width:160px}.import-art{grid-column:2;grid-row:1;width:220px;height:190px}.import-tile{width:100px;height:136px}.tile-back{top:24px;left:12px}.tile-middle{top:14px;left:103px}.tile-front{top:38px;left:62px}
 .bottom-nav{width:304px;height:58px;margin:16px auto}.nav-item{height:48px;font-size:12px}
}
@media(min-width:900px) and (max-height:760px){.home-gallery-preview{display:none}.look-intro{margin-bottom:14px}.look-intro h2{font-size:28px}.experience-bar{margin-bottom:14px;padding-block:12px}.app-header{height:64px}}
@media(max-width:540px){.experience-bar{margin-bottom:10px;gap:6px 16px;padding:10px 12px}.experience-heading{font-size:10px}.experience-meter strong{font-size:20px}}
@media(max-width:380px){.experience-bar{margin-inline:12px}.experience-personal{font-size:9px}.home-page .look-actions{gap:5px}.look-actions>.pill{padding-inline:10px}}
@media(max-width:899px) and (max-height:650px){.experience-bar{margin-bottom:7px;padding-block:8px;gap:4px 14px}.experience-heading>span:last-child{display:none}.experience-meter progress{display:none}.home-page,.home-page>.look-sheet{grid-template-rows:minmax(0,1fr) 132px}.home-page>.look-sheet{height:132px}.home-page .look-meta{min-height:22px}.home-page .look-heading{height:48px}.home-page .look-actions{margin-top:6px}.look-actions>.pill,.look-actions>.icon-button{height:38px;min-height:38px}}
