/* Compact composer for the home page's creation card (2026-10-31; composer.js arranges it).
   One calm card: Photo | Video | From text tabs; a small photo tile beside an empty prompt box; one row of scene chips;
   a toolbar of small pills with Generate on the right; one muted line under it. Stilllight's dark and gold palette.
   Selectors start at #imageWorkspace.cmp so they win over the page's older studio rules without !important. */
#imageWorkspace.cmp{--cmp-gold:#efb867;--cmp-gold-soft:rgba(239,184,103,.12);--cmp-line:#2b2d33;--cmp-pill:#141518;--cmp-text:#f4f2eb;--cmp-muted:#a9a7a1;--cmp-faint:#7f7d78}
.cmp-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Card: one column of rows; the pills toolbar and Generate share the last row on wide screens. */
#imageWorkspace.cmp .form-panel{display:flex;flex-wrap:wrap;align-items:center;gap:0 12px;padding:16px 18px 14px}
#imageWorkspace.cmp .form-panel>*{flex:1 0 100%;min-width:0}
#imageWorkspace.cmp .form-panel>[hidden]{display:none}

/* Heading row → tabs. The title stays for screen readers. */
#imageWorkspace.cmp .panel-heading{display:flex;flex-direction:row;align-items:center;margin:0 0 14px;gap:8px}
#imageWorkspace.cmp .panel-heading>div:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#imageWorkspace.cmp .panel-heading>div:first-child h2{display:block}
#imageWorkspace.cmp .uc-switch,#imageWorkspace.cmp .uc-back,#imageWorkspace.cmp .mode-tabs,#imageWorkspace.cmp .uc-privacy{display:none}
.cmp-tabs{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--cmp-line,#2b2d33);border-radius:999px;background:#0f1013}
.cmp-tab{min-height:32px;padding:5px 16px;border:0;border-radius:999px;background:transparent;color:var(--cmp-muted,#a9a7a1);font:inherit;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
.cmp-tab:hover:not(:disabled){color:var(--cmp-text,#f4f2eb)}
.cmp-tab[aria-selected=true]{background:var(--cmp-gold-soft,rgba(239,184,103,.12));color:#f3c983;box-shadow:inset 0 0 0 1px rgba(239,184,103,.45)}
.cmp-tab:disabled{opacity:.55;cursor:default}
.cmp-tab:focus-visible,.cmp-chip:focus-visible,.cmp-pill:focus-visible,.cmp-clear:focus-visible{outline:2px solid #efb867;outline-offset:2px}

/* Body row: photo tile | prompt. */
#imageWorkspace.cmp .cmp-body{display:block}
#imageWorkspace.cmp.uc-product .cmp-body,#imageWorkspace.cmp.cmp-photo .cmp-body{display:grid;grid-template-columns:120px minmax(0,1fr);column-gap:16px;align-items:start}
#imageWorkspace.cmp .cmp-body>*:not(.reference-panel){grid-column:2}
#imageWorkspace.cmp .cmp-body>.reference-panel{grid-column:1;grid-row:1/span 6;margin:0}
#imageWorkspace.cmp .cmp-body>label.field-label[for=prompt]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;margin:0}
#imageWorkspace.cmp .reference-panel>.field-label,#imageWorkspace.cmp .reference-meta{display:none}

/* The tile. */
#imageWorkspace.cmp .reference-drop{position:relative;display:flex;align-items:center;justify-content:center;width:120px;height:120px;min-height:0;padding:8px;border:1.5px dashed rgba(239,184,103,.55);border-radius:14px;background:rgba(239,184,103,.045);cursor:pointer;transition:background .15s,border-color .15s}
#imageWorkspace.cmp .reference-drop:hover,#imageWorkspace.cmp .reference-drop.dragover{background:rgba(239,184,103,.1);border-color:#efb867}
#imageWorkspace.cmp .reference-drop:focus-visible{outline:2px solid #efb867;outline-offset:2px}
#imageWorkspace.cmp .upload-hint{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
#imageWorkspace.cmp .upload-hint[hidden]{display:none}
#imageWorkspace.cmp .upload-hint strong,#imageWorkspace.cmp .upload-hint>span,#imageWorkspace.cmp .upload-hint .upload-button{display:none}
.cmp-tile-plus{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(239,184,103,.16);color:#efb867;font-style:normal;font-size:20px;line-height:1;font-weight:500}
.cmp-tile-label{font-style:normal;font-size:12px;line-height:1.25;font-weight:600;color:#e9e4da}
#imageWorkspace.cmp .uc-sample{display:none;margin:6px 0 0;text-align:center}
#imageWorkspace.cmp.uc-product:not(.uc-has-photo) .uc-sample{display:block}
#imageWorkspace.cmp .uc-sample .uc-link{min-height:28px;padding:4px 2px;font-size:11.5px;color:var(--cmp-muted,#a9a7a1)}
/* A photo replaces the tile; × removes it. More images (other editing tools) sit as a small grid. */
#imageWorkspace.cmp.uc-product.uc-has-photo .reference-drop{display:none}
#imageWorkspace.cmp .reference-preview-grid{display:grid;grid-template-columns:repeat(2,56px);gap:8px;margin:0}
#imageWorkspace.cmp .reference-preview-grid:empty{display:none}
#imageWorkspace.cmp .reference-drop+.reference-preview-grid:not(:empty){margin-top:8px}
#imageWorkspace.cmp .reference-thumb{width:56px;height:56px;border-radius:10px}
#imageWorkspace.cmp.uc-product .reference-preview-grid{grid-template-columns:120px}
#imageWorkspace.cmp.uc-product .reference-thumb,#imageWorkspace.cmp .reference-preview-grid>.reference-thumb:only-child{width:120px;height:120px;border-radius:14px;border:1px solid var(--cmp-line,#2b2d33);background:#fff}
#imageWorkspace.cmp .reference-preview-grid:has(>.reference-thumb:only-child){grid-template-columns:120px}
#imageWorkspace.cmp .reference-remove{top:6px;right:6px;width:26px;height:26px;display:grid;place-items:center;padding:0;font-size:16px;line-height:1;background:rgba(14,15,17,.82);border:1px solid rgba(255,255,255,.18);cursor:pointer}

/* The prompt: borderless, calm. */
#imageWorkspace.cmp .prompt-wrap{position:relative;border:0;background:transparent;box-shadow:none;padding:0;border-radius:0}
#imageWorkspace.cmp .prompt-wrap:focus-within{box-shadow:none}
#imageWorkspace.cmp .prompt-wrap #prompt{display:block;width:100%;height:120px;min-height:120px;max-height:320px;padding:8px 34px 8px 2px;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0;resize:none;color:var(--cmp-text,#f4f2eb);font-size:15px;line-height:1.6}
#imageWorkspace.cmp .prompt-wrap #prompt::placeholder{color:#8a877f}
#imageWorkspace.cmp.cmp-text .prompt-wrap #prompt{height:96px;min-height:96px}
#imageWorkspace.cmp .prompt-wrap .prompt-assist{display:none}
.cmp-clear{position:absolute;top:6px;right:0;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:#24262b;color:#d6d3cb;font-size:16px;line-height:1;cursor:pointer}
.cmp-clear:hover{background:#30323a;color:#fff}
.cmp-clear[hidden]{display:none}
#imageWorkspace.cmp .ph{margin:2px 0 0}
#imageWorkspace.cmp .prompt-voice-note{margin:2px 0 0}
/* Counter and "Restore previous draft" only when needed; the text "Clear prompt" gives way to the × icon. */
#imageWorkspace.cmp .prompt-foot{display:none;margin:2px 0 0}
#imageWorkspace.cmp.cmp-show-foot .prompt-foot{display:flex;grid-column:1/-1}
#imageWorkspace.cmp .prompt-foot #clearPrompt{display:none}
#imageWorkspace.cmp:not(.cmp-near-limit) .prompt-foot>span:last-child{visibility:hidden}
#imageWorkspace.cmp.cmp-near-limit .prompt-foot>span:last-child{color:#f0c27a}

/* Scene chips (product card) and idea chips (From text). */
.cmp-chips{display:none}
#imageWorkspace.cmp.uc-product .cmp-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
#imageWorkspace.cmp .form-panel>.idea-row{display:none}
#imageWorkspace.cmp.cmp-text .form-panel>.idea-row{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.cmp-chip,#imageWorkspace.cmp .idea{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:6px 14px;border:1px solid #33353b;border-radius:999px;background:var(--cmp-pill,#141518);color:#d6d3cb;font:inherit;font-size:12.5px;font-weight:550;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.cmp-chip:hover:not(:disabled),#imageWorkspace.cmp .idea:hover:not(:disabled){border-color:#5a4a33;color:#f4f2eb}
.cmp-chip[aria-checked=true]{border-color:#efb867;background:var(--cmp-gold-soft,rgba(239,184,103,.12));color:#f4f2eb}
.cmp-chip[aria-checked=true]::before{content:"";width:6px;height:6px;border-radius:50%;background:#efb867}
.cmp-chip:disabled{opacity:.55;cursor:default}
.cmp-chip--set{border-style:dashed}

/* AI suggestions for the photo, as one more row of small chips. */
#imageWorkspace.cmp .uc-scenes{margin:10px 0 0}
#imageWorkspace.cmp .uc-scenes h3,#imageWorkspace.cmp .uc-scenes .uc-scene-issues,#imageWorkspace.cmp .uc-skel-row,#imageWorkspace.cmp .uc-chips,#imageWorkspace.cmp .uc-scene-note:has(+.uc-chips){display:none}
#imageWorkspace.cmp .uc-seen{display:inline;margin:0 6px 0 0;font-size:12px;color:var(--cmp-faint,#7f7d78)}
#imageWorkspace.cmp .uc-scene-list{display:inline-flex;flex-wrap:wrap;gap:8px;vertical-align:middle;margin-top:6px}
#imageWorkspace.cmp .uc-scene{display:inline-flex;flex-direction:row;align-items:center;min-height:34px;padding:6px 14px 6px 12px;border:1px solid #3b3326;border-radius:999px;background:#17150f;color:#e9dfcd;max-width:260px}
#imageWorkspace.cmp .uc-scene::before{content:"✨";position:static;width:auto;height:auto;border:0;margin-right:6px;font-size:11px}
#imageWorkspace.cmp .uc-scene[aria-checked=true]{border-color:#efb867;background:var(--cmp-gold-soft,rgba(239,184,103,.12))}
#imageWorkspace.cmp .uc-scene[aria-checked=true]::before{border:0}
#imageWorkspace.cmp .uc-scene strong{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#imageWorkspace.cmp .uc-scene span{display:none}
#imageWorkspace.cmp .uc-scene-list+.uc-scene-note{display:none}
#imageWorkspace.cmp .uc-scene-note:has(+.uc-scene-issues){display:none}
#imageWorkspace.cmp .uc-wait{display:flex;align-items:center;gap:10px}
#imageWorkspace.cmp .uc-wait p{font-size:12px;color:var(--cmp-muted,#a9a7a1)}
#imageWorkspace.cmp .uc-wait .uc-bar{flex:0 0 90px}
#imageWorkspace.cmp .uc-limit,#imageWorkspace.cmp .uc-scene-note{font-size:12px;font-weight:500;margin:0;display:inline}
#imageWorkspace.cmp .uc-retry{font-size:12px;min-height:28px}

/* Toolbar: model · size and quality · Voice · AI suggest … Generate. */
#imageWorkspace.cmp .cmp-toolbar{flex:1 1 0;display:flex;align-items:center;gap:8px;min-width:0;margin-top:16px}
#imageWorkspace.cmp .visual-settings{display:flex;align-items:center;gap:8px;min-width:0;grid-template-columns:none}
#imageWorkspace.cmp .model-choice{position:relative;min-width:0;flex:0 1 auto}
#imageWorkspace.cmp .model-choice>label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
#imageWorkspace.cmp .sl-model-picker{width:auto}
#imageWorkspace.cmp .sl-model-picker__trigger{gap:7px;width:auto;max-width:240px;min-height:36px;padding:5px 12px 5px 8px;border:1px solid #33353b;border-radius:999px;background:var(--cmp-pill,#141518);font-size:12.5px;font-weight:600}
#imageWorkspace.cmp .sl-model-picker__trigger:hover:not(:disabled){border-color:#5a4a33}
#imageWorkspace.cmp .sl-model-picker__label{flex:0 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#imageWorkspace.cmp .sl-model-picker__summary{display:none}
#imageWorkspace.cmp .sl-model-picker__brand svg,#imageWorkspace.cmp .sl-model-picker__brand img{width:18px;height:18px}
#imageWorkspace.cmp .sl-model-picker__chevron{font-size:12px}
.cmp-settings{position:relative;flex:none}
.cmp-pill,#imageWorkspace.cmp .cmp-assist .prompt-voice,#imageWorkspace.cmp .cmp-assist .prompt-ai{position:static;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:5px 12px;border:1px solid #33353b;border-radius:999px;background:var(--cmp-pill,#141518);color:#e9e4da;font:inherit;font-size:12.5px;font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer}
.cmp-pill:hover:not(:disabled),#imageWorkspace.cmp .cmp-assist .prompt-voice:hover,#imageWorkspace.cmp .cmp-assist .prompt-ai:hover:not(:disabled){border-color:#5a4a33;color:#f4f2eb}
.cmp-pill[aria-expanded=true]{border-color:#efb867;background:var(--cmp-gold-soft,rgba(239,184,103,.12))}
.cmp-pill:disabled{opacity:.55;cursor:default}
.cmp-caret{color:#bc955c;font-size:11px}
#imageWorkspace.cmp .cmp-assist{display:inline-flex;align-items:center;gap:8px;flex:none}
#imageWorkspace.cmp .cmp-assist:empty{display:none}
#imageWorkspace.cmp .cmp-assist .prompt-voice svg{width:15px;height:15px;color:#efb867}
#imageWorkspace.cmp .cmp-assist .prompt-voice.listening{border-color:#b5483f;background:#3a1d1d;color:#ffb3a8}
#imageWorkspace.cmp .cmp-assist .prompt-ai{color:#f3c983}
#imageWorkspace.cmp .cmp-assist .prompt-ai:disabled{opacity:.7;cursor:progress}
/* The size and quality popover (the old aspect ratio and More options). */
.cmp-popover{position:absolute;left:0;top:calc(100% + 8px);z-index:60;width:min(460px,calc(100vw - 32px));padding:14px;border:1px solid #33353b;border-radius:14px;background:#17181c;box-shadow:0 18px 44px rgba(0,0,0,.55)}
.cmp-popover[hidden]{display:none}
#imageWorkspace.cmp .cmp-popover .ratio-row{display:block;margin:0 0 12px}
#imageWorkspace.cmp .cmp-popover .ratio-row label{position:static;width:auto;height:auto;margin:0 0 5px;clip:auto;display:block;font-size:11.5px;color:var(--cmp-muted,#a9a7a1)}
#imageWorkspace.cmp .cmp-popover .advanced-settings{border:0;padding:0}
#imageWorkspace.cmp .cmp-popover .advanced-settings>summary{display:none}
#imageWorkspace.cmp .cmp-popover .style-choice{margin:0 0 12px}
#imageWorkspace.cmp .cmp-popover .style-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0}
#imageWorkspace.cmp .cmp-popover .style-card{min-height:44px}
#imageWorkspace.cmp .cmp-popover .generation-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
#imageWorkspace.cmp .cmp-popover .select-wrap label{font-size:11.5px;color:var(--cmp-muted,#a9a7a1)}
#imageWorkspace.cmp .cmp-popover #resolutionHint{margin:8px 0 0;font-size:11.5px}
.cmp-done{display:block;margin:12px 0 0 auto;min-height:36px;padding:6px 18px;border:1px solid #efb867;border-radius:999px;background:transparent;color:#efb867;font:inherit;font-size:13px;font-weight:650;cursor:pointer}

/* Generate on the right of the toolbar. */
#imageWorkspace.cmp .form-panel>#generateBtn{flex:0 0 auto;width:auto;min-width:190px;min-height:44px;margin-top:16px;padding:0 20px;border-radius:999px}
#imageWorkspace.cmp #generateBtn>span:first-child{font-size:13px}
#imageWorkspace.cmp #generateBtn .button-cost{font-weight:600;opacity:.85}
#imageWorkspace.cmp.cmp-listing .form-panel>#generateBtn{display:none}

/* Notes that the toolbar replaces. */
#imageWorkspace.cmp #modelDescription,#imageWorkspace.cmp #costEstimate,#imageWorkspace.cmp #generationAllowance,#imageWorkspace.cmp .create-footnote{display:none}
#imageWorkspace.cmp #generationPlans{flex:0 0 auto;margin-top:10px}
.cmp-note{margin:10px 0 0;font-size:12px;line-height:1.5;color:var(--cmp-faint,#7f7d78);text-align:right}
.cmp-note:empty{display:none}
/* Wait-time hint (home.js modelTimingHint): one quiet line above the note; each sentence wraps whole on phones. */
.cmp-timing{color:var(--cmp-muted,#a9a7a1)}
.cmp-timing>span{display:inline-block}.cmp-timing>span[hidden]{display:none}
.cmp-timing:not([hidden])+.cmp-note{margin-top:2px}
#imageWorkspace.cmp.cmp-listing .cmp-timing{display:none}
#imageWorkspace.cmp .anon-preview{margin-top:14px}

/* The listing set opens from its chip: only the choices and its own Generate. */
#imageWorkspace.cmp .listing-set-offer{display:none}
#imageWorkspace.cmp.cmp-listing .listing-set-offer:not([hidden]){display:block;margin:14px 0 0;padding:12px 14px}
#imageWorkspace.cmp .listing-set-offer .ls-head,#imageWorkspace.cmp .listing-set-offer .ls-open{display:none}
#imageWorkspace.cmp .ls-confirm{margin:0}
#imageWorkspace.cmp .ls-shots>div{display:flex;flex-wrap:wrap;gap:6px}
#imageWorkspace.cmp .ls-shot{margin:0;border-radius:999px;padding:6px 12px;min-height:36px;font-size:12.5px}
#imageWorkspace.cmp #listingSetGo:not(:disabled){background:#efb867;border-color:#efb867;color:#20180f}
#imageWorkspace.cmp #listingSetGo:not(:disabled):hover{background:#f9ca85}
#imageWorkspace.cmp .ls-actions .action-btn{border-radius:999px}

/* Wide result layout: the card sits in a narrower column, so the toolbar may wrap. */
#imageWorkspace.cmp.has-result .cmp-toolbar{flex-wrap:wrap}
#imageWorkspace.cmp.has-result .form-panel>#generateBtn{flex-basis:100%}

/* Phones: the same card. Tile beside the prompt; chips and pills scroll sideways on one line; Generate full width. */
@media (max-width:620px){
  #imageWorkspace.cmp .form-panel{padding:14px 14px 12px}
  #imageWorkspace.cmp .panel-heading{margin-bottom:12px}
  .cmp-tabs{display:flex;width:100%}
  .cmp-tab{flex:1 1 0;padding:5px 8px;font-size:12.5px}
  #imageWorkspace.cmp.uc-product .cmp-body,#imageWorkspace.cmp.cmp-photo .cmp-body{grid-template-columns:80px minmax(0,1fr);column-gap:12px}
  #imageWorkspace.cmp .reference-drop{width:80px;height:80px;padding:4px;border-radius:12px}
  .cmp-tile-plus{width:24px;height:24px;font-size:17px}
  .cmp-tile-label{font-size:11px}
  #imageWorkspace.cmp.uc-product .reference-preview-grid,#imageWorkspace.cmp .reference-preview-grid:has(>.reference-thumb:only-child){grid-template-columns:80px}
  #imageWorkspace.cmp.uc-product .reference-thumb,#imageWorkspace.cmp .reference-preview-grid>.reference-thumb:only-child{width:80px;height:80px;border-radius:12px}
  #imageWorkspace.cmp .reference-preview-grid{grid-template-columns:repeat(2,36px);gap:6px}
  #imageWorkspace.cmp .reference-thumb{width:36px;height:36px}
  #imageWorkspace.cmp .uc-sample .uc-link{font-size:11px}
  #imageWorkspace.cmp .prompt-wrap #prompt{height:104px;min-height:104px;font-size:16px;padding-top:4px}
  #imageWorkspace.cmp.cmp-text .prompt-wrap #prompt{height:96px}
  #imageWorkspace.cmp.uc-product .cmp-chips,#imageWorkspace.cmp.cmp-text .form-panel>.idea-row,#imageWorkspace.cmp .uc-scene-list{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;margin-left:-14px;margin-right:-14px;padding:2px 14px;scroll-padding:0 14px}
  #imageWorkspace.cmp .uc-scene-list{display:flex;max-width:calc(100% + 28px)}
  #imageWorkspace.cmp.uc-product .cmp-chips::-webkit-scrollbar,#imageWorkspace.cmp .idea-row::-webkit-scrollbar,#imageWorkspace.cmp .cmp-toolbar::-webkit-scrollbar,#imageWorkspace.cmp .uc-scene-list::-webkit-scrollbar{display:none}
  .cmp-chip,#imageWorkspace.cmp .idea,#imageWorkspace.cmp .uc-scene{flex:none;min-height:36px}
  #imageWorkspace.cmp .cmp-toolbar{flex:1 0 100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;margin:12px -14px 0;padding:12px 14px 2px;border-top:1px solid #222429}
  #imageWorkspace.cmp .visual-settings,#imageWorkspace.cmp .model-choice,#imageWorkspace.cmp .cmp-assist{flex:none}
  #imageWorkspace.cmp .sl-model-picker__trigger{max-width:200px}
  #imageWorkspace.cmp .form-panel>#generateBtn{flex:1 0 100%;width:100%;min-width:0;margin-top:12px;border-radius:12px;align-self:auto}
  /* On phones the size and quality settings open as a sheet above the bottom bar. */
  .cmp-popover{position:fixed;left:12px;right:12px;top:auto;bottom:calc(84px + env(safe-area-inset-bottom,0px));width:auto;max-height:min(70vh,560px);overflow:auto}
  #imageWorkspace.cmp .cmp-popover .generation-options{grid-template-columns:1fr 1fr}
  #imageWorkspace.cmp .cmp-popover .style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cmp-note{text-align:center;margin-top:10px}
  /* Less air between "Try a sample" and the chips. */
  #imageWorkspace.cmp .uc-sample{margin-top:2px}
  #imageWorkspace.cmp .uc-sample .uc-link{min-height:24px;padding:2px}
  #imageWorkspace.cmp.uc-product .cmp-chips,#imageWorkspace.cmp.cmp-text .form-panel>.idea-row{margin-top:6px}
  /* Rows that scroll sideways fade at the right edge until their end is reached (composer.js sets data-cmp-end). */
  #imageWorkspace.cmp [data-cmp-scroll]:not([data-cmp-end]){-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent)}
  #imageWorkspace.cmp.cmp-settings-open [data-cmp-scroll]{-webkit-mask-image:none;mask-image:none}
}

/* Hero kept short: the headline says it; the card does the rest. */
.hero .eyebrow.seller-eyebrow{display:none!important}
.hero .hero-proof span:last-child{display:none!important}
html.sl-signed-in .hero .hero-proof{display:none!important}
@media (max-width:620px){
  .hero #studioHeroSubtitle{display:none}
  .hero h1{font-size:26px;letter-spacing:-1px;margin:4px auto 0}
  .hero{padding-bottom:14px}
  /* Every scene choice visible at once: chips wrap instead of scrolling sideways. */
  #imageWorkspace.cmp.uc-product .cmp-chips{flex-wrap:wrap;overflow:visible;margin:10px 0 0;padding:0;gap:8px}
  #imageWorkspace.cmp.uc-product .cmp-chips .cmp-chip{min-height:36px;padding:0 13px;font-size:13.5px}
  #imageWorkspace.cmp.uc-product .cmp-chips[data-cmp-scroll]{-webkit-mask-image:none;mask-image:none}
  /* Toolbar wraps too; Voice becomes a mic icon so the model, size and voice fit on one line. */
  #imageWorkspace.cmp .cmp-toolbar{flex-wrap:wrap;overflow:visible;row-gap:8px}
  #imageWorkspace.cmp .cmp-toolbar[data-cmp-scroll]{-webkit-mask-image:none;mask-image:none}
  #imageWorkspace.cmp .sl-model-picker__trigger{max-width:200px}
  #imageWorkspace.cmp #promptVoice{gap:0;width:40px;min-width:40px;padding:0;justify-content:center}
  #imageWorkspace.cmp #promptVoice span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  #imageWorkspace.cmp #promptVoice svg{width:18px;height:18px}
}
