:root{--paper:#fbf8f5;--white:#fffdfb;--ink:#352e2b;--muted:#92877f;--rose:#bc766e;--rose-dark:#a55e58;--blush:#f1ded7;--line:#eee5df;--serif:'Songti SC','STSong','Noto Serif CJK SC',serif;--sans:'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;--shadow:0 12px 35px #68413209}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:14px/1.65 var(--sans);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{border:0;background:none;padding:0}a{color:inherit;text-decoration:none}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid var(--rose);outline-offset:4px}input,select,textarea{width:100%;background:#fffdfb;border:1px solid var(--line);border-radius:12px;padding:12px 14px;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:var(--rose);box-shadow:0 0 0 3px #bc766e12}textarea{resize:vertical;min-height:100px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-weight:500}svg.icon{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app-shell{max-width:1440px;margin:auto;display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100dvh}.sidebar{padding:43px 25px 26px;border-right:1px solid var(--line);position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;background:#faf5f0}.wordmark{font-family:var(--serif);font-size:47px;line-height:1.2;letter-spacing:5px;display:block}.brand-signature{font:italic 24px/1.2 Georgia,serif;color:var(--rose);letter-spacing:2px;margin-left:10px}.brand-sub{font-size:10px;color:var(--muted);letter-spacing:3px;margin-top:15px}.nav{display:flex;flex-direction:column;gap:11px;margin-top:57px}.nav-item{display:flex;align-items:center;gap:16px;padding:13px 18px;border-radius:13px;color:#887b73;transition:background .2s,color .2s;position:relative}.nav-item.active{background:#ecd7cf;color:var(--rose-dark);font-weight:500}.nav-item:hover{background:#f0e2da}.nav-item.active:before{content:'';position:absolute;left:0;width:3px;height:20px;background:var(--rose);border-radius:3px}.sidebar-note{margin-top:auto;padding:23px 12px 6px;color:var(--rose);font-family:var(--serif);font-size:16px;line-height:2}.sidebar-note small{font:8px/1.6 var(--sans);letter-spacing:2.5px;color:#a4948a;display:block;margin-top:17px}.main-wrap{min-width:0;padding:0 48px 45px}.topbar{height:103px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.top-date{font:12px Georgia,serif;letter-spacing:1.5px;color:var(--muted)}.top-date span{font:11px var(--sans);letter-spacing:2px;margin-left:15px}.mobile-brand{display:none}.top-actions{display:flex;align-items:center;gap:20px}.city-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;flex-shrink:0;padding:0;font-size:12px;line-height:1;white-space:nowrap}.city-chip{display:inline-flex;align-items:center;gap:5px;min-height:32px}.city-btn .city-chip>.icon{width:16px;height:16px;flex:0 0 16px}.city-label{display:block;line-height:20px;white-space:nowrap}.city-chip:after{content:"";width:5px;height:5px;flex-shrink:0;margin-left:2px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg)}.icon-btn{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;position:relative}.icon-btn:hover{background:#f1e3dc}.notification-dot{width:5px;height:5px;background:var(--rose);border-radius:50%;position:absolute;right:6px;top:5px}.avatar{display:inline-block;width:36px;height:36px;border-radius:50%;background-image:url('/assets/prototype.png');background-size:1250px auto;background-position:-330px -274px;background-color:#eeded5;flex-shrink:0}.avatar.a1{background-position:-950px -295px}.avatar.a2{background-position:-1115px -393px}.avatar.a3{background-position:-1110px -476px}.avatar.large{width:68px;height:68px;background-size:2350px auto;background-position:-620px -515px}.page{padding-top:32px}.eyebrow{color:var(--rose);font:10px/1.5 Georgia,serif;letter-spacing:3px;text-transform:uppercase}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.page-heading h1{font:28px/1.4 var(--serif);letter-spacing:2px}.page-heading .sub{font-size:12px;color:var(--muted);margin-top:6px}.heading-actions{display:flex;gap:8px;align-items:center}.plus-btn{background:#f1ded6;color:var(--rose-dark)}.primary{background:var(--rose);color:white;border-radius:30px;min-height:44px;padding:11px 25px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;letter-spacing:1px;transition:background .2s,transform .2s}.primary:hover{background:var(--rose-dark);transform:translateY(-1px)}.primary .icon{width:17px;height:17px}.secondary{border:1px solid #dbb6ad;background:#fffaf6;color:var(--rose-dark);border-radius:25px;padding:9px 19px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px}.text-btn{color:var(--rose-dark);font-size:12px;display:inline-flex;gap:5px;align-items:center}.text-btn .icon{width:15px;height:15px}.muted{color:var(--muted);font-size:12px}.full{width:100%}.section-title{display:flex;align-items:baseline;justify-content:space-between;margin:27px 0 16px}.section-title h2{font:21px var(--serif);letter-spacing:1px}.section-title small{font-size:10px;letter-spacing:1px;color:var(--muted)}.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 242px;gap:22px}.hero{min-height:440px;border-radius:18px;position:relative;overflow:hidden;background:#e9d9cc}.hero-photo{position:absolute;inset:0;background:url('/assets/fashion-hero.png') center 35%/cover}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#342f2810 35%,#35271d70 100%)}.hero-weather{position:absolute;top:23px;left:24px;z-index:1;backdrop-filter:blur(15px);background:#fffaf4dc;border:1px solid #fff9;padding:10px 15px;border-radius:12px;color:#695c51}.weather-top{font-size:10px;color:#968577;letter-spacing:1px}.weather-main{display:flex;align-items:center;gap:8px;font:20px Georgia,serif}.weather-main .sun{color:#c39a57;font-size:25px}.weather-note{font-size:9px;margin-top:2px}.hero-text{position:absolute;left:28px;bottom:29px;z-index:1;color:#fffaf6}.hero-text h2{font:32px/1.65 var(--serif);letter-spacing:3px;text-shadow:0 1px 14px #462f372b}.hero-text p{font:italic 15px Georgia,serif;margin-top:10px;color:#fff3e8}.hero-number{position:absolute;right:23px;bottom:24px;z-index:1;font:11px Georgia,serif;color:#fff}.daily-side{display:flex;flex-direction:column;gap:16px}.daily-card{background:#f3e9e0;border:1px solid #efe2d7;border-radius:17px;padding:23px 19px;flex:1;text-align:center;position:relative;overflow:hidden}.daily-card:after{content:'Y';position:absolute;font:italic 170px Georgia,serif;color:#d9c0ac16;right:-20px;bottom:-70px;pointer-events:none}.daily-card h3{font:22px var(--serif);margin:7px 0 2px}.daily-card .date-script{font:italic 12px Georgia,serif;color:var(--rose);margin-bottom:14px}.mini-outfit{display:grid;grid-template-columns:1fr 1fr;gap:7px;height:175px;margin:14px 0}.mini-outfit .garment:first-child{grid-row:span 2}.garment{display:block;position:relative;background-color:#f3eae2;background-repeat:no-repeat;border-radius:10px;min-width:0;overflow:hidden}.garment.crop{background-image:url('/assets/prototype.png');background-size:calc(1448 / var(--crop-w) * 100%) auto;background-position:calc(var(--crop-x) / (1448 - var(--crop-w)) * 100%) calc(var(--crop-y) / (1086 - var(--crop-h)) * 100%);aspect-ratio:var(--crop-w) / var(--crop-h)}.garment svg{width:100%;height:100%;min-height:80px;padding:12px}.avatar-banner{border:1px solid #e8c7be;border-radius:15px;background:linear-gradient(120deg,#f7e7df,#fffaf5);padding:17px;display:flex;align-items:center;gap:12px}.avatar-banner .banner-symbol{width:39px;height:49px;color:var(--rose);display:flex;justify-content:center}.avatar-banner .banner-symbol .icon{width:30px;height:43px}.avatar-banner h3{font:17px var(--serif)}.avatar-banner p{font-size:10px;color:#a08b80;margin-top:4px}.avatar-banner .icon:last-child{margin-left:auto;width:16px}.mobile-trial{display:none}.scenes{display:flex;gap:9px;overflow:auto;scrollbar-width:none}.chip{padding:7px 20px;border:1px solid transparent;border-radius:22px;font-size:12px;white-space:nowrap;color:#94867c;background:#f2ebe5;transition:all .2s}.chip.active{background:#ebd5cd;color:#9e5c54;border-color:#e0bdb3}.chip:hover{border-color:#d6b6aa}.look-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}.look-card{border:1px solid var(--line);background:var(--white);border-radius:13px;overflow:hidden;text-align:left;transition:transform .2s}.look-card:hover{transform:translateY(-4px)}.look-photo{height:217px;background-image:url('/assets/prototype.png');background-size:1920px auto;background-repeat:no-repeat;background-color:#eadbd0}.look-photo.look-0{background-position:-31px -864px}.look-photo.look-1{background-position:-106px -864px}.look-photo.look-2{background-position:-180px -864px}.look-portrait{background-image:url('/assets/fashion-hero.png');background-size:cover;background-position:center 30%}.look-card-content{padding:13px 14px 15px}.look-card-content h3{font-size:13px;letter-spacing:.5px}.look-card-content p{font-size:10px;color:var(--muted);margin-top:3px}.look-label{display:flex;align-items:center;justify-content:space-between}.look-label .icon{width:16px;height:16px;color:#a68f81}.footer-note{text-align:center;font:10px Georgia,serif;letter-spacing:2px;color:#b4a398;margin-top:34px}.wardrobe-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.search-wrap{position:relative;max-width:300px;width:100%}.search-wrap .icon{position:absolute;left:12px;top:12px;width:18px;color:var(--muted)}.search-wrap input{padding-left:38px;background:#f6efe8;border:0;border-radius:22px;font-size:12px}.wardrobe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.item-card{text-align:left;border:1px solid var(--line);border-radius:13px;background:#fffdfb;overflow:hidden;position:relative}.item-card .garment{width:100%;border-radius:0;aspect-ratio:1/1.1}.item-caption{padding:12px 13px}.item-caption h3{font-size:12px}.item-caption p{font-size:10px;color:var(--muted);margin-top:2px}.item-pill{position:absolute;top:10px;right:9px;border-radius:20px;padding:2px 8px;font-size:9px;background:#fffdfbd9;color:#a08776}.empty{padding:35px 20px;text-align:center;border:1px dashed #dcc6bb;border-radius:15px;color:var(--muted);grid-column:1/-1}.empty>.icon{color:var(--rose);width:36px;height:36px;margin-bottom:10px}.empty h3{color:#6d5c50;font:20px var(--serif);margin-bottom:8px}.empty p{font-size:12px;max-width:340px;margin:0 auto 20px}.demo-strip{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f3e7df;padding:12px 16px;border-radius:11px;font-size:11px;color:#9b8170;margin:17px 0}.pill{display:inline-block;background:#f4e5de;color:var(--rose-dark);border-radius:14px;padding:2px 9px;font-size:10px}.profile-info{display:flex;align-items:center;gap:18px}.profile-info h2{font:24px var(--serif)}.profile-info p{font-size:11px;color:var(--muted);margin-top:4px}.profile-info .text-btn{margin-left:auto}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:25px 0;text-align:center;max-width:520px;margin:auto}.profile-stats strong{font:24px Georgia,serif}.profile-stats span{display:block;font-size:11px;color:var(--muted);margin-top:3px}.profile-columns{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.card{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:23px}.digital-card{background:#f7e8e1;border-color:#e5bdb2;position:relative;overflow:hidden;min-height:210px}.digital-card h2{font:23px var(--serif);margin-bottom:8px}.digital-card .body-figure{position:absolute;right:8px;bottom:-22px;width:125px;height:220px;opacity:.65}.digital-card .primary{margin-top:22px;position:relative}.profile-links{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;text-align:center;padding:22px 0}.profile-links button{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px;color:var(--muted)}.profile-links .icon{color:#7d6c60}.profile-links b{font:14px Georgia,serif;color:var(--ink)}.menu-link{display:flex;align-items:center;gap:11px;width:100%;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.menu-link:last-child{border:0}.menu-link .icon{width:18px;color:#9c8a7d}.menu-link .icon:last-child{margin-left:auto;width:14px}.steps{display:flex;justify-content:space-between;max-width:500px;margin:0 auto 27px;position:relative}.steps:before{content:'';height:1px;background:#e3cdc1;position:absolute;top:12px;left:15%;right:15%}.step{position:relative;z-index:1;text-align:center;font-size:10px;color:#b3a298;background:var(--paper);padding:0 12px}.step span{display:block;margin:0 auto 6px;background:#e9dad1;color:white;width:24px;height:24px;border-radius:50%;line-height:24px}.step.active{color:var(--rose)}.step.active span{background:var(--rose)}.form-section{margin-bottom:27px}.form-section h3{font-size:14px;margin-bottom:15px;border-left:2px solid var(--rose);padding-left:9px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:block;margin-bottom:17px}.field>span{display:block;color:#928075;font-size:11px;margin-bottom:7px}.field-row{position:relative}.field-row em{position:absolute;right:14px;top:12px;color:#a39083;font-size:11px;font-style:normal}.choice-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.body-choice{border:1px solid var(--line);background:#fcf7f2;padding:10px 3px 8px;border-radius:12px;text-align:center;color:#a28c7f;font-size:10px}.body-choice.active{border-color:var(--rose);background:#f6e5dd;color:var(--rose-dark)}.body-choice .body-figure{height:100px;width:100%;display:block}.body-figure{fill:#edc2b2;stroke:#dba894;stroke-width:1}.leg-figure{height:80px;width:100%;fill:#edc2b2;stroke:#dba894;stroke-width:1}.photo-upload{display:flex;align-items:center;justify-content:center;gap:12px;padding:20px;border:1px dashed #d8b5a4;border-radius:12px;background:#fcf1ea;text-align:center;color:var(--rose);min-height:113px;cursor:pointer}.photo-upload .icon{width:29px;height:29px}.photo-upload img{width:70px;height:80px;object-fit:cover;border-radius:8px}.consent{display:flex;gap:9px;align-items:flex-start;font-size:11px;color:#928174;margin:18px 0}.consent input{width:15px;flex-shrink:0;accent-color:var(--rose);margin-top:3px}.avatar-form{max-width:660px;margin:auto}.body-report{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:20px}.body-preview{border-radius:15px;background:linear-gradient(130deg,#f2e6dc,#fcf5ec);display:flex;align-items:center;justify-content:center;position:relative;min-height:390px}.body-preview>.body-figure{height:350px;width:200px}.body-preview .pill{position:absolute;bottom:12px;left:15px}.measurements{display:flex;flex-direction:column;justify-content:center;padding:23px 19px;background:#f5ece3;border-radius:14px}.measurements h3{font-size:14px;margin-bottom:12px}.measurements div{display:flex;justify-content:space-between;border-bottom:1px solid #e9dcd0;padding:9px 0;font-size:11px}.measurements div span{color:#a18d7e}.measurements small{margin-top:15px;font-size:9px;color:#ae9785}.tag-list{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.tag-list .pill{padding:5px 12px}.style-notes{margin-top:22px;color:#8c796b;line-height:2;font-size:12px}.fitting-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:23px}.fitting-stage{position:relative;border-radius:18px;min-height:540px;background:#efe0d4;overflow:hidden;display:flex;align-items:center;justify-content:center}.fitting-stage .hero-photo{background-position:center 30%}.fitting-stage .body-figure{height:440px;width:260px;z-index:1}.stage-label{position:absolute;top:16px;left:16px;background:#fff9edda;border-radius:16px;padding:4px 12px;font-size:10px;z-index:2}.stage-note{position:absolute;bottom:16px;left:15px;right:15px;background:#fff9f0e6;border:1px solid #fff8;padding:12px 15px;border-radius:12px;color:#927965;font-size:10px;z-index:2}.stage-tools{position:absolute;right:15px;top:62px;display:flex;flex-direction:column;gap:11px;z-index:2}.stage-tools .icon-btn{border:1px solid #fff9;color:#fff;background:#89695842;backdrop-filter:blur(6px)}.fit-side{display:flex;flex-direction:column;gap:13px}.fitting-selected{display:grid;grid-template-columns:1fr 1fr;gap:9px}.selected-item{border:1px solid var(--line);border-radius:11px;overflow:hidden;background:#fffaf6;position:relative}.selected-item .garment{width:100%;height:110px;aspect-ratio:auto}.selected-item p{font-size:9px;padding:6px 8px}.selected-item .lock{position:absolute;right:6px;top:5px;width:24px;height:24px;background:#fffaf5d9;border-radius:50%;color:#a47d66}.selected-item .lock.active{color:var(--rose-dark);background:#eed3c7}.selected-item .lock .icon{width:14px}.fitting-catalog{display:flex;gap:11px;overflow:auto;padding:4px 0 12px}.fit-option{min-width:95px;width:95px;border:1px solid var(--line);border-radius:10px;overflow:hidden;position:relative;background:#fffaf6}.fit-option.selected{border-color:var(--rose);box-shadow:0 0 0 1px var(--rose)}.fit-option .garment{height:112px;width:100%;aspect-ratio:auto}.fit-option p{font-size:9px;padding:7px}.feed-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.feed-card{border:1px solid var(--line);border-radius:15px;background:#fffdfb;overflow:hidden}.post-user{display:flex;align-items:center;gap:9px;padding:14px 15px}.post-user .avatar{width:32px;height:32px}.post-user h3{font-size:12px}.post-user p{font-size:9px;color:#a59388}.post-user .follow{margin-left:auto;border:1px solid #dcaaa0;border-radius:18px;color:var(--rose);font-size:10px;padding:3px 12px}.post-image{height:320px;position:relative;overflow:hidden;background:#ead7c7;display:block;width:100%}.post-image.hero{background:url('/assets/fashion-hero.png') center 35%/cover;min-height:0;border-radius:0}.post-image.hero:after{display:none}.post-image .look-photo{height:100%;background-size:2750px auto}.post-image .look-photo.look-0{background-position:-45px -1240px}.post-image .look-photo.look-1{background-position:-150px -1240px}.post-image .look-photo.look-2{background-position:-265px -1240px}.post-content{padding:14px 16px}.post-content h2{font-size:14px;margin-bottom:7px}.post-content p{font-size:11px;line-height:1.9;color:#9a8c81}.post-tags{font-size:10px;color:#b18f7f;margin-top:8px}.post-actions{display:flex;justify-content:space-between;padding:12px 16px;border-top:1px solid #f5eee8}.post-actions button{display:flex;align-items:center;gap:6px;font-size:10px;color:#99877b}.post-actions .icon{width:18px;height:18px}.post-actions button.active{color:var(--rose)}.post-actions button.active .icon{fill:#efd4cb}.feed-tools{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.chat-list{max-width:720px;margin:auto}.chat-row{display:flex;align-items:center;gap:15px;width:100%;padding:18px 0;border-bottom:1px solid var(--line);text-align:left}.chat-row .avatar{width:47px;height:47px}.chat-row .assistant-avatar{display:flex;align-items:center;justify-content:center;width:47px;height:47px;border-radius:50%;background:#efdad1;color:var(--rose);flex-shrink:0}.chat-row h3{font-size:14px}.chat-row p{font-size:11px;color:var(--muted);margin-top:4px}.chat-row .chat-meta{margin-left:auto;color:#b5a499;font-size:10px}.assistant-notice{padding:17px 20px;border:1px solid var(--line);border-radius:13px;background:#f6ebe3;margin-top:24px;color:#a88b7a;font-size:11px}.chat-window{max-width:700px;margin:auto;display:flex;flex-direction:column;min-height:500px}.chat-messages{display:flex;flex-direction:column;gap:17px;padding:20px 0;max-height:530px;overflow:auto}.message{display:flex;gap:9px;align-items:flex-start;max-width:85%}.message.user{align-self:flex-end;flex-direction:row-reverse}.bubble{padding:12px 16px;border-radius:2px 14px 14px;background:#f0e3d8;font-size:12px;line-height:1.9;white-space:pre-wrap}.message.user .bubble{background:#e5c7bc;border-radius:14px 2px 14px 14px}.chat-input{display:flex;gap:10px;margin-top:auto;padding-top:20px}.chat-input input{border-radius:25px}.chat-input .primary{white-space:nowrap}.plan-list{display:grid;gap:15px}.plan-card{border:1px solid var(--line);border-radius:14px;padding:20px;background:#fffaf6}.plan-items{display:flex;gap:10px;margin:14px 0}.plan-items .garment{height:90px;width:75px;aspect-ratio:auto}.plan-actions{display:flex;gap:12px;align-items:center}.plan-card h3{font:17px var(--serif)}.plan-card time{font:11px Georgia,serif;color:var(--muted)}.modal-backdrop{position:fixed;inset:0;background:#30231d55;z-index:20;display:flex;justify-content:center;align-items:center;padding:25px;backdrop-filter:blur(5px)}.modal{max-width:530px;width:100%;max-height:88dvh;overflow:auto;background:#fdf9f5;border:1px solid #ffffff80;border-radius:21px;padding:25px;box-shadow:0 25px 90px #35221928}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-head h2{font:23px var(--serif)}.modal-head .icon-btn{background:#f3e7de}.modal p.description{font-size:12px;color:var(--muted);margin-bottom:19px}.modal-actions{display:flex;gap:11px;margin-top:23px}.modal-actions>*{flex:1}.danger{color:#b46960;font-size:12px;padding:10px}.item-editor-preview{height:165px;width:140px;margin:0 auto 20px;aspect-ratio:auto!important}.form-error{color:#ac534a;font-size:11px;margin-top:10px}.comment-list{display:flex;flex-direction:column;gap:12px;margin:18px 0}.comment{background:#f2e8df;padding:13px;border-radius:11px;font-size:12px}.comment b{display:block;color:var(--rose);font-size:10px;margin-bottom:4px}.rec-results{display:grid;gap:15px;margin-top:20px}.rec-result{border:1px solid var(--line);padding:15px;border-radius:12px}.rec-result p{font-size:11px;color:var(--muted);margin-bottom:13px}.rec-pieces{display:flex;gap:8px;margin:10px 0}.rec-pieces .garment{width:80px;height:100px;aspect-ratio:auto}.rec-source{font-size:10px;color:var(--muted);margin-bottom:15px}.loading-inline{padding:25px;text-align:center;color:var(--muted)}.initial-loading{height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:center;color:var(--rose)}.initial-loading span{font:45px var(--serif);letter-spacing:8px}.initial-loading p{font-size:12px;margin-top:15px;color:var(--muted)}#toast{position:fixed;bottom:35px;left:50%;transform:translate(-50%,15px);background:#503e35ed;color:#fff8f1;font-size:12px;padding:12px 22px;border-radius:30px;z-index:40;pointer-events:none;opacity:0;transition:.2s;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.upload-status{font-size:11px;color:var(--rose);margin-top:8px}.back-title{display:flex;gap:10px;align-items:center}.back-title .icon{width:20px}.scroll-tabs{display:flex;gap:6px;overflow:auto;scrollbar-width:none;margin-bottom:22px}.tabs-line{display:flex;gap:24px;margin:0 0 22px;border-bottom:1px solid var(--line)}.tabs-line button{padding:9px 0;position:relative;color:#a28d7d;font-size:12px}.tabs-line button.active{color:var(--rose-dark)}.tabs-line button.active:after{position:absolute;bottom:-1px;left:20%;right:20%;height:2px;background:var(--rose);content:''}.small-spaced{letter-spacing:2px;font-size:10px;color:#a78e7e}.preferences-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.checkbox-row{display:flex;align-items:center;gap:9px;font-size:12px;color:#8f7c6d}.checkbox-row input{width:17px;accent-color:var(--rose)}.scene-copy{font:13px var(--serif);color:#b08a75;letter-spacing:2px}.art-fallback{display:flex;justify-content:center;align-items:center;font-size:60px}.count-label{font-size:10px;color:#ae9a8a}.error-view{max-width:500px;margin:80px auto;text-align:center}.error-view h1{font:28px var(--serif);margin-bottom:12px}.error-view p{color:var(--muted);margin-bottom:20px}@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@media(min-width:1500px){.main-wrap{padding-left:65px;padding-right:65px}.hero{min-height:510px}.daily-card{padding-top:35px}.mini-outfit{height:200px}.look-photo{height:245px}}
@media(max-width:1100px){.app-shell{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding:36px 18px 23px}.main-wrap{padding:0 28px 35px}.hero-grid{grid-template-columns:minmax(0,1fr) 205px;gap:15px}.hero{min-height:405px}.daily-card{padding:19px 12px}.hero-text h2{font-size:27px}.fitting-layout{grid-template-columns:1fr 190px;gap:15px}.look-photo{height:190px}.nav-item{gap:12px;padding:12px}.post-image{height:270px}.feed-layout{gap:18px}.wardrobe-grid{gap:13px}.choice-grid{gap:6px}}
@media(max-width:780px){.app-shell{display:block;max-width:550px}.sidebar{height:auto;position:static;padding:0;border:0;background:none}.brand,.sidebar-note{display:none}.nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:550px;z-index:10;flex-direction:row;gap:0;justify-content:space-around;background:#fffdfaef;backdrop-filter:blur(18px);border-top:1px solid #eee3da;margin:0;padding:9px 4px calc(9px + env(safe-area-inset-bottom))}.nav-item{flex-direction:column;padding:3px 8px;gap:3px;font-size:10px;border-radius:0;min-width:54px;color:#9a8e85}.nav-item .icon{width:22px;height:22px}.nav-item.active{background:none;color:var(--rose)}.nav-item.active:before{display:none}.nav-item:hover{background:none}.main-wrap{padding:0 19px 100px}.topbar{height:77px;border-bottom:0;gap:0}.top-date{display:none}.mobile-brand{display:block;font:31px var(--serif);letter-spacing:2px}.mobile-brand i{font:italic 17px Georgia,serif;color:var(--rose);letter-spacing:0;margin-left:5px}.top-actions{gap:13px}.top-actions>.profile-btn{display:none}.city-chip{padding:6px 10px;border-radius:999px;background:#f1e9e0}.top-actions .icon-btn{width:26px;height:30px}.top-actions .icon{width:21px}.page{padding-top:10px}.page-heading{margin-bottom:19px}.page-heading h1{font-size:24px;letter-spacing:1px}.page-heading .sub{font-size:10px}.hero-grid{display:block}.hero{min-height:420px;border-radius:15px}.hero-photo{background-position:center 29%}.hero-weather{top:17px;left:17px;padding:9px 12px}.hero-text{left:23px;bottom:30px}.hero-text h2{font-size:30px;letter-spacing:3px}.hero-text p{font-size:14px}.daily-side{display:none}.mobile-trial{display:flex;margin:14px 0 22px;padding:14px 15px;border-radius:12px}.mobile-trial h3{font-size:18px}.mobile-trial p{font-size:10px}.hero-heading .page-heading{margin-bottom:18px}.hero-heading h1{font:22px var(--serif)}.hero-heading .eyebrow{font-size:9px;letter-spacing:2px}.section-title{margin:24px 0 14px}.section-title h2{font-size:20px}.section-title small{font-size:9px}.scenes{gap:7px}.chip{padding:6px 17px;font-size:11px}.look-grid{gap:10px;margin-top:14px}.look-photo{height:170px;background-size:1800px auto}.look-photo.look-0{background-position:-30px -810px}.look-photo.look-1{background-position:-102px -810px}.look-photo.look-2{background-position:-170px -810px}.look-card-content{padding:9px 8px 11px}.look-card-content h3{font-size:11px}.look-card-content p{font-size:9px}.look-label .icon{width:12px}.look-card{border-radius:10px}.wardrobe-toolbar{margin-bottom:15px}.wardrobe-grid{gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.item-caption{padding:9px 8px}.item-caption h3{font-size:10px}.item-caption p{font-size:9px}.item-pill{top:6px;right:5px;font-size:8px;padding:1px 5px}.demo-strip{font-size:10px;padding:11px 12px}.demo-strip .text-btn{font-size:10px;white-space:nowrap}.profile-info{gap:12px}.profile-info h2{font-size:21px}.avatar.large{width:57px;height:57px;background-size:1990px auto;background-position:-525px -438px}.profile-info p{font-size:10px}.profile-columns{display:block}.card{padding:19px}.digital-card{min-height:190px}.digital-card h2{font-size:21px}.profile-stats{padding:22px 0}.profile-links{padding:23px 0}.profile-columns>.card:last-child{padding:5px 20px}.body-report{grid-template-columns:minmax(0,1fr) 140px;gap:10px}.body-preview{min-height:330px}.body-preview>.body-figure{width:150px;height:300px}.measurements{padding:14px 12px}.measurements h3{font-size:12px}.measurements div{font-size:10px;padding:8px 0}.measurements small{font-size:8px}.choice-grid{gap:7px}.body-choice .body-figure{height:90px}.body-choice{font-size:9px}.form-section{margin-bottom:23px}.fitting-layout{display:flex;flex-direction:column;gap:15px}.fitting-stage{min-height:490px}.fitting-stage .body-figure{height:380px;width:220px}.fit-side{gap:10px}.fitting-selected{grid-template-columns:repeat(4,1fr);gap:7px}.selected-item .garment{height:100px}.selected-item p{font-size:8px;padding:5px}.fit-side>h3{display:none}.stage-note{font-size:9px}.feed-layout{display:flex;flex-direction:column;gap:20px}.feed-card{width:100%;border-radius:12px}.post-image{height:420px}.post-content h2{font-size:14px}.post-content p{font-size:12px}.post-image .look-photo{background-size:3500px auto}.post-image .look-photo.look-0{background-position:-59px -1575px}.post-image .look-photo.look-1{background-position:-197px -1575px}.post-image .look-photo.look-2{background-position:-337px -1575px}.feed-tools{gap:8px}.feed-tools .scenes{gap:0}.feed-tools .chip{padding:6px 13px}.feed-tools .primary{padding:8px 13px;min-height:36px;font-size:11px;white-space:nowrap}.chat-row{padding:18px 0;gap:12px}.chat-row h3{font-size:13px}.chat-row p{font-size:10px}.chat-window{min-height:calc(100dvh - 245px)}.chat-messages{max-height:calc(100dvh - 370px);min-height:250px}.chat-input .primary{padding:9px 20px}.modal-backdrop{padding:14px;align-items:center}.modal{border-radius:19px;padding:22px;max-height:90dvh}.modal-head h2{font-size:22px}.modal-head{margin-bottom:16px}.modal .fields{gap:10px}.modal .field{margin-bottom:13px}.modal .field>span{font-size:10px}.footer-note{font-size:9px;letter-spacing:1px}.tabs-line{gap:23px}.scroll-tabs{margin-bottom:17px}.scroll-tabs .chip{padding:6px 15px}#toast{bottom:90px}.steps{margin-bottom:23px}.step{font-size:9px}.body-choice{padding-top:6px}.preferences-grid{gap:10px}.page-heading .primary{font-size:11px;padding:9px 15px;min-height:38px}}
@media(max-width:360px){.main-wrap{padding-left:13px;padding-right:13px}.hero{min-height:370px}.look-photo{height:140px}.wardrobe-grid{gap:8px}.hero-text h2{font-size:27px}.body-report{grid-template-columns:1fr 125px}.nav-item{padding-left:4px;padding-right:4px}.chip{padding-left:13px;padding-right:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* 原型中的单品区域按独立取景框显示，避免尺寸变化时带入邻近文字。 */
.profile-columns{display:block}
.profile-columns>.card{margin-top:20px}
.garment.crop{background-size:calc(1448 / var(--crop-w) * 100%) calc(1086 / var(--crop-h) * 100%)}
.hero-photo{background-position:center top}
.look-photo{background-size:calc(1448 / 50 * 100%) calc(1086 / 67 * 100%);background-position:calc(var(--look-x) / (1448 - 50) * 100%) calc(658 / (1086 - 67) * 100%)}
.look-photo.look-0{--look-x:17;background-position:calc(17 / (1448 - 50) * 100%) calc(658 / (1086 - 67) * 100%)}
.look-photo.look-1{--look-x:74;background-position:calc(74 / (1448 - 50) * 100%) calc(658 / (1086 - 67) * 100%)}
.look-photo.look-2{--look-x:130;background-position:calc(130 / (1448 - 50) * 100%) calc(658 / (1086 - 67) * 100%)}
.post-image .look-photo{background-size:calc(1448 / 50 * 100%) calc(1086 / 67 * 100%);background-position:calc(var(--look-x) / (1448 - 50) * 100%) calc(658 / (1086 - 67) * 100%)}
@media(max-width:780px){.hero-photo{background-position:center 13%}.look-photo{background-size:calc(1448 / 50 * 100%) calc(1086 / 67 * 100%)}}
.daily-hero .hero-text{max-width:65%;z-index:2}.daily-hero-pieces{position:absolute;right:18px;bottom:18px;z-index:2;display:flex;gap:7px;align-items:end}.daily-hero-pieces .garment{width:76px;height:92px;aspect-ratio:auto;background:#fffaf0e8;border:1px solid #fff9;border-radius:12px;box-shadow:0 8px 22px #3d2b2429}.fitting-tabs{margin:8px 0 14px}.fit-option[aria-pressed="true"]{outline:2px solid #bc7e74;outline-offset:-2px}.daily-card .mini-outfit{overflow:hidden}
.daily-collage-mode{background:radial-gradient(circle at 70% 25%,#ead1bd,#f5e8dd 45%,#e7d2c0);border:1px solid #e8d6c7}.daily-hero-collage{position:absolute;inset:20px 20px 88px;display:flex;justify-content:center;align-items:center;gap:12px}.daily-hero-collage .garment{width:45%;height:74%;aspect-ratio:auto;background:#fff9f0d9;border:1px solid #fff9;border-radius:18px;box-shadow:0 15px 35px #8d6d5840;transform:rotate(-4deg)}.daily-hero-collage .garment:nth-child(even){transform:rotate(5deg) translateY(17px)}.daily-hero-collage .garment:nth-child(n+3){width:26%;height:43%;position:absolute;right:0;top:7%;transform:rotate(9deg)}.daily-hero-collage .garment:nth-child(4){right:auto;left:0;top:0;transform:rotate(-8deg)}.daily-collage-mode .hero-text{max-width:88%;bottom:20px;color:#5d4439;text-shadow:none}.daily-collage-mode .hero-text h2,.daily-collage-mode .hero-text p{color:#5d4439;text-shadow:none}.daily-hero-generated{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.my-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.my-pick-card{display:flex;flex-direction:column;text-align:left;min-height:205px;border:1px solid #e9d9cf;border-radius:15px;background:#fffaf6;padding:17px;box-shadow:0 7px 22px #7654470b}.my-pick-garments{display:flex;gap:5px;margin:11px 0;min-height:88px}.my-pick-garments .garment{flex:1;min-width:0;height:84px;aspect-ratio:auto;background:#f6ece4;border-radius:8px}.my-pick-card p{font-size:11px;line-height:1.6;color:#8e7468;flex:1}.my-pick-cta{display:flex;align-items:center;gap:3px;color:#b6796e;font-size:11px;margin-top:10px}.my-pick-cta .icon{width:13px;height:13px}
.image-fit-details .fitting-selected>.muted{grid-column:1/-1;padding:12px 0;line-height:1.6}
.event-list{display:grid;gap:10px;margin-bottom:18px}.event-card{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border:1px solid #e8d8cf;border-radius:12px;background:#fffaf5}.event-card small{display:block;color:#b28c79;font-size:10px;margin-bottom:5px}.event-card strong{font:17px var(--serif);color:#674d42}.event-card .icon-btn{color:#b48b7b}
@media(max-width:780px){.daily-hero .hero-text{max-width:76%;bottom:116px}.daily-hero .hero-text h2{font-size:24px}.daily-hero-pieces{left:16px;right:auto;bottom:14px}.daily-hero-pieces .garment{width:63px;height:79px}}
@media(max-width:780px){.daily-hero-collage{inset:95px 18px 83px;gap:8px}.daily-hero-collage .garment{height:82%}.daily-collage-mode .hero-text{bottom:17px;max-width:90%}.daily-collage-mode .hero-text h2{font-size:24px}.daily-collage-mode .hero-text p{font-size:11px}}
@media(max-width:780px){.my-picks{display:flex;overflow:auto;gap:10px;scroll-snap-type:x mandatory}.my-pick-card{flex:0 0 78%;scroll-snap-align:start}}

.garment.atlas{background-image:url('/assets/wardrobe-atlas.png');background-size:300% 300%;background-position:var(--art-x) var(--art-y);aspect-ratio:1}
.mobile-trial{width:100%}
/* 三个场景共享一张本地高清画册，按等宽面板取景。 */
.look-photo,.post-image .look-photo{background-image:url('/assets/lookbook-atlas.png');background-size:300% auto;background-position:var(--look-position) top}
.look-photo.look-0,.post-image .look-photo.look-0{--look-position:0%;background-position:0% top}
.look-photo.look-1,.post-image .look-photo.look-1{--look-position:50%;background-position:50% top}
.look-photo.look-2,.post-image .look-photo.look-2{--look-position:100%;background-position:100% top}
@media(max-width:780px){
  .fitting-stage{min-height:350px;height:350px}
  .fitting-stage .body-figure{height:300px}
  .stage-note{padding:9px 11px;font-size:8px;bottom:11px;left:11px;right:11px}
  .stage-tools{right:11px;top:52px;gap:8px}
  .fit-side{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .fit-side>.fitting-selected,.fit-side>.muted,.fit-side>.text-btn{grid-column:1/-1}
  .selected-item .garment{height:65px}
  .fit-side>.text-btn{justify-content:center}
}
/* 单品图片整理采用浏览器内的二维像素处理。 */
.cutout-preview{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:20px}.cutout-preview figure{margin:0;min-width:0}.cutout-preview figcaption{font-size:10px;color:#9e8472;margin:0 0 8px;text-align:center}.cutout-surface{width:100%;height:190px;border:1px solid #e8d9cb;border-radius:12px;overflow:hidden;background:repeating-conic-gradient(#f6f0e7 0 25%,#eaddce 0 50%) 0/15px 15px;display:flex;align-items:center;justify-content:center}.cutout-surface canvas{max-width:100%;max-height:100%;object-fit:contain}.cutout-slider{accent-color:#bb8073;width:100%;padding:0;border:0}.cutout-slider-label{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#987c67;margin-bottom:10px}.cutout-help{font-size:10px;color:#a08b7b;line-height:1.8;margin-top:10px}

@media(max-width:780px){.cutout-surface{height:155px}}
/* 纯图片试衣：静态体态参考、面貌照片、生成效果图。 */
.identity-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:23px;max-width:800px;margin:auto}.identity-reference{position:relative;background:#f2e8df;overflow:hidden;border-radius:17px;min-height:420px}.identity-reference>img{width:100%;height:100%;position:absolute;inset:0;object-fit:contain}.image-badge{position:absolute;top:15px;left:14px;display:inline-flex;align-items:center;border-radius:20px;background:#fff8f1e8;border:1px solid #fff7;color:#a6665c;font-size:10px;padding:4px 12px;z-index:2;box-shadow:0 3px 15px #8e6d5908}.identity-details{display:flex;flex-direction:column;gap:22px;min-width:0}.identity-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.identity-stats>div{background:#f4eae1;border:1px solid #eee0d4;padding:15px 9px;border-radius:12px;text-align:center}.identity-stats b{display:block;font:24px Georgia,serif}.identity-stats small{font:12px var(--sans);color:#907869}.identity-stats span{font-size:10px;color:#aa9484}.mini-section h3{font:17px var(--serif);border-left:2px solid #bd7d70;padding-left:8px}.mini-section>p{font-size:10px;color:#a48c7c;margin-top:6px}.pose-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:13px}.pose-choice{min-width:0;background:#f5eee7;border:1px solid #ebddd1;border-radius:10px;overflow:hidden;text-align:center;padding:3px 3px 7px;transition:border-color .2s,background .2s}.pose-choice img{display:block;width:100%;height:115px;object-fit:cover;object-position:center 20%;border-radius:7px}.pose-choice span{display:block;font-size:10px;color:#9c8575;margin-top:5px;white-space:nowrap}.pose-choice.selected{border-color:#bc7a6e;box-shadow:0 0 0 1px #bc7a6e;background:#f1ddd4}.pose-choice.selected span{color:#ad665c}.pose-choices-large{gap:15px}.pose-choices-large .pose-choice{padding:5px 5px 11px}.pose-choices-large .pose-choice img{height:260px;object-fit:contain}.pose-choices-large .pose-choice span{font-size:12px;margin-top:10px}.face-reference-card{display:flex;align-items:center;gap:13px;border:1px solid #e9d8cb;border-radius:13px;background:#fff9f2;padding:12px;text-align:left;width:100%}.face-reference-card>img{width:66px;height:76px;border-radius:9px;object-fit:cover;object-position:center 25%}.face-reference-card>span{flex:1;min-width:0}.face-reference-card b{display:block;font-size:12px;font-weight:400}.face-reference-card small{font-size:10px;color:#aa8b79;display:block;margin-top:5px}.face-reference-card>.icon{width:16px;color:#b38a76}.identity-entered{display:flex;flex-wrap:wrap;gap:8px}.identity-entered span{font-size:10px;color:#a48974;border-radius:12px;background:#f3e7dc;padding:3px 9px}.identity-advice{max-width:720px;text-align:center;margin:14px auto 0;font-size:12px;color:#aa8d79;line-height:1.9}.identity-actions{display:flex;gap:13px;max-width:650px;margin:22px auto 0}.identity-actions>*{flex:1}.portrait-tags{display:flex;justify-content:center;margin:23px 0 12px;gap:11px}.portrait-tags .pill{padding:5px 13px}.preview-boundary{font-size:10px;color:#a99282;line-height:1.9;margin-top:15px;text-align:center}.measurement-details{border:1px solid #ebddd2;border-radius:13px;padding:14px 16px;margin:22px 0}.measurement-details summary{font-size:12px;color:#a17e69;cursor:pointer}.measurement-details .muted{margin:13px 0}.pose-explanation{display:flex;gap:11px;align-items:center;background:#f3e7dd;border:1px solid #ead8c9;border-radius:12px;padding:14px;color:#a4806d;font-size:11px;line-height:1.9}.pose-explanation .icon{width:24px;height:28px;color:#bd8873}.identity-upload{min-height:140px}.identity-upload img{width:85px;height:105px;object-fit:cover;object-position:center 25%}.identity-upload small{font-size:10px}.profile-image-preview{position:absolute;right:0;bottom:0;top:0;width:125px;opacity:.85;overflow:hidden;border-radius:0 16px 16px 0;pointer-events:none}.profile-image-preview img{width:100%;height:100%;object-fit:cover;object-position:center 12%;mask-image:linear-gradient(90deg,transparent,black 30%);-webkit-mask-image:linear-gradient(90deg,transparent,black 30%)}
.image-fitting-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:22px;align-items:start}.image-fitting-stage{position:relative;height:555px;overflow:hidden;border-radius:18px;background:linear-gradient(130deg,#f0e6db,#fffaf4 60%,#eee0d2);border:1px solid #ebdfd4}.fitting-output{display:block;width:100%;height:100%;object-fit:contain}.image-fitting-stage .image-badge{top:auto;bottom:15px;left:15px;background:#c4887fe8;color:#fffaf7;border-color:#fff4}.image-reference-note{position:absolute;bottom:13px;left:15px;right:15px;background:#fff9f1df;padding:8px 12px;border-radius:11px;font-size:10px;color:#ab8d75;text-align:center}.image-fitting-stage:has(.image-reference-note)>.image-badge{top:14px;bottom:auto;background:#fff8f1e8;color:#a6665c}.compare-image-btn{position:absolute;right:14px;top:15px;display:flex;align-items:center;gap:6px;border:1px solid #fff9;border-radius:25px;padding:6px 11px;background:#fff9f2df;backdrop-filter:blur(12px);font-size:10px;color:#a27561}.compare-image-btn .icon{width:15px;height:15px}.image-fit-details{display:flex;flex-direction:column;gap:16px}.image-source-note{display:flex;align-items:center;gap:8px;font:14px var(--serif);color:#b07969;line-height:1.8}.image-source-note .icon{width:17px;height:17px;flex-shrink:0}.image-fit-details .fitting-selected{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.image-fit-details .selected-item .garment{height:112px}.image-fit-details .selected-item p{font-size:9px;padding:6px 8px}.image-fit-meta{display:grid;gap:13px;margin:0 0 2px}.image-fit-meta>label{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#b1937f;gap:10px}.image-fit-meta select{width:auto;min-width:125px;border-radius:20px;padding:6px 10px;font-size:10px;background:#fcf5ed}.image-fit-meta .text-btn{font-size:10px}.image-fit-meta .text-btn .icon{width:15px}.image-fit-actions{display:flex;flex-direction:column;gap:10px}.image-fit-actions .primary,.image-fit-actions .secondary{width:100%;white-space:nowrap;padding:11px 16px;font-size:12px}.image-fit-links{display:flex;align-items:center;justify-content:center;gap:17px}.image-fit-links .text-btn{font-size:10px}.image-fit-details>.preview-boundary{font-size:9px;margin-top:0;text-align:left}.image-job-overlay{position:absolute;inset:0;background:#fff6e6d9;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;z-index:3;color:#a37962}.image-job-overlay h3{font:22px var(--serif);margin-top:18px}.image-job-overlay p{font-size:11px;margin-top:8px}.image-job-overlay small{font-size:9px;color:#b79a85;margin-top:17px}.image-job-spinner{height:35px;width:35px;border:2px solid #ddc0ab;border-top-color:#b27468;border-radius:50%;animation:image-spin 1.3s linear infinite}.image-job-error{font-size:11px;line-height:1.8;border-radius:10px;padding:10px 12px;color:#aa7262;background:#f7e4dc}.image-activity{display:flex;align-items:center;gap:9px;padding:13px 16px;background:#f5e8de;border-radius:12px;margin:18px 0;color:#aa8069;font-size:11px}.image-activity span{flex:1}.image-activity .icon{width:19px;height:19px}.image-input-summary{display:flex;align-items:center;justify-content:center;gap:11px;margin:8px 0 24px;color:#c19985}.image-input-summary>img,.image-input-summary>div>img{width:83px;height:109px;object-fit:cover;object-position:center 25%;border-radius:10px;border:1px solid #eedbcb;background:#f1e4d8}.image-input-summary>div>small{display:block;text-align:center;font-size:9px;color:#a28775;margin-top:6px}.image-input-summary>.generation-clothes-mini{display:grid;grid-template-columns:repeat(2,42px);gap:5px}.generation-clothes-mini .garment{width:42px;height:49px;aspect-ratio:auto;border-radius:5px}.image-history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.image-history-card{border:1px solid #eadecf;border-radius:14px;background:#fffaf5;overflow:hidden;text-align:left}.image-history-media{height:235px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#b99a83;background:#f3e7db;font-size:12px}.image-history-media>img{height:100%;width:100%;object-fit:cover;object-position:center 20%}.image-history-media>.icon{height:32px;width:32px}.image-history-caption{padding:13px 14px}.image-history-caption h3{font-size:13px}.image-history-caption p{font-size:10px;color:#ab9280;margin-top:5px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.image-history-caption small{font-size:9px;color:#bba594;display:block;margin-top:7px}.generated-image-detail{width:100%;max-height:60dvh;object-fit:contain;border-radius:12px;background:#f5eade;margin-bottom:15px}.publish-generated-preview{text-align:center;margin:0 0 18px}.publish-generated-preview img{max-height:210px;max-width:100%;border-radius:12px}.plan-result-image{height:235px;max-width:100%;object-fit:contain;border-radius:12px;margin-top:16px;background:#f2e7db}@keyframes image-spin{to{transform:rotate(360deg)}}
@media(max-width:780px){
 .identity-layout{grid-template-columns:minmax(0,.93fr) minmax(0,1fr);gap:12px}.identity-reference{min-height:330px;border-radius:13px}.identity-details{gap:15px}.identity-stats{gap:7px}.identity-stats>div{padding:10px 5px;border-radius:10px}.identity-stats b{font-size:19px}.identity-stats small{font-size:9px}.identity-stats span{font-size:9px}.mini-section h3{font-size:14px;padding-left:6px}.mini-section>p{font-size:9px}.pose-choices{gap:5px;margin-top:10px}.pose-choice{padding:2px 2px 6px;border-radius:7px}.pose-choice img{height:93px;border-radius:5px;object-fit:contain}.pose-choice span{font-size:8px;margin-top:4px}.pose-choices-large{gap:10px}.pose-choices-large .pose-choice img{height:220px}.pose-choices-large .pose-choice span{font-size:10px}.face-reference-card{gap:7px;padding:8px;border-radius:10px}.face-reference-card>img{width:40px;height:57px;border-radius:7px}.face-reference-card b{font-size:10px}.face-reference-card small{font-size:8px;line-height:1.7;margin-top:4px}.face-reference-card>.icon{width:12px}.identity-entered{gap:5px}.identity-entered span{font-size:8px;padding:2px 6px}.identity-advice{font-size:10px;margin-top:10px}.identity-actions{margin-top:16px;gap:9px}.identity-actions .secondary,.identity-actions .primary{padding:10px 13px;font-size:11px;min-height:43px}.identity-upload{min-height:133px}.profile-image-preview{width:130px}.image-badge{font-size:8px;padding:3px 9px;left:10px;top:10px}.preview-boundary{font-size:9px;margin-top:12px}.measurement-details{padding:12px 13px}.measurement-details summary{font-size:11px}.measurement-details .muted{font-size:10px}.pose-explanation{font-size:10px;padding:12px}
 .image-fitting-layout{display:block}.image-fitting-stage{height:345px;border-radius:15px}.image-fitting-stage .image-badge{font-size:8px;bottom:10px;left:10px}.image-reference-note{font-size:8px;padding:6px 10px;bottom:9px;left:10px;right:10px}.image-fit-details{gap:10px;margin-top:12px}.image-source-note{font-size:11px;gap:6px}.image-source-note .icon{width:14px;height:14px}.image-fit-details .fitting-selected{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.image-fit-details .selected-item .garment{height:65px}.image-fit-details .selected-item p{padding:4px 5px;font-size:8px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.image-fit-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}.image-fit-meta select{min-width:104px;font-size:9px;padding:5px 8px}.image-fit-meta>label{font-size:9px;gap:7px}.image-fit-meta .text-btn{font-size:9px}.image-fit-actions{flex-direction:row;gap:9px}.image-fit-actions .primary,.image-fit-actions .secondary{width:auto;min-height:42px;font-size:11px;padding:10px 15px}.image-fit-actions .secondary{flex:0 0 38%}.image-fit-actions .primary{flex:1}.image-fit-links{gap:16px;min-height:20px}.image-fit-details>.preview-boundary{font-size:8px;text-align:center;margin-top:0}.compare-image-btn{top:11px;right:11px;padding:5px 9px;font-size:8px}.image-job-overlay h3{font-size:21px}.image-job-overlay p{font-size:10px}.image-job-overlay small{font-size:8px}.image-input-summary{gap:9px}.image-input-summary>img,.image-input-summary>div>img{width:65px;height:93px}.image-input-summary>.generation-clothes-mini{grid-template-columns:repeat(2,33px);gap:4px}.generation-clothes-mini .garment{width:33px;height:41px}.image-history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.image-history-media{height:205px}.image-history-caption{padding:11px 12px}.image-history-caption h3{font-size:12px}.image-history-caption p{font-size:9px}.image-activity{font-size:10px;padding:12px 13px}.image-activity .text-btn{font-size:10px;white-space:nowrap}
}
@media(max-width:780px){.image-fitting-stage{height:clamp(270px,calc(100dvh - 545px),390px)}}
.view-image-btn{position:absolute;right:13px;bottom:14px;border:1px solid #fff9;border-radius:20px;background:#fff9f0dd;backdrop-filter:blur(10px);color:#a16c59;font-size:9px;padding:4px 10px;z-index:2}.view-image-btn .icon{width:14px;height:14px;margin-right:4px;vertical-align:middle}
.reference-photo-page{max-width:460px;margin:0 auto}.reference-photo-preview{min-height:285px;border:1px dashed #d0afa0;border-radius:18px;background:#fff9f2;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;overflow:hidden;margin:22px 0}.reference-photo-preview>.icon{width:42px;height:42px;color:var(--pink,#b78378);margin-bottom:18px}.reference-photo-preview h2{font-size:19px;font-weight:400}.reference-photo-preview p,.reference-photo-preview small{color:var(--muted,#9b8374);font-size:12px;margin-top:12px}.reference-photo-preview.has-photo{border-style:solid;min-height:0}.reference-photo-preview img{display:block;width:100%;max-height:430px;object-fit:contain}.reference-photo-status{background:#f3e9e0;border-radius:12px;padding:14px 16px;line-height:1.8;margin-bottom:18px}.reference-photo-status b{font-size:13px;font-weight:500}.reference-photo-status p{font-size:12px;color:var(--muted,#9b8374);margin-top:4px}.reference-photo-page>.full{display:flex;justify-content:center;margin-top:12px}.reference-photo-page .consent{align-items:flex-start;line-height:1.8;font-size:12px}.reference-photo-page .consent input{flex-shrink:0;margin-top:4px}.reference-photo-page .upload-status:empty{display:none}


/* 手机端验收：先选衣再操作，保留桌面的侧栏布局。 */
.mobile-daily-action{display:none}
.image-fitting-stage{grid-column:1;grid-row:1}
.image-fit-details{grid-column:2;grid-row:1 / span 2}
.fitting-picker{grid-column:1;min-width:0}
.fitting-picker .section-title{margin-top:0;gap:10px;flex-wrap:wrap}
@media(max-width:780px){
  .my-picks>.empty,.my-picks>.muted{flex:0 0 100%}
  .mobile-daily-action{display:block;margin:16px 0 24px}
  .mobile-daily-action .primary{min-height:48px;font-size:14px}
  .hero-heading .page-heading{flex-wrap:wrap;gap:8px}
  .hero-heading .eyebrow{font-size:10px}
  .hero-heading .sub,.page-heading .sub{font-size:12px;line-height:1.7}
  .daily-hero{min-height:clamp(300px,44dvh,380px)}
  .daily-hero:not(.daily-collage-mode) .hero-text{bottom:28px;max-width:86%}
  .section-title{gap:8px;flex-wrap:wrap}
  .section-title small,.scene-copy{font-size:12px;letter-spacing:0;line-height:1.6}
  .chip{min-height:44px;padding:9px 16px;font-size:13px;flex-shrink:0}
  .scroll-tabs .chip{padding:9px 16px}
  .icon-btn{width:44px;height:44px;flex-shrink:0}
  .city-btn{min-height:44px;padding:0;font-size:12px}
  .nav-item{min-height:48px;flex:1;font-size:11px;justify-content:center}
  .nav-item .icon{width:23px;height:23px}
  .main-wrap{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
  .demo-strip{flex-wrap:wrap;gap:4px;font-size:12px}
  .demo-strip .text-btn{font-size:12px;min-height:44px}
  .search-wrap input,input,select,textarea{font-size:16px}
  .search-wrap input{min-height:44px}
  .profile-info{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:start;column-gap:12px;row-gap:4px}
  .profile-info>.avatar{grid-column:1;grid-row:1 / span 2;margin-top:4px}
  .profile-info>div{flex:1;min-width:0;overflow-wrap:anywhere}
  .profile-info p,.profile-links button,.profile-stats span{font-size:12px}
  .profile-info .text-btn{grid-column:2;justify-self:start;margin-left:0;min-height:44px;font-size:12px}
  .profile-links button{min-height:64px}
  .menu-link{min-height:52px;font-size:14px}
  .image-fitting-layout{display:flex;flex-direction:column;gap:16px}
  .image-fitting-stage{width:100%;height:clamp(220px,30dvh,280px);flex-shrink:0}
  .image-reference-note{font-size:11px;line-height:1.6}
  .image-fitting-stage .image-badge{font-size:11px}
  .fitting-picker,.image-fit-details{width:100%}
  .fitting-picker .section-title{margin:0 0 10px}
  .fitting-picker .section-title h2{font-size:20px}
  .fitting-picker .fitting-tabs{margin:0 0 8px}
  .fit-option{min-width:108px;width:108px;flex-shrink:0}
  .fit-option .garment{height:96px}
  .fit-option p{font-size:12px;line-height:1.5;padding:8px;overflow-wrap:anywhere}
  .image-fit-details{margin-top:0;gap:12px}
  .image-source-note{font-size:13px}
  .image-fit-details .fitting-selected>.muted{padding:0;font-size:12px}
  .image-fit-details .fitting-selected{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}
  .image-fit-details .selected-item .garment{height:auto;aspect-ratio:1}
  .image-fit-details .selected-item p{font-size:12px;line-height:1.5;min-height:44px;padding:5px 7px;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
  .selected-item .lock{min-width:36px;min-height:36px}
  .image-fit-actions .primary,.image-fit-actions .secondary{min-height:48px;font-size:14px}
  .image-fit-links .text-btn{min-height:44px;font-size:12px}
  .image-fit-details>.preview-boundary{font-size:11px;line-height:1.8}
  .image-fit-links button:disabled{cursor:default}
  .chat-row>div{min-width:0;flex:1}
  .chat-row h3{font-size:15px}
  .chat-row p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
  .chat-meta{flex-shrink:0}
  .assistant-notice{font-size:12px;line-height:1.8;color:#806b5f}
  .modal .field>span{font-size:13px}
  .modal .field input,.modal .field select,.modal .field textarea{font-size:16px}
  .image-history-caption h3{font-size:14px}
  .image-history-caption p,.image-history-caption small{font-size:12px}
}

/* 头像按原始画册中的方形区域取景，随容器尺寸缩放。 */
.avatar{--avatar-x:379;--avatar-y:325;--avatar-size:46}
.avatar.a1{--avatar-x:1275;--avatar-y:399;--avatar-size:34}
.avatar.a2{--avatar-x:1275;--avatar-y:447;--avatar-size:34}
.avatar.a3{--avatar-x:1275;--avatar-y:544;--avatar-size:34}
.avatar,.avatar.a1,.avatar.a2,.avatar.a3,.avatar.large{
  background-size:calc(1448 / var(--avatar-size) * 100%) auto;
  background-position:calc(var(--avatar-x) / (1448 - var(--avatar-size)) * 100%) calc(var(--avatar-y) / (1086 - var(--avatar-size)) * 100%);
}
.daily-collage-mode:after{background:linear-gradient(180deg,transparent 45%,#fff5e6ed 100%)}
.daily-collage-mode .hero-text p{font:12px/1.7 var(--sans);color:#695044}
.daily-hero-media{position:absolute;inset:0;display:block;width:100%;height:100%;border-radius:inherit;background:transparent;text-align:left;cursor:zoom-in}
.daily-hero:after,.daily-hero .hero-text{pointer-events:none}
.daily-hero-media:focus-visible{outline:3px solid var(--rose-dark);outline-offset:-5px}
.daily-hero-media:disabled{cursor:default}
.daily-hero .compact-weather{top:12px;left:14px;z-index:3;display:inline-flex;align-items:center;gap:8px;max-width:calc(100% - 28px);min-height:44px;padding:7px 12px;border-radius:24px;background:#fffaf4d9;box-shadow:0 2px 10px #493a2c0a;line-height:1.4;white-space:nowrap}
.compact-weather .weather-symbol{color:#bf9652;font-size:17px}
.compact-weather .weather-temperature{font-size:12px;font-variant-numeric:tabular-nums}
.compact-weather>.icon{width:12px;height:12px;color:var(--muted);flex-shrink:0}
.modal.home-image-fullscreen{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#171615;display:flex;align-items:center;justify-content:center;overflow:hidden}
.home-image-fullscreen .home-fullscreen-toggle{display:block;width:100%;height:100%;padding:0;background:transparent;cursor:zoom-out}
.home-image-fullscreen .home-fullscreen-image{display:block;width:100%;height:100%;object-fit:contain}
.home-image-fullscreen .form-error{display:none}
/* 首页只保留今日推荐后，让主图填满可用高度，避免按钮下方大片留白。 */
@media(max-width:780px){
  body[data-view=home] .main-wrap{min-height:100dvh;display:flex;flex-direction:column;padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  body[data-view=home] .topbar,body[data-view=home] .hero-heading{flex-shrink:0}
  body[data-view=home] .page{display:flex;flex-direction:column;flex:1}
  body[data-view=home] .hero-grid{display:flex;flex-direction:column;flex:1}
  body[data-view=home] .daily-hero{flex:1}
  body[data-view=home] .mobile-daily-action{flex-shrink:0;margin-bottom:0}
}
@media(max-width:780px){
  body[data-view=chat] .main-wrap{height:100dvh;display:flex;flex-direction:column;padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  body[data-view=chat] .topbar{flex-shrink:0}
  body[data-view=chat] .page{display:flex;flex-direction:column;flex:1;min-height:0}
  body[data-view=chat] .page-heading{flex-shrink:0;margin-bottom:16px}
  body[data-view=chat] .chat-window{width:100%;flex:1;min-height:0;margin:0 auto}
  body[data-view=chat] .chat-messages{flex:1;min-height:0;max-height:none}
  body[data-view=chat] .chat-input{flex-shrink:0;margin-top:0;padding-top:12px}
}

/* 长表单滚动时保留标题与关闭入口。 */
.modal-head{position:sticky;top:-25px;z-index:5;background:#fdf9f5;box-shadow:0 10px 0 #fdf9f5}
@media(max-width:780px){.modal-head{top:-22px}}
.publish-draft-image{display:flex;align-items:center;gap:12px;margin:12px 0;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fffaf6}.publish-draft-image img{width:54px;height:66px;object-fit:cover;border-radius:8px;background:#f2e7db}.publish-draft-image span{flex:1;font-size:12px;color:var(--muted)}.load-more-chat{align-self:center;min-height:38px;padding:4px 12px}
/* Personal profile editor: keep its form layout local to this dialog. */
.modal.profile-edit-modal{max-width:480px;padding:28px;border-radius:22px}
.profile-edit-modal .modal-head{margin-bottom:8px;top:-28px}
.profile-edit-modal .modal-head h2{font-size:24px;letter-spacing:1px}
.profile-edit-form{display:grid;gap:22px}
.profile-edit-intro{font-size:13px;line-height:1.7;color:var(--muted)}
.profile-edit-field{display:grid;gap:9px;min-width:0}
.profile-edit-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.profile-edit-label label{font-size:13px;font-weight:500;color:var(--ink)}
.profile-edit-count{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.profile-edit-form input,.profile-edit-form textarea{display:block;width:100%;min-width:0;margin:0;padding:12px 14px;font-size:14px;line-height:1.6;background:#fffdfb;border-radius:12px}
.profile-edit-form input{min-height:48px}
.profile-edit-form textarea{min-height:112px;max-height:220px;resize:vertical}
.profile-edit-form input::placeholder,.profile-edit-form textarea::placeholder{color:#aa9b91}
.profile-edit-hint{font-size:12px;line-height:1.5;color:var(--muted)}
.profile-edit-actions{display:grid;grid-template-columns:1fr 1.7fr;gap:12px;padding-top:20px;border-top:1px solid var(--line)}
.profile-edit-actions .primary,.profile-edit-actions .secondary{min-height:46px;width:100%;font-size:13px}
.profile-edit-modal .form-error:empty{display:none}
.feed-tools .community-feed-tabs{gap:12px;min-width:0}
.feed-tools>.primary{flex-shrink:0}
@media(max-width:780px){.feed-tools .community-feed-tabs{gap:8px}}
@media(max-width:550px){
  .modal.profile-edit-modal{padding:24px 20px;border-radius:20px}
  .profile-edit-modal .modal-head{top:-24px}
  .profile-edit-modal .modal-head h2{font-size:22px}
  .profile-edit-form{gap:20px}
  .profile-edit-form input,.profile-edit-form textarea{font-size:16px}
  .profile-edit-actions{padding-top:18px;gap:10px}
}
