:root{--theme-paper:#0c0b11;--theme-surface:#16141e;--theme-surface-alt:#211c2e;--theme-ink:#f2effb;--theme-muted:#aaa2bc;--theme-line:#332b44;--theme-accent:#bca2ff;--theme-accent-hover:#ccb8ff;--theme-on-accent:#171022;--theme-action:#b899ff;--theme-on-action:#170e2b;--theme-tint:#2a1e42;--theme-danger:#ffaba8;--theme-blue:#c5b0f5;--theme-link:#c4adff;--theme-focus:#d9c7ff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.space-page.light{--theme-paper:#f2eff8;--theme-surface:#fff;--theme-surface-alt:#e9e3f2;--theme-ink:#241b34;--theme-muted:#70637f;--theme-line:#d9cfe7;--theme-accent:#7045b1;--theme-accent-hover:#5b329b;--theme-on-accent:#fff;--theme-tint:#e9dff8;--theme-danger:#ac333b;--theme-blue:#6e50a0;--theme-link:#7045b1;--theme-focus:#7045b1;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root{color:var(--theme-ink);background:var(--theme-paper);font-synthesis:none;text-rendering:optimizelegibility;font-family:DM Sans,Noto Sans SC,sans-serif}*{box-sizing:border-box}body{background:var(--theme-paper);min-width:320px;margin:0}button,input,textarea{font:inherit}button{color:inherit;cursor:pointer;background:0 0;border:0}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{background:radial-gradient(1000px 500px at 50% 35%,var(--theme-surface) 0%,var(--theme-paper) 70%);flex-direction:column;min-height:100vh;display:flex}.announcement{background:linear-gradient(90deg,var(--theme-accent),var(--theme-accent),var(--theme-accent));height:43px;color:var(--theme-accent);justify-content:center;align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.announcement span{background:var(--theme-accent);opacity:.7;border-radius:50%;width:4px;height:4px}.announcement button{font-size:12px;text-decoration:underline}.topbar{justify-content:space-between;align-items:center;height:76px;padding:0 44px;display:flex}.brand,.back-brand{align-items:center;gap:9px;font-size:19px;display:flex}.brand-logo{width:32px;height:32px;color:var(--theme-accent);background:linear-gradient(135deg,var(--theme-surface-alt),var(--theme-accent));border-radius:10px;place-items:center;display:grid;transform:rotate(-10deg)}.brand em,.back-brand em{border:1px solid var(--theme-accent);color:var(--theme-accent);border-radius:5px;padding:2px 6px;font-size:10px;font-style:normal}.topbar nav{align-items:center;gap:23px;display:flex}.lang-btn{color:var(--theme-ink);align-items:center;gap:6px;font-size:13px;display:flex}.nav-login{color:var(--theme-ink);font-size:14px}.primary-nav{background:var(--theme-accent);color:var(--theme-on-accent);border-radius:18px;align-items:center;gap:8px;padding:10px 17px;font-size:13px;font-weight:700;display:flex;box-shadow:0 0 25px #54cdb355}.hero{width:calc(100% - 64px);max-width:1180px;margin:0 auto;padding:25px 0 52px}.hero-copy{text-align:center;margin:12px auto 26px}.eyebrow{color:var(--theme-accent);letter-spacing:2px;font-size:11px;font-weight:600}.eyebrow span{background:var(--theme-accent);border-radius:50%;width:5px;height:5px;margin:0 7px 2px 0;display:inline-block}.hero h1{letter-spacing:-1px;margin:15px 0 11px;font-size:46px;line-height:1.15}.hero h1 span{color:var(--theme-accent)}.hero-copy p{color:var(--theme-muted);margin:0;font-size:15px}.showcase{justify-content:center;align-items:center;gap:0;height:245px;display:flex;position:relative;overflow:hidden}.show-card{border:1px solid var(--theme-line);opacity:.55;background-position:50%;background-size:cover;border-radius:16px;align-items:flex-end;width:34%;height:210px;padding:25px 20px;transition:all .45s;display:flex;position:relative;overflow:hidden}.show-card.active{z-index:2;opacity:1;border-color:var(--theme-line);width:37%;height:238px;box-shadow:0 15px 45px #0008}.show-card.prev{order:-1;transform:translate(8px)}.show-card.next{transform:translate(-8px)}.show-card h3{margin:7px 0 0;font-size:20px;line-height:1.25}.show-card small{color:var(--theme-ink);font-size:12px}.slide-arrow{z-index:3;background:var(--theme-tint);width:34px;height:34px;color:var(--theme-ink);border-radius:10px;place-items:center;display:grid;position:absolute}.slide-arrow.left{left:0}.slide-arrow.right{right:0}.dots{justify-content:center;gap:10px;margin:11px 0 34px;display:flex}.dots button{background:var(--theme-surface-alt);border-radius:8px;width:21px;height:4px}.dots button.on{background:var(--theme-accent);width:26px}.composer{border:1px solid var(--theme-line);background:var(--theme-surface);border-radius:18px;max-width:880px;margin:0 auto;padding:20px 18px 13px;box-shadow:0 20px 55px #0005}.composer textarea{resize:none;width:100%;height:65px;color:var(--theme-ink);background:0 0;border:0;outline:0;font-size:14px}.composer textarea::placeholder{color:var(--theme-muted)}.composer-bottom{justify-content:space-between;align-items:center;display:flex}.composer-tools{gap:8px;display:flex}.composer-tools>button{border:1px solid var(--theme-line);height:34px;color:var(--theme-muted);border-radius:17px;align-items:center;gap:7px;padding:0 12px;display:flex}.composer-tools>button:first-child{border-radius:50%;justify-content:center;width:34px;padding:0}.type-select{font-size:12px}.send-btn{background:var(--theme-tint);width:38px;height:38px;color:var(--theme-accent);border-radius:50%;place-items:center;display:grid}.mode-tabs{justify-content:center;gap:10px;margin-top:17px;display:flex}.mode-tabs button{border:1px solid var(--theme-line);color:var(--theme-muted);border-radius:17px;align-items:center;gap:7px;padding:8px 16px;font-size:12px;display:flex}.mode-tabs button.selected{color:var(--theme-accent);border-color:var(--theme-accent);background:var(--theme-tint)}.projects{border-top:1px solid var(--theme-line);max-width:880px;margin:0 auto;padding:34px 0 70px}.section-title{justify-content:space-between;align-items:end;margin-bottom:19px;display:flex}.section-title h2{margin:5px 0 0;font-size:22px}.view-all{color:var(--theme-muted);align-items:center;gap:6px;font-size:12px;display:flex}.empty-project{border:1px dashed var(--theme-line);width:100%;min-height:132px;color:var(--theme-ink);background:var(--theme-surface);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex}.empty-project strong{font-size:14px}.empty-project span{color:var(--theme-muted);font-size:12px}.empty-icon{border:1px solid var(--theme-line);width:36px;height:36px;color:var(--theme-accent);border-radius:50%;place-items:center;display:grid}.project-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.project-item{border:1px solid var(--theme-line);background:var(--theme-surface);border-radius:12px;align-items:center;gap:12px;min-height:80px;padding:12px;display:flex}.project-thumb{background:linear-gradient(135deg,var(--theme-surface-alt),var(--theme-tint));width:45px;height:45px;color:var(--theme-accent);border-radius:9px;place-items:center;display:grid}.project-item>div:nth-child(2){flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.project-item strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.project-item small,.project-item>span{color:var(--theme-muted);font-size:11px}.project-item>span{background:var(--theme-surface-alt);color:var(--theme-accent);border-radius:8px;padding:4px 7px}footer{width:calc(100% - 64px);max-width:1180px;color:var(--theme-muted);border-top:1px solid var(--theme-line);margin:auto auto 0;padding:18px 0 22px;font-size:11px}footer i{color:var(--theme-muted);margin:0 10px;font-style:normal}footer a{color:var(--theme-muted)}.footer-right{float:right}.toast{overflow-wrap:anywhere;background:var(--theme-accent);width:max-content;max-width:calc(100vw - 32px);color:var(--theme-on-accent);z-index:10;border-radius:12px;align-items:center;gap:8px;padding:11px 15px;font-size:13px;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 12px 30px #0008}.toast button{color:var(--theme-muted);place-items:center;display:grid}.user-menu{position:relative}.user-chip{color:var(--theme-ink);align-items:center;gap:8px;font-size:13px;display:flex}.user-chip span{background:var(--theme-accent);width:26px;height:26px;color:var(--theme-on-accent);border-radius:50%;place-items:center;font-weight:700;display:grid}.menu-pop{z-index:8;border:1px solid var(--theme-line);background:var(--theme-surface);border-radius:10px;min-width:180px;padding:12px;position:absolute;top:35px;right:0;box-shadow:0 15px 30px #0009}.menu-pop div{color:var(--theme-muted);border-bottom:1px solid var(--theme-line);margin-bottom:8px;padding-bottom:10px;font-size:11px}.menu-pop button{color:var(--theme-accent);font-size:12px}.topbar nav>button{white-space:nowrap;flex-shrink:0}.topbar .credit-pill{font-size:13px}.topbar .guide-btn{display:flex}.topbar .user-chip{text-overflow:ellipsis;max-width:200px;overflow:hidden}.topbar .user-chip span{flex-shrink:0}@media (width<=800px){.topbar{flex-wrap:wrap;gap:16px;height:auto;min-height:76px;padding-top:16px;padding-bottom:16px}.topbar nav{flex-wrap:wrap;justify-content:flex-end;gap:14px;max-width:100%;margin-left:auto}}@media (width<=560px){.topbar nav{flex-basis:100%;gap:12px}.topbar .user-chip{max-width:140px}}.auth-page{background:linear-gradient(var(--theme-tint),var(--theme-tint)),url(https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=2000&q=85) center/cover;justify-content:center;align-items:center;min-height:100vh;padding:30px;display:flex}.auth-top{justify-content:space-between;align-items:center;display:flex;position:fixed;top:23px;left:35px;right:35px}.back-brand{color:var(--theme-accent)}.back-brand .brand-mark{color:var(--theme-accent);font-size:24px}.auth-top .lang-btn{color:var(--theme-ink)}.auth-card{background:var(--theme-tint);border:1px solid var(--theme-line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:18px;width:480px;max-width:100%;padding:38px 40px 30px;box-shadow:0 20px 80px #0009}.auth-heading{text-align:center;margin-bottom:28px}.auth-heading h1{margin:0 0 6px;font-size:28px}.auth-heading p{color:var(--theme-muted);margin:0;font-size:14px}.field{margin:0 0 17px;display:block}.field>span{color:var(--theme-ink);margin-bottom:8px;font-size:13px;font-weight:600;display:block}.field>span:before{content:"* ";color:var(--theme-danger)}.field:nth-of-type(4)>span:before,.field:nth-of-type(5)>span:before{content:""}.input-wrap{background:var(--theme-tint);border:1px solid var(--theme-line);height:44px;color:var(--theme-muted);border-radius:10px;align-items:center;gap:9px;padding:0 12px;display:flex}.input-wrap input{min-width:0;height:100%;color:var(--theme-accent);background:0 0;border:0;outline:0;flex:1;font-size:13px}.input-wrap input::placeholder{color:var(--theme-muted)}.icon-btn{color:var(--theme-muted);place-items:center;display:grid}.code-btn{background:var(--theme-accent);height:34px;color:var(--theme-on-accent);border-radius:8px;padding:0 13px;font-size:12px}.submit-btn{background:var(--theme-accent);width:100%;height:44px;color:var(--theme-on-accent);border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-top:6px;font-size:14px;font-weight:700;display:flex}.form-error{color:var(--theme-danger);background:var(--theme-tint);border:1px solid var(--theme-line);border-radius:8px;margin-bottom:11px;padding:9px 11px;font-size:12px}.switch-auth{text-align:center;color:var(--theme-muted);margin-top:18px;font-size:13px}.switch-auth button{color:var(--theme-accent);margin-left:4px}.auth-page{padding-top:90px;padding-bottom:40px}.auth-top{position:absolute}.auth-account-tabs{background:var(--theme-tint);border:1px solid var(--theme-line);border-radius:11px;gap:6px;margin-bottom:22px;padding:4px;display:flex}.auth-account-tabs button{color:var(--theme-muted);border-radius:8px;flex:1;justify-content:center;align-items:center;gap:7px;padding:11px 5px;font-size:13px;display:flex}.auth-method-tabs{border-bottom:1px solid var(--theme-line);gap:22px;margin-bottom:22px;display:flex}.auth-method-tabs button{color:var(--theme-muted);padding:0 0 11px;font-size:13px;position:relative}.auth-method-tabs button[aria-pressed=true]:after{content:"";background:var(--theme-accent);height:2px;position:absolute;bottom:-1px;left:0;right:0}.auth-card .auth-field>span:before{content:""}.auth-card .auth-field.is-required>span:before{content:"* ";color:var(--theme-danger)}.auth-phone-prefix{color:var(--theme-ink);border-right:1px solid var(--theme-line);flex-shrink:0;padding-right:9px;font-size:13px}.auth-code-hint{color:var(--theme-muted);margin:-7px 0 18px;font-size:12px;line-height:1.6}.auth-card input:disabled{opacity:.55;cursor:not-allowed}.auth-card .code-btn{flex-shrink:0;padding:0 9px}.auth-card button:focus-visible{outline:2px solid var(--theme-accent);outline-offset:3px}@media (width<=560px){.auth-page{padding:85px 16px 30px}.auth-card{padding:28px 22px 24px}.auth-top{left:20px;right:20px}.auth-top .back-brand{font-size:17px}}@media (width<=800px){.topbar{padding:0 20px}.hero{width:calc(100% - 32px)}.hero h1{font-size:35px}.showcase{height:210px}.show-card{display:none}.show-card.active{width:82%;height:200px;display:flex}.slide-arrow.left{left:4%}.slide-arrow.right{right:4%}.projects{width:calc(100% - 32px)}.project-grid{grid-template-columns:1fr}.footer-right{display:none}.auth-card{padding:30px 24px}.auth-top{left:18px;right:18px}.announcement{font-size:12px}}.space-page,.canvas-page,.member-page,.account-page{background:var(--theme-paper);min-height:100vh;color:var(--theme-ink)}.space-top{border-bottom:1px solid var(--theme-line);background:var(--theme-surface);align-items:center;gap:16px;height:74px;padding:0 26px;display:flex}.space-top h1{margin:0;font-size:19px}.space-top>span{color:var(--theme-muted);font-size:12px}.space-back,.canvas-top>button,.member-head button,.account-head button{color:var(--theme-muted);place-items:center;display:grid}.space-search{border:1px solid var(--theme-line);width:230px;height:36px;color:var(--theme-muted);border-radius:8px;align-items:center;gap:8px;margin-left:auto;padding:0 11px;display:flex}.space-search input{width:100%;color:var(--theme-ink);background:0 0;border:0;outline:0;font-size:12px}.credit-pill{color:var(--theme-accent);background:var(--theme-tint);border-radius:18px;align-items:center;gap:5px;padding:8px 12px;display:flex}.guide-btn,.theme-btn{color:var(--theme-muted);align-items:center;gap:6px;font-size:12px;display:flex}.create-btn{background:var(--theme-accent);color:var(--theme-on-accent);border-radius:8px;align-items:center;gap:7px;padding:10px 14px;font-size:12px;font-weight:600;display:flex}.space-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:15px;padding:34px;display:grid}.space-card{border:1px solid var(--theme-line);background:linear-gradient(140deg,var(--theme-surface),var(--theme-surface));cursor:pointer;border-radius:12px;min-height:190px;padding:19px;transition:all .2s;position:relative}.space-card:hover{border-color:var(--theme-accent);transform:translateY(-2px)}.space-card-icon{background:var(--theme-tint);width:43px;height:43px;color:var(--theme-accent);border-radius:10px;place-items:center;display:grid}.space-card-meta{color:var(--theme-accent);gap:8px;margin-top:13px;font-size:11px;display:flex}.space-card-meta small{color:var(--theme-muted)}.space-card-actions{gap:6px;display:flex;position:absolute;top:18px;right:14px}.space-card-actions button{border:1px solid var(--theme-line);width:28px;height:28px;color:var(--theme-muted);border-radius:7px;place-items:center;display:grid}.space-card h3{cursor:pointer;margin:16px 0 8px;font-size:18px}.space-card time,.space-card>small{color:var(--theme-muted);font-size:11px;display:block}.space-empty{text-align:center;color:var(--theme-muted);flex-direction:column;align-items:center;gap:9px;padding:110px 20px;display:flex}.modal-mask{z-index:20;background:#0009;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.create-modal,.share-modal{background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:14px;width:520px;max-width:100%;max-height:90vh;padding:28px;position:relative;overflow:auto;box-shadow:0 25px 90px #000b}.create-modal h2,.share-modal h2{margin:0 0 5px;font-size:20px}.create-modal>p,.share-modal>p{color:var(--theme-muted);margin:0 0 20px;font-size:12px}.modal-close,.share-modal>button:first-child{color:var(--theme-muted);position:absolute;top:17px;right:17px}.modal-label{color:var(--theme-ink);margin:15px 0 8px;font-size:12px;display:block}.type-cards{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.type-cards label input{display:none}.type-cards label span{border:1px solid var(--theme-line);color:var(--theme-ink);border-radius:8px;flex-direction:column;gap:6px;padding:12px 10px;font-size:12px;display:flex}.type-cards label input:checked+span{border-color:var(--theme-accent);background:var(--theme-tint)}.type-cards small{color:var(--theme-muted);font-size:10px;line-height:1.4}.ownership{gap:8px;display:flex}.ownership button{border:1px solid var(--theme-line);color:var(--theme-muted);border-radius:8px;align-items:center;gap:6px;padding:9px 12px;font-size:12px;display:flex}.ownership button.selected{border-color:var(--theme-accent);color:var(--theme-accent)}.create-modal input[name=title],.create-modal textarea{background:var(--theme-surface);border:1px solid var(--theme-line);width:100%;color:var(--theme-accent);border-radius:8px;outline:0;padding:11px;font-size:12px}.create-modal textarea{resize:vertical;height:75px}.modal-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.modal-actions>button:first-child{color:var(--theme-muted);padding:9px 15px}.canvas-top{border-bottom:1px solid var(--theme-line);background:var(--theme-surface);align-items:center;gap:12px;height:58px;padding:0 17px;display:flex}.workspace-pill,.canvas-project{color:var(--theme-ink);align-items:center;gap:5px;font-size:13px;display:flex}.canvas-project{font-weight:600}.canvas-top-right{gap:10px;margin-left:auto;display:flex}.canvas-top-right button{color:var(--theme-muted);border:1px solid var(--theme-line);border-radius:16px;align-items:center;gap:5px;padding:8px 11px;font-size:12px;display:flex}.canvas-title{z-index:2;color:var(--theme-muted);align-items:center;gap:7px;font-size:12px;display:flex;position:absolute;top:76px;left:25px}.canvas-title span{color:var(--theme-accent)}.canvas-title em{border:1px solid var(--theme-line);color:var(--theme-accent);border-radius:5px;padding:3px 6px;font-size:10px;font-style:normal}.canvas-title small{color:var(--theme-accent)}.canvas-title p{color:var(--theme-muted);margin:0 0 0 9px}.canvas-board{background-color:var(--theme-paper);background-image:radial-gradient(var(--theme-surface-alt) 1px,transparent 1px);background-size:22px 22px;position:absolute;inset:58px 0 0;overflow:hidden}.canvas-hint{text-align:center;color:var(--theme-muted);font-size:14px;line-height:2;position:absolute;top:47%;left:50%;transform:translate(-50%,-50%)}.canvas-hint small{font-size:11px}.branch-zone{border:1px dashed var(--theme-line);width:280px;color:var(--theme-accent);background:var(--theme-surface);border-radius:8px;padding:12px;font-size:12px;position:absolute;top:110px;right:16px}.branch-zone span{color:var(--theme-muted);margin-top:8px;font-size:10px;display:block}.canvas-toolbar{background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:10px;gap:5px;padding:7px;display:flex;position:absolute;bottom:18px;left:16px}.canvas-toolbar button,.canvas-bottom button{color:var(--theme-muted);border-radius:7px;align-items:center;gap:6px;padding:8px;font-size:11px;display:flex}.canvas-toolbar button.active,.canvas-toolbar button:hover,.canvas-bottom button:hover{background:var(--theme-surface-alt);color:var(--theme-accent)}.canvas-bottom{background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:10px;gap:3px;padding:6px;display:flex;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.canvas-bottom .add-node{background:var(--theme-surface);color:var(--theme-ink)}.node-menu{background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:10px;width:245px;max-height:520px;padding:10px;position:absolute;bottom:71px;left:16px;overflow:auto;box-shadow:0 20px 50px #000b}.node-search{border:1px solid var(--theme-line);color:var(--theme-muted);border-radius:7px;align-items:center;gap:7px;padding:7px;display:flex}.node-search input{color:var(--theme-accent);background:0 0;border:0;outline:0;width:100%;font-size:12px}.node-menu>small{color:var(--theme-muted);margin:13px 5px 6px;font-size:10px;display:block}.node-menu>button{width:100%;color:var(--theme-ink);text-align:left;border-radius:6px;align-items:center;gap:9px;padding:9px 7px;font-size:12px;display:flex}.node-menu>button:hover{background:var(--theme-surface-alt)}.node-menu em{color:var(--theme-muted);margin-left:auto;font-size:10px;font-style:normal}.asset-panel,.side-panel{background:var(--theme-surface);border:1px solid var(--theme-line);z-index:4;border-radius:10px;width:270px;padding:15px;position:absolute;bottom:72px;right:18px}.asset-panel>div:first-child{color:var(--theme-ink);justify-content:space-between;display:flex}.asset-panel>div:first-child button{color:var(--theme-muted)}.asset-empty{color:var(--theme-muted);text-align:center;flex-direction:column;align-items:center;gap:8px;padding:40px 10px;font-size:12px;display:flex}.asset-empty strong{color:var(--theme-ink)}.asset-empty button{background:var(--theme-accent);color:var(--theme-on-accent);border-radius:7px;align-items:center;gap:6px;padding:8px 13px;font-size:11px;display:flex}.side-panel{color:var(--theme-ink);min-height:120px}.side-panel p{color:var(--theme-muted);font-size:12px}.share-link{background:var(--theme-surface);border:1px solid var(--theme-line);color:var(--theme-muted);border-radius:8px;align-items:center;gap:7px;margin:15px 0;padding:11px;font-size:12px;display:flex}.share-link button{color:var(--theme-accent);align-items:center;gap:5px;margin-left:auto;display:flex}.member-page{background:radial-gradient(600px 300px at 50% 0,var(--theme-tint),var(--theme-paper) 70%);padding-bottom:60px}.member-head,.account-head{border-bottom:1px solid var(--theme-line);justify-content:space-between;align-items:center;height:70px;padding:0 35px;display:flex}.member-head h1,.account-head h1{font-size:20px}.member-head button,.account-head button{align-items:center;gap:6px;font-size:12px;display:flex}.member-banner{border:1px solid var(--theme-line);background:linear-gradient(90deg,var(--theme-tint),var(--theme-surface-alt));border-radius:12px;align-items:center;gap:14px;max-width:1100px;margin:28px auto 18px;padding:19px 24px;display:flex}.member-banner>div{flex-direction:column;flex:1;gap:5px;display:flex}.member-banner strong{color:var(--theme-accent)}.member-banner span{color:var(--theme-ink);font-size:12px}.member-banner>button{background:var(--theme-accent);color:var(--theme-on-accent);border-radius:8px;padding:8px 15px;font-size:12px}.plan-tabs{border-bottom:1px solid var(--theme-line);gap:22px;max-width:1100px;margin:0 auto 18px;display:flex}.plan-tabs button{color:var(--theme-muted);padding:12px 3px}.plan-tabs button.active{color:var(--theme-accent);border-bottom:2px solid var(--theme-accent)}.plans{grid-template-columns:repeat(5,1fr);gap:12px;max-width:1100px;margin:auto;display:grid}.plan-card{border:1px solid var(--theme-line);background:var(--theme-surface);border-radius:10px;padding:18px 15px}.plan-badge{color:var(--theme-accent);font-size:10px}.plan-card h2{margin:14px 0;font-size:17px}.plan-price{color:var(--theme-accent)}.plan-price b{margin-left:2px;font-size:30px}.plan-price small{color:var(--theme-muted);font-size:11px}.plan-card>strong{color:var(--theme-accent);margin:12px 0;font-size:13px;display:block}.plan-card p{height:28px;color:var(--theme-muted);font-size:10px}.plan-card>button{background:var(--theme-accent);width:100%;color:var(--theme-on-accent);border-radius:7px;padding:9px;font-size:12px}.plan-card ul{color:var(--theme-muted);padding-left:16px;font-size:11px;line-height:2}.compare-title{max-width:1100px;margin:42px auto 14px;font-size:18px}.compare{border-collapse:collapse;width:calc(100% - 40px);max-width:1100px;color:var(--theme-ink);margin:auto;font-size:11px}.compare th,.compare td{border:1px solid var(--theme-line);text-align:center;padding:12px}.compare th{color:var(--theme-accent);background:var(--theme-surface)}.compare td:first-child{text-align:left;color:var(--theme-ink)}.faq{grid-template-columns:1fr 1fr;gap:8px;max-width:1100px;margin:auto;display:grid}.faq button{border:1px solid var(--theme-line);color:var(--theme-muted);text-align:left;border-radius:8px;justify-content:space-between;padding:14px;display:flex}.account-page{background:radial-gradient(500px 300px at 50% 0,var(--theme-tint),var(--theme-paper) 65%);padding-bottom:50px}.profile-card,.balance-card,.account-list{border:1px solid var(--theme-line);background:var(--theme-surface);text-align:center;border-radius:12px;width:600px;max-width:calc(100% - 36px);margin:25px auto 0;padding:26px}.avatar{background:var(--theme-accent);width:62px;height:62px;color:var(--theme-on-accent);border-radius:50%;place-items:center;margin:auto;font-size:25px;font-weight:700;display:grid}.profile-card h2{margin:12px 0 5px}.profile-card p{color:var(--theme-muted);font-size:12px}.profile-card button,.balance-card button{border:1px solid var(--theme-line);color:var(--theme-accent);border-radius:7px;margin-top:12px;padding:8px 14px;font-size:12px}.balance-card{text-align:left;align-items:center;gap:10px;display:flex}.balance-card strong{font-size:27px}.balance-card span{color:var(--theme-muted);font-size:12px}.balance-card button{margin:0 0 0 auto}.account-list{text-align:left;padding:0;overflow:hidden}.account-list button{width:100%;color:var(--theme-ink);border-bottom:1px solid var(--theme-line);align-items:center;gap:10px;padding:15px 18px;font-size:13px;display:flex}.account-list button svg:last-child{color:var(--theme-muted);margin-left:auto}.account-list button.danger{color:var(--theme-danger);border-bottom:0}@media (width<=900px){.space-top{gap:9px;padding:0 14px}.space-search{width:150px}.guide-btn,.theme-btn{display:none}.plans{grid-template-columns:1fr 1fr;padding:0 18px}.member-banner{margin:18px}.compare{font-size:10px}.canvas-title{left:12px}.branch-zone{display:none}}@media (width<=600px){.space-top h1,.space-top>span{display:none}.space-search{margin-left:auto}.plans,.type-cards,.faq{grid-template-columns:1fr}.member-head,.account-head{padding:0 18px}.canvas-top-right button:nth-child(2){display:none}}.drama-editor{background:var(--theme-paper);min-height:100vh;color:var(--theme-ink);grid-template-rows:54px 1fr;grid-template-columns:210px minmax(540px,1fr) 350px;display:grid;overflow:hidden}.editor-top{background:var(--theme-surface);border-bottom:1px solid var(--theme-line);grid-column:1/4;align-items:center;gap:12px;padding:0 22px;display:flex}.editor-top>button,.editor-top>select{border:1px solid var(--theme-line);background:var(--theme-surface-alt);height:34px;color:var(--theme-ink);border-radius:8px;align-items:center;gap:7px;padding:0 12px;font-size:12px;display:flex}.editor-top h1{margin:0 4px;font-size:17px}.editor-top .style-select{margin-left:8px}.editor-top select{outline:0}.editor-top .editor-credit{color:var(--theme-accent);border-color:var(--theme-line);background:var(--theme-surface);margin-left:auto}.editor-sidebar{border-right:1px solid var(--theme-line);background:var(--theme-surface);padding:10px 8px;position:relative}.editor-sidebar>button{width:100%;color:var(--theme-muted);text-align:left;border-radius:8px;align-items:center;gap:12px;padding:14px 15px;font-size:13px;display:flex}.editor-sidebar>button.active{background:var(--theme-surface-alt);color:var(--theme-accent)}.editor-sidebar b{background:var(--theme-tint);color:var(--theme-blue);border-radius:10px;margin-left:auto;padding:2px 6px;font-size:10px}.episode-tip{background:var(--theme-surface-alt);border:1px solid var(--theme-line);color:var(--theme-ink);border-radius:8px;padding:11px 8px;font-size:10px;position:absolute;bottom:68px;left:10px;right:10px}.script-list{border:1px solid var(--theme-line);bottom:10px;position:absolute!important}.editor-main{background:var(--theme-paper);padding:14px 20px;overflow:auto}.script-panel,.shot-panel,.video-panel,.final-panel{border:1px solid var(--theme-line);background:var(--theme-surface);border-radius:12px;margin-bottom:15px;padding:15px}.script-panel h2,.shot-panel h2,.video-panel h2,.final-panel h2{margin:0;font-size:16px}.script-panel h2 small{color:var(--theme-muted);font-size:12px}.script-panel>textarea{background:var(--theme-surface);border:1px solid var(--theme-line);width:100%;height:285px;color:var(--theme-ink);resize:vertical;border-radius:8px;outline:0;margin-top:12px;padding:12px;font-size:13px}.script-actions{justify-content:flex-end;gap:8px;margin-top:11px;display:flex}.script-actions button,.panel-title button,.shot-bottom button,.upload-final{border:1px solid var(--theme-line);background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:7px;align-items:center;gap:6px;padding:8px 11px;font-size:11px;display:flex}.script-actions .save-btn{background:var(--theme-surface);color:var(--theme-ink)}.panel-title{flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:12px;display:flex}.panel-title h2{margin-right:auto}.panel-title select{background:var(--theme-surface-alt);border:1px solid var(--theme-line);color:var(--theme-ink);border-radius:7px;padding:8px 17px 8px 10px;font-size:11px}.panel-title label{color:var(--theme-muted);align-items:center;gap:5px;font-size:11px;display:flex}.panel-title input{accent-color:#66cdb9}.panel-title>span{color:var(--theme-muted);font-size:10px}.shot-card{border-top:1px solid var(--theme-line);grid-template-columns:92px 1fr 180px 75px;align-items:center;gap:10px;padding:13px 10px;display:grid;position:relative}.shot-index{background:var(--theme-accent);color:var(--theme-on-accent);text-align:center;border-radius:6px;align-self:start;width:36px;padding:7px;font-size:12px;font-weight:700}.shot-frames{gap:6px;display:flex}.frame-box{border:1px dashed var(--theme-line);width:62px;height:58px;color:var(--theme-muted);border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex}.frame-box img{object-fit:cover;border-radius:5px;width:100%;height:100%}.frame-box small{font-size:9px}.shot-card>textarea{background:var(--theme-surface);border:1px solid var(--theme-line);height:75px;color:var(--theme-ink);resize:vertical;border-radius:7px;outline:0;padding:8px;font-size:11px}.shot-delete{color:var(--theme-danger);align-self:start;align-items:center;gap:4px;font-size:10px;display:flex}.shot-bottom{color:var(--theme-muted);grid-column:2/5;justify-content:flex-end;align-items:center;gap:7px;font-size:10px;display:flex}.shot-bottom span{align-items:center;gap:4px;margin-right:auto;display:flex}.shot-bottom select{background:var(--theme-surface-alt);color:var(--theme-ink);border:1px solid var(--theme-line);border-radius:6px;padding:6px;font-size:10px}.video-grid{grid-template-columns:repeat(5,1fr);gap:8px;display:grid}.video-grid article{min-width:0}.video-preview{background:var(--theme-surface-alt);border:1px solid var(--theme-line);height:110px;color:var(--theme-muted);border-radius:7px;place-items:center;display:grid}.generated-mark{color:var(--theme-accent);flex-direction:column;align-items:center;gap:4px;font-size:10px;display:flex}.video-grid h4{color:var(--theme-ink);margin:7px 0;font-size:11px}.video-grid h4 small{color:var(--theme-muted);font-weight:400}.video-grid button{border:1px solid var(--theme-line);background:var(--theme-surface-alt);width:100%;color:var(--theme-accent);border-radius:6px;justify-content:center;align-items:center;gap:4px;padding:6px;font-size:10px;display:flex}.final-preview{background:var(--theme-surface);height:160px;color:var(--theme-muted);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.final-preview span{font-size:11px}.final-panel>h2{margin-top:20px}.final-panel>p{color:var(--theme-muted);font-size:11px}.editor-agent{border-left:1px solid var(--theme-line);background:var(--theme-paper);flex-direction:column;display:flex}.agent-head{border-bottom:1px solid var(--theme-line);align-items:center;gap:9px;height:46px;padding:0 14px;font-size:12px;display:flex}.agent-head span{color:var(--theme-blue);background:var(--theme-tint);border-radius:8px;margin-left:auto;padding:2px 6px;font-size:10px}.agent-head button{color:var(--theme-ink);font-size:20px}.agent-body{text-align:center;color:var(--theme-muted);flex:1;padding:78px 18px 18px;overflow:auto}.agent-body strong{color:var(--theme-ink);margin-top:8px;font-size:14px;display:block}.agent-body>p{font-size:11px;line-height:1.6}.agent-body>button{border:1px solid var(--theme-line);width:100%;color:var(--theme-ink);text-align:left;background:var(--theme-surface);border-radius:8px;margin:7px 0;padding:9px;font-size:11px;display:block}.chat-msg{text-align:left;background:var(--theme-surface);border-radius:8px;margin-top:12px;padding:9px;font-size:11px}.chat-msg b,.chat-msg span{display:block}.chat-msg span{color:var(--theme-muted);margin-top:5px}.agent-input{margin:0 10px 10px;position:relative}.agent-input textarea{background:var(--theme-surface);border:1px solid var(--theme-line);width:100%;height:118px;color:var(--theme-ink);resize:none;border-radius:10px;outline:0;padding:11px;font-size:11px}.agent-input button{background:var(--theme-surface-alt);width:28px;height:28px;color:var(--theme-muted);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:8px;right:8px}.drama-editor .share-modal{width:380px}@media (width<=1000px){.drama-editor{grid-template-columns:175px minmax(450px,1fr)}.editor-agent{display:none}.editor-top{grid-column:1/3}.editor-top>button:nth-of-type(n+6){display:none}.video-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=650px){.drama-editor{display:block;overflow:auto}.editor-top{z-index:5;white-space:nowrap;position:sticky;top:0;overflow:auto}.editor-sidebar{border-right:0;border-bottom:1px solid var(--theme-line);display:flex;overflow:auto}.editor-sidebar>button{min-width:115px}.episode-tip,.script-list{display:none!important}.editor-main{padding:10px}.shot-card{grid-template-columns:45px 1fr}.shot-card>textarea{grid-column:1/3}.shot-delete{position:absolute;top:12px;right:8px}.shot-bottom{flex-wrap:wrap;grid-column:1/3}.video-grid{grid-template-columns:repeat(2,1fr)}}.drama-editor{grid-template-columns:210px minmax(540px,1fr) 360px}.script-panel>textarea{height:330px}.script-actions .save-btn{justify-content:center;min-width:64px}.script-actions button:nth-child(2){min-width:139px}.shot-card{grid-template-columns:2px 110px 1fr}.shot-card>.shot-frames{grid-column:2}.shot-card>textarea{grid-column:3}.shot-bottom{grid-column:2/4}.shot-delete{position:absolute;top:13px;right:10px}.shot-index{position:absolute;top:13px;left:10px}.frame-box{width:50px;height:72px}.shot-frames{width:110px;height:108px;position:relative;display:block!important}.shot-frames .frame-box{background:var(--theme-surface-alt);border:1px solid var(--theme-line);z-index:1;width:78px;height:100px;display:flex;position:absolute;overflow:hidden}.shot-frames .frame-box:first-child{top:1px;left:0;transform:rotate(-9deg)}.shot-frames .frame-box:nth-child(2){z-index:0;top:3px;left:29px;transform:rotate(7deg)}.shot-frames .frame-box img{object-fit:cover;width:100%;height:100%}.shot-frames .frame-box small{text-align:center;color:#dce7e3;text-shadow:0 1px 3px #000;font-size:9px;position:absolute;bottom:2px;left:0;right:0}.shot-frames:after{content:"+";border:1px dashed var(--theme-line);background:var(--theme-surface);width:28px;height:28px;color:var(--theme-muted);z-index:3;border-radius:6px;place-items:center;font-size:18px;display:grid;position:absolute;bottom:-2px;right:-8px}.shot-card>textarea{align-self:center;min-height:74px}.shot-panel .panel-title{grid-template-columns:28px 200px 110px 1fr;gap:10px 16px;display:grid}.shot-panel .panel-title h2{grid-area:1/1/3;align-self:center;margin:0}.shot-panel .panel-title select:first-of-type{grid-area:1/2}.shot-panel .panel-title select:nth-of-type(2){grid-area:1/3}.shot-panel .panel-title label{grid-area:1/4}.shot-panel .panel-title>button:first-of-type{grid-area:2/2;justify-self:start}.shot-panel .panel-title>button:nth-of-type(2){grid-area:2/2;justify-self:start;margin-left:155px}@media (width<=650px){.drama-editor{display:block}.shot-card{grid-template-columns:45px 1fr}.shot-card>.shot-frames{grid-column:2}.shot-card>textarea,.shot-bottom{grid-column:1/3}.shot-index{position:static}.frame-box{width:62px}}.interactive-editor .shot-card{grid-template-rows:auto auto;grid-template-columns:116px minmax(0,1fr);gap:10px 16px;min-height:158px;padding:14px 10px 12px}.interactive-editor .shot-index{z-index:2;grid-area:1/1;align-self:start;width:42px;margin:0 0 8px;position:static}.interactive-editor .shot-frames{grid-area:1/1/span 2;align-self:end;margin-top:34px}.interactive-editor .shot-card>textarea{grid-area:1/2;align-self:stretch;width:calc(100% - 4px);min-height:78px}.interactive-editor .shot-reference-input{grid-area:1/2;align-self:stretch;min-width:0;margin-left:20px;position:relative}.interactive-editor .shot-reference-editor{box-sizing:border-box;border:1px solid var(--theme-line);background:var(--theme-surface-alt);width:calc(100% - 4px);min-height:78px;color:var(--theme-ink);white-space:pre-wrap;border-radius:7px;outline:0;padding:10px;font-size:12px;line-height:1.65;overflow:visible}.interactive-editor .shot-reference-editor:focus{border-color:var(--theme-accent)}.interactive-editor .shot-reference-editor:empty:before{content:attr(data-placeholder);color:var(--theme-muted);pointer-events:none}.shot-reference-token{color:var(--theme-accent);vertical-align:baseline;-webkit-user-select:all;user-select:all;cursor:pointer;background:#52cd9d2e;border-radius:4px;align-items:center;gap:4px;margin:0 2px;padding:1px 7px;line-height:1.5;display:inline-flex;position:relative}.shot-reference-token.is-missing{color:var(--theme-danger);background:#e164642e}.shot-reference-token>img{object-fit:cover;border-radius:50%;width:15px;height:15px}.shot-reference-token.is-image>img{border-radius:2px}.shot-reference-preview{z-index:40;border:1px solid var(--theme-line);background:var(--theme-surface-alt);opacity:0;pointer-events:none;border-radius:6px;width:220px;padding:4px;transition:opacity .15s,transform .15s;display:block;position:absolute;bottom:calc(100% + 8px);left:0;transform:translateY(4px);box-shadow:0 14px 30px #000b}.shot-reference-preview img{object-fit:contain;background:var(--theme-paper);border-radius:3px;width:100%;max-height:270px;display:block}.shot-reference-token:hover .shot-reference-preview,.shot-reference-token:focus-within .shot-reference-preview{opacity:1;transform:translateY(0)}.shot-reference-menu{z-index:30;border:1px solid var(--theme-line);background:var(--theme-surface-alt);border-radius:7px;width:min(370px,100% - 8px);position:absolute;overflow:hidden;box-shadow:0 12px 28px #0009}.shot-reference-option{border:0;border-bottom:1px solid var(--theme-line);width:100%;min-height:44px;color:var(--theme-ink);text-align:left;background:0 0;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 10px;display:grid}.shot-reference-option:last-child{border-bottom:0}.shot-reference-option:hover{background:var(--theme-surface-alt)}.shot-reference-option img,.shot-reference-option-icon{object-fit:cover;border-radius:4px;width:28px;height:28px}.shot-reference-option-icon{background:var(--theme-surface);color:var(--theme-accent);place-items:center;display:grid}.shot-reference-option>span{min-width:0}.shot-reference-option b,.shot-reference-option small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.shot-reference-option b{font-size:12px}.shot-reference-option small{color:var(--theme-muted);margin-top:2px;font-size:10px}.shot-reference-option em{color:var(--theme-accent);font-size:10px;font-style:normal}.shot-reference-empty{color:var(--theme-muted);padding:14px;font-size:12px}.interactive-editor .shot-delete{z-index:4;position:absolute;top:13px;right:10px}.interactive-editor .shot-bottom{grid-area:2/2;justify-content:flex-end;min-height:34px}.interactive-editor .shot-bottom span{margin-right:auto}.interactive-editor .shot-panel .panel-title{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.interactive-editor .shot-panel .panel-title h2{white-space:nowrap;margin-right:12px}.interactive-editor .shot-panel .panel-title>button{white-space:nowrap}.interactive-editor .frame-box{z-index:1}.interactive-editor .frame-box:first-child{z-index:2}.interactive-editor .frame-box:focus-visible{outline:2px solid var(--theme-accent);outline-offset:2px}.interactive-editor .frame-preview{text-align:center;color:var(--theme-accent);text-shadow:0 1px 4px #000;font-size:9px;position:absolute;inset:auto 0 15px}.style-grid button{position:relative}.style-grid button small{color:var(--theme-muted);padding:0 8px 8px;font-size:10px;display:block}.episode-drawer{flex-direction:column;gap:9px;display:flex}.episode-row{text-align:left;border:1px solid var(--theme-line);background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:7px;grid-template-columns:1fr auto;gap:4px;padding:14px;display:grid}.episode-row span{font-size:13px}.episode-row small{color:var(--theme-muted);grid-column:1;font-size:11px}.episode-row svg{color:var(--theme-accent);grid-area:1/2/span 2;align-self:center}.episode-row.active{border-color:var(--theme-accent);background:var(--theme-surface-alt)}.studio-active{border-color:var(--theme-accent)!important;background:var(--theme-tint)!important;color:var(--theme-accent)!important}.studio-mode .editor-sidebar{display:none}.studio-mode{grid-template-columns:minmax(540px,1fr) 360px}.studio-mode .editor-top{grid-column:1/3}.studio-panel{border:1px solid var(--theme-line);background:var(--theme-surface);border-radius:12px;min-height:calc(100vh - 82px);padding:20px}.studio-heading{justify-content:space-between;align-items:center;display:flex}.studio-heading h2{margin:0;font-size:17px}.studio-episode-tabs{gap:8px;margin:18px 0;display:flex}.studio-episode-tabs button{border:1px solid var(--theme-line);color:var(--theme-muted);border-radius:7px;padding:8px 14px;font-size:12px}.studio-episode-tabs button.active{background:var(--theme-tint);border-color:var(--theme-accent);color:var(--theme-accent)}.studio-panel>textarea{resize:vertical;border:1px solid var(--theme-line);background:var(--theme-surface);width:100%;min-height:520px;color:var(--theme-ink);border-radius:8px;outline:0;padding:14px}.studio-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.studio-actions button{border:1px solid var(--theme-line);background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:7px;align-items:center;gap:6px;padding:9px 13px;font-size:12px;display:flex}.studio-actions .save-btn{background:var(--theme-surface);color:var(--theme-ink)}.model-settings{padding:12px 4px}.model-settings h3{margin:0;font-size:18px}.model-settings>p{color:var(--theme-muted);margin:8px 0 18px;font-size:12px}.model-settings label{border-top:1px solid var(--theme-line);color:var(--theme-ink);justify-content:space-between;align-items:center;gap:14px;padding:14px 0;font-size:13px;display:flex}.model-settings label span{align-items:center;gap:8px;display:flex}.model-settings select{background:var(--theme-surface-alt);border:1px solid var(--theme-line);min-width:190px;color:var(--theme-ink);border-radius:6px;padding:8px}.model-actions{justify-content:flex-end;gap:9px;margin-top:20px;display:flex}.model-actions>button{border:1px solid var(--theme-line);color:var(--theme-ink);border-radius:7px;padding:9px 18px}.model-actions .submit-btn{border:0;width:auto;height:auto;margin:0}.asset-tabs button:focus-visible,.model-settings select:focus-visible{outline:2px solid var(--theme-accent)}@media (width<=650px){.interactive-editor .shot-card{grid-template-columns:110px minmax(0,1fr)}.interactive-editor .shot-frames{grid-column:1}.interactive-editor .shot-card>textarea{grid-area:1/2}.interactive-editor .shot-bottom{grid-area:2/2}.interactive-editor .shot-delete{right:8px}}.asset-library-modal{z-index:34;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:14px;width:min(896px,100vw - 32px);height:min(610px,100vh - 80px);position:fixed;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 24px 80px #000b}.asset-library-head{border-bottom:1px solid var(--theme-line);background:var(--theme-surface-alt);justify-content:space-between;align-items:center;height:58px;padding:0 18px;display:flex}.asset-library-head h2{align-items:center;gap:8px;margin:0;font-size:16px;display:flex}.asset-library-head>div{align-items:center;gap:8px;display:flex}.asset-library-head button{border:1px solid var(--theme-line);background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:7px;align-items:center;gap:5px;padding:8px 11px;font-size:12px;display:flex}.asset-library-head button:nth-child(2){background:var(--theme-surface-alt)}.asset-library-head .asset-close{background:0 0;border-color:#0000;padding:7px}.asset-library-body{place-items:start;height:calc(100% - 58px);display:grid}.asset-library-body .asset-empty{width:100%;height:100%;color:var(--theme-muted);justify-content:center;gap:14px}.asset-library-body .asset-empty strong{color:var(--theme-ink);font-size:14px}.asset-library-body .asset-empty .submit-btn{width:auto;height:auto;margin:0;padding:8px 16px}.asset-empty textarea{background:var(--theme-surface);border:1px solid var(--theme-line);width:min(440px,80%);height:90px;color:var(--theme-ink);resize:vertical;border-radius:8px;padding:10px}.asset-create-mask,.style-edit-mask{z-index:2;background:#0009;place-items:center;display:grid;position:absolute;inset:0}.asset-create-dialog{background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:10px;width:min(430px,100% - 40px);padding:22px;position:relative;box-shadow:0 20px 60px #000b}.asset-create-dialog>button{color:var(--theme-muted);position:absolute;top:12px;right:12px}.asset-create-dialog h3{margin:0 0 16px}.asset-create-dialog label{color:var(--theme-ink);margin:12px 0;font-size:12px;display:block}.asset-create-dialog input,.asset-create-dialog textarea{background:var(--theme-surface);border:1px solid var(--theme-line);width:100%;color:var(--theme-ink);border-radius:7px;outline:0;margin-top:7px;padding:10px;display:block}.asset-create-dialog textarea{resize:vertical;height:90px}.asset-create-dialog>div:last-child{justify-content:flex-end;gap:8px;margin-top:15px;display:flex}.asset-create-dialog>div:last-child button{border:1px solid var(--theme-line);color:var(--theme-ink);border-radius:7px;padding:8px 14px}.asset-create-dialog>div:last-child .submit-btn{background:var(--theme-accent);width:auto;height:auto;color:var(--theme-on-accent);margin:0}.style-edit-mask{z-index:40;position:fixed}.style-edit-dialog{background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:10px;width:min(600px,100% - 32px);padding:22px;position:relative;box-shadow:0 20px 70px #000c}.style-edit-close{color:var(--theme-muted);position:absolute;top:12px;right:14px}.style-edit-dialog h3{margin:0 0 16px}.style-edit-columns{grid-template-columns:200px 1fr;gap:20px;display:grid}.style-edit-columns>div:first-child span{color:var(--theme-muted);margin-bottom:8px;font-size:12px;display:block}.style-edit-columns>div:first-child img{object-fit:cover;border-radius:8px;width:100%;height:250px}.style-edit-columns label{color:var(--theme-ink);margin-bottom:14px;font-size:12px;display:block}.style-edit-columns input,.style-edit-columns textarea{background:var(--theme-surface-alt);border:1px solid var(--theme-line);width:100%;color:var(--theme-ink);border-radius:7px;margin-top:7px;padding:10px;display:block}.style-edit-columns textarea{resize:none;height:190px}.style-edit-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.style-edit-actions button{border:1px solid var(--theme-line);color:var(--theme-ink);border-radius:7px;padding:8px 16px}.style-edit-actions .submit-btn{background:var(--theme-accent);width:auto;height:auto;color:var(--theme-on-accent);margin:0}.interactive-editor .editor-anchor{scroll-margin-top:12px}.interactive-editor .shot-index{text-align:center;border:0}.interactive-editor .frame-box{cursor:pointer;padding:0}.interactive-editor .frame-box small{justify-content:center;align-items:center;gap:3px;display:flex}.interactive-editor .generated-mark button{border:1px solid var(--theme-line);color:var(--theme-accent);background:var(--theme-surface-alt);border-radius:5px;align-items:center;gap:4px;padding:4px 7px;font-size:10px;display:flex}.drawer-mask{z-index:30;background:#0009;position:fixed;inset:0}.library-drawer{background:var(--theme-surface-alt);border-right:1px solid var(--theme-line);width:560px;max-width:90vw;padding:16px;position:absolute;top:0;bottom:0;left:0;overflow:auto;box-shadow:14px 0 40px #0008}.asset-drawer{background:var(--theme-surface);width:520px}.drawer-head{border-bottom:1px solid var(--theme-line);justify-content:space-between;align-items:center;height:38px;margin-bottom:16px;display:flex}.drawer-head h2{margin:0;font-size:17px}.drawer-head>div{gap:7px;display:flex}.drawer-head button{color:var(--theme-ink);border-radius:7px;align-items:center;gap:5px;padding:7px 10px;display:flex}.drawer-head button:first-child{background:var(--theme-surface-alt)}.style-grid,.asset-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.style-grid button,.asset-grid button{border:1px solid var(--theme-line);background:var(--theme-surface-alt);color:var(--theme-ink);text-align:left;border-radius:8px;padding:0;overflow:hidden}.style-grid img,.asset-grid img{object-fit:cover;width:100%;height:150px;display:block}.style-grid span,.asset-grid span{padding:8px;font-size:11px;display:block}.asset-tabs{gap:8px;margin-bottom:16px;display:flex}.asset-tabs button{color:var(--theme-muted);border-radius:7px;padding:8px 12px;font-size:12px}.asset-tabs button.active{background:var(--theme-surface-alt);color:var(--theme-accent)}.drawer-message{text-align:center;color:var(--theme-muted);flex-direction:column;align-items:center;gap:10px;padding:100px 30px;display:flex}.drawer-message strong{color:var(--theme-ink)}.drawer-message .submit-btn{width:auto;padding:9px 20px}.detail-frames{gap:14px;display:flex}.detail-frames button{border:1px dashed var(--theme-line);background:var(--theme-surface-alt);width:150px;height:180px;color:var(--theme-muted);border-radius:8px;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.detail-frames img{object-fit:cover;width:100%;height:100%}.detail-frames span{text-align:center;color:var(--theme-ink);text-shadow:0 1px 4px #000;font-size:11px;position:absolute;bottom:7px;left:0;right:0}.editor-toast{overflow-wrap:anywhere;z-index:50;background:var(--theme-accent);width:max-content;max-width:calc(100vw - 32px);color:var(--theme-on-accent);border-radius:8px;align-items:center;gap:8px;padding:11px 14px;font-size:12px;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 10px 30px #0008}.editor-toast button{color:var(--theme-ink);place-items:center;display:grid}.interactive-editor .shot-card{transition:border-color .2s,box-shadow .2s}.interactive-editor .shot-frames{isolation:isolate;height:112px;overflow:visible}.interactive-editor .shot-frames .frame-box{transform:rotate(calc((var(--frame-index,0) * 7deg) - 7deg));transition:transform .24s,left .24s,top .24s,box-shadow .24s,border-color .24s}.interactive-editor .shot-frames .frame-box:nth-child(2){transform:rotate(7deg)}.interactive-editor .shot-frames .frame-box:nth-child(n+3){opacity:0;pointer-events:none;transform:translateY(7px)rotate(0)}.interactive-editor .shot-frames.is-expanded{z-index:7;width:calc(110px + min(190px,44vw))}.interactive-editor .shot-frames.is-expanded .frame-box{z-index:calc(10 - var(--frame-index,0));border-color:var(--theme-accent);box-shadow:0 7px 18px #0008;left:calc(var(--frame-index,0) * 84px)!important;top:3px!important;transform:rotate(0)!important}.interactive-editor .shot-frames.is-expanded .frame-box:nth-child(n+3){opacity:1;pointer-events:auto}.interactive-editor .frame-box.has-image{border-style:solid}.interactive-editor .frame-hover-action{background:var(--theme-tint);color:var(--theme-accent);opacity:0;justify-content:center;align-items:center;gap:4px;font-size:10px;transition:opacity .18s;display:flex;position:absolute;inset:0}.interactive-editor .frame-box.has-image:hover .frame-hover-action,.interactive-editor .frame-box.has-image:focus-visible .frame-hover-action{opacity:1}.interactive-editor .frame-add{border:1px dashed var(--theme-line);background:var(--theme-surface);width:31px;height:31px;color:var(--theme-ink);z-index:12;border-radius:6px;place-items:center;transition:background .18s,border-color .18s;display:grid;position:absolute;top:79px;left:78px}.interactive-editor .frame-add:hover{background:var(--theme-surface-alt);border-color:var(--theme-accent);color:var(--theme-accent)}.image-preview-mask{z-index:80;background:#000c;place-items:center;padding:32px;display:grid;position:fixed;inset:0}.image-preview-dialog{border:1px solid var(--theme-line);background:#171b1d;border-radius:10px;max-width:min(760px,92vw);max-height:88vh;padding:8px;position:relative;box-shadow:0 24px 90px #000}.image-preview-dialog img{object-fit:contain;border-radius:5px;max-width:100%;max-height:calc(88vh - 16px);display:block}.image-preview-close{border:1px solid var(--theme-line);width:30px;height:30px;color:var(--theme-accent);z-index:2;background:#202a2a;border-radius:50%;place-items:center;display:grid;position:absolute;top:-13px;right:-13px}.image-preview-close:hover{background:#315753}@media (width<=650px){.interactive-editor .shot-frames.is-expanded{width:calc(110px + min(150px,40vw));padding-bottom:4px;overflow-x:auto}.interactive-editor .shot-frames.is-expanded .frame-box{left:calc(var(--frame-index,0) * 72px)!important}.interactive-editor .shot-frames .frame-box{width:62px;height:94px}.interactive-editor .frame-add{top:70px}}.interactive-editor .shot-frames:after{display:none}.interactive-editor .shot-frames.is-expanded .frame-add{top:3px;left:168px}.interactive-editor .frame-add{top:36px;left:110px}.interactive-editor .shot-frames.is-expanded{width:calc(var(--frame-count,2) * 84px + 45px)}.interactive-editor .shot-frames.is-expanded .frame-add{left:calc(var(--frame-count,2) * 84px);top:36px}.hero{width:calc(100% - 80px);max-width:1200px;padding-top:9px}.hbc{margin-bottom:64px}.hbc-stage{perspective:1400px;height:234px;position:relative;overflow:hidden}.hbc-track{width:100%;height:100%;transform-style:preserve-3d;position:relative}.hbc-slide{border:1px solid var(--theme-line);background:var(--theme-surface);width:min(34.75vw,417px);height:234px;transform-style:preserve-3d;cursor:pointer;border-radius:16px;padding:0;transition:transform .6s cubic-bezier(.25,.8,.35,1),opacity .6s cubic-bezier(.25,.8,.35,1);position:absolute;top:0;left:50%;overflow:hidden}.hbc-media{object-fit:cover;width:100%;height:100%;display:block}.hbc-text{color:var(--theme-ink);text-align:center;background:linear-gradient(#0000 35%,#00000080 68%,#000000c7);flex-direction:column;justify-content:flex-end;align-items:center;padding:24px 18px;display:flex;position:absolute;inset:0}.hbc-text strong{font-size:23px;line-height:1.25}.hbc-text small{margin-top:9px;font-size:12px;line-height:1.3}.hbc-position-0{z-index:10;opacity:1;transform:translate(-50%)}.hbc-position-1{z-index:9;opacity:1;transform:translate(calc(388px - 50%))rotateY(-20deg)scale(.9)}.hbc-position--1{z-index:9;opacity:1;transform:translate(calc(-50% - 388px))rotateY(20deg)scale(.9)}.hbc-position-2{z-index:8;opacity:0;pointer-events:none;transform:translate(calc(786px - 50%))rotateY(-40deg)scale(.77)}.hbc-position--2{z-index:8;opacity:0;pointer-events:none;transform:translate(calc(-50% - 786px))rotateY(40deg)scale(.77)}.hbc-arrow{z-index:30;background:var(--theme-tint);width:32px;height:32px;color:var(--theme-ink);border-radius:7px;place-items:center;transition:background .2s,color .2s;display:grid;position:absolute;top:101px}.hbc-arrow:hover{background:var(--theme-surface-alt)}.hbc-arrow-prev{left:0}.hbc-arrow-next{right:0}.hbc-dots{justify-content:center;align-items:flex-end;gap:12px;height:16px;display:flex}.hbc-dot{background:var(--theme-surface-alt);border-radius:3px;width:12px;height:4px;padding:0;transition:width .3s cubic-bezier(.4,0,.2,1),background .3s}.hbc-dot.is-active{background:var(--theme-surface-alt);width:24px}@media (width<=800px){.hero{width:calc(100% - 32px);padding-top:9px}.hbc{margin-bottom:40px}.hbc-stage{height:200px}.hbc-slide{width:82%;height:200px}.hbc-position-1{transform:translate(calc(78vw - 50%))rotateY(-20deg)scale(.94)}.hbc-position--1{transform:translate(calc(-50% - 78vw))rotateY(20deg)scale(.94)}.hbc-position-2{transform:translate(calc(150vw - 50%))rotateY(-40deg)scale(.77)}.hbc-position--2{transform:translate(calc(-50% - 150vw))rotateY(40deg)scale(.77)}.hbc-arrow{top:84px}.hbc-arrow-prev{left:4%}.hbc-arrow-next{right:4%}.hbc-text strong{font-size:19px}.hbc-text small{font-size:11px}.hbc-dots{margin-top:3px}}.interactive-editor .shot-frames,.interactive-editor .shot-frames.is-expanded{width:calc(var(--frame-count,2) * 84px + 45px)}.interactive-editor .shot-frames .frame-add,.interactive-editor .shot-frames.is-expanded .frame-add{top:36px}.interactive-editor .shot-frames:not(.is-expanded) .frame-add{left:110px}.interactive-editor .shot-frames .shot-delete{color:var(--theme-danger);z-index:13;align-items:center;gap:5px;font-size:10px;display:flex;position:absolute;top:116px;left:0;right:auto}.interactive-editor .shot-frames .shot-delete:hover{color:var(--theme-danger)}.confirm-delete-mask{z-index:90;background:#000b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-delete-dialog{background:var(--theme-paper);border:1px solid var(--theme-line);border-radius:16px;width:min(530px,100vw - 32px);padding:40px 48px 34px;box-shadow:0 25px 90px #000c}.confirm-delete-icon{background:var(--theme-accent);width:44px;height:44px;color:var(--theme-on-accent);border-radius:50%;place-items:center;margin-bottom:10px;font-size:28px;font-weight:700;display:grid}.confirm-delete-dialog h3{color:var(--theme-ink);margin:0 0 22px;font-size:26px}.confirm-delete-dialog p{color:var(--theme-ink);margin:0;font-size:18px;line-height:1.65}.confirm-delete-actions{justify-content:flex-end;gap:16px;margin-top:28px;display:flex}.confirm-delete-actions button{border:1px solid var(--theme-line);background:var(--theme-surface);min-width:128px;color:var(--theme-ink);border-radius:15px;padding:14px 26px;font-size:18px}.confirm-delete-actions button:hover{background:var(--theme-surface-alt)}.confirm-delete-actions .confirm-delete-submit{border-color:var(--theme-line);background:var(--theme-surface);color:var(--theme-ink)}@media (width<=650px){.interactive-editor .shot-frames{height:142px}.interactive-editor .shot-frames .shot-delete{top:108px}.confirm-delete-dialog{padding:28px 24px 24px}.confirm-delete-dialog h3{font-size:22px}.confirm-delete-dialog p{font-size:15px}.confirm-delete-actions button{min-width:100px;font-size:15px}}.interactive-editor .shot-card{min-height:210px}.interactive-editor .shot-frames{height:112px}.interactive-editor .shot-card>.shot-delete{color:var(--theme-danger);z-index:13;align-items:center;gap:5px;font-size:10px;display:flex;position:absolute;top:180px;left:10px;right:auto}.interactive-editor .shot-card>.shot-delete:hover{color:var(--theme-danger)}.interactive-editor .shot-frames{align-self:start}@media (width<=650px){.interactive-editor .shot-card{min-height:200px}.interactive-editor .shot-frames{height:112px}.interactive-editor .shot-card>.shot-delete{top:160px;left:10px}}.interactive-editor .shot-frames{pointer-events:none}.interactive-editor .shot-frames .frame-box,.interactive-editor .shot-frames .frame-add{pointer-events:auto}.interactive-editor .frame-list{pointer-events:auto;width:110px;height:108px;position:absolute;top:0;left:0}.interactive-editor .shot-frames.is-expanded .frame-list{width:calc(var(--frame-count,2) * 84px)}.interactive-editor .frame-add{transition:left .24s,top .24s,background .18s,border-color .18s}.interactive-editor .frame-box.has-image{overflow:visible}.interactive-editor .frame-preview-button{width:100%;height:100%;padding:0;display:block}.interactive-editor .frame-remove{z-index:15;border:1px solid var(--theme-line);background:var(--theme-tint);width:20px;height:20px;color:var(--theme-ink);opacity:0;pointer-events:none;border-radius:50%;place-items:center;padding:0;transition:opacity .18s,transform .18s;display:grid;position:absolute;top:-10px;right:-10px;transform:scale(.8)}.interactive-editor .frame-box.has-image:hover .frame-remove,.interactive-editor .frame-box.has-image:focus-within .frame-remove{opacity:1;pointer-events:auto;transform:scale(1)}.interactive-editor .frame-remove:hover,.interactive-editor .frame-remove:focus-visible{background:var(--theme-accent);border-color:var(--theme-accent)}.interactive-editor .frame-remove:focus-visible{outline:2px solid var(--theme-accent);outline-offset:1px}.interactive-editor .shot-reference-input{z-index:1}.interactive-editor .shot-reference-input:focus-within{z-index:3}.interactive-editor .shot-frames{z-index:2}.interactive-editor .shot-frames.is-empty{place-items:center;width:110px;height:112px;display:grid!important}.interactive-editor .shot-frames.is-empty .frame-add{border-color:var(--theme-line);background:var(--theme-surface-alt);flex-direction:column;justify-content:center;align-items:center;gap:6px;width:78px;height:100px;font-size:10px;display:flex;position:static}.interactive-editor .shot-frames.is-empty .frame-add span{line-height:1}.interactive-editor .shot-frames.is-empty .frame-add:hover{background:var(--theme-surface-alt);border-color:var(--theme-accent);color:var(--theme-accent)}.shot-reference-menu{z-index:60;width:min(370px,100vw - 16px);position:fixed}.interactive-editor .shot-reference-input:hover,.interactive-editor .shot-reference-input:focus-within{z-index:60}.shot-reference-preview{z-index:61;position:fixed;top:0;bottom:auto;left:0}.interactive-editor .shot-frames:not(.is-expanded) .frame-list .frame-box{opacity:1;pointer-events:auto;z-index:calc(10 - var(--frame-index,0));display:flex;box-shadow:0 5px 12px #0008;top:3px!important;left:10px!important}.interactive-editor .shot-frames:not(.is-expanded) .frame-list .frame-box:nth-child(2){top:9px!important;left:1px!important;transform:rotate(-10deg)!important}.interactive-editor .shot-frames:not(.is-expanded) .frame-list .frame-box:nth-child(3){top:8px!important;left:17px!important;transform:rotate(8deg)!important}.interactive-editor .shot-frames:not(.is-expanded) .frame-list .frame-box:nth-child(4){top:1px!important;left:5px!important;transform:rotate(-4deg)!important}.interactive-editor .shot-frames:not(.is-expanded) .frame-list .frame-box:nth-child(n+5){top:5px!important;left:10px!important;transform:rotate(3deg)!important}@media (width<=650px){.interactive-editor .shot-frames.is-expanded .frame-list{width:calc(var(--frame-count,2) * 72px)}.interactive-editor .shot-frames.is-expanded .frame-add{left:calc(var(--frame-count,2) * 72px)}}.modal-backdrop{z-index:1000;background:#000000b8;place-items:center;display:grid;position:fixed;inset:0}.preview-modal{background:var(--theme-surface);border:1px solid var(--theme-line);width:min(760px,100vw - 48px);color:var(--theme-ink);border-radius:12px;padding:20px;position:relative;box-shadow:0 20px 70px #000}.preview-modal h3{margin:0 0 14px;font-size:15px}.preview-modal video{background:var(--theme-paper);border-radius:8px;width:100%;max-height:70vh;display:block}.preview-modal .modal-close{color:var(--theme-ink);cursor:pointer;background:0 0;border:0;position:absolute;top:10px;right:12px}.video-generation-detail-open{overscroll-behavior-x:none}.video-generation-confirm-mask{z-index:130;overscroll-behavior-x:none;background:#000000b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.video-generation-confirm-dialog{background:var(--theme-surface);border:1px solid var(--theme-line);width:min(420px,100vw - 32px);color:var(--theme-ink);border-radius:14px;padding:28px 30px;box-shadow:0 24px 90px #000d}.video-generation-confirm-dialog h2{color:var(--theme-accent);margin:0;font-size:20px}.video-generation-confirm-actions{justify-content:flex-end;gap:10px;margin-top:28px;display:flex}.video-generation-confirm-actions button{border:1px solid var(--theme-line);background:var(--theme-surface-alt);min-width:92px;height:38px;color:var(--theme-ink);border-radius:8px;justify-content:center;align-items:center;padding:0 16px;font-size:13px;display:flex}.video-generation-confirm-actions .video-generation-confirm-submit{border-color:var(--theme-accent);background:var(--theme-accent);color:var(--theme-on-accent)}.video-generation-confirm-actions .video-generation-confirm-submit:hover{background:var(--theme-accent)}@media (width<=560px){.video-generation-confirm-dialog{padding:22px 18px}}.video-generation-detail-dialog{width:min(860px,100vw - 32px);max-height:min(88vh,900px);overflow:auto}.video-generation-dialog-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.video-generation-dialog-eyebrow{color:var(--theme-accent);margin:0 0 6px;font-size:11px}.video-generation-dialog-close{border:1px solid var(--theme-line);background:var(--theme-surface-alt);width:30px;height:30px;color:var(--theme-ink);border-radius:7px;font-size:20px;line-height:1}.video-generation-dialog-state,.video-generation-dialog-error{background:var(--theme-surface-alt);color:var(--theme-muted);border-radius:8px;margin:18px 0 0;padding:12px;font-size:12px}.video-generation-dialog-error{background:var(--theme-surface-alt);color:var(--theme-danger)}.video-generation-call-list{gap:12px;margin-top:18px;display:grid}.video-generation-call{border:1px solid var(--theme-line);background:var(--theme-paper);border-radius:9px;min-width:0;padding:14px}.video-generation-call h3{color:var(--theme-ink);margin:0 0 9px;font-size:14px}.video-generation-call p{overflow-wrap:anywhere;color:var(--theme-muted);margin:0 0 12px;font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}.video-generation-call p b{color:var(--theme-accent)}.video-generation-call strong{color:var(--theme-muted);margin:9px 0 5px;font-size:11px;display:block}.video-generation-call pre{background:var(--theme-paper);max-height:230px;color:var(--theme-accent);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:6px;margin:0;padding:10px;font:10px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.video-generation-dialog-note{color:var(--theme-muted)!important;margin:0!important;font-family:inherit!important;font-size:11px!important}.video-generation-confirm-actions button:disabled{cursor:not-allowed;opacity:.45}.video-generation-confirm-actions .video-generation-confirm-submit:disabled{background:var(--theme-tint);border-color:var(--theme-line);color:var(--theme-accent)}.points-generation-confirm-mask{z-index:160}.points-generation-confirm-dialog{max-height:calc(100vh - 40px);overflow:auto}.points-generation-confirm-dialog .points-quote{margin-top:18px}.generated-poster{background:#222529 50%/cover no-repeat;place-items:center;width:100%;height:100%;display:grid;position:relative;overflow:hidden}.generated-poster:before{content:"";background:#0000007a;position:absolute;inset:0}.generated-poster .generated-mark{z-index:1;position:relative}.interactive-editor .shot-video-grid{grid-template-columns:repeat(var(--shot-video-columns,4),minmax(0,1fr));align-items:start;gap:16px}.shot-video-card{background:var(--theme-surface-alt);border-radius:14px;overflow:hidden}.shot-video-card .video-preview{background:var(--theme-surface-alt);border:0;border-radius:0;width:100%;height:auto;overflow:hidden}.shot-video-card .generated-poster{background-position:50%;background-repeat:no-repeat;background-size:contain;width:100%;height:100%}.shot-video-loading,.shot-video-empty{flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:14px;display:flex}.shot-video-loading,.shot-video-card h4 small.is-generating{color:var(--theme-accent)}.shot-video-empty{color:var(--theme-muted)}.shot-video-spinner{border:2px solid;border-color:#0000 currentColor currentColor #0000;border-radius:50%;flex-shrink:0;width:24px;height:24px;animation:.8s linear infinite shot-video-spin;display:inline-block}.shot-video-info{flex-direction:column;align-items:flex-start;gap:12px;padding:12px;display:flex}.shot-video-card h4{margin:0;font-size:13px;line-height:20px}.shot-video-resolution{font-size:13px;line-height:20px;display:block}.shot-video-card .shot-video-info>button{border-radius:16px;width:auto;padding:5px 10px}.shot-video-info button .shot-video-spinner,.shot-bottom button .shot-video-spinner{width:14px;height:14px}@keyframes shot-video-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.shot-video-spinner{animation:none}}.editor-logs{border-bottom:1px solid var(--theme-line);max-height:42%;padding:10px 14px;overflow:auto}.editor-log{color:var(--theme-ink);grid-template-columns:12px 1fr auto;align-items:start;gap:6px;padding:7px 0;font-size:11px;display:grid}.editor-log>span{color:var(--theme-accent)}.editor-log time{color:var(--theme-muted);font-size:10px}.editor-log-empty{color:var(--theme-muted);padding:18px 4px;font-size:11px;line-height:1.5}.interactive-editor .editor-agent{height:calc(100vh - 54px);min-height:0;position:sticky;top:54px;overflow:hidden}.interactive-editor .editor-logs{flex:0 42%;min-height:140px;max-height:none;overflow-y:auto}@media (width>=1001px){.interactive-editor .editor-agent{z-index:20;width:360px;height:calc(100vh - 54px);min-height:0;position:fixed;top:54px;right:0;overflow:hidden}.interactive-editor .editor-main{grid-column:2;margin-right:0}.interactive-editor .editor-logs{flex:0 42%;min-height:140px;max-height:none;overflow-y:auto}.interactive-editor{height:100vh;min-height:100vh;padding-top:54px;display:block;overflow:hidden}.interactive-editor .editor-top{z-index:30;grid-column:auto;width:100%;height:54px;position:fixed;inset:0 0 auto}.interactive-editor .editor-sidebar{z-index:20;width:210px;padding:10px 8px;position:fixed;top:54px;bottom:0;left:0;overflow:hidden}.interactive-editor .editor-main{height:calc(100vh - 54px);margin-left:210px;margin-right:360px;padding:14px 20px;overflow-y:auto}.interactive-editor .editor-agent{z-index:20;width:360px;height:calc(100vh - 54px);position:fixed;top:54px;right:0;overflow:hidden}}.asset-create-mask{z-index:150;background:#000b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.asset-create-dialog{background:var(--theme-surface);border:1px solid var(--theme-line);width:min(650px,100vw - 32px);max-height:calc(100vh - 40px);color:var(--theme-ink);border-radius:14px;padding:28px 34px 24px;position:relative;overflow:auto;box-shadow:0 24px 80px #000d}.asset-create-dialog h2{margin:0 0 25px;font-size:22px}.asset-create-close{color:var(--theme-muted);position:absolute;top:17px;right:18px}.asset-create-field{grid-template-columns:92px minmax(0,1fr);align-items:start;gap:12px;margin-bottom:18px;display:grid;position:relative}.asset-create-field>span{color:var(--theme-ink);padding-top:11px;font-size:13px}.asset-create-field.required>span:before{content:"*";color:var(--theme-danger);margin-right:4px}.asset-create-field input,.asset-create-field select,.asset-create-field textarea{border:1px solid var(--theme-line);background:var(--theme-surface-alt);width:100%;color:var(--theme-ink);border-radius:8px;outline:0;padding:11px 13px;font-size:13px}.asset-create-field input,.asset-create-field select{height:43px}.asset-create-field textarea{resize:vertical;height:125px;line-height:1.5}.asset-create-field input:focus,.asset-create-field select:focus,.asset-create-field textarea:focus{border-color:var(--theme-accent)}.asset-prompt-polish{border:1px solid var(--theme-line);background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:15px;align-items:center;gap:5px;padding:6px 10px;font-size:11px;display:flex;position:absolute;bottom:8px;right:6px}.asset-upload-row>div{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.asset-upload-box{border:1px dashed var(--theme-line);background:var(--theme-surface);width:126px;height:110px;color:var(--theme-muted);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:11px;display:flex;overflow:hidden}.asset-upload-box img{object-fit:cover;width:100%;height:100%}.asset-designer{border:1px solid var(--theme-line);background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:8px;align-items:center;gap:6px;padding:9px 13px;font-size:12px;display:flex}.asset-upload-row p{width:100%;color:var(--theme-muted);margin:0;font-size:11px}.asset-create-actions{justify-content:flex-end;gap:10px;margin-top:26px;display:flex}.asset-create-actions button{border:1px solid var(--theme-line);background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:8px;padding:10px 22px;font-size:13px}.asset-create-actions .asset-save{border-color:var(--theme-accent);background:var(--theme-accent);color:var(--theme-on-accent)}.asset-create-actions .asset-save:disabled{opacity:.45}@media (width<=620px){.asset-create-dialog{padding:22px 18px}.asset-create-field{grid-template-columns:1fr;gap:7px}.asset-create-field>span{padding-top:0}}.scene-create-dialog{background:var(--theme-paper);border-radius:18px;width:min(1200px,100vw - 80px);height:min(1012px,100vh - 50px);max-height:calc(100vh - 50px);padding:44px 48px 40px}.scene-create-dialog h2{margin:0 0 34px;font-size:32px;line-height:1.2}.scene-create-dialog .asset-create-field>span{white-space:nowrap;padding-top:14px;font-size:24px;font-weight:600}.scene-create-dialog .asset-create-field>span:after{content:"："}.scene-create-dialog .asset-create-field input,.scene-create-dialog .asset-create-field textarea{background:var(--theme-surface);border-color:var(--theme-line);border-radius:15px;height:64px;padding:0 23px;font-size:24px}.scene-create-dialog .asset-create-field textarea{height:196px;padding-top:16px;line-height:1.45}.scene-create-dialog .asset-create-field input::placeholder,.scene-create-dialog .asset-create-field textarea::placeholder{color:var(--theme-muted)}.scene-create-dialog .asset-prompt-polish{display:none}.scene-create-dialog .asset-upload-row{margin-top:0;margin-bottom:28px}.scene-create-dialog .asset-upload-box{background:0 0;border-width:3px;border-radius:22px;width:360px;height:240px;font-size:22px}.scene-create-dialog .asset-designer{border-radius:20px;height:64px;padding:0 30px;font-size:22px;font-weight:600}.scene-create-dialog .asset-create-actions button{border-radius:16px;min-width:126px;height:64px;font-size:23px;font-weight:600}.scene-create-dialog .asset-create-actions .asset-save{background:linear-gradient(110deg,var(--theme-accent),var(--theme-accent));color:var(--theme-ink);border:0}.scene-create-dialog .asset-create-field.required>span:before{margin-right:5px}@media (width<=900px){.scene-create-dialog{width:calc(100vw - 32px);height:auto;max-height:calc(100vh - 32px);padding:28px 24px}.scene-create-dialog h2{font-size:24px}.scene-create-dialog .asset-create-field{grid-template-columns:110px 1fr;margin-bottom:24px}.scene-create-dialog .asset-create-field>span,.scene-create-dialog .asset-create-field input,.scene-create-dialog .asset-create-field textarea{font-size:16px}.scene-create-dialog .asset-upload-box{width:220px;height:150px}.scene-create-dialog .asset-upload-row p{font-size:13px}}.scene-create-dialog{background:var(--theme-paper);width:874px;height:738px;max-height:calc(100vh - 32px);padding:34px}.scene-create-dialog h2{text-align:left;margin:0 0 22px;font-size:24px}.scene-create-dialog .asset-upload-row{margin-bottom:14px}.scene-create-dialog .asset-upload-row>div{gap:18px}.scene-create-dialog .asset-upload-box{border-width:2px;border-radius:18px;width:262px;height:174px;font-size:16px}.scene-create-dialog .asset-create-actions{gap:12px;margin-top:0;padding-top:0}.scene-create-dialog input[type=file]{display:none!important}@media (width<=900px){.scene-create-dialog{width:calc(100vw - 32px);height:auto;padding:28px 24px}.scene-create-dialog h2{font-size:24px}.scene-create-dialog .asset-create-field{grid-template-columns:110px 1fr;margin-bottom:24px}.scene-create-dialog .asset-create-field>span,.scene-create-dialog .asset-create-field input,.scene-create-dialog .asset-create-field textarea{font-size:16px}.scene-create-dialog .asset-upload-box{width:220px;height:150px}.scene-create-dialog .asset-upload-row p{font-size:13px}}.scene-create-dialog{flex-direction:column;display:flex!important}.asset-create-mask{background:#00000094!important}.prop-create-dialog{background:var(--theme-paper);max-height:calc(100vh - 32px);width:600px!important;height:560px!important;padding:24px!important}.prop-create-dialog h2{text-align:left;margin-bottom:16px!important;font-size:20px!important}.prop-create-dialog .asset-create-field{grid-template-columns:92px minmax(0,1fr)!important;gap:10px!important;margin-bottom:16px!important}.prop-create-dialog .asset-create-field>span{padding-top:8px!important;font-size:14px!important}.prop-create-dialog .asset-create-field input,.prop-create-dialog .asset-create-field select,.prop-create-dialog .asset-create-field textarea{border-radius:9px!important;height:32px!important;padding:0 12px!important;font-size:14px!important}.prop-create-dialog .asset-create-field textarea{height:98px!important;padding-top:9px!important}.prop-create-dialog .asset-upload-box{border-radius:12px!important;width:180px!important;height:120px!important;font-size:14px!important}.prop-create-dialog .asset-upload-box svg{width:32px!important;height:32px!important}.prop-create-dialog .asset-designer{border-radius:10px!important;height:36px!important;padding:0 14px!important;font-size:14px!important}.prop-create-dialog .asset-upload-row p{margin-top:8px!important;font-size:11px!important}.prop-create-dialog .asset-create-actions button{border-radius:9px!important;min-width:72px!important;height:36px!important;font-size:14px!important}.prop-create-dialog input[type=file]{display:none!important}.scene-create-dialog{max-height:calc(100vh - 32px);border-radius:12px!important;width:600px!important;height:560px!important;padding:24px 24px 20px!important}.scene-create-dialog h2{margin-bottom:16px!important;font-size:20px!important}.scene-create-dialog .asset-create-field{grid-template-columns:92px minmax(0,1fr)!important;gap:10px!important;margin-bottom:16px!important}.scene-create-dialog .asset-create-field>span{padding-top:8px!important;font-size:14px!important}.scene-create-dialog .asset-create-field input,.scene-create-dialog .asset-create-field textarea{border-radius:9px!important;height:32px!important;padding:0 12px!important;font-size:14px!important}.scene-create-dialog .asset-create-field textarea{height:98px!important;padding-top:9px!important}.scene-create-dialog .asset-upload-box{border-radius:12px!important;width:180px!important;height:120px!important;font-size:14px!important}.scene-create-dialog .asset-upload-box svg{width:32px!important;height:32px!important}.scene-create-dialog .asset-designer{border-radius:10px!important;height:36px!important;padding:0 14px!important;font-size:14px!important}.scene-create-dialog .asset-designer svg{width:17px!important;height:17px!important}.scene-create-dialog .asset-upload-row p{margin-top:8px!important;font-size:11px!important}.scene-create-dialog .asset-create-actions button{border-radius:9px!important;min-width:72px!important;height:36px!important;font-size:14px!important}.interactive-editor .drawer-mask{z-index:100}.interactive-editor .modal-backdrop,.interactive-editor .image-preview-mask,.interactive-editor .confirm-delete-mask{z-index:110}.interactive-editor .style-edit-mask{z-index:120}.interactive-editor .drawer-mask .library-drawer{z-index:101}.asset-upload-box.has-image{cursor:default;border-style:solid;position:relative}.asset-image-hover-actions{opacity:0;pointer-events:none;background:linear-gradient(#0000,#0009);justify-content:center;align-items:flex-end;gap:8px;padding-bottom:8px;transition:opacity .18s;display:flex;position:absolute;inset:0}.asset-upload-box.has-image:hover .asset-image-hover-actions,.asset-upload-box.has-image:focus-within .asset-image-hover-actions{opacity:1;pointer-events:auto}.asset-image-hover-actions button{border:1px solid var(--theme-line);background:var(--theme-tint);width:28px;height:28px;color:var(--theme-ink);border-radius:6px;place-items:center;padding:0;display:grid}.asset-image-hover-actions button:hover{background:var(--theme-surface-alt)}.asset-upload-box.is-generating,.character-upload-box.portrait.is-generating{cursor:wait;position:relative}.asset-image-generating-overlay{z-index:5;cursor:wait;background:#000000ad;place-items:center;display:grid;position:absolute;inset:0}.asset-image-generating-spinner{border:3px solid var(--theme-line);border-top-color:var(--theme-line);border-radius:50%;width:30px;height:30px;animation:.8s linear infinite asset-image-generating-spin}@keyframes asset-image-generating-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.asset-image-generating-spinner{animation:none}}.scene-create-dialog .asset-image-hover-actions svg,.prop-create-dialog .asset-image-hover-actions svg{width:14px!important;height:14px!important}.interactive-editor .drawer-mask{pointer-events:none;background:0 0}@media (width>=1001px){.interactive-editor .drawer-mask{left:210px}}.interactive-editor .drawer-mask{background:0 0!important}.interactive-editor .drawer-mask>.library-drawer{display:block}@media (width>=1001px){.interactive-editor .drawer-mask .library-drawer.asset-library-modal{width:min(896px,100vw - 32px);height:min(610px,100vh - 80px);padding:0;top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%)}}.interactive-editor .drawer-mask .library-drawer.asset-drawer{box-shadow:none;background:0 0;border:0;width:100%;padding:0}.interactive-editor .drawer-mask{pointer-events:auto;left:0!important;background:#00000094!important;inset:0!important}.interactive-editor .drawer-mask .library-drawer{pointer-events:auto}.character-create-mask{z-index:140;background:#000000b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.character-create-dialog{background:var(--theme-paper);border:1px solid var(--theme-line);width:min(874px,100vw - 40px);max-height:min(1000px,100vh - 40px);color:var(--theme-ink);border-radius:14px;padding:28px 68px 27px;position:relative;overflow:auto;box-shadow:0 25px 90px #000d}.character-create-dialog h2{margin:0 0 26px;font-size:24px;font-weight:700}.character-create-close{color:var(--theme-muted);position:absolute;top:25px;right:27px}.character-field{grid-template-columns:108px minmax(0,1fr);align-items:start;gap:0;margin:0 0 25px;display:grid}.character-field>span{color:var(--theme-ink);padding-top:11px;font-size:16px;font-weight:600}.character-field.required>span:before{content:"*";color:var(--theme-danger);margin-right:4px}.character-field input,.character-field select,.character-field textarea{border:1px solid var(--theme-line);background:var(--theme-surface);width:100%;color:var(--theme-ink);border-radius:10px;outline:0;font-size:16px}.character-field input,.character-field select{height:48px;padding:0 16px}.character-field select{appearance:auto}.character-field textarea{resize:vertical;height:206px;padding:14px 16px;line-height:1.55}.character-field input::placeholder,.character-field textarea::placeholder{color:var(--theme-muted)}.character-field input:focus,.character-field select:focus,.character-field textarea:focus{border-color:var(--theme-line);box-shadow:0 0 0 2px #ffffff0a}.character-description{position:relative}.prompt-polish{border:1px solid var(--theme-line);background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:17px;align-items:center;gap:6px;padding:7px 13px;font-size:14px;display:flex;position:absolute;top:216px;right:2px}.character-upload-row{margin-top:8px;margin-bottom:28px}.character-upload-content{min-width:0}.character-reference-list{flex-wrap:wrap;gap:12px;min-height:140px;display:flex}.character-upload-box{border:2px dashed var(--theme-line);width:140px;height:140px;color:var(--theme-muted);background:var(--theme-surface);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:15px;display:flex}.character-upload-box:hover{border-color:var(--theme-line);color:var(--theme-ink)}.character-reference-thumb{width:140px;height:140px;position:relative}.character-reference-thumb img,.character-upload-box.portrait img{object-fit:cover;border-radius:8px;width:100%;height:100%}.character-reference-thumb button{width:21px;height:21px;color:var(--theme-ink);background:#000b;border-radius:50%;place-items:center;display:grid;position:absolute;top:5px;right:5px}.character-upload-content p{color:var(--theme-muted);margin:11px 0 0;font-size:14px;line-height:1.4}.character-portrait-line{align-items:center;gap:22px;display:flex}.character-designer{border:1px solid var(--theme-line);background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:10px;align-items:center;gap:8px;padding:11px 17px;font-size:16px;display:flex}.character-create-actions{justify-content:flex-end;gap:14px;margin-top:35px;display:flex}.character-create-actions>button{border:1px solid var(--theme-line);min-width:92px;height:48px;color:var(--theme-ink);background:var(--theme-surface-alt);border-radius:10px;padding:0 23px;font-size:16px;font-weight:600}.character-create-actions .character-save{border-color:var(--theme-accent);background:var(--theme-accent);color:var(--theme-on-accent)}.character-create-actions .character-save:disabled{background:var(--theme-surface-alt);border-color:var(--theme-line);color:var(--theme-muted)}@media (width<=650px){.character-create-dialog{padding:23px 20px 22px}.character-create-dialog h2{margin-bottom:22px;font-size:20px}.character-field{grid-template-columns:1fr;gap:8px;margin-bottom:20px}.character-field>span{padding-top:0;font-size:14px}.character-field input,.character-field select,.character-field textarea{font-size:14px}.character-field textarea{height:170px}.prompt-polish{font-size:12px;top:178px}.character-upload-box,.character-reference-thumb{width:112px;height:112px}.character-upload-box.portrait{width:140px;height:140px}.character-designer{padding:9px 11px;font-size:13px}.character-upload-content p{font-size:12px}.character-create-actions{margin-top:24px}.character-create-actions>button{height:42px;font-size:14px}}.character-create-dialog{width:min(650px,100vw - 40px);max-height:min(760px,100vh - 40px);padding:24px 34px 22px}.character-field textarea{height:150px}.prompt-polish{top:160px}.character-upload-box,.character-reference-thumb{width:112px;height:112px}.character-upload-content p{font-size:12px}.character-upload-box.portrait{width:132px;height:132px}.character-designer{padding:10px 14px;font-size:14px}.character-upload-box.portrait.is-generating{border-style:solid;border-color:var(--theme-accent);color:var(--theme-accent);cursor:wait}.character-upload-box.portrait:disabled{opacity:1}.character-asset-grid{box-sizing:border-box;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));place-content:start;justify-items:stretch;gap:18px;width:100%;padding:24px;display:grid}.character-asset-card{background:var(--theme-surface-alt);border:1px solid var(--theme-line);border-radius:8px;min-width:0;overflow:hidden}.character-asset-card img{aspect-ratio:16/9;object-fit:contain;background:var(--theme-surface);width:100%;display:block}.character-asset-card>div{align-items:center;gap:8px;padding:10px 12px 4px;display:flex}.character-asset-card strong{overflow-wrap:anywhere;min-width:0;color:var(--theme-ink);font-size:14px}.character-asset-card span{color:var(--theme-muted);flex-shrink:0;font-size:12px}.character-asset-card>small{color:var(--theme-accent);padding:0 12px 10px;font-size:11px;display:block}.character-asset-card>.character-asset-preview{aspect-ratio:16/9;background:var(--theme-surface);color:var(--theme-muted);justify-content:center;align-items:center;padding:0;display:flex;position:relative}.character-asset-preview small{background:var(--theme-accent);border:1px solid var(--theme-accent);color:var(--theme-on-accent);border-radius:3px;align-items:center;gap:3px;padding:3px 5px;font-size:11px;display:flex;position:absolute;bottom:6px;left:6px}.character-asset-card>div:last-child{padding-bottom:10px}.character-asset-preview .character-card-actions{opacity:0;gap:5px;transition:opacity .15s;display:flex;position:absolute;top:8px;right:8px;padding:0!important}.character-asset-card:hover .character-card-actions{opacity:1}.character-card-actions button{border:1px solid var(--theme-line);background:var(--theme-tint);width:28px;height:28px;color:var(--theme-ink);cursor:pointer;border-radius:6px;place-items:center;display:grid}.character-preview-mask{z-index:300;background:#000c;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.character-preview-dialog{box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;gap:18px;width:100vw;height:100vh;padding:24px;display:flex}.character-preview-dialog img{object-fit:contain;background:#fff;max-width:100%;max-height:calc(100vh - 110px)}.character-preview-dialog button{border:1px solid var(--theme-line);color:var(--theme-ink);background:#292b30;border-radius:8px;padding:10px 34px}.character-delete-mask{z-index:9999!important;background:#0009!important;padding:16px!important;position:fixed!important;inset:0!important}.character-delete-dialog{background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:12px;width:min(400px,100vw - 32px);padding:24px!important}.character-delete-dialog h2{color:var(--theme-ink);margin:0 0 10px;font-size:18px}.character-delete-dialog p{color:var(--theme-muted);margin:0;font-size:12px;line-height:1.6}.character-delete-dialog .modal-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:24px;display:flex}.character-delete-dialog .modal-actions button{border-radius:7px;min-width:88px;height:36px;font-size:12px;padding:0 16px!important}.character-delete-dialog .modal-actions button:first-child{border:1px solid var(--theme-line);background:var(--theme-surface-alt);color:var(--theme-ink)}.character-delete-dialog .modal-actions .submit-btn{background:var(--theme-accent);color:var(--theme-on-accent);border:0}.character-delete-dialog>button:first-child{color:var(--theme-muted);font-size:18px;position:absolute;top:12px;right:14px}.character-upload-box.portrait.has-image{cursor:default;border-style:solid;position:relative}.portrait-hover-actions{z-index:3;opacity:0;pointer-events:none;background:linear-gradient(#0000,#0009);justify-content:center;align-items:flex-end;gap:8px;padding-bottom:8px;transition:opacity .18s;display:flex;position:absolute;inset:0}.character-upload-box.portrait.has-image:hover .portrait-hover-actions,.character-upload-box.portrait.has-image:focus-within .portrait-hover-actions{opacity:1;pointer-events:auto}.portrait-hover-actions.is-visible{opacity:1!important;pointer-events:auto!important}.portrait-hover-actions button{border:1px solid var(--theme-line);background:var(--theme-tint);width:28px;height:28px;color:var(--theme-ink);border-radius:6px;place-items:center;display:grid}.delete-modal{width:380px}.delete-modal h2{color:var(--theme-ink)}.delete-modal p{margin-bottom:0;line-height:1.7}.delete-confirm{background:var(--theme-accent);color:var(--theme-on-accent);border-radius:7px;padding:9px 15px;font-size:12px}.delete-confirm:disabled{opacity:.55;cursor:not-allowed}.auth-loading{background:var(--theme-paper);min-height:100vh;color:var(--theme-accent);flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:14px;display:flex}.auth-loading svg{color:var(--theme-accent);animation:1s linear infinite auth-loading-spin}@keyframes auth-loading-spin{to{transform:rotate(360deg)}}.interactive-editor .agent-body{padding:24px 18px 18px}.chat-msg{background:0 0;margin-top:18px;padding:0}.chat-user-message{border:1px solid var(--theme-line);background:var(--theme-surface-alt);width:fit-content;max-width:88%;color:var(--theme-accent);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;margin-left:auto;padding:10px 12px;font-size:12px;line-height:1.6}.chat-assistant-message{text-align:left;margin-top:10px}.chat-thinking{color:var(--theme-accent);margin:0;font-size:10px}.chat-thinking summary{cursor:pointer;list-style:none}.chat-thinking summary::-webkit-details-marker{display:none}.chat-thinking summary:before{content:"›";margin-right:5px;transition:transform .15s;display:inline-block}.chat-thinking[open] summary:before{transform:rotate(90deg)}.chat-thinking p{border-left:2px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-muted);white-space:pre-wrap;margin:6px 0 0;padding:7px 8px;line-height:1.55}.chat-assistant-answer{color:var(--theme-ink);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:10px;font-size:12px;line-height:1.7}.chat-msg.is-pending .chat-user-message{border-color:var(--theme-line)}.chat-msg.is-pending .chat-thinking summary:after{content:"";border:1px solid var(--theme-accent);border-right-color:#0000;border-radius:50%;width:8px;height:8px;margin-left:6px;animation:.75s linear infinite chat-thinking-spin;display:inline-block}@keyframes chat-thinking-spin{to{transform:rotate(360deg)}}.ptv-canvas{background:var(--theme-paper);height:100vh;min-height:620px;color:var(--theme-ink);overflow:hidden}.ptv-canvas-head{z-index:20;height:37px;color:var(--theme-ink);pointer-events:none;align-items:center;font-size:13px;display:flex;position:absolute;top:14px;left:16px;right:16px}.ptv-canvas-head>*{pointer-events:auto}.ptv-canvas-head>button,.ptv-logo{border-top:1px solid var(--theme-line);border-bottom:1px solid var(--theme-line);background:var(--theme-surface-alt);height:37px;color:var(--theme-ink);align-items:center;gap:6px;padding:0 12px;display:flex}.ptv-logo{border:1px solid var(--theme-line);color:var(--theme-accent);border-radius:11px 0 0 11px;gap:7px;padding:0 9px}.ptv-canvas-head>button:last-of-type{border-right:1px solid var(--theme-line);border-radius:0 11px 11px 0;font-weight:650}.ptv-canvas-head>div:last-child{gap:8px;margin-left:auto;display:flex}.ptv-canvas-head>div:last-child button{border:1px solid var(--theme-line);background:var(--theme-surface);height:34px;color:var(--theme-ink);border-radius:17px;align-items:center;gap:6px;padding:0 11px;font-size:12px;display:flex}.ptv-canvas-head .ptv-credit{border-color:var(--theme-line);background:var(--theme-surface-alt);color:var(--theme-accent);font-weight:700}.ptv-react-flow{background:var(--theme-paper)}.ptv-react-flow .react-flow__edge-path{stroke:var(--theme-accent);stroke-width:1.15px;opacity:.62}.ptv-flow-node{border:1px solid var(--theme-line);background:var(--theme-surface);width:250px;color:var(--theme-ink);border-radius:9px;overflow:visible;box-shadow:0 10px 27px #0005}.ptv-flow-node .react-flow__handle{border:2px solid var(--theme-line);background:var(--kind);width:11px;height:11px}.ptv-flow-title{height:33px;color:var(--theme-ink);justify-content:space-between;align-items:center;padding:0 10px;font-size:11px;display:flex}.ptv-flow-title span{align-items:center;gap:5px;font-weight:600;display:flex}.ptv-flow-title span svg{color:var(--kind)}.ptv-flow-empty{background:var(--theme-surface-alt);height:120px;color:var(--theme-muted);border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:10px;display:flex}.ptv-flow-empty>svg{color:var(--theme-muted)}.ptv-flow-empty span{align-self:stretch;padding:13px;font-size:11px;line-height:1.5}.ptv-flow-upload{border:1px dashed var(--theme-line);background:var(--theme-surface-alt);height:120px;color:var(--theme-muted);border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:11px;display:flex}.ptv-flow-upload svg{color:var(--kind)}.ptv-flow-upload small{color:var(--theme-muted);font-size:9px}.ptv-flow-links{color:var(--theme-muted);gap:8px;padding:8px 10px 0;font-size:10px;display:flex}.ptv-flow-foot{align-items:center;gap:6px;height:39px;padding:0 9px;display:flex}.ptv-flow-foot>span{text-overflow:ellipsis;white-space:nowrap;background:var(--theme-surface-alt);max-width:150px;color:var(--theme-ink);border-radius:12px;align-items:center;gap:4px;padding:5px 7px;font-size:9px;display:flex;overflow:hidden}.ptv-flow-foot>span svg{color:var(--theme-accent)}.ptv-flow-foot>b{background:var(--theme-accent);color:var(--theme-on-accent);border-radius:12px;align-items:center;gap:3px;margin-left:auto;padding:6px 8px;font-size:10px;display:flex}.ptv-flow-foot>em{color:var(--theme-accent);margin-left:auto;font-size:10px;font-style:normal}.ptv-left-bar,.ptv-bottom-bar{z-index:12;border:1px solid var(--theme-line);background:var(--theme-surface);border-radius:11px;align-items:center;gap:2px;padding:5px;display:flex;position:absolute;bottom:16px;box-shadow:0 8px 24px #0005}.ptv-left-bar{left:14px}.ptv-bottom-bar{left:50%;transform:translate(-50%)}.ptv-left-bar>button,.ptv-left-bar .ptv-zoom>button{height:31px;color:var(--theme-ink);border-radius:7px;align-items:center;gap:6px;padding:0 9px;font-size:11px;display:flex}.ptv-left-bar>button:hover,.ptv-left-bar>button.active{background:var(--theme-surface-alt);color:var(--theme-ink)}.ptv-bottom-bar button{width:32px;height:32px;color:var(--theme-ink);border-radius:8px;place-items:center;display:grid}.ptv-bottom-bar button:hover{background:var(--theme-surface-alt);color:var(--theme-ink)}.ptv-bottom-bar .primary{background:var(--theme-surface);color:var(--theme-ink)}.ptv-zoom{position:relative}.ptv-zoom>div{border:1px solid var(--theme-line);background:var(--theme-surface-alt);border-radius:9px;width:170px;padding:6px;position:absolute;bottom:38px;left:0;box-shadow:0 12px 32px #0009}.ptv-zoom>div button{width:100%;color:var(--theme-ink);text-align:left;border-radius:5px;justify-content:space-between;padding:8px;font-size:11px;display:flex}.ptv-zoom>div button:hover{background:var(--theme-surface-alt)}.ptv-zoom kbd,.ptv-dialog kbd{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-muted);border-radius:4px;padding:2px 5px;font-size:9px}.ptv-add-menu{z-index:30;border:1px solid var(--theme-line);background:var(--theme-surface-alt);border-radius:10px;width:240px;max-height:min(680px,100vh - 145px);padding:10px;position:absolute;bottom:62px;left:14px;overflow:auto;box-shadow:0 20px 54px #000b}.ptv-add-menu label{border:1px solid var(--theme-line);color:var(--theme-muted);border-radius:6px;align-items:center;gap:7px;padding:8px;display:flex}.ptv-add-menu input{width:100%;color:var(--theme-ink);background:0 0;border:0;outline:0;font-size:12px}.ptv-add-menu small{color:var(--theme-muted);margin:14px 5px 6px;font-size:10px;display:block}.ptv-add-menu>button{width:100%;color:var(--theme-ink);text-align:left;border-radius:6px;align-items:center;gap:9px;padding:9px 7px;font-size:12px;display:flex}.ptv-add-menu>button:hover{background:var(--theme-surface-alt)}.ptv-add-menu>button:disabled{color:var(--theme-muted)}.ptv-add-menu em{color:var(--theme-muted);margin-left:auto;font-size:10px;font-style:normal}.ptv-assets,.ptv-history{z-index:15;border-right:1px solid var(--theme-line);background:var(--theme-surface-alt);width:294px;padding:76px 12px 18px;position:absolute;top:0;bottom:0;left:0;box-shadow:10px 0 32px #0004}.ptv-assets header,.ptv-history header,.ptv-inspector header,.ptv-dialog header{color:var(--theme-ink);justify-content:space-between;align-items:center;font-size:13px;display:flex}.ptv-assets header button,.ptv-history header button,.ptv-inspector header button,.ptv-dialog header button{color:var(--theme-muted)}.ptv-assets-title{color:var(--theme-ink);justify-content:space-between;align-items:center;padding:0 2px 10px;font-size:11px;display:flex}.ptv-assets-title button{color:var(--theme-muted);align-items:center;gap:3px;font-size:11px;display:flex}.ptv-asset-row{width:100%;color:var(--theme-ink);text-align:left;border-radius:6px;align-items:center;gap:8px;padding:9px 7px;font-size:11px;display:flex}.ptv-asset-row:hover{background:var(--theme-surface-alt)}.ptv-asset-row svg:last-child{color:var(--theme-muted);margin-left:auto}.ptv-assets footer{color:var(--theme-muted);font-size:11px;position:absolute;bottom:17px}.ptv-history{text-align:center;color:var(--theme-muted);flex-direction:column;align-items:center;display:flex}.ptv-history header{align-self:stretch}.ptv-history>svg{color:var(--theme-muted);margin-top:130px}.ptv-history>b{color:var(--theme-ink);margin-top:12px;font-size:12px}.ptv-history>span{margin-top:7px;font-size:10px}.ptv-inspector{z-index:18;border:1px solid var(--theme-line);background:var(--theme-surface-alt);border-radius:14px;width:290px;max-height:calc(100vh - 115px);padding:16px;position:absolute;top:88px;right:26px;overflow:auto;box-shadow:0 20px 60px #000b}.ptv-inspector header{padding-bottom:15px}.ptv-inspector header b{align-items:center;gap:7px;display:flex}.ptv-prompt{margin-bottom:16px;position:relative}.ptv-prompt textarea,.ptv-textarea{resize:none;background:var(--theme-surface-alt);width:100%;height:120px;color:var(--theme-ink);border:0;border-radius:9px;outline:0;padding:12px;font-size:12px;line-height:1.5}.ptv-prompt textarea::placeholder,.ptv-textarea::placeholder{color:var(--theme-muted)}.ptv-prompt button{border:1px solid var(--theme-line);width:28px;height:28px;color:var(--theme-ink);border-radius:6px;place-items:center;display:grid;position:absolute;bottom:9px;left:9px}.ptv-inspect-row{color:var(--theme-ink);justify-content:space-between;align-items:center;padding:9px 0;font-size:12px;display:flex}.ptv-inspect-row button{background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:13px;align-items:center;gap:3px;padding:5px 8px;font-size:11px;display:flex}.ptv-generate{background:var(--theme-accent);width:100%;height:43px;color:var(--theme-on-accent);border-radius:9px;justify-content:center;align-items:center;gap:6px;margin-top:15px;font-size:12px;font-weight:800;display:flex}.ptv-upload-panel{color:var(--theme-ink);text-align:center;flex-direction:column;align-items:center;gap:9px;padding:43px 15px;font-size:11px;display:flex}.ptv-upload-panel>svg{color:var(--theme-accent)}.ptv-upload-panel span{color:var(--theme-muted);font-size:10px}.ptv-upload-panel button{background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:7px;align-items:center;gap:6px;margin-top:7px;padding:8px 12px;font-size:11px;display:flex}.ptv-counter{text-align:right;color:var(--theme-muted);font-size:10px;display:block}.ptv-inspect-empty{color:var(--theme-muted);text-align:center;flex-direction:column;align-items:center;gap:9px;padding:50px 15px;font-size:11px;line-height:1.55;display:flex}.ptv-inspect-empty svg{color:var(--theme-accent)}.ptv-inspect-empty b{color:var(--theme-ink)}.ptv-mini-map{border-radius:6px;border:1px solid var(--theme-line)!important;background:var(--theme-surface)!important;bottom:70px!important;right:21px!important}.ptv-modal-mask{z-index:40;background:#0008;place-items:center;display:grid;position:absolute;inset:0}.ptv-dialog{border:1px solid var(--theme-line);background:var(--theme-surface-alt);border-radius:12px;width:360px;padding:20px;box-shadow:0 25px 80px #000d}.ptv-dialog header{border-bottom:1px solid var(--theme-line);padding-bottom:13px}.ptv-dialog p{border-bottom:1px solid var(--theme-line);color:var(--theme-ink);justify-content:space-between;margin:0;padding:13px 2px;font-size:12px;display:flex}.ptv-tutorial{text-align:center;flex-direction:column;align-items:center;padding:32px 20px 5px;display:flex}.ptv-tutorial>span{background:var(--theme-accent);width:48px;height:48px;color:var(--theme-on-accent);border-radius:14px;place-items:center;margin-bottom:14px;display:grid}.ptv-tutorial p{color:var(--theme-muted);border:0;margin:10px 0 0;line-height:1.6;display:block}.ptv-toast{z-index:35;border:1px solid var(--theme-line);background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:8px;padding:10px 14px;font-size:12px;position:absolute;top:72px;left:50%;transform:translate(-50%);box-shadow:0 12px 28px #0008}.ptv-agent{z-index:12;border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-ink);border-radius:11px;align-items:center;gap:7px;padding:10px 14px;font-size:12px;display:flex;position:absolute;bottom:16px;right:16px}.ptv-agent svg{color:var(--theme-accent)}@media (width<=800px){.ptv-canvas-head{left:10px;right:10px}.ptv-canvas-head>div:last-child button:not(.ptv-credit){justify-content:center;width:34px;padding:0;font-size:0}.ptv-left-bar>button span{display:none}.ptv-inspector{width:min(290px,100vw - 20px);max-height:54vh;top:auto;bottom:62px;right:10px}.ptv-assets{width:270px}.ptv-flow-node{width:220px}}.ptv-canvas-head>button:last-of-type{border-radius:0}.ptv-project-picker{align-items:center;height:37px;display:flex;position:relative}.ptv-project-trigger{border:1px solid var(--theme-line);background:var(--theme-surface-alt);height:37px;color:var(--theme-ink);text-overflow:ellipsis;white-space:nowrap;border-radius:0 11px 11px 0;align-items:center;gap:6px;max-width:220px;padding:0 12px;font-size:13px;font-weight:650;display:flex;overflow:hidden}.ptv-project-menu{z-index:35;border:1px solid var(--theme-line);background:var(--theme-surface-alt);border-radius:10px;width:164px;padding:8px;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 18px 42px #000b}.ptv-project-menu button{width:100%;color:var(--theme-ink);text-align:left;border-radius:7px;padding:10px 11px;font-size:12px}.ptv-project-menu button:hover,.ptv-logo.active{background:var(--theme-surface-alt)}.ptv-space-menu{z-index:36;border:1px solid var(--theme-line);background:var(--theme-surface-alt);border-radius:12px;width:260px;padding:8px;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 18px 42px #000b}.ptv-space-menu button{width:100%;color:var(--theme-ink);text-align:left;border-radius:8px;align-items:center;gap:11px;padding:15px 14px;font-size:14px;display:flex}.ptv-space-menu button+button{border-top:1px solid var(--theme-line);border-radius:0}.ptv-space-menu button:hover{background:var(--theme-surface-alt)}.ptv-space-menu button.danger{color:var(--theme-danger)}.ptv-rename-dialog{width:380px}.ptv-rename-dialog label{color:var(--theme-ink);flex-direction:column;gap:8px;padding:18px 2px 4px;font-size:12px;display:flex}.ptv-rename-dialog input{border:1px solid var(--theme-line);background:var(--theme-surface-alt);height:40px;color:var(--theme-ink);border-radius:7px;outline:0;padding:0 11px;font-size:13px}.ptv-rename-dialog input:focus{border-color:var(--theme-accent);box-shadow:0 0 0 2px #8aa95a33}.ptv-rename-actions{justify-content:flex-end;gap:8px;padding-top:16px;display:flex}.ptv-rename-actions button{color:var(--theme-ink);border-radius:7px;padding:8px 15px;font-size:12px}.ptv-rename-actions button:last-child{background:var(--theme-accent);color:var(--theme-on-accent);font-weight:700}.ptv-rename-actions button:disabled{cursor:not-allowed;opacity:.55}.ptv-delete-dialog{width:380px}.ptv-delete-dialog p{line-height:1.7}.ptv-delete-submit{font-weight:700;background:var(--theme-accent)!important;color:var(--theme-on-accent)!important}.ptv-inspect-input{color:var(--theme-ink);gap:6px;padding:9px 0;font-size:12px;display:grid}.ptv-inspect-input input,.ptv-inspect-input textarea{border:1px solid var(--theme-line);background:var(--theme-surface-alt);width:100%;color:var(--theme-ink);font:inherit;border-radius:6px;outline:0;padding:8px 9px;font-size:11px}.ptv-inspect-input textarea{resize:vertical;height:70px;line-height:1.45}.ptv-inspect-input input:focus,.ptv-inspect-input textarea:focus{border-color:var(--theme-accent)}.ptv-inspect-select-row{color:var(--theme-ink);justify-content:space-between;align-items:center;padding:9px 0;font-size:12px;display:flex;position:relative}.ptv-inspect-select{position:relative}.ptv-inspect-select>button{background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:13px;align-items:center;gap:3px;padding:5px 8px;font-size:11px;display:flex}.ptv-inspect-options{z-index:3;border:1px solid var(--theme-line);background:var(--theme-surface-alt);border-radius:8px;min-width:150px;max-height:220px;padding:5px;position:absolute;top:calc(100% + 5px);right:0;overflow:auto;box-shadow:0 12px 28px #000b}.ptv-inspect-options button{width:100%;color:var(--theme-ink);text-align:left;white-space:nowrap;border-radius:5px;padding:7px 8px;font-size:11px;display:block}.ptv-inspect-options button:hover,.ptv-inspect-options button.active{background:var(--theme-surface-alt);color:var(--theme-accent)}.ptv-inspect-note{color:var(--theme-muted);margin:3px 0 0;font-size:10px;line-height:1.45}.ptv-inspect-error{background:var(--theme-surface-alt);color:var(--theme-danger);border-radius:6px;margin:8px 0 0;padding:8px;font-size:10px;line-height:1.45}.ptv-generate:disabled{cursor:not-allowed;opacity:.48}.ptv-image-inspector{overflow:visible}.ptv-image-inspector .ptv-inspect-options{z-index:30}.ptv-inspector-loading{z-index:40;background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:12px;display:flex;position:absolute;inset:0}.ptv-inspector-loading .ptv-upload-spinner{--kind:#a7bd55}.ptv-flow-title>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ptv-flow-title>span svg{flex:none}.ptv-agent{z-index:21}.ptv-agent.active{border-color:var(--theme-line);background:var(--theme-surface-alt)}.ptv-agent-panel{z-index:20;border:1px solid var(--theme-line);background:var(--theme-paper);border-radius:12px;flex-direction:column;width:360px;height:min(650px,100vh - 120px);min-height:420px;display:flex;position:absolute;bottom:62px;right:16px;overflow:hidden;box-shadow:0 20px 60px #000b}.ptv-agent-head{border-bottom:1px solid var(--theme-line);height:46px;color:var(--theme-ink);flex:none;align-items:center;gap:9px;padding:0 14px;font-size:12px;display:flex}.ptv-agent-head span{color:var(--theme-blue);background:var(--theme-tint);border-radius:8px;margin-left:auto;padding:2px 6px;font-size:10px}.ptv-agent-head button{width:24px;height:24px;color:var(--theme-ink);border-radius:5px;place-items:center;display:grid}.ptv-agent-head button:hover{background:var(--theme-surface-alt)}.ptv-agent-panel .agent-body{min-height:0;padding-top:28px}.ptv-agent-panel .agent-body>button:disabled{cursor:wait;opacity:.6}.ptv-agent-panel .agent-input{flex:none}@media (width<=800px){.ptv-agent-panel{width:min(360px,100vw - 20px);height:min(600px,100vh - 110px);bottom:62px;right:10px}}.ptv-tabs{border-bottom:1px solid var(--theme-line);gap:14px;margin:22px 0 15px;display:flex}.ptv-tabs button{color:var(--theme-muted);padding:0 2px 10px;font-size:11px}.ptv-tabs .active{border-bottom:2px solid var(--theme-accent);color:var(--theme-ink)}.ptv-assets-title{padding:0 2px 12px}.ptv-assets-title>div{align-items:center;gap:12px;display:flex}.ptv-assets-title>div svg{color:var(--theme-muted)}.ptv-assets-filter{position:relative}.ptv-assets-filter>button{color:var(--theme-ink);border-radius:8px;align-items:center;gap:7px;padding:9px 10px;font-size:13px;display:flex}.ptv-assets-filter>button:hover,.ptv-assets-filter>button.active{background:var(--theme-surface-alt)}.ptv-assets-filter-menu{z-index:4;border:1px solid var(--theme-line);background:var(--theme-surface-alt);border-radius:14px;width:190px;padding:8px;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 18px 40px #000b}.ptv-assets-filter-menu button{width:100%;color:var(--theme-ink);text-align:left;border-radius:8px;padding:10px 12px;font-size:13px;display:block}.ptv-assets-filter-menu button:hover,.ptv-assets-filter-menu button.active{background:var(--theme-surface-alt)}.ptv-asset-row{border-radius:8px;gap:10px;min-height:68px;padding:7px;font-size:12px}.ptv-asset-row>svg:last-child{flex:none;margin-left:auto}.ptv-asset-thumb{object-fit:cover;background:var(--theme-surface-alt);border-radius:11px;flex:none;width:62px;height:62px;display:block}.ptv-asset-thumb-icon{border:1px solid var(--theme-line);color:var(--asset-color);background:var(--theme-surface-alt);place-items:center;display:grid}.ptv-asset-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ptv-assets-empty{color:var(--theme-muted);text-align:center;padding:38px 10px;font-size:11px}.ptv-assets{flex-direction:column;display:flex}.ptv-assets-list{overscroll-behavior:contain;scrollbar-color:var(--theme-line) transparent;scrollbar-width:thin;flex:1;min-height:0;padding-right:3px;overflow:hidden auto}.ptv-assets footer{flex:none;padding-top:10px;position:static}.ptv-asset-media{flex:none;width:62px;height:62px;display:block;position:relative}.ptv-asset-media .ptv-asset-thumb{width:100%;height:100%}.ptv-asset-duration{color:#fff;background:#000000a8;border-radius:3px;padding:2px 4px;font-size:10px;line-height:1.1;position:absolute;bottom:4px;right:4px}.ptv-asset-thumb-icon{justify-content:center;align-items:center;line-height:0;display:flex}.ptv-asset-row .ptv-asset-thumb-icon svg{color:inherit;flex:none;margin-left:0;display:block}.video-composition{min-width:0}.video-composition .panel-title{flex-wrap:wrap;gap:10px}.video-composition select{background:var(--theme-surface-alt);color:var(--theme-ink);border:1px solid var(--theme-line);border-radius:7px;padding:6px}.video-composition .shot-video-spinner{width:15px;height:15px}.composition-preview{background:var(--theme-paper);border-radius:12px;justify-content:center;align-items:center;min-height:220px;display:flex;overflow:hidden}.composition-preview>video{object-fit:contain;width:auto;max-width:100%;max-height:540px;display:block}.composition-empty{color:var(--theme-muted);text-align:center;flex-direction:column;align-items:center;gap:16px;padding:40px 16px;display:flex}.composition-timeline{gap:8px;padding:12px 0;display:flex;overflow-x:auto}.composition-timeline>button{background:var(--theme-surface-alt);border:2px solid #0000;border-radius:7px;flex:0 0 140px;height:82px;padding:0;position:relative;overflow:hidden}.composition-timeline>button.active{border-color:var(--theme-accent)}.composition-timeline img,.composition-timeline video{object-fit:cover;width:100%;height:100%;display:block}.composition-timeline span{color:#eef7f5;text-align:left;background:#000a;padding:5px;font-size:11px;position:absolute;bottom:0;left:0;right:0}.composition-hint{color:var(--theme-muted);margin:0 0 16px;font-size:12px}.composition-history{background:var(--theme-surface-alt);border-radius:12px;padding:14px}.composition-history-title{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.composition-history h3{color:var(--theme-ink);margin:0;font-size:14px}.composition-history button,.composition-history a{color:var(--theme-ink);align-items:center;gap:5px;font-size:12px;text-decoration:none;display:inline-flex}.composition-history>article{background:var(--theme-surface);border:1px solid #0000;border-radius:9px;margin-top:10px;padding:12px}.composition-history>article.active{border-color:var(--theme-accent)}.composition-version-summary,.composition-version-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.composition-version-summary{color:var(--theme-muted);font-size:11px}.composition-version-summary strong{color:var(--theme-accent);font-size:20px}.composition-version-summary time{margin-left:auto}.composition-version-actions{color:var(--theme-muted);margin-top:10px;font-size:12px}.composition-version-actions details{margin-right:auto}.composition-version-actions summary{cursor:pointer}.composition-status.completed,.composition-status.running{color:var(--theme-accent)}.composition-status.failed{color:var(--theme-danger)}.composition-history p{color:var(--theme-muted);overflow-wrap:anywhere;font-size:12px}.composition-version-modal::backdrop{background:#000000b8}.composition-version-modal video{object-fit:contain}.composition-version-modal{max-height:calc(100dvh - 32px);margin:auto;position:fixed;inset:0;overflow:auto}.assistant-conversations{z-index:2;border-bottom:1px solid var(--theme-line);background:var(--theme-paper);flex:none;position:relative}.assistant-conversations-head{align-items:center;gap:8px;padding:10px 12px;display:flex}.assistant-conversations-head button{color:var(--theme-ink)}.assistant-conversations-trigger{text-align:left;flex:1;align-items:center;gap:10px;min-width:0;display:flex}.assistant-conversations-trigger strong{text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:13px;overflow:hidden}.assistant-conversations-trigger span{background:var(--theme-surface-alt);color:var(--theme-accent);border-radius:12px;padding:1px 8px;font-size:11px}.assistant-conversations-trigger svg{transition:transform .15s}.assistant-conversations-trigger .is-expanded{transform:rotate(180deg)}.assistant-conversations-add{background:var(--theme-surface-alt);border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.assistant-conversations-add:hover{color:var(--theme-accent);background:var(--theme-surface-alt)}.assistant-conversations button:disabled{opacity:.45;cursor:not-allowed}.assistant-conversation-list{background:var(--theme-surface);border-bottom:1px solid var(--theme-line);max-height:280px;position:absolute;top:100%;left:0;right:0;overflow:auto;box-shadow:0 12px 24px #0006}.assistant-conversation-row{background:var(--theme-surface);border-left:2px solid #0000;align-items:center;display:flex}.assistant-conversation-row:hover,.assistant-conversation-row:focus-within{background:var(--theme-surface-alt)}.assistant-conversation-row.is-active{border-left-color:var(--theme-accent);background:var(--theme-surface-alt)}.assistant-conversation-select{text-align:left;min-width:0;color:var(--theme-ink);flex:1;padding:11px 12px}.assistant-conversation-select strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.assistant-conversation-select small{color:var(--theme-muted);margin-top:4px;font-size:10px;display:block}.assistant-conversation-row.is-active strong{color:var(--theme-accent)}.assistant-conversation-actions{opacity:0;pointer-events:none;gap:2px;padding-right:8px;display:flex}.assistant-conversation-row:hover .assistant-conversation-actions,.assistant-conversation-row:focus-within .assistant-conversation-actions{opacity:1;pointer-events:auto}.assistant-conversation-actions button{width:27px;height:30px;color:var(--theme-muted);border-radius:5px;place-items:center;display:grid}.assistant-conversation-actions button:hover{background:var(--theme-surface-alt);color:var(--theme-ink)}.assistant-conversations-status{color:var(--theme-muted);margin:0;padding:8px 12px;font-size:11px}.assistant-conversations-status button{color:var(--theme-accent);margin-left:8px;text-decoration:underline}.assistant-conversation-dialog{width:min(380px,100vw - 32px)}.assistant-conversation-dialog label{flex-direction:column;gap:9px;font-size:12px;display:flex}.assistant-conversation-dialog input{border:1px solid var(--theme-line);background:var(--theme-surface-alt);width:100%;height:38px;color:var(--theme-ink);border-radius:7px;outline:none;padding:0 10px}.assistant-conversation-dialog input:focus{border-color:var(--theme-accent)}.assistant-conversation-dialog p{color:var(--theme-ink);overflow-wrap:anywhere;font-size:13px;line-height:1.7}.assistant-conversation-dialog-actions{justify-content:flex-end;gap:9px;margin-top:22px;display:flex}.assistant-conversation-dialog-actions button{border:1px solid var(--theme-line);background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:7px;padding:8px 16px;font-size:12px}.assistant-conversation-dialog-actions .is-primary,.assistant-conversation-dialog-actions .is-danger{background:var(--theme-accent);color:var(--theme-on-accent)}.assistant-conversation-dialog button:disabled{opacity:.45;cursor:not-allowed}.editor-agent .agent-body.has-messages{padding-top:14px}@media (hover:none){.assistant-conversation-actions{opacity:1;pointer-events:auto}}.guide-btn[href]{color:var(--theme-ink);white-space:nowrap;flex-shrink:0;align-items:center;gap:6px;font-size:13px;text-decoration:none;display:inline-flex}.guide-btn[href]:focus-visible{outline:2px solid var(--theme-focus);outline-offset:4px;border-radius:4px}.editor-top .guide-btn[href]{padding:7px 9px;font-size:12px}.ptv-bottom-bar .guide-btn[href]{width:36px;height:36px;color:inherit;border-radius:7px;place-items:center;display:grid}.ptv-bottom-bar .guide-btn[href]:hover{background:var(--theme-tint)}.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}.ptv-reference-strip{align-items:center;gap:8px;width:100%;max-width:100%;padding:3px 3px 5px 0;display:flex;overflow:hidden}.ptv-reference-strip.is-compact{gap:6px;padding:10px 12px 4px}.ptv-reference-scroll{scrollbar-width:none;flex:1;align-items:center;gap:8px;min-width:0;display:flex;overflow-x:auto}.ptv-reference-scroll::-webkit-scrollbar{display:none}.ptv-reference-strip:not(.is-compact) .ptv-reference-scroll{padding:3px 4px 6px 0}.is-compact .ptv-reference-scroll{gap:6px}.ptv-reference-add{border:1px dashed var(--theme-line);background:var(--theme-surface-alt);width:40px;height:40px;color:var(--theme-ink);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.ptv-video-reference-area .ptv-reference-add{flex:none;width:40px;height:40px;display:inline-flex;position:static;bottom:auto;left:auto}.ptv-reference-add:hover{border-color:var(--theme-accent);background:var(--theme-surface-alt);color:var(--theme-accent)}.ptv-reference-add:disabled{cursor:wait;opacity:.45}.ptv-reference-item{--reference-color:#50bce8;border:1px solid var(--reference-color);background:var(--theme-surface-alt);width:40px;height:40px;color:var(--reference-color);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.ptv-reference-item.is-video{--reference-color:#ab8ceb;background:var(--theme-surface-alt)}.ptv-reference-item.is-audio{--reference-color:#ed83aa;background:var(--theme-surface-alt)}.ptv-reference-item.is-text{border:0;border-radius:10px;gap:5px;width:auto;max-width:100%;height:30px;padding:0 9px}.ptv-reference-item.is-pending{opacity:.7;border-style:dashed}.ptv-reference-item img,.ptv-reference-item video{object-fit:cover;border-radius:9px;width:100%;height:100%}.ptv-reference-text{text-overflow:ellipsis;white-space:nowrap;max-width:130px;font-size:12px;overflow:hidden}.ptv-reference-badge{border:1px solid var(--theme-line);background:var(--reference-color);min-width:15px;height:15px;color:var(--theme-ink);border-radius:50%;justify-content:center;align-items:center;padding:0 3px;font-size:9px;font-weight:700;display:flex;position:absolute;bottom:-4px;right:-4px}.is-compact .ptv-reference-item,.is-compact .ptv-reference-add{border-radius:7px;width:25px;height:25px}.is-compact .ptv-reference-item img{border-radius:6px}.is-compact .ptv-reference-item.is-text{gap:3px;width:auto;height:23px;padding:0 6px}.is-compact .ptv-reference-text{max-width:70px;font-size:10px}.is-compact .ptv-reference-badge{min-width:12px;height:12px;padding:0 2px;font-size:8px}.ptv-reference-empty{color:var(--theme-muted);font-size:11px;line-height:1.6}.ptv-prompt.ptv-video-prompt{border:1px solid var(--theme-line);background:var(--theme-surface-alt);border-radius:12px;flex-direction:column;min-height:240px;display:flex}.ptv-inspector.ptv-video-inspector{width:336px;overflow:visible}.ptv-video-prompt textarea{background:0 0;flex:1;min-height:175px}.ptv-video-reference-editor{min-height:175px;color:var(--theme-ink);white-space:pre-wrap;overflow-wrap:anywhere;outline:0;flex:1;padding:12px;font-size:12px;line-height:2}.ptv-video-reference-editor:empty:before{content:attr(data-placeholder);color:var(--theme-muted);pointer-events:none}.ptv-video-reference-token{background:var(--theme-tint);max-width:100%;height:25px;color:var(--theme-blue);vertical-align:middle;white-space:nowrap;-webkit-user-select:none;user-select:none;border-radius:8px;align-items:center;gap:4px;margin:3px 2px;padding:0 7px 0 3px;font-size:11px;line-height:25px;display:inline-flex;position:relative;overflow:visible}.ptv-video-reference-token.is-text{background:var(--theme-surface-alt);color:var(--theme-blue);padding-left:7px}.ptv-video-reference-token.is-video,.ptv-video-reference-token.is-audio{background:var(--theme-surface-alt);color:var(--theme-blue)}.ptv-video-reference-token img,.ptv-video-reference-token video{object-fit:cover;border-radius:6px;width:21px;height:21px}.ptv-video-reference-token-label{white-space:nowrap;min-width:0;overflow:hidden}.ptv-video-reference-preview{z-index:4;border:1px solid var(--theme-line);background:var(--theme-surface-alt);width:max-content;max-width:min(360px,100vw - 32px);color:var(--theme-ink);opacity:0;pointer-events:none;border-radius:8px;padding:6px;transition:opacity .15s,transform .15s;display:block;position:absolute;top:50%;right:calc(100% + 8px);transform:translate(4px,-50%);box-shadow:0 12px 28px #000b}.ptv-video-reference-token:hover .ptv-video-reference-preview{opacity:1;transform:translateY(-50%)}.ptv-video-reference-preview img{object-fit:contain;background:var(--theme-paper);border-radius:5px;width:auto;max-width:min(360px,100vw - 32px);height:auto;max-height:min(280px,100vh - 32px);display:block}.ptv-video-reference-preview-content{width:max-content;max-width:min(360px,100vw - 32px);max-height:150px;color:var(--theme-ink);white-space:pre-wrap;overflow-wrap:break-word;font-size:11px;line-height:1.6;display:block;overflow:auto}.ptv-video-reference-token-icon{opacity:.9;border:2px solid;border-radius:50%;width:14px;height:14px}.ptv-video-reference-menu{z-index:150;border:1px solid var(--theme-line);background:var(--theme-surface-alt);border-radius:8px;width:min(340px,100vw - 16px);max-height:250px;padding:5px;position:fixed;overflow:auto;box-shadow:0 14px 34px #000b}.ptv-video-reference-menu button{width:100%;color:var(--theme-ink);text-align:left;border-radius:6px;align-items:center;gap:8px;padding:7px;display:flex}.ptv-video-reference-menu button:hover{background:var(--theme-surface-alt)}.ptv-video-reference-menu img{object-fit:cover;border-radius:6px;width:32px;height:32px}.ptv-video-reference-menu>svg{color:var(--theme-blue);flex:none}.ptv-video-reference-menu span{gap:2px;min-width:0;display:grid}.ptv-video-reference-menu b,.ptv-video-reference-menu small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ptv-video-reference-menu small{color:var(--theme-muted);font-size:10px}.ptv-video-reference-menu>div{color:var(--theme-muted);padding:9px;font-size:11px}.ptv-video-reference-area{padding:8px 10px 10px}@media (width<=800px){.ptv-inspector.ptv-video-inspector{width:min(336px,100vw - 20px)}}.ptv-flow-node{position:relative}.ptv-flow-node.ptv-video-node{width:375px}.ptv-video-node .ptv-flow-empty,.ptv-video-node .ptv-flow-upload:not(.has-asset){height:180px}.ptv-video-node .ptv-flow-upload.has-asset video{max-height:540px}@media (width<=800px){.ptv-flow-node.ptv-video-node{width:330px}}.ptv-flow-text-input{resize:none;background:var(--theme-surface-alt);width:100%;height:120px;color:var(--theme-ink);border:0;border-radius:7px;outline:0;padding:13px;font-size:11px;line-height:1.5;display:block}.ptv-flow-text-input::placeholder{color:var(--theme-muted)}.ptv-flow-text-input:focus{box-shadow:inset 0 0 0 1px var(--kind)}.ptv-add-menu{left:50%;transform:translate(-50%)}.ptv-add-menu.at-pointer{bottom:auto;transform:none}.ptv-node-toolbar{z-index:2;border:1px solid var(--theme-line);background:var(--theme-surface-alt);border-radius:18px;align-items:center;gap:8px;padding:10px 12px;display:flex;position:absolute;bottom:calc(100% + 10px);left:50%;right:auto;transform:translate(-50%);box-shadow:0 13px 30px #0009}.ptv-node-toolbar button{width:40px;height:40px;color:var(--theme-ink);border-radius:10px;place-items:center;display:grid}.ptv-node-toolbar button:hover,.ptv-node-toolbar button.active{background:var(--theme-surface-alt);color:var(--theme-ink)}.ptv-node-toolbar button:last-child:hover{color:var(--theme-danger)}.ptv-flow-upload.is-local-media{cursor:pointer;overflow:hidden}.ptv-flow-upload.is-local-media:not(.has-asset):hover{border-color:var(--kind);background:var(--theme-surface-alt)}.ptv-flow-upload.is-local-media.has-asset{cursor:default}.ptv-flow-upload.has-asset{background:var(--theme-surface);border-style:solid;height:auto;min-height:0;padding:0}.ptv-flow-upload.has-asset img,.ptv-flow-upload.has-asset video{object-fit:contain;width:100%;height:auto;max-height:360px;display:block}.ptv-flow-audio-node{width:340px;box-shadow:none;background:0 0;border:0}.ptv-flow-audio-node.selected{box-shadow:none;border:0}.ptv-flow-audio-node .react-flow__handle{border-color:var(--theme-line);background:var(--theme-accent)}.ptv-flow-audio-player{padding-top:28px;position:relative}.ptv-flow-audio-meta{max-width:calc(100% - 18px);color:var(--theme-muted);align-items:center;gap:8px;font-size:14px;line-height:20px;display:flex;position:absolute;top:0;left:9px}.ptv-flow-audio-meta strong{color:var(--theme-muted);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.ptv-flow-audio-meta span{color:var(--theme-muted);font-variant-numeric:tabular-nums}.ptv-flow-audio-card{border:2px solid var(--theme-line);background:var(--theme-surface);border-radius:22px;min-height:180px;padding:28px 28px 24px}.ptv-flow-audio-node.selected .ptv-flow-audio-card{border-color:var(--theme-accent);box-shadow:0 0 0 1px #2098ff}.ptv-flow-waveform{justify-content:center;align-items:center;gap:4px;height:62px;margin-bottom:22px;display:flex}.ptv-flow-waveform i{background:var(--theme-surface-alt);border-radius:3px;width:5px;min-height:8px}.ptv-flow-audio-controls{grid-template-columns:54px 1fr auto;align-items:center;gap:16px;display:grid}.ptv-flow-audio-controls button{background:var(--theme-surface);width:54px;height:54px;color:var(--theme-ink);border-radius:50%;place-items:center;display:grid}.ptv-flow-audio-controls button:hover{background:var(--theme-surface)}.ptv-flow-audio-controls>span{color:var(--theme-ink);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:17px}.ptv-flow-audio-controls em{background:var(--theme-surface-alt);color:var(--theme-ink);border-radius:10px;padding:6px 12px;font-size:12px;font-style:normal;font-weight:700}.ptv-flow-audio-card audio{display:none}.ptv-flow-video{width:100%;line-height:0;position:relative}.ptv-flow-video:after{z-index:0;content:"";opacity:0;pointer-events:none;background:linear-gradient(#0000 0%,#0000001a 25%,#000000bf 100%);transition:opacity .15s;position:absolute;inset:35% 0 0}.ptv-video-controls{z-index:1;opacity:0;pointer-events:none;justify-content:space-between;align-items:center;transition:opacity .15s;display:flex;position:absolute;bottom:8px;left:8px;right:8px}.ptv-flow-video:hover .ptv-video-controls,.ptv-flow-video:focus-within .ptv-video-controls{opacity:1;pointer-events:auto}.ptv-flow-video:hover:after,.ptv-flow-video:focus-within:after{opacity:1}.ptv-video-controls button{width:30px;height:30px;color:var(--theme-ink);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#050607a6;border:0;border-radius:50%;place-items:center;display:grid}.ptv-video-controls button:hover{background:#000000d9}.ptv-video-controls button svg{color:var(--theme-ink)}.ptv-flow-upload.is-uploading,.ptv-flow-image-generating{color:var(--theme-ink);gap:10px}.ptv-flow-image-generating .ptv-upload-spinner{flex:0 0 26px;align-self:center;padding:0}.ptv-flow-assistant{box-sizing:border-box;overscroll-behavior-y:contain;touch-action:pan-y;scrollbar-color:var(--theme-line) transparent;scrollbar-width:thin;height:auto;min-height:120px;max-height:360px;color:var(--theme-ink);justify-content:flex-start;align-items:stretch;gap:9px;padding:12px;overflow:hidden auto}.ptv-flow-assistant>b,.ptv-flow-assistant>p{white-space:pre-wrap;overflow-wrap:anywhere;flex:none;margin:0;font-size:11px;line-height:1.6}.ptv-flow-assistant>b{color:var(--theme-ink)}.ptv-flow-assistant-loading{color:var(--theme-ink);align-items:center;gap:8px;font-size:11px;display:flex}.ptv-flow-assistant-loading .ptv-upload-spinner{flex:0 0 17px;width:17px;height:17px}.ptv-flow-assistant-error{color:var(--theme-danger);font-size:11px}.ptv-upload-spinner{border:2px solid var(--theme-line);border-top-color:var(--kind);border-radius:50%;width:26px;height:26px;animation:.8s linear infinite ptv-upload-spin}@keyframes ptv-upload-spin{to{transform:rotate(360deg)}}.feedback-mask{z-index:40;background:#000a;grid-template-columns:minmax(0,1fr)}.feedback-dialog{border:1px solid var(--theme-line);background:var(--theme-surface);width:580px;max-width:100%;max-height:calc(100dvh - 36px);color:var(--theme-ink);border-radius:16px;justify-self:center;min-width:0;padding:28px;overflow-y:auto;box-shadow:0 25px 90px #0008}.feedback-dialog:focus{outline:none}.feedback-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.feedback-heading h2{margin:0;font-size:21px}.feedback-heading button{width:32px;height:32px;color:var(--theme-muted);border-radius:6px;place-items:center;display:grid}.feedback-heading button:hover{background:var(--theme-surface-alt)}.feedback-types{border:0;min-width:0;margin:0 0 28px;padding:0}.feedback-types legend,.feedback-field>label{margin-bottom:12px;font-size:14px;font-weight:500}.feedback-required{color:var(--theme-danger)}.feedback-types>div{border:1px solid var(--theme-line);border-radius:9px;max-width:100%;display:inline-flex;overflow:hidden}.feedback-types label{cursor:pointer;position:relative}.feedback-types label+label{border-left:1px solid var(--theme-line)}.feedback-types input{opacity:0;width:1px;height:1px;position:absolute}.feedback-types label span{color:var(--theme-muted);padding:10px 18px;font-size:14px;display:block}.feedback-types input:checked+span{background:var(--theme-accent);color:var(--theme-on-accent)}.feedback-types input:focus-visible+span{outline:2px solid var(--theme-focus);outline-offset:-3px}.feedback-types:disabled label{cursor:not-allowed;opacity:.55}.feedback-field{margin-bottom:26px}.feedback-field>label{display:block}.feedback-optional{color:var(--theme-muted);font-weight:400}.feedback-field textarea,.feedback-field input{border:1px solid var(--theme-line);background:var(--theme-surface-alt);width:100%;color:var(--theme-ink);border-radius:9px;padding:12px 14px;font-size:14px;line-height:1.6;display:block}.feedback-field textarea{resize:vertical;min-height:156px;max-height:280px}.feedback-field textarea::placeholder,.feedback-field input::placeholder{color:var(--theme-muted)}.feedback-field textarea[aria-invalid=true]{border-color:var(--theme-danger)}.feedback-count{text-align:right;color:var(--theme-muted);font-variant-numeric:tabular-nums;margin-top:6px;font-size:12px;display:block}.feedback-field p{color:var(--theme-muted);margin:7px 0 0;font-size:12px}.feedback-error{color:var(--theme-danger);margin:-10px 0 16px;font-size:13px;line-height:1.6}.feedback-actions{justify-content:flex-end;gap:12px;margin-top:30px;display:flex}.feedback-actions button,.feedback-success>button{border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:11px 20px;font-size:14px;display:inline-flex}.feedback-cancel{background:var(--theme-surface-alt);color:var(--theme-ink)}.feedback-primary{background:var(--theme-action);color:var(--theme-on-action);font-weight:500}.feedback-primary:not(:disabled):hover{background:var(--theme-accent-hover)}.feedback-success{text-align:center;padding:14px 0 12px}.feedback-success-icon{background:var(--theme-tint);width:64px;height:64px;color:var(--theme-accent);border-radius:50%;place-items:center;margin:0 auto 20px;display:grid}.feedback-success h3{margin:0 0 12px;font-size:19px}.feedback-success p{color:var(--theme-muted);margin:0 0 30px;font-size:14px;line-height:1.7}.feedback-spinner{animation:1s linear infinite feedback-spin}@keyframes feedback-spin{to{transform:rotate(360deg)}}@media (width<=600px){.feedback-dialog{padding:22px 18px}.feedback-heading{margin-bottom:22px}.feedback-types label span{padding:10px 14px;font-size:13px}.feedback-field textarea{min-height:140px}}@media (prefers-reduced-motion:reduce){.feedback-spinner{animation:none}}.auth-consent{color:var(--theme-muted);align-items:flex-start;gap:8px;margin:8px 0 16px;font-size:13px;line-height:1.8;display:flex}.auth-consent input{width:16px;height:16px;accent-color:var(--theme-action);cursor:pointer;flex-shrink:0;margin:4px 0 0}.auth-consent label{cursor:pointer}.auth-consent a{color:var(--theme-link);text-decoration:none}.auth-consent a:hover{text-decoration:underline}.auth-consent input:focus-visible,.auth-consent a:focus-visible{outline:2px solid var(--theme-focus);outline-offset:3px}.points-member .plans{grid-template-columns:repeat(4,minmax(0,1fr))}.points-member .member-banner span{margin-top:8px;display:block}.points-summary,.points-rules{border:1px solid var(--theme-line);background:var(--theme-surface);border-radius:16px;width:calc(100% - 36px);max-width:1100px;margin:24px auto 0;padding:24px}.points-summary h2{align-items:center;gap:12px;display:flex}.points-summary p,.points-rules p{color:var(--theme-ink);line-height:1.8}.points-totals{flex-wrap:wrap;gap:24px;padding:16px 0;display:flex}.points-totals strong{color:var(--theme-accent);font-size:24px}.points-packs{width:calc(100% - 36px);max-width:1100px;margin:auto}.points-grants,.points-packs{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;display:grid}.points-grants article{border:1px solid var(--theme-line);border-radius:10px;flex-direction:column;gap:8px;padding:16px;display:flex}.points-grants small,.points-ledger small{color:var(--theme-muted);overflow-wrap:anywhere;margin-top:6px;display:block}.points-ledger-wrap{overflow-x:auto}.points-member button:disabled{cursor:default;opacity:.55}.points-quote{border:1px solid var(--theme-line);background:var(--theme-tint);color:var(--theme-accent);border-radius:8px;margin:8px 0;padding:10px 12px;font-size:12px;line-height:1.8}.points-quote span,.points-quote small{display:block}.points-quote a{color:var(--theme-accent);text-decoration:underline}@media (width<=1000px){.points-member .plans{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.points-member .plans{grid-template-columns:1fr}.points-summary{padding:16px}}.home-user-menu{flex-shrink:0;position:relative}.home-user-popover{z-index:8;width:min(340px,100vw - 32px);padding-top:12px;position:absolute;top:100%;right:0}.home-user-card{border:1px solid var(--theme-line);background:var(--theme-surface);border-radius:16px;max-height:calc(100dvh - 100px);padding:20px;overflow-y:auto;box-shadow:0 20px 60px #0008}.home-user-profile{align-items:center;gap:12px;min-width:0;display:flex}.home-user-avatar{background:var(--theme-accent);width:48px;height:48px;color:var(--theme-on-accent);border-radius:50%;flex-shrink:0;place-items:center;font-size:21px;font-weight:700;display:grid}.home-user-profile>div{flex:1;min-width:0}.home-user-profile strong,.home-user-profile small{overflow-wrap:anywhere;display:block}.home-user-profile strong{font-size:15px}.home-user-profile small{color:var(--theme-muted);margin-top:5px;font-size:12px}.home-user-profile>button{width:30px;height:30px;color:var(--theme-muted);border-radius:6px;flex-shrink:0;place-items:center;display:grid}.home-user-balance{border:1px solid var(--theme-line);background:var(--theme-surface-alt);border-radius:10px;margin:20px 0 12px;padding:14px}.home-user-balance .credit-pill{background:0 0;padding:0;font-size:18px}.home-user-balance>button:last-child{border-top:1px solid var(--theme-line);width:100%;color:var(--theme-muted);justify-content:space-between;align-items:center;margin-top:12px;padding:10px 0 0;font-size:12px;display:flex}.home-user-actions{flex-direction:column;gap:4px;display:flex}.home-user-actions>button{text-align:left;border-radius:8px;align-items:center;gap:12px;width:100%;padding:12px 8px;font-size:13px;display:flex}.home-user-actions>button>svg{color:var(--theme-muted);flex-shrink:0}.home-user-actions>button>svg:last-child:not(:first-child){margin-left:auto}.home-user-actions>button:hover,.home-user-profile>button:hover{background:var(--theme-tint)}.home-user-actions .home-user-logout{border-top:1px solid var(--theme-line);color:var(--theme-danger);border-radius:0 0 8px 8px;margin-top:8px}@media (width<=560px){.home-user-card{max-height:calc(100dvh - 160px)}}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}body{line-height:1.5}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{transition:background .16s,color .16s,border-color .16s,box-shadow .16s}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--theme-accent);outline-offset:4px}input:focus-visible,textarea:focus-visible{outline:2px solid var(--theme-accent);outline-offset:2px}input,textarea,select{accent-color:var(--theme-accent)}.topbar{border-bottom:1px solid var(--theme-line);background:var(--theme-paper);gap:16px;height:auto;min-height:80px;padding:22px 5%}.topbar nav{gap:20px}.brand-logo{background:var(--theme-accent);color:var(--theme-on-accent);transform:none}.brand em,.back-brand em{color:var(--theme-accent);background:var(--theme-tint);border-color:var(--theme-line)}.primary-nav,.submit-btn,.create-btn,.save-btn{background:var(--theme-accent);color:var(--theme-on-accent);box-shadow:none}.primary-nav:not(:disabled):hover,.submit-btn:not(:disabled):hover,.create-btn:not(:disabled):hover{background:var(--theme-accent-hover)}.credit-pill{color:var(--theme-accent);background:var(--theme-tint);border:1px solid var(--theme-line)}.user-chip span{color:var(--theme-on-accent);background:var(--theme-accent)}.theme-desk{z-index:1;position:relative}.theme-modes button{text-align:left;align-items:center;gap:12px;display:flex}.theme-modes button>span:not(.theme-mode-number){flex-direction:column;gap:3px;display:flex}.theme-modes strong{font-size:13px;font-weight:600}.theme-modes small{color:var(--theme-muted);font-size:10px}.theme-mode-number{font:11px ui-monospace,monospace}.theme-prompt{min-width:0}.theme-prompt>label{justify-content:space-between;align-items:center;gap:10px;font-size:13px;font-weight:600;display:flex}.theme-prompt>label>small{color:var(--theme-muted);font-size:10px;font-weight:400}.theme-prompt textarea{resize:none;width:100%;height:95px;color:var(--theme-ink);background:0 0;border:0;outline:0;margin:18px 0 10px;padding:0;font-size:14px;line-height:1.8}.theme-prompt textarea::placeholder{color:var(--theme-muted)}.theme-prompt-bottom,.theme-prompt-bottom>div{align-items:center;gap:12px;display:flex}.theme-prompt-bottom{justify-content:space-between}.theme-prompt-bottom>div{min-width:0}.theme-reference,.theme-type{color:var(--theme-muted);align-items:center;gap:6px;padding:6px 0;font-size:11px;display:flex}.theme-reference{min-width:0;max-width:180px}.theme-reference span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.theme-send{background:var(--theme-accent);color:var(--theme-on-accent);flex:none;align-items:center;gap:12px;padding:13px 20px;font-size:12px;font-weight:600;display:inline-flex}.theme-send:not(:disabled):hover{background:var(--theme-accent-hover)}.theme-feature-controls{align-items:center;gap:12px;display:flex}.theme-feature-controls>button{border:1px solid var(--theme-line);place-items:center;width:30px;height:30px;display:grid}.theme-feature-pagination{white-space:nowrap;font:12px ui-monospace,monospace}.theme-feature-pagination i{color:var(--theme-muted);font-size:10px;font-style:normal}.theme-feature-dots{gap:5px;display:flex}.theme-feature-dots button{width:20px;height:28px;padding:0;position:relative}.theme-feature-dots button:after{content:"";background:var(--theme-line);position:absolute;inset:12px 0}.theme-feature-dots .is-active:after{background:var(--theme-accent)}.theme-section-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px;display:flex}.theme-section-heading h2{margin:8px 0 0;font-size:25px;font-weight:500}.theme-section-heading>button{align-items:center;gap:12px;font-size:12px;display:flex}.theme-project{text-align:left;min-width:0}.theme-project-title{flex-direction:column;gap:7px;min-width:0;display:flex}.theme-project-title strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.theme-project-title small,.theme-project time,.theme-project-status{color:var(--theme-muted);font-size:11px}.theme-empty{border:1px dashed var(--theme-line);background:var(--theme-surface);text-align:left;align-items:center;gap:22px;width:100%;min-height:120px;padding:26px;display:flex}.theme-empty>span{flex-direction:column;gap:8px;display:flex}.theme-empty small{color:var(--theme-muted);font-size:12px}.theme-empty>svg:last-child{margin-left:auto}.toast,.editor-toast,.ptv-toast{border:1px solid var(--theme-line);box-shadow:0 10px 40px #0003}.toast{background:var(--theme-accent);color:var(--theme-on-accent)}.toast button{color:inherit}.auth-loading{background:var(--theme-paper);color:var(--theme-muted)}.auth-page{background:var(--theme-paper)}.auth-top .back-brand,.auth-top .lang-btn{color:var(--theme-ink)}.input-wrap{background:var(--theme-surface);border-color:var(--theme-line)}.input-wrap input:focus-visible{outline:0}.input-wrap:focus-within{border-color:var(--theme-accent);box-shadow:none}.auth-account-tabs{border-color:var(--theme-line);background:var(--theme-paper)}.auth-account-tabs button[aria-pressed=true]{color:var(--theme-accent);background:var(--theme-tint);box-shadow:none}.auth-method-tabs button[aria-pressed=true]{color:var(--theme-accent)}.form-error{color:var(--theme-danger);background:var(--theme-surface-alt);border-color:var(--theme-danger)}.space-page,.member-page,.account-page{background:var(--theme-paper)}.space-top{flex-wrap:wrap;height:auto;min-height:84px;padding:24px 4%}.space-top .space-search{flex:1;min-width:150px;max-width:260px}.space-grid{max-width:1500px;margin:auto}.space-card{background:var(--theme-surface)}.member-banner{background:var(--theme-tint);width:calc(100% - 36px)}.points-member .plans{width:calc(100% - 36px);padding:0}.points-member .plan-card p{height:auto;min-height:35px;line-height:1.6}.points-member .plan-card>button:disabled{background:var(--theme-surface-alt);color:var(--theme-muted);opacity:1}.points-member>p{width:calc(100% - 36px);max-width:1100px;margin:20px auto}.points-member>p .submit-btn{width:auto;padding:0 20px}.points-member .compare-title{width:calc(100% - 36px)}.points-ledger{background:var(--theme-surface)}.points-summary p,.points-rules p{color:var(--theme-muted);font-size:13px}.interactive-editor .editor-top{overflow-x:auto}.interactive-editor .editor-top>*{flex-shrink:0}.interactive-editor .editor-top h1{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.interactive-editor .shot-frames .frame-box:not(.has-image){background:var(--theme-surface-alt)!important}.interactive-editor .shot-frames .frame-box:not(.has-image) small{color:var(--theme-muted);text-shadow:none}.interactive-editor .studio-active{border-color:var(--theme-accent)!important;background:var(--theme-tint)!important;color:var(--theme-accent)!important}.interactive-editor .shot-bottom>button:last-child{color:var(--theme-on-accent);background:var(--theme-accent)}.agent-body>svg{color:var(--theme-accent)}.agent-body>button{background:var(--theme-paper)}.agent-input button{background:var(--theme-accent);color:var(--theme-on-accent)}.chat-user-message{background:var(--theme-tint);color:var(--theme-ink);border-color:var(--theme-line)}.chat-thinking,.chat-msg.is-pending .chat-thinking summary{color:var(--theme-accent)}.generated-poster .generated-mark{color:#f5eefa}.generated-poster .generated-mark button{color:#f5eefa;background:#251a30;border-color:#9076a1}.image-preview-close,.character-preview-dialog button{color:#f5eefa;background:#251a30}.interactive-editor .frame-preview,.character-reference-thumb button{color:#f5eefa}.shot-reference-token{background:var(--theme-tint)}.ptv-canvas,.ptv-react-flow{background:var(--theme-paper)}.ptv-canvas .ptv-logo{color:var(--theme-on-accent);background:var(--theme-accent);border-color:var(--theme-accent)}.ptv-canvas .ptv-credit{background:var(--theme-tint);color:var(--theme-accent);border-color:var(--theme-line)}.ptv-model-select{border:1px solid var(--theme-line);max-width:65%;color:var(--theme-ink);background:var(--theme-surface);border-radius:4px;padding:6px;font-size:11px}.ptv-generate{background:var(--theme-accent);color:var(--theme-on-accent)}.ptv-mini-map{background:var(--theme-surface)!important;border-color:var(--theme-line)!important}.ptv-mini-map .react-flow__minimap-mask{fill:#9b9b9b14}.type-cards label:focus-within span{outline:2px solid var(--theme-accent);outline-offset:2px}@media (width<=1000px){.interactive-editor{grid-template-columns:175px minmax(0,1fr)}.topbar nav{gap:14px}.space-top{gap:12px}}@media (width<=760px){.theme-prompt>label>small{display:none}.theme-reference{max-width:125px}.theme-type{font-size:10px}.theme-prompt-bottom,.theme-prompt-bottom>div{gap:8px}.theme-send{gap:8px;padding:11px 13px}.theme-prompt textarea{font-size:13px}.theme-section-heading{margin-bottom:18px}.space-top h1,.space-top>span{display:block}.space-top h1{white-space:nowrap;flex:1 0 auto;font-size:20px}.space-top .space-search{flex-basis:100%;max-width:none;margin-left:0}.space-top .guide-btn,.space-top .theme-btn{display:flex}}@media (width<=650px){.interactive-editor{display:block}.interactive-editor .editor-sidebar{padding:8px}.interactive-editor .editor-sidebar>button{flex-shrink:0;width:auto;padding:10px}.ptv-canvas{min-height:480px}.ptv-project-trigger{max-width:130px}.ptv-left-bar{bottom:72px;left:10px}.ptv-bottom-bar{bottom:16px;left:10px;transform:none}.ptv-agent{bottom:16px;right:10px}.ptv-add-menu:not(.at-pointer){bottom:64px;left:10px;transform:none}}@media (width<=440px){.topbar{padding:18px 5%}.topbar nav{flex-basis:100%;justify-content:flex-start;gap:12px}.topbar .user-chip{max-width:110px;margin-left:auto}.topbar .guide-btn,.topbar .lang-btn{justify-content:center;gap:0;width:26px;height:32px;padding:0;font-size:0}.theme-reference{max-width:95px}.theme-reference,.theme-type{font-size:9px}.theme-send{gap:5px;padding:10px;font-size:11px}.theme-send svg{width:14px}.theme-prompt-bottom>div{gap:6px}.theme-feature-dots button{width:16px}.app-shell footer .footer-right{float:none;margin-top:10px;display:block}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}::selection{background:var(--theme-action);color:var(--theme-on-action)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:var(--theme-focus)}.primary-nav,.submit-btn,.create-btn,.save-btn,.code-btn,.theme-send{background:var(--theme-action);color:var(--theme-on-action)}.primary-nav:not(:disabled):hover,.submit-btn:not(:disabled):hover,.create-btn:not(:disabled):hover,.theme-send:not(:disabled):hover{background:#cfbaff}.topbar{background:var(--theme-paper);min-height:76px;padding:19px 28px}.brand-logo{background:#a37ce9;border-radius:11px;width:35px;height:35px}.brand-logo svg{color:#1c102e}.brand strong{letter-spacing:-1px;font-weight:700}.brand em{color:var(--theme-muted);background:var(--theme-surface-alt);border-color:var(--theme-line)}.primary-nav,.credit-pill{border-radius:8px}.credit-pill{color:var(--theme-link);background:var(--theme-surface-alt)}.studio-home{background:var(--theme-paper)}.studio-home .topbar{z-index:2;position:relative}.studio-layout{flex:1;grid-template-columns:188px minmax(0,1fr);display:grid}.studio-sidebar{background:#100e16;border-right:1px solid #282232;flex-direction:column;align-self:start;height:calc(100vh - 76px);min-height:650px;padding:27px 13px 20px;display:flex;position:sticky;top:0}.studio-sidebar-label{color:#8f859f;letter-spacing:1px;margin:0 12px 12px;font-size:10px}.studio-sidebar>button{text-align:left;color:#b5acc5;border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;margin-bottom:5px;padding:12px;font-size:12px;display:flex}.studio-sidebar>button:hover{color:#f2eaff;background:#21182e}.studio-sidebar>button>svg:last-child:not(:first-child){opacity:.7;margin-left:auto}.studio-sidebar .studio-nav-current{color:#d8c5ff;background:#2a1b40;border-color:#503370}.studio-nav-current>span{background:#bc97ff;border-radius:50%;width:4px;height:4px;margin-left:auto}.studio-tools-label{margin-top:30px}.studio-sidebar .studio-tool-selected{color:#dfccff}.studio-sidebar-bottom{margin-top:auto;padding-top:40px}.studio-workflow{color:#aaa0ba;padding:15px 9px 20px}.studio-workflow small{font-size:9px}.studio-workflow>span{align-items:center;gap:9px;margin-top:15px;font-size:10px;display:flex}.studio-workflow i{background:#534461;width:12px;height:1px}.studio-sidebar-bottom>button{color:#d3b4ff;background:linear-gradient(110deg,#2d1d41,#1b1426);border:1px solid #483059;border-radius:9px;align-items:center;gap:8px;width:100%;padding:13px 10px;font-size:11px;display:flex}.studio-sidebar-bottom>button>svg:last-child{margin-left:auto}.studio-main{min-width:0}.studio-hero{isolation:isolate;background:#0e0b16;padding:50px 32px 0;position:relative;overflow:hidden}.studio-atmosphere{z-index:-1;pointer-events:none;position:absolute;inset:0}.studio-art{width:100%;height:100%;display:block}.studio-atmosphere>.studio-art{height:790px;position:absolute;top:-120px}.studio-atmosphere:after{content:"";background:linear-gradient(#0d0b1499 0%,#0d0b1488 40%,#0c0b11 93%);position:absolute;inset:0}.studio-ribbon{transition:transform 1.2s}.studio-aura{transition:cx 1.2s}.studio-hero-copy{text-align:center;position:relative}.studio-eyebrow{color:#d8bafa;letter-spacing:2px;background:#28153870;border:1px solid #9c6ed04d;border-radius:20px;align-items:center;gap:8px;padding:6px 12px;font-size:10px;display:inline-flex}.studio-hero h1{letter-spacing:-3px;color:#f3edff;margin:22px 0 16px;font-size:clamp(36px,4.8vw,68px);font-weight:750;line-height:1.2}.studio-hero h1>span{color:#c59aff;-webkit-text-fill-color:transparent;background:linear-gradient(110deg,#f0d4ff,#ac79f7 80%);-webkit-background-clip:text;background-clip:text}.studio-hero-copy>p{color:#e0d2f5;letter-spacing:1px;text-shadow:0 1px 8px #0b0715;margin:0;font-size:12px}.studio-home .theme-desk{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background:#15111de8;border:1px solid #7f549f;border-radius:17px;width:100%;max-width:850px;margin:65px auto 0;padding:0;box-shadow:0 0 0 5px #af75f608,0 18px 70px #0006,0 -15px 100px #ab63e420}.studio-home .theme-modes{border-bottom:1px solid #3d2d4b;gap:8px;padding:12px 14px;display:flex}.studio-home .theme-modes button{color:#a79ab7;border:1px solid #0000;border-radius:7px;gap:8px;padding:9px 13px}.studio-home .theme-modes button:hover{color:#e6d5fb;background:#241a31}.studio-home .theme-modes .is-selected{color:#e7d8ff;background:#382449;border-color:#674887}.studio-home .theme-mode-number,.studio-home .theme-modes small,.studio-home .theme-modes button>svg:last-child{display:none}.studio-home .theme-modes strong{font-size:12px;font-weight:500}.studio-home .theme-modes button>svg:first-of-type{width:15px;height:15px}.studio-home .theme-prompt{padding:22px 24px 19px}.studio-home .theme-prompt>label{color:#ebe2f6;font-size:14px;font-weight:500}.studio-home .theme-prompt>label>small{color:#9e8eaf}.studio-home .theme-prompt textarea{color:#f1e9fa;height:65px;margin:13px 0;padding:5px;font-size:13px}.studio-home .theme-prompt textarea::placeholder{color:#9e8eaf}.studio-home .theme-prompt textarea:focus-visible{border-radius:5px;outline:1px solid #9871c0}.studio-home .theme-reference{color:#b4a5c6;max-width:210px}.studio-home .theme-type{color:#cbb3e7;border:1px solid #3d2e4e;border-radius:6px;padding:5px 9px;font-size:10px}.theme-send{border-radius:8px;padding:12px 19px}.studio-feature-bar{border-bottom:1px solid #30263d;justify-content:space-between;align-items:center;gap:22px;max-width:850px;margin:23px auto 0;padding-bottom:26px;display:flex}.studio-feature-bar>button{text-align:left;align-items:center;gap:16px;min-width:0;padding:0;display:flex}.studio-on-air{color:#a192b1;flex:none;align-items:center;gap:6px;font-size:10px;display:inline-flex}.studio-on-air i{background:#bd91f8;border-radius:50%;width:4px;height:4px;box-shadow:0 0 8px #b55aff}.studio-feature-bar strong{color:#cfc1df;white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:400;overflow:hidden}.studio-feature-bar>button>svg{color:#ad86d6;flex:none}.studio-feature-bar .theme-feature-controls{flex:none;gap:8px}.studio-feature-bar .theme-feature-controls>button{color:#b69bcf;border:0;border-radius:6px;width:25px;height:25px}.studio-feature-bar .theme-feature-controls>button:hover{background:#32223f}.studio-feature-bar .theme-feature-pagination{font-size:10px}.studio-feature-bar .theme-feature-dots{display:none}.studio-home .theme-projects{padding:24px 32px 32px}.theme-section-heading{align-items:center;margin-bottom:20px}.theme-section-heading h2{letter-spacing:0;margin:5px 0 0;font-size:19px;font-weight:550}.theme-section-heading small{color:#95879f;font-size:10px}.theme-section-heading>button{color:#b8a6cf;border:1px solid #352b40;border-radius:7px;padding:8px 12px;font-size:11px}.theme-project-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;display:grid}.theme-project{background:#14111b;border:1px solid #302637;border-radius:11px;flex-direction:column;padding:0;display:flex;position:relative;overflow:hidden}.theme-project:hover{border-color:#9063ba;box-shadow:0 5px 25px #0003}.theme-project-cover{isolation:isolate;color:#d4baee;background:radial-gradient(at 50% 90%,#633281,#0000 75%),#1c1327;place-items:center;width:100%;height:112px;display:grid;position:relative;overflow:hidden}.theme-project-cover:before{content:"";z-index:-1;border:1px solid #9b6cbf55;border-radius:50%;width:100px;height:100px;position:absolute;top:30px;left:calc(50% - 50px);box-shadow:0 0 0 15px #9b6cbf0b,0 0 0 30px #9b6cbf08}.theme-project-cover:after{content:"";background:linear-gradient(#0000,#14111b);height:22px;position:absolute;bottom:0;left:0;right:0}.theme-project-cover>span{color:#a18bb8;font:9px ui-monospace,monospace;position:absolute;top:11px;left:13px}.theme-project-cover>svg{width:24px}.theme-project:nth-child(2n) .theme-project-cover{color:#b5bfed;background:radial-gradient(at 50% 90%,#3e436d,#0000 75%),#141724}.theme-project-title{gap:5px;width:100%;padding:15px 13px 10px}.theme-project-title small{color:#b793da;font-size:9px}.theme-project-title strong{font-size:12px;font-weight:500}.theme-project>time{color:#95899f;padding:0 13px 14px;font-size:9px}.theme-project-status{color:#c3afda;background:#131019c9;border:1px solid #67477f55;border-radius:4px;padding:2px 5px;font-size:9px;position:absolute;top:9px;right:9px}.theme-project>svg{color:#ac86d1;width:13px;position:absolute;bottom:14px;right:13px}.theme-empty{background:radial-gradient(at 10% 100%,#23152e,#0000 70%),#131019;border-color:#493554;border-radius:11px;min-height:120px}.theme-empty>svg:first-child{color:#c69ded;background:#33203f;border-radius:10px;width:40px;height:40px;padding:10px}.theme-empty:hover{border-color:#9366b6}.studio-signature{color:#9d8cae;border-top:1px solid #261f2d;justify-content:space-between;align-items:center;gap:20px;margin:0 32px;padding:23px 0 28px;font-size:11px;display:flex}.studio-signature small{color:#7f718d;font-size:9px}.studio-home footer{color:#8d7b9e;border-color:#261f2d;width:auto;max-width:none;margin-left:220px;margin-right:32px;padding:17px 0;font-size:9px}.auth-page{grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:8%;padding:110px 6% 40px;display:grid;position:relative}.auth-top{border-bottom:1px solid var(--theme-line);height:76px;top:0;left:6%;right:6%}.studio-auth-intro{isolation:isolate;color:#f4eafa;background:#160e20;border:1px solid #57316d;border-radius:20px;width:100%;min-height:580px;position:relative;overflow:hidden}.studio-auth-intro>.studio-art{z-index:-1;width:170%;position:absolute;inset:0 0 0 -35%}.studio-auth-intro:after{content:"";z-index:-1;background:linear-gradient(#0000 35%,#130d1dcf 70%);position:absolute;inset:0}.studio-auth-label{color:#d0afea;letter-spacing:1px;align-items:center;gap:10px;padding:25px 28px;font-size:10px;display:flex}.studio-auth-label>svg:last-child{margin-left:auto}.studio-auth-copy{position:absolute;inset:auto 34px 32px}.studio-auth-copy>span{color:#b298cb;font-size:11px}.studio-auth-copy h2{letter-spacing:-1px;margin:18px 0;font-size:clamp(30px,3.3vw,46px);font-weight:550;line-height:1.3}.studio-auth-copy p{color:#beacd0;font-size:12px}.studio-auth-copy small{color:#bc96dc;letter-spacing:1px;border-top:1px solid #6b468755;margin-top:28px;padding-top:20px;font-size:10px;display:block}.auth-card{width:420px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;justify-self:center;padding:26px 0}.auth-heading{text-align:left}.auth-heading h1{letter-spacing:-1px;font-size:30px;font-weight:600}.auth-account-tabs{background:#131019;border-radius:9px}.auth-account-tabs button[aria-pressed=true]{color:#e6d4fb;box-shadow:none;background:#35223f}.auth-method-tabs button[aria-pressed=true],.switch-auth button,.input-wrap input,.auth-top .brand-mark{color:var(--theme-link)}.auth-method-tabs button[aria-pressed=true]:after{background:var(--theme-link)}.input-wrap,.submit-btn{border-radius:8px;height:48px}.auth-card .submit-btn{height:48px}.switch-auth{text-align:left;margin-top:24px}.space-top h1{letter-spacing:-1px;font-size:22px;font-weight:550}.space-grid{gap:20px;padding:30px 4%}.space-card{border-radius:12px;min-height:225px;padding:24px}.space-card-icon{width:48px;height:48px;color:var(--theme-link);border-radius:10px}.space-card-meta{color:var(--theme-link)}.profile-card,.balance-card,.account-list,.plan-card,.points-summary,.points-rules,.points-grants article{border-radius:13px}.profile-card{padding:32px}.profile-card .avatar{background:var(--theme-tint);color:var(--theme-link);border-radius:12px}.member-banner{background:radial-gradient(at 90% 30%,#603377,#0000 70%),#251332;border:1px solid #604173;border-radius:15px;min-height:135px;padding:28px}.member-banner strong{color:#e0baff;font-size:25px;font-weight:550}.member-banner span{color:#c9b5db}.points-totals strong{color:var(--theme-link)}.plan-card{padding:25px}.plan-card:nth-child(3){border-color:var(--theme-link);box-shadow:none}.plan-price b{font-size:40px;font-weight:600}.points-member :is(.plan-card>small,.plan-card>h3,.plan-card .plan-label){color:var(--theme-link)}.interactive-editor .editor-top{background:var(--theme-surface)}.interactive-editor .editor-sidebar{background:var(--theme-paper)}.interactive-editor .editor-sidebar>button{border-radius:8px;padding:13px}.interactive-editor .editor-sidebar>button.active{background:var(--theme-tint);box-shadow:inset 3px 0 var(--theme-accent)}.interactive-editor :is(.script-panel,.shot-panel,.video-panel,.final-panel){border-radius:13px;margin-bottom:20px;padding:22px}.interactive-editor .script-panel>textarea{background:var(--theme-paper);padding:18px;line-height:1.9}.interactive-editor .shot-card{box-shadow:none;border-radius:10px}.interactive-editor .shot-card.is-hovered{border-color:var(--theme-accent);box-shadow:none}.interactive-editor .shot-reference-input{background:var(--theme-paper)}.interactive-editor .panel-title input{accent-color:var(--theme-accent)}.ptv-flow-node{border-radius:11px;box-shadow:0 8px 24px #0003}.ptv-flow-node.selected{border-color:var(--theme-accent);box-shadow:0 0 0 1px var(--theme-accent)}.ptv-left-bar,.ptv-bottom-bar,.ptv-inspector,.ptv-agent-panel,.ptv-add-menu,.ptv-dialog{border-radius:11px}.ptv-bottom-bar .primary,.ptv-generate{background:var(--theme-accent);color:var(--theme-on-accent);border-radius:7px}:is(.create-modal,.share-modal,.confirm-delete-dialog,.character-create-dialog,.asset-create-dialog,.style-edit-dialog,.asset-library-modal,.preview-modal){border-radius:13px;box-shadow:0 24px 70px #0006}.type-cards label input:checked+span{color:var(--theme-link);border-color:var(--theme-link);background:var(--theme-tint)}@media (width>=1001px){.interactive-editor{padding-top:62px}.interactive-editor .editor-top{height:62px}.interactive-editor .editor-sidebar{width:190px;padding-top:20px;top:62px;overflow-y:auto}.interactive-editor .editor-main{height:calc(100vh - 62px);margin-left:190px;margin-right:330px;padding:24px}.interactive-editor .editor-agent{width:330px;height:calc(100vh - 62px);top:62px}.interactive-editor.studio-mode .editor-main{margin-left:0}}@media (width<=1100px){.studio-layout{grid-template-columns:162px minmax(0,1fr)}.studio-sidebar{padding-left:9px;padding-right:9px}.studio-sidebar>button{gap:8px;padding-left:10px;padding-right:10px;font-size:11px}.studio-workflow{padding-left:5px;padding-right:5px}.studio-hero{padding-left:24px;padding-right:24px}.studio-feature-bar{gap:12px}.studio-on-air{display:none}.theme-project-list{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-home footer{margin-left:194px}.auth-page{gap:5%;padding-left:4%;padding-right:4%}.studio-auth-copy{left:24px;right:24px}}@media (width<=760px){.studio-layout{display:block}.studio-sidebar{display:none}.studio-home .topbar{padding:18px 5%}.studio-home .topbar nav{flex-basis:100%;justify-content:space-between;gap:10px}.studio-home .topbar .guide-btn,.studio-home .topbar .lang-btn{justify-content:center;gap:0;width:28px;height:32px;padding:0;font-size:0}.studio-home .topbar .user-chip{gap:0;max-width:36px;font-size:0}.studio-home .topbar .user-chip span{font-size:12px}.studio-home .topbar nav:has(.nav-login) .credit-pill{display:none}.studio-hero{padding:34px 20px 0}.studio-hero h1{letter-spacing:-2px;margin-top:20px;font-size:51px}.studio-hero h1>span{display:block}.studio-eyebrow{padding:5px 10px;font-size:9px}.studio-hero-copy>p{letter-spacing:0;max-width:260px;margin:auto;font-size:11px;line-height:1.8}.studio-atmosphere>.studio-art{width:175%;height:780px;top:-80px;left:-37.5%}.studio-home .theme-desk{border-radius:13px;margin-top:43px}.studio-home .theme-modes{justify-content:space-between;gap:3px;padding:9px}.studio-home .theme-modes button{gap:5px;padding:8px}.studio-home .theme-modes strong{font-size:11px}.studio-home .theme-modes button>svg:first-of-type{width:13px}.studio-home .theme-prompt{padding:20px 16px 16px}.studio-home .theme-prompt textarea{height:96px;font-size:12px}.studio-home .theme-prompt>label{font-size:13px}.studio-home .theme-reference{max-width:110px}.studio-home .theme-type{padding:5px;font-size:9px}.studio-home .theme-send{gap:6px;padding:11px 12px;font-size:11px}.studio-feature-bar{gap:12px;margin-top:21px;padding-bottom:22px}.studio-feature-bar>button{gap:6px}.studio-feature-bar strong{font-size:10px}.studio-feature-bar .theme-feature-pagination{display:none}.studio-feature-bar .theme-feature-controls{gap:3px}.studio-home .theme-projects{padding:24px 20px}.theme-section-heading h2{font-size:19px}.theme-project-list{gap:12px}.theme-project-title{padding:12px 10px 8px}.theme-project-title strong{font-size:11px}.theme-project>time{padding-bottom:12px;padding-left:10px}.theme-project-cover{height:110px}.studio-signature{flex-direction:column;align-items:flex-start;gap:7px;margin:0 20px;padding:22px 0}.studio-home footer{margin-left:20px;margin-right:20px}.auth-page{flex-direction:column;gap:26px;padding:100px 6% 35px;display:flex}.studio-auth-intro{border-radius:15px;width:100%;max-width:480px;min-height:230px}.studio-auth-intro>.studio-art{width:140%;height:150%;top:-20%;left:-20%}.studio-auth-label{padding:20px 22px;font-size:9px}.studio-auth-copy{inset:auto 22px 22px}.studio-auth-copy h2{margin:0;font-size:29px}.studio-auth-copy>span,.studio-auth-copy p,.studio-auth-copy small{display:none}.auth-card{width:100%;max-width:480px;padding:0}.interactive-editor :is(.script-panel,.shot-panel,.video-panel,.final-panel){padding:14px}}@media (width<=440px){.studio-home .topbar nav{justify-content:space-between;margin-left:0}.studio-home .theme-reference{max-width:90px;font-size:9px}.studio-home .theme-prompt-bottom>div{gap:5px}.studio-home .theme-type{gap:3px;font-size:8px}.studio-home .theme-type>svg{width:11px}.studio-home .theme-send{padding:10px}.studio-home .theme-send svg{width:13px}.studio-home .theme-modes button{padding:7px 6px}}@media (width<=360px){.studio-hero{padding-left:14px;padding-right:14px}.studio-hero h1{font-size:44px}.studio-home .theme-prompt{padding-left:12px;padding-right:12px}.studio-home .theme-modes button{padding-left:4px;padding-right:4px}.studio-home .theme-modes strong{font-size:10px}.studio-home .theme-reference{max-width:77px}}
