:root{font-family:Noto Sans SC,PingFang SC,Microsoft YaHei,sans-serif;color:#604458;background:#fcf6f8;font-synthesis:none;--rose:#b5658c;--deep:#85516f;--gold:#b99b61;--line:#eddee7;--muted:#a18b99;--panel:#fffafb}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:0;cursor:pointer;color:inherit;background:none}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ba94c8;outline-offset:3px}button:active:not(:disabled){transform:scale(.97)}a{color:inherit;text-decoration:none}svg{width:21px;height:21px;flex-shrink:0}button{transition:background .18s,color .18s,box-shadow .18s,transform .15s}button:hover:not(:disabled){filter:brightness(.98)}[hidden]{display:none!important}.header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid var(--line);background:#fffafb;position:relative;z-index:4}.brand{display:flex;align-items:center;gap:13px}.brand-seal{width:48px;height:52px;border:1px solid #d5bd90;border-radius:20px 20px 26px 26px;display:grid;place-items:center;color:#b9985e;background:linear-gradient(145deg,#fffef7,#f6ecda)}.brand-seal svg{width:28px;height:28px}.brand strong{font-family:Playfair Display,Georgia,serif;font-size:28px;font-weight:500;line-height:1.12;color:#745164;letter-spacing:-.7px}.brand strong span{font-style:italic;color:#ad83a0;font-size:25px}.brand small{display:block;font-size:11px;color:#a98d9c;margin-top:5px;letter-spacing:4px}.header-middle{font-size:13px;letter-spacing:4px;color:#ab929f;display:flex;align-items:center;gap:19px}.tiny-star{color:#c9af79;font-size:23px}.header-actions{display:flex;align-items:center;gap:7px}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:50%}.icon-button:hover{background:#f3e7ef}.collection-button{display:flex;align-items:center;gap:9px;margin-left:10px;background:#f4e9f0;border:1px solid #ead7e3;border-radius:50px;padding:12px 17px;font-size:14px;color:#8b5979;min-height:46px}.collection-button b{font-size:12px;display:grid;place-items:center;background:#fff9fc;width:22px;height:22px;border-radius:50%;font-weight:500}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 450px;height:calc(100dvh - 88px);min-height:0}.stage-shell{position:relative;min-width:0;overflow:hidden;background:radial-gradient(ellipse at center,#fff9f3,#f0dce1);isolation:isolate}.stage-shell #stage{position:absolute;top:0;right:0;bottom:0;left:0;touch-action:none;z-index:0}.stage-shell canvas{display:block;width:100%;height:100%;outline:0;touch-action:none}.stage-vignette{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(180deg,rgba(250,241,240,.28),transparent 19%,transparent 75%,rgba(250,241,240,.8));z-index:1}.scene-caption{position:absolute;top:27px;left:31px;z-index:2;pointer-events:none}.eyebrow{font-family:Georgia,serif;font-size:10px;letter-spacing:2px;font-weight:500;color:#b0939e}.scene-caption h1{margin:9px 0 5px;font-weight:500;font-size:23px;letter-spacing:3px;color:#7d5d6b}.scene-caption p{font-size:12px;color:#a68995;margin:0;letter-spacing:1px}.stage-tools{position:absolute;right:22px;top:27px;z-index:2;display:flex;flex-direction:column;gap:7px}.stage-tools>span{height:6px}.glass{background:#fffcf7d9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid #f7ebeb;box-shadow:0 3px 14px #7e5c7510}.stage-tools .icon-button{width:42px;min-height:42px;min-width:42px;color:#947487}.stage-tools .icon-button[aria-pressed=true]{background:#e8d4e3;color:#8b5178}.camera-presets{position:absolute;z-index:2;left:28px;top:143px;display:flex;gap:5px;background:#ffffffa8;border:1px solid #f7edef;padding:4px;border-radius:30px}.camera-presets button{display:flex;align-items:center;justify-content:center;gap:5px;padding:9px 11px;border-radius:22px;font-size:12px;min-height:39px;color:#987d8d}.camera-presets svg{height:16px;width:16px}.camera-presets button.active{color:#8d577a;background:#f3e3ed}.stage-bottom{position:absolute;z-index:2;bottom:23px;left:24px;right:24px;display:flex;flex-direction:column;align-items:center;gap:12px}.gesture-hint{color:#a58c98;font-size:11px;letter-spacing:1px;pointer-events:none}.pose-buttons{display:flex;gap:5px;padding:4px;border:1px solid #fff7f8;background:#fffaf9cc;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:28px;box-shadow:0 4px 14px #74526509}.pose-buttons button{display:flex;align-items:center;gap:5px;font-size:12px;min-height:40px;padding:6px 10px;border-radius:22px;color:#967086}.pose-buttons svg{width:16px;height:16px}.pose-buttons button:hover{background:#efdfeb}.stage-actions{display:flex;align-items:center;gap:10px}.pill{border-radius:28px;min-height:46px;padding:11px 21px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;border:1px solid #e8d8e2;background:#fff8fb;white-space:nowrap}.pill svg{width:18px;height:18px}.photo-button,.primary{background:linear-gradient(120deg,#b7749a,#a66894);color:#fff9fe;border-color:transparent;box-shadow:0 5px 14px #a8678f24}.wardrobe{background:var(--panel);border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;position:relative;z-index:3;box-shadow:-7px 0 30px #76536d05}.wardrobe-title{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 20px}.wardrobe-title h2{font-weight:500;font-size:21px;margin:5px 0 0;letter-spacing:1px}.wardrobe-title h2 span{font-family:Georgia;font-size:26px;color:#c2a577;margin-left:11px}.wardrobe-title .eyebrow{font-size:9px;letter-spacing:1.75px}.wardrobe-title .icon-button{color:#b08e9f}.groups{display:flex;border-top:1px solid #f1e6ed;border-bottom:1px solid #f1e6ed;padding:0 11px;overflow-x:auto;scrollbar-width:none;flex-shrink:0}.groups button{flex:1;min-width:56px;display:flex;align-items:center;flex-direction:column;gap:6px;padding:14px 3px 12px;font-size:12px;color:#a78d9c;position:relative;white-space:nowrap}.groups button.active{color:#a05f86;background:linear-gradient(0deg,#f6e8f0,transparent)}.groups button.active:after{content:"";position:absolute;bottom:0;height:3px;width:25px;border-radius:3px;background:#bc80a2}.groups svg{width:23px;height:23px}.subcategories{display:flex;gap:6px;overflow-x:auto;padding:16px 22px 11px;scrollbar-width:none;flex-shrink:0}.subcategories button{font-size:12px;min-height:37px;padding:8px 12px;border-radius:20px;white-space:nowrap;color:#9d8392;border:1px solid transparent}.subcategories button.active{background:#f0e1ec;border-color:#e9d3e3;color:#945b7f}.items-heading{display:flex;align-items:center;justify-content:space-between;padding:4px 24px 11px}.items-heading h3{font-size:13px;font-weight:500;margin:0;letter-spacing:.5px}.items-heading h3 span{font-size:11px;color:#bba3b0;margin-left:7px;font-weight:400}.lock-button{font-size:11px;display:flex;align-items:center;gap:5px;min-height:32px;color:#ae94a3;border-radius:20px;padding:5px 8px}.lock-button svg{height:13px;width:13px}.lock-button[aria-pressed=true]{color:#99527d;background:#f3e6ee}.items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 22px 17px;overflow-y:auto;min-height:130px;flex:1;align-content:start;scrollbar-color:#dcc3d3 transparent;scrollbar-width:thin;overscroll-behavior:contain}.item-card{border:1px solid #efdee8;border-radius:14px;display:flex;flex-direction:column;align-items:center;position:relative;background:linear-gradient(145deg,#fcf7fa,#f3ebf4);overflow:hidden;min-height:132px;padding:0 3px 11px}.item-card:hover{border-color:#c998b7;box-shadow:0 5px 15px #a4699010}.item-card.selected{border:1.5px solid #bc7b9f;background:linear-gradient(145deg,#fff4f9,#f1e4f0);box-shadow:0 0 0 2px #d9aec422 inset}.item-preview{width:100%;height:105px;display:flex;align-items:center;justify-content:center}.item-preview img{width:100%;height:100%;object-fit:contain;display:block}.item-preview img:not([src]){visibility:hidden}.item-card>span{font-size:11px;line-height:1.3;letter-spacing:.3px}.selected-mark{position:absolute;top:7px;right:7px;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;font-size:11px;font-weight:400;background:#b27198;color:#fff}.empty-item{background:#faf5f8}.empty-item .item-preview svg{color:#c1abb9;width:28px;height:28px}.large-color{display:block;width:61px;height:61px;border-radius:50%;background:var(--swatch);box-shadow:inset -5px -6px 10px #79556c19,0 4px 9px #69556710;border:4px solid #fff9f3}.rainbow{background:conic-gradient(#e697b8,#e9bd8d,#ded895,#a0d5b7,#9bcce6,#c0a1d9,#e697b8)!important}.color-panel{border-top:1px solid var(--line);padding:14px 23px 17px;background:#fffafc;flex-shrink:0}.color-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.color-heading>span{font-size:12px;display:flex;align-items:center;gap:6px;color:#9f7c92}.color-heading>span svg{height:14px;width:14px;color:#bd9b6c}.color-slots{display:flex;gap:3px}.color-slots button{font-size:11px;padding:5px 7px;min-height:30px;border-radius:12px;color:#b296a6}.color-slots button.active{background:#eedfe9;color:#975b81}.swatches{display:grid;grid-template-columns:repeat(8,1fr);gap:9px 9px}.swatch{width:31px;height:31px;border-radius:50%;background:var(--swatch);color:#fff;box-shadow:inset 0 0 0 1px #7661650c;border:3px solid #fffafc;justify-self:center;font-size:14px;position:relative}.swatch:before{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;border-radius:50%}.swatch.selected{outline:1.5px solid #b2779b;outline-offset:2px}.wardrobe-footer{padding:16px 22px;display:flex;gap:10px;border-top:1px solid var(--line);background:#fffbfd;flex-shrink:0}.surprise{flex:1;min-height:48px;display:flex;align-items:center;justify-content:center;gap:9px;border-radius:25px;background:linear-gradient(110deg,#ad719d,#97659c);box-shadow:0 4px 12px #a9709922;color:#fff;font-size:14px;letter-spacing:1px}.surprise span{margin-left:5px;color:#e9c7e6;font-size:22px}.surprise svg{width:19px}.theme-button{border:1px solid #ead6e5;background:#faf2f8;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:25px;padding:8px 15px;font-size:12px;color:#a07e97}.theme-button svg{height:17px;width:17px}.toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,15px);background:#755469ed;color:#fff;border:1px solid #af8b9f;border-radius:40px;padding:13px 23px;font-size:14px;z-index:30;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:90vw;text-align:center;box-shadow:0 7px 24px #52334322}.toast.show{opacity:1;transform:translate(-50%)}dialog{border:1px solid #ead8e4;border-radius:24px;padding:25px;max-width:620px;width:calc(100% - 36px);max-height:85dvh;overflow:auto;background:#fffafd;color:#76536b;box-shadow:0 25px 90px #492f5540}dialog::backdrop{background:#503d5266;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px}.dialog-heading h2{margin:0;font-weight:500;font-size:21px}.dialog-copy{color:#a08699;font-size:14px;line-height:1.8}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.field-label{display:block;font-size:13px;color:#a08096;margin-bottom:10px}input[type=text],input:not([type]){border:1px solid #ddc5d7;border-radius:13px;padding:14px;width:100%;font-size:16px;background:#fffcfe;color:#805d74}.themes-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.themes-grid button{padding:18px 14px;border:1px solid #ead7e3;border-radius:14px;display:flex;flex-direction:column;align-items:center;gap:12px;font-size:14px;background:#fbf3f8}.themes-grid button>span{display:flex}.themes-grid b{display:block;width:30px;height:30px;border-radius:50%;border:3px solid #fffbfd;margin-left:-4px}.saved-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.saved-card{border:1px solid #e9d5e1;border-radius:16px;overflow:hidden;position:relative;background:#f8eef5}.saved-card>button:first-child{width:100%;display:flex;flex-direction:column;align-items:center;padding:0 0 17px;gap:14px}.saved-card img{width:100%;height:190px;object-fit:cover}.saved-card strong{font-size:14px;font-weight:500}.saved-card>.icon-button{position:absolute;top:5px;right:5px;background:#fffbfbd9;min-width:36px;min-height:36px}.saved-card>.icon-button svg{width:16px}.empty-collection{text-align:center;padding:35px 15px;color:#b293a6}.empty-collection>svg{height:44px;width:44px;stroke-width:1}.empty-collection h3{font-size:17px;font-weight:500}.empty-collection p{font-size:14px}.settings-list label{min-height:65px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0e2ec;font-size:15px}.settings-list span{display:flex;gap:11px;align-items:center}.settings-list input{accent-color:#ad7097;width:22px;height:22px}.help-list p{font-size:14px;line-height:1.9;color:#9b7e91;padding:7px 0}.help-list b{display:block;color:#82586f;font-weight:500;margin-bottom:4px}.photo-result{max-width:100%;max-height:55dvh;object-fit:contain;display:block;margin:auto;border-radius:12px}.photo-mode .header,.photo-mode .wardrobe,.photo-mode .scene-caption,.photo-mode .stage-bottom,.photo-mode .stage-tools,.photo-mode .camera-presets{display:none}.photo-mode .workspace{height:100dvh;display:block}.photo-mode .stage-vignette{display:none}#photo-controls{position:absolute;inset:20px 22px auto;z-index:5;display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.photo-options{display:flex;align-items:center;gap:14px;background:#fff8f6b8;padding:6px 6px 6px 16px;border-radius:30px}.photo-options label{font-size:13px;display:flex;align-items:center;gap:7px}.photo-options input{accent-color:#aa7098}.graphics-error{position:absolute;top:28%;left:15%;right:15%;padding:30px;background:#fffbf6e8;border-radius:20px;border:1px solid #e8d7e0;text-align:center;z-index:4}.graphics-error>svg{width:40px;height:40px;color:#c2a270}.graphics-error h2{font-size:22px;font-weight:500}.graphics-error p{font-size:14px;line-height:1.8;color:#a18b98}.graphics-error button{margin-top:10px}:root[data-scene="5"] .scene-caption h1,:root[data-scene="5"] .scene-caption p,:root[data-scene="5"] .scene-caption .eyebrow{color:#e4d5e5}:root[data-scene="5"] .stage-vignette{background:linear-gradient(0deg,#30273f66,transparent 30%)}:root[data-scene="5"] .gesture-hint{color:#e1d0e7}.collection-button,.pill,.surprise,.theme-button{font-size:14px}.groups button,.subcategories button,.items-heading h3,.lock-button,.color-heading>span,.color-slots button,.item-card>span{font-size:14px}.groups button{min-height:76px}.lock-button{min-height:40px}.items-heading{padding-bottom:7px}.color-slots button{min-height:38px;padding:5px 7px}.color-panel{padding-top:10px;padding-bottom:10px}.swatches{gap:3px}.swatch{width:42px;height:42px;border-width:7px}.swatch:before{top:-3px;right:-3px;bottom:-3px;left:-3px}.stage-tools .icon-button,.icon-button{min-width:44px;min-height:44px}.camera-presets button,.pose-buttons button{min-height:44px;font-size:13px}.item-card>span{padding:0 2px}.item-card{min-height:139px}.item-preview{height:105px}.stage-bottom{gap:9px}@font-face{font-family:Fredoka;src:url(/fonts/fredoka-500.woff) format("woff");font-style:normal;font-weight:500;font-display:swap}@font-face{font-family:Nunito;src:url(/fonts/nunito-500.woff) format("woff");font-style:normal;font-weight:500;font-display:swap}@font-face{font-family:ChillRound;src:url(https://cdn.jsdelivr.net/gh/Warren2060/ChillRound@main/ChillRoundF%20v3.0.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap}:root{--font-ui: "Nunito", "ChillRound", "PingFang SC", "Microsoft YaHei", sans-serif;--font-heading: "Fredoka", "ChillRound", "PingFang SC", "Microsoft YaHei", sans-serif;font-family:var(--font-ui);font-size:100%;font-weight:500;line-height:1.5;font-synthesis:none;-webkit-text-size-adjust:100%}.brand strong{font-family:var(--font-heading);font-size:2.125rem;font-weight:500;line-height:1.05;letter-spacing:0}.brand strong span{font-size:inherit;font-style:normal}.brand small{font-family:var(--font-ui);font-size:1.125rem;line-height:1.35;letter-spacing:.12em;margin-top:4px;color:#926c83}.header-middle{font-size:1rem;letter-spacing:.08em;gap:12px}.collection-button{font-size:1.125rem;min-height:48px;padding:10px 16px}.collection-button b{font-family:var(--font-ui);font-size:.875rem}.eyebrow,.wardrobe-title .eyebrow{font-family:var(--font-ui);font-size:.75rem;line-height:1.4;letter-spacing:.1em}.scene-caption h1,.wardrobe-title h2,.dialog-heading h2,.graphics-error h2{font-family:var(--font-heading);font-size:1.375rem;font-weight:500;line-height:1.4;letter-spacing:.02em}.wardrobe-title h2 span{font-family:var(--font-heading)}.scene-caption h1{margin:6px 0 4px}.scene-caption p,.gesture-hint{font-size:.875rem;line-height:1.5;letter-spacing:.02em}.pill,.surprise,.theme-button,.stage-actions .pill{font-size:1.125rem;font-weight:500;line-height:1.35;letter-spacing:.02em;min-height:48px}.camera-presets button,.pose-buttons button{font-size:1rem;line-height:1.35;min-height:44px;white-space:nowrap}.stage-actions{flex-wrap:wrap;justify-content:center}.stage-bottom{gap:10px}.stage-tools .icon-button,.header-actions .icon-button{min-width:44px;min-height:44px}.wardrobe{overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}.wardrobe-title,.items-heading{flex-shrink:0}.wardrobe-title{padding-top:16px;padding-bottom:16px}.groups button,.subcategories button,.items-heading h3,.item-card>span{font-size:1rem;line-height:1.4;letter-spacing:.01em}.groups button{min-height:72px}.subcategories{padding-top:10px;padding-bottom:8px}.items-heading h3 span{font-size:.875rem;font-variant-numeric:tabular-nums}.lock-button{font-size:.875rem;min-height:44px;white-space:nowrap}.items{min-height:166px;overscroll-behavior-y:auto}.item-card{min-height:150px;padding-bottom:10px}.item-preview{flex-shrink:0}.item-card>span{display:block;width:100%;padding:0 4px;min-height:2.8em;overflow-wrap:anywhere}.color-heading{flex-wrap:wrap;gap:4px 8px;margin-bottom:6px}.color-heading>span{font-size:.875rem;line-height:1.4}.color-slots{flex-wrap:wrap}.color-slots button{font-size:.875rem;min-height:44px;padding:6px 8px}.wardrobe-footer{padding-top:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.theme-button{white-space:nowrap}.dialog-copy,.help-list p,.field-label,.settings-list label,.themes-grid button,.saved-card strong,.empty-collection p,.graphics-error p,.toast,.photo-options label{font-size:1rem;line-height:1.6}.dialog-actions{flex-wrap:wrap}.saved-card strong{overflow-wrap:anywhere;max-width:100%;padding:0 12px}.photo-options{flex-wrap:wrap}.photo-mode .workspace{height:100dvh}:root{color:#4b594b;background:#fff8e9;--rose:#3d8c76;--deep:#326653;--gold:#bf934c;--line:#e4e4cc;--muted:#798372;--panel:#fffbee}.header{background:#fffbee;border-color:#e6e5cd;box-shadow:0 3px #dedbc12e}.brand-seal{background:#f5d477;color:#795d34;border:0;border-radius:18px;box-shadow:inset 0 2px #fff5c7,0 3px #debd65}.brand strong{color:#3e7560}.brand strong span{color:#77a98d}.brand small{color:#78846c}.header-middle,.scene-caption p,.gesture-hint{color:#66755f}.tiny-star{color:#c69a44}.collection-button{background:#e5edcf;border-color:#d9e3bc;color:#526d47;box-shadow:0 3px #d8dfbd}.collection-button b{background:#fffbed;color:#526d47}.icon-button:hover{background:#e7ecd6}.stage-shell{background:#dcebdc}.stage-vignette{background:linear-gradient(180deg,#fff9e815,transparent 22%,transparent 76%,#edf1df75)}.scene-caption h1,.wardrobe-title h2,.dialog-heading h2{color:#4d674c}.eyebrow,.wardrobe-title .eyebrow{color:#77876b}.wardrobe-title h2 span{color:#d2a552}.glass,.camera-presets,.pose-buttons{background:#fffbedf5;border-color:#eee7c9;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 3px #b7bea82e,0 6px 18px #5e765110}.stage-tools .icon-button,.camera-presets button,.pose-buttons button{color:#68785f}.camera-presets button.active,.stage-tools .icon-button[aria-pressed=true],.pose-buttons button:hover{background:#dfeacf;color:#3b7159}.pill{background:#fffbed;border-color:#e4dcc2;color:#65734f;box-shadow:0 3px #ddd7be}.photo-button,.primary{background:#3c8b76;color:#fffef2;border-color:#3c8b76;box-shadow:inset 0 2px #69a792,0 4px #2f715f}.wardrobe{border-color:#dddcc1;box-shadow:-4px 0 #b2bea014}.groups{border-color:#e7e5ce;background:#f5f4df}.groups button{color:#768166}.groups button.active{color:#39745b;background:#e4edcc}.groups button.active:after{background:#79a375}.subcategories button{color:#758066}.subcategories button.active{background:#dfeac8;border-color:#cfddb8;color:#456d4f}.items-heading h3{color:#5e6a52}.items-heading h3 span,.lock-button{color:#778168}.lock-button[aria-pressed=true]{color:#426d52;background:#e4eccf}.items{scrollbar-color:#c5d2b1 transparent}.item-card{border:1px solid #e4dfc7;border-radius:22px;background:#f5f0de;box-shadow:inset 0 2px #fffbee,0 3px #ddd7bd60}.item-card:nth-child(3n+2){background:#eaf0df}.item-card:nth-child(3n){background:#f5e8dd}.item-card:hover{border-color:#8db88b;box-shadow:0 4px #b7c9a766}.item-card.selected{border:1.5px solid #69a17e;background:#e2edcf;box-shadow:inset 0 0 0 2px #f6ffe5,0 3px #9ab88c80}.item-card>span{color:#5f6c52}.selected-mark{background:#498363;color:#fffdef}.empty-item{background:#f5f1e2}.empty-item .item-preview svg{color:#a1ad8d}.color-panel,.wardrobe-footer{background:#fffbee}.color-heading>span{color:#6b785c}.color-heading>span svg{color:#c6a15c}.color-slots button{color:#7c856b}.color-slots button.active{background:#e5edcd;color:#4b7054}.swatch{border-color:#fffbee}.swatch.selected{outline-color:#6c9d73}.surprise{background:#f2cb70;color:#6c572e;border-color:#e8c169;box-shadow:inset 0 2px #ffe3a0,0 3px #d8b561}.theme-button{color:#5c795a}.toast{background:#4f6d58;color:#fffbed}dialog{background:#fffbee;border-color:#e4dfc7;color:#52644d;box-shadow:0 18px 60px #344d3440}.dialog-copy,.help-list p,.field-label,.settings-list label,.empty-collection p,.photo-options label{color:#69765d}.themes-grid button,.saved-card{background:#eef0dd;border-color:#dde2c5;color:#5b7052}input[type=text],input:not([type]){background:#fffef5;border-color:#cdd9b6;color:#4b654b}button:focus-visible,a:focus-visible,input:focus-visible{outline-color:#b07935}@media(prefers-reduced-motion:no-preference){.item-card:active:not(:disabled),.pill:active:not(:disabled),.surprise:active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 2px #ffffff30}}:root{--app-height: 100dvh;--visual-height: 100dvh;--visual-top: 0px}html,body{width:100%;height:100%;overscroll-behavior:none}body{overflow:hidden}#app{height:var(--app-height);display:grid;grid-template-rows:auto minmax(0,1fr)}.header{height:auto;min-height:86px;padding:max(8px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) 8px max(24px,env(safe-area-inset-left));gap:16px;grid-row:1}.header-actions,.brand-seal{flex-shrink:0}.brand{min-width:0}.brand strong{white-space:nowrap}.workspace{grid-row:2;height:auto;min-height:0;grid-template-columns:minmax(0,1fr) clamp(380px,34vw,460px)}.stage-shell{min-height:0}.stage-shell #stage{touch-action:none}.stage-shell #stage.has-error{z-index:4;touch-action:auto}button,a,input,label{touch-action:manipulation}button,.header,.scene-caption,.stage-bottom,.wardrobe{-webkit-user-select:none;user-select:none}input{-webkit-user-select:text;user-select:text}button,.item-preview img,canvas{-webkit-touch-callout:none}.photo-result{-webkit-touch-callout:default;-webkit-user-select:auto;user-select:auto}.stage-tools .icon-button,.icon-button,.header-actions .icon-button{width:44px;min-width:44px;min-height:44px}.stage-tools{top:22px;right:max(18px,env(safe-area-inset-right));gap:5px}.camera-presets{left:max(20px,env(safe-area-inset-left));top:135px}.camera-presets button,.pose-buttons button{min-height:44px}.stage-bottom{left:16px;right:16px;bottom:max(18px,env(safe-area-inset-bottom));gap:8px}.pose-buttons{flex-wrap:wrap;justify-content:center;max-width:100%}.pose-buttons button{padding:6px 9px}.stage-actions{position:static;flex-wrap:wrap;justify-content:center;gap:10px}.stage-actions .pill{padding:10px 16px}.wardrobe{display:grid;min-width:0;min-height:0;overflow:hidden;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto minmax(0,1fr) auto auto;padding-bottom:env(safe-area-inset-bottom)}.wardrobe-title{grid-row:1;padding:14px 20px}.groups{grid-row:2;padding:0 8px;overflow-x:auto}.groups button{min-width:49px;min-height:68px;padding:10px 4px}.subcategories{grid-row:3;padding:6px 16px;min-width:0;overflow-x:auto}.subcategories button{min-height:44px}.items-heading{grid-row:4;min-width:0;padding:0 14px 4px 20px;gap:8px}.items-heading h3{min-width:0;letter-spacing:0}.item-tools{display:flex;align-items:center;flex-shrink:0}.lock-button{min-height:44px}.items{grid-row:5;min-height:0;min-width:0;margin:0;padding:4px 16px 10px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-content:start;-webkit-overflow-scrolling:touch}.item-card{min-height:146px;min-width:0;padding-bottom:8px}.item-preview{height:94px;min-height:0;flex:none}.item-card>span{font-size:1rem;min-height:2.8em;line-height:1.4;padding:0 3px}.color-panel{grid-row:6;min-width:0;padding:6px 16px 8px}.color-heading{flex-wrap:wrap;gap:2px 6px;margin-bottom:4px}.color-slots button{min-height:44px;padding:5px 7px}.swatches{min-width:0;grid-template-columns:repeat(8,minmax(0,1fr));gap:2px;padding:3px}.swatch{min-width:0;width:100%;max-width:44px;height:42px;border-width:7px}.swatch:before{top:0;right:0;bottom:0;left:0}.wardrobe-footer{grid-row:7;padding:8px 16px;gap:8px}.surprise,.theme-button{min-height:48px}.surprise{min-width:0;letter-spacing:0}.theme-button{padding:8px 13px}.groups,.subcategories,.swatches{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}dialog{position:fixed;top:calc(var(--visual-top) + var(--visual-height)/2);left:50%;bottom:auto;right:auto;transform:translate(-50%,-50%);margin:0;width:min(620px,calc(100% - 32px));max-height:calc(var(--visual-height) - 32px);padding:22px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}body.has-dialog{overflow:hidden}.dialog-heading{gap:12px}.dialog-heading h2{overflow-wrap:anywhere}.dialog-actions{flex-wrap:wrap;gap:8px}.dialog-actions .pill{white-space:normal;text-align:center}input[type=text],input:not([type]){font-size:max(16px,1rem)}.saved-card>.icon-button{width:44px;min-width:44px;min-height:44px}.saved-card strong{overflow-wrap:anywhere}.photo-result{max-height:min(55dvh,calc(var(--visual-height) - 230px))}.photo-mode #app{height:var(--app-height)}.photo-mode .workspace{grid-row:2;height:100%;display:block}.photo-mode .stage-shell{height:100%}#photo-controls{inset:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) auto max(16px,env(safe-area-inset-left));flex-wrap:wrap}.photo-options{flex-wrap:wrap;gap:10px}.photo-options label{min-height:44px}.photo-options input{width:20px;height:20px}.toast{bottom:max(20px,env(safe-area-inset-bottom))}.graphics-error{left:50%;right:auto;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(100% - 36px));padding:24px}.graphics-error p{font-size:1rem}@media(max-width:1150px){.header{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}.header-middle{display:none}}@media(orientation:landscape)and (max-height:850px){.wardrobe-title{display:none}.scene-caption{top:20px;left:20px}}@media(orientation:portrait),(max-width:959px){.header{min-height:82px;gap:10px}.header-middle{display:none}.brand strong{font-size:2rem}.brand small{font-size:1.0625rem}.brand-seal{width:40px;height:45px}.header-actions{gap:2px}.collection-button{margin-left:4px;padding:10px 13px}.workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) clamp(440px,47%,480px)}.wardrobe{border-left:0;border-top:1px solid var(--line);border-radius:22px 22px 0 0;margin-top:0}.wardrobe-title{display:none}.groups{border-top:0;padding:0 12px}.groups button{min-height:64px;padding:8px 4px}.subcategories{padding:4px 16px}.items-heading{padding-bottom:0}.items{display:flex;overflow-x:auto;overflow-y:hidden;align-items:stretch;padding:3px 16px 8px}.item-card{min-width:136px;max-width:175px;width:22%;min-height:0;flex-shrink:0}.item-preview{height:auto;flex:1 1 0;min-height:28px;max-height:115px;overflow:hidden}.item-preview img{height:100%;min-height:0}.color-panel{padding:3px 16px 5px}.color-heading{margin-bottom:0}.swatches{display:flex;overflow-x:auto;gap:2px;padding:3px}.swatch{min-width:42px;width:42px;flex:0 0 42px}.wardrobe-footer{padding-top:6px;padding-bottom:6px}.stage-tools{display:grid;grid-template-columns:repeat(2,44px);top:16px;right:16px}.stage-tools>span{display:none}.scene-caption{left:20px;top:18px}.camera-presets{left:17px;top:116px}.stage-bottom{bottom:16px}.gesture-hint{display:none}}@media(max-width:600px),(max-height:540px),(max-width:959px)and (max-height:800px){body:not(.photo-mode):not(.has-dialog){overflow-y:auto}#app{height:auto;min-height:var(--app-height)}.header{flex-wrap:wrap;min-height:78px;padding:8px 12px}.brand{gap:8px}.brand strong{font-size:1.75rem}.brand small{font-size:1rem}.brand-seal{width:32px;height:39px}.header-actions{gap:0}.collection-button{margin-left:0;padding:10px}.collection-button span,.collection-button b{display:none}.workspace{height:auto;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(370px,48svh) auto}.wardrobe{min-height:470px;grid-template-rows:auto auto auto auto minmax(9rem,1fr) auto auto}.camera-presets button,.pose-buttons button{font-size:.875rem}.scene-caption p{display:none}.scene-caption h1{font-size:1.25rem}.scene-caption .eyebrow{font-size:.75rem}.camera-presets{top:85px}.stage-tools{grid-template-columns:repeat(2,44px)}.stage-actions .pill{padding:9px 13px}.pose-buttons{gap:2px;border-radius:20px}.pose-buttons button{padding:6px 7px}.items{display:flex;overflow-x:auto;overflow-y:hidden}.item-card{min-width:132px;min-height:0}.color-heading>span{font-size:.875rem}.color-slots button{padding-left:5px;padding-right:5px}.swatches{display:flex;overflow-x:auto}.swatch{min-width:42px;flex:0 0 42px}dialog{padding:18px}.dialog-actions{margin-top:16px}.photo-mode #app{min-height:0;height:var(--app-height)}}@media(hover:none){button:hover:not(:disabled){filter:none}.item-card:hover:not(.selected){border-color:#efdee8;box-shadow:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
