@charset "UTF-8";
:root{color-scheme:dark;--bg:#10131d;--sidebar:#0b0e16;--panel:#181d2b;--raised:#202637;--field:#121725;--line:#2a3144;--muted:#929cb5;--text:#eef1fa;--accent:#aaa7ff;--accent-solid:#8b86f5;--accent-ink:#14112e;--accent-soft:#2a2945;--good:#87cdb6;--bad:#f4a4ad;--shadow:0 20px 80px #0003;--radius:18px}
[data-theme=light]{color-scheme:light;--bg:#f3f5fa;--sidebar:#fff;--panel:#fff;--raised:#eef1f8;--field:#f8f9fc;--line:#dce1ed;--muted:#68738b;--text:#202a40;--accent:#5a50c4;--accent-solid:#655bce;--accent-ink:#fff;--accent-soft:#eeecff;--good:#247b63;--bad:#b63e54;--shadow:0 12px 50px #2934540a}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:.01em}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,a{touch-action:manipulation}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button{border:0}button svg,.icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}svg{overflow:visible}.sprite{position:absolute;width:0;height:0;overflow:hidden}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}h2{font-size:16px}h3{font-size:16px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}::selection{background:var(--accent-solid);color:#fff}::-webkit-scrollbar{width:8px;height:7px}::-webkit-scrollbar-track{background:var(--bg)}::-webkit-scrollbar-thumb{background:var(--line);border-radius:6px}*{scrollbar-color:var(--line) var(--bg);scrollbar-width:thin}
.sidebar{position:fixed;inset:0 auto 0 0;width:218px;background:var(--sidebar);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:32px 18px 0;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:0 13px;margin-bottom:47px}.brand-mark{width:33px;height:33px;display:grid;grid-template-columns:1fr 1fr;gap:4px;transform:rotate(-5deg)}.brand-mark span{border:2px solid var(--accent);border-radius:4px}.brand-mark span:nth-child(2){background:var(--accent)}.brand-word{font-size:22px;letter-spacing:4px;line-height:1.2;font-weight:700}.brand-word small{display:block;font-size:8px;letter-spacing:1.6px;color:var(--muted);margin-top:7px;font-weight:500}.nav-caption{font-size:10px;letter-spacing:2px;color:var(--muted);padding-left:16px;margin-bottom:14px}.nav-item{width:100%;display:flex;align-items:center;gap:12px;padding:13px 15px;margin-bottom:6px;background:transparent;border-radius:10px;text-align:left;color:var(--muted);font-weight:500;white-space:nowrap}.nav-item:hover{background:var(--raised);color:var(--text)}.nav-item.active{background:var(--accent-soft);color:var(--accent)}.nav-dot{width:5px;height:5px;background:var(--accent);border-radius:50%;margin-left:auto}.count{margin-left:auto;font-size:11px;font-variant-numeric:tabular-nums;opacity:.7}.sidebar-note{margin-top:auto;padding:38px 17px 35px;color:var(--muted)}.tiny-reel{color:var(--accent);font-size:35px}.sidebar-note p{font-size:17px;line-height:1.8;color:var(--text);margin:9px 0 16px}.sidebar-note small{font-size:8px;letter-spacing:1.5px}.sidebar-bottom{margin:0 -18px;padding:20px 15px;border-top:1px solid var(--line);display:flex;align-items:center;gap:9px;font-size:12px}.avatar{background:var(--raised);color:var(--accent);width:32px;height:32px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:12px}.sidebar-bottom small{display:block;font-size:10px;color:var(--muted)}.sidebar-bottom .icon-button{margin-left:auto;width:30px}.shell{margin-left:218px}.topbar{height:77px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:10px}.breadcrumb{display:flex;gap:13px;white-space:nowrap;font-size:12px}.breadcrumb span{color:var(--muted)}.breadcrumb strong{font-weight:500}.header-actions{display:flex;align-items:center;gap:13px}.connection-pill{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px;white-space:nowrap}.connection-pill i{width:5px;height:5px;border-radius:50%;background:var(--muted)}.connection-pill.ready{color:var(--good)}.connection-pill.ready i{background:var(--good)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;background:transparent;color:var(--muted)}.icon-button:hover{color:var(--text);background:var(--raised)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:10px;padding:11px 17px;min-height:43px;font-size:13px;font-weight:600;border:1px solid transparent;white-space:nowrap;transition:background .15s,transform .15s}.button:not(:disabled):active{transform:translateY(1px)}.button.small{padding:7px 11px;min-height:34px;font-size:11px}.button.primary{background:var(--accent-solid);color:var(--accent-ink)}.button.primary:hover:not(:disabled){filter:brightness(1.1)}.button.subtle{background:var(--raised);color:var(--text);border-color:var(--line)}.button.subtle:hover{border-color:var(--muted)}.button.danger{background:#b33f54;color:#fff}.text-button{background:none;color:var(--muted);padding:4px 0;font-size:12px}.text-button:hover{color:var(--accent)}.text-button span{margin-left:6px}main{max-width:1580px;padding:42px 42px 0;margin:auto}.intro{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:31px}.eyebrow{font-size:9px;letter-spacing:2.4px;color:var(--muted);display:flex;align-items:center;gap:8px;font-family:"SFMono-Regular",Consolas,monospace}.eyebrow>span{width:5px;height:5px;background:var(--accent);border-radius:50%}.intro h1{font-size:36px;letter-spacing:-.8px;line-height:1.4;font-weight:600;margin:11px 0 9px}.intro h1 span{color:var(--accent)}.intro p{font-size:12px;color:var(--muted)}.intro-caption{display:flex;flex-direction:column;gap:8px;color:var(--muted);text-align:right;font-size:10px;padding-bottom:3px;white-space:nowrap}.frame-number{font:20px Georgia,serif;font-style:italic;color:var(--accent)}.notice{display:flex;align-items:center;gap:12px;background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 20%,var(--line));border-radius:12px;padding:15px 18px;margin-bottom:22px}.notice>svg{width:20px;height:20px;fill:none;stroke:var(--accent);stroke-width:1.5;flex-shrink:0}.notice strong{font-size:12px;font-weight:500}.notice p{color:var(--muted);font-size:11px;margin-top:3px}.notice button{margin-left:auto;white-space:nowrap;color:var(--accent)}
.workspace{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:22px;align-items:start}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.composer{padding:23px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:10px}.panel-title>div{display:flex;align-items:center;gap:10px}.section-no{font:10px Consolas,monospace;color:var(--muted);border:1px solid var(--line);width:24px;height:22px;display:grid;place-items:center;border-radius:5px}.panel-title h2{font-size:14px}.quiet-label{color:var(--muted);font-size:10px;font-weight:400}.mode-tabs{display:flex;gap:21px;border-bottom:1px solid var(--line);margin-bottom:19px}.mode-tabs button{padding:0 0 13px;background:none;color:var(--muted);font-size:12px;position:relative;white-space:nowrap}.mode-tabs button.selected{color:var(--accent)}.mode-tabs button.selected:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--accent)}.prompt-wrap{background:var(--field);border:1px solid var(--line);border-radius:12px;overflow:hidden}.prompt-wrap:focus-within{border-color:var(--accent)}textarea,input,select{border:1px solid var(--line);background:var(--field);color:var(--text);border-radius:9px;width:100%;padding:11px 12px;min-width:0}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.7}textarea{resize:vertical;line-height:1.8}#prompt{border:0;border-radius:0;min-height:184px;padding:16px;background:transparent;font-size:12px;outline:0;resize:vertical}select{appearance:auto;padding-right:7px;font-size:12px;max-width:100%}.prompt-footer{display:flex;justify-content:space-between;gap:5px;font-size:9px;color:var(--muted);padding:7px 12px 11px}.prompt-footer>span:first-child{display:flex;align-items:center;gap:4px}.prompt-footer svg{width:11px;height:11px;fill:none;stroke:currentColor}.inspiration{display:flex;align-items:center;gap:6px;margin:11px 0 22px;flex-wrap:wrap;font-size:9px;color:var(--muted)}.inspiration>span{margin-right:3px}.inspiration button{font-size:9px;padding:4px 8px;background:none;border:1px solid var(--line);border-radius:20px;color:var(--muted)}.inspiration button:hover{color:var(--accent);border-color:var(--accent)}.generation-options{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr) minmax(0,1fr);gap:9px}.field{margin-bottom:16px;min-width:0}.field label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted);margin-bottom:7px}.generation-options .field{margin:0}.generation-options select{padding:10px 7px}.generate-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:24px;margin-top:23px;border-top:1px solid var(--line)}.generate-footer p{font-size:9px;color:var(--muted)}.generate-footer p span{opacity:.7}.generate-footer .button{padding:12px 17px;font-size:12px}.generate-footer .button svg:last-child{width:15px;margin-left:6px}.references{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-bottom:18px}.field-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);margin-bottom:7px;min-height:20px}.field-top .text-button{font-size:10px}.upload-zone{position:relative;border:1px dashed var(--line);border-radius:10px;min-height:122px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer;background:var(--field);overflow:hidden}.upload-zone:hover{border-color:var(--accent)}.upload-zone>svg{width:22px;height:22px;fill:none;stroke:var(--muted);stroke-width:1.5}.upload-zone strong{font-size:11px;font-weight:400;color:var(--muted)}.upload-zone span{font-size:9px;color:var(--muted)}.upload-zone img{position:absolute;width:100%;height:100%;inset:0;object-fit:contain;background:var(--field)}.field-hint{font-size:10px;color:var(--muted);line-height:1.8;margin:6px 0 14px;overflow-wrap:anywhere}
.preview-panel{padding:23px}.preview-stage{position:relative;aspect-ratio:16/10;background:#0b0e17;border:1px solid #282e40;border-radius:11px;overflow:hidden;display:grid;place-items:center;color:#dce1f2;min-width:0}.safe-frame{position:absolute;inset:15px;border:1px solid #2b314233;pointer-events:none}.safe-frame:before,.safe-frame:after{content:"";position:absolute;top:50%;left:50%;background:#30364a66}.safe-frame:before{height:1px;width:16px;margin-left:-8px}.safe-frame:after{width:1px;height:16px;margin-top:-8px}.preview-empty,.processing-state,.failed-state{position:relative;text-align:center;padding:38px 24px;max-width:100%;z-index:1}.preview-empty h3{font-size:15px;font-weight:500;margin:17px 0 8px}.preview-empty p{font-size:10px;line-height:1.9;color:#8f98b0}.frame-emblem{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 auto 22px}.frame-emblem svg{width:43px;height:43px;fill:none;stroke:#9995dd;stroke-width:.8}.frame-emblem>span{display:block;width:22px;height:34px;border:1px solid #37394e;transform:perspective(70px) rotateY(35deg);border-radius:4px}.frame-emblem>span:last-child{transform:perspective(70px) rotateY(-35deg)}.preview-stage video{position:absolute;width:100%;height:100%;inset:0;object-fit:contain;background:#000;z-index:3}.stage-meta{position:absolute;bottom:9px;left:15px;right:15px;display:flex;justify-content:space-between;font:8px Consolas,monospace;letter-spacing:1px;color:#616b85;pointer-events:none}.preview-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:18px;min-height:70px}.preview-caption>div{min-width:0}.preview-caption strong{font-size:12px;font-weight:500;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.preview-caption p{font-size:10px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.download-link{flex-shrink:0;background:var(--raised);border:1px solid var(--line);color:var(--accent)}.processing-state h3,.failed-state h3{font-size:14px;margin:12px 0}.processing-state p,.failed-state p{font-size:10px;color:#a0abc2;overflow-wrap:anywhere;max-width:300px}.orbit{width:48px;height:48px;border:1px solid #6d65b7;border-radius:50%;margin:0 auto;display:grid;place-items:center;animation:pulse 2.2s ease-in-out infinite}.orbit svg{width:22px;height:22px;fill:none;stroke:#aaa7ff;stroke-width:1}.task-progress{width:170px;max-width:100%;height:3px;background:#2c3144;border-radius:4px;overflow:hidden;margin:18px auto 8px}.task-progress span{display:block;background:#aaa7ff;height:100%;transition:width .5s}.mono{font:9px Consolas,monospace;color:#909ab2}.failure-symbol{width:32px;height:32px;display:grid;place-items:center;border:1px solid #ed9ba6;border-radius:50%;margin:auto;color:#ed9ba6}.failed-state .button{margin-top:15px;font-size:11px;min-height:33px;padding:6px 12px}
.recent-section{margin-top:34px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.section-heading h2{font-size:14px}.section-heading h2 span{font:10px Consolas,monospace;color:var(--muted);margin-left:9px}.empty-strip{display:flex;align-items:center;justify-content:center;gap:12px;border:1px dashed var(--line);min-height:97px;border-radius:12px;color:var(--muted);font-size:11px}.empty-strip>span{font-size:24px;opacity:.6}.job-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.job-card{background:var(--panel);border:1px solid var(--line);border-radius:13px;overflow:hidden;min-width:0}.job-cover{height:135px;position:relative;background:var(--field);display:grid;place-items:center;overflow:hidden;width:100%;padding:0;color:var(--muted)}.job-cover svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1}.job-cover video{width:100%;height:100%;object-fit:cover;pointer-events:none}.job-cover .status-label{position:absolute;left:10px;top:10px;background:var(--panel);box-shadow:0 0 0 1px var(--line);border-radius:4px;padding:2px 6px;font-size:9px;color:var(--muted)}.job-cover .status-label.completed{color:var(--good)}.job-cover .status-label.failed{color:var(--bad)}.job-content{padding:13px}.job-content h3{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:8px}.job-meta{font-size:9px;color:var(--muted);display:flex;justify-content:space-between;gap:5px}.job-meta>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.job-actions{border-top:1px solid var(--line);margin-top:10px;padding-top:7px;display:flex;gap:12px}.job-actions button,.job-actions a{font-size:10px;background:none;padding:2px 0;color:var(--muted)}.job-actions button:hover,.job-actions a:hover{color:var(--accent)}.job-actions .delete-action{margin-left:auto}.library-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:25px}.filter-tabs{display:flex;gap:5px}.filter-tabs button{background:none;color:var(--muted);padding:7px 14px;font-size:12px;border-radius:8px}.filter-tabs button.selected{background:var(--accent-soft);color:var(--accent)}.library-empty{text-align:center;border:1px dashed var(--line);padding:80px 20px;border-radius:18px}.library-empty>svg{width:40px;height:40px;stroke:var(--muted);fill:none;stroke-width:1;margin-bottom:20px}.library-empty h2{font-size:17px}.library-empty p{color:var(--muted);font-size:12px;margin:12px 0 22px}.page-footer{margin-top:45px;padding:22px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);font-size:9px;color:var(--muted)}.page-footer>span:first-child{font-size:11px;letter-spacing:2px}.page-footer>span:last-child{font-family:Consolas,monospace;letter-spacing:1px;font-size:8px}
.inline-error{color:var(--bad);font-size:11px;padding:12px;background:color-mix(in srgb,var(--bad) 7%,var(--panel));border:1px solid color-mix(in srgb,var(--bad) 28%,var(--line));border-radius:8px;overflow-wrap:anywhere;margin-top:14px}dialog{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:0;max-height:90dvh;max-width:calc(100vw - 30px)}dialog::backdrop{background:#050811b8;backdrop-filter:blur(8px)}.login-dialog{width:780px}.login-dialog[open]{display:grid;grid-template-columns:1fr 1.1fr}.login-art{padding:40px 32px;background:#242a46;color:#f0f0fa;position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:460px}.login-art .eyebrow{color:#bbbce3}.login-graphic{margin:38px 0 35px;display:flex;gap:10px;transform:rotate(-8deg)}.login-graphic span{height:90px;width:94px;border:1px solid #aaa7ff66;border-radius:12px;display:grid;place-items:center;font:italic 60px Georgia,serif;color:#b5b0ff}.login-graphic span:last-child{transform:translateY(18px);background:#36395f}.login-art h2{font-size:26px;line-height:1.7;font-weight:500;letter-spacing:1px}.login-art p{font-size:11px;color:#a6aec9;margin-top:16px}.login-stamp{font:8px Consolas,monospace;letter-spacing:1.8px;margin-top:auto;padding-top:30px;color:#bbbce3}.login-form{padding:47px 37px;display:flex;flex-direction:column;justify-content:center}.login-form h2{font-size:24px;margin:13px 0 10px}.login-form>p{font-size:11px;color:var(--muted);margin-bottom:28px}.login-form .button{margin-top:9px;width:100%}.login-form>small{font-size:9px;color:var(--muted);text-align:center;margin-top:19px}.settings-dialog{width:650px}.dialog-header{padding:26px 29px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.dialog-header h2{font-size:22px;margin-top:7px}.dialog-content{padding:23px 29px 29px;max-height:calc(90dvh - 110px);overflow-y:auto}.settings-intro{font-size:11px;color:var(--muted);padding-bottom:23px}.settings-section{margin-bottom:24px}.settings-section h3{font-size:13px;border-bottom:1px solid var(--line);padding-bottom:11px;margin-bottom:18px}.settings-section h3 span{font:9px Consolas,monospace;color:var(--accent);margin-right:8px}.settings-dialog .field label{color:var(--text);font-size:12px}.settings-dialog input,.settings-dialog select{font-size:12px}.checkbox-label{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);margin:-2px 0 17px}.checkbox-label input{width:14px;height:14px;accent-color:var(--accent-solid)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.protocol-note{margin-top:10px;font-size:10px;padding:10px 12px;background:var(--field);color:var(--muted);line-height:1.9;border:1px solid var(--line);border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}.advanced,.password-section{border:1px solid var(--line);padding:14px;border-radius:10px;margin-bottom:17px}.advanced summary,.password-section summary{font-size:11px;color:var(--muted);cursor:pointer}.advanced[open] summary,.password-section[open] summary{margin-bottom:17px}.settings-actions{display:flex;justify-content:space-between;gap:10px;padding-top:10px}.settings-actions+.field-hint{margin-top:13px}.password-section{margin-top:25px;margin-bottom:0}.confirm-dialog{width:400px;padding:27px}.confirm-dialog h2{font-size:18px}.confirm-dialog p{font-size:12px;color:var(--muted);margin:13px 0 25px}.confirm-dialog>div{display:flex;justify-content:flex-end;gap:10px}.toast{position:fixed;bottom:28px;left:calc(50% + 109px);transform:translateX(-50%);z-index:100;background:var(--raised);border:1px solid var(--line);box-shadow:var(--shadow);padding:13px 21px;border-radius:12px;font-size:12px;max-width:min(500px,90vw);overflow-wrap:anywhere}.toast.error{color:var(--bad)}.login-dialog~.toast{z-index:100}
@keyframes pulse{50%{box-shadow:0 0 0 10px #aaa7ff07;transform:scale(1.04)}}
@media(min-width:1550px){main{padding-top:52px}.intro h1{font-size:44px}.preview-stage{aspect-ratio:16/10}.composer,.preview-panel{padding:28px}#prompt{min-height:210px}}
@media(max-width:1150px){.sidebar{width:185px;padding-left:12px;padding-right:12px}.brand{padding-left:9px}.brand-word{font-size:20px}.brand-mark{width:28px;height:28px}.shell{margin-left:185px}.topbar{padding:0 25px}main{padding:30px 25px 0}.composer,.preview-panel{padding:18px}.workspace{gap:16px}.intro h1{font-size:30px}.intro-caption{display:none}.generate-footer .button{padding:10px}.generate-footer .button svg:last-child{display:none}.generation-options{grid-template-columns:1fr 1fr}.model-field{grid-column:1/-1}.preview-stage{aspect-ratio:1}.toast{left:calc(50% + 92px)}.sidebar-bottom{margin:0 -12px;padding:18px 10px}.sidebar-note{padding-left:12px}}
@media(max-width:850px){.sidebar{width:76px;padding:25px 10px 0}.brand{padding:0;justify-content:center;margin-bottom:34px}.brand-word,.nav-caption,.nav-item>span,.sidebar-note,.sidebar-bottom>span:not(.avatar){display:none}.nav-item{justify-content:center;padding:14px 10px}.nav-item svg{width:21px;height:21px}.sidebar-bottom{margin:0 -10px;justify-content:center;flex-wrap:wrap;padding:16px 10px;gap:8px}.sidebar-bottom .icon-button{margin:auto}.shell{margin-left:76px}.workspace{grid-template-columns:minmax(0,1fr)}.preview-stage{aspect-ratio:16/9;min-height:230px}.preview-panel{padding:20px}.generation-options{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr) minmax(0,1fr)}.model-field{grid-column:auto}.job-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.job-grid.compact .job-card:last-child{display:none}.toast{left:calc(50% + 38px)}.intro{margin-bottom:25px}.intro h1{font-size:32px}.composer{padding:22px}.generate-footer .button svg:last-child{display:block}}
@media(max-width:540px){.sidebar{position:fixed;inset:auto 0 0;width:auto;height:64px;padding:0 8px calc(env(safe-area-inset-bottom,0px));border-right:0;border-top:1px solid var(--line);height:calc(64px + env(safe-area-inset-bottom,0px));background:var(--sidebar)}.brand,.sidebar-bottom{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(3,1fr);height:64px;align-items:center}.nav-item{height:54px;display:flex;flex-direction:column;gap:3px;padding:6px 0;margin:0;border-radius:8px;font-size:10px}.nav-item>span:not(.count):not(.nav-dot){display:block}.nav-item svg{width:18px;height:18px}.shell{margin-left:0}.topbar{height:64px;padding:0 17px}.breadcrumb{font-size:11px;gap:8px}.header-actions{gap:5px}.header-actions .button{font-size:10px;padding:6px 9px}.header-actions .button svg{width:13px}.connection-pill{display:none}.icon-button{width:32px;height:32px}main{padding:28px 16px calc(76px + env(safe-area-inset-bottom,0px))}.intro h1{font-size:29px;margin-top:12px}.intro p{font-size:11px;line-height:1.8}.intro .eyebrow{font-size:8px;letter-spacing:1.8px}.workspace{gap:18px}.composer,.preview-panel{padding:17px;border-radius:14px}.panel-title{margin-bottom:18px}.panel-title h2{font-size:13px}.mode-tabs{gap:24px}.mode-tabs button{font-size:11px}#prompt{min-height:170px;padding:13px;font-size:12px}.prompt-footer{font-size:8px;padding:8px}.generation-options{grid-template-columns:1fr 1fr;gap:10px}.model-field{grid-column:1/-1}.generation-options select{font-size:12px;padding:11px 9px}.generate-footer{margin-top:18px;padding-top:18px}.generate-footer .button{font-size:12px;padding:11px 14px}.generate-footer p{font-size:9px}.notice{padding:12px;gap:8px;align-items:flex-start}.notice>svg{margin-top:2px;width:16px}.notice strong{font-size:11px}.notice p{font-size:10px}.notice .text-button{font-size:10px;min-width:39px}.preview-stage{min-height:210px;aspect-ratio:16/10}.preview-empty{padding:28px 15px}.preview-empty h3{font-size:14px}.preview-empty p{font-size:10px}.frame-emblem{margin-bottom:10px}.frame-emblem svg{width:34px;height:34px}.frame-emblem>span{height:27px;width:18px}.recent-section{margin-top:27px}.section-heading h2{font-size:13px}.empty-strip{padding:18px;min-height:85px;font-size:10px;gap:9px}.page-footer{margin-top:30px;padding-top:19px;align-items:flex-start}.page-footer>span:last-child{display:none}.page-footer p{font-size:9px}.job-grid{gap:10px}.job-cover{height:105px}.job-content{padding:10px}.job-content h3{font-size:10px}.job-meta{font-size:8px;flex-wrap:wrap}.job-actions{gap:8px}.job-actions button,.job-actions a{font-size:9px}.library-toolbar{gap:5px;align-items:flex-start}.filter-tabs{gap:0}.filter-tabs button{font-size:10px;padding:7px 9px}.library-toolbar>.quiet-label{padding-top:8px;font-size:9px}.intro:has(#newCreation){align-items:flex-start;flex-direction:column}.intro #newCreation{padding:8px 11px;min-height:36px;font-size:11px}.library-empty{padding:55px 20px}.library-empty h2{font-size:15px}.library-empty p{font-size:11px}.toast{left:50%;bottom:calc(82px + env(safe-area-inset-bottom,0px));font-size:11px;padding:11px 14px;min-width:220px}.login-dialog[open]{grid-template-columns:1fr;width:360px}.login-art{display:none}.login-form{padding:34px 26px}.login-form h2{font-size:23px}.login-form>p{font-size:11px}.settings-dialog{border-radius:16px}.dialog-header{padding:21px 18px 17px}.dialog-header h2{font-size:19px}.dialog-header .eyebrow{font-size:8px}.dialog-content{padding:19px 18px 22px}.settings-grid{grid-template-columns:1fr;gap:0}.settings-actions .button{padding:10px 12px;font-size:11px}.protocol-note{font-size:10px}.settings-intro{font-size:11px}.confirm-dialog{padding:23px}.processing-state,.failed-state{padding:30px 14px}.processing-state p,.failed-state p{font-size:10px;max-width:240px}.processing-state h3,.failed-state h3{font-size:13px}.orbit{width:36px;height:36px}.task-progress{margin-top:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

