html,body{width:100%;height:100%}input::-ms-clear{display:none}input::-ms-reveal{display:none}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:#0000;font-family:sans-serif;line-height:1.15}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{text-align:left;caption-side:bottom;padding-top:.75em;padding-bottom:.3em}input,button,select,optgroup,textarea{color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner{border-style:none;padding:0}[type=reset]::-moz-focus-inner{border-style:none;padding:0}[type=submit]::-moz-focus-inner{border-style:none;padding:0}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{resize:vertical;overflow:auto}fieldset{border:0;min-width:0;margin:0;padding:0}legend{width:100%;max-width:100%;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal;margin-bottom:.5em;padding:0;display:block}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button{height:auto}[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{background-color:#feffe6;padding:.2em}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--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{:root,:host{--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;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{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}html,:host{-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;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{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}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,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{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-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{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.block{display:block}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.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{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#eef4f8;background:#0a0f17;font-family:PingFang SC,Microsoft YaHei,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#app{width:100%;min-width:320px;min-height:100%;margin:0}body{background:linear-gradient(125deg,#14b8a629,#0000 34%),linear-gradient(315deg,#f472b621,#0000 32%),#0a0f17;min-height:100vh}button,input{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.topbar{z-index:20;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0a0f17c7;border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:12px clamp(16px,4vw,42px);display:flex;position:sticky;top:0}.brand,.user-chip,.panel-heading,.section-title,.secondary-button,.task-actions button{align-items:center;display:flex}.brand{color:#fff;gap:10px;min-width:0;font-size:16px;font-weight:700}.brand-icon,.avatar-fallback{justify-content:center;align-items:center;display:inline-flex}.brand-icon{color:#99f6e4;background:#14b8a624;border:1px solid #5eead447;border-radius:10px;width:34px;height:34px}.user-chip{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:999px;gap:10px;min-width:0;padding:5px 6px 5px 5px}.avatar-fallback,.avatar-image{border-radius:50%;flex:none;width:32px;height:32px;overflow:hidden}.avatar-fallback{color:#081016;background:linear-gradient(135deg,#14b8a6,#f472b6);font-size:13px;font-weight:800}.avatar-image img{object-fit:cover;width:100%;height:100%}.user-name{color:#ffffffe6;text-overflow:ellipsis;white-space:nowrap;max-width:160px;font-size:13px;font-weight:600;overflow:hidden}.icon-button{color:#ffffff9e;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.icon-button:hover{color:#fff;background:#ffffff1a}.app-main{min-height:calc(100vh - 64px)}.login-page{grid-template-columns:minmax(0,1fr) minmax(360px,440px);align-items:center;gap:clamp(24px,7vw,96px);min-height:100vh;padding:clamp(24px,6vw,72px);display:grid}.login-visual{max-width:720px}.login-kicker,.eyebrow{color:#5eead4;letter-spacing:0;text-transform:uppercase;font-size:12px;font-weight:800}.login-visual h1,.studio-header h1{color:#fff;letter-spacing:0;margin:14px 0 0;font-size:clamp(36px,6vw,72px);font-weight:800;line-height:1.05}.login-visual p,.studio-header p,.panel-toolbar p{color:#e2e8f0b8;line-height:1.8}.login-visual p{max-width:560px;margin-top:20px;font-size:17px}.login-panel,.control-panel,.result-panel,.history-panel{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0c121cc2;border:1px solid #ffffff1f;border-radius:8px;box-shadow:0 24px 70px #00000052}.login-panel{padding:28px}.panel-heading{gap:13px;margin-bottom:24px}.panel-heading>span{color:#99f6e4;background:#5eead41f;border-radius:8px;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.panel-heading h2,.panel-toolbar h2{color:#fff;margin:0;font-size:18px;line-height:1.2}.panel-heading p,.panel-toolbar p{margin:6px 0 0;font-size:13px}.field{margin-top:16px;display:block}.auth-switch{background:#ffffff0b;border:1px solid #ffffff1f;border-radius:8px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.auth-switch button{color:#e2e8f0b8;background:0 0;border:0;border-radius:6px;height:34px;font-size:13px;font-weight:800}.auth-switch button.active{color:#ccfbf1;background:#5eead429}.field span{color:#e2e8f0d1;margin-bottom:8px;font-size:13px;font-weight:600;display:block}.field input{color:#fff;background:#ffffff0f;border:1px solid #ffffff21;border-radius:8px;outline:none;width:100%;height:46px;padding:0 14px}.field input:focus{border-color:#5eead48c;box-shadow:0 0 0 3px #14b8a61f}.form-error{color:#fecdd3;background:#f43f5e1c;border:1px solid #fb718547;border-radius:8px;padding:10px 12px;font-size:13px}.primary-button,.generate-button.ant-btn-primary{gap:8px;width:100%;height:48px;color:#061017!important;background:linear-gradient(135deg,#14b8a6,#f472b6)!important;border:0!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;font-weight:800!important;display:inline-flex!important;box-shadow:0 18px 42px #14b8a633!important}.primary-button{margin-top:24px}.primary-button:disabled,.generate-button.ant-btn-primary:disabled{cursor:not-allowed;opacity:.5}.studio-page{flex-direction:column;gap:22px;padding:clamp(16px,3vw,34px);display:flex}.studio-header{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.studio-header h1{font-size:clamp(30px,4vw,52px)}.studio-header p{max-width:760px;margin:12px 0 0;font-size:15px}.status-cluster{flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:520px;display:flex}.status-cluster span{color:#e2e8f0d6;background:#ffffff12;border:1px solid #ffffff1f;border-radius:999px;align-items:center;min-height:30px;padding:0 11px;font-size:12px;display:inline-flex}.workbench{grid-template-columns:minmax(300px,360px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.control-panel,.result-panel,.history-panel{padding:18px}.control-panel{position:sticky;top:86px}.section-title{color:#fff;gap:8px;margin-bottom:12px;font-size:15px;font-weight:800}.preset-heading{justify-content:space-between;margin-top:22px}.preset-heading button{color:#99f6e4;background:0 0;border:0;font-size:12px;font-weight:700}.upload-trigger{color:#e2e8f0c2;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:86px;display:flex}.preset-list{gap:10px;margin-bottom:18px;display:grid}.preset-item{text-align:left;background:#ffffff0b;border:1px solid #ffffff1a;border-radius:8px;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:10px;padding:12px;display:grid}.preset-item:hover,.preset-item.is-selected{background:#14b8a61a;border-color:#5eead46b}.check-mark{color:#99f6e4;border:1px solid #ffffff2e;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.preset-item strong{color:#fff;font-size:14px;display:block}.preset-item em{color:#cbd5e1ad;margin-top:4px;font-size:12px;font-style:normal;line-height:1.5;display:block}.panel-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.secondary-button{color:#e2e8f0db;background:#ffffff0f;border:1px solid #ffffff21;border-radius:8px;flex:none;gap:7px;padding:8px 11px;font-size:13px;font-weight:700}.secondary-button:hover{color:#fff;border-color:#5eead45c}.task-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;display:grid}.task-card{background:#ffffff0b;border:1px solid #ffffff1a;border-radius:8px;overflow:hidden}.task-media{aspect-ratio:1;background:#0000004d;position:relative;overflow:hidden}.task-media .ant-image,.task-media .ant-image-img{width:100%;height:100%}.task-media .ant-image-img{object-fit:cover}.task-placeholder{color:#e2e8f09e;flex-direction:column;justify-content:center;align-items:center;gap:10px;height:100%;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.task-body{padding:13px}.task-title-row{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.task-title-row h3{color:#fff;margin:0;font-size:15px}.task-status{color:#e2e8f0b8;border:1px solid #ffffff21;border-radius:999px;flex:none;padding:2px 8px;font-size:11px}.task-status.running{color:#bae6fd;background:#0ea5e91f;border-color:#38bdf859}.task-status.success{color:#bbf7d0;background:#10b9811f;border-color:#34d39959}.task-status.failed{color:#fecdd3;background:#f43f5e1f;border-color:#fb718559}.task-body p{color:#cbd5e1a6;min-height:20px;margin:8px 0 0;font-size:12px}.task-error{color:#fda4af!important}.task-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.task-actions button{color:#e2e8f0d1;background:#ffffff0e;border:1px solid #ffffff1f;border-radius:8px;justify-content:center;gap:6px;padding:7px;font-size:12px;font-weight:700}.task-actions button:disabled{cursor:not-allowed;opacity:.42}.history-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;display:grid}.history-item{aspect-ratio:1;color:#e2e8f099;background:#ffffff0b;border:1px solid #ffffff1a;border-radius:8px;justify-content:center;align-items:center;font-size:12px;text-decoration:none;display:flex;overflow:hidden}.history-item img{object-fit:cover;width:100%;height:100%;transition:transform .2s}.history-item:hover img{transform:scale(1.04)}.ant-upload-wrapper,.ant-upload-list{color:#e2e8f0cc}.ant-upload-wrapper .ant-upload.ant-upload-select,.ant-upload-wrapper .ant-upload-list-item-container{width:124px!important;height:124px!important}.ant-upload-wrapper .ant-upload.ant-upload-select-picture-card,.ant-upload-wrapper .ant-upload-list-item{background:#ffffff0b!important;border-color:#ffffff2e!important;border-radius:8px!important}.ant-upload-wrapper .ant-upload-list-item-name,.ant-upload-wrapper .ant-upload-list-item-actions .anticon{color:#fff!important}.ant-empty-description{color:#e2e8f09e!important}@media (width<=1020px){.studio-header,.panel-toolbar{flex-direction:column;align-items:flex-start}.status-cluster{justify-content:flex-start}.workbench,.login-page{grid-template-columns:1fr}.control-panel{position:static}}@media (width<=640px){.topbar{flex-direction:column;align-items:flex-start}.user-chip{width:100%}.user-name{flex:auto;max-width:none}.login-page,.studio-page{padding:16px}.login-panel,.control-panel,.result-panel,.history-panel{padding:14px}.task-grid{grid-template-columns:1fr}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@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}
