*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.collapse{visibility:collapse}.table{display:table}.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{font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#16232b;background:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--canvas: #ffffff;--sidebar: #ffffff;--surface: #ffffff;--surface-soft: #f7f8f8;--surface-hover: #f1f4f5;--border: #e4e8ea;--border-strong: #d8dddf;--text: #16232b;--text-secondary: #52636d;--muted: #8a969d;--accent: #05b9d9;--accent-strong: #008fa8;--accent-soft: #e8f9fc;--shadow: 0 8px 24px rgba(17, 33, 41, .08)}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}button,input,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 75%,white);outline-offset:2px}.app-shell{display:flex;width:100%;height:100dvh;overflow:hidden;color:var(--text);background:var(--canvas);transition:color .18s ease,background-color .18s ease}.app-shell.is-dark{--canvas: #111719;--sidebar: #151c1f;--surface: #192125;--surface-soft: #202a2e;--surface-hover: #253136;--border: #2c383d;--border-strong: #3a484e;--text: #edf3f5;--text-secondary: #b7c2c7;--muted: #7f8e94;--accent: #25c4df;--accent-strong: #74d9ea;--accent-soft: #163940;--shadow: 0 10px 30px rgba(0, 0, 0, .25)}.mobile-header{display:none}.sidebar{position:relative;z-index:30;display:flex;width:248px;min-width:248px;height:100%;flex-direction:column;padding:14px 8px 12px;border-right:1px solid var(--border);background:var(--sidebar);transition:width .2s ease,min-width .2s ease,transform .2s ease}.sidebar.collapsed{width:72px;min-width:72px}.brand-row{position:relative;display:flex;height:42px;align-items:center;padding:0 12px}.brand-logo{width:24px;height:24px;flex:none;-o-object-fit:contain;object-fit:contain}.brand-name{display:flex;min-width:0;align-items:center;gap:7px;margin-left:12px;white-space:nowrap;font-size:18px;font-weight:800;color:var(--text)}.brand-name b{display:grid;height:20px;min-width:24px;place-items:center;padding:0 5px;border-radius:5px;color:#fff;background:#111719;font-size:11px;line-height:1}.collapse-button{position:absolute;top:2px;right:-23px;z-index:2;display:grid;width:28px;height:28px;place-items:center;padding:0;border:1px solid var(--border);border-radius:50%;color:var(--text-secondary);background:var(--surface);box-shadow:0 3px 10px #16232b1f;cursor:pointer}.collapse-button svg{transition:transform .18s ease}.collapse-button svg.rotated{transform:rotate(180deg)}.sidebar-nav{display:flex;flex:none;flex-direction:column;gap:2px;margin-top:9px}.nav-section-title{height:25px;margin:0;padding:5px 12px;color:var(--text-secondary);font-size:12px}.service-title{margin-top:10px}.nav-item{display:flex;width:100%;height:40px;align-items:center;gap:12px;padding:0 12px;border:0;border-radius:9px;color:var(--text-secondary);background:transparent;cursor:pointer;font-size:14px;text-align:left;text-decoration:none;white-space:nowrap;transition:color .15s ease,background-color .15s ease}.nav-item svg{flex:none}.nav-item:hover{color:var(--text);background:var(--surface-hover)}.nav-item.active{color:var(--accent-strong);background:var(--accent-soft)}.nav-item:disabled{cursor:wait;opacity:.55}.new-conversation-nav{color:var(--text);background:var(--surface-hover);font-weight:650}.conversation-panel{display:flex;min-height:0;flex:1;flex-direction:column;margin-top:13px;padding:0 4px}.conversation-panel-header{display:flex;height:29px;align-items:center;justify-content:space-between;padding:6px 8px;color:var(--muted);font-size:12px}.conversation-panel-header small{display:grid;min-width:19px;height:19px;place-items:center;border-radius:5px;color:var(--text-secondary);background:var(--surface-hover);font-size:10px}.conversation-search-row{display:flex;align-items:center;gap:5px;margin:2px 4px 7px}.conversation-search{display:flex;height:35px;min-width:0;flex:none;flex-grow:1;align-items:center;gap:7px;padding:0 8px;border:1px solid var(--border);border-radius:8px;color:var(--muted);background:var(--surface-soft)}.conversation-search:focus-within{border-color:color-mix(in srgb,var(--accent) 58%,var(--border));background:var(--surface)}.conversation-search input{min-width:0;flex:1;border:0;outline:none;color:var(--text);background:transparent;font-size:12px}.conversation-search button,.conversation-more,.clear-history-button{display:grid;width:25px;height:25px;flex:none;place-items:center;padding:0;border:0;border-radius:6px;color:var(--muted);background:transparent;cursor:pointer}.clear-history-button{width:35px;height:35px;border:1px solid var(--border);color:#c43f3f;background:var(--surface-soft)}.clear-history-button:hover:not(:disabled){border-color:color-mix(in srgb,#c43f3f 45%,var(--border));background:color-mix(in srgb,#c43f3f 8%,var(--surface))}.clear-history-button:disabled{cursor:not-allowed;opacity:.38}.conversation-list{min-height:0;overflow-x:hidden;overflow-y:auto;padding:0 2px 12px}.conversation-empty{margin:18px 6px;color:var(--muted);font-size:12px;text-align:center}.conversation-entry{position:relative;display:flex;min-width:0;height:38px;align-items:center;gap:7px;padding:0 4px 0 9px;border-radius:8px;color:var(--text-secondary)}.conversation-entry:hover,.conversation-entry.active{color:var(--text);background:var(--surface-hover)}.conversation-entry.active{font-weight:650}.conversation-main{display:flex;min-width:0;height:100%;flex:1;align-items:center;gap:8px;padding:0;border:0;color:inherit;background:transparent;cursor:pointer;text-align:left}.conversation-main:disabled{cursor:wait}.conversation-main svg,.conversation-entry>svg{flex:none;color:var(--muted)}.conversation-main span{min-width:0;overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.conversation-more{visibility:hidden}.conversation-entry:hover .conversation-more,.conversation-entry.active .conversation-more,.conversation-more:focus-visible{visibility:visible}.conversation-more:hover{color:var(--text);background:color-mix(in srgb,var(--border) 70%,transparent)}.conversation-title-input{min-width:0;height:28px;flex:1;padding:0 7px;border:1px solid var(--accent);border-radius:6px;outline:none;color:var(--text);background:var(--surface);font-size:12px}.conversation-action-menu{position:absolute;top:34px;right:3px;z-index:55;width:116px;padding:5px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.conversation-action-menu-floating{position:fixed;top:auto;right:auto;z-index:70}.conversation-action-menu button{display:flex;width:100%;height:32px;align-items:center;gap:8px;padding:0 8px;border:0;border-radius:6px;color:var(--text-secondary);background:transparent;cursor:pointer;font-size:12px}.conversation-action-menu button:hover{color:var(--text);background:var(--surface-hover)}.conversation-action-menu button.danger{color:#c43f3f}.sidebar.collapsed .brand-row,.sidebar.collapsed .nav-item{justify-content:center;padding-right:0;padding-left:0}.sidebar-footer{display:flex;flex-direction:column;gap:1px;padding-top:12px;border-top:1px solid var(--border)}.workspace{position:relative;display:flex;min-width:0;flex:1;flex-direction:column;overflow:hidden;background:var(--canvas)}.topbar-wrap{position:relative;z-index:20;display:flex;height:82px;flex:none;justify-content:center;padding:12px 24px}.topbar{position:relative;display:grid;grid-template-columns:1fr auto 1fr;width:100%;max-width:924px;height:58px;align-items:center;justify-content:space-between;padding:0 18px 0 20px;border:1px solid color-mix(in srgb,var(--border) 80%,transparent);border-radius:14px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 6px 14px #16232b14}.topbar-balance{min-width:0}.conversation-heading{display:flex;min-width:0;flex-direction:column;align-items:center;gap:2px;padding:0 12px;text-align:center}.conversation-heading strong{max-width:280px;overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.conversation-heading span{color:var(--muted);font-size:10px}.workspace-select,.topbar-text-button,.topbar-icon{display:inline-flex;height:36px;align-items:center;border:0;color:var(--text-secondary);background:transparent;cursor:pointer}.workspace-select{gap:8px;padding:0;color:var(--text);font-size:14px;font-weight:650}.workspace-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;color:var(--accent-strong);background:var(--accent-soft)}.topbar-actions{display:flex;align-items:center;gap:4px;justify-self:end}.topbar-icon{width:36px;justify-content:center;padding:0;border-radius:8px}.topbar-text-button{gap:4px;padding:0 8px;border-radius:8px;font-size:12px;font-weight:600}.topbar-icon:hover,.topbar-text-button:hover,.workspace-select:hover{color:var(--text);background:var(--surface-hover)}.topbar-text-button.active{color:var(--accent-strong);background:var(--accent-soft)}.queue-drawer-mask{display:none}.queue-sidebar{position:relative;z-index:30;width:0;min-width:0;height:100%;overflow:hidden;flex:none;background:var(--sidebar);transition:width .2s ease,min-width .2s ease}.queue-sidebar.open{width:400px;min-width:400px;border-left:1px solid var(--border)}.queue-sidebar-inner{display:flex;width:400px;height:100%;flex-direction:column}.queue-sidebar-header{display:flex;min-height:72px;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 12px 16px;border-bottom:1px solid var(--border)}.queue-sidebar-title{display:flex;min-width:0;align-items:center;gap:11px}.queue-sidebar-icon{display:grid;width:34px;height:34px;flex:none;place-items:center;border-radius:8px;color:var(--accent-strong);background:var(--accent-soft)}.queue-sidebar-title div{display:flex;min-width:0;flex-direction:column;gap:3px}.queue-sidebar-title strong{color:var(--text);font-size:14px}.queue-sidebar-title small{color:var(--muted);font-size:11px}.queue-close-button{display:grid;width:32px;height:32px;flex:none;place-items:center;padding:0;border:0;border-radius:7px;color:var(--text-secondary);background:transparent;cursor:pointer}.queue-close-button:hover{color:var(--text);background:var(--surface-hover)}.queue-empty{margin:auto 0;padding:24px;color:var(--muted);font-size:12px;text-align:center}.queue-count{display:inline-grid;min-width:17px;height:17px;place-items:center;padding:0 4px;border-radius:9px;color:#fff;background:var(--accent-strong);font-size:10px;line-height:1}.queue-list{display:flex;min-height:0;flex:1;flex-direction:column;gap:10px;padding:12px;overflow-y:auto}.queue-item{padding:13px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.queue-item-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.queue-task-title{display:flex;min-width:0;flex:1;align-items:center;gap:9px}.queue-task-title>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.queue-task-title b{overflow:hidden;color:var(--text);font-size:12px;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.queue-task-title small{color:#d14343;font-size:11px}.queue-status-marker{width:8px;height:8px;flex:none;border-radius:50%;background:#d14343;box-shadow:0 0 0 3px #d143431a}.queue-item-actions{display:flex;flex:none;align-items:center;gap:5px;color:#d14343}.queue-item-actions strong{min-width:36px;font-size:12px;text-align:right}.queue-download-button{display:grid;width:28px;height:28px;flex:none;place-items:center;padding:0;border:0;border:1px solid color-mix(in srgb,currentColor 22%,transparent);border-radius:7px;color:#23845b;background:color-mix(in srgb,currentColor 7%,transparent);cursor:pointer}.queue-download-button:hover:not(:disabled){background:color-mix(in srgb,currentColor 12%,transparent)}.queue-download-button:disabled{cursor:wait;opacity:.6}.queue-item .queue-item-prompt{display:-webkit-box;margin:11px 0 9px;overflow:hidden;color:var(--text-secondary);font-size:12px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.queue-item-meta{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:var(--muted);font-size:10px}.queue-item-meta span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.queue-item-meta span:first-child{flex:1}.queue-progress{height:4px;overflow:hidden;border-radius:2px;background:var(--surface-hover)}.queue-progress span{display:block;height:100%;border-radius:inherit;background:#d14343;transition:width .2s ease}.queue-time-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:11px;padding-top:10px;border-top:1px solid var(--border)}.queue-time-grid>div{display:flex;min-width:0;flex-direction:column;gap:4px}.queue-time-grid span{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:10px}.queue-time-grid time{overflow:hidden;color:var(--text-secondary);font-size:11px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.queue-item.status-completed .queue-task-title small,.queue-item.status-completed .queue-item-actions{color:#23845b}.queue-item.status-completed .queue-status-marker{background:#23845b;box-shadow:0 0 0 3px #23845b1a}.queue-item.status-completed .queue-progress span{background:#23845b}.queue-item.status-failed .queue-task-title small,.queue-item.status-failed .queue-item-actions{color:#d14343}.queue-item.status-failed .queue-progress span{width:100%!important;background:#d14343}.search-bar{position:absolute;z-index:19;top:88px;left:50%;display:flex;width:min(620px,calc(100% - 48px));height:44px;align-items:center;gap:9px;padding:0 8px 0 14px;border:1px solid var(--border);border-radius:11px;color:var(--muted);background:var(--surface);box-shadow:var(--shadow);transform:translate(-50%)}.search-bar input{min-width:0;flex:1;border:0;outline:none;color:var(--text);background:transparent;font-size:13px}.feed{display:flex;width:100%;min-height:0;flex:1;flex-direction:column;align-items:center;overflow-x:hidden;overflow-y:auto;padding:16px 24px 250px;scrollbar-gutter:stable}.conversation-welcome{display:flex;width:100%;max-width:820px;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:24px 24px 80px;text-align:center}.welcome-mark{display:grid;width:46px;height:46px;place-items:center;border:1px solid var(--border);border-radius:8px;color:var(--accent-strong);background:var(--surface);box-shadow:0 5px 14px #16232b14}.conversation-welcome h1{margin:17px 0 25px;font-size:25px;letter-spacing:0}.prompt-suggestions{display:flex;max-width:760px;flex-wrap:wrap;justify-content:center;gap:8px}.prompt-suggestions button{min-height:38px;padding:8px 13px;border:1px solid var(--border);border-radius:8px;color:var(--text-secondary);background:var(--surface-soft);cursor:pointer;font-size:12px}.prompt-suggestions button:hover{color:var(--text);border-color:var(--border-strong);background:var(--surface-hover)}.creation-item{width:100%;max-width:720px;padding:0 4px 32px}.creation-summary{display:flex;min-height:77px;align-items:flex-start;gap:19px;padding:0 4px 10px}.reference-thumb{position:relative;display:grid;width:76px;height:62px;flex:none;place-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 3px 8px #16232b14;transform:rotate(-7deg)}.reference-thumb img{width:47px;height:47px;-o-object-fit:contain;object-fit:contain}.reference-thumb span{position:absolute;bottom:-3px;left:-7px;display:grid;width:19px;height:19px;place-items:center;border:1px solid var(--border);border-radius:50%;color:var(--muted);background:var(--surface);font-family:Georgia,serif;font-size:16px;line-height:1;transform:rotate(7deg)}.summary-content{min-width:0;flex:1}.prompt-preview-toggle{display:flex;width:100%;align-items:flex-start;gap:7px;padding:0;border:0;outline:none;color:var(--text);background:transparent;cursor:pointer;font:inherit;text-align:left}.prompt-preview-toggle:focus-visible{border-radius:4px;box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 32%,transparent)}.prompt-preview-toggle>svg{flex:none;margin-top:4px;color:var(--muted);transition:transform .15s ease}.prompt-preview{display:-webkit-box;min-width:0;flex:1;overflow:hidden;font-size:13px;line-height:1.75;-webkit-box-orient:vertical;-webkit-line-clamp:2}.prompt-preview-toggle.expanded .prompt-preview{display:block;overflow:visible;white-space:pre-wrap;-webkit-line-clamp:unset}.prompt-preview-toggle.expanded>svg{transform:rotate(180deg)}.meta-row{display:flex;justify-content:flex-end;align-items:center;gap:5px;margin:5px 0 0;color:var(--muted);font-size:10px;white-space:nowrap}.meta-row i{width:1px;height:10px;background:var(--border-strong)}.video-frame{display:flex;width:min(505px,calc(100% - 8px));aspect-ratio:16 / 9;margin-left:4px;overflow:hidden;border:0;color:var(--text-secondary);background:#000;-o-object-fit:contain;object-fit:contain}.generating-frame,.failed-frame{align-items:center;justify-content:center;flex-direction:column;gap:10px;color:var(--text-secondary);background:var(--surface-soft);font-size:13px}.creation-actions{display:flex;align-items:center;gap:5px;margin:16px 0 0 4px}.more-action-wrap{position:relative}.action-button,.icon-action,.parameter-button,.secondary-button,.primary-button{border:1px solid var(--border);background:var(--surface);cursor:pointer;transition:border-color .15s ease,background-color .15s ease,color .15s ease}.action-button{display:inline-flex;height:37px;align-items:center;gap:7px;padding:0 13px;border-radius:7px;color:var(--text-secondary);box-shadow:0 2px 5px #16232b0a;font-size:12px}.icon-action{display:grid;width:37px;height:37px;place-items:center;padding:0;border-radius:7px;color:var(--text-secondary)}.item-action-menu{position:absolute;z-index:35;right:0;bottom:44px;width:150px;padding:5px;border:1px solid var(--border);border-radius:9px;background:var(--surface);box-shadow:0 14px 34px #16232b29}.item-action-menu button{display:flex;width:100%;height:34px;align-items:center;gap:8px;padding:0 9px;border:0;border-radius:6px;color:var(--text-secondary);background:transparent;cursor:pointer;font-size:12px;text-align:left}.item-action-menu button:hover:not(:disabled){color:var(--text);background:var(--surface-hover)}.item-action-menu button:disabled{cursor:not-allowed;opacity:.48}.download-error{margin:5px 7px 3px;color:#d14343;font-size:10px;line-height:1.4}.action-button:hover,.icon-action:hover,.parameter-button:hover{border-color:var(--border-strong);color:var(--text);background:var(--surface-hover)}.composer{position:absolute;z-index:15;bottom:20px;left:50%;width:min(924px,calc(100% - 64px));min-height:198px;padding:20px;border:1px solid var(--border-strong);border-radius:26px;background:color-mix(in srgb,var(--surface) 97%,transparent);box-shadow:0 14px 34px #16232b14;transform:translate(-50%);transition:border-color .15s ease,box-shadow .15s ease}.composer.dragging{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 14%,transparent),var(--shadow)}.attachment-strip{display:flex;gap:7px;margin-bottom:10px;overflow-x:auto}.attachment-chip{display:flex;height:29px;max-width:180px;flex:none;align-items:center;gap:5px;padding:0 6px 0 9px;border:1px solid var(--border);border-radius:7px;color:var(--text-secondary);background:var(--surface-soft);font-size:11px}.attachment-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-chip button{display:grid;width:19px;height:19px;flex:none;place-items:center;padding:0;border:0;border-radius:5px;background:transparent;cursor:pointer}.attachment-chip button:hover{background:var(--surface-hover)}.prompt-area{display:flex;min-height:105px;align-items:flex-start;gap:22px}.reference-upload{display:flex;width:52px;height:68px;flex:none;flex-direction:column;align-items:center;justify-content:center;gap:3px;margin:11px 0 0 5px;border:1px solid var(--border);color:var(--muted);background:var(--surface-soft);box-shadow:0 4px 8px #16232b0f;cursor:pointer;font-size:10px;transform:rotate(-8deg)}.reference-upload input{display:none}.reference-upload:hover{color:var(--accent-strong);border-color:var(--accent)}.prompt-editor{width:auto;min-width:0;min-height:78px;max-height:128px;flex:1;padding:9px 0 0;overflow-y:auto;border:0;outline:none;color:var(--text);background:transparent;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.prompt-editor[data-placeholder]:empty:before{content:attr(data-placeholder);color:#a3aaae;pointer-events:none}.is-dark .prompt-editor[data-placeholder]:empty:before{color:#6f7c81}.inline-reference-chip{display:inline-flex;width:min(220px,calc(100% - 12px));height:30px;align-items:center;gap:6px;margin:0 3px;padding:3px 8px 3px 4px;border:1px solid var(--border);border-radius:7px;color:var(--text-secondary);background:var(--surface-soft);box-shadow:0 2px 5px #16232b0d;font-size:11px;line-height:1;vertical-align:middle}.inline-reference-chip img{width:22px;height:22px;flex:none;border-radius:4px;-o-object-fit:cover;object-fit:cover}.inline-reference-chip>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-footer{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:12px}.parameter-list{display:flex;min-width:0;align-items:center;gap:6px}.parameter-dropdown{position:relative;flex:none}.parameter-button{display:inline-flex;height:36px;flex:none;align-items:center;gap:6px;padding:0 11px;border-radius:9px;color:var(--text-secondary);font-size:12px;white-space:nowrap}.parameter-button.accent{border-color:color-mix(in srgb,var(--accent) 72%,white);color:var(--accent-strong);background:var(--accent-soft);font-weight:650}.parameter-button .sparkle{margin-left:-2px;color:var(--accent)}.route-trigger{max-width:160px}.route-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.parameter-button .chevron-up{transform:rotate(180deg)}.model-label{display:none}.model-trigger{max-width:230px}.model-trigger .selected-model-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.route-menu{position:absolute;z-index:30;bottom:68px;left:20px;width:min(400px,calc(100% - 40px));overflow:hidden;padding:6px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 14px 36px #16232b26}.route-menu-toolbar{display:flex;height:40px;align-items:center;justify-content:space-between;gap:12px;padding:0 8px 5px;border-bottom:1px solid var(--border)}.route-menu-toolbar span{display:inline-flex;align-items:center;gap:8px;color:var(--text);font-size:12px;font-weight:700}.route-menu-toolbar span svg{color:var(--accent-strong)}.route-menu-toolbar small{color:var(--muted);font-size:10px;font-weight:500}.route-menu-state{display:flex;min-height:80px;align-items:center;justify-content:center;gap:8px;margin:0;color:var(--muted);font-size:12px}.route-option-list{max-height:286px;overflow-x:hidden;overflow-y:auto;padding-top:4px}.route-option{display:flex;width:100%;min-height:52px;align-items:center;gap:9px;padding:0 8px;border:0;border-radius:6px;color:var(--text-secondary);background:transparent;cursor:pointer;text-align:left}.route-option:hover,.route-option.selected{color:var(--accent-strong);background:var(--accent-soft)}.route-option.selected{box-shadow:inset 2px 0 0 var(--accent)}.route-option:disabled{cursor:not-allowed;opacity:.45}.route-option-icon{display:grid;width:27px;height:27px;flex:none;place-items:center;border:1px solid var(--border);border-radius:6px;color:var(--text-secondary);background:var(--surface-soft)}.route-option:hover .route-option-icon,.route-option.selected .route-option-icon{border-color:color-mix(in srgb,var(--accent) 35%,var(--border));color:var(--accent-strong);background:var(--surface)}.route-option-copy{display:flex;min-width:0;flex:1;flex-direction:column;align-items:flex-start;gap:2px}.route-option-title{display:flex;min-width:0;max-width:100%;align-items:center;gap:7px}.route-option-title b,.route-option-copy small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.route-option-title b{min-width:0;color:inherit;font-size:12px;font-weight:600}.route-option-copy small{color:var(--muted);font-size:11px;font-weight:400}.route-option-title em{flex:none;padding:2px 5px;border-radius:4px;color:var(--accent-strong);background:color-mix(in srgb,var(--accent-soft) 75%,var(--surface));font-size:9px;font-style:normal}.route-option-check{flex:none;color:var(--accent-strong)}.route-option-list::-webkit-scrollbar{width:8px}.route-option-list::-webkit-scrollbar-thumb{border:2px solid var(--surface);border-radius:4px;background:var(--border-strong)}.model-menu{position:absolute;z-index:31;bottom:68px;left:132px;width:min(420px,calc(100% - 152px));padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 14px 34px #16232b29}.model-menu section+section{margin-top:14px}.model-menu section>p{margin:0 0 8px;color:var(--text-secondary);font-size:11px;font-weight:700}.model-choice-list{display:flex;flex-wrap:wrap;gap:7px}.model-choice-list button{min-height:29px;padding:5px 10px;border:0;border-radius:15px;color:var(--text-secondary);background:var(--surface-hover);cursor:pointer;font-size:11px;font-weight:650}.model-choice-list button:hover{color:var(--text)}.model-choice-list button.selected,.resolution-list button{color:var(--accent-strong);background:var(--accent-soft)}.resolution-list button:not(.selected){color:var(--text-secondary);background:var(--surface-hover)}.model-menu footer{margin-top:15px;padding-top:12px;border-top:1px solid var(--border);color:var(--muted);font-size:10px}.ratio-menu,.duration-menu{position:absolute;z-index:32;bottom:44px;left:0;width:150px;padding:6px;border:1px solid var(--border);border-radius:9px;background:var(--surface);box-shadow:0 14px 34px #16232b29}.duration-menu{width:136px;max-height:300px;overflow-y:auto}.ratio-option,.duration-option{display:flex;width:100%;height:36px;align-items:center;gap:8px;padding:0 9px;border:0;border-radius:7px;color:var(--text-secondary);background:transparent;cursor:pointer;font-size:12px;text-align:left}.ratio-option span,.duration-option span{flex:1}.ratio-option:hover,.ratio-option.selected,.duration-option:hover,.duration-option.selected{color:var(--accent-strong);background:var(--accent-soft)}.mention-menu{position:absolute;z-index:33;bottom:44px;left:0;width:260px;max-height:280px;overflow-y:auto;padding:6px;border:1px solid var(--border);border-radius:9px;background:var(--surface);box-shadow:0 14px 34px #16232b29}.inline-mention-menu{position:absolute;right:auto;bottom:auto;transform:translateY(calc(-100% - 8px))}.mention-menu-empty{margin:0;padding:18px 12px;color:var(--muted);font-size:12px;text-align:center}.mention-option{display:flex;width:100%;min-height:44px;align-items:center;gap:9px;padding:6px 9px;border:0;border-radius:7px;color:var(--text-secondary);background:transparent;cursor:pointer;text-align:left}.mention-option:hover{color:var(--accent-strong);background:var(--accent-soft)}.mention-option>svg{flex:none}.mention-thumbnail{width:30px;height:30px;flex:none;border-radius:5px;-o-object-fit:cover;object-fit:cover}.mention-option span{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.mention-option b,.mention-option small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-option b{color:inherit;font-size:12px}.mention-option small{color:var(--muted);font-size:10px}.at-button{width:38px;justify-content:center;padding:0}.submit-area{display:flex;flex:none;align-items:center;gap:12px}.login-hint{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:12px;white-space:nowrap}.submit-button{display:grid;width:40px;height:40px;flex:none;place-items:center;padding:0;border:0;border-radius:50%;color:#fff;background:var(--accent-strong);cursor:pointer}.submit-button:hover:not(:disabled){background:var(--accent)}.submit-button:disabled{color:#aab0b3;background:#e4e6e7;cursor:not-allowed}.is-dark .submit-button:disabled{color:#58666c;background:#2b363b}.icon-button{display:grid;width:36px;height:36px;flex:none;place-items:center;padding:0;border:0;border-radius:8px;color:var(--text-secondary);background:transparent;cursor:pointer}.icon-button:hover{color:var(--text);background:var(--surface-hover)}.icon-button.small{width:30px;height:30px}.modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:20px;background:#1422288f;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.modal{width:min(480px,100%);padding:24px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:0 24px 70px #00000038}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.modal-eyebrow{margin:0 0 5px;color:var(--accent-strong);font-size:12px;font-weight:700}.modal h2{margin:0;color:var(--text);font-size:20px;line-height:1.3}.modal-description{margin:14px 0 18px;color:var(--text-secondary);font-size:13px;line-height:1.6}.field-label{display:block;margin-top:14px;color:var(--text-secondary);font-size:12px;font-weight:650}.field-label input{display:block;width:100%;height:42px;margin-top:7px;padding:0 12px;border:1px solid var(--border-strong);border-radius:8px;outline:none;color:var(--text);background:var(--surface);font-size:13px;font-weight:400}.field-label input:focus{border-color:var(--accent)}.key-input-wrap{position:relative;display:block;height:42px;margin-top:7px}.key-input-wrap input{height:100%;margin-top:0;padding-right:44px}.key-input-wrap button{position:absolute;top:50%;right:5px;display:grid;width:32px;height:32px;place-items:center;padding:0;border:0;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer;transform:translateY(-50%)}.key-input-wrap button:hover{color:var(--text);background:var(--surface-hover)}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.config-message{margin:12px 0 0;color:var(--accent-strong);font-size:12px;line-height:1.5}.config-message.error{color:#d14343}.secondary-button,.primary-button,.danger-button{height:38px;padding:0 17px;border:1px solid var(--border-strong);border-radius:8px;cursor:pointer;font-size:13px;font-weight:650}.primary-button{border-color:var(--accent-strong);color:#fff;background:var(--accent-strong)}.modal-actions .primary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary-button:disabled{cursor:wait;opacity:.7}.primary-button:hover{border-color:var(--accent);background:var(--accent)}.secondary-button:hover{background:var(--surface-hover)}.danger-button{border-color:#c43f3f;color:#fff;background:#c43f3f}.danger-button:hover{border-color:#aa3030;background:#aa3030}.service-modal{width:min(760px,100%)}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.service-grid>div{display:flex;min-height:130px;flex-direction:column;gap:8px;padding:16px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.service-grid svg{color:var(--accent-strong)}.service-grid b{font-size:14px}.service-grid span{color:var(--text-secondary);font-size:12px;line-height:1.6}.primary-button.full{width:100%}.contact-modal{width:min(420px,100%)}.contact-content{display:flex;flex-direction:column;align-items:center;gap:14px;margin:20px 0;text-align:center}.contact-qr{width:190px;height:190px;-o-object-fit:contain;object-fit:contain;border:1px solid var(--border);border-radius:8px;background:#fff}.contact-qr-empty{display:grid;place-items:center;color:var(--muted);background:var(--surface-soft)}.contact-content p{margin:0;color:var(--text-secondary);font-size:13px;line-height:1.7;white-space:pre-wrap}.spin{animation:spin .9s linear infinite}.drawer-mask{display:none}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 1050px){.composer{width:calc(100% - 40px)}.desktop-parameter{display:none}.queue-drawer-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;display:block;background:#0c191f7a}.queue-sidebar,.queue-sidebar.open{position:fixed;inset:0 0 0 auto;z-index:40;width:min(400px,calc(100vw - 24px));min-width:0;border-left:1px solid var(--border);box-shadow:-14px 0 34px #0d1c232e;transform:translate(105%);transition:transform .2s ease}.queue-sidebar.open{transform:translate(0)}.queue-sidebar-inner{width:100%}}@media (max-width: 767px){.app-shell{display:block}.mobile-header{position:relative;z-index:25;display:flex;height:48px;align-items:center;justify-content:space-between;padding:0 11px;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--surface) 96%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mobile-brand{display:flex;align-items:center;gap:9px;color:var(--text);font-size:14px;font-weight:750}.mobile-brand img{width:21px;height:21px;-o-object-fit:contain;object-fit:contain}.mobile-header-spacer{width:36px}.drawer-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;display:block;background:#0c191f7a}.sidebar,.sidebar.collapsed{position:fixed;inset:0 auto 0 0;z-index:40;width:248px;min-width:248px;box-shadow:14px 0 34px #0d1c232e;transform:translate(-105%)}.sidebar.open{transform:translate(0)}.conversation-more{visibility:visible}.sidebar.collapsed .brand-row,.sidebar.collapsed .nav-item{justify-content:flex-start;padding-right:12px;padding-left:12px}.sidebar.collapsed .brand-name,.sidebar.collapsed .nav-item span,.sidebar.collapsed .nav-section-title{display:initial}.collapse-button{right:8px;box-shadow:none}.workspace{height:calc(100dvh - 48px)}.topbar-wrap{height:80px;padding:8px 12px 15px}.topbar{grid-template-columns:minmax(0,1fr) auto;height:57px;padding:0 11px 0 19px;border-radius:14px}.topbar-balance{display:none}.conversation-heading{align-items:flex-start;padding:0 8px 0 0;text-align:left}.conversation-heading strong{max-width:min(32vw,160px)}.conversation-heading span{display:none}.topbar-actions{gap:0}.topbar-text-button{padding:0 6px}.login-hint{display:none}.search-bar{top:73px;width:calc(100% - 24px)}.feed{align-items:stretch;padding:8px 20px 230px}.conversation-welcome{align-self:center;padding:12px 0 90px}.conversation-welcome h1{margin-bottom:20px;font-size:22px}.prompt-suggestions{width:100%;flex-direction:column}.prompt-suggestions button{width:100%;text-align:left}.creation-item{max-width:none;padding:0 0 32px}.creation-summary{min-height:107px;gap:20px;padding:0 0 12px}.reference-thumb{width:70px;height:61px;margin-top:3px}.reference-thumb img{width:45px;height:45px}.prompt-preview{min-height:43px;font-size:13px;line-height:1.7}.meta-row{flex-wrap:wrap;justify-content:flex-end;gap:4px;line-height:1.65;white-space:normal}.video-frame{width:100%;margin-left:0}.creation-actions{margin-top:17px;margin-left:0}.composer{bottom:16px;width:calc(100% - 24px);min-height:198px;padding:18px 20px 20px;border-radius:26px}.prompt-area{min-height:112px;gap:21px}.reference-upload{margin-top:12px}.prompt-editor{height:92px;min-height:92px;padding-top:11px;font-size:13px;line-height:1.75}.composer-footer{gap:7px}.parameter-list{gap:5px;overflow:hidden}.parameter-button{height:36px;padding:0 10px}.selected-model-name{display:none}.model-label{display:inline}.route-menu{bottom:66px;left:12px;width:calc(100% - 24px)}.route-option-list{max-height:220px}.model-menu{bottom:66px;left:12px;width:calc(100% - 24px)}.at-button{display:none}.submit-area{gap:7px}.login-hint{font-size:12px}.submit-button{width:40px;height:40px}.service-grid{grid-template-columns:1fr}}@media (max-width: 390px){.topbar-text-button{font-size:11px}.conversation-heading strong{max-width:105px}.topbar-icon{width:31px}.prompt-area{gap:17px}.parameter-button{padding:0 8px}}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{border-radius:8px;background:color-mix(in srgb,var(--muted) 45%,transparent)}::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb,var(--muted) 68%,transparent)}
