.format-selector{border:1px solid var(--border);background:var(--secondary);width:84px;height:38px;color:var(--foreground);white-space:nowrap;font-variant-numeric:tabular-nums;border-radius:99px;flex:none;justify-content:center;align-items:center;gap:6px;padding:0 8px;font-size:13px;display:inline-flex}.format-selector:hover{background:var(--accent)}.format-icon-slot{flex:none;place-items:center;width:24px;height:24px;display:grid}.format-icon{box-sizing:border-box;opacity:.85;border:2px solid;border-radius:3px;flex:none;display:inline-block}.format-icon--9-16{width:12px;height:21px}.format-icon--16-9{width:24px;height:14px}.format-icon--1-1{width:19px;height:19px}.explore-details{width:calc(100% - 32px);background:var(--card)!important;z-index:120!important}.explore-details+*{isolation:isolate}.explore-feed{max-width:1600px}.explore-post{vertical-align:top;break-inside:avoid;width:100%;margin:0 0 4px;display:inline-block}.explore-catalog{columns:4;column-gap:4px}.explore-open{cursor:zoom-in;white-space:normal;border-radius:0;width:100%;height:auto;padding:0;display:block;overflow:hidden}.explore-open:hover{background:0 0}.explore-open>img{width:100%;height:auto;display:block}.explore-open video,.explore-open img{object-fit:cover}.explore-open:focus-visible{outline:2px solid var(--foreground);outline-offset:-2px}@media (width<=1200px){.explore-catalog{columns:3}}@media (width<=900px){.explore-catalog{columns:2}}.studio-shell{min-height:100dvh;display:block;overflow:visible}.studio-shell>header{flex:none;padding:12px 16px 0;position:sticky;top:0}.studio-shell>main{flex-direction:column;width:100%;padding:48px 24px 100px;display:flex}.simple-studio{flex-direction:column;flex:1;gap:clamp(12px,3vh,30px);min-height:0;font-size:14px;display:flex}.simple-studio button,.studio-dialog button{cursor:pointer}.simple-studio button:disabled,.studio-dialog button:disabled{cursor:default;opacity:.45}.simple-studio button:focus-visible,.studio-dialog button:focus-visible,.studio-dialog input:focus-visible,.studio-dialog select:focus-visible{outline-offset:3px;outline:2px solid #ff8500}.studio-title{flex:none;justify-content:space-between;align-items:center;display:flex}.studio-eyebrow{color:#999b9f;letter-spacing:.18em;margin-bottom:9px;font-size:10px}.studio-title h1{font-size:clamp(26px,3vw,40px);line-height:1.08}.studio-workbench{flex:1;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:28px;min-height:0;max-height:650px;display:grid}.studio-composer{flex-direction:column;justify-content:center;min-height:0;display:flex}.studio-mode{gap:6px;margin-bottom:20px;display:flex}.studio-mode>button{color:#a4a4aa;border-radius:12px;padding:10px 20px}.studio-mode>button[aria-pressed=true]{color:#fff;background:#292b30}.studio-mode>button>span{border:1px solid #4a4c50;border-radius:4px;margin-left:3px;padding:2px 4px;font-size:9px}.studio-input-box{background:#1c1e23;border:1px solid #33353b;border-radius:20px;flex-direction:column;height:clamp(140px,30vh,280px);min-height:120px;padding:20px;transition:border-color .2s;display:flex}.studio-input-box:focus-within{border-color:#ff8500}.studio-input-box>label{color:#b3b3b8;font-size:12px}.studio-input-box textarea{resize:none;background:0 0;outline:none;flex:1;width:100%;min-height:36px;padding:12px 0;font-size:18px;line-height:1.55}.studio-input-box textarea::placeholder{color:#74757d}.studio-input-bottom{justify-content:space-between;align-items:center;gap:6px;min-height:34px;display:flex}.studio-text-button{color:#aaaab2;align-items:center;gap:7px;padding:6px 0;font-size:12px;display:inline-flex}.studio-text-button:hover{color:#fff}.studio-attached{align-items:center;gap:8px;font-size:12px;display:flex}.studio-attached img{object-fit:cover;border-radius:7px;width:32px;height:32px}.studio-settings-row{gap:8px;padding:14px 0;display:flex}.studio-settings-row>button{border:1px solid #32343a;border-radius:8px;align-items:center;gap:10px;padding:8px 12px;font-size:12px;display:inline-flex}.studio-settings-spacer{flex:1}.studio-generate{color:#17100a;background:#ff8500;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;gap:10px;width:100%;min-height:50px;padding:12px 16px;font-size:15px;font-weight:700;display:flex}.studio-generate:hover:not(:disabled){background:#ff982b}.studio-generate:disabled{opacity:.85!important}.studio-credit{border-left:1px solid #2513064d;margin-left:3px;padding-left:12px;font-size:12px;font-weight:600}.studio-control-row{justify-content:space-between;align-items:center;gap:8px;margin-top:14px;display:flex}.studio-control-row>span{color:#878992;font-size:11px}.studio-auto{background:#1c1e23;border:1px solid #2e3036;border-radius:10px;padding:3px;display:inline-flex}.studio-auto button{color:#8e919a;border-radius:7px;padding:6px 14px;font-size:12px}.studio-auto button[aria-pressed=true]{color:#fff;background:#33353b}.studio-feedback{color:#8e9098;min-height:16px;margin-top:14px;font-size:10px}.studio-preview{background:#191b20;border:1px solid #2d3036;border-radius:22px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.studio-preview-top,.studio-preview-bottom{color:#a6a7ae;flex:none;justify-content:space-between;align-items:center;padding:15px 18px;font-size:11px;display:flex}.studio-preview-bottom{white-space:nowrap;gap:12px}.studio-preview-bottom>span{text-overflow:ellipsis;overflow:hidden}.studio-preview-media{background:#0c0e10;border-radius:14px;flex:1;min-height:0;margin:0 10px;position:relative;overflow:hidden}.studio-preview-media>video,.studio-preview-media>img{object-fit:contain;width:100%;height:100%}.studio-preview-media:has(.studio-preview-caption)>video{object-fit:cover}.studio-preview-caption{pointer-events:none;background:linear-gradient(#0000,#06090ddd);padding:60px 26px 24px;position:absolute;bottom:0;left:0;right:0}.studio-preview-caption>span{letter-spacing:.16em;color:#d6d6d8;font-size:9px}.studio-preview-caption>p{font-family:var(--font-serif);margin-top:10px;font-size:clamp(25px,3vw,39px);line-height:1.05}.studio-progress{text-align:center;background:#11151bdd;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:20px;display:flex;position:absolute;inset:0}.studio-progress small{color:#aaaeb5;font-size:11px}.studio-spinner{border:2px solid #ffffff30;border-top-color:#ff8500;border-radius:50%;width:26px;height:26px;animation:1s linear infinite studio-spin}@keyframes studio-spin{to{transform:rotate(360deg)}}.studio-dialog{width:calc(100% - 24px);max-width:510px;max-height:calc(var(--studio-viewport-height,100dvh) - 24px);border-radius:22px;gap:16px;padding:24px;font-size:14px;overflow:hidden}.studio-dialog h2{padding-right:15px;font-size:24px}.studio-dialog [id][class*=text-muted]{font-size:12px}.studio-model-preview{background:#20242a;border-radius:12px;height:min(28dvh,230px);position:relative;overflow:hidden}.studio-model-preview video{object-fit:cover;width:100%;height:100%}.studio-model-overlay{color:#fff;pointer-events:none;text-shadow:0 1px 4px #00000080;background:linear-gradient(#0000,#000000e0);padding:42px 18px 16px;position:absolute;inset:auto 0 0}.studio-model-overlay strong{font-size:20px;font-weight:700}.studio-model-overlay p{color:#e3e4e8;margin-top:4px;font-size:12px}.studio-example-empty{color:#9da1aa;flex-direction:column;justify-content:center;align-items:center;gap:10px;height:100%;display:flex}.studio-example-empty small{font-size:11px}.studio-model-name{justify-content:space-between;align-items:center;gap:12px;display:flex}.studio-model-name strong{font-size:16px}.studio-model-name p{color:#9699a3;margin-top:4px;font-size:11px}.studio-model-name>span{text-align:right;flex:none;font-size:11px}.studio-pager{justify-content:center;align-items:center;gap:24px;font-size:12px;display:flex}.studio-pager button{background:#25282d;border-radius:8px;padding:7px}.studio-option-page{flex-direction:column;gap:20px;display:flex}.studio-option>legend{color:#a6a8b1;margin-bottom:10px;font-size:12px}.studio-option>div{gap:7px;display:flex}.studio-option button{background:#23262c;border:1px solid #0000;border-radius:9px;flex:1;padding:13px 5px;font-size:12px}.studio-option button[aria-pressed=true],.studio-secondary[aria-pressed=true]{color:#ffab50;border-color:#ff8500}.studio-aspect-icon{box-sizing:border-box;opacity:.85;border:2px solid;border-radius:3px;flex:none;display:inline-block}.studio-aspect-icon--9-16{width:12px;height:21px}.studio-aspect-icon--16-9{width:24px;height:14px}.studio-aspect-icon--1-1{width:19px;height:19px}.studio-format-option button{flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:67px;font-weight:600;display:flex}.studio-format-option .studio-aspect-icon--9-16{width:16px;height:28px}.studio-format-option .studio-aspect-icon--16-9{width:31px;height:18px}.studio-format-option .studio-aspect-icon--1-1{width:24px;height:24px}.studio-dialog-actions{gap:10px;display:flex}.studio-dialog-actions .studio-generate{flex:1;width:auto}.studio-secondary{background:#24272d;border:1px solid #373a42;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:12px;font-size:12px;display:inline-flex}.studio-camera-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.studio-photo-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.studio-photo-grid button{height:min(18vh,140px);min-height:0}.studio-photo-grid img{object-fit:cover;border-radius:10px;width:100%;height:100%}.studio-photo-grid p{text-align:center;color:#a6a8b1;grid-column:span 2;padding:30px 0}.studio-camera-grid label{text-transform:capitalize}.studio-dialog input:not([type=checkbox]):not([type=color]),.studio-dialog select,.studio-dialog textarea{background:#22262d;border:1px solid #353942;border-radius:9px;width:100%;min-width:0;padding:10px;font-size:16px}.studio-mask>div>div.relative{width:auto;max-width:min(35vh,280px)}.studio-mask p{font-size:12px}.studio-story-step{flex-direction:column;gap:12px;display:flex}.studio-story-step label{color:#b5b7c0;font-size:12px}.studio-story-step textarea{resize:none;height:22dvh;min-height:80px}.studio-story-step p,.studio-story-step small{color:#a1a5af;font-size:11px;line-height:1.6}.studio-story-step blockquote{background:#242830;border-left:2px solid #ff8500;max-height:20dvh;padding:16px;font-size:14px;overflow:auto}.studio-caption-preview{background:linear-gradient(140deg,#acb4bb,#647d75 55%,#263f3b);border-radius:10px;justify-content:center;align-items:end;height:min(20dvh,150px);min-height:70px;padding:16px;display:flex;position:relative;overflow:hidden}.studio-caption-preview>span{text-align:center;text-shadow:0 1px 3px #000;border-radius:6px;padding:5px 12px;font-size:18px;line-height:1.35;position:relative}.studio-caption-hills{background:#15382c8a;border-radius:50%;position:absolute;inset:35% -10% -50%;transform:rotate(-20deg)}.studio-caption-controls{justify-content:space-between;align-items:center;gap:5px;display:flex}.studio-caption-controls label{align-items:center;gap:5px;font-size:10px;display:flex}.studio-caption-controls input[type=color]{width:25px;height:25px}.studio-style-save{gap:8px;display:flex}@media (width<=700px){.studio-shell>header{padding:8px 10px 0}.studio-shell>header>div{border-radius:999px;padding:8px 10px}.studio-shell>main{padding:40px 16px max(90px, env(safe-area-inset-bottom))}.simple-studio{gap:14px}.studio-title h1{font-size:26px}.studio-eyebrow{display:none}.studio-title>button{font-size:10px}.studio-workbench{flex-direction:column-reverse;gap:14px;max-height:none;display:flex}.studio-preview{border-radius:15px;flex:1;min-height:95px}.studio-preview-top{display:none}.studio-preview-media{border-radius:0;margin:0}.studio-preview-bottom{padding:7px 12px;font-size:9px}.studio-preview-caption{padding:30px 16px 15px}.studio-preview-caption>p{margin-top:5px;font-size:24px}.studio-preview-caption>span{font-size:8px}.studio-composer{flex:none}.studio-mode{gap:3px;margin-bottom:10px}.studio-mode>button{padding:7px 17px;font-size:13px}.studio-input-box{border-radius:14px;height:clamp(128px,22dvh,190px);min-height:100px;padding:13px 16px}.studio-input-box textarea{padding:8px 0;font-size:16px;line-height:1.4}.studio-input-box>label{font-size:10px}.studio-input-bottom{min-height:28px}.studio-settings-row{padding:9px 0}.studio-settings-row>button{padding:6px 10px;font-size:11px}.studio-generate{min-height:48px}.studio-control-row{margin-top:10px}.studio-control-row>span{font-size:10px}.studio-feedback{margin-top:7px;font-size:9px}.studio-dialog{gap:12px;padding:20px}}@media (height<=670px){.studio-title,.studio-feedback{display:none}.studio-mode{margin-bottom:8px}.studio-input-box{height:130px}.studio-dialog{gap:10px;padding:18px}.studio-model-preview{height:23dvh}.studio-option-page{gap:12px}.studio-dialog h2{font-size:20px}}@media (height<=480px){.studio-shell>main{padding-top:8px;padding-bottom:8px}.studio-preview{display:none}.studio-workbench{display:flex}.studio-composer{flex:1}.studio-input-box{flex:1;height:auto;min-height:70px;padding:8px 12px}.studio-input-box>label{display:none}.studio-input-box textarea{font-size:16px}.studio-mode>button{padding:4px 12px}.studio-settings-row{padding:6px 0}.studio-control-row{margin-top:6px}.studio-generate{min-height:38px;padding:8px 12px}.studio-dialog{gap:7px;padding:14px 18px}.studio-model-preview{height:17dvh}.studio-model-name p,.studio-example-empty small,.studio-story-step>p,.studio-story-step>small{display:none}.studio-pager button{padding:2px}.studio-dialog [id][class*=text-muted]{font-size:10px}.studio-story-step{gap:7px}.studio-caption-preview{height:17dvh;min-height:50px;padding:4px}.studio-caption-preview>span{font-size:14px}}@media (prefers-reduced-motion:reduce){.studio-spinner{animation:none}}body:has(.studio-shell){height:auto;min-height:100dvh;overflow:visible}.studio-shell[data-keyboard=true] .studio-preview,.studio-shell[data-keyboard=true] .studio-title,.studio-shell[data-keyboard=true] .studio-feedback{display:none}.studio-shell[data-keyboard=true] .studio-workbench{display:flex}.studio-shell[data-keyboard=true] .studio-composer{flex:1}.studio-shell[data-keyboard=true] .studio-input-box{flex:1;height:auto;min-height:65px;padding:8px 12px}.studio-shell[data-keyboard=true] .studio-input-box>label{display:none}.studio-shell[data-keyboard=true] .studio-mode{margin-bottom:4px}.studio-shell[data-keyboard=true] .studio-mode button{padding:3px 10px}.studio-shell[data-keyboard=true] .studio-settings-row{padding:5px 0}.studio-shell[data-keyboard=true] .studio-generate{min-height:38px;padding:7px}.studio-shell[data-keyboard=true] .studio-control-row{margin-top:5px}body:has(.studio-shell[data-keyboard=true]) .studio-dialog{gap:7px;padding:14px}body:has(.studio-shell[data-keyboard=true]) .studio-caption-preview{display:none}body:has(.studio-shell[data-keyboard=true]) .studio-story-step>p{display:none}body:has(.studio-shell[data-keyboard=true]) .studio-story-step>small{display:none}body:has(.studio-shell[data-keyboard=true]) .studio-story-step textarea{height:80px}@media (height<=480px){.studio-caption-preview{display:none}.studio-story-step label{font-size:10px}.studio-story-step select{padding:6px 10px}}.studio-centered .studio-title{justify-content:flex-end}.studio-centered .studio-workbench{flex-direction:column;justify-content:center;align-items:center;gap:20px;max-height:none;display:flex}.studio-centered .studio-composer{flex:none;width:min(100%,850px)}.studio-welcome{text-align:center;letter-spacing:-.035em;margin-bottom:26px;font-size:clamp(24px,3vw,34px);font-weight:600}.studio-centered .studio-mode{justify-content:center;margin-bottom:24px}.studio-centered .studio-mode>button{border-radius:999px}.studio-create-card{background:#202125;border:1px solid #36373b;border-radius:24px;padding:0 16px 14px;box-shadow:0 10px 40px #00000018}.studio-create-card:focus-within{border-color:#8b633d}.studio-centered .studio-input-box{background:0 0;border:0;border-radius:0;height:146px;min-height:0;padding:0}.studio-centered .studio-input-bottom{background:#191a1d;border-radius:24px 24px 0 0;order:-1;min-height:46px;margin:0 -16px;padding:8px 18px}.studio-centered .studio-input-box>label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.studio-centered .studio-input-box textarea{padding:18px 4px 10px;font-size:16px}.studio-create-footer{align-items:center;gap:12px;display:flex}.studio-centered .studio-settings-row{flex:1;align-items:center;gap:6px;padding:0}.studio-centered .studio-settings-row>button{background:#2c2e33;border:none;border-radius:999px;gap:7px;min-height:36px}.studio-create-footer>.studio-generate{border-radius:999px;width:auto;min-height:42px;padding:10px 18px;font-size:14px}.studio-centered .studio-control-row{margin-top:14px;padding:0 6px}.studio-centered .studio-feedback{text-align:center;margin-top:15px}.studio-has-result .studio-welcome{display:none}.studio-centered.studio-has-result .studio-workbench{justify-content:flex-end;gap:14px}.studio-centered.studio-has-result .studio-preview{flex:1;order:-1;width:min(100%,850px);min-height:90px;max-height:40dvh;display:flex}.studio-has-result .studio-mode{margin-bottom:10px}.studio-has-result .studio-input-box{height:115px}.studio-pending-placeholder{background:#1b1d21;width:100%;height:100%}@media (width<=540px){.studio-create-card{border-radius:20px;padding:0 12px 12px}.studio-centered .studio-input-bottom{border-radius:20px 20px 0 0;margin:0 -12px;padding-inline:14px}.studio-create-footer{flex-wrap:wrap;gap:10px}.studio-create-footer>.studio-generate{width:100%}.studio-centered .studio-input-box{height:150px}.studio-centered .studio-control-row>span{font-size:10px}.studio-welcome{margin-bottom:20px}.studio-centered.studio-has-result .studio-input-box{height:105px}}@media (height<=650px){.studio-centered .studio-welcome{margin-bottom:12px;font-size:24px}.studio-centered .studio-mode{margin-bottom:12px}.studio-centered .studio-input-box{height:115px}.studio-centered .studio-feedback{margin-top:7px}.studio-centered.studio-has-result .studio-preview{max-height:20dvh}}@media (height<=480px){.studio-centered .studio-welcome,.studio-centered .studio-feedback,.studio-centered .studio-title{display:none}.studio-centered .studio-input-box{height:85px}.studio-centered .studio-input-bottom{min-height:32px;padding-block:2px}.studio-centered .studio-mode>button{padding:5px 14px}.studio-centered .studio-control-row{margin-top:6px}.studio-centered.studio-has-result .studio-preview{display:none}}.studio-credit{opacity:.78;border:0;margin-left:0;padding-left:2px}.studio-centered .studio-input-bottom{background:0 0;border-radius:0;margin:0;padding:10px 2px 2px}.studio-centered .studio-input-bottom>button:first-child{border:1px dashed #55565c;border-radius:10px;padding:7px 11px}.studio-centered .studio-input-bottom>button:last-child{font-size:11px}.studio-inline-models{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.studio-inline-models>button{text-align:left;background:#25272d;border:2px solid #0000;border-radius:12px;height:104px;position:relative;overflow:hidden}.studio-inline-models>button[aria-pressed=true]{border-color:#ff8500}.studio-inline-models video{object-fit:cover;width:100%;height:100%}.studio-inline-models strong{color:#fff;background:linear-gradient(#0000,#000e);padding:24px 8px 8px;font-size:12px;line-height:1.2;position:absolute;inset:auto 0 0}.studio-model-no-demo{color:#9699a0;text-align:center;padding-top:15px;font-size:11px}.studio-inline-library{align-items:center;gap:8px;margin-top:10px;display:flex}.studio-inline-library img{object-fit:cover;border-radius:8px;width:55px;height:55px}.studio-inline-library>span,.studio-inline-library>button{font-size:12px}.studio-inline-tools{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.studio-inline-tools button{background:#292b30;border-radius:999px;padding:7px 10px;font-size:11px}.studio-inline-tools button[aria-pressed=true]{color:#ffab50}.studio-story-inline{background:#202125;border:1px solid #36373b;border-radius:20px;flex-direction:column;gap:14px;padding:22px;display:flex}.studio-story-inline h2{font-size:22px}.studio-story-note{color:#999ca4;margin-top:5px;font-size:11px}.studio-story-inline input:not([type=color]):not([type=checkbox]),.studio-story-inline select,.studio-story-inline textarea{color:#fff;background:#292c32;border:1px solid #42454d;border-radius:8px;width:100%;padding:9px}.studio-story-inline textarea{resize:none;height:100px}.studio-story-inline label{font-size:12px}.studio-story-inline .studio-story-step{gap:8px}.studio-story-mode .studio-welcome{display:none}.studio-manual .studio-welcome{margin-bottom:14px}@media (width<=540px){.studio-inline-models{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.studio-inline-models>button{height:72px}.studio-manual .studio-welcome{margin-bottom:10px;font-size:22px}.studio-manual .studio-mode{margin-bottom:10px}.studio-manual .studio-input-box{height:105px}.studio-story-inline{gap:10px;padding:14px}.studio-story-inline .studio-caption-preview{height:65px;min-height:65px}}@media (height<=650px){.studio-manual .studio-welcome,.studio-manual .studio-feedback{display:none}.studio-inline-models>button{height:62px}.studio-story-inline{gap:8px;padding:12px}.studio-story-inline .studio-story-step>p,.studio-story-inline .studio-story-step>small{display:none}}.studio-generate .studio-credit{font:inherit;opacity:1}.story-composer{flex-direction:column;gap:12px;min-height:0;display:flex}.story-prompt-card{background:#202125;border:1px solid #36373b;border-radius:22px;padding:18px}.story-prompt-card textarea{resize:none;color:#fff;background:0 0;border:0;outline:none;width:100%;height:115px;font-size:16px}.story-prompt-card textarea::placeholder{color:#94959c}.story-quick-settings{align-items:center;gap:12px;display:flex}.story-quick-settings>.studio-generate{margin-left:auto}.story-quick-settings [role=group]{gap:2px;display:flex}.story-format{color:#c3c4cb;align-items:center;gap:6px;font-size:12px;display:flex}.story-format i{border:1.5px solid;border-radius:3px;width:12px;height:20px}.story-options,.story-option-panel,.story-voice-panel>div{flex-wrap:wrap;gap:8px;display:flex}.story-options button,.story-option-panel button,.story-quick-settings [role=group] button{color:#b5b6bc;background:#202125;border-radius:10px;padding:9px 12px;font-size:12px}.story-composer button[aria-pressed=true]{color:#ff9c33;background:#383029}.story-option-panel{border:1px solid #34353b;border-radius:16px;padding:12px}.story-voice-panel{flex-direction:column}.story-caption-panel .studio-story-step{gap:8px;width:100%}.story-caption-panel .studio-caption-preview{height:64px;min-height:64px}.story-caption-panel input:not([type=color]):not([type=checkbox]),.story-caption-panel select{color:#fff;background:#292c32;border:1px solid #42454d;border-radius:8px;min-width:0;padding:8px}.story-caption-panel small{display:none}.story-composer .studio-story-note{text-align:center;margin:0}@media (width<=540px){.story-prompt-card{padding:14px}.story-quick-settings{flex-wrap:wrap;gap:10px}.story-quick-settings>.studio-generate{width:100%}.story-options{gap:6px}.story-options button{padding:9px 10px}}@media (height<=650px){.story-composer{gap:6px}.story-prompt-card{padding:10px}.story-prompt-card textarea{height:64px}.story-caption-panel .studio-caption-preview{display:none}.story-option-panel{padding:8px}.story-caption-panel .studio-story-step{gap:4px}}.studio-reference-thumb{flex:none;width:54px;height:46px;position:relative}.studio-reference-thumb img,.studio-reference-thumb video{object-fit:cover;border-radius:8px;width:100%;height:100%}.studio-reference-thumb button{color:#fff;background:#08090b;border:1px solid #777;border-radius:50%;place-items:center;width:23px;height:23px;display:grid;position:absolute;top:-5px;right:-5px}.studio-reference-note{color:#b8bac1;max-width:190px;font-size:10px}.studio-auto-switch{color:#c2c4cc;align-items:center;gap:8px;padding:7px 0;font-size:12px;display:inline-flex}.studio-switch-track{background:#484b50;border-radius:20px;align-items:center;width:34px;height:20px;padding:3px;transition:background .15s;display:inline-flex}.studio-switch-track i{background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s}.studio-auto-switch[aria-checked=true] .studio-switch-track{background:#24b875}.studio-auto-switch[aria-checked=true] i{transform:translate(14px)}.story-look-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.story-look-card{text-align:left;border:2px solid #0000;border-radius:16px;height:230px;position:relative;overflow:hidden}.story-look-card video{object-fit:cover;width:100%;height:100%}.story-look-card:after{content:"";background:linear-gradient(#0000,#000b);position:absolute;inset:35% 0 0}.story-look-card span{z-index:1;color:#fff;font-size:18px;font-weight:600;position:absolute;bottom:14px;left:14px}.story-look-card[aria-pressed=true]{border-color:#ff8500}.story-visual .story-prompt-card textarea{height:55px}.story-visual.story-editing .story-look-card{height:100px}@media (width<=540px){.story-look-gallery{gap:7px}.story-look-card{border-radius:12px;height:175px}.story-look-card span{font-size:14px;bottom:10px;left:9px}.story-visual .story-prompt-card textarea{height:50px}.story-visual.story-editing .story-look-card{height:75px}}@media (height<=650px){.story-look-card{height:95px}.story-visual.story-editing .story-look-gallery{display:none}.story-visual .story-prompt-card textarea{height:42px}}.studio-centered .studio-mode>button{justify-content:center;align-items:center;gap:7px;display:inline-flex}.ms-creator-tabs{scrollbar-width:none;background:var(--card);border:1px solid var(--border);border-radius:999px;gap:4px;width:fit-content;max-width:100%;margin:0 0 8px;padding:4px;display:flex;overflow-x:auto}.ms-creator-tabs::-webkit-scrollbar{display:none}.ms-creator-tab{height:32px;color:var(--muted-foreground);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:0 14px;font-size:13px;transition:background .15s,color .15s;display:inline-flex}.ms-creator-tab:hover{color:var(--foreground)}.ms-creator-tab[aria-selected=true]{background:var(--secondary);color:var(--foreground)}.ms-bar[hidden],.ms-grid[hidden]{display:none!important}.ms-audio-bar .audio-prompt-bar{box-shadow:none;background:0 0;border:0;padding:0}.ms-feed-filters{flex-wrap:wrap;gap:4px;margin-bottom:16px;display:flex}.ms-feed-filters button{height:32px;color:var(--muted-foreground);border:1px solid #0000;border-radius:999px;padding:0 12px;font-size:13px}.ms-feed-filters button[aria-pressed=true]{color:var(--foreground);border-color:var(--border);background:var(--card)}.ms-audio-list{gap:8px;margin-bottom:16px;display:grid}.ms-audio-card{background:var(--card);border:1px solid var(--border);border-radius:16px;grid-template-columns:auto minmax(0,1fr) minmax(200px,340px) auto;align-items:center;gap:12px;padding:8px 12px;display:grid}.ms-audio-card p{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;overflow:hidden}.ms-audio-card audio{width:100%;height:36px}.ms-audio-kind,.ms-audio-card a{color:var(--muted-foreground);display:inline-flex}.ms-feed-empty{color:var(--muted-foreground);font-size:14px}@media (width<=640px){.ms-audio-card{grid-template-columns:auto minmax(0,1fr) auto}.ms-audio-card audio{grid-area:2/1/auto/-1}}.ms-studio>.ms-creator-tabs{margin:8px auto 24px}.ms-creator-tab{height:36px;padding:0 16px;font-size:14px}@media (width>=601px){.ms-creator-tabs{display:none}}.ms-audio-list[hidden],.ms-audio-card[hidden]{display:none}.ms-studio{flex-direction:column;flex:none;gap:40px;width:100%;max-width:1180px;min-height:0;margin:0 auto;padding-bottom:32px;display:flex;overflow:visible}.ms-top{justify-content:flex-end;display:flex}.ms-link{color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;font-size:14px}.ms-link:hover{color:var(--foreground)}.ms-hero{text-align:center;flex-direction:column;align-items:center;gap:28px;padding-top:8px;display:flex}.ms-compact .ms-hero{padding-top:0}.ms-compact .ms-feed{order:-1}.ms-sub{color:var(--muted-foreground);max-width:520px;margin-bottom:18px;font-size:15px}.ms-bar{text-align:left;background:var(--card);border:1px solid var(--border);border-radius:var(--radius-xl);width:100%;max-width:860px;box-shadow:var(--shadow-glass);padding:14px 14px 12px;transition:border-color .2s;container-type:inline-size}.ms-bar:focus-within{border-color:var(--border)}.ms-bar textarea{width:100%;box-shadow:none;resize:none;color:var(--foreground);background:0 0;border:0;outline:none;min-height:56px;padding:6px 8px 10px;font-size:16px;line-height:1.5}.ms-bar textarea::placeholder{color:var(--muted-foreground)}.ms-chips{flex-wrap:wrap;gap:8px;padding:2px 4px 10px;display:flex}.ms-chip{border-radius:var(--radius-md);background:var(--secondary);color:var(--muted-foreground);align-items:center;gap:8px;padding:4px 6px 4px 4px;font-size:12px;display:flex}.ms-chip img{object-fit:cover;border-radius:var(--radius-sm);width:36px;height:36px}.ms-chip button{background:var(--background);width:20px;height:20px;color:var(--foreground);cursor:pointer;border:0;border-radius:99px;place-items:center;display:grid}.ms-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ms-spacer{flex:1}.ms-icon,.ms-pill,.ms-seg button{border:1px solid var(--border);background:var(--secondary);height:38px;color:var(--foreground);cursor:pointer;white-space:nowrap;border-radius:99px;align-items:center;gap:6px;padding:0 14px;font-size:13px;display:inline-flex}.ms-icon{justify-content:center;width:38px;padding:0}.ms-pill:hover,.ms-icon:hover{background:var(--accent)}.ms-seg{background:var(--background);border:1px solid var(--border);border-radius:99px;padding:3px;display:inline-flex}.ms-seg button{height:32px;color:var(--muted-foreground);background:0 0;border:0}.ms-seg button[aria-pressed=true]{background:var(--secondary);color:var(--foreground)}.ms-generate{height:42px;color:var(--background);cursor:pointer;background:linear-gradient(#ffcb66,#ffb43c);border:0;border-radius:99px;align-items:center;gap:8px;padding:0 18px;font-size:14px;font-weight:600;display:inline-flex}.ms-generate:disabled{opacity:.75;cursor:not-allowed}.ms-cost{opacity:.9;font-size:12px;font-weight:600}.ms-tools{flex-wrap:wrap;justify-content:center;gap:6px;margin-top:4px;display:flex}.ms-tools button{border:1px solid var(--border);height:32px;color:var(--muted-foreground);cursor:pointer;background:0 0;border-radius:99px;padding:0 12px;font-size:12px}.ms-tools button[aria-pressed=true]{color:var(--foreground);border-color:var(--primary)}.ms-feedback{color:var(--muted-foreground);min-height:18px;font-size:12px}.ms-feedback button{color:inherit;background:0 0;border:0;text-decoration:underline}.ms-feedback [role=alert]{color:var(--destructive)}.ms-menu{min-width:240px}.ms-menu-item{flex-direction:column;flex:1;display:flex}.ms-menu-item small{color:var(--muted-foreground);font-size:11px}.ms-feed h2{margin-bottom:14px;font-size:18px;font-weight:600}.ms-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;display:grid}.ms-card{aspect-ratio:9/16;border-radius:var(--radius-lg);background:var(--card);border:1px solid var(--border);position:relative;overflow:hidden}.ms-card img,.ms-card video{object-fit:cover;width:100%;height:100%;display:block}.ms-card--pending{color:var(--muted-foreground);flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.ms-card-actions{opacity:0;gap:6px;transition:opacity .2s;display:flex;position:absolute;top:8px;left:8px;right:8px}.ms-card:hover .ms-card-actions,.ms-card:focus-within .ms-card-actions{opacity:1}@media (hover:none){.ms-card-actions{opacity:1}}.ms-card-actions button{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);height:30px;color:var(--foreground);cursor:pointer;background:#0a0a0cbf;border:0;border-radius:99px;align-items:center;gap:5px;padding:0 10px;font-size:12px;display:inline-flex}.ms-card-actions{flex-wrap:nowrap;justify-content:flex-end;overflow:hidden}.ms-card-actions .ms-dl{flex:0 0 30px;justify-content:center;width:30px;padding:0}@media (width<=640px){.studio-shell>.private-mobile-nav{z-index:30;background:var(--surface);position:fixed;inset:auto 0 0}.ms-studio{gap:24px;padding-bottom:300px}.private-home .ms-studio{padding-bottom:0}.private-home{padding-bottom:300px}.private-home .private-home-hero{min-height:100px}.ms-hero{padding-top:12px}.ms-sub{margin-bottom:0}.ms-studio .ms-bar{left:10px;right:10px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:25;border-radius:var(--radius-xl);width:auto;max-height:45dvh;position:fixed;overflow-y:auto}.ms-chips{max-height:90px;overflow-y:auto}.ms-grid{grid-template-columns:repeat(2,1fr);gap:8px}.ms-generate{padding-left:14px}}.ms-model-menu{background:var(--popover);opacity:1;width:min(380px,100vw - 32px);animation:none}.ms-auto-toggle{cursor:pointer;align-items:center;gap:8px;height:38px;font-size:13px;display:inline-flex}.ms-model-dialog{width:calc(100vw - 32px);max-width:640px;max-height:85dvh;overflow-y:auto}.ms-model-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.ms-model-tile{aspect-ratio:4/3;border-radius:var(--radius-sm);background:var(--secondary);position:relative;overflow:hidden}.ms-model-tile .ms-model-preview{border-radius:0;width:100%;height:100%;display:block}.ms-model-tile .ms-model-preview button{z-index:3;top:8px;bottom:auto;right:8px}.ms-model-tile .ms-model-select{border-radius:var(--radius-sm);white-space:normal;text-align:left;width:100%;height:100%;color:var(--foreground);background:linear-gradient(transparent 25%, var(--background) 100%);justify-content:flex-start;align-items:flex-end;padding:12px;position:absolute;inset:0}.ms-model-select[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--ember)}.ms-model-caption{flex-direction:column;gap:4px;min-width:0;display:flex}.ms-model-caption strong{font-size:15px;line-height:1.3}.ms-model-caption small{color:var(--muted-foreground);font-size:11px}.ms-model-check{color:var(--ember);position:absolute;top:8px;left:8px}.ms-model-preview{background:var(--secondary);border-radius:6px;flex:none;width:66px;height:50px;position:relative;overflow:hidden}.ms-model-preview img,.ms-model-preview video{object-fit:cover;width:100%;height:100%}.ms-model-preview button{background:var(--background);width:24px;height:24px;color:var(--foreground);border-radius:50%;padding:0;position:absolute;bottom:2px;right:2px}.ms-upload-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.ms-upload-grid img{aspect-ratio:1;object-fit:cover;border-radius:6px;width:100%}.ms-link-row{justify-content:center;margin-top:12px;display:flex}.ms-concepts{width:100%;max-width:760px;margin:14px auto 0}.ms-concepts-head{color:var(--muted-foreground);justify-content:space-between;align-items:center;margin-bottom:8px;font-size:13px;display:flex}.ms-concepts-head button{color:var(--muted-foreground);border-radius:999px;padding:4px}.ms-concepts-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}@media (width<=640px){.ms-concepts-grid{grid-template-columns:1fr}}.ms-concept{text-align:left;border-radius:var(--radius-lg);background:var(--card);border:1px solid var(--border);color:var(--foreground);flex-direction:column;gap:4px;padding:14px;transition:border-color .15s;display:flex}.ms-concept strong{font-size:14px;font-weight:600}.ms-concept small{color:var(--muted-foreground);font-size:12px;line-height:1.4}.ms-concept:hover{border-color:color-mix(in oklab, var(--foreground) 25%, transparent)}.ms-concept[aria-pressed=true]{border-color:var(--primary)}.ms-tweak{gap:6px;padding:8px;display:flex}.ms-tweak input{background:var(--background);border:1px solid var(--border);min-width:0;height:36px;color:var(--foreground);border-radius:999px;outline:none;flex:1;padding:0 12px;font-size:13px}.ms-tweak input:focus{border-color:color-mix(in oklab, var(--foreground) 30%, transparent)}.ms-model-card{border:1px solid var(--border);background:var(--muted);text-align:left;cursor:pointer;border-radius:14px;align-items:center;width:100%;height:72px;margin-bottom:10px;transition:border-color .2s;display:flex;position:relative;overflow:hidden}.ms-model-card:hover:not(:disabled){border-color:color-mix(in oklab, var(--foreground) 30%, transparent)}.ms-model-card:disabled{opacity:.6;cursor:default}.ms-model-card .ms-model-preview{border-radius:0;width:100%;height:100%;position:absolute;inset:0}.ms-model-card .ms-model-preview img,.ms-model-card .ms-model-preview video{object-fit:cover;object-position:center 40%;width:100%;height:100%;transform:scale(1.02)}.ms-model-card:after{content:"";background:linear-gradient(90deg, color-mix(in oklab, var(--background) 80%, transparent) 0%, color-mix(in oklab, var(--background) 35%, transparent) 45%, color-mix(in oklab, var(--background) 55%, transparent) 100%);pointer-events:none;position:absolute;inset:0}.ms-model-card-text{z-index:1;color:var(--foreground);flex-direction:column;padding:12px 14px;display:flex;position:relative}.ms-model-card-text small{opacity:.75;text-transform:uppercase;letter-spacing:.06em;font-size:11px}.ms-model-card-text strong{font-size:16px;font-weight:600}.ms-model-card-chev{z-index:1;color:var(--foreground);position:absolute;top:50%;right:14px;transform:translateY(-50%)}.ms-model-card-icon{color:var(--muted-foreground);justify-content:flex-end;align-items:center;padding-right:48px;display:flex;position:absolute;inset:0}.ms-model-menu{width:min(420px,100vw - 32px);padding:8px}.ms-model-item{isolation:isolate;border-radius:12px;align-items:center;gap:12px;min-height:72px;padding:10px 12px;display:flex;position:relative;overflow:hidden}.ms-model-item+.ms-model-item{margin-top:8px}.ms-model-thumb{border-radius:var(--radius-sm);background:var(--muted);flex:none;width:72px;height:44px;position:relative;overflow:hidden}.ms-model-item .ms-model-thumb:not(.ms-model-card-icon){border-radius:0;width:100%;height:100%;position:absolute;inset:0}.ms-model-item:has(.ms-model-thumb:not(.ms-model-card-icon)):after{content:"";background:linear-gradient(90deg, color-mix(in oklab, var(--background) 85%, transparent) 0%, color-mix(in oklab, var(--background) 45%, transparent) 55%, color-mix(in oklab, var(--background) 15%, transparent) 100%);pointer-events:none;position:absolute;inset:0}.ms-model-thumb.ms-model-card-icon{justify-content:center;padding:0;position:relative}.ms-model-thumb .ms-model-preview{width:100%;height:100%;position:absolute;inset:0}.ms-model-thumb img,.ms-model-thumb video{object-fit:cover;object-position:center 22%;width:100%;height:100%}.ms-model-item-text{z-index:1;flex-direction:column;flex:1;min-width:0;display:flex;position:relative}.ms-model-item>svg{z-index:1;position:relative}.ms-model-item-text strong{font-size:14px;font-weight:600}.ms-model-item-text small{color:var(--muted-foreground);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}@media (width<=640px){.ms-model-menu{width:calc(100vw - 48px);max-height:min(440px, var(--radix-dropdown-menu-content-available-height,440px));border-radius:20px;padding:6px;overflow-y:auto}.ms-model-item{border-radius:14px;min-height:76px}.ms-model-item-text strong{font-size:15px}.ms-model-item-text small{color:color-mix(in oklab, var(--foreground) 72%, transparent);font-size:12px}}.ms-more{border-top:1px solid var(--border);margin-top:4px;padding-top:8px}.ms-docked{gap:20px;min-height:calc(100dvh - 140px)}.ms-docked .ms-top{order:0}.ms-docked .ms-feed{flex:1;order:1}.ms-docked .ms-hero{z-index:20;background:linear-gradient(to top, var(--background) 62%, transparent);order:2;gap:18px;margin-top:auto;padding:28px 0 18px;position:sticky;bottom:0}.ms-docked:not(.ms-has-feed) .ms-hero{background:0 0;margin-top:auto;margin-bottom:auto;position:static}.ms-docked .ms-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}.ms-docked .ms-card{border-radius:var(--radius-md)}@media (width<=640px){.ms-docked{min-height:0}.ms-docked .ms-hero{background:0 0;padding:0;position:static}.ms-docked .ms-grid{grid-template-columns:repeat(2,1fr)}}.ms-card>a{cursor:pointer;height:100%;display:block}.ms-card>a>video,.ms-card>a>img{width:100%;display:block}.ms-card--clickable{cursor:pointer}.ms-grid--with-viewer{margin-top:24px}.ms-sample-label{color:var(--muted-foreground);background:var(--card);padding:6px 10px;font-size:12px;position:absolute;bottom:0;left:0;right:0}.ms-viewer{flex-direction:column;align-items:center;gap:10px;width:fit-content;max-width:100%;margin:0 auto;display:flex;position:relative}.ms-viewer video,.ms-viewer img{border-radius:var(--radius-lg);border:1px solid var(--border);background:var(--card);width:auto;max-width:100%;max-height:min(45dvh,760px);display:block;box-shadow:0 24px 60px -30px #000000b3}.ms-viewer-close{z-index:2;border:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);width:32px;height:32px;color:var(--foreground);cursor:pointer;background:#0a0a0cbf;border-radius:99px;place-items:center;display:grid;position:absolute;top:10px;right:10px}.ms-viewer-caption{min-width:0;color:var(--muted-foreground);flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;font-size:13px;display:flex}.ms-viewer-caption span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ms-viewer-open{border:1px solid var(--border);background:var(--secondary);height:30px;color:var(--foreground);cursor:pointer;border-radius:99px;flex:none;padding:0 12px;font-size:12px}.ms-icon.ms-plain{border-radius:var(--radius-sm);background:0 0;border:0}.ms-seg button{padding:0 10px}.ms-bar .ms-row{flex-wrap:nowrap;align-items:center;gap:8px;display:flex}.ms-bar .ms-row>*{flex:none;min-width:0}@container (width>=661px){.ms-bar .ms-row>.ms-model-pill{flex:1 1 0;min-width:120px}.ms-bar .ms-row>.ms-format,.ms-bar .ms-row>.ms-settings,.ms-bar .ms-row>.ms-count{white-space:nowrap;width:auto;min-width:64px;padding:0 12px}}.ms-bar .ms-row>select.ms-settings{appearance:none;text-align:center;cursor:pointer}.ms-bar .ms-row>select.ms-settings option{background:var(--popover);color:var(--popover-foreground)}.ms-bar .ms-icon{width:38px;height:38px;padding:0}.ms-type[aria-pressed=true]{color:var(--ember);background:0 0}.ms-type{color:var(--muted-foreground)}.ms-model-pill{justify-content:space-between;width:100%;padding:0 10px;overflow:hidden}.ms-model-pill span{text-overflow:ellipsis;min-width:0;overflow:hidden}.ms-model-pill svg{flex:none}.ms-format,.ms-settings,.ms-count{font-variant-numeric:tabular-nums;justify-content:center;width:100%;padding:0 8px}.ms-aspect-slot{flex:none;place-items:center;width:24px;height:24px;display:grid}.ms-bar .ms-generate{font-variant-numeric:tabular-nums;grid-column-end:-1;justify-content:center;width:150px;min-width:150px;padding:0 10px}.ms-bar textarea{height:56px}.ms-chip .ms-role{background:0 0;border-radius:4px;gap:4px;width:auto;height:28px;padding:0 4px;display:inline-flex}.ms-reference-notice{color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:8px;padding:0 4px 8px;font-size:12px;display:flex}@media (width>=641px){.ms-studio .ms-bar{left:var(--mv-rail-w,0px);width:min(860px, calc(100vw - var(--mv-rail-w,0px) - 48px));z-index:25;margin:0 auto;position:fixed;bottom:24px;right:0}.ms-studio{padding-bottom:200px}.ms-docked .ms-hero{background:0 0;padding:0;position:static}.ms-studio:not(.ms-has-feed) .ms-hero{justify-content:center;min-height:calc(100dvh - 320px)}}@container (width<=660px){.ms-bar .ms-row{flex-wrap:wrap;gap:6px;display:flex}.ms-bar .ms-row>*{flex:none}.ms-bar .ms-model-pill{flex:calc(100% - 40px);width:auto}.ms-bar .ms-format{width:84px;padding:0 4px}.ms-bar .ms-settings{white-space:nowrap;width:auto;min-width:46px;padding:0 10px}.ms-bar .ms-count{width:42px;padding:0 4px}.ms-bar .ms-generate{flex:auto;gap:4px;width:auto;min-width:fit-content;padding:0 12px;font-size:13px}.ms-bar .ms-format .ms-aspect-slot{width:18px}.ms-bar .ms-improve,.ms-bar .ms-row>:first-child{width:34px}.ms-bar textarea{height:48px}}@media (width<=640px){.ms-creator-tabs{gap:0;width:100%}.ms-creator-tabs .ms-creator-tab{flex:1 1 0;justify-content:center;gap:4px;min-width:0;padding:0 4px;font-size:13px}}.ex-card{position:relative}.ex-open{cursor:zoom-in;background:0 0;border:0;width:100%;height:100%;padding:0;display:block}.ex-hover{opacity:0;pointer-events:none;background:linear-gradient(#0000,#000c);align-items:flex-end;gap:8px;padding:28px 10px 10px;transition:opacity .2s;display:flex;position:absolute;inset:auto 0 0}.ex-card:hover .ex-hover,.ex-card:focus-within .ex-hover{opacity:1;pointer-events:auto}@media (hover:none){.ex-card:hover .ex-hover{opacity:0;pointer-events:none}.ex-card:focus-within .ex-hover{opacity:1;pointer-events:auto}}.ex-hover p{color:var(--foreground);-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:1;margin:0;font-size:12px;line-height:1.35;display:-webkit-box;overflow:hidden}.ex-remix{background:var(--ember);height:30px;color:var(--background);cursor:pointer;border:0;border-radius:99px;flex-shrink:0;align-items:center;gap:5px;margin-left:auto;padding:0 12px;font-size:12px;font-weight:600;display:inline-flex}.ex-modal{z-index:60;background:#000000bf;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.ex-modal-body{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);grid-template-columns:minmax(0,1fr) 320px;gap:24px;width:min(1100px,100%);max-height:calc(100vh - 48px);padding:20px;display:grid;position:relative;overflow:auto}.ex-media{place-items:center;min-height:0;display:grid}.ex-media img,.ex-media video{border-radius:10px;max-width:100%;max-height:calc(100vh - 96px)}.ex-side h2{color:var(--muted-foreground);margin:0 0 8px;font-size:13px;font-weight:500}.ex-prompt{white-space:pre-wrap;margin:0 0 20px;font-size:15px;line-height:1.5}.ex-side dl{grid-template-columns:auto 1fr;gap:6px 16px;margin:0 0 24px;font-size:13px;display:grid}.ex-side dt{color:var(--muted-foreground)}.ex-actions{flex-wrap:wrap;gap:8px;display:flex}.ex-close{color:var(--foreground);cursor:pointer;background:0 0;border:0;position:absolute;top:10px;right:10px}@media (width<=760px){.ex-modal-body{grid-template-columns:1fr}}.ms-styles{scrollbar-width:none;gap:6px;padding:2px 2px 10px;display:flex;overflow-x:auto}.ms-styles::-webkit-scrollbar{display:none}.ms-style{border:1px solid var(--border);height:28px;color:var(--muted-foreground);white-space:nowrap;background:0 0;border-radius:999px;flex:none;align-items:center;gap:5px;padding:0 12px;font-size:12.5px;transition:color .15s,border-color .15s,background .15s;display:inline-flex}.ms-style:hover{color:var(--foreground)}.ms-style[aria-pressed=true]{color:var(--ember);border-color:var(--ember);background:color-mix(in oklab, var(--ember) 10%, transparent)}.ms-char-btn{color:var(--foreground)}.ms-char-menu{width:260px}.ms-char-empty{color:var(--muted-foreground);padding:6px 8px 10px;font-size:12.5px}.ms-char-item{gap:10px}.ms-char-item img{object-fit:cover;border-radius:999px;width:32px;height:32px}.ms-char-item span{flex:1}.ms-char-del{opacity:.5;padding:2px}.ms-char-del:hover{opacity:1}.ex-hover-actions{flex-wrap:wrap;gap:6px;display:flex}.film-look-heading{align-items:flex-start;gap:8px;min-width:0;margin-bottom:4px;display:flex}.film-interpretation{min-width:0;color:var(--muted-foreground);flex:1;font-size:12px}.film-interpretation summary{cursor:pointer;justify-content:space-between;gap:8px;padding:8px 0;display:flex}.film-interpretation summary span{flex-wrap:wrap;align-items:center;gap:5px;display:inline-flex}.film-details{border-top:1px solid var(--border);max-height:220px;padding:8px 0;overflow-y:auto}.film-details p{overflow-wrap:anywhere;margin:6px 0}.film-details ol{padding-left:18px;list-style:decimal}.film-context{color:var(--ember);justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.film-feed{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px;display:grid}.film-result{border:1px solid var(--border);background:var(--card);border-radius:var(--radius-sm);min-width:0;overflow:hidden}.film-result-selected{border-color:var(--ember)}.film-result>video,.film-result .film-player{object-fit:contain;width:100%;height:340px}.film-pending{height:260px;color:var(--muted-foreground);flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.film-result figcaption{flex-direction:column;gap:10px;padding:16px;font-size:12px;display:flex}.film-result figcaption>strong{color:var(--foreground);overflow-wrap:anywhere;font-size:14px}.film-result figcaption>span,.film-result details{color:var(--muted-foreground)}.film-result summary{cursor:pointer}.film-result ol{padding-left:18px;list-style:decimal}.film-result progress{width:100%;accent-color:var(--ember)}@media (width<=760px){.film-feed{grid-template-columns:minmax(0,1fr)}.film-result>video,.film-result .film-player{height:300px}.film-look-heading{flex-wrap:wrap}.film-interpretation{flex-basis:100%}}.gen-card{background:color-mix(in oklab, var(--foreground) 4%, var(--background));position:relative;overflow:hidden}.gen-sheen{background:linear-gradient(110deg, transparent 30%, color-mix(in oklab, var(--foreground) 6%, transparent) 50%, transparent 70%);background-size:250% 100%;animation:2.2s ease-in-out infinite gen-sheen;position:absolute;inset:0}@keyframes gen-sheen{0%{background-position:150% 0}to{background-position:-100% 0}}.gen-center{flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex;position:absolute;inset:0}.gen-center .gen-pct{letter-spacing:-.02em;color:var(--foreground);font-size:28px;font-weight:500}.gen-label{color:var(--muted-foreground);font-size:12px}.gen-bar{background:color-mix(in oklab, var(--foreground) 10%, transparent);border-radius:2px;width:min(140px,50%);height:2px;margin-top:4px;overflow:hidden}.gen-bar i{background:var(--primary);height:100%;transition:width .4s;display:block}.gen-vignette{background:radial-gradient(ellipse at center, transparent 30%, var(--background) 100%);animation:2.4s ease-in-out infinite gen-pulse;position:absolute;inset:0}@keyframes gen-pulse{0%,to{opacity:.75}50%{opacity:1}}.gen-pill{color:var(--foreground);background:color-mix(in oklab, var(--background) 70%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid color-mix(in oklab, var(--foreground) 10%, transparent);white-space:nowrap;border-radius:999px;padding:8px 16px;font-size:13px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.gen-pct{font-variant-numeric:tabular-nums;font-weight:600}.gen-pct--accent{color:var(--ember)}.ms-card>a>img,.ms-card>a>video{animation:.3s ease-out gen-reveal}@keyframes gen-reveal{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.gen-sheen,.gen-vignette,.ms-card>a>img,.ms-card>a>video{animation:none}}.gen-est{opacity:.6;letter-spacing:.02em;margin-left:.5rem;font-size:.68rem;font-weight:500}.gen-slow{text-align:center;width:max-content;max-width:90%;color:var(--muted-foreground);font-size:.75rem;position:absolute;bottom:1rem;left:50%;transform:translate(-50%)}@media (width<=640px){.ms-bar .film-look-heading{scrollbar-width:none;flex-wrap:nowrap;gap:2px;overflow-x:auto}.ms-bar .film-look-heading>button{flex:none;padding:0 8px}.ms-bar .film-look-heading .film-interpretation{flex-basis:auto}}.ms-model-item .ms-model-thumb:not(.ms-model-card-icon){z-index:0;transform:translateZ(0)}.ms-model-item:has(.ms-model-thumb:not(.ms-model-card-icon)):after{z-index:1;transform:translateZ(0)}.ms-model-item-text,.ms-model-item>svg{z-index:2;transform:translateZ(0)}.ms-model-card .ms-model-preview{z-index:0;transform:translateZ(0)}.ms-model-card:after{z-index:1;transform:translateZ(0)}.ms-model-card-text,.ms-model-card-chev{z-index:2;transform:translateZ(0)}
