@font-face{font-family:Aeonik;src:url('/__assets/08a2e78008be78275c27/design/Aeonik-Regular.woff2') format('woff2');font-display:swap;font-weight:100 900}
:root{color-scheme:dark;--bg:#000000;--panel:#000000;--line:#ffffff12;--muted:#91969c;--text:#eaecee;--silver:#e9edf1;--radius:24px;font-family:Aeonik,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;min-height:100vh}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #c1d6ef;outline-offset:4px}button{background:none;border:0}svg{width:21px;height:21px;flex-shrink:0}img{max-width:100%;display:block}p{line-height:1.55}.skip{position:fixed;top:-70px;left:10px;z-index:1000;background:#fff;color:#000;padding:15px}.skip:focus{top:10px}.topbar{height:82px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff07}.brand{display:flex;gap:10px;align-items:center;font-size:24px;font-weight:600;letter-spacing:-1px}.brand span{font-size:10px;letter-spacing:2px;border:1px solid #ffffff30;border-radius:5px;padding:4px 6px;margin-left:6px;font-weight:400}.toplinks{display:flex;align-items:center;gap:28px;font-size:12px;color:#b4b9bf}.toplinks a span{margin-left:8px}.connection{display:flex;gap:9px;align-items:center;border:1px solid var(--line);padding:9px 14px;border-radius:30px;font-size:12px}.connection i{width:5px;height:5px;border-radius:50%;background:#8c8d8f}.connection.ready i{background:#cfddd0;box-shadow:0 0 8px #cde6d2}
.rail{position:fixed;top:50%;transform:translateY(-50%);left:22px;width:60px;padding:8px 6px;display:flex;flex-direction:column;gap:6px;border:1px solid #b4c3d33b;border-radius:34px;background:linear-gradient(145deg,#a6b9d51b,#0c0e139c 55%,#8b90a313);box-shadow:inset 0 1px 2px #dae9ff2c,inset 0 -1px 3px #abbdce37,0 16px 35px #0005;z-index:5;backdrop-filter:blur(14px)}.rail>a,.rail>button{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;color:#b8bfc7;transition:background .2s,color .2s}.rail [aria-current=page]{background:linear-gradient(135deg,#f3f5f7,#b8c2cd);color:#1a2027;box-shadow:0 2px 12px #d0e0ff24}.rail a:hover,.rail button:hover{background:#ffffff16}.rail [aria-current=page]:hover{background:#e7edf5}#main{margin-left:112px;padding:0 48px 70px 28px;max-width:2100px}.initial{padding:100px;text-align:center;color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:2.5px;text-transform:uppercase;color:#a7aeb6}.catalog-hero{padding:60px 0 42px;display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:40px}.catalog-hero h1{font-size:clamp(46px,5vw,80px);line-height:.98;letter-spacing:-4px;font-weight:500;margin:22px 0}.catalog-hero h1 span{color:#737a82}.catalog-hero p{color:var(--muted);max-width:380px;font-size:15px}.hero-preview{position:relative;height:255px;overflow:hidden;border-radius:24px;border:1px solid #ffffff1c;background:#17191c}.hero-preview img{width:100%;height:100%;object-fit:cover;object-position:center 38%}.hero-preview:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#07090be6,transparent 70%)}.hero-caption{position:absolute;z-index:1;bottom:25px;left:27px;right:27px;display:flex;align-items:end;justify-content:space-between}.hero-caption h2{margin:8px 0 0;font-size:25px;font-weight:500}.circle-arrow{height:43px;width:43px;border:1px solid #ffffff4d;border-radius:50%;display:grid;place-items:center;background:#ffffff16;transition:transform .2s}.hero-preview:hover .circle-arrow{transform:translateX(3px)}.filters{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 25px;position:relative}.tabs{display:flex;gap:7px;flex-wrap:wrap}.tabs button{font-size:13px;color:var(--muted);border-radius:30px;padding:10px 17px;border:1px solid transparent}.tabs button.active{color:#fff;background:#ffffff0b;border-color:#ffffff21}.search{display:flex;align-items:center;gap:9px;color:#7b8188;border-bottom:1px solid #ffffff22;padding:8px 0;min-width:230px}.search input{width:100%;background:none;border:0;color:#eee;outline:0;font-size:13px}.search svg{width:16px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:32px 0 20px}.section-head h2{font-size:22px;font-weight:500;letter-spacing:-.5px;margin:0}.section-head span{font-size:12px;color:var(--muted)}.app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.card-icon{width:34px;height:34px;flex-shrink:0;display:grid;place-items:center;border-radius:11px;background:#b4c6e50a;border:1px solid #cddbf42b;box-shadow:inset 0 1px 2px #ffffff12;color:#c4cfdd}.card-icon svg{width:19px}.catalog-note{font-size:12px;color:#70767d;text-align:center;margin:35px}.no-results{text-align:center;padding:70px;color:var(--muted);grid-column:1/-1}.tool-header{display:flex;justify-content:space-between;align-items:center;padding:26px 0;border-bottom:1px solid var(--line);gap:15px}.breadcrumbs{display:flex;align-items:center;gap:15px;font-size:13px}.breadcrumbs a{color:var(--muted)}.breadcrumbs span{color:#50565c}.quiet{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.quiet svg{width:15px}.tool-stage{min-height:535px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:38px 0 46px}.tool-intro{text-align:center;max-width:750px;margin-bottom:28px}.tool-intro h1{font-size:clamp(28px,3vw,46px);font-weight:500;letter-spacing:-1.5px;margin:14px 0 12px}.tool-intro p{margin:0;color:var(--muted);font-size:13px}.film-stills{display:flex;align-items:center;justify-content:center;height:138px;margin-bottom:27px}.film-stills>.motion-preview{width:195px;height:110px;object-fit:cover;border:1px solid #bbc6d040;border-radius:14px;box-shadow:0 15px 30px #0006}.film-stills>.motion-preview:nth-child(2){width:240px;height:135px;margin:0 -30px;z-index:1;transform:translateY(-4px)}.film-stills>.motion-preview:first-child{transform:rotate(-5deg)}.film-stills>.motion-preview:last-child{transform:rotate(5deg)}.composer-wrap{width:min(1050px,100%);position:relative}.cinema-modes{display:flex;justify-content:center;gap:5px;margin:0 0 18px}.cinema-modes a{font-size:12px;padding:8px 16px;color:var(--muted);border-radius:20px}.cinema-modes .active{background:#ffffff12;color:#fff}.pro-composer{border:1px solid #8b97a32c;border-radius:24px;background:linear-gradient(135deg,#363e4426,#101316a3 60%,#3e3b4524);box-shadow:inset 0 1px 1px #e7f0fb17,inset 0 -1px 1px #b7c2d41a,0 20px 65px #0003;overflow:hidden}.cinema-bar{display:grid;grid-template-columns:.9fr 1.2fr 1.2fr 1.2fr 1.1fr;gap:5px;padding:7px 7px 0}.cinema-control{background:#ffffff05;border:1px solid #ffffff08;border-radius:15px;padding:12px 10px;display:flex;align-items:center;text-align:left;gap:9px;min-width:0}.cinema-control:hover{background:#ffffff0d}.cinema-control>svg{width:24px;height:24px;color:#c1cbd5}.cinema-control small{font-size:9px;display:block;color:#858d95;letter-spacing:.5px;margin-bottom:4px}.cinema-control strong{font-size:12px;font-weight:400;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:125px}.prompt-area{padding:20px 22px 10px}.prompt-area textarea{width:100%;min-height:96px;resize:vertical;background:none;border:0;outline:0;color:#e8ecef;font-size:16px;line-height:1.55}.prompt-area textarea::placeholder{color:#737b83}.composer-bottom{padding:10px 14px 14px;display:flex;align-items:end;justify-content:space-between;gap:18px}.params-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.pill,.param-chip{background:#ffffff07;border:1px solid #ffffff0c;border-radius:8px;padding:8px 10px;font-size:11px;color:#c8ced4;display:inline-flex;align-items:center;gap:6px;max-width:100%}.pill:hover{background:#ffffff10}.pill svg{width:15px;height:15px}.param-chip select,.param-chip input{border:0;background:transparent;color:#d8dce0;max-width:105px;outline:0;font-size:11px}.param-chip input[type=number]{width:44px}.param-chip input[type=checkbox]{accent-color:#c4d2e2}.generate{position:relative;isolation:isolate;flex-shrink:0;min-width:119px;padding:16px 22px;border:1px solid #d9e2ee6b;border-radius:14px;background:linear-gradient(140deg,#eef3f7,#a8b5c6 48%,#d1cdda);color:#12171c;font-size:12px;font-weight:600;box-shadow:0 2px 12px #b9cde522,inset 0 1px 1px #fff;display:flex;align-items:center;justify-content:center;gap:15px;overflow:hidden}.generate:before{content:'';position:absolute;inset:-100%;z-index:-1;background:conic-gradient(from 0deg,transparent 35%,#d3bded,white,#a3c8d9,transparent 65%);opacity:1;animation:shine 6s linear infinite;animation-play-state:paused}.generate:hover:before,.generate:focus-visible:before{animation-play-state:running}.generate:after{content:'';position:absolute;inset:1px;border-radius:12px;background:linear-gradient(140deg,#eaf0f4e6,#a8b5c6d9,#d1cddada);z-index:-1}.generate svg{width:17px}.under-composer{display:flex;justify-content:space-between;gap:15px;margin:13px 6px;font-size:10px;color:#737b83}.inline-assets{padding:0 20px;display:flex;gap:8px;flex-wrap:wrap}.asset-pill{display:flex;align-items:center;gap:7px;border:1px solid #ffffff16;border-radius:8px;padding:4px 7px;font-size:10px;max-width:230px}.asset-pill img{width:34px;height:34px;border-radius:4px;object-fit:cover}.asset-pill span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-pill button{font-size:17px}.advanced-panel{border:1px solid var(--line);border-radius:17px;margin-top:15px;padding:16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;background:var(--panel)}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field>span,.field>label{font-size:11px;color:#acb4bd}.field small{color:#666f78;font-size:10px;line-height:1.4}.field input:not([type=checkbox]):not([type=range]),.field select,.field textarea,.dialog-search{width:100%;border:1px solid #ffffff1b;border-radius:9px;background:#080a0d6e;color:#d5dce4;padding:10px;font-size:12px}.field input[type=range]{width:100%;accent-color:#c7d1dd}.field textarea{min-height:85px;resize:vertical}.field:has(textarea){grid-column:1/-1}.error-message{color:#e7b7b1;font-size:12px;white-space:pre-wrap;line-height:1.5;margin:12px 5px}.notice{font-size:12px;line-height:1.6;padding:16px 18px;border:1px solid #ffffff15;border-radius:12px;background:#ffffff04;color:#aab2ba;max-width:750px}.blocked-stage{max-width:700px;text-align:center;padding:70px 0;margin:auto}.blocked-stage .card-icon{margin:0 auto 25px;width:65px;height:65px;border-radius:20px}.blocked-stage h1{font-size:36px}.blocked-stage .notice{text-align:left}.blocked-stage>a{display:inline-flex;margin:20px 12px}.history-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:25px 0 20px;margin-bottom:20px}.history-head h2{font-size:18px;font-weight:500;margin:0}.empty-history{border:1px dashed #ffffff14;border-radius:20px;text-align:center;padding:38px;color:#757d85}.empty-history svg{width:28px;height:28px;margin-bottom:10px}.empty-history p{font-size:12px;margin:0}.job{margin:20px 0 28px}.job-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:15px}.job-header h3{font-size:14px;font-weight:500;margin:0 0 5px}.job-header p{font-size:10px;color:var(--muted);margin:0}.result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.result{border:1px solid #ffffff16;border-radius:14px;background:#121619;overflow:hidden;min-width:0}.result-media{width:100%;aspect-ratio:16/10;object-fit:contain;background:#060809;cursor:zoom-in}.result-caption{display:flex;align-items:center;justify-content:space-between;padding:10px;font-size:10px;color:#939fa9}.result-caption a{border:1px solid var(--line);border-radius:6px;padding:5px 8px}.task-state{min-height:160px;padding:25px 18px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:#aeb9c2;text-align:center;font-size:12px}.task-state small{color:#d9b5b2;font-size:10px;line-height:1.5;overflow-wrap:anywhere}.spinner{height:22px;width:22px;border:1px solid #ffffff21;border-top-color:#cad7e4;border-radius:50%;animation:shine 1.2s linear infinite}.history-filters{display:flex;gap:15px}.history-filters button{color:#a1a9b1;font-size:12px}.job-actions{display:flex;gap:8px}.job-actions button{font-size:10px;border:1px solid #ffffff17;border-radius:8px;padding:8px}.model-credit{max-width:650px;overflow-wrap:anywhere}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #ffffff08;gap:15px}.dialog-head h2{font-size:16px;font-weight:500;margin:0}.dialog-head>div{display:flex;gap:10px;align-items:center}.close-dialog{border-radius:50%;width:31px;height:31px;font-size:23px;background:var(--panel)}.reset{font-size:11px;color:#c5ccd2;background:#ffffff08;padding:9px 13px;border-radius:25px}dialog{width:min(860px,calc(100vw - 32px));max-height:90vh;border:1px solid #c7d6e629;border-radius:24px;background:var(--panel);color:var(--text);padding:0;box-shadow:0 50px 120px #000a}dialog::backdrop{background:#000b}dialog[open]{animation:enter .15s ease-out}.dialog-body{padding:22px;max-height:73vh;overflow:auto}.dialog-layout{display:grid;grid-template-columns:175px 1fr;min-height:420px}.dialog-tabs{border-right:1px solid #ffffff08;padding:13px;display:flex;flex-direction:column;gap:5px}.dialog-tabs button{text-align:left;border-radius:10px;padding:13px;font-size:12px;color:#8f969e;display:flex;align-items:center;gap:10px}.dialog-tabs .active{background:#ffffff08;color:#e6ecf1}.dialog-tabs svg{width:17px}.dialog-options{padding:23px;overflow:auto;max-height:65vh;min-width:0}.dialog-options>p{font-size:11px;color:#8c959e;margin:8px 0 24px}.option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.option{padding:0;border-radius:13px;text-align:center;border:1px solid transparent;overflow:hidden;transition:border-color .2s;background:#ffffff03}.option:hover{border-color:#c2d4e345}.option.selected{border-color:#d1deee;box-shadow:0 0 0 1px #ccd9e555}.option .option-image{height:93px;background:linear-gradient(135deg,#586d7855,#242533,#62545455);display:grid;place-items:center;position:relative;overflow:hidden}.option img{width:100%;height:100%;object-fit:cover}.option .option-image svg{width:37px;height:37px;color:#c5d0db}.option-label{display:block;padding:12px 7px;font-size:11px;line-height:1.35}.option.selected .option-label:after{content:' ✓'}.swatches{display:flex;height:18px}.swatches i{flex:1}.option-grid.lights{grid-template-columns:repeat(3,1fr)}.option-grid.lights .option-image{height:118px}.option-grid.movements{grid-template-columns:repeat(3,1fr)}.option-grid.movements .option-image{height:57px}.wheel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.wheel-grid h3{font-size:10px;text-align:center;letter-spacing:1px;color:#929ba4;text-transform:uppercase;margin-bottom:18px}.wheel{display:flex;flex-direction:column;gap:12px;max-height:380px;overflow:auto;padding:5px;scrollbar-width:thin}.wheel .option{border-radius:99px;flex-shrink:0;min-height:82px}.wheel .option-image{height:45px;background:linear-gradient(#ffffff04,transparent)}.wheel .option-image svg{width:27px;height:27px}.wheel .option-label{padding:7px 4px;font-size:10px}.wheel .selected{background:#ffffff0c}.drop-field{border:1px dashed #c5d4e630;border-radius:15px;padding:17px;margin-bottom:14px;background:#0002}.drop-field h3{font-size:12px;font-weight:500;margin:0 0 10px}.drop-field input[type=file]{display:none}.upload-button{display:inline-flex;align-items:center;gap:8px;padding:11px 14px;background:#ffffff09;border:1px solid #ffffff20;border-radius:9px;font-size:12px;cursor:pointer}.drop-field .asset-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.drop-field input[type=url]{width:100%;border:1px solid #ffffff10;border-radius:7px;padding:8px;background:#111519;color:#d2dce5;margin-top:12px;font-size:11px}.drop-field small{display:block;color:#7d8892;font-size:10px;margin-top:12px}.model-list{display:flex;flex-direction:column;gap:7px;margin-top:15px}.model-option{display:flex;justify-content:space-between;align-items:center;text-align:left;padding:14px;border:1px solid #ffffff12;border-radius:11px;gap:15px}.model-option.selected{border-color:#c5d9ed66;background:#ffffff07}.model-option strong{font-size:13px;font-weight:500;display:block}.model-option small{font-size:10px;color:#8693a0;display:block;margin-top:5px;overflow-wrap:anywhere}.model-option>span{font-size:11px;white-space:nowrap;color:#9da9b4}.model-switch-note{color:#acb6bf;font-size:11px}.connection-form{display:flex;flex-direction:column;gap:15px}.connection-form input{background:#111519;color:#eee;padding:14px;border:1px solid #fff2;border-radius:9px}.connection-form p{font-size:12px;color:#9aa5ae;margin:0}.preview-large{max-height:66vh;width:100%;object-fit:contain;background:#07090b}.raw-params{font-family:monospace;font-size:10px;color:#a8b7c5;white-space:pre-wrap;overflow-wrap:anywhere;background:#101316;padding:15px;border-radius:10px;max-height:240px;overflow:auto}.mask-tools{display:flex;align-items:center;gap:15px;margin-bottom:15px;font-size:12px}.mask-canvas{width:100%;height:auto;touch-action:none;cursor:crosshair;border-radius:10px}.toast{position:fixed}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:14px 22px;background:#d9e0e8;color:#11171c;border-radius:12px;box-shadow:0 10px 30px #0008;font-size:12px;z-index:100;max-width:90vw} [hidden]{display:none!important}@keyframes shine{to{transform:rotate(360deg)}}@keyframes enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@media(min-width:1650px){.app-grid{gap:28px}.hero-preview{height:285px}}@media(max-width:1150px){#main{padding-right:25px;margin-left:93px;padding-left:15px}.app-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.catalog-hero{gap:25px}.hero-preview{height:230px}.cinema-control{gap:5px;padding:10px 6px}.cinema-control>svg{width:18px}.cinema-control strong{font-size:11px}.cinema-control small{font-size:8px}.result-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.topbar{padding:0 20px;height:70px}.toplinks a{display:none}.rail{left:12px;width:50px;padding:7px 4px}.rail>a,.rail>button{width:40px;height:40px}#main{margin-left:75px;padding-left:0;padding-right:20px}.catalog-hero{grid-template-columns:1fr;padding-top:35px;gap:20px}.catalog-hero h1{letter-spacing:-2px}.catalog-hero p{max-width:100%}.hero-preview{height:200px}.app-grid{grid-template-columns:1fr}.filters{flex-direction:column;align-items:stretch}.search{min-width:0}.cinema-bar{grid-template-columns:repeat(3,1fr)}.cinema-control strong{max-width:90px}.composer-bottom{align-items:stretch;flex-direction:column}.generate{align-self:flex-end}.advanced-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.under-composer{flex-direction:column;gap:5px}.film-stills{height:110px}.film-stills>.motion-preview{width:115px;height:77px}.film-stills>.motion-preview:nth-child(2){width:155px;height:97px;margin:0 -15px}.tool-stage{padding-top:25px}.tool-intro h1{font-size:28px}.dialog-layout{grid-template-columns:125px 1fr}.dialog-tabs{padding:7px}.dialog-tabs button{padding:11px 5px;font-size:11px}.dialog-options{padding:15px}.option-grid{grid-template-columns:repeat(2,1fr)}.option-grid.lights{grid-template-columns:repeat(2,1fr)}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.topbar{height:65px;padding:0 16px}.brand{font-size:22px}.connection{font-size:10px}.rail{top:auto;bottom:12px;left:50%;transform:translateX(-50%);flex-direction:row;width:auto;padding:5px 7px;gap:7px}.rail>a,.rail>button{width:37px;height:37px}.rail svg{width:18px}#main{margin-left:0;padding:0 15px 95px}.catalog-hero{padding:35px 0 25px}.catalog-hero h1{font-size:43px}.hero-preview{height:180px}.app-grid{gap:16px}.card-icon{width:25px;height:25px;border-radius:8px}.card-icon svg{width:15px}.tabs{gap:2px}.tabs button{font-size:11px;padding:8px 10px}.section-head h2{font-size:19px}.tool-header{padding:19px 0}.tool-header>.quiet{display:none}.cinema-control small{font-size:8px}.cinema-control strong{font-size:10px}.cinema-control>svg{width:16px}.cinema-bar{gap:4px}.prompt-area{padding:15px}.prompt-area textarea{font-size:14px}.param-chip,.pill{font-size:10px;padding:8px}.advanced-panel{grid-template-columns:1fr}.tool-intro h1{font-size:25px}.dialog-layout{display:block;min-height:0}.dialog-tabs{flex-direction:row;flex-wrap:wrap;border-right:0;border-bottom:1px solid var(--line)}.dialog-options{max-height:58vh}.dialog-head{padding:13px}.dialog-head h2{font-size:14px}.dialog-body{padding:15px}.wheel-grid{gap:3px}.wheel-grid h3{font-size:8px}.wheel .option-label{font-size:9px}.option-grid.movements{grid-template-columns:repeat(2,1fr)}.job-header{align-items:start}.job-actions{flex-direction:column}.result-grid{gap:8px}.history-filters{gap:10px}.history-filters button{font-size:10px}.task-state{padding:15px 8px;min-height:125px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media(min-width:801px) and (max-height:800px){.tool-stage{padding-top:23px;padding-bottom:24px;min-height:0}.film-stills{height:94px;margin-bottom:18px}.film-stills>.motion-preview{width:148px;height:82px}.film-stills>.motion-preview:nth-child(2){width:185px;height:100px}.tool-intro{margin-bottom:16px}.tool-intro h1{font-size:34px;margin:8px 0}.cinema-modes{margin-bottom:12px}.prompt-area textarea{min-height:65px;max-height:120px}.prompt-area{padding-top:14px}.composer-bottom{padding-top:4px}.history-head{padding-top:12px}}
.wheel .option-image img{width:68px;height:45px;object-fit:contain;margin:auto}.option .option-image img{transition:opacity .2s}.option-grid .option-image:has(img){background:#101315}
.film-carousel{position:relative;height:315px;overflow:hidden;margin:20px -23px -23px}.film-arc{position:absolute;top:0;left:50%;transform:translateX(-50%);width:650px;height:650px;border:1px solid #ffffff13;border-radius:50%;background:linear-gradient(135deg,#ffffff08,#ffffff01)}.genre-cards{height:245px;position:relative;display:flex;align-items:center;justify-content:center}.genre-card{position:absolute;width:270px;height:165px;border:3px solid #080a0c;border-radius:28px;overflow:hidden;padding:0;box-shadow:0 0 0 2px #ffffff25,0 10px 30px #0005}.genre-card img{width:100%;height:100%;object-fit:cover}.genre-0{transform:translate(-260px,115px) rotate(-43deg);opacity:.48}.genre-1{z-index:2;transform:translateY(-5px)}.genre-2{transform:translate(260px,115px) rotate(43deg);opacity:.48}.genre-nav{position:relative;z-index:3;display:flex;justify-content:center;align-items:center;gap:8px}.genre-nav button{height:31px;width:31px;border-radius:50%;font-size:24px;border:1px solid #ffffff26;background:linear-gradient(#ffffff1c,#ffffff07);box-shadow:inset 0 0 5px #ffffff25}.genre-nav span{min-width:95px;border:1px solid #ffffff30;background:linear-gradient(#ffffff1b,#ffffff07);border-radius:30px;text-align:center;padding:7px 15px;font-size:12px;box-shadow:inset 0 0 6px #ffffff19}@media(max-width:500px){.film-carousel{margin:15px -15px -15px;height:280px}.genre-card{width:210px;height:130px}.genre-cards{height:215px}.genre-0{transform:translate(-210px,110px) rotate(-43deg)}.genre-2{transform:translate(210px,110px) rotate(43deg)}}
.workflow-steps{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0;text-align:left}.workflow-steps>span{display:flex;align-items:center;gap:7px;font-size:10px;color:#adb7c0}.workflow-steps b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;border:1px solid #ffffff30;font-size:10px}.workflow-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;text-align:left;padding:20px;border:1px solid #ffffff12;border-radius:18px;background:var(--panel)}.workflow-upload{height:80px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px dashed #ffffff20;border-radius:10px;color:#8e99a4;font-size:11px}.workflow-fields :disabled{opacity:.6;cursor:not-allowed}@media(max-width:500px){.workflow-fields{grid-template-columns:1fr}}

/* Original preview loops. Posters keep geometry stable before a video is loaded. */
.motion-preview{display:block;position:relative;isolation:isolate;overflow:hidden;width:100%;height:100%;background:#101214}
.motion-preview>img,.motion-preview>video{display:block;width:100%;height:100%;object-fit:cover;border:0;border-radius:inherit;pointer-events:none}
.motion-preview>video{position:absolute;inset:0;opacity:0;transition:opacity .16s linear}
.motion-preview>video[data-playing]{opacity:1}
.option-image>.motion-preview{border-radius:inherit}
.genre-card>.motion-preview{border-radius:inherit;aspect-ratio:16/9}
.film-stills>.motion-preview{flex-shrink:0}
@media(prefers-reduced-motion:reduce){.motion-preview>video{transition:none}}

/* PRO composer: compact controls, clear hierarchy and anchored model selection. */
.composer-wrap{width:min(960px,100%)}
.composer-wrap.has-modes{width:min(960px,calc(100% - 76px));margin-left:76px}
.cinema-modes{position:absolute;right:calc(100% + 8px);bottom:31px;flex-direction:column;gap:3px;margin:0;padding:5px;background:#181a1c;border:1px solid #ffffff08;border-radius:22px;width:68px}
.cinema-modes a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:17px;padding:11px 5px;font-size:10px}
.cinema-modes svg{width:17px;height:17px}.cinema-modes .active{background:#2b2d30;box-shadow:0 2px 4px #0003}
.pro-composer{position:relative;padding:7px;border-radius:25px;background:#181a1c;border:1px solid #ffffff0b;box-shadow:0 7px 16px #0004,inset 0 1px 1px #ffffff06;overflow:visible;display:grid;grid-template-columns:minmax(0,1fr) 114px;gap:0 8px}
.cinema-bar{grid-column:1/-1;padding:0 0 7px;gap:5px;grid-template-columns:.84fr 1.18fr 1fr 1.1fr 1fr}
.cinema-control{padding:9px 10px;min-height:51px;border-radius:17px;background:#242628;border:0;gap:9px}
.cinema-control:hover{background:#303235}.cinema-control>svg{width:24px;height:24px;padding:3px;border-radius:7px;background:#ffffff07;color:#bdc5cd}
.cinema-control small{font-size:9px;letter-spacing:.25px;text-transform:none;color:#85898e;margin-bottom:3px}
.cinema-control strong{font-size:12px;max-width:150px;color:#eff0f2}
.prompt-area{grid-column:1;grid-row:2;padding:13px 13px 4px;background:#242628;border-radius:17px 0 0 0;margin-right:-8px}
.prompt-area textarea{display:block;min-height:63px;height:63px;max-height:240px;font-size:14px;line-height:1.5;resize:vertical;padding:0}
.prompt-area textarea::placeholder{color:#8d9094}
.inline-assets{grid-column:1;grid-row:3;padding:0 13px;background:#242628;margin-right:-8px}
.inline-assets:empty{display:none}
.composer-bottom{display:contents}
.params-row{grid-column:1;grid-row:4;background:#242628;border-radius:0 0 0 17px;padding:8px 9px 10px;gap:4px;align-items:center;margin-right:-8px}
.params-row .pill,.params-row .param-chip{height:29px;padding:0 7px;gap:5px;border:0;background:#ffffff07;border-radius:7px;font-size:11px;color:#cdd0d4;white-space:nowrap}
.params-row .pill:hover,.params-row .param-chip:hover{background:#ffffff10}.params-row .pill svg,.params-row .param-chip svg{width:14px;height:14px}
.params-row .model-pill{max-width:235px;overflow:hidden;text-overflow:ellipsis;color:#eee;font-size:11px}.model-pill>span{margin-left:3px;color:#9ca5ae}
.compact-param select,.batch-chip select{font-size:11px;max-width:100px;cursor:pointer;padding:0;min-width:0}
.compact-param input[type=number]{width:29px;padding:0;appearance:textfield;-moz-appearance:textfield;font-size:11px}
.compact-param input[type=number]::-webkit-inner-spin-button{appearance:none}
.compact-param input[type=checkbox]{position:absolute;opacity:0;width:1px;height:1px}
.compact-param:has(input:focus-visible){outline:2px solid #c1d6ef;outline-offset:3px}
.compact-param:has(input[type=checkbox]){cursor:pointer}.compact-param:has(input[type=checkbox]:not(:checked)){color:#92979d}
.pro-composer>.composer-bottom>.generate{grid-column:2;grid-row:2/5;align-self:stretch;min-width:0;margin:7px 0 0;min-height:91px;border-radius:15px;font-size:12px;padding:16px 10px;gap:8px}
.pro-composer:has(.inline-assets:not(:empty)) .generate{max-height:135px;align-self:end}
.under-composer{margin:11px 5px;font-size:9px;color:#737a81}.under-composer>span:first-child{display:none}.under-composer>span:last-child{margin-left:auto}
.tool-intro{margin-bottom:26px}.tool-intro h1{font-size:clamp(28px,3vw,40px);font-weight:500}.tool-intro p{font-size:12px;color:#7f858b}
#model-picker{position:fixed;inset:auto;margin:0;padding:0;border-radius:19px;border:1px solid #ffffff12;background:#24292df5;backdrop-filter:blur(22px);color:#e9edf0;box-shadow:0 18px 55px #0009;overflow:hidden}
#model-picker:popover-open{display:flex;flex-direction:column}#model-picker::backdrop{background:transparent}
.model-search{display:flex;align-items:center;gap:10px;padding:15px 16px;border-bottom:1px solid #ffffff08;flex-shrink:0}.model-search svg{width:19px;color:#919ba4}
.model-search input{width:100%;min-width:0;padding:0;background:none;border:0;outline:0;color:#f3f5f6;font-size:14px}.model-search input::placeholder{color:#959da4}
#model-picker .model-list{display:block;overflow:auto;overscroll-behavior:contain;margin:0;padding:7px;scrollbar-width:thin}
#model-picker section h3{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:400;color:#8d969f;margin:6px 7px 8px}#model-picker section h3 svg{width:13px;height:13px}
#model-picker .model-option{width:100%;border:0;background:none;border-radius:12px;padding:9px;gap:11px;min-height:62px;margin-bottom:2px}
#model-picker .model-option:hover,#model-picker .model-option.selected{background:#ffffff09}
#model-picker .model-glyph{width:39px;height:42px;background:#ffffff06;border-radius:10px;display:grid;place-items:center;flex-shrink:0;color:#abb8c4}
#model-picker .model-glyph svg{width:20px;height:20px}#model-picker .model-copy{flex:1;min-width:0;white-space:normal;color:#ecf0f2}
#model-picker .model-option strong{font-size:13px;line-height:1.3;font-weight:500}#model-picker .model-option small{font-size:10px;color:#939ca4;line-height:1.4;margin:4px 0}
#model-picker .model-option>svg{width:16px;height:16px;color:#dde9ee}
.model-badges{display:flex;gap:4px;flex-wrap:wrap;margin-top:4px}.model-badges>span{padding:2px 4px;font-size:9px;border-radius:4px;background:#ffffff08;color:#9ea8b1}
#model-picker .model-switch-note{margin:0;padding:10px 15px;font-size:10px;border-top:1px solid #ffffff08;color:#89949d;flex-shrink:0}.model-empty{padding:18px;text-align:center;font-size:12px;color:#a0aab3}
#modal.references-dialog{width:min(540px,calc(100vw - 24px));background:#1c1f22;border-radius:23px;border-color:#ffffff12}
.references-dialog .dialog-head{padding:20px 22px 12px;border:0}.references-dialog .dialog-head h2{font-size:17px}.references-dialog .close-dialog{background:#ffffff07;width:28px;height:28px;font-size:20px;color:#abb1b8}
.references-body{padding:0 22px 20px;max-height:72vh}.reference-intro{margin:0 0 20px;color:#8d959c;font-size:12px}
.reference-tabs{display:flex;gap:5px;padding:4px;background:#121416;border-radius:12px;margin-bottom:16px}.reference-tabs button{flex:1;display:flex;justify-content:center;align-items:center;gap:7px;padding:9px 8px;border-radius:9px;font-size:11px;color:#909aa4;white-space:nowrap}.reference-tabs svg{width:15px;height:15px}
.reference-tabs button[aria-selected=true]{color:#edf1f4;background:#2a2e32;box-shadow:0 2px 3px #0003}.reference-tabs button>span{font-size:10px;color:#c1cbd6}
.reference-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;min-height:180px;padding:24px 14px;border:1px dashed #ffffff21;border-radius:14px;background:#ffffff02;cursor:pointer;transition:background .15s,border-color .15s}.reference-upload:hover{background:#ffffff05;border-color:#a5b5c66b}
.reference-upload>svg{width:29px;height:29px;color:#aab6c2;margin-bottom:4px}.reference-upload strong{font-size:13px;font-weight:500}.reference-upload>span{font-size:11px;color:#8c969f}.reference-upload small{font-size:10px;color:#68737d;margin-top:3px}.reference-upload input{display:none}
.reference-panel .asset-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.reference-panel .asset-list:empty{display:none}
.reference-link{margin-top:16px;color:#929ca5;font-size:11px}.reference-link summary{cursor:pointer;list-style:none;padding:4px 0}.reference-link summary::before{content:'+';margin-right:7px}.reference-link[open] summary::before{content:'−'}
.reference-link input{width:100%;padding:11px 12px;border:1px solid #ffffff16;border-radius:9px;background:#15181b;color:#e1e7ed;margin-top:9px;font-size:11px}.references-body .error-message:empty{display:none}
@media(max-width:1150px){.composer-wrap.has-modes{width:calc(100% - 69px);margin-left:69px}.cinema-control{padding:9px 7px;gap:6px}.cinema-control>svg{width:20px}.cinema-control small{font-size:8px}.cinema-control strong{font-size:11px}.pro-composer{grid-template-columns:minmax(0,1fr) 96px}.params-row .model-pill{max-width:195px}}
@media(max-width:700px){.composer-wrap.has-modes{width:100%;margin-left:0}.cinema-modes{position:static;flex-direction:row;width:max-content;margin:0 auto 12px;border-radius:15px}.cinema-modes a{flex-direction:row;padding:8px 12px;border-radius:10px}.cinema-bar{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.cinema-control{flex-direction:column;align-items:flex-start;padding:8px 6px;gap:5px;border-radius:12px}.cinema-control small{display:none}.cinema-control strong{max-width:70px;font-size:10px}.pro-composer{grid-template-columns:minmax(0,1fr) 78px;border-radius:21px;gap:0 5px}.prompt-area textarea{font-size:13px;min-height:74px;height:74px}.params-row .pill,.params-row .param-chip{font-size:10px;height:29px}.pro-composer>.composer-bottom>.generate{font-size:11px;padding:12px 6px;gap:4px}.generate svg{width:13px}.under-composer{font-size:8px}.reference-tabs button{padding:9px 5px;gap:4px;font-size:10px}.reference-tabs svg{width:13px}.tool-intro h1{font-size:27px}.references-body{padding:0 16px 16px}.cinema-control strong{max-width:100%}}

/* One control language across the composer: no platform select menus. */
.select-trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:7px;color:inherit;font:inherit;padding:0;min-width:0;text-align:left;max-width:100%}.select-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-chevron{font-size:13px;line-height:1;color:#858e97;flex-shrink:0}
.param-chip:has(.select-trigger),.param-chip:has(.audio-toggle){padding:0 7px;gap:5px}.param-chip .select-trigger,.param-chip .audio-toggle{height:29px}.param-chip:has(.select-trigger[aria-expanded=true]){background:#ffffff16!important;color:#f3f6f8}
.field>.select-trigger{padding:11px 12px;border:1px solid #ffffff15;border-radius:10px;background:#15181b;font-size:12px;color:#d9e0e6;width:100%}
.audio-toggle{display:inline-flex;align-items:center;gap:7px;font:inherit;padding:0}.mini-switch{position:relative;width:23px;height:13px;border:1px solid #7b858c42;border-radius:12px;background:#111518;transition:background .15s}.mini-switch:after{content:'';position:absolute;width:7px;height:7px;top:2px;left:2px;border-radius:50%;background:#7e8993;transition:transform .15s,background .15s}.audio-toggle[aria-checked=true] .mini-switch{background:#becbd8}.audio-toggle[aria-checked=true] .mini-switch:after{background:#293139;transform:translateX(9px)}
.studio-popover{position:fixed;inset:auto;margin:0;padding:0;border:1px solid #ffffff16;border-radius:17px;background:#23272bf7;color:#e3e9ee;backdrop-filter:blur(22px);box-shadow:0 14px 48px #0008,0 2px 5px #0004;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.studio-popover::backdrop{background:transparent}.studio-popover:popover-open{animation:control-enter .12s ease-out}
.control-head{padding:14px 15px 10px;color:#9ea7af;font-size:11px;border-bottom:1px solid #ffffff06}.control-options{padding:6px;display:flex;flex-direction:column;gap:3px}.control-option{display:flex;align-items:center;gap:10px;min-height:43px;padding:9px 10px;border-radius:10px;text-align:left;font-size:12px;width:100%;background:transparent;border:1px solid transparent;color:#cbd2d8}.control-option>svg{width:16px;height:16px;color:#8e9da9}.control-option>span:not(.ratio-art):not(.choice-space){flex:1}.control-option>svg:last-child{margin-left:auto;color:#d3e3ed}.control-option:hover{background:#ffffff08;color:#fff}.control-option[aria-pressed=true]{background:#ffffff0d;border-color:#ffffff08;color:#f2f5f7}.choice-space{width:16px}
.ratio-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:9px;gap:5px}.ratio-options .control-option{flex-direction:column;justify-content:center;position:relative;padding:14px 7px 10px;gap:9px;min-height:83px}.ratio-options .control-option>svg:last-child{position:absolute;right:5px;top:5px;width:11px;height:11px}.ratio-options .choice-space{display:none}.ratio-art{height:28px;width:32px;display:grid;place-items:center;color:#8a959f}.ratio-art i{display:block;border:1.5px solid currentColor;border-radius:3px;background:#ffffff03}.control-option[aria-pressed=true] .ratio-art{color:#d7e3ed}
.duration-picker{padding:14px 16px 17px}.duration-value{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 19px}.duration-value button{width:30px;height:30px;background:#ffffff08;border:1px solid #ffffff0b;border-radius:50%;font-size:19px;color:#c9d4de}.duration-value button:hover{background:#ffffff16}.duration-value output{display:flex;flex-direction:column;text-align:center;font-size:29px;line-height:1.2;font-weight:400;letter-spacing:-.8px}.duration-value output small{font-size:10px;color:#88959f;letter-spacing:0;margin-top:3px}.duration-picker input[type=range]{width:100%;margin:0;accent-color:#c7d7e5;height:4px;cursor:pointer}.range-limits{display:flex;justify-content:space-between;font-size:10px;color:#7f8d98;margin:10px 0 15px}.duration-presets{display:flex;gap:5px}.duration-presets button{flex:1;padding:7px 4px;background:#ffffff06;border:1px solid transparent;border-radius:7px;font-size:11px;color:#a4b0b9}.duration-presets button:hover,.duration-presets button[aria-pressed=true]{border-color:#c4d2e633;color:#edf4fa;background:#ffffff0c}
#reference-picker{overflow:auto}.reference-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px 13px}.reference-head h2{font-size:14px;font-weight:500;margin:0}.reference-head button{width:25px;height:25px;background:#ffffff07;color:#9ea7b0;border-radius:50%;font-size:19px}.studio-popover .references-body{padding:0 15px 15px;max-height:none;overflow:visible}.studio-popover .reference-tabs{margin-bottom:12px}.studio-popover .reference-upload{min-height:137px;padding:17px 10px;gap:7px}.studio-popover .reference-upload>svg{width:24px;height:24px;margin-bottom:1px}.studio-popover .reference-upload strong{font-size:12px}.studio-popover .reference-upload small{font-size:9px}.studio-popover .reference-link{margin-top:11px}.studio-popover .reference-panel input[type=url]{margin-bottom:0}
@keyframes control-enter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.studio-popover:popover-open{animation:none}.mini-switch,.mini-switch:after{transition:none}}
/* A visual library: media leads; settings belong in the inspector. */
.generations-page{padding:54px 0 70px;max-width:1800px;margin:auto}.generations-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:40px}.generations-heading h1{font-size:clamp(44px,5vw,76px);font-weight:400;letter-spacing:-.065em;line-height:1;margin:19px 0 14px}.generations-heading h1 span{color:#737d87}.generations-heading p{color:#878d92;font-size:14px;margin:0;line-height:1.6}.gallery-create{display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;padding:13px 19px;border-radius:99px;border:1px solid #ffffff24;background:linear-gradient(145deg,#1a1d20,#090a0b);box-shadow:inset 0 1px 0 #ffffff12;font-size:12px;color:#e3e5e7;transition:border-color .2s,background .2s}.gallery-create:hover{border-color:#b9c8d780;background:#202428}.gallery-create svg{width:16px;height:16px}.gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid #ffffff13;padding-bottom:20px;margin-bottom:20px}.gallery-tabs{display:flex;gap:5px}.gallery-tabs button{display:flex;align-items:center;gap:9px;padding:10px 15px;border:1px solid transparent;border-radius:99px;font-size:12px;color:#92989e;white-space:nowrap}.gallery-tabs button[aria-pressed=true]{border-color:#ffffff24;background:#ffffff08;color:#f3f4f5}.gallery-tabs button span{font-size:10px;color:#747d86;font-variant-numeric:tabular-nums}.gallery-tools{display:flex;align-items:center;gap:18px}.gallery-search{display:flex;align-items:center;gap:10px;color:#717981;min-width:170px}.gallery-search svg{width:16px;height:16px}.gallery-search input{width:190px;max-width:100%;border:0;background:transparent;padding:10px 0;font:inherit;font-size:12px;color:#e7e9eb;outline-offset:4px}.gallery-tools select{background:#0c0e10;border:1px solid #ffffff18;border-radius:9px;padding:9px 10px;color:#aab0b5;font:inherit;font-size:11px}.gallery-subhead{display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#788088;margin:25px 0 17px}.gallery-subhead>span:last-child{color:#555d64}.generation-mosaic{columns:4;column-gap:16px}.generation-tile{position:relative;display:block;break-inside:avoid;width:100%;padding:0;margin:0 0 16px;text-align:left;border:1px solid #ffffff10;border-radius:19px;overflow:hidden;background:#101214;isolation:isolate;cursor:pointer;transition:border-color .2s,box-shadow .2s}.generation-tile:hover,.generation-tile:focus-visible{border-color:#b9cbd366;box-shadow:0 8px 30px #0008}.generation-media{position:relative;background:linear-gradient(145deg,#1e252a,#0c0e10);min-height:120px;overflow:hidden}.generation-media img{display:block;width:100%;height:auto;aspect-ratio:auto var(--media-ratio,1.777);min-height:120px;object-fit:contain}.generation-media video{display:block;width:100%;aspect-ratio:var(--media-ratio,1.777);object-fit:contain;background:#0c0f11}.generation-play{position:absolute;left:14px;top:14px;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#0008;backdrop-filter:blur(8px);color:#eee;border:1px solid #ffffff26;pointer-events:none}.generation-play svg{width:14px;height:14px}.generation-caption{position:absolute;inset:auto 0 0;padding:42px 16px 16px;background:linear-gradient(transparent,#000b 70%,#000d);pointer-events:none;opacity:0;translate:0 5px;transition:opacity .22s,translate .22s}.generation-tile:hover .generation-caption,.generation-tile:focus-visible .generation-caption{opacity:1;translate:0 0}.generation-caption>span{font-size:14px;color:#f4f4f4;display:block;line-height:1.4}.generation-caption small{display:block;font-size:10px;color:#bdc4ca;margin-top:5px}.generation-unavailable{display:grid;place-items:center;min-height:190px;color:#88929a;font-size:12px}.media-unavailable img,.media-unavailable video{display:none}.gallery-empty{text-align:center;padding:80px 20px 100px;border:1px dashed #ffffff16;border-radius:24px;background:radial-gradient(ellipse at 50% 0,#18202655,transparent 65%)}.gallery-empty-mark{display:grid;place-items:center;width:60px;height:60px;margin:0 auto 24px;border:1px solid #ffffff20;border-radius:18px;background:#ffffff04;color:#a1adb6}.gallery-empty-mark svg{width:25px;height:25px}.gallery-empty h2{font-size:28px;font-weight:400;letter-spacing:-1px}.gallery-empty p{font-size:13px;color:#869099;margin:15px 0 26px}.gallery-more{display:flex;align-items:center;gap:12px;margin:32px auto 0;border:1px solid #ffffff25;border-radius:99px;padding:13px 20px;color:#c4cbd0;font-size:12px}.gallery-more svg{width:15px;height:15px}.gallery-queue{border:1px solid #ffffff17;border-radius:14px;background:#10131566}.gallery-queue summary{display:flex;align-items:center;gap:10px;padding:16px;cursor:pointer;list-style:none;font-size:12px;color:#a4aeb5}.gallery-queue summary::-webkit-details-marker{display:none}.gallery-queue summary svg{width:16px;height:16px}.gallery-queue summary>span{margin-left:auto;font-size:11px;color:#747e87}.gallery-queue-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 16px 16px;gap:10px}.gallery-queue-list article{display:flex;gap:12px;justify-content:space-between;padding:14px;border-radius:10px;background:#ffffff04}.gallery-queue-list strong{display:block;font-size:12px;font-weight:400}.gallery-queue-list span{display:block;font-size:10px;color:#91a5b2;margin-top:6px}.gallery-queue-list p{font-size:11px;color:#a9988c;line-height:1.6;max-width:480px;overflow-wrap:anywhere}.gallery-queue-list button{font-size:11px;white-space:nowrap;align-self:start;border:1px solid #ffffff20;border-radius:20px;padding:8px 12px}#gallery-error{padding:12px;border:1px solid #8b6c4944;border-radius:10px;color:#bfb3a7;font-size:12px}
#modal.generation-dialog{width:min(1250px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);background:#090b0d;border:1px solid #ffffff23;border-radius:22px;padding:0;overflow:auto}.generation-dialog .dialog-head{background:#090b0d}.generation-detail{display:grid;grid-template-columns:minmax(0,1fr) 320px;min-height:430px}.generation-stage{display:grid;place-items:center;background:#020303;min-width:0;padding:20px}.generation-stage img,.generation-stage video{display:block;max-width:100%;max-height:68vh;width:100%;object-fit:contain;border-radius:8px}.generation-inspector{padding:27px 24px;overflow:auto;max-height:70vh;border-left:1px solid #ffffff13}.generation-inspector .eyebrow{font-size:9px;letter-spacing:1.6px}.generation-inspector h2{font-size:24px;line-height:1.15;font-weight:400;letter-spacing:-.8px;margin:14px 0}.generation-meta{font-size:11px;color:#7e8992;line-height:1.8}.generation-detail-actions{display:grid;gap:8px;margin:22px 0 28px}.generation-detail-actions a,.generation-detail-actions button{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px;border:1px solid #ffffff20;border-radius:99px;font-size:11px}.generation-detail-actions a{background:#e3e7e9;color:#13171a}.generation-detail-actions svg{width:14px;height:14px}.generation-prompt>div{display:flex;justify-content:space-between;align-items:center}.generation-prompt h3{font-size:12px;font-weight:400}.generation-prompt button{font-size:10px;color:#939fa8}.generation-prompt p{font-size:12px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;color:#b2bbc2}.generation-settings{border-top:1px solid #ffffff13;margin-top:24px;padding-top:15px}.generation-settings summary{font-size:11px;color:#8c969e;cursor:pointer}.generation-settings pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px;line-height:1.7;color:#7f8d98}.generation-detail-footer{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;border-top:1px solid #ffffff13;color:#87919a;font-size:11px}.generation-detail-footer>div{display:flex;gap:8px}.generation-detail-footer button{width:36px;height:36px;border:1px solid #ffffff20;border-radius:50%;font-size:18px}.generation-detail-footer button:disabled{opacity:.3}
@media(min-width:1900px){.generation-mosaic{columns:5}}@media(max-width:1200px){.generation-mosaic{columns:3}.gallery-toolbar{align-items:stretch;flex-wrap:wrap}.gallery-tools{margin-left:auto}}@media(max-width:800px){.generations-page{padding-top:35px}.generation-mosaic{columns:2;column-gap:12px}.generation-tile{margin-bottom:12px;border-radius:14px}.generations-heading{align-items:start}.gallery-create{padding:11px 13px;font-size:10px}.generation-detail{grid-template-columns:1fr}.generation-stage{padding:10px}.generation-stage img,.generation-stage video{max-height:48vh}.generation-inspector{max-height:none;border-left:0;border-top:1px solid #ffffff13}.gallery-queue-list{grid-template-columns:1fr}.generation-caption{opacity:1}}@media(max-width:500px){.generations-heading{display:block;margin-bottom:26px}.generations-heading>.gallery-create{margin-top:21px}.generations-heading h1{font-size:52px}.generations-heading p{font-size:12px}.gallery-toolbar{gap:15px}.gallery-tabs{width:100%}.gallery-tabs button{padding:9px 12px;font-size:11px}.gallery-tools{width:100%;gap:10px}.gallery-search{min-width:0;flex:1}.gallery-search input{width:100%;font-size:11px}.gallery-tools select{max-width:120px;font-size:10px}.gallery-subhead>span:last-child{display:none}.generation-caption{padding:32px 10px 10px;opacity:1;translate:none}.generation-caption>span{font-size:11px}.generation-caption small{font-size:8px}.generation-play{top:8px;left:8px;width:25px;height:25px}.generation-media{min-height:95px}.generation-media img{min-height:95px}#modal.generation-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:17px}.gallery-empty{padding:55px 15px}.gallery-empty h2{font-size:23px}.gallery-queue summary{font-size:11px;flex-wrap:wrap}.gallery-queue summary>span{font-size:9px}.generation-inspector{padding:20px}}
@media(hover:none){.generation-caption{opacity:1;translate:none}}@media(prefers-reduced-motion:reduce){.generation-tile,.generation-caption{transition:none}}

.generation-loading{position:absolute;left:0;right:0;top:50%;text-align:center;font-size:10px;color:#78838d;pointer-events:none}.media-ready .generation-loading,.media-unavailable .generation-loading{display:none}

/* BEGIN TOOL WORKSPACE STYLES */
/* Media-first workspaces. One scene, one inspector, controls appropriate to the app. */
body.tool-workspace-page{--ws-panel:#17191b;--ws-card:#222527;--ws-line:#ffffff0d}
#main.has-tool-workspace{padding:0 20px 70px 0;margin-left:100px;max-width:none}
.has-tool-workspace .tool-header{height:65px;padding:16px 4px;border-bottom:0}
.ws-header .breadcrumbs{font-size:12px}.ws-editor{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;min-height:680px;height:calc(100svh - 161px);max-height:1100px}
.ws-stage{position:relative;min-width:0;display:flex;flex-direction:column;background:#000;border-radius:22px;overflow:hidden}
.ws-stage-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;color:#858d93;font-size:11px}.ws-stage-top>span{display:flex;gap:8px;align-items:center}.ws-stage-top svg{width:16px;height:16px}
.ws-view-tabs{display:flex;gap:3px;padding:3px;border:1px solid #ffffff0d;border-radius:9px}.ws-view-tabs button{padding:6px 10px;border-radius:6px;color:#6f797f;font-size:10px}.ws-view-tabs [aria-pressed=true]{background:#1c1e20;color:#e2e7ea}.ws-view-tabs small{color:#919ea7}
.ws-stage-content,.ws-stage-results{flex:1;min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center;padding:30px 24px}.ws-stage [hidden]{display:none!important}
.ws-stage-bottom{display:flex;justify-content:space-between;gap:15px;padding:16px 18px;font-size:10px;color:#555e65}.ws-stage-bottom>span:last-child{font-size:8px;letter-spacing:.18em}
.ws-empty-card{width:350px;padding:11px;background:#0d0e0f;border:1px solid #ffffff08;border-radius:22px;text-align:center}.ws-empty-preview{height:206px;border-radius:15px;overflow:hidden;background:#1e2022}.ws-empty-card h1{font-size:23px;font-weight:500;margin:20px 0 10px;letter-spacing:-.04em}.ws-empty-card p{font-size:13px;line-height:1.6;color:#899198;margin:0 auto 20px;max-width:275px}.ws-empty-card>small{display:block;font-size:10px;color:#606970;margin:13px 0 7px}
.ws-upload{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:12px 18px;border-radius:10px;font-size:12px;cursor:pointer;background:linear-gradient(125deg,#e6edf1,#bbcbd7 60%,#d3c8d4);color:#151a1f;font-weight:500;box-shadow:inset 0 1px #ffffffb0,0 2px 1px #6c747c40}.ws-upload svg{width:18px;height:18px}.ws-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.ws-upload:focus-visible{outline:2px solid #d7e7f6;outline-offset:4px}.ws-upload.small{min-height:29px;padding:6px 9px;font-size:10px;background:#ffffff09;box-shadow:none;color:#bfc7cc;border:1px solid #ffffff14}.ws-upload.small svg{width:13px;height:13px}.ws-upload:has(input:disabled){opacity:.4;pointer-events:none}
.ws-inspector{display:flex;flex-direction:column;min-height:0;background:var(--ws-panel);border:1px solid #ffffff08;border-radius:22px;padding:8px;overflow:hidden}.ws-inspector-scroll{min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#42464a transparent}.ws-section{border:0;background:#222426;border-radius:13px;margin-bottom:7px}.ws-section>summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none;padding:15px 13px;font-size:12px;color:#d7dce0;user-select:none}.ws-section>summary::-webkit-details-marker{display:none}.ws-section>summary>span{color:#798086;font-size:12px;transform:rotate(-90deg)}.ws-section[open]>summary>span{transform:none}.ws-section-body{padding:0 12px 13px}.ws-section-body textarea{width:100%;min-height:110px;resize:vertical;border:1px solid #ffffff08;background:#191b1d;border-radius:9px;color:#e5e8eb;font:inherit;font-size:12px;padding:13px;line-height:1.6;outline:none}.ws-section-body textarea:focus{border-color:#bccbdc60}.ws-section-body textarea::placeholder{color:#677078}
.ws-quick>span,.ws-choice-field>span{display:block;font-size:10px;color:#808990;margin-bottom:8px}.ws-quick>div{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.ws-quick button{background:#ffffff0c;border:1px solid transparent;color:#b6bec4;border-radius:7px;padding:9px 5px;font-size:10px}.ws-quick button[aria-pressed=true]{border-color:#b6c7d280;background:#8eabbc24;color:#e6eff4}
.ws-light-orbit{position:relative;touch-action:none;cursor:grab;outline:none;user-select:none;background:radial-gradient(ellipse at center,#ffffff03,transparent 72%);margin:0 -3px 14px}.ws-light-orbit:active{cursor:grabbing}.ws-light-orbit:focus-visible{outline:1px solid #a9c1d3;border-radius:10px}.ws-light-orbit svg{display:block;width:100%;height:auto}.ws-light-orbit>span{display:block;text-align:center;color:#616a72;font-size:9px;margin-top:-5px}.ws-light-point{filter:drop-shadow(0 0 7px #a9cbe184)}
.ws-light-tabs{display:flex;align-items:center;gap:3px;flex-wrap:wrap;margin-bottom:12px}.ws-light-tabs button{padding:6px 7px;color:#8f989e;border-radius:15px;font-size:10px}.ws-light-tabs [aria-pressed=true]{background:#e2e7eb;color:#1d2428}.ws-light-tabs button:disabled{opacity:.3}.ws-light-tabs #ws-add-light{font-size:9px}
.ws-color{display:flex;align-items:center;gap:8px;border:1px solid #ffffff0b;border-radius:9px;padding:9px 11px;font-size:11px;margin-bottom:8px}.ws-color code{margin-left:auto;color:#89929a;font-size:10px}.ws-color input{width:23px;height:23px;padding:0;border:0;appearance:none;background:transparent;cursor:pointer}.ws-color input::-webkit-color-swatch-wrapper{padding:0}.ws-color input::-webkit-color-swatch{border:1px solid #ffffff40;border-radius:50%}
.ws-slider{display:block;border:1px solid #ffffff08;border-radius:9px;padding:11px;margin-bottom:8px}.ws-slider>span{display:flex;justify-content:space-between;font-size:11px;color:#c5cbd0}.ws-slider output{color:#929ba2;font-size:10px}.ws-slider input{display:block;width:100%;margin:13px 0 2px;height:3px;accent-color:#c3d5e2;cursor:pointer}
.ws-options{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0 13px}.ws-options button{flex:1;min-width:75px;padding:9px 7px;border:1px solid #ffffff09;background:#ffffff03;color:#98a3aa;border-radius:7px;font-size:10px}.ws-options [aria-pressed=true]{color:#e9eff2;background:#a4bed820;border-color:#bcd2e84d}.ws-save-preset{display:block;margin:15px auto 0;padding:9px 15px;font-size:10px;border-radius:7px;background:#d7dfe4;color:#192127}.ws-muted{color:#8c969d;font-size:11px;line-height:1.6}.ws-tool-button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #ffffff20;border-radius:9px;padding:12px 10px;background:#ffffff06;color:#dce4e9;font-size:11px;text-decoration:none;cursor:pointer}.ws-tool-button svg{width:17px;height:17px}
.ws-generate-footer{flex-shrink:0;padding:8px 3px 3px}.ws-generate-footer .generate{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;min-height:46px;border-radius:11px;font-size:12px;background:linear-gradient(118deg,#e1e9ef,#b4c8d8 67%,#d7c8d5);color:#10181e;box-shadow:inset 0 1px #ffffffb0,0 2px 2px #0005;border:1px solid #ffffff50}.ws-generate-footer .generate svg{width:16px;height:16px}.ws-generate-footer .generate:disabled{opacity:.38;cursor:not-allowed}.ws-generate-footer>small{display:block;text-align:center;font-size:8px;color:#616e77;margin-top:9px}.ws-required-hint{font-size:10px;color:#8e989f;text-align:center;margin:2px 0 10px;line-height:1.4}.ws-required-hint.ready{color:#a8bbc8}.ws-generate-footer .error-message{font-size:10px;line-height:1.4;padding:8px;margin-bottom:7px;background:#41171740;border-radius:8px}
.ws-model{display:flex;align-items:center;gap:8px;width:100%;padding:10px 0;border-bottom:1px solid #ffffff09;font-size:11px;margin-bottom:12px}.ws-model svg{width:17px;height:17px;color:#9aadb9}.ws-model>span:last-child{margin-left:auto}.ws-output-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ws-output-controls .param-chip{border-radius:7px;min-height:35px;justify-content:start;background:#ffffff04;overflow:hidden;font-size:10px}.ws-output-controls .param-chip svg{width:14px;height:14px}.ws-output-controls .field{grid-column:1/-1;gap:6px}.ws-output-controls .field>span{font-size:10px;color:#8e999f}.ws-output-controls .select-trigger{font-size:11px}.ws-advanced{display:grid;gap:16px}.ws-advanced .field{font-size:10px;gap:6px}.ws-advanced .field>small{font-size:9px;color:#737d85;line-height:1.5}.ws-advanced input{max-width:100%;background:#151719}.ws-engine-note{font-size:9px;line-height:1.6;color:#7b858d;border-top:1px solid #ffffff0b;padding-top:12px;margin-top:16px}
.ws-input-pair{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:25px;width:100%;max-width:900px}.ws-flow-arrow{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:20px;color:#8a959d;background:#000;padding:4px;border-radius:20px}.ws-slot{min-width:0;border:1px solid #ffffff0f;border-radius:17px;background:#101213;overflow:hidden}.ws-slot>header{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:13px 15px;border-bottom:1px solid #ffffff09;font-size:11px;color:#b9c2c8}.ws-slot>header>small{font-size:8px;color:#697780}.ws-drop-area{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:250px;text-align:center;padding:20px 15px;gap:10px;background:radial-gradient(ellipse at center,#27323b23,transparent)}.ws-drop-area>svg{width:31px;height:31px;color:#6b7b87;margin-bottom:9px}.ws-drop-area>strong{font-size:14px;font-weight:400;color:#c5cfd6}.ws-drop-area>p{font-size:10px;color:#74838d;line-height:1.6;margin:0 0 6px}.ws-drop-area .ws-upload{font-size:11px;min-height:36px;padding:9px 15px}.ws-uploaded-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px}.ws-uploaded-grid.single{grid-template-columns:1fr}.ws-uploaded-grid figure{position:relative;margin:0;border-radius:11px;overflow:hidden;background:#050505;min-width:0}.ws-uploaded-grid img,.ws-uploaded-grid video{width:100%;height:100%;max-height:470px;object-fit:contain;display:block;min-height:150px}.ws-uploaded-grid audio{width:100%;padding:15px 3px}.ws-uploaded-grid figure>button{position:absolute;right:8px;top:8px;background:#141719bd;border:1px solid #ffffff21;color:#d6dce0;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-size:17px}.ws-slot-footer{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:7px 11px 11px}.ws-slot-footer>span{font-size:9px;color:#6f7c87}.ws-main-media{width:100%;max-width:900px}.ws-main-media .ws-slot{background:#0a0b0c}.ws-main-media .ws-uploaded-grid img,.ws-main-media .ws-uploaded-grid video{max-height:calc(100svh - 350px)}.dragover{outline:2px solid #bdd2e0;outline-offset:-3px;background:#657f9824!important}
#ws-sidebar-slots{display:grid;gap:10px}#ws-sidebar-slots .ws-drop-area{min-height:120px;padding:13px 9px;gap:7px}#ws-sidebar-slots .ws-drop-area>svg{width:21px;height:21px;margin:0}#ws-sidebar-slots .ws-drop-area>strong{font-size:11px}#ws-sidebar-slots .ws-drop-area>p{font-size:9px}#ws-sidebar-slots .ws-slot>header{font-size:10px;padding:10px}#ws-sidebar-slots .ws-uploaded-grid img,#ws-sidebar-slots .ws-uploaded-grid video{max-height:135px;min-height:70px}#ws-sidebar-slots .ws-upload{min-height:27px;padding:7px 10px;font-size:9px}
.ws-preset-grid,.ws-palette-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ws-preset-grid button,.ws-palette-grid button{padding:0;border:0;text-align:center;background:transparent;overflow:hidden;color:#a2aeb7;font-size:9px}.ws-preset-grid .motion-preview{height:83px;border-radius:9px;border:1px solid transparent}.ws-preset-grid button[aria-pressed=true] .motion-preview,.ws-palette-grid button[aria-pressed=true] img{border-color:#d7eaf8}.ws-preset-grid button>span:last-child,.ws-palette-grid button>span:last-child{display:block;padding:7px 0 3px}.ws-saved-preset>svg{height:50px;width:35px;margin:12px auto}.ws-palette-grid img{width:100%;height:67px;object-fit:cover;border-radius:8px 8px 0 0;border:1px solid transparent;display:block}.ws-swatches{display:flex;height:8px}.ws-swatches i{flex:1}.ws-palette-grid .ws-swatches{border-radius:0 0 7px 7px;overflow:hidden}
.ws-imagine{text-align:center;max-width:480px;margin:auto}.ws-imagine-mark{display:grid;place-items:center;width:76px;height:76px;border:1px solid #ffffff0c;border-radius:25px;margin:0 auto 30px;background:radial-gradient(at 20% 0,#8393a024,#ffffff03);box-shadow:inset 0 1px #ffffff10}.ws-imagine-mark svg{width:32px;height:32px;color:#a6b2bc}.ws-imagine .eyebrow{font-size:9px}.ws-imagine h1{font-weight:400;font-size:clamp(28px,3vw,43px);letter-spacing:-.055em;line-height:1.1;margin:16px 0}.ws-imagine p{font-size:12px;color:#7f8b94;line-height:1.7}.ws-imagine .ws-upload{max-width:210px;margin:23px auto;background:#ffffff08;border:1px solid #ffffff15;color:#c0cbd3;box-shadow:none}.ws-imagine p.ws-muted{font-size:10px;color:#56636d}
.ws-shot-plan{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.ws-shot-plan>span{display:flex;flex-direction:column;min-height:57px;gap:8px;border:1px solid #ffffff0c;border-radius:7px;padding:9px 6px;font-size:8px;color:#7d8a93}.ws-shot-plan b{font-weight:400;color:#becbd5;font-size:12px}.ws-angle-map{display:grid;place-items:center;border:1px solid #ffffff0a;border-radius:13px;padding:25px;color:#9eafb9;margin:0 0 15px;background:radial-gradient(ellipse at center,#677c891a,transparent 70%)}.ws-angle-map svg{width:55px;height:55px}.ws-angle-map span{font-size:9px;color:#768691;margin-top:10px}
.ws-ratios{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.ws-ratios button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:60px;border:1px solid #ffffff14;border-radius:8px;font-size:10px;color:#a3b1bc}.ws-ratios button[aria-pressed=true]{border-color:#c5d4dd;background:#8ca8bc15}.ws-ratios i{display:block;height:20px;max-width:42px;border:1px solid #abbcc8}.ws-expansion{padding:26px;border:1px dashed #7b99af66;border-radius:8px;background:repeating-conic-gradient(#161a1e 0% 25%,#101215 0% 50%) 0/16px 16px}
.ws-stage-results{align-items:flex-start}.ws-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%}.ws-results-grid figure{margin:0;border:1px solid #ffffff10;border-radius:14px;background:#101315;overflow:hidden}.ws-results-grid img,.ws-results-grid video{width:100%;max-height:360px;object-fit:contain;display:block}.ws-results-grid figcaption{display:flex;justify-content:space-between;padding:13px;gap:10px;font-size:10px;color:#9eabb5}.ws-results-grid a{color:#d7e6f0}.ws-results-empty{margin:auto;text-align:center;color:#6e7f8c;max-width:310px}.ws-results-empty>svg{height:30px;width:30px}.ws-results-empty h2{font-size:19px;font-weight:400;color:#c4cfd7}.ws-results-empty p{font-size:12px;line-height:1.7}.ws-history{padding:35px 15px 0}
.ws-unavailable{max-width:1200px;margin:55px auto;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:60px;padding:0 30px}.ws-unavailable h1{font-weight:400;font-size:42px;letter-spacing:-.05em;margin:18px 0}.ws-unavailable p{font-size:13px;color:#8997a1;line-height:1.8}.ws-unavailable aside{align-self:start;border:1px solid #ffffff10;background:#101315;border-radius:18px;padding:22px}.ws-unavailable aside h2{font-size:19px;line-height:1.35;font-weight:400;margin:18px 0}.ws-unavailable aside p{font-size:11px}.ws-unavailable aside .quiet{font-size:10px;display:block;margin-top:18px;text-align:center}.ws-status-tag{font-size:9px;text-transform:uppercase;letter-spacing:.12em;padding:6px 8px;border:1px solid #d2ad7033;border-radius:5px;color:#c1af92}.ws-workflow-steps{display:flex;gap:13px;flex-wrap:wrap;margin:35px 0}.ws-workflow-steps>div{display:flex;align-items:center;gap:7px;font-size:10px;color:#a7b4bf}.ws-workflow-steps b{font-weight:400;display:grid;place-items:center;width:24px;height:24px;border:1px solid #ffffff20;border-radius:50%}.ws-workflow-steps i{margin-left:8px;color:#52616d}.ws-workflow-inputs{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ws-workflow-inputs>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border:1px solid #ffffff0d;border-radius:12px;padding:17px;background:#0d1012;font-size:11px;color:#a7b5bf}.ws-workflow-inputs svg{width:18px;height:18px}.ws-workflow-inputs small{flex-basis:100%;font-size:9px;color:#60727f;line-height:1.6}
@media(min-width:1600px){.ws-editor{grid-template-columns:minmax(0,1fr) 360px}.ws-light-orbit{margin:3px 5px 17px}.ws-empty-card{width:400px}.ws-empty-preview{height:238px}}
@media(max-height:850px) and (min-width:901px){.ws-editor{min-height:560px}.ws-light-orbit svg{height:210px}.ws-light-orbit>span{margin-top:-12px}.ws-section>summary{padding:12px}.ws-slider{padding:9px}.ws-empty-card{width:320px}.ws-empty-preview{height:180px}}
@media(max-width:1050px){#main.has-tool-workspace{margin-left:83px;padding-right:12px}.ws-editor{grid-template-columns:minmax(0,1fr) 298px;gap:10px}.ws-stage-content{padding:25px 10px}.ws-input-pair{gap:12px}.ws-drop-area{padding:18px 8px;min-height:220px}.ws-drop-area>strong{font-size:12px}.ws-drop-area .ws-upload{font-size:9px}.ws-unavailable{gap:30px;padding:0 10px}}
@media(max-width:800px){.ws-editor{height:auto;max-height:none;min-height:0;grid-template-columns:1fr}.ws-stage{min-height:430px}.ws-inspector{max-height:none;overflow:visible}.ws-inspector-scroll{overflow:visible}.ws-light-orbit svg{max-height:240px}.ws-inspector .ws-section-body{max-width:620px;margin:auto}.ws-output-controls{grid-template-columns:repeat(3,1fr)}.ws-output-controls .field{grid-column:auto}.ws-generate-footer{position:static;bottom:auto;background:#17191bf5;border-radius:12px;padding:12px;z-index:3}.ws-inspector-scroll{padding-bottom:8px}.ws-stage-content{overflow:visible}.ws-main-media .ws-uploaded-grid img,.ws-main-media .ws-uploaded-grid video{max-height:500px}.ws-unavailable{grid-template-columns:1fr;margin-top:20px}.ws-unavailable aside{max-width:450px}.ws-preset-grid,.ws-palette-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:500px){#main.has-tool-workspace{margin-left:0;padding:0 12px 90px}.ws-header{height:56px}.ws-header .quiet{font-size:10px}.ws-stage-top{padding:9px 5px;font-size:10px}.ws-view-tabs button{font-size:9px;padding:5px 7px}.ws-stage-content{padding:18px 0}.ws-stage{min-height:380px}.ws-empty-card{width:100%;max-width:330px}.ws-stage-bottom{padding:12px 6px;font-size:8px}.ws-input-pair{gap:8px}.ws-slot>header{padding:10px;font-size:9px}.ws-slot>header>small{display:none}.ws-drop-area{min-height:215px;padding:15px 6px}.ws-drop-area>strong{font-size:11px}.ws-drop-area>p{font-size:8px}.ws-drop-area .ws-upload{font-size:9px;padding:8px}.ws-flow-arrow{font-size:15px;padding:1px}.ws-imagine{padding:30px 15px}.ws-imagine h1{font-size:30px}.ws-generate-footer{bottom:62px}.ws-unavailable h1{font-size:33px}.ws-workflow-inputs{grid-template-columns:1fr}}

body.tool-workspace-page .voice-launcher{width:46px;height:46px;right:24px;bottom:14px}body.tool-workspace-page .voice-launcher .vibefilm-orb-surface{width:46px;height:46px}.ws-generate-footer{padding-bottom:26px}

.ws-camera-orbit{touch-action:none;cursor:grab}.ws-camera-orbit:focus-visible{outline:1px solid #bacfdd;border-radius:12px}.ws-camera-orbit svg{width:100%;height:220px}.ws-camera-orbit>span{display:block;text-align:center;font-size:9px;color:#6c7c88;margin:0 0 16px}.ws-shot-edit{border:1px solid #ffffff0c;background:#141719;border-radius:10px;padding:9px;margin-bottom:9px}.ws-shot-edit>header{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#aabac6;margin-bottom:8px}.ws-shot-edit textarea{font-size:11px;min-height:80px}.ws-shot-edit>label{display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:9px;color:#7b8e9b;margin-top:5px}.ws-shot-edit input{width:42px;background:#242c32;border:1px solid #ffffff0d;border-radius:4px;color:#c9d7e0;padding:3px;font-size:10px}#ws-shot-total{display:block;margin-top:8px;text-align:right}
.ws-inspector-scroll{flex:1}

/* Genjutsu retains its captured frontend in a same-origin style-isolated document. */
/* Genjutsu occupies the remaining viewport below the shared PRO header. */
body:has(.genjutsu-workspace){height:100dvh;overflow:hidden;display:flex;flex-direction:column}
body:has(.genjutsu-workspace)>.topbar{flex-shrink:0}
#main.has-tool-workspace.genjutsu-workspace{flex:1;min-height:0;padding:0 12px 8px 0;overflow:hidden}
.genjutsu-frame{display:block;border:0;width:100%;height:100%;min-height:0;background:#000}
@media(max-width:500px){#main.has-tool-workspace.genjutsu-workspace{padding:0 0 76px}}

/* END TOOL WORKSPACE STYLES */

/* BEGIN CINEMA MOTION */
/* Persistent selectors: only transform and opacity are updated while moving. */
.cinema-carousel{overflow:clip}
.cinema-carousel,.cinema-wheel{position:relative;isolation:isolate;outline:none}
.cinema-carousel .genre-cards{display:block;touch-action:pan-y;user-select:none;cursor:grab;overflow:visible}
.cinema-carousel .genre-card{left:50%;top:50%;margin:0;transition:none;backface-visibility:hidden;contain:layout style;outline-offset:3px}
.cinema-carousel .genre-card .motion-preview{height:100%;width:100%;display:block}
.cinema-carousel .genre-card .motion-preview img,.cinema-carousel .genre-card video{pointer-events:none}
.cinema-carousel .genre-nav span{min-width:110px;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cinema-carousel [data-cinema-viewport]:active,.cinema-wheel [data-cinema-viewport]:active{cursor:grabbing}
.cinema-carousel [data-cinema-index]:focus-visible,.cinema-wheel [data-cinema-index]:focus-visible{outline:2px solid #e5edf7}
.cinema-carousel.is-turning .genre-card,.cinema-wheel.is-turning .option{will-change:transform,opacity}
.cinema-wheel{height:356px;display:flex;flex-direction:column;align-items:center;gap:7px;overflow:hidden}
.cinema-wheel-viewport{position:relative;width:100%;height:278px;flex:1;perspective:680px;overflow:clip;touch-action:pan-x;user-select:none;cursor:grab;mask-image:linear-gradient(transparent,#000 12%,#000 88%,transparent)}
.cinema-wheel .option{position:absolute;left:50%;top:50%;width:calc(100% - 8px);height:105px;min-height:0;margin:0;padding:6px 3px 3px;flex-shrink:0;border-radius:60px;border:1px solid #ffffff22;background:linear-gradient(150deg,#ffffff06,#ffffff02);box-shadow:inset 0 1px 2px #ffffff14;backface-visibility:hidden;transition:border-color .22s,background-color .22s;contain:layout style}
.cinema-wheel .option.selected{border-color:#d4dee7;box-shadow:inset 0 0 0 3px #0008;background-color:#b8c8d320}
.cinema-wheel .option-image{height:59px;background:transparent}.cinema-wheel .option-image .motion-preview{height:100%;width:100%}
.cinema-wheel .option-image img{width:85px;height:59px;object-fit:contain;margin:auto}
.cinema-wheel .option-image svg{width:31px;height:31px}.cinema-wheel .option-label{padding:7px 2px;font-size:10px;line-height:1.2}
.cinema-wheel .option.selected .option-label:after{content:none}
.cinema-wheel>.wheel-arrow{display:grid;place-items:center;flex-shrink:0;width:38px;height:23px;border-radius:20px;border:1px solid #ffffff25;background:linear-gradient(#ffffff18,#ffffff05);color:#cbd6df;font-size:17px;line-height:1;box-shadow:inset 0 0 4px #ffffff16}
.cinema-wheel>.wheel-arrow:hover{background:#ffffff19}
.cinema-motion-dialog .wheel-grid{gap:13px}.cinema-motion-dialog .wheel-grid h3{margin:0 0 14px}
@media(max-width:500px){.cinema-motion-dialog .wheel-grid{gap:5px}.cinema-wheel{height:318px}.cinema-wheel .option{width:calc(100% - 4px);height:95px;padding-top:7px}.cinema-wheel .option-image,.cinema-wheel .option-image img{height:47px}.cinema-wheel .option-image img{width:64px}.cinema-wheel .option-label{font-size:9px}.cinema-carousel .genre-nav span{max-width:160px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.cinema-carousel .genre-card,.cinema-wheel .option{will-change:auto!important}}

/* END CINEMA MOTION */

/* The shared bento component owns the card styles (pro/visuals.mjs). */
.catalog-tools{display:flex;align-items:center;gap:24px}
.preview-toggle{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:8px;background:none;color:#9ca5ad;font-size:11px;padding:7px 0;cursor:pointer}
.preview-toggle svg{width:16px;height:16px}.preview-toggle:hover{color:#f1f4f6}
.preview-toggle:focus-visible{outline:1px solid #dde7f0;outline-offset:5px}
@media(max-width:500px){.catalog-tools{gap:13px}.preview-toggle span{font-size:10px}.section-head>h2{font-size:19px}}

/* Flow hero styles are shared by Apps and chat in pro/visuals.mjs. */

/* Keep header controls inside the touch viewport (including language/project). */
@media(max-width:600px){.topbar>.toplinks{gap:8px;min-width:0}.topbar>.toplinks .project-context{min-width:0}.topbar>.toplinks .project-context span{max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
