/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.hidden{display:none}.table{display:table}.rounded{border-radius:.25rem}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ink:#161915;--muted:#73776f;--line:#e6e7e2;--paper:#f3f3ef;--white:#fff;--lime:#c6f36b;--lime-dark:#6a9418;--lime-soft:#f0fbdc;--danger:#9e4633}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif}button,input,textarea{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a,button{color:inherit}a{text-decoration:none}.app-shell{min-height:100vh}.topbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:30;background:#ffffffeb;grid-template-columns:1fr auto 1fr;height:72px;padding:0 max(24px,50vw - 740px);display:grid;position:sticky;top:0}.brand,.topbar{align-items:center}.brand{gap:11px;width:fit-content;display:inline-flex}.brand-logo{object-fit:contain;width:43px;height:48px}.brand>span{flex-direction:column;line-height:1;display:flex}.brand strong{letter-spacing:.13em;font-family:Songti SC,STSong,Georgia,serif;font-size:21px}.brand small{color:#92968e;letter-spacing:.22em;margin-top:6px;font:700 7px/1 system-ui}.topbar-center{align-items:stretch;gap:30px;height:100%;display:flex}.topbar-center a{color:var(--muted);place-items:center;font-size:12px;display:grid;position:relative}.topbar-center a.active{color:var(--ink);font-weight:700}.topbar-center a.active:after{content:"";background:var(--ink);height:2px;position:absolute;bottom:-1px;left:2px;right:2px}.topbar-actions{justify-self:end;gap:16px}.privacy-pill,.topbar-actions{align-items:center;display:flex}.privacy-pill{color:var(--muted);gap:7px;font-size:10px}.privacy-pill i{background:#76a52b;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #e8f5d3}.outline-button,.primary-small,.soft-button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;min-height:36px;padding:0 14px;font-size:10px;font-weight:700;transition:all .18s;display:inline-flex}.outline-button:hover,.soft-button:hover{background:#fafbf8;border-color:#acb0a7}.primary-small{background:var(--ink);border-color:var(--ink);color:#fff}.primary-small:hover{background:#2b3029}.studio-intro{grid-template-columns:1fr 450px;align-items:end;gap:40px;max-width:1480px;margin:0 auto;padding:38px 24px 28px;display:grid}.eyebrow{color:var(--lime-dark);letter-spacing:.2em;font:800 8px/1 system-ui}.studio-intro h1{letter-spacing:-.04em;margin:11px 0 0;font:500 clamp(28px,3.2vw,48px)/1.14 Songti SC,STSong,Georgia,serif}.studio-intro p{max-width:450px;color:var(--muted);margin:0 0 5px;font-size:11px;line-height:1.8}.workspace{grid-template-columns:380px minmax(0,1fr);align-items:start;gap:14px;max-width:1480px;margin:0 auto;padding:0 24px 48px;display:grid}.panel{border:1px solid var(--line);background:#fff;border-radius:14px}.control-panel{padding:0 22px 20px}.control-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:62px;margin:0 -22px;padding:0 22px;display:flex}.control-head strong{font-size:14px}.control-head span{color:#a0a49c;letter-spacing:.1em;font:700 9px/1 system-ui}.control-section{border-bottom:1px solid var(--line);padding:19px 0}.control-label{letter-spacing:.02em;margin-bottom:11px;font-size:10px;font-weight:800;display:block}.control-label-row{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.control-label-row .control-label{margin-bottom:11px}.control-label-row small{color:#9a9e96;font-size:8px}.mode-tabs{background:#f1f2ee;border-radius:11px;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid}.mode-tabs button{cursor:pointer;background:0 0;border:0;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:62px;display:flex}.mode-tabs button>span{width:25px;height:25px;color:var(--muted);border:1px solid #d7d9d3;border-radius:50%;place-items:center;font:700 10px/1 Songti SC,serif;display:grid}.mode-tabs button strong{font-size:9px;font-weight:600}.mode-tabs button.active{background:#fff;box-shadow:0 4px 14px #1c221814}.mode-tabs button.active>span{background:var(--ink);border-color:var(--ink);color:var(--lime)}.mode-tabs button.active strong{font-weight:800}.mode-description{color:var(--muted);text-align:center;margin:9px 2px 0;font-size:8px}.upload-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.upload-card{background:#f8f9f6;border:1px dashed #cfd2ca;border-radius:10px;min-height:130px;transition:all .18s;position:relative;overflow:hidden}.upload-card.dragging,.upload-card:hover{border-color:var(--lime-dark);background:var(--lime-soft)}.upload-empty{cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:100%;min-height:130px;padding:12px 6px;display:flex}.upload-plus{border:1px solid var(--line);background:#fff;border-radius:9px;place-items:center;width:31px;height:31px;font-size:16px;display:grid}.upload-empty strong{font-size:9px}.upload-empty strong em{color:#d7654b;margin-left:4px;font-size:7px;font-style:normal}.upload-empty span:not(.upload-plus){color:var(--muted);font-size:8px}.upload-empty small{color:#aaada6;font-size:7px}.upload-preview{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.upload-overlay{opacity:0;gap:5px;transition:opacity .18s;display:flex;position:absolute;bottom:7px;left:7px;right:7px}.upload-card:hover .upload-overlay{opacity:1}.upload-overlay .soft-button{background:#fffffff0;flex:1;min-height:29px}.icon-button{color:#fff;cursor:pointer;background:#141613e6;border:0;border-radius:7px;width:29px;height:29px;font-size:15px}.chip-grid{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.chip-grid button{border:1px solid var(--line);cursor:pointer;background:#fafbf8;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:46px;padding:7px 5px;display:flex}.chip-grid button strong{font-size:8px}.chip-grid button small{color:#979b93;font-size:7px}.chip-grid button:hover{border-color:#b8bdb3}.chip-grid button.active{background:var(--ink);border-color:var(--ink);color:var(--lime);font-weight:800}.chip-grid button.active small{color:#dfffa4}.intensity-setting{border-top:1px dashed var(--line);margin-top:14px;padding-top:14px}.intensity-setting .control-label{margin-bottom:8px}.intensity-row{background:#f1f2ee;border-radius:9px;grid-template-columns:repeat(3,1fr);gap:5px;padding:4px;display:grid}.intensity-row button{cursor:pointer;background:0 0;border:0;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:42px;display:flex}.intensity-row button strong{font-size:8px}.intensity-row button small{color:#989c94;font-size:7px}.intensity-row button.active{color:#4f7210;background:#fff;box-shadow:0 3px 12px #1c221814}.intensity-row button.active strong:before{content:"●";color:var(--lime-dark);margin-right:4px;font-size:6px}.intensity-setting>p{color:var(--muted);margin:7px 2px 0;font-size:7px;line-height:1.5}.compact-settings{display:block}.setting-group{position:relative}.setting-group textarea{border:1px solid var(--line);resize:vertical;background:#f9faf7;border-radius:9px;outline:none;width:100%;min-height:84px;padding:10px;font-size:8px;line-height:1.6}.setting-group textarea:focus{border-color:var(--lime-dark);box-shadow:0 0 0 3px var(--lime-soft)}.setting-group textarea::placeholder{color:#a4a89f}.consent-check{color:var(--muted);cursor:pointer;align-items:flex-start;gap:8px;margin-top:16px;font-size:8px;line-height:1.5;display:flex}.consent-check input{accent-color:var(--lime-dark);margin:0}.generate-button{background:var(--ink);color:#fff;cursor:pointer;border:0;border-radius:9px;justify-content:space-between;align-items:center;width:100%;height:48px;margin-top:14px;padding:0 8px 0 17px;font-size:11px;font-weight:800;transition:all .18s;display:flex}.generate-button i{background:var(--lime);width:32px;height:32px;color:var(--ink);border-radius:7px;place-items:center;font-size:16px;font-style:normal;display:grid}.generate-button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 10px 28px #1418122e}.generate-button:disabled{cursor:not-allowed;background:#c9ccc5}.generate-button:disabled i{color:#9a9e96;background:#e0e2dd}.generate-hint{text-align:center;color:#a1a59d;margin:8px 0 0;font-size:7px}.preview-panel{min-width:0;padding:12px}.preview-toolbar{justify-content:space-between;align-items:center;height:48px;padding:0 4px 0 7px;display:flex}.preview-toolbar>div:first-child{align-items:center;gap:8px;display:flex}.preview-toolbar strong{font-size:10px}.status-dot{background:#7faa2d;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #edf7dc}.preview-actions{align-items:center;gap:6px;display:flex}.text-button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:8px 10px;font-size:9px}.canvas{isolation:isolate;background:#e8e9e5;border-radius:10px;place-items:center;height:min(720px,100vh - 236px);min-height:570px;display:grid;position:relative;overflow:hidden;container-type:size}.canvas:before{content:"";z-index:-1;opacity:.58;background:radial-gradient(circle at 50% 44%,#ffffffe6,#0000 40%),linear-gradient(135deg,#ebece8,#dedfd9);position:absolute;inset:0}.empty-canvas{text-align:center;flex-direction:column;align-items:center;max-width:320px;padding:30px;display:flex}.empty-logo{background:#ffffffc2;border-radius:28px;place-items:center;width:92px;height:92px;margin-bottom:18px;display:grid;transform:rotate(-3deg);box-shadow:0 16px 44px #27301e1c}.empty-logo img{object-fit:contain;width:62px;height:70px}.empty-canvas strong{margin-top:12px;font:500 25px/1.2 Songti SC,STSong,Georgia,serif}.empty-canvas p{color:var(--muted);margin:9px 0 17px;font-size:9px;line-height:1.7}.soft-button{background:#fff}.compare-stage,.source-stage{background:#dfe1dc;position:absolute;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%)}.canvas>.compare-stage,.canvas>.source-stage{aspect-ratio:2/3;width:min(100cqw,66.6667cqh)}.compare-image,.source-stage>img{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.compare-label,.source-badge{z-index:5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);letter-spacing:.08em;border-radius:6px;padding:7px 10px;font:700 7px/1 system-ui;position:absolute;top:14px}.source-badge{background:#ffffffe0;left:14px}.compare-after{position:absolute;inset:0}.compare-line{z-index:4;background:#fff;width:1px;position:absolute;top:0;bottom:0;box-shadow:0 0 0 1px #0000001f}.compare-line span{background:#fff;border-radius:50%;place-items:center;width:35px;height:35px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 8px 24px #0000002e}.compare-range{z-index:8;opacity:0;cursor:ew-resize;width:100%;height:100%;position:absolute;inset:0}.before-label{background:#ffffffe6;left:14px}.after-label{color:var(--lime);background:#141713e0;right:14px}.makeup-video-section{max-width:1480px;margin:0 auto;padding:0 24px 48px;scroll-margin-top:88px}.makeup-video-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:17px;display:flex}.makeup-video-heading h2{margin:9px 0 0;font:500 29px/1.1 Songti SC,STSong,Georgia,serif}.video-section-status{color:var(--muted);align-items:center;gap:7px;font-size:9px;display:flex}.video-section-status i{background:#afb3aa;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #e6e8e2}.video-section-status i.is-active{background:#c08b24;animation:statusPulse 1.5s ease-in-out infinite;box-shadow:0 0 0 4px #fbefd7}.video-section-status i.is-complete{background:#76a52b;box-shadow:0 0 0 4px #e8f5d3}.makeup-video-panel{background:radial-gradient(circle at 25%,#c6f36b24,#0000 32%),linear-gradient(135deg,#f8f9f5,#eceee7);place-items:center;min-height:590px;padding:18px;display:grid;overflow:hidden}.video-empty{text-align:center;flex-direction:column;align-items:center;width:100%;max-width:680px;padding:42px;display:flex}.video-empty-icon{background:var(--ink);width:68px;height:68px;color:var(--lime);border-radius:22px;place-items:center;margin-bottom:18px;font-size:20px;display:grid;box-shadow:0 16px 38px #1619152e}.video-empty>strong{margin-top:12px;font:500 24px/1.2 Songti SC,STSong,Georgia,serif}.video-empty p{max-width:440px;color:var(--muted);margin:10px 0 17px;font-size:9px;line-height:1.7}.video-empty>small{color:#8e9388;margin-top:9px;font-size:7px}.video-keyframes{justify-content:center;align-items:center;gap:18px;margin-bottom:24px;display:flex}.video-keyframes>span{background:var(--ink);width:34px;height:34px;color:var(--lime);border-radius:50%;place-items:center;font-size:14px;display:grid}.video-keyframes figure{background:#fff;border:5px solid #fff;border-radius:12px;width:122px;margin:0;position:relative;overflow:hidden;box-shadow:0 12px 32px #1f251b24}.video-keyframes figure:last-child{transform:translateY(8px)rotate(2deg)}.video-keyframes figure:first-child{transform:translateY(-5px)rotate(-2deg)}.video-keyframes img{aspect-ratio:2/3;object-fit:cover;border-radius:7px;width:100%;display:block}.video-keyframes figcaption{padding:8px 4px 5px;font-size:8px;font-weight:800}.generate-video-button{background:var(--ink);color:#fff;cursor:pointer;border:0;border-radius:8px;min-height:40px;padding:0 20px;font-size:9px;font-weight:800}.generate-video-button:disabled{cursor:wait;background:#bfc3bb}.video-stage{grid-template-columns:minmax(260px,340px) minmax(280px,1fr);align-items:center;gap:clamp(38px,7vw,92px);width:min(100%,900px);padding:28px;display:grid}.regenerate-video-button{width:fit-content;min-height:38px;color:var(--ink);cursor:pointer;white-space:nowrap;background:#ffffffe6;border:1px solid #c7cbc1;border-radius:8px;padding:0 16px;font-size:8px;font-weight:800}.regenerate-video-button:disabled{color:#8f938b;cursor:wait}.video-card{background:#fffc;border:1px solid #ffffffd1;border-radius:14px;flex-direction:column;gap:9px;min-width:0;padding:10px;display:flex;box-shadow:0 20px 56px #232a1f21}.video-card.is-complete{border-color:#6a941873}.video-card.is-failed{border-color:#9e463359}.video-card>header{justify-content:space-between;align-items:center;gap:8px;min-height:31px;display:flex}.video-card>header>div{align-items:baseline;gap:7px;display:flex}.video-card>header span{background:var(--ink);color:var(--lime);border-radius:5px;padding:5px 7px;font-size:7px;font-weight:800}.video-card>header strong{font-size:9px}.video-card>header small{color:var(--lime-dark);letter-spacing:.09em;font:800 7px/1 system-ui}.video-media{aspect-ratio:9/16;background:#1d201b;border-radius:10px;place-items:center;width:100%;display:grid;position:relative;overflow:hidden}.video-media>img,.video-media>video{object-position:center center;width:100%;height:100%;display:block;object-fit:contain!important}.video-media>img{opacity:.45;filter:saturate(.75)}.video-media-overlay{text-align:center;color:#fff;flex-direction:column;justify-content:center;align-items:center;padding:18px;display:flex;position:absolute;inset:0}.video-media-overlay strong{margin-top:12px;font-size:10px}.video-media-overlay small{color:#d5d8d0;margin-top:6px;font-size:7px}.video-spinner{border:2px solid #ffffff40;border-top:2px solid var(--lime);border-radius:50%;width:27px;height:27px;animation:spin .9s linear infinite}.video-failed-mark{background:#b4543e;border-radius:50%;place-items:center;width:27px;height:27px;font-weight:900;display:grid}.video-card-footer{align-items:center;gap:9px;min-height:25px;display:flex}.video-card-footer>a,.video-card-footer>span{color:var(--muted);flex:none;font-size:7px}.video-card-footer>a{color:#4f7210;font-weight:800}.video-progress{background:#d8dbd3;border-radius:3px;flex:1;height:3px;overflow:hidden}.video-progress span{border-radius:inherit;background:var(--lime-dark);height:100%;transition:width .35s;display:block}.video-details{flex-direction:column;align-items:flex-start;display:flex}.video-details h3{margin:12px 0 9px;font:500 27px/1.2 Songti SC,STSong,Georgia,serif}.video-details>p{max-width:440px;color:var(--muted);margin:0;font-size:10px;line-height:1.8}.video-timeline{gap:8px;width:100%;margin:26px 0 20px;padding:0;list-style:none;display:grid}.video-timeline li{background:#ffffffb3;border:1px solid #dde0d8;border-radius:10px;grid-template-columns:105px 60px 1fr;align-items:center;gap:10px;min-height:66px;padding:12px 14px;display:grid}.video-timeline li:first-child{border-left:3px solid #8d9288}.video-timeline li:last-child{border-left:3px solid var(--lime-dark)}.video-timeline span{color:#858a80;letter-spacing:.04em;font:800 8px/1 system-ui}.video-timeline strong{font-size:10px}.video-timeline small{color:var(--muted);font-size:8px}.video-specs{flex-wrap:wrap;gap:6px;margin-bottom:20px;display:flex}.video-specs span{background:var(--ink);color:#fff;border-radius:999px;padding:6px 9px;font-size:7px;font-weight:800}@keyframes spin{to{transform:rotate(1turn)}}@keyframes statusPulse{50%{opacity:.45;transform:scale(.8)}}.generating-state{text-align:center;flex-direction:column;align-items:center;display:flex}.brand-pulse{background:#fffc;border-radius:28px;place-items:center;width:90px;height:90px;animation:pulse 1.8s ease-out infinite;display:grid;box-shadow:0 0 #c6f36b8c}.brand-pulse img{object-fit:contain;width:62px;height:70px}.generating-state strong{margin-top:23px;font:500 21px/1.2 Songti SC,STSong,Georgia,serif}.generating-state p{color:var(--muted);margin:8px 0 0;font-size:9px}.progress-track{background:#cfd2ca;border-radius:2px;width:190px;height:2px;margin-top:18px;overflow:hidden}.progress-track span{background:#75a021;width:42%;height:100%;animation:progress 1.5s ease-in-out infinite alternate;display:block}@keyframes pulse{50%{opacity:.5}}@keyframes progress{0%{transform:translate(-100%)}to{transform:translate(240%)}}.error-banner{min-height:40px;color:var(--danger);background:#fff0ec;border-radius:8px;align-items:center;gap:8px;margin-top:8px;padding:8px 11px;font-size:9px;display:flex}.error-banner span{background:#f4b9ab;border-radius:50%;place-items:center;width:21px;height:21px;font-weight:900;display:grid}.error-banner p{margin:0}.preview-footer{justify-content:space-between;align-items:center;height:58px;padding:10px 6px 0;display:flex}.preview-footer>div{align-items:center;gap:9px;display:flex}.ai-badge{background:var(--lime-soft);color:#587c15;border-radius:7px;place-items:center;width:29px;height:29px;font:800 8px/1 system-ui;display:grid}.preview-footer p{flex-direction:column;gap:3px;margin:0;display:flex}.preview-footer strong{font-size:9px}.preview-footer small,.safety-copy{color:#92968e;font-size:7px}.history-section{max-width:1480px;margin:0 auto;padding:44px 24px 58px}.history-heading{justify-content:space-between;align-items:flex-end;margin-bottom:17px;display:flex}.history-heading h2{margin:9px 0 0;font:500 25px/1.1 Songti SC,STSong,Georgia,serif}.history-heading p{color:var(--muted);margin:0;font-size:9px}.history-grid{grid-template-columns:repeat(6,1fr);gap:9px;display:grid}.history-card{border:1px solid var(--line);cursor:pointer;text-align:left;background:#fff;border-radius:10px;padding:0;overflow:hidden}.history-card img{aspect-ratio:4/5;object-fit:cover;background:#e5e6e2;width:100%;display:block}.history-card>span{justify-content:space-between;gap:7px;padding:9px;font-size:8px;display:flex}.history-card small,.history-empty{color:var(--muted)}.history-empty{min-height:104px;border:1px dashed #ced1ca;border-radius:11px;justify-content:center;align-items:center;gap:9px;font-size:9px;display:flex}.history-empty span{color:var(--lime-dark)}.history-empty p{margin:0}footer{border-top:1px solid var(--line);min-height:96px;color:var(--muted);grid-template-columns:1fr auto 1fr;align-items:center;padding:22px max(24px,50vw - 740px);font-size:8px;display:grid}.footer-brand{opacity:.72}.footer-brand .brand-logo{width:34px;height:38px}.footer-brand strong{font-size:15px}.footer-brand small{font-size:6px}footer>span{letter-spacing:.08em;justify-self:end}@media (max-width:980px){.studio-intro{grid-template-columns:1fr;gap:14px}.workspace{grid-template-columns:330px minmax(0,1fr)}.canvas{min-height:540px}.video-stage{gap:32px}.history-grid{grid-template-columns:repeat(4,1fr)}}@media (max-width:760px){.topbar{grid-template-columns:1fr auto;height:64px;padding:0 14px}.privacy-pill,.topbar-center{display:none}.brand-logo{width:36px;height:41px}.brand strong{font-size:18px}.studio-intro{padding:28px 15px 20px}.studio-intro h1{font-size:31px}.studio-intro p{font-size:10px}.workspace{flex-direction:column;padding:0 10px 36px;display:flex}.control-panel,.preview-panel{width:100%}.preview-panel{order:-1}.canvas{height:58vh;min-height:430px}.control-panel{padding-bottom:18px}.preview-actions .primary-small{display:none}.makeup-video-section{padding:0 10px 38px}.makeup-video-panel{min-height:520px;padding:10px}.video-stage{grid-template-columns:minmax(210px,280px) 1fr;gap:24px;padding:16px}.video-card{padding:7px}.video-media-overlay{padding:8px}.video-details h3{font-size:21px}.video-timeline li{grid-template-columns:1fr;gap:5px}.history-section{padding:36px 15px 48px}.history-heading{flex-direction:column;align-items:flex-start;gap:8px}.history-grid{grid-template-columns:repeat(2,1fr)}footer{grid-template-columns:1fr;gap:12px;padding:22px 15px}footer>span{justify-self:start}}@media (max-width:420px){.upload-card,.upload-empty{min-height:118px}.preview-footer{align-items:flex-start;height:auto;min-height:58px}.preview-actions .text-button,.safety-copy{display:none}.makeup-video-heading{flex-direction:column;align-items:flex-start;gap:8px}.makeup-video-panel{min-height:480px}.video-empty{padding:30px 12px}.video-keyframes{gap:9px}.video-keyframes figure{width:102px}.video-keyframes>span{width:28px;height:28px}.video-stage{grid-template-columns:1fr;padding:8px}.video-card{justify-self:center;width:min(100%,260px)}.video-details{width:100%}.video-details h3{font-size:20px}.video-timeline{margin-top:18px}.video-timeline li{min-height:56px}.regenerate-video-button{min-height:34px;padding:0 12px}.video-card-footer>span{display:none}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}