:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#edf1f8;background:#0c111b;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg:#0c111b;--surface:#121b27;--surface-2:#172231;--line:#2b394b;--text:#edf1f8;--muted:#a4b2c7;--subtle:#8e9fb7;--accent:#52b0ff;--button:#1984ed;--button-text:white;--selected:#172b42;--error:#ffb5b5;--success:#a1ddc3;color-scheme:dark}:root[data-theme=light]{--bg:#f5f7fa;--surface:#fff;--surface-2:#f1f4f8;--line:#c2cbd7;--text:#172436;--muted:#4d6077;--subtle:#546b84;--accent:#096ac0;--button:#096ac0;--selected:#e6f2ff;--error:#a32424;--success:#166145;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}button,a,input,textarea,select,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent)}a{color:var(--accent);text-decoration:none}button{border:0;background:none;color:inherit}svg{flex-shrink:0;stroke-width:1.7}h1,h2,p{margin-top:0}h1{font-size:clamp(27px,2.7vw,39px);line-height:1.16;letter-spacing:-1.1px;font-weight:650;margin-bottom:7px}h2{font-size:20px;letter-spacing:-.4px;line-height:1.35;font-weight:630;margin-bottom:17px}p{line-height:1.55}button,a{transition:background-color .16s,color .16s,border-color .16s}button:hover:not(:disabled){background-color:var(--surface-2)}.muted{color:var(--muted)}.brand{display:flex;flex-direction:column}.brand strong{font-size:31px;letter-spacing:1.4px;line-height:1;font-weight:750}.brand span{font-size:12px;letter-spacing:5px;color:var(--subtle);margin-top:9px}.app-shell{min-height:100dvh;display:grid;grid-template-columns:205px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100dvh;border-right:1px solid var(--line);padding:28px 12px 25px;display:flex;flex-direction:column;background:var(--bg)}.sidebar .brand{padding-left:14px;margin-bottom:35px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar button{width:100%;text-align:left;display:flex;align-items:center;gap:16px;min-height:46px;font-size:14px;border-radius:6px;padding:12px 15px;position:relative;color:var(--muted)}.sidebar button.active{color:var(--accent);background:var(--selected);font-weight:600}.sidebar button.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--accent);border-radius:3px}.sidebar-bottom{margin-top:auto;display:grid;gap:6px}.workspace{padding:48px 28px 20px;max-width:1680px;width:100%;margin:auto}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 14px 24px}.page-header p{color:var(--muted);font-size:17px;margin-bottom:0}.icon-button{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:8px;color:var(--muted)}.studio-grid{display:grid;grid-template-columns:minmax(320px,.96fr) minmax(0,1.64fr);gap:10px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow:hidden}.scene-panel{padding:21px 19px}.scene-panel h2{font-size:21px}label{display:flex;flex-direction:column;gap:9px;font-size:13px;color:var(--text);font-weight:500}input,textarea,select{border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--text);padding:12px;width:100%;font-size:14px;line-height:1.55;min-height:44px}input::placeholder,textarea::placeholder{color:var(--subtle)}textarea{resize:vertical;min-height:165px;max-height:350px;padding-bottom:29px}.prompt-field{position:relative}.prompt-field>span{font-size:10px;color:var(--subtle);position:absolute;bottom:13px;right:12px;pointer-events:none}.examples{margin-top:15px}.field-label{font-size:12px;font-weight:500;color:var(--muted);margin-bottom:8px}.examples button{display:flex;align-items:center;justify-content:space-between;gap:6px;border:1px solid var(--line);border-radius:6px;font-size:11px;min-height:37px;margin:6px 0;width:100%;text-align:left;padding:9px 10px}.form-divider{height:1px;background:var(--line);margin:22px 0 19px}fieldset{padding:0;border:0;min-width:0}legend{font-size:13px;margin-bottom:10px;padding:0}.format-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.format-options button{display:flex;flex-direction:column;align-items:center;gap:5px;border:1px solid var(--line);border-radius:7px;padding:12px 4px 10px;font-size:11px;min-height:80px}.format-options strong{font-size:12px;font-weight:500}.format-options button>span:last-child{color:var(--muted)}.selected,.format-options button.selected{background:var(--selected);border-color:var(--accent);color:var(--accent)}.ratio-icon{height:14px;width:21px;border:1.5px solid;border-radius:2px;margin-bottom:1px}.ratio-9-16{width:11px;height:18px;margin-top:-2px;margin-bottom:-1px}.ratio-1-1{width:17px;height:17px;margin-top:-2px;margin-bottom:0}.duration{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-top:19px}.duration>span:last-child{display:flex;align-items:center;gap:7px;color:var(--muted)}.render-hint{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px;margin:20px 0 22px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;border-radius:7px;font-size:14px;font-weight:600;padding:12px 18px}.primary{background:var(--button);color:var(--button-text);border:1px solid transparent}.primary:hover:not(:disabled){background:#1477d4}.secondary{background:var(--surface-2);border:1px solid var(--line);color:var(--text);font-size:12px;min-height:40px}.secondary:hover{border-color:var(--accent)}.generate{width:100%;font-size:15px}.pipeline-hint{font-size:11px;color:var(--muted);margin:10px 0 0}.output-column{display:flex;flex-direction:column;gap:14px;min-width:0}.preview-panel{padding:4px}.preview-image{position:relative;aspect-ratio:16/9;border-radius:7px;overflow:hidden;background:var(--bg)}.preview-image img{width:100%;height:100%;object-fit:cover}.preview-image>span{position:absolute;bottom:15px;left:50%;transform:translate(-50%);background:#101824dd;color:#f1f4fa;font-size:10px;border-radius:4px;padding:9px 11px;max-width:90%;white-space:nowrap}.preview-info{min-height:157px;padding:28px 16px 21px;display:flex;flex-direction:column;align-items:center;text-align:center}.preview-info>svg{color:var(--muted);margin-bottom:10px}.preview-info h2{font-size:13px;letter-spacing:0;font-weight:500;margin:0 0 5px}.preview-info p{font-size:12px;color:var(--subtle);margin-bottom:0}.preview-info .text-button{margin-top:9px}.preview-actions{display:flex;gap:16px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:15px}.preview-actions .text-button{margin-top:0}.main-video{width:100%;aspect-ratio:16/9;max-height:540px;display:block;background:#080b11;object-fit:contain;border-radius:7px}.recent{flex:1;min-height:153px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 18px;border-bottom:1px solid var(--line)}.section-heading h2{font-size:16px;margin:0}.text-button{display:inline-flex;align-items:center;gap:9px;color:var(--accent);font-size:11px;padding:6px 0;min-height:30px}.text-button:hover:not(:disabled){background:none;text-decoration:underline}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:45px 20px;color:var(--muted)}.empty strong{font-size:13px;color:var(--text);font-weight:500}.empty p{font-size:12px;margin-bottom:0}.empty svg{margin-bottom:12px}.empty.small{padding:18px 15px}.empty.small svg{margin-bottom:10px}.recent-list{padding:2px 8px}.recent-item{width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:11px 9px;border-radius:5px;color:var(--muted)}.recent-item>div{flex:1;min-width:0;display:grid;gap:5px}.recent-item strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;color:var(--text);font-weight:500}.recent-item span{font-size:10px}.studio-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;margin-top:28px;padding:15px 4px 0;color:var(--subtle);font-size:10px;position:relative}.studio-footer details{margin-left:auto}.studio-footer summary{cursor:pointer;min-height:24px}.pipeline-details{position:absolute;bottom:35px;right:0;padding:16px 20px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 10px 35px #0003;max-width:min(360px,90vw);font-size:12px;z-index:2}.pipeline-details p{margin-bottom:8px}.pipeline-details p:last-child{margin-bottom:0}.pipeline-details strong{display:block;color:var(--text);margin-bottom:3px}.notice{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5;padding:13px 15px;border:1px solid var(--line);border-radius:7px;margin-bottom:15px}.notice.error{color:var(--error)}.notice.success{color:var(--success)}.notice>svg{margin-top:1px}.spinner{animation:spin 1.5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:25px;color:var(--muted)}.library-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:15px;color:var(--muted);font-size:14px}.library-toolbar p{margin:0}.library-toolbar label{display:flex;flex-direction:row;align-items:center;font-size:12px}.library-toolbar select{width:auto;min-width:160px}.video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.library-video video,.video-placeholder{width:100%;aspect-ratio:16/9;object-fit:contain;background:#080b11;display:block}.video-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;font-size:13px;color:#acbdd3}.video-detail{padding:20px}.video-detail h2{font-size:15px;line-height:1.5;letter-spacing:0;margin:12px 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}.video-detail p{font-size:12px}.video-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.status{font-size:11px;color:var(--muted)}.status-completed{color:var(--success)}.status-failed{color:var(--error)}.status-rendering,.status-preparing{color:var(--accent)}.job-error{color:var(--error)}.library-empty{min-height:420px}.library-empty h2{margin-bottom:8px}.library-empty .primary{margin-top:24px}.invite-panel,.profile-panel{max-width:640px;padding:36px;margin-top:12px}.invite-panel>svg{color:var(--accent);margin-bottom:22px}.invite-panel>p{font-size:14px;max-width:470px}.invite-panel form{display:grid;gap:20px;margin:30px 0}.invite-panel .primary{justify-self:start}.invitation-notes{display:flex;gap:12px;align-items:flex-start;padding-top:23px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.invitation-notes p{margin:0}.profile-panel dl{margin:25px 0 35px}.profile-panel dl>div{padding:13px 0;display:grid;grid-template-columns:110px 1fr;border-bottom:1px solid var(--line);font-size:14px}.profile-panel dt{color:var(--muted)}.profile-panel dd{margin:0;overflow-wrap:anywhere}.theme-options{display:flex;gap:10px;margin-bottom:25px}.profile-panel>p{font-size:13px}.auth-page{min-height:100dvh;display:grid;grid-template-columns:1.07fr 1fr}.auth-art{position:relative;overflow:hidden;min-height:100dvh;background:#101622;color:#fff}.auth-art>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:34% center}.art-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#050d1d72,transparent 35%,#07121dbb)}.auth-art .brand{position:absolute;left:52px;top:45px}.auth-art .brand span{color:#d5e3f7}.auth-story{position:absolute;left:52px;bottom:104px}.auth-story h1{font-size:clamp(40px,4.6vw,70px);line-height:1.05;letter-spacing:-2.5px;font-weight:600;margin-bottom:23px}.auth-story p{font-size:18px;line-height:1.6;color:#e3e9ee}.art-credit{position:absolute;bottom:28px;left:52px;font-size:10px;color:#e3e9ee}.auth-panel{padding:45px;display:flex;flex-direction:column;min-width:0}.auth-form{width:100%;max-width:365px;margin:auto}.auth-symbol{display:grid;place-items:center;width:52px;height:52px;border:1px solid var(--line);border-radius:12px;color:var(--accent);margin-bottom:28px}.auth-form h2{font-size:27px;letter-spacing:-.7px;margin-bottom:11px}.auth-form>p{font-size:14px;margin-bottom:29px}.auth-form form{display:grid;gap:21px}.auth-form input{height:48px}.password-field{display:flex;position:relative}.password-field input{padding-right:78px}.password-field button{font-size:11px;position:absolute;right:7px;top:5px;bottom:5px;padding:0 9px;color:var(--muted);border-radius:4px}.field-help{font-size:11px;color:var(--muted);line-height:1.5}.auth-form form .primary{margin-top:4px}.auth-help{font-size:12px!important;line-height:1.7;text-align:center;margin-top:24px;color:var(--muted)}.auth-link{display:flex;justify-content:center;gap:8px;align-items:center;font-size:12px;margin-top:22px;min-height:40px}.auth-security{display:flex;align-items:center;justify-content:center;gap:9px;font-size:11px;color:var(--muted);border-top:1px solid var(--line);margin-top:30px;padding-top:23px}.auth-panel footer{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--subtle);margin-top:40px}.auth-mobile-brand{display:none}.loading{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);min-height:120px}@media(min-width:1650px){.workspace{padding-left:44px;padding-right:44px}.studio-grid{gap:16px}.scene-panel{padding:25px}.examples button{font-size:13px}.preview-info h2{font-size:16px}.preview-info p{font-size:14px}}@media(max-width:1150px){.app-shell{grid-template-columns:170px minmax(0,1fr)}.sidebar button{font-size:12px;gap:11px;padding-left:11px}.workspace{padding:30px 18px 18px}.studio-grid{grid-template-columns:minmax(280px,.95fr) minmax(0,1.2fr)}.section-heading{align-items:flex-start;flex-direction:column;gap:2px}.preview-info{padding:24px 12px;min-height:175px}.auth-panel{padding:30px}.auth-story,.auth-art .brand,.art-credit{left:35px}}@media(max-width:900px){.app-shell{grid-template-columns:75px minmax(0,1fr)}.sidebar{padding:25px 8px}.sidebar .brand{padding:0;align-items:center}.sidebar .brand strong{font-size:17px;letter-spacing:0}.sidebar .brand span{font-size:9px;letter-spacing:1px}.sidebar button{justify-content:center;padding:13px}.sidebar button span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.studio-grid{grid-template-columns:minmax(260px,.9fr) minmax(0,1.1fr)}.page-header{margin-left:0;margin-right:0}.page-header h1{font-size:29px}.page-header p{font-size:15px}.theme-switch{width:34px;height:34px;flex-shrink:0}.scene-panel{padding:18px 14px}.format-options button,.examples button{font-size:10px}.desktop-break{display:none}.auth-page{grid-template-columns:.85fr 1fr}.auth-story h1{font-size:43px}.auth-story p{font-size:16px}.auth-panel footer{flex-direction:column;gap:5px}}@media(max-width:700px){.app-shell{display:block}.sidebar{height:auto;position:relative;border-right:0;border-bottom:1px solid var(--line);flex-direction:row;align-items:center;padding:16px 18px;gap:20px}.sidebar .brand{margin:0;align-items:flex-start}.sidebar .brand strong{font-size:22px}.sidebar .brand span{font-size:9px;letter-spacing:3px;margin-top:5px}.sidebar nav{flex-direction:row;gap:3px;margin-left:auto}.sidebar button{width:40px;height:42px;min-height:40px;padding:9px}.sidebar-bottom{display:flex;gap:1px;margin:0}.sidebar-bottom button:first-child{display:none}.sidebar button.active:before{width:auto;height:2px;top:auto;left:8px;right:8px}.workspace{padding:27px 16px 15px}.page-header{margin-bottom:22px;align-items:center}.page-header h1{font-size:27px;letter-spacing:-.7px;max-width:300px}.page-header p{font-size:14px}.studio-grid{display:flex;flex-direction:column;gap:16px}.scene-panel{padding:21px 18px}.examples button{font-size:12px;min-height:42px}.format-options button{font-size:12px;min-height:85px}.render-hint{font-size:12px;margin:20px 0}.duration{margin-top:22px}.preview-info{min-height:155px}.section-heading{flex-direction:row;align-items:center}.section-heading h2{font-size:15px}.section-heading .text-button{font-size:10px}.studio-footer{flex-wrap:wrap;font-size:9px}.studio-footer>span:last-child{display:none}.video-grid{grid-template-columns:1fr}.invite-panel,.profile-panel{padding:25px 20px}.auth-page{display:block}.auth-art{display:none}.auth-panel{min-height:100dvh;padding:30px 24px}.auth-mobile-brand{display:block;margin-bottom:35px}.auth-form{padding:15px 0;max-width:410px}.auth-form h2{font-size:26px}.auth-symbol{display:none}.auth-panel footer{flex-direction:row;font-size:9px}.theme-switch{margin-left:auto}.library-toolbar label{gap:7px}.library-toolbar select{min-width:140px}.profile-panel dl>div{grid-template-columns:90px 1fr}.preview-actions{gap:9px}.library-empty{padding:40px 18px;min-height:340px}}@media(max-width:370px){.sidebar{gap:8px;padding:14px 12px}.sidebar button{width:36px}.workspace{padding:22px 12px}.page-header h1{font-size:24px}.section-heading{flex-direction:column;align-items:flex-start}.studio-footer{font-size:9px}.auth-panel{padding:25px 20px}.auth-panel footer{flex-direction:column;gap:5px}.library-toolbar{align-items:flex-start}.library-toolbar label{flex-direction:column;align-items:flex-start}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition:none!important}}@media(forced-colors:active){.primary,.secondary,.sidebar button.active,.format-options button{border:1px solid ButtonText}.selected{outline:2px solid Highlight}.preview-image>span{background:Canvas;color:CanvasText}}
