:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#eeeae2;background:#11110f;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg:#11110f;--panel:#191917;--panel2:#20201d;--panel3:#25241f;--line:#302f2a;--line2:#3b3932;--text:#eeeae2;--muted:#979187;--soft:#b9b2a7;--accent:#c4a071;--accent2:#dfbd8d;--green:#8eaa8c;--danger:#d58d7c;--radius:14px}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--bg)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;background:radial-gradient(ellipse at 75% -15%,rgba(179,145,98,.07),transparent 42%),var(--bg)}.brand{display:flex;align-items:center;gap:11px}.brand-mark{width:39px;height:39px;border-radius:12px;background:#2b2822;border:1px solid #494033;color:var(--accent2);display:grid;place-items:center}.brand-copy{display:flex;flex-direction:column;gap:2px;letter-spacing:.13em}.brand-copy strong{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:12px;font-weight:800;color:#f1ece3}.brand-copy span{font-size:9px;letter-spacing:.25em;color:#9d927f}.brand-compact .brand-mark{width:35px;height:35px}.brand-compact .brand-copy strong{font-size:11px}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:#171715;border-right:1px solid var(--line);padding:25px 17px 17px;display:flex;flex-direction:column;z-index:20}.sidebar-top{padding:0 8px 36px;display:flex;align-items:center;justify-content:space-between}.sidebar-label{font-size:9px;font-weight:700;letter-spacing:.18em;color:#777269;padding:0 11px 11px}.sidebar-label-spaced{padding-top:29px}.side-nav{display:flex;flex-direction:column;gap:5px}.nav-link{position:relative;width:100%;height:43px;border:1px solid transparent;background:transparent;color:#a9a49a;border-radius:9px;padding:0 11px;display:flex;align-items:center;gap:12px;text-align:left;font-size:13px;transition:.18s}.nav-link:hover{background:#22221f;color:#e9e3d8}.nav-link.active{background:#2a2721;border-color:#40382d;color:#e4c397}.nav-link.active svg{color:var(--accent2)}.nav-active-dot{width:4px;height:4px;border-radius:50%;background:var(--accent);margin-left:auto}.sidebar-bottom{margin-top:auto}.connection{height:38px;border:1px solid #2d3028;border-radius:8px;background:#1b201a;display:flex;align-items:center;gap:8px;padding:0 10px;color:#aaa99d;font-size:10px;margin-bottom:13px}.status-dot,.live-dot{width:6px;height:6px;border-radius:50%;background:#91a987;box-shadow:0 0 0 3px #91a9871a}.connection-state{margin-left:auto;font-size:8px;letter-spacing:.12em;color:#8da083}.profile-row{display:flex;align-items:center;gap:9px;padding:12px 4px 3px;border-top:1px solid var(--line)}.avatar,.topbar-avatar{width:32px;height:32px;border-radius:50%;background:#302d27;color:#c6ad87;display:grid;place-items:center}.profile-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.profile-copy strong{font-size:10px;color:#d9d3c8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-copy span{font-size:9px;color:#827c71}.icon-button{border:0;background:transparent;color:#989187;width:32px;height:32px;border-radius:8px;display:grid;place-items:center}.icon-button:hover{background:#2b2924;color:#eee5d7}.logout-button{flex-shrink:0}.mobile-close,.menu-button,.mobile-scrim{display:none}.main-area{margin-left:246px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:64px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 38px;gap:14px;background:#11110fc7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);position:sticky;top:0;z-index:10}.breadcrumbs{display:flex;align-items:center;gap:10px;font-size:11px;color:#77736b}.breadcrumbs strong{color:#d9d3c8;font-weight:500}.crumb-sep{color:#4f4b43}.topbar-right{margin-left:auto;display:flex;align-items:center;gap:17px}.topbar-private{font-size:9px;letter-spacing:.12em;color:#89867c;display:flex;align-items:center;gap:8px}.topbar-avatar{width:29px;height:29px}.page-content{width:min(1440px,100%);margin:0 auto;padding:37px 42px 54px;flex:1}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:29px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:.19em;color:#9a8b73}.page-header h1,.auth-heading h1{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:29px;line-height:1.2;letter-spacing:-.045em;font-weight:650;margin:9px 0 7px;color:#f0ece4}.page-header p,.auth-heading p{margin:0;color:#969087;font-size:12px}.mode-pill{height:31px;border:1px solid #35352d;border-radius:20px;padding:0 11px;display:flex;align-items:center;gap:8px;color:#9c988d;font-size:10px}.live-dot{width:5px;height:5px}.create-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:17px;align-items:start}.panel{background:linear-gradient(145deg,rgba(255,255,255,.012),transparent 45%),var(--panel);border:1px solid var(--line);border-radius:var(--radius)}.composer-panel{padding:23px 25px 18px}.panel-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.muted-small{font-size:10px;color:#817c72}.mode-switch{display:flex;padding:4px;background:#131311;border:1px solid #2e2d28;border-radius:10px;width:max-content;gap:3px;margin-bottom:25px}.mode-switch button{height:34px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:#989287;display:flex;align-items:center;gap:8px;font-size:11px}.mode-switch button.selected{background:#343027;color:#e7d1af;box-shadow:inset 0 0 0 1px #4a4031}.field-block{margin-bottom:21px}.field-label{display:block;font-size:9px;font-weight:700;letter-spacing:.16em;color:#a69c8b}.field-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.field-block>label.field-label{margin-bottom:9px}.select-wrap{height:42px;border:1px solid var(--line2);border-radius:8px;background:#141412;position:relative;display:flex;align-items:center}.select-wrap select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;color:#e7e1d6;border:0;outline:0;width:100%;height:100%;padding:0 40px 0 12px;font-size:12px}.select-wrap option{background:#1c1b18;color:#eee}.select-wrap svg{position:absolute;right:12px;color:#928b7e;pointer-events:none}.field-block textarea{width:100%;resize:vertical;min-height:145px;background:#141412;border:1px solid var(--line2);border-radius:8px;color:#e9e4dc;padding:13px 14px;font-size:12px;line-height:1.65;outline:0}.field-block textarea:focus,.select-wrap:focus-within,input:focus{border-color:#927a58;box-shadow:0 0 0 3px #c4a07114}.field-block textarea::placeholder,input::placeholder{color:#68645d}.dropzone{min-height:133px;border:1px dashed #49443a;border-radius:9px;background:#171714;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;cursor:pointer;transition:.18s}.dropzone:hover{border-color:#927a58;background:#1c1a16}.dropzone input{display:none}.drop-icon{width:34px;height:34px;border:1px solid #484033;border-radius:10px;color:#c6a77a;background:#29251f;display:grid;place-items:center}.dropzone strong{font-size:11px;font-weight:600;color:#d7d0c5}.dropzone span{font-size:10px;color:#898379}.dropzone small{font-size:9px;color:#69645b}.selected-files{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.selected-files span{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:6px;background:#292720;color:#cfc5b5;font-size:10px}.selected-files button{display:grid;place-items:center;border:0;background:transparent;color:#8d877b;padding:0}.composer-footer{border-top:1px solid var(--line);padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:12px}.composer-footer>span{display:flex;align-items:center;gap:7px;font-size:10px;color:#89847a}.composer-footer>span svg{color:#91a987}.button{height:38px;border-radius:8px;border:1px solid transparent;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:600;transition:.18s}.button-primary{background:linear-gradient(180deg,#d0ad7d,#b9905e);color:#211b13;border-color:#d0ad7d}.button-primary:hover:not(:disabled){filter:brightness(1.07);transform:translateY(-1px)}.button-secondary{background:#26241f;border-color:#444036;color:#d7c5a9}.button-secondary:hover{background:#302d26}.button-soon{font-size:8px;letter-spacing:.1em;opacity:.65;border-left:1px solid rgba(30,25,18,.3);padding-left:8px}.right-rail{display:flex;flex-direction:column;gap:13px}.info-panel{padding:18px}.panel-heading,.settings-title{display:flex;align-items:center;gap:10px}.mini-icon{width:33px;height:33px;border-radius:9px;background:#2b2821;color:#c7a678;border:1px solid #443c30;display:grid;place-items:center}.panel-heading h3,.settings-title h3{font-size:12px;margin:0 0 4px;color:#e5dfd4;font-weight:600}.panel-heading p,.settings-title p{font-size:10px;color:#858076;margin:0}.empty-settings{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:17px 8px 7px}.empty-settings-icon{width:42px;height:42px;border-radius:50%;border:1px solid #3b3931;background:#22211d;color:#a99a7e;display:grid;place-items:center;margin-bottom:13px}.empty-settings strong{font-size:11px;color:#c8c1b5;margin-bottom:6px}.empty-settings span{max-width:205px;font-size:10px;line-height:1.55;color:#807b72}.note-panel{display:flex;gap:11px;padding:15px}.note-icon{color:#9cae8f;padding-top:1px}.note-panel strong{font-size:10px;color:#d9d2c6}.note-panel p{font-size:10px;line-height:1.55;color:#89847b;margin:5px 0 0}.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:20px}.filter-tabs{display:flex;gap:5px}.filter-tabs button{border:1px solid transparent;background:transparent;color:#918b80;padding:7px 11px;border-radius:7px;font-size:10px}.filter-tabs button.active{background:#2a2721;border-color:#443a2c;color:#dfc39a}.empty-state{min-height:390px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:35px 20px}.empty-art{width:75px;height:75px;border-radius:23px;border:1px solid #3b382f;background:linear-gradient(145deg,#2b2821,#1d1c19);display:grid;place-items:center;color:#c2a276;position:relative;margin-bottom:21px}.empty-art-ring{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;border:1px solid rgba(196,160,113,.13);border-radius:28px}.empty-state h2{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:17px;letter-spacing:-.02em;margin:0 0 8px;color:#e7e1d7}.empty-state p{font-size:11px;line-height:1.7;color:#89847a;max-width:380px;margin:0 0 17px}.loading-line{padding:50px;text-align:center;color:#918b80;font-size:12px}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:15px}.gallery-item{border:1px solid var(--line);background:var(--panel);border-radius:11px;overflow:hidden}.gallery-thumb{height:165px;background:#22211e;position:relative;display:grid;place-items:center}.thumb-placeholder{width:54px;height:54px;border-radius:16px;background:#302d26;color:#a9987a;display:grid;place-items:center}.gallery-status{position:absolute;top:10px;right:10px;background:#141411dd;border:1px solid #454036;border-radius:20px;padding:4px 8px;font-size:8px;color:#c4b89f}.gallery-meta{display:flex;flex-direction:column;gap:4px;padding:11px 12px 0}.gallery-meta strong{font-size:11px;color:#ddd6ca}.gallery-meta span{font-size:9px;color:#827d73}.gallery-item>p{padding:0 12px 12px;color:#a49d91;font-size:10px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.history-list{border:1px solid var(--line);border-radius:11px;overflow:hidden}.history-row{display:flex;align-items:center;gap:13px;padding:14px 16px;border-bottom:1px solid var(--line);background:#191917}.history-row:last-child{border-bottom:0}.history-kind{width:35px;height:35px;border-radius:9px;background:#29261f;color:#c2a276;display:grid;place-items:center;flex-shrink:0}.history-text{min-width:0;flex:1}.history-text strong{font-size:11px;color:#e0d9ce}.history-text p{font-size:10px;color:#89847a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 0 0}.history-date{font-size:9px;color:#827d73;white-space:nowrap}.status-tag{font-size:8px;color:#b7a37e;border:1px solid #494033;border-radius:20px;padding:4px 8px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.settings-card{padding:19px}.settings-title{padding-bottom:17px;border-bottom:1px solid var(--line);margin-bottom:7px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid rgba(55,53,47,.65);font-size:10px;color:#938d82}.settings-row strong{font-weight:500;color:#d7d0c5;text-align:right}.status-good{display:inline-flex;align-items:center;gap:5px;color:#9fb394;font-size:10px}.status-muted{color:#b39a73;font-size:10px}.settings-hint{font-size:10px;line-height:1.6;color:#837e74;margin:12px 0 0}.app-footer{margin:0 42px;border-top:1px solid var(--line);padding:15px 0 20px;display:flex;justify-content:space-between;color:#625f57;font-size:8px;letter-spacing:.13em}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:35px 18px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 15%,rgba(175,139,91,.11),transparent 42%),#11110f}.auth-orbit{position:absolute;width:520px;height:520px;border:1px solid rgba(191,158,112,.08);border-radius:50%;pointer-events:none}.orbit-one{transform:scaleX(1.45) rotate(-22deg)}.orbit-two{transform:scaleX(1.45) rotate(22deg)}.auth-card{position:relative;width:min(100%,420px);padding:34px 35px 25px;border:1px solid #39362f;border-radius:17px;background:#191916f5;box-shadow:0 25px 100px #00000059}.auth-card>.brand{margin-bottom:36px}.auth-heading{margin-bottom:25px}.auth-heading h1{font-size:25px}.auth-form{display:flex;flex-direction:column;gap:15px}.auth-form label{font-size:10px;color:#bdb5a8;display:flex;flex-direction:column;gap:7px}.auth-form input{height:42px;border:1px solid #403d35;border-radius:8px;background:#141412;color:#eee8de;padding:0 12px;outline:0;font-size:12px}.auth-form input:focus{border-color:#957c59;box-shadow:0 0 0 3px #c4a07114}.optional{color:#777268;font-weight:400;margin-left:4px}.button-wide{width:100%;height:43px;margin-top:4px}.form-error{padding:9px 10px;border-radius:7px;background:#35221f;border:1px solid #5b342d;color:#e1a293;font-size:10px}.auth-foot{display:flex;align-items:center;justify-content:center;gap:7px;color:#777268;font-size:9px;margin-top:22px}.auth-foot svg{color:#a48c69}.auth-version{position:absolute;bottom:20px;color:#57534b;font-size:8px;letter-spacing:.2em}.setup-card,.recovery-card{width:min(100%,440px)}.qr-wrap{width:180px;height:180px;margin:0 auto 15px;padding:10px;border-radius:12px;background:#fff;display:grid;place-items:center}.qr-wrap img{width:100%;height:100%}.setup-secret{display:flex;flex-direction:column;gap:7px;align-items:center;margin-bottom:20px}.setup-secret span{font-size:9px;color:#8b857a}.setup-secret code{font-size:11px;letter-spacing:.12em;color:#dfc49a;background:#2a2721;border:1px solid #484032;border-radius:6px;padding:8px 10px;word-break:break-all}.recovery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:17px}.recovery-grid code{padding:10px 8px;background:#141412;border:1px solid #3c3932;border-radius:7px;color:#e1d1b6;text-align:center;font-size:11px;letter-spacing:.08em}.notice{padding:10px 12px;border-radius:8px;font-size:10px;line-height:1.55;margin-bottom:15px}.notice-warn{background:#2d281e;border:1px solid #4c402e;color:#d0b78e}.loading-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#11110f;color:#918b80;font-size:11px}.loading-screen .brand{transform:scale(1.1)}.toast{position:fixed;right:22px;bottom:22px;background:#252820;border:1px solid #4a5140;border-radius:9px;padding:12px 14px;display:flex;align-items:center;gap:9px;color:#d6e0ce;font-size:11px;z-index:50}.toast button{background:none;border:0;color:#9ba38f;display:grid;place-items:center}.mobile-scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;border:0;z-index:19}@media(max-width:1050px){.create-layout{grid-template-columns:minmax(0,1fr) 250px}.page-content{padding-left:28px;padding-right:28px}.topbar{padding:0 28px}.app-footer{margin-left:28px;margin-right:28px}}@media(max-width:820px){.sidebar{transform:translate(-100%);transition:transform .22s ease;box-shadow:20px 0 60px #0005}.sidebar.sidebar-open{transform:translate(0)}.mobile-scrim{display:block}.mobile-close,.menu-button{display:grid}.main-area{margin-left:0}.topbar{padding:0 18px;height:58px}.page-content{padding:28px 18px 40px}.app-footer{margin:0 18px}.create-layout{grid-template-columns:1fr}.right-rail{display:grid;grid-template-columns:1fr 1fr}.sidebar-top{padding-bottom:30px}}@media(max-width:600px){.page-header{align-items:flex-start;flex-direction:column;margin-bottom:22px}.page-header h1{font-size:25px}.mode-pill{font-size:9px}.composer-panel{padding:18px 15px 15px}.right-rail{grid-template-columns:1fr}.topbar-private{display:none}.settings-grid{grid-template-columns:1fr}.history-row{gap:9px;padding:12px}.history-date{display:none}.history-text p{max-width:190px}.app-footer{font-size:7px;gap:12px}.auth-card{padding:28px 22px 22px}.recovery-grid{grid-template-columns:1fr 1fr}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-thumb{height:125px}.filter-tabs button{padding:7px 8px}.gallery-toolbar{align-items:flex-start;gap:10px}.gallery-toolbar>.muted-small{padding-top:8px}}.parameter-form{display:flex;flex-direction:column;gap:15px;padding-top:19px}.parameter-form>label{font-size:11px;color:#b9af9f;display:flex;flex-direction:column;gap:8px}.parameter-form input[type=password],.parameter-form input[type=text],.endpoint-row input{border:1px solid #403b34;border-radius:8px;background:#141412;color:#e8dfd0;padding:10px 11px;outline:0;font-size:11px;min-width:0}.parameter-form input:focus,.endpoint-row input:focus{border-color:#b39364}.parameter-form .check-row{display:flex;flex-direction:row;align-items:center;gap:9px;cursor:pointer}.check-row input{accent-color:#b89462;width:15px;height:15px}.parameter-help{color:#8e877b;line-height:1.65;font-size:10px;margin:0}.parameter-form input[type=range]{width:100%;accent-color:#c49a60}.paid-notice{font-size:10px;line-height:1.6;color:#8c8171;margin:15px 0 0}.toolbar-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.job-result{margin-top:20px;padding:18px}.job-result-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.job-result-heading strong{font-size:14px}.job-message{font-size:11px;line-height:1.65;color:#a99f90;margin:12px 0}.job-error{color:#e1a293;font-size:11px;line-height:1.6;margin:12px 0}.job-output-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:16px 0}.job-output{min-width:0}.job-output img,.job-output video{display:block;width:100%;max-height:330px;object-fit:contain;border:1px solid #39362f;background:#0f0f0e;border-radius:8px}.file-download{display:inline-flex;align-items:center;gap:7px;color:#d8b785;text-decoration:none;font-size:11px;padding:9px 0}.file-download:hover{color:#f2d4a9}.gallery-thumb img,.gallery-thumb video{height:100%;width:100%;object-fit:cover;background:#101010}.gallery-thumb>a{display:block;width:100%;height:100%}.gallery-thumb .status-tag{position:absolute;top:10px;right:10px;background:#191816eb}.gallery-download{padding:0 12px 13px}.gallery-error{color:#d89b8d!important}.status-succeeded{color:#abcf9c;border-color:#455f3a}.status-failed,.status-unknown{color:#e6a99a;border-color:#79473e}.status-running,.status-queued{color:#dec18c}.history-error{color:#dd9f91!important;white-space:normal!important}.repeat-button{padding:7px 10px;font-size:10px}.template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.template-card{padding:18px;display:flex;flex-direction:column;gap:12px}.template-top{display:flex;gap:8px;align-items:center;color:#d9c1a0}.template-top strong{font-size:13px}.template-card>p{color:#a99f92;font-size:11px;line-height:1.55;flex:1;white-space:pre-wrap;overflow-wrap:anywhere}.settings-wide{grid-column:1/-1}.settings-card .parameter-form{padding-top:14px}.settings-card .parameter-form>label{color:#bcb2a3}.endpoint-list{margin-top:12px;border-top:1px solid #36332d;padding-top:16px}.endpoint-list h3{font-size:13px;color:#dcd0bc;margin:0 0 8px}.endpoint-list>.parameter-help{margin-bottom:15px}.endpoint-row{display:grid!important;grid-template-columns:minmax(140px,1fr) minmax(140px,1fr);align-items:center;gap:14px;padding:8px 0;border-bottom:1px solid #2b2924}.endpoint-row>span{font-size:11px;color:#d7cbb8}.endpoint-row small{display:block;word-break:break-all;font-size:9px;color:#706a60;margin-top:4px}.settings-save{align-self:flex-start}.notice-success{color:#b9d4ac;background:#263222;border:1px solid #3c5632;margin:0}.job-result>.button{margin-top:8px}@media(max-width:600px){.endpoint-row{grid-template-columns:1fr;gap:6px}.endpoint-list{margin-top:0}.job-output-grid{grid-template-columns:1fr}.gallery-grid{gap:8px}.gallery-thumb{height:135px}.repeat-button{display:none}}.studio-page{width:min(1500px,100%);padding-top:27px}.studio-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 21px}.studio-page-heading h1{font-size:29px;letter-spacing:-.038em;color:#f2eee7;font-weight:670;margin:7px 0 5px}.studio-page-heading p{font-size:12px;color:#a69f95;margin:0}.studio-api-state{display:flex;gap:10px;align-items:center;white-space:nowrap;border:1px solid #4b4032;background:#272219;color:#d6b68a;border-radius:24px;padding:10px 14px;font-size:11px}.studio-api-state.is-ready{background:#20271d;border-color:#3d5138;color:#b5c9a7}.studio-workspace{background:#181816;border:1px solid #35312b;border-radius:17px;padding:25px 29px 28px;box-shadow:0 14px 60px #0002}.studio-top-controls{display:flex;align-items:end;justify-content:space-between;gap:25px;padding-bottom:23px;border-bottom:1px solid #37332e}.studio-mode-switch{margin:0;flex-shrink:0;align-self:end}.studio-mode-switch button{height:43px;padding:0 20px;font-size:13px;font-weight:600}.studio-model-field{display:block;width:min(380px,48%)}.studio-model-field>span,.studio-control-label,.studio-inline-select>span,.studio-duration>span{display:block;color:#c0ac8e;font-size:10px;font-weight:700;letter-spacing:.115em;margin:0 0 10px}.studio-model-field .select-wrap{height:44px;background:#21201e;border-color:#484136}.studio-model-field select{font-size:13px;font-weight:600}.studio-section{padding:25px 0;border-bottom:1px solid #36322d}.studio-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}.studio-section-title>div{display:flex;align-items:center;gap:11px;color:#d3ad79}.studio-section-title h2{margin:0;color:#ede5d8;font-size:16px;line-height:1.3;font-weight:650}.studio-section-title>span{color:#aaa092;font-size:11px}.studio-control-group{display:grid;grid-template-columns:minmax(200px,.66fr) minmax(0,1.34fr);gap:35px}.studio-choice-group{display:flex;flex-wrap:wrap;gap:8px}.studio-choice{min-width:72px;min-height:47px;padding:0 17px;border:1px solid #4a4238;border-radius:9px;background:#23211e;color:#e1d7c9;font-weight:650;font-size:13px}.studio-choice.active,.studio-choice:hover{border-color:#d2ab78;background:#3c3124;color:#f5d9ad}.studio-ratio-group{display:flex;flex-wrap:wrap;gap:8px}.studio-ratio-choice{min-width:62px;height:75px;padding:8px 7px;border-radius:10px;border:1px solid #494238;background:#23211e;color:#c8bdad;display:flex;align-items:center;justify-content:center;gap:8px;flex-direction:column;font-size:11px;transition:background .15s,border-color .15s}.studio-ratio-choice.active{color:#f6d4a4;background:#3a3024;border-color:#d2ab78;box-shadow:inset 0 0 0 1px #d2ab7830}.studio-ratio-choice:hover:not(:disabled){border-color:#b38d5b;color:#f0debf}.studio-ratio-choice:disabled{opacity:.4}.studio-ratio-icon{display:block;border:1.7px solid currentColor;border-radius:2px;max-height:23px;max-width:31px}.studio-ratio-square{width:23px;height:23px}.studio-ratio-wide{width:31px;height:17px}.studio-ratio-tall{width:14px;height:25px}.studio-ratio-landscape{width:27px;height:20px}.studio-ratio-portrait{width:18px;height:25px}.studio-ratio-cinema{width:31px;height:13px}.studio-ratio-auto{width:23px;height:23px;border-style:dashed;transform:rotate(-8deg)}.studio-control-note{display:block;margin-top:9px;color:#bcab92;font-size:11px}.studio-video-controls{display:grid;grid-template-columns:minmax(210px,1fr) minmax(200px,1fr) auto;align-items:center;gap:20px;margin-top:23px;padding-top:22px;border-top:1px solid #33302a}.studio-inline-select .select-wrap{background:#22201c}.studio-inline-select select{font-size:12px}.studio-duration{align-self:stretch}.studio-duration>span{display:flex;justify-content:space-between;gap:8px}.studio-duration strong{color:#e8c18c}.studio-duration input[type=range]{width:100%;accent-color:#caa472;height:24px;cursor:pointer}.studio-duration small{display:block;color:#968b7d;font-size:10px}.studio-checkbox{display:inline-flex;align-items:center;gap:9px;color:#c9c0b3;font-size:12px;cursor:pointer;white-space:nowrap}.studio-checkbox input{accent-color:#ca9d66;width:16px;height:16px;cursor:pointer}.studio-options{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px}.studio-options>span{color:#9c9081;font-size:11px;line-height:1.6}.studio-dropzone{position:relative;min-height:189px;background:radial-gradient(ellipse at 50% 0%,#29251f55,transparent 70%),#1d1c19;border:1.5px dashed #62543f;border-radius:12px;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;gap:10px;padding:20px;transition:background .15s,border-color .15s}.studio-dropzone.is-dragging,.studio-dropzone:hover{background:#2b251d;border-color:#d0a571}.studio-drop-graphic{width:52px;height:52px;border-radius:12px;background:#352b20;border:1px solid #635039;display:grid;place-items:center;color:#e1b981;margin-bottom:3px;pointer-events:none}.studio-dropzone strong{color:#f1e3d0;font-weight:650;font-size:15px;pointer-events:none}.studio-dropzone>span{color:#b4a899;font-size:12px;pointer-events:none}.studio-dropzone .button{margin-top:2px;border-color:#756146;background:#393024;color:#f0d1a4}.studio-dropzone>small{color:#8f8679;font-size:10px;pointer-events:none}.studio-ref-list{display:flex;flex-wrap:wrap;gap:13px;margin-top:18px}.studio-ref-tile{width:142px;min-width:0;border:1px solid #4b4439;border-radius:11px;background:#24221f;overflow:hidden}.studio-ref-preview{height:136px;width:100%;position:relative;background:#10100f}.studio-ref-preview>img{height:100%;width:100%;object-fit:cover}.studio-ref-remove{position:absolute;right:6px;top:6px;width:26px;height:26px;border-radius:7px;border:1px solid #a67f6e;background:#301f1ce8;color:#f1d0c6;display:grid;place-items:center}.studio-ref-remove:hover{background:#6d3026;color:#fff}.studio-ref-tag{position:absolute;bottom:5px;left:5px;right:5px;width:max-content;max-width:calc(100% - 10px);border-radius:5px;background:#111b;padding:4px 6px;color:#ffe6bd;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-ref-meta{display:flex;flex-direction:column;gap:3px;padding:9px 9px 6px;min-width:0}.studio-ref-meta strong{font-size:10px;color:#e3d8c7;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-ref-meta span{font-size:10px;color:#9c9183}.studio-ref-order{border-top:1px solid #39352f;padding:3px 6px;display:flex;align-items:center;justify-content:space-between}.studio-ref-order span{font-size:10px;color:#b9a891}.studio-ref-order button{width:25px;height:24px;border:0;background:transparent;color:#c3a376;display:grid;place-items:center;border-radius:5px}.studio-ref-order button:hover:not(:disabled){background:#3b3328}.studio-guidance{font-size:11px;color:#c2ae90;margin:14px 0 0}.studio-prompt-section textarea{display:block;width:100%;min-height:166px;resize:vertical;border:1px solid #52483a;border-radius:11px;background:#1d1b19;color:#f0e9dd;padding:16px 18px;font-size:14px;line-height:1.7;outline:0}.studio-prompt-section textarea:focus{border-color:#d3a972;box-shadow:0 0 0 3px #caa16b1c}.studio-prompt-section textarea::placeholder{color:#8e867a}.studio-error{margin-top:18px;font-size:12px}.studio-action-row{display:flex;align-items:center;justify-content:space-between;gap:19px;margin-top:22px}.studio-cost-note{display:flex;align-items:center;gap:10px;color:#aea08e;font-size:11px;line-height:1.55}.studio-cost-note svg{flex-shrink:0;color:#9da98a}.studio-action-buttons{display:flex;align-items:center;gap:10px}.studio-action-buttons .button{height:45px;padding:0 20px;font-size:12px}.studio-action-buttons .studio-submit{min-width:200px;font-size:14px;font-weight:700}.studio-workspace>.job-result{margin-top:24px}.studio-workspace .studio-section:last-child{border-bottom:0}@media(max-width:1200px){.studio-control-group{grid-template-columns:1fr;gap:22px}.studio-page{padding-left:25px;padding-right:25px}.studio-ratio-choice{min-width:59px}.studio-workspace{padding:21px}}@media(max-width:820px){.studio-page{padding:24px 18px 40px}.studio-workspace{padding:17px}.studio-video-controls{grid-template-columns:1fr 1fr}.studio-page-heading h1{font-size:26px}}@media(max-width:620px){.studio-page-heading{flex-direction:column;align-items:start}.studio-top-controls{flex-direction:column;align-items:stretch;gap:17px}.studio-model-field{width:100%}.studio-mode-switch{align-self:flex-start}.studio-mode-switch button{font-size:12px;padding:0 11px}.studio-section{padding:21px 0}.studio-video-controls{grid-template-columns:1fr}.studio-options{align-items:start}.studio-ratio-group{gap:6px}.studio-ratio-choice{min-width:57px;height:68px}.studio-action-row{flex-direction:column;align-items:stretch}.studio-action-buttons{width:100%}.studio-action-buttons>.button{flex:1}.studio-action-buttons>.studio-submit{min-width:0;flex:2}.studio-ref-tile{width:116px}.studio-ref-preview{height:112px}.studio-workspace{border-radius:12px;padding:14px}.studio-api-state{white-space:normal}.studio-dropzone>span{font-size:11px}}.studio-page{max-width:1130px;margin-left:auto;margin-right:auto;padding:34px 32px 64px}.studio-top-controls{flex-direction:column;align-items:stretch;gap:22px}.studio-mode-switch{align-self:flex-start}.studio-model-field{width:100%;max-width:none}.studio-control-group{grid-template-columns:minmax(0,1fr);gap:29px}.studio-choice-group{gap:11px}.studio-choice{min-width:90px}.studio-ratio-group{gap:12px}.studio-ratio-choice{min-width:80px}.studio-workspace{padding:27px 32px}.studio-dropzone:focus-within{border-color:var(--accent2)}.studio-dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:250;background:#040404c7;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:grid;place-items:center;padding:18px}.studio-dialog{width:min(465px,100%);background:#201e1b;border:1px solid #5d4a35;border-radius:17px;box-shadow:0 24px 95px #000b;padding:25px;color:#f4ecde}.studio-dialog-top{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:25px}.studio-dialog-top h2{font-size:19px;line-height:1.35;font-weight:700;margin:0 0 8px;color:#f3e7d3}.studio-dialog-top p{font-size:12px;color:#b9ab96;margin:0}.studio-dialog-close{width:30px;height:30px;flex-shrink:0;border:1px solid #544735;border-radius:9px;background:#2f2922;color:#e9d6bc;display:grid;place-items:center}.studio-review{display:grid;gap:0;border:1px solid #453d31;border-radius:10px;overflow:hidden}.studio-review>div{display:flex;justify-content:space-between;align-items:center;padding:13px 14px;gap:10px;border-bottom:1px solid #3d352b;font-size:12px}.studio-review>div:last-child{border-bottom:0}.studio-review span{color:#ad9f8e}.studio-review strong{font-weight:650;color:#eed6b6;text-align:right}.studio-dialog-note{font-size:12px;line-height:1.7;color:#c8b9a4;margin:17px 0 25px}.studio-dialog-actions{display:flex;justify-content:end;gap:10px;margin-top:24px}.studio-dialog-actions .button{min-height:42px;padding:0 20px}.studio-dialog-field{display:grid;gap:9px;color:#d7c9b4;font-size:12px}.studio-dialog-field input{background:#141311;border:1px solid #60513d;color:#f4e5d1;padding:13px;border-radius:9px;min-width:0;outline:0}.studio-dialog-field input:focus{border-color:#d2a973}.button-danger{background:#622d2a;color:#fff;border-color:#854744}@media(max-width:620px){.studio-page{padding:24px 16px 45px}.studio-workspace{padding:15px}.studio-ratio-choice{min-width:65px}.studio-dialog{padding:19px}.studio-dialog-actions .button{flex:1;padding:0 10px}}.studio-page-heading p{font-size:14px;line-height:1.6;color:#bfb4a4}.studio-api-state{font-size:12px}.studio-model-field>span,.studio-control-label,.studio-inline-select>span,.studio-duration>span{font-size:12px;letter-spacing:.07em;color:#d0b999}.studio-ratio-choice{font-size:13px}.studio-section-title>span{font-size:12px;color:#c6b7a3}.studio-dropzone>span{font-size:13px;color:#c7b8a4}.studio-dropzone>small{font-size:12px;color:#b5a58f}.studio-ref-meta strong,.studio-ref-meta span{font-size:12px}.studio-ref-tag{font-size:11px}.studio-control-note,.studio-guidance,.studio-options>span,.studio-cost-note{font-size:12px;line-height:1.65}.studio-prompt-section textarea{font-size:15px}.studio-action-buttons .button{font-size:13px}@media(max-width:620px){.studio-page-heading p{font-size:13px}.studio-ratio-choice{font-size:12px}}.sc-studio{position:fixed;top:64px;left:246px;right:0;bottom:0;display:flex;flex-direction:column;overflow:hidden;background:#141413;color:#eee9e2;z-index:1}.sc-feed{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:27px 29px 16px;scrollbar-color:#464137 transparent;scrollbar-width:thin}.sc-feed-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 2px 23px}.sc-feed-top h1{font-size:20px;font-weight:650;letter-spacing:-.03em;color:#f1ebe0;margin:0 0 5px}.sc-feed-top p{font-size:12px;color:#ada395;margin:0}.sc-feed-actions{display:flex;align-items:center;gap:10px}.sc-connection{font-size:11px;color:#c99b72;border:1px solid #5e4532;border-radius:20px;padding:8px 12px;white-space:nowrap}.sc-connection.ok{color:#b5c6a6;border-color:#374732;background:#1e281e}.sc-circle-btn{display:grid;place-items:center;width:35px;height:35px;border:1px solid #3b3731;border-radius:50%;background:#22211e;color:#c6b39a;flex-shrink:0}.sc-circle-btn:hover{background:#332d25;border-color:#866a4c;color:#f6e3c4}.sc-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(164px,1fr));gap:10px;align-content:start}.sc-gallery-tile{min-width:0;aspect-ratio:1/1;overflow:hidden;position:relative;border:1px solid #34312d;border-radius:12px;background:#1c1b19;padding:0;color:#d8d0c4;text-align:left}.sc-gallery-tile img,.sc-gallery-tile video{display:block;width:100%;height:100%;object-fit:cover;transition:transform .22s ease}.sc-gallery-tile:hover img,.sc-gallery-tile:hover video{transform:scale(1.045)}.sc-gallery-tile:focus-visible{outline:2px solid #d7ab70;outline-offset:2px}.sc-gallery-hover{position:absolute;bottom:0;left:0;right:0;padding:25px 12px 11px;background:linear-gradient(transparent,#0b0b0bec);font-size:11px;font-weight:600;color:#f3e4ce;display:flex;gap:7px;align-items:center;justify-content:space-between;opacity:0;transition:opacity .2s}.sc-gallery-tile:hover .sc-gallery-hover,.sc-gallery-tile:focus-visible .sc-gallery-hover{opacity:1}.sc-video-badge{position:absolute;right:8px;bottom:8px;display:flex;align-items:center;gap:4px;background:#111d;border-radius:16px;padding:5px 8px;color:#fff;font-size:11px;font-weight:700}.sc-job-badge{position:absolute;top:8px;right:8px;padding:5px 8px;background:#241e18e9;border:1px solid #5b4734;border-radius:20px;color:#ead0ad;font-size:10px}.sc-job-failed,.sc-job-unknown{background:#43251fe5;border-color:#88483e;color:#f3b6aa}.sc-placeholder{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;color:#857b6b;font-size:12px;text-align:center;padding:15px}.sc-gallery-pending{background:linear-gradient(150deg,#24211b,#171716)}.sc-feed-bottom-space{height:19px}.sc-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:250px;max-width:520px;margin:auto;color:#a99c8c;padding:30px 15px}.sc-empty-icon{width:72px;height:72px;border-radius:22px;display:grid;place-items:center;background:#211f1c;border:1px solid #494033;color:#c49f73;margin-bottom:18px}.sc-empty h2{font-size:17px;color:#e6dac8;letter-spacing:-.02em;margin:0 0 8px}.sc-empty p{font-size:12px;line-height:1.7;margin:0;max-width:360px;color:#a79d8f}.sc-empty-contained{min-height:350px}.sc-empty-contained .button{margin-top:20px}.sc-spin{animation:sc-spin 1.3s linear infinite}@keyframes sc-spin{to{transform:rotate(360deg)}}.sc-composer{position:relative;flex-shrink:0;width:min(920px,calc(100% - 42px));margin:0 auto 18px;padding:11px 14px 10px;background:linear-gradient(180deg,#242320,#1c1b1a);border:1px solid #51473b;border-radius:20px;box-shadow:0 20px 55px #0008,0 1px #ffffff08;z-index:2;max-height:min(72vh,480px);display:flex;flex-direction:column}.sc-composer:focus-within{border-color:#997c59}.sc-composer-dragging{border-color:#e5b77c;background:#302921}.sc-composer-files{display:flex;align-items:center;gap:9px;min-height:59px;max-height:128px;overflow-x:auto;overflow-y:hidden;padding:3px 1px 7px;scrollbar-color:#51483b transparent;scrollbar-width:thin;flex-shrink:0}.sc-add-ref{width:57px;height:57px;flex:0 0 57px;border-radius:12px;border:1px dashed #796348;background:#2b2824;color:#d8b586;display:grid;place-items:center;position:relative}.sc-add-ref:hover{background:#3a3024;border-color:#d3a66d}.sc-add-small{position:absolute;right:8px;bottom:7px}.sc-ref-hint{display:flex;flex-direction:column;gap:5px;color:#d1bc9f;font-size:12px;min-width:0}.sc-ref-hint span{color:#8f8578;font-size:10px}.sc-file-count{font-size:11px;color:#bda88b;margin-left:auto;white-space:nowrap}.sc-ref{position:relative;height:57px;width:57px;flex:0 0 57px;border-radius:12px;border:1px solid #615441;overflow:hidden;background:#151515}.sc-ref img{width:100%;height:100%;object-fit:cover;display:block}.sc-ref>span{position:absolute;left:2px;bottom:2px;background:#080808c7;border-radius:4px;padding:2px 4px;color:#eee0ce;font-size:9px}.sc-ref-close{position:absolute;right:2px;top:2px;width:21px;height:21px;display:grid;place-items:center;border:0;border-radius:6px;background:#15120fe6;color:#ffe5da}.sc-ref-close:hover{background:#793729}.sc-ref-move{position:absolute;right:0;bottom:0;display:flex;gap:1px}.sc-ref-move button{height:21px;width:17px;display:grid;place-items:center;padding:0;border:0;background:#191715d6;color:#f4d2a4;font-size:16px}.sc-prompt{width:100%;display:block;resize:none;outline:none;background:transparent;border:0;color:#f4ede1;padding:12px 4px;font-size:15px;line-height:1.6;min-height:63px;max-height:155px;flex:1;overflow-y:auto}.sc-prompt::placeholder{color:#9f968a}.sc-tool-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:13px;border-top:1px solid #37342e;padding-top:12px}.sc-tools-left{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap;min-width:0;flex:1}.sc-mini-control,.sc-model-picker{display:flex;flex-direction:column;gap:6px;min-width:0}.sc-mini-control>span,.sc-model-picker>span{color:#ae9d85;font-size:10px;font-weight:700;letter-spacing:.02em}.sc-pill-select{height:35px;min-width:78px;display:flex;align-items:center;position:relative;border:1px solid #504536;border-radius:9px;background:#2d2923;overflow:hidden}.sc-pill-select select{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:100%;padding:0 29px 0 11px;background:transparent;border:0;outline:none;color:#f2e1cb;font-size:12px;font-weight:600;min-width:0;cursor:pointer}.sc-pill-select svg{position:absolute;right:10px;color:#b79f7f;pointer-events:none}.sc-pill-select select:disabled{opacity:.6;cursor:not-allowed}.sc-pill-select select option{background:#211f1b;color:#f0e4d6}.sc-duration .sc-pill-select{min-width:82px}.sc-model-picker{flex-shrink:0;max-width:238px;min-width:145px;margin-left:auto}.sc-model-picker .sc-pill-select{min-width:165px;background:#3a3025;border-color:#786044}.sc-small-toggle{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#d5c3aa;font-size:11px;padding:0 3px 9px;cursor:pointer}.sc-small-toggle input{accent-color:#d2aa77;width:15px;height:15px;margin:0}.sc-bottom-bar{display:flex;align-items:center;gap:12px;border-top:1px solid #34322f;margin-top:10px;padding-top:10px}.sc-template-action{height:35px;width:35px;flex-shrink:0;border:1px solid #514738;border-radius:9px;background:#302a21;color:#e3c39b;display:grid;place-items:center}.sc-template-action:hover{background:#473728}.sc-price{min-width:0;display:flex;flex-direction:column;gap:3px}.sc-price strong{font-size:16px;line-height:1.15;color:#f1d1a6;font-weight:700;font-variant-numeric:tabular-nums}.sc-price>span{color:#a9a093;font-size:10px;line-height:1.4}.sc-price a{color:#ccae85;display:inline-flex;align-items:center;gap:2px;text-decoration:underline;text-decoration-color:#6e5c46;text-underline-offset:2px}.sc-submit-group{display:flex;align-items:center;gap:11px;margin-left:auto}.sc-confirm-mode{font-size:10px;color:#bca588;white-space:nowrap}.sc-send{height:42px;padding:0 18px;border:1px solid #ddb17a;border-radius:11px;background:linear-gradient(180deg,#d9b586,#bc9562);color:#211810;font-size:13px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:10px;min-width:155px}.sc-send:hover:not(:disabled){filter:brightness(1.07)}.sc-send:disabled{filter:grayscale(.4);opacity:.65}.sc-composer-message{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-top:9px;padding:9px 11px;background:#273023;border:1px solid #526947;border-radius:8px;color:#cde4bb;font-size:11px;line-height:1.5}.sc-composer-message.error{background:#3a2320;border-color:#925347;color:#f3b6a6}.sc-composer-message button{border:0;background:transparent;color:inherit;display:grid;place-items:center;padding:0}.sc-drag-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;pointer-events:none;border:2px dashed #e8bc7d;border-radius:19px;background:#24201bf5;color:#f4d2a7;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;font-size:17px;font-weight:650}.sc-hidden{display:none}.sc-modal-shade{position:fixed;top:0;right:0;bottom:0;left:0;z-index:270;background:#050505dc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;justify-content:center;align-items:center;padding:20px}.sc-modal{width:min(500px,100%);max-height:min(94vh,960px);overflow-y:auto;background:#201e1b;border:1px solid #62503b;border-radius:18px;padding:22px;box-shadow:0 25px 110px #000b;scrollbar-color:#554838 transparent}.sc-modal-wide{width:min(1050px,100%)}.sc-modal-head{display:flex;justify-content:space-between;align-items:start;gap:18px;margin-bottom:16px}.sc-modal-head h2{margin:0 0 5px;color:#f5e9d8;font-size:18px;font-weight:700}.sc-modal-head p{margin:0;color:#b2a597;font-size:11px}.sc-preview-media{display:grid;place-items:center;min-height:170px;max-height:70vh;background:#111;border-radius:12px;overflow:hidden}.sc-preview-media img,.sc-preview-media video{max-width:100%;max-height:66vh;object-fit:contain;display:block}.sc-preview-no-file{color:#cfaf91;padding:40px;display:flex;gap:12px;flex-direction:column;align-items:center;text-align:center;line-height:1.5}.sc-preview-prompt{color:#d3c9bd;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;max-height:150px;overflow:auto}.sc-modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:16px}.sc-modal-actions button,.sc-modal-actions a{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:0 16px;font-size:12px;font-weight:650}.sc-outline-action{border:1px solid #64513a;background:#2e2821;color:#efdbc0}.sc-solid-action{border:1px solid #d3ac79;background:#caa475;color:#231c14}.sc-confirm-summary{display:grid;gap:0;border:1px solid #554838;border-radius:10px;overflow:hidden}.sc-confirm-summary>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 12px;border-bottom:1px solid #463c31;font-size:12px}.sc-confirm-summary>div:last-child{border-bottom:0}.sc-confirm-summary span{color:#b6a999}.sc-confirm-summary strong{color:#f3d2aa;text-align:right}.sc-price-warning{font-size:12px;color:#c7b7a3;line-height:1.55}.sc-template-field{display:flex;flex-direction:column;gap:8px;color:#bba88b;font-size:12px}.sc-template-field input{width:100%;background:#171512;border:1px solid #6a573f;border-radius:9px;padding:12px;color:#f4e6d4;outline:0}.sc-preference{padding:18px 2px;gap:18px}.sc-preference>div{max-width:700px}.sc-preference strong{display:block;font-size:13px;color:#ece1d1;text-align:left;margin-bottom:8px}.sc-preference p{font-size:11px;line-height:1.7;margin:0;color:#a99e8e}.sc-switch{position:relative;display:inline-flex;flex-shrink:0;cursor:pointer}.sc-switch input{position:absolute;opacity:0;top:0;right:0;bottom:0;left:0;width:100%;height:100%;cursor:pointer}.sc-switch span{display:block;width:46px;height:26px;border-radius:15px;border:1px solid #6b5b48;background:#3b3934;transition:background .15s;position:relative}.sc-switch span:after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#d3c9bb;transition:transform .15s}.sc-switch input:checked+span{background:#8e6b42;border-color:#d0a571}.sc-switch input:checked+span:after{transform:translate(20px);background:#f4e2c6}.sc-switch input:focus-visible+span{outline:2px solid #dfb679;outline-offset:3px}@media(max-width:1100px){.sc-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.sc-tool-bar{flex-wrap:wrap}.sc-model-picker{margin-left:0}.sc-composer{width:calc(100% - 28px)}.sc-mini-control .sc-pill-select{min-width:73px}}@media(max-width:820px){.sc-studio{left:0}.sc-feed{padding:20px 14px}.sc-composer{margin-bottom:10px}.sc-gallery-grid{gap:7px}}@media(max-width:620px){.sc-feed-top h1{font-size:17px}.sc-feed-top p{font-size:10px}.sc-feed-top{align-items:flex-start}.sc-connection{font-size:9px;padding:7px 9px}.sc-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:6px}.sc-gallery-tile{border-radius:7px}.sc-composer{width:calc(100% - 14px);margin-bottom:7px;padding:8px 9px;max-height:67vh;border-radius:15px}.sc-composer-files{min-height:49px;padding-bottom:5px}.sc-add-ref,.sc-ref{width:47px;height:47px;flex-basis:47px;border-radius:9px}.sc-ref-hint{font-size:10px}.sc-ref-hint span{font-size:9px}.sc-prompt{font-size:13px;min-height:45px;padding:7px 3px}.sc-tool-bar{gap:9px}.sc-tools-left{gap:6px}.sc-mini-control>span,.sc-model-picker>span{font-size:9px}.sc-pill-select{height:31px;min-width:65px}.sc-pill-select select{font-size:11px;padding:0 23px 0 8px}.sc-pill-select svg{right:5px}.sc-model-picker{min-width:120px;max-width:100%;flex:1}.sc-model-picker .sc-pill-select{min-width:120px}.sc-small-toggle{font-size:10px;padding-bottom:7px}.sc-price strong{font-size:14px}.sc-price>span{font-size:9px}.sc-send{min-width:42px;width:43px;padding:0;height:39px}.sc-send span{display:none}.sc-submit-group{gap:4px}.sc-confirm-mode{display:none}.sc-modal{padding:14px}.sc-gallery-hover{opacity:1;padding:18px 6px 6px;font-size:9px}}@media(max-height:700px){.sc-composer{max-height:67vh}.sc-composer-files{min-height:45px}.sc-prompt{min-height:44px}.sc-feed{padding-top:15px}}.sc-composer{width:calc(100% - 58px);max-width:none;max-height:min(85vh,640px);margin-bottom:12px}.sc-composer-files{min-height:60px;max-height:116px}.sc-prompt{box-sizing:border-box;flex:none;min-height:48px;max-height:calc(16em + 26px);padding:11px 4px;overflow-y:hidden;line-height:1.6;resize:none}.sc-mini-control{gap:0}.sc-tool-bar{align-items:flex-end}.sc-bottom-bar{margin-top:8px;padding-top:8px}.sc-price{display:flex;flex-direction:row;align-items:baseline;flex-wrap:nowrap;gap:7px;white-space:nowrap;overflow:hidden;max-width:100%}.sc-price strong{font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap}.sc-price>span{font-size:10px;line-height:1.2;white-space:nowrap}.sc-price a{white-space:nowrap}.sc-inline-error{margin-top:7px;display:flex;align-items:flex-start;gap:10px;justify-content:space-between;color:#eaa99b;font-size:11px;line-height:1.35}.sc-inline-error button{border:0;background:transparent;color:inherit;flex-shrink:0;cursor:pointer}.sc-gallery-grid{align-content:start}.sc-tile-wrap{min-width:0;position:relative;aspect-ratio:1/1}.sc-tile-wrap .sc-gallery-tile{width:100%;height:100%;display:block}.sc-tile-visibility{position:absolute;top:7px;right:7px;width:31px;height:31px;display:grid;place-items:center;border:1px solid #ffffff37;border-radius:9px;background:#100e0cdb;color:#f0e0cd;cursor:pointer;z-index:3;opacity:0;transition:opacity .15s,background .15s}.sc-tile-wrap:hover .sc-tile-visibility,.sc-tile-wrap:focus-within .sc-tile-visibility{opacity:1}.sc-tile-visibility:hover{background:#65452f}.sc-tile-visibility:disabled{opacity:.5;cursor:wait}.sc-visibility-active{color:#dbb280;background:#3b3024}.sc-failed-description{display:block;width:100%;max-width:95%;font-size:11px;color:#ebb8a9;overflow-wrap:anywhere;text-align:center;line-height:1.25}.sc-hide-action{margin-right:auto}@media(max-width:820px){.sc-composer{width:calc(100% - 26px);max-height:83vh}.sc-tile-visibility{opacity:1}}@media(max-width:620px){.sc-composer{width:calc(100% - 14px);max-height:82vh}.sc-prompt{min-height:42px;max-height:calc(16em + 18px);padding:7px 3px}.sc-price{gap:5px;max-width:calc(100vw - 100px)}.sc-price strong{font-size:11px}.sc-price>span{font-size:9px}.sc-price a svg{display:none}.sc-bottom-bar{gap:6px}.sc-tile-visibility{width:27px;height:27px;top:5px;right:5px}}@media(max-height:600px){.sc-composer{max-height:87vh;overflow-y:auto}}.sc-sync-card .settings-row{min-height:43px}.sc-sync-pair{margin-top:18px}.sc-sync-device{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-top:1px solid #34312c}.sc-sync-device>div{display:flex;flex-direction:column;gap:4px}.sc-sync-device strong{color:#f2e7d8;font-size:13px}.sc-sync-device small{color:#a89c8d;font-size:11px}.sc-sync-secret{padding:14px;border:1px solid #b99769;background:#312b22;border-radius:12px;margin:15px 0;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.sc-sync-secret>strong{font-size:13px;color:#eacda5}.sc-sync-secret p{font-size:11px;line-height:1.6;color:#c6b7a3;margin:0}.sc-sync-token{display:flex;align-items:center;gap:9px;max-width:100%;width:100%}.sc-sync-token code{min-width:0;flex:1;padding:11px;word-break:break-all;border:1px solid #554935;background:#1c1a17;color:#f3d6ac;border-radius:8px;font-size:12px;-webkit-user-select:all;user-select:all}@media(max-width:650px){.sc-sync-token,.sc-sync-device{flex-direction:column;align-items:stretch}}.sc-tools-left{align-items:center;gap:9px;row-gap:10px}.sc-tool-bar{align-items:center;gap:12px}.sc-upselect{position:relative;flex-shrink:0;min-width:0}.sc-upselect-trigger{display:flex;align-items:center;gap:9px;justify-content:space-between;width:100%;min-width:86px;height:36px;padding:0 11px;background:#292620;color:#f0dcc1;border:1px solid #584a38;border-radius:10px;font-size:12px;font-weight:650;line-height:1;transition:background .17s,border-color .17s,box-shadow .17s;white-space:nowrap}.sc-upselect-trigger>span:not(.sc-ratio-frame){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;text-align:left}.sc-upselect-trigger:hover,.sc-upselect-trigger.is-open{background:#353025;border-color:#aa8961}.sc-upselect-trigger:focus-visible{outline:2px solid #cba473;outline-offset:2px}.sc-upselect-trigger:disabled{opacity:.48;cursor:not-allowed}.sc-upselect-arrow{flex:0 0 auto;opacity:.75;transition:transform .18s}.sc-upselect-trigger.is-open .sc-upselect-arrow{transform:rotate(180deg)}.sc-quality{width:85px}.sc-aspect-picker{width:118px}.sc-aspect-picker .sc-upselect-trigger{gap:6px;padding:0 8px}.sc-frames-picker{width:173px}.sc-model-picker{display:flex;flex-direction:column;gap:5px;margin-left:auto;max-width:238px;min-width:160px}.sc-model-picker>span{font-size:10px;color:#ae9d85}.sc-model-dropdown{width:100%}.sc-model-dropdown .sc-upselect-trigger{background:#3a3025;border-color:#786044;min-width:160px}.sc-upmenu{position:fixed;z-index:3000;padding:5px;background:#211e1a;border:1px solid #776047;border-radius:13px;box-shadow:0 14px 44px #000c,0 0 0 1px #ffffff09;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#695642 transparent;animation:sc-menu-appear .13s ease-out}@keyframes sc-menu-appear{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.sc-upmenu-option{width:100%;min-height:38px;background:transparent;border:0;border-radius:8px;padding:7px 10px;display:flex;align-items:center;gap:10px;color:#e8dfd1;text-align:left;font-size:12px;font-weight:520;transition:background .12s;cursor:pointer}.sc-upmenu-option>span:not(.sc-ratio-frame){flex:1}.sc-upmenu-option>svg{margin-left:auto;flex:none;color:#d2ab75}.sc-upmenu-option:hover,.sc-upmenu-option:focus-visible{background:#3a3228;outline:none}.sc-upmenu-option.is-selected{background:#433626;color:#f3d6ae}.sc-upmenu-option.is-selected:hover{background:#50402d}.sc-ratio-frame{flex:0 0 39px;display:grid;place-items:center;height:27px}.sc-ratio-shape{display:block;border:1.5px solid #ba986d;border-radius:3px;background:linear-gradient(165deg,#80654d,#443c31 70%);position:relative;transition:width .22s ease,height .22s ease;overflow:hidden;box-shadow:inset 0 1px 1px #ffffff1a}.sc-ratio-horizon{position:absolute;left:-15%;bottom:0;right:-15%;height:45%;background:linear-gradient(150deg,#4f766b,#293e38);transform:skewY(-11deg);border-top:1px solid #a5a0766e}.sc-ratio-live{position:sticky;top:-5px;z-index:1;min-height:86px;margin:-5px -5px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:linear-gradient(145deg,#2a2722,#1d1b18);border-bottom:1px solid #4a4035;color:#d8c0a1;font-size:11px;font-weight:650}.sc-ratio-frame-large{height:58px;width:103px;flex:none}.sc-ratio-frame-large .sc-ratio-shape{border-radius:5px;border-width:2px}.sc-upmenu-ratios .sc-upmenu-option{min-height:35px}.sc-duration-control{display:flex;flex-direction:column;gap:3px;min-width:170px;width:clamp(160px,16vw,210px);padding:0 3px}.sc-duration-caption{display:flex;align-items:center;justify-content:space-between;gap:9px;color:#bfae98;font-size:10px;font-weight:650}.sc-duration-caption strong{color:#f0d6b1;font-size:12px}.sc-duration-track{display:flex;gap:7px;align-items:center;color:#877b6b;font-size:10px}.sc-duration-track input[type=range]{-moz-appearance:none;appearance:none;-webkit-appearance:none;flex:1;min-width:70px;height:6px;border-radius:99px;background:linear-gradient(to right,#cba16c 0%,#cba16c var(--sc-slider-progress),#454039 var(--sc-slider-progress),#454039 100%);border:none;outline:none;cursor:pointer;touch-action:pan-y}.sc-duration-track input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:17px;height:17px;background:#e5bb84;border:3px solid #3b3024;border-radius:50%;box-shadow:0 0 0 1px #d3a36c,0 2px 7px #0008}.sc-duration-track input[type=range]::-moz-range-thumb{width:12px;height:12px;background:#e5bb84;border:3px solid #3b3024;border-radius:50%;box-shadow:0 0 0 1px #d3a36c}.sc-duration-track input[type=range]:focus-visible{outline:2px solid #dfbc88;outline-offset:7px}.sc-toggle{display:flex;align-items:center;gap:7px;min-height:35px;white-space:nowrap;background:transparent;border:0;padding:0 3px;color:#cbbda9;font-size:11px;cursor:pointer}.sc-toggle:focus-visible{outline:2px solid #cba473;outline-offset:2px;border-radius:5px}.sc-toggle-track{height:20px;width:35px;flex:0 0 35px;border:1px solid #5a5146;border-radius:99px;background:#454039;display:flex;align-items:center;padding:2px;transition:background .2s,border-color .2s}.sc-toggle-track>span{height:14px;width:14px;border-radius:50%;background:#b3aaa0;box-shadow:0 1px 3px #0008;transition:transform .2s,background .2s}.sc-toggle-track.on{background:#977447;border-color:#c9a06d}.sc-toggle-track.on>span{transform:translate(15px);background:#fff0d6}.sc-toggle-label{font-size:11px}.sc-tile-visibility:hover{background:#6c352d;border-color:#b47764;color:#ffe5d9}.sc-preview-floating-close{display:none}.sc-modal-head{position:sticky;top:-22px;z-index:10;background:linear-gradient(#201e1b 87%,#201e1bf3);padding:5px 0 11px}.sc-modal-wide .sc-preview-media{min-height:120px}.sc-modal-wide .sc-preview-media img,.sc-modal-wide .sc-preview-media video{max-height:min(66dvh,710px)}@media(max-width:1100px){.sc-tool-bar{align-items:flex-end}.sc-tools-left{gap:8px}.sc-model-picker{min-width:150px}}@media(max-width:820px){.sc-model-picker{margin-left:0}.sc-duration-control{min-width:145px}.sc-modal-head{top:-14px}}@media(max-width:620px){.sc-tools-left{gap:7px;row-gap:8px}.sc-upselect-trigger{height:33px;padding:0 8px;font-size:11px;min-width:66px}.sc-quality{width:69px}.sc-aspect-picker{width:101px}.sc-frames-picker{width:145px}.sc-model-picker{min-width:145px;max-width:100%;flex:1}.sc-model-dropdown .sc-upselect-trigger{height:33px;min-width:120px}.sc-duration-control{width:100%;min-width:155px;max-width:240px;order:3;gap:6px;padding:3px}.sc-toggle{min-height:30px}.sc-toggle-label{font-size:10px}.sc-modal-shade{padding:0;align-items:stretch;justify-content:stretch;overflow:hidden}.sc-modal-wide{width:100%;height:100dvh;max-height:100dvh;padding:calc(12px + env(safe-area-inset-top)) 12px calc(15px + env(safe-area-inset-bottom));border-radius:0;border:0;overflow-y:auto;overscroll-behavior:contain}.sc-modal-wide .sc-modal-head{position:sticky;top:calc(-12px - env(safe-area-inset-top));padding:12px 51px 12px 0;min-height:60px;z-index:5;background:#201e1b;border-bottom:1px solid #3a3229}.sc-modal-wide .sc-modal-head .sc-circle-btn{display:none}.sc-preview-floating-close{display:grid;place-items:center;position:fixed;top:calc(env(safe-area-inset-top) + 13px);right:12px;width:42px;height:42px;background:#3e3429f2;border:1px solid #a37f51;border-radius:12px;color:#f5e5ce;z-index:290;box-shadow:0 3px 16px #0009}.sc-preview-floating-close:focus-visible{outline:2px solid #e5b784;outline-offset:2px}.sc-modal-wide .sc-preview-media{min-height:0;max-height:none;overflow:visible;background:#111}.sc-modal-wide .sc-preview-media img,.sc-modal-wide .sc-preview-media video{max-height:calc(100dvh - 170px);max-width:100%;height:auto;width:auto;object-fit:contain;touch-action:pinch-zoom}.sc-modal-wide .sc-modal-actions{padding-bottom:calc(16px + env(safe-area-inset-bottom))}}.sc-modal-portal{z-index:10000;isolation:isolate}@media(max-width:620px){.sc-modal-portal{top:0;right:0;bottom:0;left:0;width:100%;height:100dvh;min-height:100dvh;overflow:hidden}.sc-modal-portal .sc-modal-wide{width:100%;height:100dvh;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.sc-modal-portal .sc-preview-floating-close{position:fixed;top:calc(env(safe-area-inset-top) + 12px);right:12px;z-index:10001;display:grid;place-items:center;min-width:46px;min-height:46px;background:#34291f;border:1px solid #dbac76;color:#fff2df;box-shadow:0 5px 22px #000d;touch-action:manipulation}.sc-modal-portal .sc-modal-head{padding-right:66px;min-height:60px}.sc-modal-portal .sc-preview-media img,.sc-modal-portal .sc-preview-media video{max-height:calc(100dvh - 165px);object-fit:contain}}.sc-feed-top{position:relative;align-items:center}.sc-feed-actions{min-width:0}.sc-header-model{display:flex;align-items:center;gap:9px;min-width:0;padding:3px 6px 3px 10px;border-radius:12px;background:#24221f;border:1px solid #504436}.sc-header-status-dot{width:7px;height:7px;border-radius:50%;background:#b88b59;box-shadow:0 0 0 2px #362c22;flex:0 0 auto}.sc-header-status-dot.ok{background:#85b87e;box-shadow:0 0 0 2px #28372a}.sc-header-model-select{width:185px;min-width:0}.sc-header-model-select .sc-upselect-trigger{border:none;background:transparent;height:32px;min-width:0;padding:0 3px;color:#ecddc6;font-size:12px;max-width:100%}.sc-header-model-select .sc-upselect-trigger:hover,.sc-header-model-select .sc-upselect-trigger.is-open{background:#342e25}.sc-upmenu-down{animation:sc-menu-appear-down .13s ease-out}@keyframes sc-menu-appear-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.sc-template-tools{display:flex;gap:5px;align-items:center;flex:0 0 auto}.sc-template-use{border:1px solid #4e4233;background:#2b261e;border-radius:10px;height:35px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#e8cda5;font-size:11px;font-weight:650;white-space:nowrap}.sc-template-use:hover,.sc-template-use.is-active{background:#403223;border-color:#ac8252}.sc-template-use:focus-visible{outline:2px solid #e2b787;outline-offset:2px}.sc-template-picker{position:fixed;z-index:3010;display:flex;flex-direction:column;min-height:80px;max-height:440px;background:#211e1b;border:1px solid #786148;border-radius:14px;box-shadow:0 20px 60px #000d;padding:12px;overflow:hidden}.sc-template-picker-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px 9px;color:#f0ddc1;font-size:13px}.sc-template-picker-head button{display:grid;place-items:center;border:none;border-radius:7px;background:#322b24;color:#d8c4a7;width:28px;height:28px;cursor:pointer}.sc-template-search{border:1px solid #594b3b;border-radius:9px;padding:10px 12px;width:100%;background:#171614;color:#eee2d2;font-size:12px;outline:none;margin-bottom:8px}.sc-template-search:focus{border-color:#b89161}.sc-template-picker-list{display:flex;flex-direction:column;gap:5px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:1px;scrollbar-width:thin;scrollbar-color:#846b4d transparent}.sc-template-picker-item{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;width:100%;border:1px solid transparent;border-radius:10px;padding:10px 11px;background:#28241f;color:#dfcbb1;cursor:pointer}.sc-template-picker-item:hover,.sc-template-picker-item:focus-visible{background:#3b3024;border-color:#755c3c;outline:none}.sc-template-picker-name{font-size:12px;font-weight:700;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-template-picker-model{font-size:10px;color:#b3a089}.sc-template-picker-preview{font-size:11px;color:#aa9c8b;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.sc-template-picker-empty{margin:8px 0;color:#b6a38c;font-size:11px;line-height:1.5}.sc-upmenu::-webkit-scrollbar,.sc-template-picker-list::-webkit-scrollbar,.sc-feed::-webkit-scrollbar,.sc-composer-files::-webkit-scrollbar,.sc-prompt::-webkit-scrollbar{width:6px;height:6px}.sc-upmenu::-webkit-scrollbar-track,.sc-template-picker-list::-webkit-scrollbar-track,.sc-feed::-webkit-scrollbar-track,.sc-composer-files::-webkit-scrollbar-track,.sc-prompt::-webkit-scrollbar-track{background:transparent}.sc-upmenu::-webkit-scrollbar-thumb,.sc-template-picker-list::-webkit-scrollbar-thumb,.sc-feed::-webkit-scrollbar-thumb,.sc-composer-files::-webkit-scrollbar-thumb,.sc-prompt::-webkit-scrollbar-thumb{border-radius:99px;background:#786046}.sc-upmenu::-webkit-scrollbar-thumb:hover,.sc-template-picker-list::-webkit-scrollbar-thumb:hover{background:#b28c5d}.sc-upmenu::-webkit-scrollbar-button,.sc-template-picker-list::-webkit-scrollbar-button,.sc-feed::-webkit-scrollbar-button,.sc-composer-files::-webkit-scrollbar-button,.sc-prompt::-webkit-scrollbar-button{display:none;width:0;height:0}.template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,470px),1fr));gap:12px}.template-card{display:flex;flex-direction:row;align-items:stretch;gap:18px;padding:18px;min-width:0;min-height:150px}.template-card-details{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}.template-card .template-top{align-items:start;gap:8px;min-width:0}.template-card .template-top strong{font-size:13px;line-height:1.4;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-card .muted-small{margin-top:0}.template-card-details>p{margin:0;color:#a99f92;font-size:11px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap}.template-card-actions{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:8px;min-width:126px}.template-card-actions .button{width:100%;white-space:nowrap;justify-content:center}@media(max-width:820px){.sc-header-model-select{width:165px}.sc-feed-actions{gap:6px}}@media(max-width:620px){.sc-feed-top{gap:7px;align-items:center}.sc-feed-top h1{font-size:16px;margin:0}.sc-feed-actions{gap:6px}.sc-header-model{gap:6px;padding-left:7px;padding-right:3px}.sc-header-model-select{width:138px}.sc-header-model-select .sc-upselect-trigger{font-size:11px;height:29px}.sc-feed-top .sc-circle-btn{width:31px;height:31px}.sc-template-use{height:33px;padding:0 9px}.sc-template-use span{display:none}.sc-template-picker{padding:10px}.template-grid{grid-template-columns:1fr;gap:10px}.template-card{min-height:135px;gap:10px;padding:12px}.template-card-actions{min-width:100px}.template-card-actions .button{font-size:11px;padding:8px 7px}}@media(max-width:370px){.sc-header-model-select{width:115px}.sc-feed-top h1{font-size:15px}.sc-header-model{gap:4px}.sc-feed-top .sc-circle-btn{width:30px;height:30px}}
