@font-face{font-family:LocalSans;src:local('Arial');font-display:swap}
:root{--bg:#f7f6f2;--paper:#fffefa;--ink:#252724;--muted:#72736d;--line:#e6e5de;--accent:#ea603b;--accent-hover:#d64d29;--soft:#f2f0e9;--green:#43755c;--radius:20px;--shadow:0 8px 40px #28251b06;--font:LocalSans,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary,label.upload-drop{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.38}a{color:inherit;text-decoration:none}button{color:inherit}button,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible,label:focus-visible{outline:2px solid var(--accent);outline-offset:4px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.header{height:88px;margin-left:0;padding:0 38px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--bg);gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:26px;letter-spacing:-1.5px;font-weight:750}.brand-mark{display:grid;place-items:center;width:38px;height:38px;background:var(--accent);border-radius:12px;color:#fff}.brand-mark svg{width:25px;height:25px;fill:currentColor;stroke:none}.brand-cn{font-size:13px;font-weight:500;letter-spacing:1px;margin-left:14px;vertical-align:middle}.top-nav{height:100%;display:flex;gap:32px}.nav-tab{border:0;background:none;position:relative;padding:0 4px;color:var(--muted);font-size:13px}.nav-tab.active{color:var(--ink);font-weight:650}.nav-tab.active:after{position:absolute;content:'';height:3px;bottom:0;left:0;right:0;background:var(--accent);border-radius:4px 4px 0 0}.count{font-size:10px;background:#e9e7df;border-radius:5px;padding:2px 5px;margin-left:5px}.key-button{border:1px solid var(--line);border-radius:100px;min-height:42px;padding:0 15px;display:flex;align-items:center;gap:10px;background:var(--paper);font-size:12px}.key-button svg{width:16px;height:16px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b1b2a9;flex-shrink:0}.status-dot.on{background:var(--green)}.app-shell{display:flex}.rail{width:88px;flex-shrink:0;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;padding-top:36px;gap:12px;position:sticky;top:0;height:calc(100dvh - 1px)}.rail-button{width:44px;height:44px;border:0;background:none;border-radius:13px;color:var(--muted);display:grid;place-items:center}.rail-button:hover{background:#eeece5}.rail-button.active{background:#eee9de;color:var(--ink)}.rail-spacer{height:26px}.rail-word{font-size:9px;letter-spacing:2px;writing-mode:vertical-rl;margin-top:25px;color:#86877c}main{width:calc(100% - 88px);max-width:1660px;margin:0 auto;padding:42px 42px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:20px}.eyebrow{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:2px;font-weight:600;color:var(--muted)}.eyebrow>span:not(.status-dot){width:5px;height:5px;border-radius:50%;background:var(--accent)}h1{font-size:clamp(26px,2.45vw,38px);letter-spacing:-1.2px;font-weight:600;margin:13px 0 12px;line-height:1.3}h1>span{color:#8a8b81}.page-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.7}.heading-note{display:flex;align-items:center;gap:15px;font-size:10px;line-height:1.8;color:var(--muted);padding-right:12px}.tiny-star{font-size:48px;line-height:1;color:var(--accent);font-weight:300}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;column-gap:26px;row-gap:18px;align-items:start}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);box-shadow:var(--shadow)}.wardrobe{grid-column:2;grid-row:1;padding:20px}.panel-heading>div,.viewer-top>div{display:flex;gap:9px;align-items:center}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.step-number{font-size:9px;color:#94958b;font-family:monospace;letter-spacing:.4px;border:1px solid var(--line);border-radius:5px;padding:3px 4px}h2{font-size:14px;font-weight:600;margin:0;letter-spacing:.1px}.small-tag{font-size:7px;letter-spacing:1.3px;color:#8d8e84}.upload-drop{position:relative;border:1px dashed #c8c7ba;border-radius:12px;display:flex;align-items:center;gap:12px;padding:15px 12px;background:#faf9f4;cursor:pointer;transition:background .18s,border-color .18s}.upload-drop:hover,.upload-drop.dragging{background:#fff1e9;border-color:var(--accent)}.upload-drop input{position:absolute;width:1px;height:1px;opacity:0}.upload-icon{width:35px;height:35px;border:1px solid var(--line);border-radius:10px;display:grid;place-items:center;background:var(--paper)}.upload-icon svg{width:17px;height:17px}.upload-drop strong{display:block;font-size:12px;font-weight:600}.upload-drop small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.upload-plus{font-size:22px;font-weight:300;color:#96978b;margin-left:auto}.wardrobe-tabs{display:flex;gap:4px;align-items:center;margin:18px 0 14px}.wardrobe-tabs button{border:0;background:none;font-size:11px;padding:8px 11px;border-radius:7px;color:var(--muted);min-height:34px;white-space:nowrap}.wardrobe-tabs button.selected{background:var(--ink);color:white}.wardrobe-tabs button:hover:not(.selected){background:var(--soft)}.wardrobe-tabs svg{width:13px;height:13px}.garment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 10px}.garment-card{min-width:0;position:relative}.garment-pick{padding:0;background:none;border:0;width:100%;text-align:left}.garment-image{position:relative;display:block;height:116px;border-radius:10px;overflow:hidden;background:#f0eee7;border:2px solid transparent;transition:border-color .2s}.garment-image img{width:100%;height:100%;object-fit:cover;object-position:50% 28%;display:block;transition:transform .25s}.garment-pick:hover img{transform:scale(1.04)}.garment-pick[aria-pressed=true] .garment-image{border-color:var(--accent);box-shadow:0 0 0 2px #ea603b16}.garment-check{position:absolute;bottom:5px;right:5px;width:17px;height:17px;display:none;place-items:center;border-radius:50%;background:var(--accent);color:white}.garment-check svg{width:11px;height:11px;stroke-width:2.5}.garment-pick[aria-pressed=true] .garment-check{display:grid}.garment-caption{display:block;font-size:10px;margin:7px 0 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.5;padding-right:13px}.favorite-button{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:0;background:#fffdf6e8;color:#77766d;opacity:0;transition:opacity .15s}.garment-card:hover .favorite-button,.favorite-button[aria-pressed=true],.favorite-button:focus-visible{opacity:1}.favorite-button svg{width:13px;height:13px}.favorite-button[aria-pressed=true]{color:var(--accent)}.favorite-button[aria-pressed=true] svg{fill:var(--accent)}.wardrobe-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:16px;color:var(--muted);font-size:9px;gap:8px}.text-button{background:none;border:0;font-size:10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:4px 0;color:inherit;min-height:30px}.text-button:hover{color:var(--accent)}.text-button svg{width:13px;height:13px}.selected-look{display:flex;align-items:center;gap:11px;margin-top:15px;padding-top:15px;border-top:1px solid var(--line)}.selected-look>img{width:34px;height:42px;object-fit:cover;border-radius:6px;background:var(--soft)}.selected-look small{font-size:9px;color:var(--muted);display:block;margin-bottom:5px}.selected-look strong{font-size:11px;font-weight:500}.selected-check{margin-left:auto;color:var(--green)}.selected-check svg{width:16px;height:16px}.prompt-details{margin-top:12px;border-top:1px solid var(--line);padding-top:4px}.prompt-details summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:10px;min-height:38px;color:var(--muted);list-style:none}.prompt-details summary::-webkit-details-marker{display:none}.prompt-details summary svg{width:13px;height:13px}.prompt-details>label{font-size:10px;color:var(--muted)}textarea{width:100%;border:1px solid var(--line);border-radius:9px;resize:vertical;background:#faf9f6;padding:10px;font-size:11px;line-height:1.6;margin:8px 0;min-height:80px;max-height:240px;color:var(--ink)}.prompt-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.check-label{display:flex!important;align-items:center;gap:7px;font-size:10px!important;color:var(--muted);cursor:pointer}.check-label input{accent-color:var(--accent);width:14px;height:14px}.fitting-panel{grid-column:1;grid-row:1 / 3;min-width:0}.viewer-top{display:flex;align-items:center;justify-content:space-between;height:38px;margin-top:-9px;margin-bottom:10px;gap:10px}.viewer-status{font-size:9px;color:var(--muted);display:flex;align-items:center;gap:6px}.stage{position:relative;isolation:isolate;aspect-ratio:1.32;background:#deded5;border-radius:var(--radius);overflow:hidden;container-type:inline-size}.stage>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#161a17}.stage video.mirrored{transform:scaleX(-1)}.stage>video.not-visible{opacity:0;pointer-events:none}.stage-empty{position:absolute;inset:0;overflow:hidden;background:#eae9e0;background-image:radial-gradient(ellipse at 90% 5%,#f8eadb 0,transparent 55%),linear-gradient(125deg,#e3e6de 0%,#f0ede2 70%)}.stage-index{position:absolute;top:25px;left:26px;font-size:8px;letter-spacing:1.6px;color:#77796f}.empty-art{position:absolute;left:43%;top:0;width:57%;height:100%}.art-orbit{position:absolute;border:1px solid #6d776c20;border-radius:50%;width:110%;height:85%;top:8%;left:2%;transform:rotate(-30deg)}.orbit-two{width:80%;height:110%;top:-5%;left:20%;transform:rotate(40deg)}.art-photo{position:absolute;background:#f9f6ed;padding:8px 8px 25px;box-shadow:4px 12px 32px #342d2720;overflow:hidden}.art-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 22%;display:block;filter:saturate(.75)}.photo-back{width:51%;height:57%;left:36%;top:10%;transform:rotate(12deg)}.photo-front{width:53%;height:65%;left:5%;top:27%;transform:rotate(-10deg)}.art-sticker{position:absolute;right:6%;top:65%;width:89px;height:89px;border-radius:50%;background:#ea603b;color:#fff5e9;font-size:6px;font-weight:650;letter-spacing:1px;transform:rotate(12deg);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;box-shadow:0 4px 20px #e9653b12}.art-sticker svg{width:34px;height:34px;fill:currentColor;stroke:none}.empty-copy{position:absolute;left:6%;top:25%;width:43%}.empty-copy h3{font-size:clamp(32px,5.2cqw,72px);line-height:1.2;letter-spacing:-3px;font-weight:500;margin:0 0 17px}.empty-copy h3 span{display:block;font-style:italic;font-family:Georgia,'Songti SC',serif;color:#626f5c;font-weight:400}.empty-copy p{font-size:clamp(9px,1.55cqw,14px);line-height:1.8;color:#71756a;margin:0 0 22px}.empty-copy .button{font-size:clamp(9px,1.55cqw,13px);min-height:45px;padding:0 16px;gap:9px;white-space:nowrap}.empty-copy .button svg{width:16px;height:16px}.empty-copy>small{display:block;font-size:clamp(7px,1.15cqw,10px);margin-top:14px;line-height:1.7;color:#818377}.stage-corner{position:absolute;bottom:20px;left:26px;font-size:7px;letter-spacing:1.5px;color:#808273}.stage-tools{position:absolute;bottom:15px;right:15px;display:flex;gap:5px;z-index:4}.stage-tool{display:grid;place-items:center;min-width:34px;height:34px;border:1px solid #fff5;background:#ffffff80;backdrop-filter:blur(10px);border-radius:9px;color:#424b3c}.stage-tool svg{width:16px;height:16px}.stage.camera-on .stage-tool{background:#20251e90;color:white}.stage-tool[aria-pressed=false]{opacity:.7}.stage-badges{position:absolute;top:15px;left:15px;z-index:4;display:flex;gap:6px}.stage-badges>span{display:flex;align-items:center;gap:6px;border:1px solid #ffffff20;background:#1920188a;backdrop-filter:blur(8px);color:#f5f7ef;font-size:8px;letter-spacing:.8px;padding:7px 9px;border-radius:6px}.live-label i{width:5px;height:5px;border-radius:50%;background:#d3d4c7}.live-label.ai i{background:#9fe3b1}.studio-controls{margin-top:12px;padding:14px 16px 0;border-radius:15px}.primary-controls{display:grid;grid-template-columns:1fr 1.45fr;gap:10px}.button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:0 20px;border-radius:9px;font-size:12px;font-weight:500;transition:background .18s,box-shadow .18s;line-height:1.4}.button:hover:not(:disabled){box-shadow:0 3px 8px #25251812}.button:active:not(:disabled){filter:brightness(.94)}.button svg{width:17px;height:17px}.button.accent{background:var(--accent);color:#fffdf8}.button.accent:hover:not(:disabled){background:var(--accent-hover)}.button.dark{background:var(--ink);color:#fffdf8}.button.secondary{background:#f0eee7;border:1px solid #e8e5dc}.button.secondary:hover:not(:disabled){background:#e7e4da}.button.stopping{background:#cf3b36}.button .spinner{width:14px;height:14px}.full{width:100%}.capture-controls{display:flex;align-items:center;height:53px;gap:16px}.capture-button{display:flex;gap:7px;align-items:center;font-size:10px;min-height:38px;background:none;border:0;padding:0;color:#5c6056;white-space:nowrap}.capture-button svg{width:16px;height:16px}.capture-button:hover:not(:disabled),.capture-button[aria-pressed=true]{color:var(--accent)}.capture-button.recording{color:#ce352f}.control-divider{width:1px;height:15px;background:var(--line)}kbd{font-family:inherit;font-size:8px;line-height:1;border:1px solid var(--line);padding:3px 4px;border-radius:4px;color:#999b90;font-weight:400}.capture-spacer{flex:1}.icon-button{border:0;background:transparent;display:inline-grid;place-items:center;min-width:34px;min-height:34px;border-radius:8px;padding:6px;color:var(--muted)}.icon-button:hover{background:var(--soft);color:var(--ink)}.icon-button svg{width:18px;height:18px}.session-bar{display:flex;align-items:center;gap:15px;padding:12px 3px;font-size:9px;color:#83857a;flex-wrap:wrap}.session-bar>span:first-child{display:flex;align-items:center;gap:6px}.connection-dot{width:5px;height:5px;background:#b0b5a7;border-radius:50%;display:inline-block}.connection-dot.on{background:var(--green)}.session-cost{margin-left:auto;display:flex;gap:9px;align-items:center;font-variant-numeric:tabular-nums}.session-cost b{font-size:11px;color:#575f51;font-weight:500}.session-cost small{font-size:8px;color:#8f9486}.options-panel{grid-column:2;grid-row:2;padding:19px 20px}.options-panel .panel-heading{margin-bottom:15px}.options-row{display:flex;justify-content:space-between;align-items:center;font-size:11px}.speed-segment{display:flex;gap:2px;background:#f0eee7;border-radius:8px;padding:3px}.speed-segment button{min-height:30px;font-size:10px;padding:0 14px;border:0;border-radius:6px;color:#73776a;background:transparent;display:flex;gap:4px;align-items:center}.speed-segment button.selected{background:var(--paper);box-shadow:0 1px 4px #24251b0c;color:var(--ink)}.speed-segment svg{width:11px;height:11px}.pricing-line{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin:13px 0 20px}.pricing-line small{font-size:9px;color:var(--muted)}.model-row{border-top:1px solid var(--line);padding-top:15px}.model-row label{font-size:10px;color:var(--muted);display:block;margin-bottom:9px}select{width:100%;min-height:39px;border:1px solid var(--line);background:#faf9f5;color:var(--ink);padding:8px 10px;border-radius:8px;font-size:11px}.options-note{display:flex;gap:7px;font-size:9px;line-height:1.8;color:var(--muted);margin-top:12px}.options-note svg{width:13px;height:13px;margin-top:2px}.recent-section{margin-top:34px}.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.section-title .eyebrow{font-size:8px;letter-spacing:1.7px;margin-bottom:8px}.section-title h2{font-size:19px;font-weight:500;letter-spacing:-.4px}.section-title .text-button{font-size:10px;color:var(--muted)}.recent-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.recent-empty{grid-column:1/-1;border:1px dashed #dcdcd1;border-radius:14px;min-height:116px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#95978a;background:#f3f2ec}.recent-empty svg{width:23px;height:23px;margin-bottom:1px}.recent-empty p{font-size:11px;margin:9px 0 7px;color:#777b6d}.recent-empty span{font-size:9px;line-height:1.7;text-align:center;padding:0 12px}.footer{padding:28px 0 25px;margin-top:24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:14px;align-items:center;color:#939487;font-size:9px}.footer-logo{font-size:15px;letter-spacing:-.5px;color:#6c7062;font-weight:650}.footer-logo>span{margin-left:12px;font-size:7px;letter-spacing:1.3px;font-weight:400;color:#939487}.footer>a{font-size:9px}.footer>a>span{margin-left:7px}.dialog{border:1px solid var(--line);background:var(--paper);border-radius:22px;padding:26px;width:min(460px,calc(100% - 28px));max-height:calc(100dvh - 36px);overflow-y:auto;color:var(--ink);box-shadow:0 24px 120px #1b1e1840}.dialog::backdrop{background:#1d241c78;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-top:-5px;margin-bottom:12px}.dialog-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#f9ece2;color:var(--accent);margin-bottom:18px}.dialog h2{font-size:25px;letter-spacing:-.5px;margin-bottom:12px;font-weight:550}.dialog-intro{color:var(--muted);font-size:12px;line-height:1.8;margin:0 0 26px}.dialog form>label{display:block;font-size:11px;margin-bottom:10px}.dialog input[type=password],.dialog input[type=text],.dialog input[type=url]{background:#f7f6f0;border:1px solid var(--line);border-radius:10px;width:100%;min-height:47px;padding:12px;color:var(--ink);font-size:13px}.password-field{position:relative}.password-field input{padding-right:45px!important}.password-field .icon-button{position:absolute;right:6px;top:6px}.remember{margin-top:13px;margin-bottom:8px!important;min-height:25px}.field-help{font-size:10px;line-height:1.9;color:var(--muted);margin:10px 0 20px}.key-links{display:flex;justify-content:space-between;align-items:center;margin:13px 0;font-size:10px}.key-links>a{color:#686d5f}.balance-note{display:flex;align-items:start;gap:10px;padding:16px;background:var(--soft);border-radius:12px;margin-top:20px}.balance-note>svg{width:16px;height:16px;color:var(--muted)}.balance-note strong{font-size:11px;font-weight:500}.balance-note p{font-size:10px;line-height:1.8;color:var(--muted);margin:7px 0}.balance-note a{font-size:10px;text-decoration:underline;text-underline-offset:3px}.key-result{padding:10px 12px;border-radius:8px;background:#eef3eb;color:#4d6b47;font-size:11px;line-height:1.7;margin-bottom:14px}.key-result.error{background:#fbece6;color:#b0472c}.settings-field{margin:23px 0}.settings-field label{display:block;font-size:12px;margin-bottom:9px}.settings-field small,.usage-summary small{font-size:10px;line-height:1.8;color:var(--muted);display:block;margin-top:8px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:17px 0;font-size:11px}.toggle-row small{display:block;color:var(--muted);font-size:9px;margin-top:6px}.toggle-row>input{appearance:none;flex-shrink:0;width:34px;height:21px;border-radius:20px;background:#d9dbd0;position:relative;cursor:pointer;transition:background .2s}.toggle-row>input:after{content:'';position:absolute;background:white;border-radius:50%;width:15px;height:15px;left:3px;top:3px;box-shadow:0 1px 3px #0002;transition:transform .2s}.toggle-row>input:checked{background:var(--accent)}.toggle-row>input:checked:after{transform:translateX(13px)}.usage-summary{border-radius:12px;background:var(--soft);padding:16px;margin:10px 0;font-size:10px;color:var(--muted)}.usage-summary strong{display:block;font-size:25px;margin:8px 0;color:var(--ink);font-weight:500}.help-steps{list-style:none;counter-reset:help;padding:0;margin:25px 0}.help-steps li{counter-increment:help;position:relative;padding-left:42px;margin-bottom:22px}.help-steps li:before{content:'0' counter(help);position:absolute;left:0;top:-3px;border:1px solid var(--line);border-radius:8px;padding:8px;font-size:10px;color:var(--muted)}.help-steps b{font-size:12px;font-weight:600}.help-steps p{font-size:11px;line-height:1.8;color:var(--muted);margin:7px 0}.shortcut-help{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:var(--soft);padding:13px;border-radius:9px;font-size:9px;color:var(--muted)}.shortcut-help kbd{background:var(--paper);color:var(--ink)}.toast-stack{position:fixed;right:25px;bottom:25px;z-index:100;display:flex;flex-direction:column;align-items:end;gap:8px;max-width:min(390px,calc(100% - 36px));pointer-events:none}.toast{pointer-events:auto;background:#282e24;color:#fbfbef;box-shadow:0 8px 30px #25251520;border-radius:12px;padding:14px 17px;display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.6;animation:toast-in .2s ease}.toast.error{background:#8e3d2a}.toast button{border:1px solid #ffffff45;background:transparent;color:#fff6e9;font-size:10px;border-radius:6px;min-height:30px;padding:4px 9px;white-space:nowrap}.spinner{display:inline-block;width:18px;height:18px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}.stage-notice{position:absolute;inset:auto 15px 63px;display:flex;align-items:center;justify-content:center;gap:10px;background:#20271fd9;border:1px solid #fff2;backdrop-filter:blur(8px);color:#fff9eb;padding:12px;border-radius:10px;font-size:11px;z-index:5}.stage-notice .spinner{width:14px;height:14px}.recording-badge{position:absolute;top:16px;right:16px;display:flex;align-items:center;gap:7px;background:#221c1ca8;border-radius:7px;padding:7px 9px;color:white;font-size:9px;letter-spacing:1px;z-index:5}.recording-badge>span{width:6px;height:6px;background:#ff6958;border-radius:50%}.recording-badge b{font-weight:400;letter-spacing:0;font-variant-numeric:tabular-nums}.countdown{position:absolute;inset:0;background:#1e261f44;display:grid;place-items:center;font-size:100px;font-weight:500;color:white;z-index:6}.stage.flash:after{content:'';position:absolute;inset:0;background:white;pointer-events:none;z-index:7;animation:flash .3s forwards}.compare-original{position:absolute;inset:0;clip-path:inset(0 50% 0 0);display:none;pointer-events:none}.compare-original video{width:100%;height:100%;object-fit:cover}.compare-original span{position:absolute;left:14px;bottom:16px;font-size:9px;color:white;background:#192018a0;padding:6px 9px;border-radius:5px}.compare-divider{position:absolute;top:0;bottom:0;left:50%;border-left:2px solid #fffc;display:none;pointer-events:none}.compare-divider span{position:absolute;top:50%;left:-17px;width:32px;height:32px;display:grid;place-items:center;background:#fff;border-radius:50%;font-size:15px;box-shadow:0 2px 12px #0002;color:#666d5a}.stage.comparing .compare-original,.stage.comparing .compare-divider{display:block}.compare-range{position:absolute;z-index:3;inset:40px 0 52px;width:100%;height:calc(100% - 92px);opacity:0;cursor:ew-resize;margin:0}.compare-range:focus-visible{opacity:.25}.stage:fullscreen{width:100vw;height:100dvh;border-radius:0;aspect-ratio:auto;background:black}.stage:fullscreen video{object-fit:contain}.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin:10px 0 25px}.gallery-toolbar .wardrobe-tabs{margin:15px 0}.muted{color:var(--muted);font-size:10px}.full-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;min-height:300px}.media-card{border:0;background:var(--paper);text-align:left;padding:0;border-radius:13px;overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line)}.media-card-image{position:relative;display:block;aspect-ratio:4/3;background:var(--soft);overflow:hidden}.media-card img{width:100%;height:100%;object-fit:cover;display:block}.media-card-image>span{position:absolute;bottom:8px;left:8px;background:#1d251dc9;color:#fffbef;padding:5px 7px;border-radius:5px;font-size:8px;display:flex;gap:5px;align-items:center}.media-card-image svg{width:12px;height:12px}.media-card-text{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:12px;font-size:10px}.media-card-text small{font-size:8px;color:var(--muted)}.gallery-footnote{font-size:10px;color:var(--muted);line-height:1.8;text-align:center;margin:26px 0}.media-dialog{width:min(760px,calc(100% - 24px));padding:20px}.media-dialog #mediaPreview{background:#e8e7dd;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:120px}.media-dialog #mediaPreview img,.media-dialog #mediaPreview video{display:block;max-width:100%;max-height:63dvh;object-fit:contain}.media-actions{display:flex;align-items:center;gap:10px;margin:16px 0 0}.media-actions .danger{margin-left:auto;color:#a9503c}.media-dialog .field-help{margin-bottom:0}.small-dialog{max-width:370px}.small-dialog h2{font-size:20px}.small-dialog p{font-size:12px;color:var(--muted);line-height:1.8}.confirm-actions{display:flex;justify-content:end;gap:10px;margin-top:25px}#diagnostics{background:#eeeee5;padding:12px;border-radius:10px;font-size:9px;line-height:1.8;white-space:pre-wrap;max-height:210px;overflow:auto}.garment-empty{grid-column:1/-1;color:var(--muted);font-size:11px;padding:28px 8px;text-align:center}.stage.camera-on .stage-empty{display:none}button,input,select,textarea{touch-action:manipulation}@keyframes spin{to{transform:rotate(360deg)}}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes flash{to{opacity:0}}
@media(min-width:1600px){main{padding:48px 60px 0}.workspace{grid-template-columns:minmax(0,1fr) 365px;gap:24px 30px}.garment-image{height:135px}.wardrobe{padding:24px}.stage{aspect-ratio:1.42}.options-panel{padding:22px 24px}.wardrobe-tabs button{padding:9px 13px}}
@media(min-width:1100px) and (max-width:1250px){main{padding:32px 26px 0}.workspace{grid-template-columns:minmax(0,1fr) 305px;gap:18px}.wardrobe{padding:17px}.garment-image{height:105px}.small-tag{display:none}.stage{aspect-ratio:1.14}.empty-copy{top:28%}.empty-copy .button{padding:0 12px;gap:6px}.capture-controls{gap:12px}.session-bar{gap:10px}}
@media(max-width:1099px){.header{padding:0 24px;height:76px}.rail{width:66px}.rail-word{font-size:8px}.brand{font-size:24px}.top-nav{gap:20px}main{width:calc(100% - 66px);padding:30px 24px 0}.workspace{grid-template-columns:minmax(0,1fr) 280px;gap:18px}.wardrobe{padding:16px}.small-tag{display:none}.garment-image{height:96px}.garment-grid{gap:10px 7px}.wardrobe-tabs{gap:2px}.wardrobe-tabs button{padding:7px 10px}.stage{aspect-ratio:.9}.empty-art{left:21%;top:-2%;width:79%;height:65%}.empty-copy{left:7%;top:56%;width:90%}.empty-copy h3{font-size:10cqw;letter-spacing:-1.8px;margin-bottom:9px}.empty-copy h3 span{display:inline;margin-left:3px}.empty-copy p{font-size:2.6cqw;margin-bottom:15px}.empty-copy .button{font-size:2.6cqw;min-height:40px}.empty-copy>small{font-size:2cqw}.stage-corner{font-size:6px;bottom:17px;left:7%}.photo-front{height:72%;top:24%;left:16%;width:48%}.photo-back{left:46%;width:47%;height:65%}.art-sticker{width:66px;height:66px;top:72%;right:8%;font-size:5px}.art-sticker svg{width:25px;height:25px}.stage-index{top:19px;left:20px;font-size:6px}.capture-button kbd{display:none}.capture-controls{gap:12px}.primary-controls{grid-template-columns:1fr}.studio-controls{padding:11px 11px 0}.primary-controls .button{min-height:40px}.capture-button{font-size:9px;gap:5px}.capture-button svg{width:15px;height:15px}.options-panel{padding:16px}.viewer-top h2{font-size:12px}.viewer-status{font-size:8px}.viewer-top{gap:5px}.viewer-top .step-number{display:none}.recent-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}.recent-gallery .media-card:nth-child(5){display:none}.full-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.pricing-line{gap:5px}.pricing-line small{font-size:8px}.session-bar{gap:9px}.session-cost{margin-left:0}.heading-note{display:none}.favorite-button{opacity:1}}
@media(max-width:767px){.header{height:70px;padding:0 18px;gap:8px;flex-wrap:wrap;position:relative}.brand{font-size:23px;gap:8px}.brand-cn{font-size:10px;letter-spacing:1px;margin-left:8px}.brand-mark{width:31px;height:31px;border-radius:10px}.brand-mark svg{width:21px;height:21px}.key-button{font-size:10px;padding:0 10px;min-height:35px;gap:7px}.key-button svg{width:13px;height:13px}.top-nav{position:absolute;top:100%;left:0;right:0;height:45px;display:flex;justify-content:center;gap:38px;border-bottom:1px solid var(--line);background:var(--bg);z-index:10}.nav-tab{font-size:11px}.nav-tab.active:after{height:2px}.count{font-size:8px}.rail{display:none}.app-shell{display:block}main{width:100%;padding:72px 18px 0}.page-heading{margin-bottom:23px}h1{font-size:27px;letter-spacing:-.8px;margin:12px 0 9px}.page-heading .eyebrow{font-size:7px;letter-spacing:1.5px}.page-heading p{font-size:10px}.workspace{display:flex;flex-direction:column;gap:18px}.wardrobe{width:100%;padding:16px;border-radius:15px;box-shadow:none;order:0}.panel-heading{margin-bottom:13px}.panel-heading h2{font-size:13px}.small-tag{display:block;font-size:6px}.step-number{font-size:8px}.upload-drop{padding:11px;border-radius:10px;gap:10px}.upload-drop strong{font-size:12px}.upload-drop small{font-size:9px}.upload-icon{width:32px;height:32px}.upload-plus{font-size:20px}.wardrobe-tabs{margin:13px 0 11px;gap:6px}.wardrobe-tabs button{min-height:36px;font-size:10px;padding:7px 13px}.garment-grid{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x proximity;padding:2px 2px 7px;margin:0 -2px;scrollbar-width:thin;scrollbar-color:#d1cdbf transparent}.garment-card{flex:0 0 83px;scroll-snap-align:start}.garment-image{height:106px}.garment-caption{font-size:10px;margin-top:6px}.favorite-button{width:30px;height:30px;top:3px;right:3px}.favorite-button svg{width:12px;height:12px}.wardrobe-bottom{margin-top:5px;font-size:9px}.wardrobe-bottom .text-button{font-size:10px;min-height:34px}.selected-look{display:none}.prompt-details{margin-top:4px;padding-top:0}.prompt-details summary{font-size:10px;min-height:34px}.prompt-footer .text-button{min-height:38px}.fitting-panel{width:100%;order:1}.viewer-top{height:31px;margin:0 0 8px}.viewer-top>div{gap:8px}.viewer-top .step-number{display:block}.viewer-top h2{font-size:13px}.viewer-status{font-size:9px}.stage{aspect-ratio:4/4.6;border-radius:16px}.empty-art{height:72%;width:79%;left:20%;top:-4%}.empty-copy{top:57%;left:7%}.empty-copy h3{font-size:10.5cqw;line-height:1.15;letter-spacing:-2px}.empty-copy p{font-size:2.8cqw;margin-bottom:16px}.empty-copy .button{font-size:2.9cqw;min-height:43px;padding:0 15px;gap:9px}.empty-copy>small{font-size:2.25cqw;margin-top:10px}.stage-index{font-size:6px;left:20px;top:19px}.stage-corner{font-size:6px;bottom:19px}.art-sticker{width:68px;height:68px;right:10%;top:70%}.studio-controls{padding:12px 12px 0;border-radius:14px;margin-top:10px}.primary-controls{grid-template-columns:1fr 1.25fr;gap:8px}.primary-controls .button{font-size:11px;min-height:46px;padding:0 10px;gap:7px}.primary-controls .button svg{width:15px;height:15px}.primary-controls .button>svg:last-child:not(:first-child){display:none}.capture-controls{height:57px;gap:19px}.capture-button{font-size:11px;min-height:44px;gap:7px}.capture-button svg{width:18px;height:18px}.control-divider{height:18px}.capture-controls .icon-button{min-width:38px;min-height:44px}.session-bar{font-size:8px;gap:11px;padding:12px 2px 1px}.session-cost{margin-left:auto;gap:7px}.session-cost b{font-size:10px}.session-cost small{font-size:7px}.options-panel{width:100%;padding:16px;order:2;border-radius:14px}.options-panel .panel-heading{margin-bottom:14px}.options-row{font-size:11px}.speed-segment button{min-height:34px;font-size:10px;padding:0 17px}.pricing-line{margin-bottom:15px}.pricing-line small{font-size:9px}.model-row{display:flex;align-items:center;gap:15px;padding-top:13px}.model-row label{flex-shrink:0;margin:0}.model-row select{min-height:40px;font-size:11px}.options-note{font-size:9px;margin-top:11px}.recent-section{margin-top:29px}.section-title{gap:10px}.section-title .eyebrow{font-size:6px;letter-spacing:1.4px}.section-title h2{font-size:17px}.section-title .text-button{font-size:9px;min-height:40px}.recent-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.recent-gallery .media-card:nth-child(n+5){display:none}.recent-empty{min-height:128px}.recent-empty span{font-size:9px}.footer{padding:23px 0;margin-top:26px;flex-wrap:wrap;row-gap:13px}.footer>span:nth-child(2){display:none}.footer-logo{font-size:14px}.footer-logo>span{font-size:6px;margin-left:8px}.footer>a{font-size:8px}.dialog{padding:22px;border-radius:18px;max-height:calc(100dvh - 24px)}.dialog h2{font-size:23px}.dialog input[type=password],.dialog input[type=text],.dialog input[type=url],textarea,select{font-size:16px}.dialog select{font-size:13px;min-height:44px}.dialog input{min-height:48px}.check-label{min-height:36px}.dialog .field-help{font-size:11px}.dialog .button{min-height:47px;font-size:12px}.dialog .icon-button{min-width:40px;min-height:40px}.dialog .password-field .icon-button{top:4px;right:4px}.key-links .text-button{min-height:40px}.key-links a{font-size:11px}.toggle-row{min-height:68px;font-size:12px}.toggle-row input{min-height:21px}.toast-stack{bottom:calc(18px + env(safe-area-inset-bottom));right:18px;left:18px;max-width:none;align-items:stretch}.toast{font-size:11px;padding:13px 15px;justify-content:space-between}.toast button{min-height:36px}.full-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:250px}.gallery-toolbar{margin-bottom:18px}.gallery-toolbar .wardrobe-tabs{gap:3px}.gallery-toolbar .wardrobe-tabs button{padding:8px 12px}.gallery-toolbar>span{font-size:8px}.media-card-text{font-size:10px;padding:10px}.media-card-text small{font-size:7px}.media-dialog{padding:14px}.media-actions{gap:7px}.media-actions .button{font-size:11px;padding:0 12px;gap:6px}.media-dialog .dialog-top{margin-top:0}.media-dialog #mediaPreview img,.media-dialog #mediaPreview video{max-height:58dvh}.page-heading>.button{padding:0 12px;font-size:10px;min-height:40px;white-space:nowrap}#galleryView .page-heading{align-items:start}#galleryView h1{font-size:24px}#galleryView .page-heading p{font-size:9px}#galleryView .eyebrow{font-size:6px}.gallery-footnote{font-size:9px}textarea{font-size:14px;min-height:100px}.stage-tool{width:38px;height:38px}.stage-tools{bottom:12px;right:12px;gap:5px}.stage-tool svg{width:17px;height:17px}.stage-notice{bottom:61px;font-size:10px}.wardrobe .prompt-details .check-label{font-size:10px!important}.gallery-footnote{padding-bottom:env(safe-area-inset-bottom)}}
@media(max-width:374px){.header{padding:0 13px}.brand-cn{display:none}main{padding-left:13px;padding-right:13px}h1{font-size:24px}.capture-controls{gap:12px}.session-bar{gap:8px}.session-bar #metricFirst{display:none}.small-tag{display:none}.wardrobe-tabs{gap:4px}.wardrobe-tabs button{padding:7px 11px}.primary-controls .button{font-size:10px}.stage{aspect-ratio:4/5}.empty-copy>small{font-size:2.35cqw}.full-gallery{gap:8px}.media-actions .button{font-size:10px;padding:0 9px}.footer-logo>span{display:none}}
@media(max-height:550px) and (orientation:landscape){.dialog{max-height:calc(100dvh - 16px)}.stage{aspect-ratio:16/9}.empty-art{left:48%;height:100%;width:52%;top:0}.empty-copy{top:22%;width:50%;left:5%}.empty-copy h3{font-size:5cqw}.empty-copy p{font-size:1.5cqw}.empty-copy .button{font-size:1.5cqw;min-height:36px}.empty-copy>small{font-size:1.1cqw}.stage-index{top:10px}.stage-corner{bottom:12px}.photo-front{height:70%}.art-sticker{width:55px;height:55px}.stage-tools{bottom:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.spinner{animation:none;border-right-color:currentColor;opacity:.6}.stage.flash:after{display:none}}
/* Customer credit overview and the compact key form. */
.credit-panel{padding:20px 22px;margin-top:16px;box-shadow:none}
.credit-heading{display:flex;align-items:center;gap:10px}
.credit-heading h3{font-size:13px;font-weight:600;margin:0}
.credit-heading>span{font-size:9px;color:var(--muted);background:var(--soft);padding:5px 8px;border-radius:20px}
.credit-heading>a{margin-left:auto;display:flex;align-items:center;gap:5px;min-height:36px;font-size:11px;color:var(--accent)}
.credit-heading>a svg{width:14px;height:14px}
.credit-numbers{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:16px 0 18px}
.credit-numbers>div+div{border-left:1px solid var(--line);padding-left:24px}
.credit-numbers span{display:block;font-size:10px;color:var(--muted);margin-bottom:8px}
.credit-numbers strong{font-size:30px;line-height:1.1;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-1px}
.credit-numbers small{font-size:10px;color:var(--muted);margin-left:7px}
.credit-panel progress{display:block;width:100%;height:5px;border:0;border-radius:8px;overflow:hidden;appearance:none;accent-color:#788975;background:#eeeee5}
.credit-panel progress::-webkit-progress-bar{background:#eeeee5;border-radius:8px}
.credit-panel progress::-webkit-progress-value{background:#788975;border-radius:8px}
.credit-panel progress::-moz-progress-bar{background:#788975;border-radius:8px}
.credit-panel p{font-size:10px;color:var(--muted);line-height:1.8;margin:11px 0 0}
.credit-panel.empty .credit-heading>span{background:#fbece6;color:#a8432b}
.credit-panel.empty #creditRemaining{color:var(--accent)}
.key-dialog .dialog-intro{margin-bottom:22px}
.key-dialog .remember{margin:12px 0 16px!important;font-size:12px}
.key-purchase{margin-top:10px;text-decoration:none}
.key-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;font-size:9px;color:var(--muted)}
.key-bottom .text-button{font-size:10px;flex-shrink:0;min-height:40px}
#exhaustedDialog>p{font-size:12px;line-height:1.8;margin-bottom:22px}
@media(max-width:767px){.brand{font-size:22px;letter-spacing:-1px}.brand-cn{display:none}.credit-panel{padding:15px 17px;border-radius:14px}.credit-heading h3{font-size:12px}.credit-heading>span{font-size:8px}.credit-heading>a{font-size:10px;min-height:44px}.credit-numbers{gap:18px;margin:10px 0 16px}.credit-numbers>div+div{padding-left:18px}.credit-numbers strong{font-size:28px}.credit-panel p{font-size:10px}.key-bottom{font-size:9px}.key-bottom .text-button{min-height:44px}}
/* Mobile art stays above the copy, with comfortable touch targets. */
@media(max-width:767px){.empty-art{height:58%;top:-2%}.footer .text-button{font-size:9px;min-height:40px}.wardrobe-tabs button{min-height:44px}.favorite-button{min-width:32px;min-height:32px}.upload-drop:focus-within{outline:2px solid var(--accent);outline-offset:3px}.prompt-details summary{min-height:44px}.text-button{min-height:40px}.key-button{min-height:44px}.stage-tool{min-height:44px;min-width:44px}.garment-caption{font-size:11px}.gallery-footnote{font-size:10px}}
@media(max-height:550px) and (orientation:landscape){.empty-art{height:100%;top:0}}

/* Fixed costume templates retain complete crowns, veils and armor silhouettes. */
.wardrobe-tabs{overflow-x:auto;scrollbar-width:none}.wardrobe-tabs::-webkit-scrollbar{display:none}.wardrobe-tabs button{flex-shrink:0}.garment-image.costume-image{background:#d9dade}.garment-image.costume-image img{object-fit:contain;object-position:center}.garment-pick:hover .costume-image img{transform:none}
@media(min-width:768px){#garmentGrid{max-height:400px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-width:thin;scrollbar-color:#d1cdbf transparent}}
