
:root{--bg:#f6f5f2;--paper:#fff;--ink:#25282c;--muted:#8b8c94;--line:#e9e7e2;--accent:#7464df;--soft:#eeebfb;--radius:18px;font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px}button,input,textarea{font:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #bdb2f4;outline-offset:4px}input:focus,textarea:focus{outline:2px solid #b8acf2;border-color:transparent}button{border:0}button,input,textarea{color:inherit}[hidden]{display:none!important}.shell{display:flex;min-height:100vh}.sidebar{width:230px;position:fixed;inset:0 auto 0 0;background:#faf9f6;border-right:1px solid var(--line);padding:35px 21px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:10px;font-size:19px;letter-spacing:-.7px;font-weight:750;white-space:nowrap}.brand-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--accent);color:white;font-size:34px;font-weight:400;flex-shrink:0}.brand-light{font-weight:450;font-size:16px;letter-spacing:-.9px}.brand small{display:block;color:#9996a6;font-size:8px;letter-spacing:2.4px;font-weight:450;margin-top:6px}.nav-label{margin:57px 14px 15px;color:#a7a5ab;font-size:10px;letter-spacing:2px}.nav{display:flex;align-items:center;gap:13px;width:100%;height:47px;border-radius:10px;padding:0 14px;background:transparent;color:#7d7b85;text-align:left;margin-bottom:8px;font-size:13px}.nav>span:first-child{font-size:20px;width:18px;text-align:center;font-weight:400}.nav.active{background:var(--soft);color:#6c5ed0;font-weight:650}.nav small{margin-left:auto;font-size:10px;font-weight:400;opacity:.65}.nav:hover{background:#eeece7}.nav.active:hover{background:var(--soft)}.sidebar-foot{margin-top:auto}.pilot{margin:0 13px 19px;color:#8a8791;font-size:11px;display:flex;align-items:center;gap:7px}.pilot>span:last-child{margin-left:auto;color:#b0acb6;font-size:10px}.status-dot{width:6px;height:6px;border-radius:50%;background:#a99cde}.sidebar-foot .nav{border-top:1px solid var(--line);border-radius:0;padding-top:12px;margin:0 0 15px}.nav .arrow{margin-left:auto;font-size:17px}.owner-link{display:block;font-size:10px;color:#a4a0ab;padding:0 14px}.workspace{margin-left:230px;width:calc(100% - 230px)}.topbar{height:81px;display:flex;align-items:center;justify-content:space-between;padding:0 43px;border-bottom:1px solid var(--line)}.breadcrumb{display:flex;align-items:center;gap:13px;color:#aaa6ad;font-size:11px}.breadcrumb strong{color:#65616f;font-weight:500}.breadcrumb span{color:#cecbd1}.top-actions{display:flex;align-items:center;gap:23px}.service-state{font-size:10px;color:#9c97a5;display:flex;align-items:center;gap:6px}.service-state i{height:5px;width:5px;background:#b3a7d7;border-radius:50%}.service-state.ready i{background:#77a38d}.account-btn{display:flex;gap:9px;align-items:center;padding:0;background:transparent;color:#77717f;font-size:11px}.avatar{display:grid;place-items:center;width:29px;height:29px;background:#e9e3d8;border:2px solid white;border-radius:50%;font-size:11px;color:#958a79}main{max-width:1400px;margin:auto;padding:42px 43px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}.eyebrow{display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:2px;color:#9a95a4}.eyebrow>span{width:13px;height:1px;background:#9d8fdb}h1{font-weight:550;font-size:37px;letter-spacing:-1.9px;margin:17px 0 12px;line-height:1.4}h1 em{font-style:normal;color:var(--accent)}.heading-star{display:inline-block;color:#a99adf;font-weight:300;font-size:34px;margin-left:19px;vertical-align:middle}.page-heading p{color:#98939f;font-size:12px;letter-spacing:.1px;margin:0}.heading-tag{font-size:10px;color:#aaa3b4;align-self:flex-end;padding-bottom:5px;white-space:nowrap}.studio-grid{display:grid;grid-template-columns:minmax(350px,1.05fr) minmax(320px,1fr);gap:24px;align-items:start}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius)}.editor-card{padding:25px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:26px}h2{font-size:14px;font-weight:600;margin:0;letter-spacing:-.2px}.card-heading h2{display:flex;align-items:center;gap:9px}.step{border:1px solid #e9e5f3;color:#a298b4;border-radius:5px;font-size:9px;font-weight:400;padding:3px 4px}.text-button{background:none;padding:0;color:#93889f;font-size:10px}.text-button:hover{color:var(--accent)}.field-label{display:block;font-size:11px;color:#68616f;font-weight:500}.field-label>span{font-size:10px;color:#b9b2be;font-weight:400;margin-left:5px}input{width:100%;border:1px solid #eeebf1;border-radius:9px;background:#fcfbfd;padding:12px 13px;margin:10px 0 22px;font-size:12px}input::placeholder,textarea::placeholder{color:#b3aebc}.script-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}textarea{display:block;width:100%;height:184px;resize:vertical;border:1px solid #eeebf1;border-radius:10px;padding:16px;background:#fcfbfd;line-height:1.9;font-size:12px}.editor-meta{display:flex;align-items:center;justify-content:space-between;margin-top:10px;font-size:9px;color:#aba4b4}.editor-meta>span:last-child{color:#7b708e}.editor-meta>span:last-child>span{color:#c0b9c8}.editor-meta .over{color:#bb515f!important}.sources{margin-top:20px;color:#8e8598;font-size:10px}.sources summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between}.sources summary>span{font-size:9px;color:#bbb3c4}.sources textarea{margin-top:12px;height:90px;min-height:70px;font-size:11px}.settings-divider{height:1px;background:#f0edf3;margin:24px 0}.setting-heading{margin-bottom:15px}.muted{font-size:9px;color:#b0a7ba}.world-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.world{display:flex;align-items:center;gap:9px;padding:12px 10px;border:1px solid #eeebf1;background:white;border-radius:10px;text-align:left;position:relative}.world.selected{border-color:#ac9ee9;background:#f9f7ff;box-shadow:0 0 0 1px #eee9fc}.world strong{font-size:11px;font-weight:550;display:block;margin-bottom:6px}.world small{font-size:8px;color:#a79caf;white-space:nowrap}.world-swatch{height:36px;width:36px;border-radius:7px;flex-shrink:0;position:relative;overflow:hidden}.night{background:#171c37}.night i{position:absolute;border-radius:50%;width:3px;height:3px;background:#a7a5ef;left:9px;top:11px;box-shadow:0 0 9px #a18dff}.night i:nth-child(2){left:24px;top:23px;width:5px;height:5px}.night i:nth-child(3){left:17px;top:7px;width:2px;height:2px}.fable{background:#eee0bf}.fable i{position:absolute;width:20px;height:20px;background:#cf9667;border-radius:50%;top:15px;left:-3px}.fable i:nth-child(2){background:#b8b69a;left:17px;top:6px;width:22px;height:29px;border-radius:60% 60% 10% 10%}.radio-dot{margin-left:auto;align-self:flex-start;border:1px solid #e3deec;border-radius:50%;width:11px;height:11px;flex-shrink:0}.world.selected .radio-dot{border:3px solid var(--accent);background:white}.format-row{display:flex;align-items:center;gap:12px;margin:23px 0}.format-row>.muted{margin-left:auto;font-size:8px}.format-selected{display:flex;align-items:center;gap:6px;font-size:10px;background:#f6f3fd;border:1px solid #e5def9;padding:6px 8px;border-radius:5px;color:#8c7cc3}.format-selected i{height:8px;width:13px;border:1px solid #a293ce;border-radius:1px}.generate{display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--accent);color:white;border-radius:9px;padding:15px 16px;font-weight:500;font-size:12px;box-shadow:0 5px 12px #7464df18;gap:12px}.generate:hover{background:#6757cf}.generate>span:last-child{font-size:9px;color:#e0dafd;font-weight:400}.generate-note{text-align:center;font-size:8px;color:#b7adbf;margin-top:12px;line-height:1.7}.preview-column{display:flex;flex-direction:column;gap:22px}.preview-card{padding:23px 21px 16px}.preview-card .card-heading{margin-bottom:17px}.preview-tag{background:#f7f5fa;color:#a397b6;border:1px solid #eee9f3;padding:4px 7px;border-radius:5px;font-size:8px;letter-spacing:.4px}.preview-screen{aspect-ratio:16/10;background:#101320;border-radius:11px;position:relative;overflow:hidden;color:#ddd9f2}.preview-screen canvas{position:absolute;width:100%;height:100%;object-fit:cover}.screen-top{position:absolute;top:17px;left:18px;right:18px;display:flex;justify-content:space-between;font-size:5px;letter-spacing:1.6px;color:#a099b2}.screen-title{position:absolute;top:21%;left:0;width:100%;text-align:center;pointer-events:none}.screen-title>span{font-size:6px;letter-spacing:3px;color:#8c85a4}.screen-title h3{font-family:"Songti SC","STSong",serif;font-weight:400;font-size:24px;letter-spacing:5px;margin:11px 0}.screen-subtitle{position:absolute;bottom:16%;left:0;width:100%;text-align:center;font-family:"Songti SC",serif;font-size:11px;letter-spacing:2px;color:#d6cfe6}.screen-bottom{position:absolute;left:18px;right:14px;bottom:12px;display:flex;align-items:center;justify-content:space-between;font-size:6px;letter-spacing:.5px;color:#77718d}.screen-bottom span{display:flex;align-items:center;gap:5px}.screen-bottom i{width:4px;height:4px;border-radius:50%;background:#9587c9}.screen-bottom button{border:1px solid #ffffff22;background:#ffffff08;color:#aaa1bd;width:24px;height:24px;border-radius:50%;font-size:9px}.preview-caption{display:flex;justify-content:space-between;align-items:center;margin-top:15px;font-size:8px;color:#aaa0b7}.preview-caption>span:first-child{display:flex;align-items:center;gap:5px}.preview-caption i{width:4px;height:4px;border-radius:50%;background:#9b8cc8}.preview-disclaimer{margin:13px 0 0;font-size:9px;line-height:1.8;color:#b0a8bb}.process-card{padding:23px 24px 0;border:1px solid #e7e3ee;border-radius:var(--radius);background:linear-gradient(125deg,#f0edf7,#f4f0ec)}.process-card .eyebrow{font-size:6px;letter-spacing:1.5px;color:#b2a5bd}.process-card h2{font-size:20px;line-height:1.7;letter-spacing:.1px;font-weight:500;margin:13px 0 19px;color:#655b76}.process{padding:0;margin:0;list-style:none}.process li{display:flex;align-items:flex-start;gap:13px;margin:0 0 18px}.process li>span{display:grid;place-items:center;width:23px;height:23px;border:1px solid #ddd5e8;border-radius:50%;font-size:8px;color:#ac9abb;background:#f3eff8}.process strong{display:block;font-size:10px;font-weight:500;color:#81718d;padding-top:1px}.process small{display:block;font-size:9px;color:#b1a6bb;margin-top:6px}.process-foot{border-top:1px solid #e7e0ed;padding:14px 0;color:#a397b1;font-size:8px;display:flex;align-items:center;justify-content:space-between}.process-foot span{font-size:15px}.bottom-note{display:flex;align-items:center;gap:15px;margin:28px 0;color:#c0b7c7;font-size:9px}.bottom-note>span:first-child{color:#a89db5;font-size:10px}.bottom-note button{margin-left:auto;font-size:9px}footer{max-width:1400px;margin:25px auto 0;padding:20px 43px;color:#bcb5c1;font-size:8px;display:flex;justify-content:space-between;border-top:1px solid var(--line)}.secondary{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ded8e8;border-radius:9px;background:#faf8fd;padding:11px 15px;color:#8b7ba3;font-size:11px}.filter-row{display:flex;gap:10px;margin-bottom:23px}.filter{padding:8px 15px;border-radius:20px;color:#a094ad;background:none;font-size:11px}.filter.active{background:#eae5f8;color:#7d68bd}.works-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.empty{grid-column:1/-1;border:1px dashed #dcd3e7;border-radius:18px;text-align:center;padding:65px 20px;background:#faf8fc;color:#a395b1}.empty .empty-icon{font-size:37px;color:#b6a8d4}.empty h2{margin:18px 0 10px;font-size:16px;color:#887398}.empty p{font-size:12px;line-height:1.8}.empty button{margin-top:15px}.work-card{padding:20px;min-width:0}.work-cover{aspect-ratio:16/9;background:radial-gradient(at 50% 80%,#393358,#131726);border-radius:9px;display:flex;align-items:center;justify-content:center;color:#b2a5dc;font-size:35px;margin-bottom:15px}.work-card h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.work-meta{font-size:9px;color:#a99cb6;display:flex;justify-content:space-between;margin:12px 0}.work-status{font-size:10px;color:#8d75ae;margin:15px 0}.work-progress{height:3px;background:#ece6f2;margin-bottom:15px;border-radius:5px;overflow:hidden}.work-progress progress{display:block;width:100%;height:3px;accent-color:var(--accent)}.work-error{font-size:10px;color:#b67780;line-height:1.7;overflow-wrap:anywhere}.work-card button{font-size:10px}.work-actions{display:flex;gap:10px;align-items:center;margin-top:15px}.credit-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.credit-balance,.credit-rules{padding:30px}.credit-balance>div{display:flex;align-items:baseline;gap:10px;margin:20px 0;color:#a298b2}.credit-balance strong{font-size:66px;color:var(--accent);font-weight:400}.credit-balance p,.credit-rules p{color:#a79ab4;line-height:2;font-size:11px}.credit-rules{background:#efebf7}.credit-rules h2{font-size:24px;font-weight:450;line-height:1.7;color:#81708f;margin:20px 0}.ledger-card{padding:26px;margin-top:25px}.ledger-list{margin-top:24px;color:#aa9eb6;font-size:12px}.ledger-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eee9f3;padding:16px 0}.ledger-row small{color:#b2a9bc;margin-left:14px;font-size:9px}.ledger-amount{color:#8872b4}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.help-card{padding:26px}.help-card h2{color:#81718f}.help-card p{font-size:12px;color:#a497ae;line-height:2.1;margin:14px 0 0}.notice-card{display:flex;gap:20px;margin-top:25px;background:#ece7f5;border-radius:12px;padding:24px;color:#9180a3}.notice-card>span{font-size:24px}.notice-card strong{font-size:12px}.notice-card p{font-size:11px;line-height:1.8;margin:8px 0 0}.inline-message{margin-top:16px;color:#a16b76;background:#fbf1f3;border-radius:8px;padding:12px;font-size:11px;line-height:1.7}.toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);max-width:90vw;border-radius:10px;background:#453a55;color:white;padding:13px 22px;font-size:12px;z-index:100;box-shadow:0 4px 25px #1d18252b}dialog{border:1px solid #e0d7ea;border-radius:20px;background:#fff;width:min(420px,calc(100% - 32px));padding:30px;color:var(--ink);box-shadow:0 20px 100px #3124423b}dialog::backdrop{background:#27213366;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.dialog-head button{background:none;font-size:25px;color:#ac9fb8}.dialog-head .brand-icon{width:34px;height:34px;font-size:28px}dialog h2{font-size:28px;font-weight:500;margin:17px 0 10px}dialog p{color:#a395ae;font-size:12px;margin-bottom:28px}dialog .field-label{margin-top:13px}dialog input{margin-bottom:8px}dialog .generate{justify-content:center;margin-top:17px}#auth-error{color:#b76878;font-size:11px;margin:13px 0;line-height:1.7}.auth-switch{display:block;margin:23px auto 0;font-size:11px}#video-dialog{width:min(1000px,94vw)}#video-dialog .dialog-head{margin-bottom:15px}#result-video{display:block;width:100%;background:#121323;border-radius:10px;margin-bottom:18px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1550px){main{padding-top:52px}.page-heading{margin-bottom:42px}.studio-grid{gap:30px}.editor-card{padding:30px}.preview-card{padding:26px}textarea{height:220px}.preview-screen{aspect-ratio:16/9}.screen-title h3{font-size:30px}.process-card{padding-top:30px}.process-card h2{font-size:24px}}
@media(max-width:1150px){.sidebar{width:195px;padding-left:15px;padding-right:15px}.brand{font-size:17px}.brand-light{font-size:13px}.brand-icon{width:32px;height:32px;font-size:28px}.workspace{margin-left:195px;width:calc(100% - 195px)}main{padding:30px 25px 0}.topbar{padding:0 25px}.studio-grid{gap:16px;grid-template-columns:minmax(320px,1.08fr) minmax(270px,1fr)}.editor-card{padding:20px}.world{padding:10px 8px;gap:7px}.world-swatch{width:28px;height:32px}.world small{font-size:7px}.world strong{font-size:10px}.radio-dot{width:9px;height:9px}.preview-card{padding:20px 16px 15px}.screen-title h3{font-size:20px;letter-spacing:3px}.screen-top{font-size:4px}.format-row{gap:8px}.format-row>.muted{font-size:7px}.heading-tag{display:none}.process-card{padding:22px 20px 0}.process-card h2{font-size:18px}.works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.sidebar{width:175px}.brand{gap:7px}.brand-light{font-size:12px}.brand{font-size:16px}.brand small{font-size:7px;letter-spacing:1px}.workspace{margin-left:175px;width:calc(100% - 175px)}.studio-grid{grid-template-columns:1fr}.preview-column{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:15px}.preview-screen{aspect-ratio:1/1}.screen-title h3{font-size:17px;letter-spacing:1px}.screen-title>span{font-size:5px;letter-spacing:1px}.screen-title{top:21%}.screen-top{font-size:3px;letter-spacing:1px;left:10px;right:10px}.screen-subtitle{font-size:8px;letter-spacing:1px}.screen-bottom{left:10px;right:10px;font-size:4px}.screen-bottom button{width:19px;height:19px}.process-card h2{font-size:16px}.process-card .eyebrow{font-size:5px;letter-spacing:1px}.process small{font-size:8px}.process-card{padding:20px 15px 0}.preview-caption{font-size:6px;gap:8px}.card-heading h2{font-size:13px}.credit-grid{grid-template-columns:1fr}.top-actions{gap:15px}.service-state{font-size:8px}.breadcrumb{font-size:10px;gap:7px}.help-grid{grid-template-columns:1fr}.page-heading p{font-size:11px}}
@media(max-width:600px){.sidebar{inset:auto 0 0;width:100%;height:calc(64px + env(safe-area-inset-bottom));padding:5px 10px env(safe-area-inset-bottom);border:0;border-top:1px solid #e7e1ed;background:#faf9f6f5;backdrop-filter:blur(12px);flex-direction:row;justify-content:center}.sidebar>.brand,.nav-label,.pilot,.owner-link{display:none}.sidebar>nav{display:flex;flex:3;gap:0}.sidebar .nav{margin:0;padding:5px 4px;border-radius:9px;display:flex;flex-direction:column;justify-content:center;gap:4px;height:53px;font-size:9px}.sidebar .nav>span:first-child{font-size:20px}.sidebar .nav small,.sidebar .arrow{display:none}.sidebar-foot{margin:0;flex:1}.sidebar-foot .nav{border:0}.workspace{margin:0;width:100%}.topbar{height:66px;padding:0 20px}.breadcrumb{font-size:10px;gap:7px}.top-actions{gap:12px}.service-state{font-size:8px}.account-btn{font-size:10px}.avatar{width:25px;height:25px}main{padding:29px 18px 0}.page-heading{margin-bottom:25px;gap:10px}h1{font-size:31px;letter-spacing:-1.6px;margin-top:13px}.heading-star{font-size:27px;margin-left:12px}.eyebrow{font-size:7px;letter-spacing:1.8px}.page-heading p{font-size:10px;line-height:1.8}.editor-card{padding:21px 18px}.card-heading h2{font-size:13px}.card-heading{margin-bottom:24px}.world{padding:13px 10px;gap:10px}.world-swatch{width:31px;height:34px}.world small{font-size:8px}.world strong{font-size:11px}.preview-column{display:flex;gap:20px}.preview-screen{aspect-ratio:16/10}.screen-title h3{font-size:25px;letter-spacing:4px}.screen-title>span{font-size:6px;letter-spacing:2px}.screen-top{font-size:5px;left:18px;right:18px;letter-spacing:1px}.screen-subtitle{font-size:10px;letter-spacing:1.5px}.screen-bottom{font-size:6px;left:16px;right:16px}.screen-bottom button{height:24px;width:24px}.preview-caption{font-size:8px}.process-card{padding:25px 25px 0}.process-card h2{font-size:22px}.process-card .eyebrow{font-size:7px}.process small{font-size:10px}.process strong{font-size:11px}.process li{gap:15px;margin-bottom:22px}.bottom-note{gap:12px;margin:23px 0}.bottom-note>span:nth-child(2){display:none}.bottom-note>span:first-child{font-size:9px}.bottom-note button{font-size:9px}footer{padding:18px 20px 95px;margin-top:18px;gap:10px;font-size:7px}.format-row>.muted{font-size:8px}.generate{font-size:12px;padding:16px 13px}.generate>span:last-child{font-size:8px}.generate-note{font-size:7px}.sources summary>span{font-size:8px}.works-grid{grid-template-columns:1fr}.credit-balance,.credit-rules{padding:25px}.credit-rules h2{font-size:21px}.help-card{padding:22px}.help-card p{font-size:11px}.ledger-row small{display:block;margin:7px 0 0}.page-heading .secondary{padding:9px;font-size:9px;flex-shrink:0}.toast{bottom:90px}.notice-card{padding:20px}.service-state{max-width:100px}.world-options{gap:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

.demo-notice{display:flex;flex-direction:column;gap:8px;margin:0 0 24px;padding:16px 20px;border:1px solid #ded6f3;border-radius:12px;background:#efeafb;color:#857299;font-size:11px;line-height:1.9}.demo-notice strong{color:#7861ae;font-size:12px}
