@font-face{font-family:LocalSerif;src:local("Noto Serif CJK SC"),local("Songti SC"),local("SimSun");font-display:swap}
:root{--bg:#f5f3ed;--ink:#29382d;--green:#344b3b;--muted:#7e8277;--line:#dddfd3;--soft:#eceee4;--serif:LocalSerif,"Times New Roman",serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:"Microsoft YaHei","PingFang SC",sans-serif;font-size:14px;line-height:1.65}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none;transition:background .2s,transform .2s}button:disabled{cursor:wait;opacity:.48}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #758f63;outline-offset:4px}button:hover:not(:disabled){filter:brightness(.96)}input,select{min-width:0}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}h1,h2{font-family:var(--serif);font-weight:500}h1{font-size:46px;line-height:1.5;letter-spacing:1px}h2{font-size:27px;line-height:1.5}h3{font-size:15px;font-weight:500}p{color:var(--muted)}.icon{width:21px;height:21px;flex:none;vertical-align:middle}.topbar{height:91px;max-width:1328px;padding:0 42px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;text-align:left;padding:0}.brand>img{width:43px;height:43px}.brand>span{font-family:var(--serif);font-size:25px;line-height:1.2;letter-spacing:4px}.brand-en{font:8px "Times New Roman",serif;display:block;letter-spacing:1px;margin-top:5px}.topbar nav{display:flex;align-items:stretch;height:100%;gap:38px}.nav-item{display:flex;align-items:center;gap:9px;position:relative;padding:0 4px;color:#888c80;font-size:13px}.nav-item.active{color:var(--green)}.nav-item.active:after{content:"";position:absolute;width:26px;height:3px;border-radius:3px;background:var(--green);bottom:0;left:calc(50% - 13px)}.profile{display:flex;align-items:center;gap:16px;color:#929587;font-size:11px}.avatar{width:37px;height:37px;border:1px solid #d7dbcb;border-radius:50%;display:grid;place-items:center;font:17px Georgia;background:#ebede2;color:#6b775c}main{max-width:1244px;padding:0 24px;margin:auto;min-height:70vh}.hero{display:flex;align-items:center;justify-content:space-between;padding:53px 20px 48px;min-height:354px}.eyebrow{font-family:Georgia,serif;font-size:10px;letter-spacing:2.3px;color:#7a876b}.hero h1{font-size:43px;margin:15px 0 14px;line-height:1.46}.period{color:#a4af90}.hero p{font-size:13px;letter-spacing:.6px}.hero-actions{display:flex;align-items:center;gap:26px;margin-top:24px}.primary,.secondary,.light-button,.danger{min-height:44px;padding:10px 21px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px}.primary{color:#fafaf2;background:var(--green)}.secondary{border:1px solid #cfd4c6;background:#fafaf5}.light-button{background:#f3f2e7;color:#354933;width:100%}.danger{background:#7c4639;color:white}.text-button{display:inline-flex;align-items:center;gap:10px;padding:9px 0;font-size:12px}.hero-art{width:325px;height:285px;position:relative;margin-right:61px;transform:rotate(3deg)}.arch{width:228px;height:266px;border-radius:120px 120px 8px 8px;background:linear-gradient(110deg,#dadfca,#e9e9da 58%,#ccd3be);border:6px solid #eeeee2;box-shadow:16px 20px 30px #3c4f2a0b;position:absolute;left:35px;overflow:hidden}.arch img{position:absolute;height:218px;object-fit:contain;left:20px;top:44px;filter:drop-shadow(7px 10px 7px #3437252b);transform:rotate(-6deg)}.rail{position:absolute;top:65px;left:0;right:0;height:3px;background:#8e977c}.hanger{position:absolute;width:90px;height:48px;top:57px;left:62px;border-bottom:3px solid #687457;clip-path:polygon(50% 0,100% 100%,0 100%);background:#8b9678}.art-caption{position:absolute;right:-55px;top:110px;writing-mode:vertical-rl;font:10px Georgia;letter-spacing:4px;color:#9ca58a}.floating-tag{position:absolute;left:-36px;bottom:21px;padding:12px 16px;background:#fbfbf5e8;border:1px solid white;border-radius:7px;font-size:10px;color:#728162;transform:rotate(-3deg);box-shadow:4px 8px 20px #283d2910;display:flex;gap:8px;align-items:center}.floating-tag .icon{width:16px}.collection-layout{display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:34px;margin-bottom:36px}.section-top{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}.section-top h2{font-size:25px;margin-top:2px}.count{font:13px Georgia;color:#99a287;margin-left:8px}.search{display:flex;align-items:center;gap:8px;border-bottom:1px solid #daddcf;padding:7px 0;color:#969c8b}.search .icon{width:16px}.search input{width:163px;background:none;border:0;outline:none;font-size:11px;color:var(--ink)}.filters{display:flex;gap:6px;margin-bottom:21px;flex-wrap:wrap}.filter{padding:7px 13px;border-radius:5px;font-size:12px;color:#858b7b}.filter small{margin-left:7px;font-family:Georgia;color:#abb1a1;font-size:10px}.filter.selected{background:var(--green);color:white}.filter.selected small{color:#c5cebd}.cabinet{background:#ded4c1;border:9px solid #e5ddce;border-bottom-width:0;border-radius:9px 9px 2px 2px;box-shadow:0 7px 25px #4539240d,0 0 0 1px #d9d2c3;overflow:hidden}.cabinet-heading{display:flex;justify-content:space-between;align-items:center;padding:11px 17px;font-size:9px;color:#958874;letter-spacing:1px;background:linear-gradient(#f0e9dc,#e6ddcd);border-bottom:1px solid #d7cbb7}.cabinet-heading>span{display:flex;align-items:center;gap:7px}.cabinet-heading .icon{height:14px;width:14px}.shelves{background:linear-gradient(90deg,#cec3af66,#f5eddd40 12%,#f5eddd40 88%,#c7b99e55),repeating-linear-gradient(0deg,#e7ddca,#e9e0cf 3px,#e9e0cf 6px)}.shelf-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:13px 16px 23px;position:relative;box-shadow:inset 0 10px 20px #5d432d12}.shelf-row:after{content:"";position:absolute;bottom:0;left:0;right:0;height:13px;background:linear-gradient(#eee3cd 0%,#eee3cd 38%,#baaa8e 43%,#d8c7a9 66%,#c5b294);box-shadow:0 5px 10px #56412d27;z-index:2}.garment{display:flex;flex-direction:column;align-items:center;position:relative;padding:0 0 12px;width:100%;min-width:0}.garment-photo{height:168px;width:100%;position:relative}.garment-photo img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(5px 6px 4px #4a3c2922);transition:transform .3s}.garment:hover img{transform:translateY(-5px) rotate(-2deg)}.garment-name{font-size:11px;color:#514e42;margin-top:6px}.garment-meta{font-size:9px;color:#928878;margin-top:2px}.sample-tag{position:absolute;left:2px;top:2px;color:#9b927f;font-size:8px;z-index:1;border:1px solid #bdb29c60;border-radius:3px;padding:0 4px}.garment-plus{position:absolute;right:3px;bottom:0;font-size:18px;color:#908871;opacity:0}.garment:hover .garment-plus{opacity:1}.cabinet-base{height:10px;background:linear-gradient(#c5b394,#dfd0b6);border-radius:0 0 2px 2px}.collection-foot{font-size:10px;color:#999e90;display:flex;align-items:center;justify-content:space-between;margin-top:13px}.subtle{font-size:10px;color:#919882;text-decoration:underline;text-underline-offset:4px;padding:5px}.daily-card{background:#e5e9d9;border-radius:9px;padding:25px 23px 19px;overflow:hidden;border:1px solid #dde2d0;margin-top:2px}.daily-card .eyebrow{font-size:8px;letter-spacing:1.6px}.daily-card h2{font-size:29px;margin:13px 0 10px;line-height:1.55}.daily-card p{font-size:11px;line-height:1.9;color:#859075}.daily-collage{height:190px;position:relative;margin:0 -10px 8px}.daily-collage img{position:absolute;object-fit:contain;filter:drop-shadow(5px 10px 5px #38432a20)}.collage-knit{height:152px;left:-8px;top:6px;transform:rotate(-13deg);z-index:2}.collage-pants{height:179px;right:13px;top:-5px;transform:rotate(9deg)}.collage-bag{height:78px;left:61px;bottom:2px;transform:rotate(-4deg);z-index:3}.daily-card .light-button{font-size:11px;justify-content:space-between}.daily-card .icon{width:17px}.card-note{display:block;font-size:8px;letter-spacing:.4px;text-align:center;color:#8a967e;margin-top:12px}.small-note{display:flex;gap:12px;padding:25px 2px 21px;border-bottom:1px solid var(--line)}.small-note>.icon{color:#94a180;width:22px}.small-note h3{font-size:11px;margin-bottom:5px}.small-note p{font-size:9px}.mini-stats{display:flex;justify-content:space-around;padding:22px 0}.mini-stats>div{display:flex;flex-direction:column;align-items:center;flex:1}.mini-stats>div+div{border-left:1px solid var(--line)}.mini-stats strong{font:29px Georgia;color:#77846b}.mini-stats span{font-size:9px;color:#939b86;margin-top:6px}footer{display:flex;align-items:center;justify-content:space-between;max-width:1196px;margin:15px auto 0;border-top:1px solid var(--line);padding:23px 0 27px;color:#9ba28e;font-size:10px}footer>span{letter-spacing:3px;font-family:var(--serif)}footer p{font-family:var(--serif);letter-spacing:2px;color:#9ba28e}footer small{font-size:9px}.flow{padding:44px 0 55px}.flow-heading{text-align:center;margin-bottom:29px}.flow-heading h1{font-size:34px;margin:10px 0}.flow-heading p{font-size:12px}.steps{max-width:780px;margin:0 auto 32px;display:flex;justify-content:space-around;gap:14px;border-bottom:1px solid var(--line);padding-bottom:22px}.step{font-size:12px;color:#a5aa9d;display:flex;align-items:center;gap:10px}.step>span{font:13px Georgia;width:29px;height:29px;border:1px solid #dce0d3;border-radius:50%;display:grid;place-items:center}.step.current{color:var(--green)}.step.current>span{background:var(--green);border-color:var(--green);color:white}.panel{background:#fcfcf7;border:1px solid #e0e3d7;border-radius:12px;overflow:hidden}.upload-zone{min-height:356px;border:1px dashed #c3cbb7;border-radius:10px;max-width:850px;margin:auto;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:40px 24px;background:#edefe54d;gap:13px}.upload-zone>.icon{width:44px;height:44px;color:#8d9b7c;margin-bottom:5px}.upload-zone h3{font-family:var(--serif);font-size:22px}.upload-zone p{font-size:12px}.upload-zone .text-button{font-size:10px;color:#879378}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.upload-zone .actions{margin-top:6px}.muted{font-size:10px;color:#939b86}.editor,.result,.style-setup{display:grid;grid-template-columns:1fr 1fr;max-width:1000px;margin:auto}.image-stage{background:#eeeee3;min-height:480px;position:relative;display:flex;align-items:center;justify-content:center}.image-stage>img{width:90%;height:420px;object-fit:contain;filter:drop-shadow(5px 8px 8px #35402413)}.stage-tag{position:absolute;bottom:17px;left:50%;transform:translateX(-50%);font-size:10px;padding:5px 12px;border-radius:20px;background:#ffffffe8;white-space:nowrap;color:#7c8670}.editor-content,.result-content,.style-options{padding:39px}.editor-content h2,.result-content h2{margin:10px 0 15px}.editor-content h1{font-size:32px;margin:10px 0}.editor-content p,.result-content>p{font-size:12px;line-height:1.9}.notice-box{border-radius:6px;background:#eff1e7;color:#7e8a6e;font-size:11px;line-height:1.9;padding:12px 15px;margin:21px 0}.field{display:flex;flex-direction:column;font-size:11px;gap:6px;margin-top:17px;color:#7a846e}.field input,.field select{border:1px solid #d9decf;border-radius:5px;background:#fffef9;padding:10px 12px;color:#42523a;width:100%;height:41px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.chip{border:1px solid #dce0d2;border-radius:5px;padding:5px 10px;font-size:10px;color:#8b9580}.chip.selected{background:#e7ecdc;color:#4a6242;border-color:#c7d0b8}.checker{background-color:#f8f8f1;background-image:linear-gradient(45deg,#e8e8df 25%,transparent 25%),linear-gradient(-45deg,#e8e8df 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e8e8df 75%),linear-gradient(-45deg,transparent 75%,#e8e8df 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.processing{position:absolute;inset:0;background:#f5f5eacf;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px}.processing p{font-size:11px}.spinner{width:32px;height:32px;border:2px solid #c4cdb9;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}.spinner.small{height:17px;width:17px;border-color:#ffffff66;border-top-color:white}@keyframes spin{to{transform:rotate(360deg)}}.style-setup>.style-options{border-left:1px solid #e1e5d6}.style-setup .upload-zone{border:0;border-radius:0;height:100%;background:#eeefe3}.style-options h2{font-size:24px;margin:10px 0 19px}.occasion-grid{display:flex;flex-direction:column;gap:8px}.occasion{border:1px solid #e2e5d9;display:flex;text-align:left;align-items:center;gap:13px;padding:11px 13px;border-radius:6px;font-size:12px}.occasion>span:nth-child(2){flex:1}.occasion small{display:block;font-size:9px;color:#919983;margin-top:3px}.occasion.selected{background:#edf1e4;border-color:#aeba98}.occasion>.icon{height:16px;width:16px}.occasion-symbol{font:25px Georgia;color:#8fa07d;width:27px;text-align:center}.full{width:100%}.person-preview{height:100%;background:#eeeee4;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;padding:22px}.person-preview img{max-height:490px;width:100%;object-fit:contain;border-radius:6px}.person-preview .secondary{font-size:11px}.look-visual{background:#e9eadd;position:relative;min-height:560px;display:flex;align-items:center;justify-content:center}.look-visual.generated>img{max-height:670px;width:100%;object-fit:contain}.look-flatlay{width:100%;height:500px;position:relative}.look-flatlay img{position:absolute;object-fit:contain;filter:drop-shadow(8px 12px 8px #2e3e2324)}.look-top{width:62%;height:50%;top:2%;left:1%;transform:rotate(-7deg);z-index:2}.look-bottom{width:52%;height:63%;right:5%;top:26%;transform:rotate(8deg)}.look-dress{width:73%;height:84%;left:0;top:0;transform:rotate(-7deg)}.look-coat{width:41%;height:46%;right:0;top:0;transform:rotate(12deg);z-index:1}.look-shoes{width:43%;height:28%;bottom:1%;left:4%;transform:rotate(-8deg);z-index:3}.look-bag{width:36%;height:32%;bottom:17%;left:0;transform:rotate(-13deg);z-index:3}.result-pieces{display:flex;flex-direction:column;margin-top:20px}.result-pieces>div{display:flex;align-items:center;gap:13px;border-bottom:1px solid #e8eadd;padding:7px 0}.result-pieces img{width:45px;height:49px;object-fit:contain;background:#f0f1e8;border-radius:5px}.result-pieces span{flex:1;font-size:11px}.result-pieces small{display:block;color:#939a85;font-size:9px}.result-pieces .icon{width:14px;color:#8fa17c}.result-content .muted{margin-top:12px}.empty{text-align:center;padding:70px 20px}.empty>.icon{height:40px;width:40px;color:#9aaa88;margin-bottom:16px}.empty h3{font-family:var(--serif);font-size:21px}.empty p{margin:10px 0 20px;font-size:12px}.saved-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.saved-card{background:#fcfcf6;border:1px solid #dde2d2;border-radius:10px;overflow:hidden}.saved-card .look-visual{min-height:330px}.saved-card .look-flatlay{height:310px}.saved-card .stage-tag{font-size:8px;bottom:8px}.saved-copy{padding:20px}.saved-copy h2{font-size:21px;margin:8px 0}.saved-copy p{font-size:10px;margin-bottom:10px}.saved-card .generated>img{height:350px;object-fit:cover}.feedback{margin:18px 0 0;padding:12px 18px;background:#e7eedc;border:1px solid #d3dfc1;color:#5d714d;border-radius:7px;font-size:12px;display:flex;align-items:center;gap:10px}.feedback.error{background:#f6e8dd;border-color:#ebcdbb;color:#946347}.danger-text{color:#a27765;display:block;margin-top:24px}.back-link{margin-bottom:20px}dialog{border:1px solid #d9dfcc;background:#fafbf3;border-radius:12px;max-width:430px;padding:30px;color:var(--ink);box-shadow:0 20px 80px #25302033}dialog::backdrop{background:#26352455;backdrop-filter:blur(3px)}dialog h2{font-size:24px}dialog p{font-size:12px;margin-top:13px}dialog .actions{justify-content:flex-end}.boot{text-align:center;padding:25vh 20px;color:#7b8b69}
@media(min-width:1450px){.hero{padding-top:62px;padding-bottom:58px}.garment-photo{height:190px}}
@media(max-width:1000px){.topbar{padding:0 25px}.profile>span:first-child{display:none}.collection-layout{grid-template-columns:minmax(0,1fr) 240px;gap:22px}.hero-art{margin-right:22px;transform:scale(.9)}.hero h1{font-size:37px}.filter{padding:6px 10px}.garment-photo{height:146px}.daily-card{padding:21px 18px}.search input{width:132px}.editor-content,.result-content,.style-options{padding:26px}footer{margin-left:24px;margin-right:24px}.hero{padding-left:0;padding-right:0}.saved-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){body{font-size:13px}.topbar{height:73px;padding:0 20px}.brand>img{height:34px;width:34px}.brand>span{font-size:23px}.brand-en{font-size:7px}.topbar nav{position:fixed;bottom:0;left:0;right:0;height:calc(66px + env(safe-area-inset-bottom));padding:0 14px env(safe-area-inset-bottom);gap:0;justify-content:space-around;background:#f9faf2f5;border-top:1px solid #e1e5d5;z-index:20;backdrop-filter:blur(14px)}.nav-item{flex-direction:column;gap:2px;justify-content:center;font-size:10px;padding:6px 20px}.nav-item .icon{height:21px;width:21px}.nav-item.active:after{bottom:auto;top:0;width:20px;left:calc(50% - 10px);height:2px}.avatar{height:31px;width:31px;font-size:13px}main{padding:0 19px}.hero{padding:31px 0 28px;min-height:275px;position:relative;overflow:hidden;margin-right:-19px}.hero .eyebrow{font-size:7px;letter-spacing:1.45px}.hero h1{font-size:29px;line-height:1.65;margin:12px 0 10px;position:relative;z-index:2}.hero p{font-size:10px;max-width:220px;line-height:1.8}.hero-actions{gap:20px;margin-top:22px;position:relative;z-index:3}.hero-actions .primary{font-size:11px;padding:10px 16px;min-height:40px}.hero-actions .text-button{font-size:10px}.hero-art{position:absolute;width:210px;height:240px;right:-74px;top:35px;margin:0;transform:scale(.67);transform-origin:50% 50%;opacity:.62}.arch{left:0}.hero-art .floating-tag,.art-caption{display:none}.collection-layout{display:flex;flex-direction:column;gap:25px}.collection{order:0}.section-top{margin-bottom:15px}.section-top .eyebrow{font-size:8px}.section-top h2{font-size:24px}.search{max-width:46%;padding:6px 0}.search input{width:100%;font-size:9px}.search .icon{width:14px}.filters{gap:3px;margin-bottom:15px}.filter{font-size:10px;padding:6px 9px}.filter small{font-size:8px;margin-left:4px}.cabinet{border-width:6px;border-bottom-width:0}.cabinet-heading{padding:9px 10px;font-size:8px;letter-spacing:0}.cabinet-heading>span:last-child{font-size:7px}.shelves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 8px}.shelf-row{display:contents}.shelf-row:after{display:none}.garment{padding:10px 2px 23px;border-bottom:10px solid #d4c2a2;box-shadow:0 3px 2px #94775425,inset 0 8px 10px #61503a0a}.garment:nth-child(odd){border-right:0}.garment-photo{height:149px}.garment-name{font-size:10px;margin-top:2px}.garment-meta{font-size:8px}.sample-tag{top:0;font-size:7px}.collection-foot{font-size:8px;gap:5px}.subtle{font-size:8px}.collection-layout aside{display:grid;grid-template-columns:1fr}.daily-card{position:relative;min-height:247px;padding:22px;width:100%}.daily-card h2{font-size:25px;margin:11px 0}.daily-card p{font-size:10px;position:relative;z-index:1}.daily-collage{position:absolute;width:150px;height:165px;right:16px;top:40px;margin:0}.collage-knit{height:125px;left:-5px}.collage-pants{height:149px;right:-5px}.collage-bag{height:67px;left:21px}.daily-card .light-button{position:relative;z-index:1;margin-top:20px;width:175px;min-height:39px}.card-note{display:none}.small-note{padding:18px 2px}.mini-stats{display:none}footer{margin:0 20px;padding:20px 0 100px;font-size:8px;gap:12px;flex-wrap:wrap}footer p{font-size:9px}footer small{display:none}.flow{padding:27px 0 34px}.flow-heading{text-align:left;margin-bottom:22px}.flow-heading .eyebrow{font-size:8px;letter-spacing:1.8px}.flow-heading h1{font-size:28px;line-height:1.5}.flow-heading p{font-size:11px}.steps{gap:4px;padding-bottom:18px;margin-bottom:22px}.step{font-size:9px;gap:5px}.step>span{height:22px;width:22px;font-size:10px}.editor,.result,.style-setup{display:flex;flex-direction:column}.image-stage{min-height:290px}.image-stage>img{height:270px}.editor-content,.result-content,.style-options{padding:24px}.editor-content h2{font-size:25px}.editor-content .actions>*{flex:1;white-space:nowrap;font-size:11px;padding:10px 11px}.upload-zone{padding:30px 17px;min-height:330px}.upload-zone h3{font-size:20px}.upload-zone p{font-size:11px}.upload-zone .actions{gap:10px}.upload-zone .primary,.upload-zone .secondary{font-size:11px;padding:10px 15px}.style-setup>.style-options{border-left:0;border-top:1px solid #e1e5d6}.person-preview{max-height:335px;padding:17px}.person-preview img{height:250px;object-fit:contain}.person-preview .secondary{min-height:33px;padding:5px 13px}.look-visual{min-height:395px}.look-flatlay{height:385px}.look-visual.generated>img{max-height:500px}.result-content h2{font-size:26px}.result-pieces{margin-top:12px}.saved-grid{grid-template-columns:1fr;gap:20px}.saved-card .look-visual{min-height:320px}.feedback{font-size:11px;padding:10px 12px}.empty{padding:46px 14px}.empty h2{font-size:23px}.empty h3{font-size:18px}.notice-box{font-size:10px}.back-link{margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.login-shell{min-height:100vh;display:grid;place-items:center;padding:32px 20px;background:radial-gradient(circle at 78% 18%,#e8ecdf 0,transparent 34%),#f7f5ed}.login-card{width:min(520px,100%);padding:42px;border:1px solid #dfe3d5;border-radius:24px;background:rgba(255,254,249,.92);box-shadow:0 22px 70px rgba(38,59,48,.09)}.login-card>.brand-mark{display:grid;width:58px;height:58px;margin-bottom:28px;place-items:center;border-radius:17px;font:34px Georgia,serif}.login-card h1{margin:12px 0 18px;color:#263b30;font:400 clamp(40px,8vw,62px)/.98 Georgia,serif;letter-spacing:-2px}.login-card>p{color:#747d73;font-size:17px;line-height:1.55}.login-card .field{margin-top:28px}.login-card small{display:block;margin-top:14px;color:#8b9289;text-align:center}.account-panel{max-width:620px;margin:auto}.profile{border:0;background:transparent;color:inherit}
.install-app{position:fixed;right:18px;bottom:18px;z-index:30;border:1px solid #dce2d3;border-radius:999px;background:#344b3b;color:#fffdf5;padding:10px 16px;box-shadow:0 8px 28px #2635242b;font-size:12px}.install-app[hidden]{display:none}
.brand-mark{width:43px;height:43px;border-radius:12px;background:var(--green);color:#fffdf7;display:grid;place-items:center;font:25px Georgia,serif;letter-spacing:0}
.mobile-add{display:none}
@media(max-width:700px){.install-app{right:14px;bottom:calc(78px + env(safe-area-inset-bottom));font-size:11px;padding:9px 14px}}

/* Each recommendation step owns its content; no photo/occasion vertical stack. */
.style-stage{max-width:680px;margin:0 auto}.photo-confirm-actions{padding:24px 32px 30px}.photo-confirm-actions h2{font-size:26px;margin-bottom:7px}.photo-confirm-actions p{font-size:12px}.photo-confirm .person-preview{padding:20px}.photo-confirm .person-preview img{height:300px}.photo-summary{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:22px;gap:12px;font-size:11px;color:#81916e}.photo-summary>span{display:flex;align-items:center;gap:6px}.photo-summary .icon{width:15px;height:15px}.steps .step.complete{color:#81916e}.steps .step.complete>span{background:#e4ebd9;color:#61784c;border-color:#d7e0ca}.steps .step.current{font-weight:600}.photo-confirm-actions .actions{margin-top:17px}
@media(max-width:700px){.photo-confirm-actions{padding:19px 24px 22px}.photo-confirm-actions h2{font-size:23px}.photo-confirm .person-preview img{height:215px}.photo-confirm .person-preview{max-height:none;padding:17px}.photo-confirm-actions .actions{flex-direction:column;gap:8px}.photo-summary{margin-bottom:19px;padding-bottom:8px;font-size:10px}.style-stage .style-options{padding:21px 24px}.style-stage .style-options h2{font-size:24px}}

/* Overseas mobile visual refresh: editorial typography, flat wardrobe cards, quiet green accents. */
@media(max-width:700px){
  body{background:#f8f7f1;color:#17281f}
  .topbar{height:88px;background:#f8f7f1f5;border-bottom:0}
  .brand>.brand-mark{width:46px;height:46px;font-size:27px;letter-spacing:0}
  .brand>span{font-size:14px;letter-spacing:2.5px}
  .brand-en{font-family:var(--sans);font-size:7px;letter-spacing:1.4px;margin-top:6px;color:#7b8479}
  .avatar{width:40px;height:40px;border-radius:50%;background:#e7e4da;color:#294c38}
  main{padding:0 20px}
  .hero{min-height:470px;padding:38px 0 28px;margin-right:0;overflow:hidden}
  .hero h1{font-size:40px;line-height:1.04;letter-spacing:-1px;margin:10px 0 16px;max-width:258px}
  .hero p{font-size:13px;line-height:1.55;max-width:215px}
  .hero-art{top:118px;right:-40px;width:190px;height:210px;opacity:.94;transform:scale(.72)}
  .arch{border-radius:115px 115px 14px 14px}
  .hero-actions{margin-top:25px;gap:12px}
  .hero-actions .primary{border-radius:9px;min-height:48px}
  .hero-actions .text-button{font-size:10px}
  .section-top{display:block;margin-bottom:14px}
  .section-top h2{font-size:29px}
  .section-top .count{font-size:11px;white-space:nowrap}
  .search{width:100%;max-width:none;margin-top:13px;padding:10px 12px;border:1px solid #dfe2d8;border-radius:9px;background:#fcfbf7}
  .search input{width:100%;font-size:11px}
  .filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .filter{min-width:0;border:1px solid #dfe2d8;border-radius:9px;padding:11px 6px;background:#fcfbf7;text-align:left;font-size:9px;white-space:nowrap}
  .filter small{font-size:7px;margin-left:2px}
  .filter.selected{background:#294c38;border-color:#294c38}
  .collection{min-width:0;overflow:hidden}
  .cabinet{border:0;background:transparent;box-shadow:none;overflow:hidden}
  .cabinet-heading,.cabinet-base{display:none}
  .shelves{display:flex;width:100%;max-width:100%;overflow-x:auto;gap:10px;padding:2px 1px 12px;background:none;scroll-snap-type:x mandatory}
  .shelf-row{display:contents}
  .garment{flex:0 0 135px;padding:9px;border:1px solid #e0e2da;border-radius:12px;background:#fcfbf7;box-shadow:none;scroll-snap-align:start;align-items:flex-start}
  .garment-photo{height:142px;width:100%;background:#efede6;border-radius:9px}
  .garment-name{font:14px var(--serif);margin-top:9px}
  .garment-meta{font-size:9px}
  .collection-layout aside{margin-top:4px}
  .daily-card{border-radius:14px;background:#e8ecdf;border-color:#dde4d4}
  .flow-heading h1{font-size:39px;line-height:1.08;letter-spacing:-1px}
  .panel,.upload-zone{border-radius:14px}
  .upload-zone{background:#f0f2ea;min-height:370px}
}

/* Photographic wardrobe cover and display-only cutout textures. */
.hero-photo{width:390px;height:288px;margin-right:28px;position:relative;overflow:hidden;border-radius:150px 150px 12px 12px;background:#e8e8df;box-shadow:0 20px 45px #39432d18;flex:none}.hero-photo img{width:100%;height:100%;object-fit:cover}.hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,#2034268f)}.hero-photo span{position:absolute;z-index:1;left:22px;right:22px;bottom:16px;color:#fff;font:10px Georgia,serif;letter-spacing:1.3px;text-align:center}.daily-collage{border-radius:80px 80px 9px 9px;overflow:hidden;margin-top:13px}.daily-collage img{position:static;width:100%;height:100%;object-fit:cover;filter:none}.image-stage.texture-linen,.texture-swatch.texture-linen span{background-image:linear-gradient(#f8f6efb8,#f8f6efb8),url('/assets/texture-linen.jpg');background-size:cover}.image-stage.texture-stone,.texture-swatch.texture-stone span{background-image:linear-gradient(#f6f2e9b8,#f6f2e9b8),url('/assets/texture-stone.jpg');background-size:cover}.image-stage.texture-sage,.texture-swatch.texture-sage span{background-image:linear-gradient(#eef1e7b8,#eef1e7b8),url('/assets/texture-sage.jpg');background-size:cover}.texture-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0 4px}.texture-swatch{padding:6px;border:1px solid #dce0d2;border-radius:7px;color:#7e8875;font-size:9px;background:#fffef9}.texture-swatch>span{display:block;height:38px;border-radius:4px;margin-bottom:5px}.texture-swatch.selected{border-color:#718267;box-shadow:0 0 0 1px #718267 inset;color:var(--green)}
.batch-review{margin:18px 0 8px;padding:14px;background:#f2f3ea;border:1px solid #e0e4d7;border-radius:9px}.batch-review-head,.batch-switch{display:flex;align-items:center;justify-content:space-between;gap:10px}.batch-review-head{font-size:11px;color:#506347}.batch-review-head small{font-size:9px;color:#929b87}.batch-thumbs{display:flex;gap:8px;overflow-x:auto;padding:11px 1px 12px}.batch-thumb{width:68px;height:76px;flex:0 0 68px;position:relative;border:1px solid #d8ddcf;border-radius:7px;background:#fffef9;padding:4px}.batch-thumb img{width:100%;height:100%;object-fit:contain}.batch-thumb span{position:absolute;right:3px;bottom:3px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#e8ebdf;color:#53664a;font:10px Georgia}.batch-thumb.selected{border-color:#526c4a;box-shadow:0 0 0 2px #526c4a inset}.batch-thumb.selected span{background:#526c4a;color:white}.batch-switch span{font-size:10px;color:#77836f}.batch-switch .secondary{min-height:34px;padding:6px 11px;font-size:10px}
@media(max-width:1000px){.hero-photo{width:330px;height:270px;margin-right:8px}}
@media(max-width:700px){.hero-photo{position:absolute;width:184px;height:224px;right:-51px;top:25px;margin:0;border-radius:95px 95px 10px 10px;opacity:.78}.hero-photo span{display:none}.daily-collage{position:absolute;width:145px;height:170px;right:14px;top:39px;margin:0;border-radius:72px 72px 7px 7px}.texture-picker{grid-template-columns:repeat(3,1fr)}.texture-swatch{font-size:8px;padding:5px}.texture-swatch>span{height:30px}}

/* Installed-PWA layout: compact, task-first, and shaped like a native utility app. */
@media(max-width:700px){
  html{background:#f7f6f0;overscroll-behavior-y:none}
  body{background:#f7f6f0;padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  .topbar{height:68px;padding:0 17px;background:#f7f6f0f2;border-bottom:1px solid #e5e6dd}
  .brand>.brand-mark{width:36px;height:36px;border-radius:10px;font-size:22px}
  .brand>span{font-size:12px;letter-spacing:2px}
  .brand-en{display:none}
  .profile .avatar{width:34px;height:34px;font-size:12px}
  main{padding:0 16px 12px}
  .hero{display:none}
  .collection-layout{display:flex;flex-direction:column;gap:0}
  .collection-layout aside{order:-1;display:block;margin:14px 0 20px}
  .daily-card{min-height:166px;border-radius:21px;padding:18px 19px;margin:0;background:#e8ede1;box-shadow:none}
  .daily-card .eyebrow{font-size:8px;letter-spacing:1.3px}
  .daily-card h2{font-size:25px;line-height:1.08;margin:10px 0 7px;position:relative;z-index:2}
  .daily-card p{font-size:10px;line-height:1.55;position:relative;z-index:2}
  .daily-collage{width:126px;height:135px;right:8px;top:19px}
  .collage-knit{height:103px;left:0}.collage-pants{height:126px;right:-3px}.collage-bag{height:51px;left:24px;bottom:2px}
  .daily-card .light-button{width:148px;min-height:36px;margin-top:12px;padding:8px 11px;border-radius:18px;font-size:10px}
  .small-note,.mini-stats{display:none}
  .section-top{margin-bottom:12px}
  .section-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .section-top h2{font-size:25px;line-height:1.2;margin:0}
  .section-top .count{display:block;font-family:var(--sans);font-size:9px;margin-top:3px}
  .mobile-add{display:flex;align-items:center;justify-content:center;gap:5px;min-height:38px;padding:8px 13px;border-radius:19px;background:var(--green);color:white;font-size:10px;font-weight:600}
  .mobile-add .icon{width:14px;height:14px}
  .search{margin-top:12px;padding:10px 12px;border-radius:12px;background:#fcfbf7}
  .filters{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;margin:0 0 14px;padding:0 0 3px;scrollbar-width:none;scroll-snap-type:x proximity}
  .filters::-webkit-scrollbar{display:none}
  .filter{flex:0 0 auto;min-width:auto;padding:8px 12px;border-radius:18px;text-align:center;font-size:10px;scroll-snap-align:start}
  .filter small{font-size:8px;margin-left:3px}
  .cabinet{overflow:visible}
  .shelves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:none;overflow:visible;padding:0;background:none;scroll-snap-type:none}
  .shelf-row{display:contents}
  .garment{width:auto;min-width:0;max-width:none;min-height:214px;padding:9px 9px 11px;border:1px solid #e0e2da;border-radius:15px;background:#fcfbf7;box-shadow:none;align-items:flex-start}
  .garment-photo{height:158px;border-radius:11px}
  .garment-name{width:100%;font-size:13px;line-height:1.2;margin-top:9px;text-align:left}
  .garment-meta{font-size:8px;text-align:left}
  .garment-plus{display:none}
  .collection-foot{margin-top:13px;font-size:8px}
  footer{display:none}
  .topbar nav{height:calc(70px + env(safe-area-inset-bottom));padding:0 5px env(safe-area-inset-bottom);background:#fcfbf7f5}
  .nav-item{padding:7px 5px;gap:3px;font-size:9px}
  .nav-item .icon{width:20px;height:20px}
  .nav-item.active:after{display:none}
  .nav-item.active{color:var(--green);font-weight:600}
  .flow{padding:20px 0 30px}
  .flow-heading{text-align:left;margin-bottom:17px}
  .flow-heading .eyebrow{display:none}
  .flow-heading h1{font-size:28px;line-height:1.15;letter-spacing:-.4px;margin:0 0 7px}
  .flow-heading p{font-size:11px;line-height:1.5}
  .steps{margin-bottom:18px;padding-bottom:13px;gap:6px;justify-content:flex-start;overflow-x:auto}
  .step{flex:0 0 auto;font-size:9px;gap:5px}
  .step>span{width:22px;height:22px;font-size:9px}
  .panel,.upload-zone{border-radius:19px}
  .upload-zone{min-height:320px}
}

.activity-panel{margin:24px auto;padding:24px;max-width:960px}.reference-photos{display:flex;gap:10px;overflow-x:auto;margin:16px 0}.reference-photos img{width:100px;height:130px;object-fit:contain}.duplicate-row{display:flex;gap:16px;border-bottom:1px solid #ddd;padding:16px 0}.duplicate-row img{width:100px;height:140px;object-fit:contain}.activity-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:12px 0;border-bottom:1px solid #ddd}.activity-panel input,.activity-panel select{max-width:100%;min-width:0}

.adjustment-panel{margin:18px 0;padding:18px;border:1px solid #dce2d5;border-radius:15px;background:#f3f4ec}.adjustment-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.adjustment-head h3{margin:2px 0 0;color:#263b30;font:24px Georgia,serif}.adjustment-close{width:32px;height:32px;border:0;border-radius:50%;background:#e3e8dc;color:#53674f;font-size:20px}.adjustment-types{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0 9px}.adjustment-help{margin:8px 0 12px;color:#788277;font-size:11px}.adjustment-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}.adjustment-item{min-width:0;padding:8px;border:1px solid #d7dccf;border-radius:11px;background:#fffef9;color:#334a3a;text-align:left}.adjustment-item img{width:100%;height:96px;object-fit:contain;border-radius:7px;background:#eeede6}.adjustment-item strong,.adjustment-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.adjustment-item strong{margin-top:7px;font-size:10px}.adjustment-item small{margin-top:3px;color:#8a9287;font-size:8px}.adjustment-item.selected{border-color:#49664e;box-shadow:0 0 0 2px #49664e inset;background:#eef2e8}.adjustment-item.ai-choice{min-height:139px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.adjustment-item.ai-choice>span{font:28px Georgia;color:#6f8668}.adjustment-panel>.actions{margin-top:14px}
.custom-occasion{display:flex;gap:8px;margin-top:10px}.custom-occasion input{flex:1;min-width:0;height:42px;padding:0 12px;border:1px solid #cfd4ca;border-radius:9px;background:#fffefa;color:#263b30}.custom-occasion .secondary{min-height:42px;margin:0;padding:8px 17px}.field-help{display:block;margin-top:7px;color:#8a9287;font-size:9px}
@media(max-width:700px){.adjustment-panel{padding:15px;margin:15px 0}.adjustment-head h3{font-size:21px}.adjustment-items{display:flex;overflow-x:auto;gap:8px;padding-bottom:3px}.adjustment-item{flex:0 0 102px}.adjustment-item img{height:88px}.adjustment-item.ai-choice{min-height:131px}}

.adjustment-step-label{display:block;margin:14px 0 7px;color:#53674f;font-size:10px;letter-spacing:.5px}

/* Account, credits and the development-only membership simulator. */
.account-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:18px;align-items:start}.account-card,.credit-panel{padding:22px;border:1px solid #dfe2d8;border-radius:18px;background:#fffef9}.credit-panel{background:linear-gradient(145deg,#edf1e7,#f8f6ef 68%)}.credit-kicker{color:#74816d;font-size:9px;letter-spacing:2px;text-transform:uppercase}.credit-balance{display:flex;align-items:end;gap:9px;margin:8px 0 2px;color:#21382b}.credit-balance strong{font:54px/1 Georgia,serif;font-weight:400}.credit-balance span{padding-bottom:7px;font-size:12px}.credit-inline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0;padding:12px 0;border-top:1px solid #d9dfd2;border-bottom:1px solid #d9dfd2;font-size:11px}.credit-actions{display:flex;gap:8px;flex-wrap:wrap}.credit-actions button{min-height:38px}.credit-note{margin:12px 0 0;color:#7c8578;font-size:9px;line-height:1.55}.profile-reward{margin-top:16px;padding-top:15px;border-top:1px solid #e2e4dc}.profile-reward .field-row{margin-bottom:9px}.profile-reward label{display:block;margin-bottom:5px;color:#667260;font-size:9px}.profile-reward input,.profile-reward select{width:100%;height:40px;border:1px solid #d5d9cf;border-radius:9px;background:#fffefa;padding:0 11px;color:#263b30}.credit-ledger{margin-top:18px}.credit-ledger h3{margin:0 0 10px;font:20px Georgia,serif;color:#263b30}.credit-entry{display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px 0;border-bottom:1px solid #e4e5df}.credit-entry strong,.credit-entry small{display:block}.credit-entry strong{font-size:10px;color:#3c5042}.credit-entry small{margin-top:3px;color:#90968d;font-size:8px}.credit-entry>span{font:17px Georgia,serif;color:#52684f}.credit-entry>span.negative{color:#955f52}.commerce-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:11px 14px;border:1px solid #dfe3d8;border-radius:13px;background:#f1f3ea;color:#465b48;font-size:10px}.commerce-strip strong{font-size:12px}.commerce-empty{color:#8a9287;font-size:10px}
@media(max-width:700px){.account-grid{grid-template-columns:1fr;gap:12px}.account-card,.credit-panel{padding:17px;border-radius:17px}.credit-balance strong{font-size:46px}.credit-actions{display:grid;grid-template-columns:1fr 1fr}.credit-actions button{padding:8px 9px;font-size:9px}.commerce-strip{margin-top:-4px}.credit-entry{padding:9px 0}}
.reward-panel,.account-panel{padding:22px}.reward-panel h2{margin:7px 0 3px}.reward-panel>.text-button{justify-content:center;margin-top:4px}.account-panel{margin:18px 0 0;max-width:none}.credit-ledger>div{display:grid;grid-template-columns:1fr auto;gap:10px;padding:10px 0;border-bottom:1px solid #e4e5df}.credit-ledger>div span{font-size:10px;color:#52604f}.credit-ledger>div strong{font:17px Georgia,serif;color:#52684f}.credit-ledger>div strong.debit{color:#955f52}
@media(max-width:700px){.reward-panel,.account-panel{padding:17px}.reward-panel .field-grid{grid-template-columns:1fr}.account-panel{margin-top:12px}}
