.composer-skill-tag-module__pXXKGG__tag{box-sizing:border-box;border:1px solid var(--ig-line);background:var(--ig-surface);width:max-content;height:34px;color:var(--ig-text);font:inherit;font-size:var(--font-control,13px);white-space:nowrap;border-radius:9px;flex:none;align-items:center;gap:9px;padding:4px 3px 4px 8px;font-weight:400;display:inline-flex}.composer-skill-tag-module__pXXKGG__preview{flex:0 0 40px;align-self:stretch;position:relative}.composer-skill-tag-module__pXXKGG__preview picture{display:contents}.composer-skill-tag-module__pXXKGG__preview img{object-fit:contain;object-position:center bottom;pointer-events:none;width:40px;height:40px;position:absolute;inset-block-end:-2px;inset-inline-start:0}.composer-skill-tag-module__pXXKGG__tag button{width:26px;height:26px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;margin-inline-start:-5px;padding:0;display:grid}.composer-skill-tag-module__pXXKGG__tag button svg{width:14px;height:14px}.composer-skill-tag-module__pXXKGG__tag button:hover:not(:disabled){background:var(--ig-control-hover)}.composer-skill-tag-module__pXXKGG__tag button:focus-visible{outline:2px solid var(--ig-focus-ring,var(--ig-text));outline-offset:2px}[data-creative-composer] .composer-skill-tag-module__pXXKGG__prompt.composer-skill-tag-module__pXXKGG__prompt.composer-skill-tag-module__pXXKGG__prompt{--workflow-text-offset:6.5px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;display:grid}.composer-skill-tag-module__pXXKGG__prompt>textarea[data-composer-input]{--composer-expanded-text-height:calc(102px - var(--workflow-text-offset));grid-area:1/2;margin-block-start:var(--workflow-text-offset)}@media (max-width:760px){.composer-skill-tag-module__pXXKGG__tag{height:44px}.composer-skill-tag-module__pXXKGG__tag button{width:38px;height:42px}[data-creative-composer] .composer-skill-tag-module__pXXKGG__prompt.composer-skill-tag-module__pXXKGG__prompt.composer-skill-tag-module__pXXKGG__prompt{--workflow-text-offset:0px;grid-template-columns:minmax(0,1fr)}.composer-skill-tag-module__pXXKGG__prompt>textarea[data-composer-input]{grid-area:auto}}
.route-selector-module__MJyqNW__selector{min-width:0;color:var(--ig-muted);font-size:var(--font-small,12px);gap:7px;font-weight:750;display:grid}.route-selector-module__MJyqNW__selector>span{align-items:center;gap:6px;display:flex}.route-selector-module__MJyqNW__selector>span:before{display:none}.route-selector-module__MJyqNW__selector select{border:1px solid var(--ig-line);border-radius:var(--tool-control-radius);width:100%;min-height:40px;color:var(--ig-text);background:var(--ig-surface);font-size:var(--font-control,13px);outline:0;padding:0 32px 0 10px}.route-selector-module__MJyqNW__selector select:focus{border-color:var(--ig-focus-ring);box-shadow:0 0 0 3px color-mix(in srgb,var(--ig-focus-ring) 12%,transparent)}.route-selector-module__MJyqNW__single>div{border:1px solid var(--ig-line);border-radius:var(--tool-control-radius);background:var(--ig-surface);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:40px;padding:0 10px;display:grid}.route-selector-module__MJyqNW__single i{display:none}.route-selector-module__MJyqNW__single b{text-overflow:ellipsis;white-space:nowrap;color:var(--ig-text);font-size:var(--font-small,12px);overflow:hidden}.route-selector-module__MJyqNW__single small{color:var(--ig-muted);font-size:var(--font-caption,11px)}.route-selector-module__MJyqNW__empty{border:1px dashed var(--ig-line);border-radius:var(--tool-control-radius);background:var(--ig-panel);padding:10px}.route-selector-module__MJyqNW__empty small{color:var(--ig-danger);font-size:var(--font-caption,11px);line-height:1.45}.route-selector-module__MJyqNW__compact{gap:4px}.route-selector-module__MJyqNW__compact>span{font-size:var(--font-caption,11px)}.route-selector-module__MJyqNW__compact select,.route-selector-module__MJyqNW__compact.route-selector-module__MJyqNW__single>div{min-height:36px}.route-selector-module__MJyqNW__billingHint{color:var(--ig-muted);font-size:var(--font-caption,11px);font-style:normal;font-weight:500;line-height:1.35}.route-selector-module__MJyqNW__menuSelector{z-index:7;color:var(--ig-text,#1d1d1f);font-weight:500;display:block;position:relative}.route-selector-module__MJyqNW__menuSelector>summary{box-sizing:border-box;border-radius:var(--tool-control-radius);width:100%;height:36px;color:inherit;background:color-mix(in srgb,var(--ig-text) 4.5%,transparent);cursor:pointer;border:0;align-items:center;gap:8px;padding:0 9px;list-style:none;transition:background .16s;display:flex}.route-selector-module__MJyqNW__menuSelector>summary::-webkit-details-marker{display:none}.route-selector-module__MJyqNW__menuSelector>summary:hover,.route-selector-module__MJyqNW__menuSelector[open]>summary{background:color-mix(in srgb,var(--ig-text) 7.5%,transparent)}.route-selector-module__MJyqNW__menuSelector>summary b{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:500;overflow:hidden}.route-selector-module__MJyqNW__menuSelector>summary svg{width:14px;height:14px;color:var(--ig-muted,#86868b);stroke-width:1.8px;flex:0 0 14px}.route-selector-module__MJyqNW__menuSelector>summary svg:last-child{margin-left:auto;transition:transform .16s}.route-selector-module__MJyqNW__menuSelector[open]>summary svg:last-child{transform:rotate(180deg)}.route-selector-module__MJyqNW__routeMenu{box-sizing:border-box;border:1px solid var(--ig-line,#00000014);border-radius:var(--tool-popup-radius);background:var(--ig-menu-bg);width:max(100%,190px);box-shadow:var(--tool-popup-shadow);color:var(--ig-menu-text);gap:2px;padding:5px;display:grid;position:absolute;bottom:44px;left:0}.route-selector-module__MJyqNW__routeMenu button{border-radius:var(--tool-option-radius);width:100%;min-height:36px;color:var(--ig-text,#1d1d1f);font-size:var(--font-control);text-align:left;cursor:pointer;font-weight:var(--tool-control-weight);background:0 0;border:0;align-items:center;gap:10px;padding:0 10px;display:flex}.route-selector-module__MJyqNW__routeMenu button:hover{background:var(--ig-control-hover);color:var(--ig-control-hover-text)}.route-selector-module__MJyqNW__routeMenu button[aria-pressed=true]{background:var(--ig-primary-action);color:var(--ig-primary-action-text)}.route-selector-module__MJyqNW__routeMenu button span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.route-selector-module__MJyqNW__routeMenu button svg{width:15px;height:15px;color:inherit;stroke-width:1.8px;flex:0 0 15px}.route-selector-module__MJyqNW__routeMenu button svg:last-child{color:inherit;stroke-width:2px;margin-left:auto}@media (max-width:760px){.route-selector-module__MJyqNW__menuSelector>summary,.route-selector-module__MJyqNW__compact select,.route-selector-module__MJyqNW__compact.route-selector-module__MJyqNW__single>div{height:auto;min-height:44px}.route-selector-module__MJyqNW__selector select{font-size:16px}.route-selector-module__MJyqNW__routeMenu{overscroll-behavior:contain;max-width:calc(100vw - 40px);max-height:50dvh;overflow-y:auto}.route-selector-module__MJyqNW__routeMenu button{min-height:44px}}
.image-media-actions-module__2DIzNq__actions{box-sizing:border-box;z-index:3;color:#fff;opacity:0;background:#222;border-radius:8px;align-items:center;gap:0;height:30px;padding:3px;transition:opacity .15s,transform .15s;display:flex;position:absolute;bottom:8px;right:8px;transform:translateY(4px)}.image-media-actions-module__2DIzNq__actions[data-image-media-actions=top]{top:8px;bottom:auto}:is([data-image-media]:hover>.image-media-actions-module__2DIzNq__actions,[data-image-media]:focus-within>.image-media-actions-module__2DIzNq__actions),.image-media-actions-module__2DIzNq__actions[data-always-visible]{opacity:1;transform:none}.image-media-actions-module__2DIzNq__actions :is(button,a){box-sizing:border-box;color:#fff;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;gap:5px;width:24px;height:24px;min-height:24px;padding:0;font-size:11px;font-weight:500;text-decoration:none;display:inline-flex}.image-media-actions-module__2DIzNq__actions :is(button,a):hover{background:0 0}.image-media-actions-module__2DIzNq__actions :is(button,a):focus-visible{outline:0;box-shadow:0 0 0 2px #ffffffb8}.image-media-actions-module__2DIzNq__actions svg{fill:none;stroke:currentColor;stroke-width:1.8px;width:14px;height:14px}@media (hover:none){.image-media-actions-module__2DIzNq__actions{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.image-media-actions-module__2DIzNq__actions{transition:none}}
.image-batch-gallery-module__9GE5va__gallery{width:min(100%,calc(var(--result-image-width,330px) + var(--gallery-thumbnail-space,0px)));--gallery-overlay-height:30px;--gallery-overlay-inset:8px;flex-direction:column;gap:9px;min-width:0;display:flex}.image-batch-gallery-module__9GE5va__row{width:min(100%,604px)!important;max-width:100%!important}.image-batch-gallery-module__9GE5va__row.image-batch-gallery-module__9GE5va__row>.image-batch-gallery-module__9GE5va__content{flex:1;width:100%;min-width:0}.image-batch-gallery-module__9GE5va__content.image-batch-gallery-module__9GE5va__content>.image-batch-gallery-module__9GE5va__resultFooter{width:min(100%,var(--result-image-width,330px));flex-wrap:wrap}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__media .image-batch-gallery-module__9GE5va__primaryActions{top:8px;bottom:auto}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__media .image-batch-gallery-module__9GE5va__primaryActions,.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__media .image-batch-gallery-module__9GE5va__regenerateActions,.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__failurePlaceholder .image-batch-gallery-module__9GE5va__regenerateActions{box-sizing:border-box;height:var(--gallery-overlay-height);padding:3px}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__media .image-batch-gallery-module__9GE5va__regenerateActions,.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__failurePlaceholder .image-batch-gallery-module__9GE5va__regenerateActions{top:auto;bottom:var(--gallery-overlay-inset)}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__media .image-batch-gallery-module__9GE5va__primaryActions button,.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__media .image-batch-gallery-module__9GE5va__regenerateActions button,.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__failurePlaceholder .image-batch-gallery-module__9GE5va__regenerateActions button{white-space:nowrap;width:auto;height:100%;min-height:0;padding-inline:6px;font-size:11px}.image-batch-gallery-module__9GE5va__failurePlaceholder{width:100%;height:var(--gallery-image-height,300px);box-sizing:border-box;background:#1b1c1f;border-radius:12px;justify-content:center;align-items:center;min-width:0;padding:16px 16px 54px;display:flex;position:relative}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__failurePlaceholder>[role=alert]{width:100%;max-width:100%;max-height:100%;box-shadow:none;background:0 0;padding:0;overflow:auto}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__failurePlaceholder .image-batch-gallery-module__9GE5va__regenerateActions{opacity:1;transform:none}.image-batch-gallery-module__9GE5va__continuousGrid{min-width:0;padding:0 30px 24px}.image-batch-gallery-module__9GE5va__dateSlot{box-sizing:border-box;height:42px;margin:0;padding:8px 0;font-size:18px;font-weight:600;line-height:26px}.image-batch-gallery-module__9GE5va__resultMetadata{color:var(--ig-muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 14px;margin-left:auto;font-size:12px;line-height:20px;display:flex}.image-batch-gallery-module__9GE5va__resultMetadata>span{justify-content:center;align-items:center;gap:4px;padding-inline:0;display:inline-flex;position:relative}.image-batch-gallery-module__9GE5va__resultMetadata>span:first-child{padding-left:0}.image-batch-gallery-module__9GE5va__resultMetadata>span:last-child{padding-right:0}.image-batch-gallery-module__9GE5va__resultMetadata>span+span:before{content:"";border-left:1px solid color-mix(in srgb,var(--ig-muted) 62%,transparent);height:10px;position:absolute;top:5px;left:-7px}.image-batch-gallery-module__9GE5va__resultMetadata>span[data-line-start]:before{content:none}.image-batch-gallery-module__9GE5va__imageTime{z-index:3;left:var(--gallery-overlay-inset);bottom:var(--gallery-overlay-inset);box-sizing:border-box;height:var(--gallery-overlay-height);color:#fff;pointer-events:none;opacity:0;background:#141414bf;border-radius:8px;align-items:center;max-width:calc(100% - 106px);padding:0 6px;transition:opacity .15s;display:flex;position:absolute}.image-batch-gallery-module__9GE5va__imageTime time{color:inherit;white-space:nowrap;text-overflow:ellipsis;opacity:1;font-size:11px;line-height:18px;overflow:hidden}.image-batch-gallery-module__9GE5va__metadataOverlay{z-index:3;right:var(--gallery-overlay-inset);bottom:var(--gallery-overlay-inset);color:#fff;pointer-events:none;opacity:1;background:#141414bf;border-radius:8px;max-width:calc(100% - 16px);padding:4px 6px;transition:opacity .15s;position:absolute}.image-batch-gallery-module__9GE5va__metadataOverlay .image-batch-gallery-module__9GE5va__resultMetadata{color:inherit;font-size:11px;line-height:20px}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__media:hover .image-batch-gallery-module__9GE5va__metadataOverlay{opacity:0}:is(.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__media:not(:hover):not(:has(:focus-visible)) .image-batch-gallery-module__9GE5va__primaryActions,.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__media:not(:hover):not(:has(:focus-visible)) .image-batch-gallery-module__9GE5va__regenerateActions){opacity:0;pointer-events:none;transform:translateY(4px)}@media (prefers-reduced-motion:reduce){.image-batch-gallery-module__9GE5va__metadataOverlay{transition:none}}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__media:hover .image-batch-gallery-module__9GE5va__imageTime,.image-batch-gallery-module__9GE5va__failurePlaceholder .image-batch-gallery-module__9GE5va__imageTime{opacity:1}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__media:has(:focus-visible) .image-batch-gallery-module__9GE5va__imageTime{opacity:1}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__main{width:100%!important;margin:0!important;padding:0!important;display:block!important}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__main>article{width:min(100%,var(--result-image-width,330px))!important;grid-column:auto!important;max-width:100%!important}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__main>article img{object-fit:contain!important}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__media{background:0 0;max-width:100%;max-height:560px}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__counter{color:var(--ig-muted);font-size:12px}.image-batch-gallery-module__9GE5va__previewRail{box-sizing:border-box;color:#fff;z-index:4;background:#111214;border-radius:12px;flex-direction:column;gap:18px;width:320px;padding:16px;display:flex;position:absolute;top:0;bottom:0;left:calc(100% + 24px)}.image-batch-gallery-module__9GE5va__previewRail>[role=group]{box-sizing:border-box;flex:none;width:100%}.image-batch-gallery-module__9GE5va__previewPrompt{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#555 transparent;flex:1;min-height:0;overflow:auto}.image-batch-gallery-module__9GE5va__previewPrompt h3{color:var(--ig-muted);margin:0 0 10px;font-size:13px;font-weight:400;line-height:20px}.image-batch-gallery-module__9GE5va__previewReferences{margin-bottom:16px}.image-batch-gallery-module__9GE5va__previewReferences>div{flex-wrap:wrap;gap:6px;display:flex}.image-batch-gallery-module__9GE5va__previewReferences>div>button{cursor:pointer;background:#1b1c1f;border:0;border-radius:5px;flex:0 0 48px;width:48px;height:48px;padding:0;position:relative}.image-batch-gallery-module__9GE5va__previewReferences>div>button img{object-fit:cover;border-radius:5px}.image-batch-gallery-module__9GE5va__previewPrompt p{white-space:pre-wrap;overflow-wrap:anywhere;color:#fff;margin:0;font-size:14px;line-height:1.75}.image-batch-gallery-module__9GE5va__previewPrompt:focus-visible{outline:2px solid var(--ig-focus-ring,#aaa);outline-offset:4px}.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewFrame .image-batch-gallery-module__9GE5va__viewport{inset:0 0 var(--preview-rail-height) 0;background:0 0;position:absolute}.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewFrame[role=dialog]{--preview-rail-width:0px;--preview-rail-height:0px;width:min(calc(94vw - 2 * var(--preview-rail-width)),calc((92vh - var(--preview-rail-height)) * var(--preview-image-ratio)),var(--preview-natural-width,100000px));height:min(92vh,calc((94vw - 2 * var(--preview-rail-width)) / var(--preview-image-ratio) + var(--preview-rail-height)),calc(var(--preview-natural-height,100000px) + var(--preview-rail-height)));background:0 0;border:0;display:block;position:relative;overflow:visible}.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewFrame.image-batch-gallery-module__9GE5va__dialog{--preview-rail-width:344px}.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewFrame[role=dialog]>header,.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewFrame[role=dialog]>footer{z-index:5;border:0;min-height:0;padding:0;position:absolute;right:10px}.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewFrame>header{top:10px}.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewFrame>header>div,.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewFrame>footer>button{display:none}.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewFrame>footer{bottom:calc(var(--preview-rail-height) + 10px)}.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewFrame>header>button{color:#fff;background:#141414bf;border:0;border-radius:50%;place-items:center;padding:0;line-height:0;display:grid}.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewFrame>header>button svg{flex:none;width:18px;height:18px;display:block}.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewFrame>footer>a{color:#fff;background:#141414bf;border:0}.image-batch-gallery-module__9GE5va__gallery:has(>[role=group]){--gallery-thumbnail-space:80px;grid-template-columns:minmax(0,1fr) 72px;align-items:start;gap:8px;display:grid}.image-batch-gallery-module__9GE5va__gallery>[role=group]{max-height:var(--gallery-image-height,560px);flex-direction:column;grid-area:1/2;padding:0}.image-batch-gallery-module__9GE5va__gallery>[role=group] button{flex-basis:72px;width:72px;height:72px}.image-batch-gallery-module__9GE5va__gallery:has(>[role=group]) .image-batch-gallery-module__9GE5va__main{grid-area:1/1}.image-batch-gallery-module__9GE5va__previewRoot{pointer-events:none;z-index:1000!important;background:0 0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;display:block!important;position:fixed!important;inset:0!important}.image-batch-gallery-module__9GE5va__previewRoot>div{pointer-events:auto}.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewBackdrop{-webkit-backdrop-filter:none;backdrop-filter:none;isolation:isolate;background:0 0}.image-batch-gallery-module__9GE5va__previewShade{z-index:-1;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);pointer-events:none;background:#000000d9;position:absolute;inset:0}.image-batch-gallery-module__9GE5va__previewBackdrop[data-preview-phase=enter],.image-batch-gallery-module__9GE5va__previewBackdrop[data-preview-phase=exit]{will-change:opacity}.image-batch-gallery-module__9GE5va__previewBackdrop[data-preview-phase=exit] .image-batch-gallery-module__9GE5va__previewFrame{pointer-events:none}.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__viewport img{border-radius:12px;max-width:100%;max-height:100%;margin:auto;width:auto!important;height:auto!important}.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__viewport img[data-preview-static]{width:100%!important;height:100%!important}.image-batch-gallery-module__9GE5va__viewToolbar{z-index:18;pointer-events:none;justify-content:center;align-items:center;min-height:40px;padding:8px 110px 12px;display:flex;position:sticky;top:0}.image-batch-gallery-module__9GE5va__viewToolbar>.image-batch-gallery-module__9GE5va__toolbarAssets.image-batch-gallery-module__9GE5va__toolbarAssets{height:auto;padding:0;position:absolute;top:calc(50% - 2px);right:16px;transform:translateY(-50%)}.image-batch-gallery-module__9GE5va__viewToggle{pointer-events:auto;background:#1b1c1f;border:1px solid #303136;border-radius:9px;gap:3px;padding:3px;display:flex}.image-batch-gallery-module__9GE5va__viewToggle button{color:#aaa;min-height:30px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:0 18px;font-size:13px;display:flex}.image-batch-gallery-module__9GE5va__viewToggle button svg{width:15px;height:15px}.image-batch-gallery-module__9GE5va__viewToggle button:hover{color:#fff;background:#303135}.image-batch-gallery-module__9GE5va__viewToggle button[aria-pressed=true]{color:#fff;background:#414247}.image-batch-gallery-module__9GE5va__viewToggle button:focus-visible,.image-batch-gallery-module__9GE5va__galleryPrompt:focus-visible{outline-offset:3px;outline:2px solid #b800ff}.image-batch-gallery-module__9GE5va__gridStage .image-batch-gallery-module__9GE5va__day{box-sizing:border-box;width:100%;padding:0 30px 24px}.image-batch-gallery-module__9GE5va__gridStage .image-batch-gallery-module__9GE5va__day>h2{width:100%;height:auto;margin:0;padding:8px 0 16px;font-size:18px;line-height:26px}.image-batch-gallery-module__9GE5va__gridStage .image-batch-gallery-module__9GE5va__continuousGrid .image-batch-gallery-module__9GE5va__batch{flex-direction:column;gap:8px;width:100%;padding:0;display:flex}.image-batch-gallery-module__9GE5va__gridStage{overflow-anchor:none}.image-batch-gallery-module__9GE5va__batch .image-batch-gallery-module__9GE5va__row{order:0;max-width:100%;width:100%!important}.image-batch-gallery-module__9GE5va__batch .image-batch-gallery-module__9GE5va__row>.image-batch-gallery-module__9GE5va__content{flex:1;width:100%;min-width:0}.image-batch-gallery-module__9GE5va__batch .image-batch-gallery-module__9GE5va__gallery{width:100%}.image-batch-gallery-module__9GE5va__batch .image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__main>article{background:0 0!important;width:100%!important;max-width:none!important}.image-batch-gallery-module__9GE5va__batch .image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__media{height:var(--gallery-image-height);background:0 0;max-height:none;aspect-ratio:auto!important;width:100%!important}.image-batch-gallery-module__9GE5va__batch .image-batch-gallery-module__9GE5va__content:has(>.image-batch-gallery-module__9GE5va__promptHeader) .image-batch-gallery-module__9GE5va__main>article{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.image-batch-gallery-module__9GE5va__batch .image-batch-gallery-module__9GE5va__content:has(>.image-batch-gallery-module__9GE5va__promptHeader) .image-batch-gallery-module__9GE5va__media{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.image-batch-gallery-module__9GE5va__batch .image-batch-gallery-module__9GE5va__content:has(>.image-batch-gallery-module__9GE5va__promptHeader) .image-batch-gallery-module__9GE5va__media img{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.image-batch-gallery-module__9GE5va__batch .image-batch-gallery-module__9GE5va__content:has(>.image-batch-gallery-module__9GE5va__promptHeader) .image-batch-gallery-module__9GE5va__failurePlaceholder{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.image-batch-gallery-module__9GE5va__batch .image-batch-gallery-module__9GE5va__content>.image-batch-gallery-module__9GE5va__resultFooter{flex-wrap:wrap;width:100%;min-height:28px}.image-batch-gallery-module__9GE5va__batch .image-batch-gallery-module__9GE5va__pendingGallery>div{box-sizing:border-box;width:100%;height:var(--gallery-image-height,300px);border-radius:12px 12px 0 0;min-height:0;aspect-ratio:auto!important}.image-batch-gallery-module__9GE5va__batch .image-batch-gallery-module__9GE5va__content:has(.image-batch-gallery-module__9GE5va__gallery>[role=group]) .image-batch-gallery-module__9GE5va__resultFooter{width:calc(100% - 80px)}.image-batch-gallery-module__9GE5va__batch .image-batch-gallery-module__9GE5va__resultFooter small{overflow-wrap:anywhere}.image-batch-gallery-module__9GE5va__galleryPrompt{box-sizing:border-box;width:100%;min-width:0;color:var(--ig-muted);font:inherit;text-align:left;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;-webkit-user-select:text;user-select:text;background:0 0;border:0;border-radius:3px;order:-1;margin:0;padding:0;font-size:12px;font-weight:400;line-height:24px;display:block;overflow:hidden}.image-batch-gallery-module__9GE5va__galleryPrompt:hover{color:var(--ig-text)}.image-batch-gallery-module__9GE5va__galleryPrompt[aria-expanded=true]{white-space:pre-wrap;overflow-wrap:anywhere}.image-batch-gallery-module__9GE5va__promptHeader{box-sizing:border-box;width:100%;min-width:0;color:var(--ig-text,#fff);background:#303332;border-radius:0 0 8px 8px;padding:8px 10px;display:flow-root}.image-batch-gallery-module__9GE5va__promptHeader .image-batch-gallery-module__9GE5va__galleryPrompt{width:auto;min-width:0;color:inherit;order:0}.image-batch-gallery-module__9GE5va__promptHeader .image-batch-gallery-module__9GE5va__galleryPrompt[aria-expanded=true]{display:inline;overflow:visible}.image-batch-gallery-module__9GE5va__inlineReferences{float:left;max-width:45%;margin-right:8px}.image-batch-gallery-module__9GE5va__inlineReferences>div{flex-wrap:wrap;gap:4px!important;height:auto!important;padding:0!important}.image-batch-gallery-module__9GE5va__inlineReferences>div>button{border-radius:4px;flex:0 0 24px!important;width:24px!important;height:24px!important}.image-batch-gallery-module__9GE5va__inlineReferences>div>button img{border-radius:4px!important}.image-batch-gallery-module__9GE5va__batch .image-batch-gallery-module__9GE5va__content:has(.image-batch-gallery-module__9GE5va__gallery>[role=group]) .image-batch-gallery-module__9GE5va__promptHeader{width:calc(100% - 80px)}@media (max-width:760px){.image-batch-gallery-module__9GE5va__gridStage .image-batch-gallery-module__9GE5va__day,.image-batch-gallery-module__9GE5va__continuousGrid{padding-inline:16px}.image-batch-gallery-module__9GE5va__viewToolbar{padding-inline:75px}.image-batch-gallery-module__9GE5va__viewToggle button{padding-inline:10px}.image-batch-gallery-module__9GE5va__gallery .image-batch-gallery-module__9GE5va__media{max-height:440px}}@media (max-width:1100px){.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewFrame.image-batch-gallery-module__9GE5va__dialog{--preview-rail-width:0px;--preview-rail-height:min(40dvh,300px)}.image-batch-gallery-module__9GE5va__previewRoot .image-batch-gallery-module__9GE5va__previewFrame[role=dialog]{width:min(calc(100vw - 24px),calc((92dvh - var(--preview-rail-height)) * var(--preview-image-ratio)),var(--preview-natural-width,100000px));height:min(92dvh,calc((100vw - 24px) / var(--preview-image-ratio) + var(--preview-rail-height)),calc(var(--preview-natural-height,100000px) + var(--preview-rail-height)))}.image-batch-gallery-module__9GE5va__previewRail{width:auto;height:calc(var(--preview-rail-height) - 12px);gap:10px;padding:12px;inset:auto 0 0}.image-batch-gallery-module__9GE5va__previewRail>[role=group]{max-height:66px}.image-batch-gallery-module__9GE5va__previewPrompt p{font-size:13px;line-height:1.65}}
.home-image-tools-module__rYJ4oW__entry.home-image-tools-module__rYJ4oW__entry{grid-template-columns:minmax(0,1fr);gap:0;width:min(100%,147px);min-width:0;height:auto;padding:0 8px 9px;display:grid}.home-image-tools-module__rYJ4oW__preview{aspect-ratio:76/55;color:#d5cddd;text-shadow:0 1px 4px #000,0 0 5px #000;background:#24212b url(/home-preview/upscale-before.webp) 50%/100% 100% no-repeat;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));margin-inline:-8px;font-size:11px;display:grid}.home-image-tools-module__rYJ4oW__preview span{place-items:end start;padding:8px;display:grid}.home-image-tools-module__rYJ4oW__preview span+span{background:url(/home-preview/upscale-after.webp) 100%/200% 100% no-repeat;border-inline-start:1px solid #62596c}.home-image-tools-module__rYJ4oW__label{text-align:left;gap:4px;padding-top:9px;display:grid}.home-image-tools-module__rYJ4oW__entry .home-image-tools-module__rYJ4oW__label strong{align-items:center;gap:6px;font-size:14px;line-height:18px;display:flex}.home-image-tools-module__rYJ4oW__entry .home-image-tools-module__rYJ4oW__label small{color:#c8c1ce;padding-left:24px;font-size:12px;line-height:16px}.home-image-tools-module__rYJ4oW__entry .home-image-tools-module__rYJ4oW__toolIcon{width:18px;height:18px;color:var(--brand-soft);flex-shrink:0}.home-image-tools-module__rYJ4oW__settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;display:grid}.home-image-tools-module__rYJ4oW__sources,.home-image-tools-module__rYJ4oW__controls{align-content:start;gap:14px;min-width:0;display:grid}.home-image-tools-module__rYJ4oW__uploadArea{border:1px dashed var(--ig-line);background:var(--ig-surface);min-height:228px;color:var(--ig-text);font:inherit;cursor:pointer;border-radius:16px;align-content:center;justify-items:center;gap:10px;padding:24px;display:grid}.home-image-tools-module__rYJ4oW__uploadArea:hover{border-color:var(--ig-focus-ring)}.home-image-tools-module__rYJ4oW__uploadArea:focus-visible{outline:2px solid var(--ig-focus-ring);outline-offset:3px}.home-image-tools-module__rYJ4oW__settings small{color:var(--ig-muted)}.home-image-tools-module__rYJ4oW__queue{gap:8px;margin:0;padding:0;list-style:none;display:grid}.home-image-tools-module__rYJ4oW__queue li,.home-image-tools-module__rYJ4oW__scale{align-items:center;gap:8px;display:flex}.home-image-tools-module__rYJ4oW__queue li button:first-child{overflow-wrap:anywhere;flex:1;min-width:0}.home-image-tools-module__rYJ4oW__scale>span{margin-inline-end:auto}.home-image-tools-module__rYJ4oW__typeChoices{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.home-image-tools-module__rYJ4oW__typeChoices button{border-radius:12px;grid-template-columns:minmax(0,1fr);gap:0;padding:0 0 9px;display:grid;overflow:hidden}.home-image-tools-module__rYJ4oW__typeChoices button[aria-pressed=true]{outline:2px solid var(--ig-focus-ring);outline-offset:-2px}.home-image-tools-module__rYJ4oW__typeChoices button span{aspect-ratio:1.9;background-position:50%;background-size:cover;width:100%;margin-bottom:8px;display:block}@media (max-width:640px){.home-image-tools-module__rYJ4oW__settings{grid-template-columns:1fr;gap:20px}.home-image-tools-module__rYJ4oW__uploadArea{min-height:126px}}.home-image-tools-module__rYJ4oW__dialog.home-image-tools-module__rYJ4oW__dialog{color:#f4f5f6;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);--ig-line:#4c4e53;--ig-surface:#2d2f33;--ig-text:#f4f5f6;--ig-muted:#b4b6bd;background:#1f2124f0;border-color:#45474b;border-radius:20px}.home-image-tools-module__rYJ4oW__settings .home-image-tools-module__rYJ4oW__scale{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.home-image-tools-module__rYJ4oW__scale>span{grid-column:1/-1;margin:0;font-weight:600}.home-image-tools-module__rYJ4oW__scale button{border-radius:10px;min-height:42px}.home-image-tools-module__rYJ4oW__controls .home-image-tools-module__rYJ4oW__typeChoices button[aria-pressed=true]{color:#fff;background:#3b304a}.home-image-tools-module__rYJ4oW__thumbnail{object-fit:cover;border-radius:5px;flex-shrink:0;width:46px;height:46px}.home-image-tools-module__rYJ4oW__queue li>button:first-of-type{text-align:left;overflow-wrap:anywhere;flex:1;justify-content:start;min-width:0;display:grid}.home-image-tools-module__rYJ4oW__face,.home-image-tools-module__rYJ4oW__controlHeading{align-items:center;gap:6px;font-size:13px;display:flex}.home-image-tools-module__rYJ4oW__face label{align-items:center;gap:8px;display:inline-flex}.home-image-tools-module__rYJ4oW__face input{width:14px;height:14px;accent-color:var(--ig-primary-action);margin:0}.home-image-tools-module__rYJ4oW__infoHint{width:24px;height:24px;color:var(--ig-muted);cursor:help;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;padding:0;display:inline-flex}.home-image-tools-module__rYJ4oW__infoHint:hover{color:var(--ig-text)}.home-image-tools-module__rYJ4oW__infoHint:focus-visible{outline:2px solid var(--ig-focus-ring);outline-offset:2px}.home-image-tools-module__rYJ4oW__sources{flex-direction:column;align-self:stretch;display:flex}.home-image-tools-module__rYJ4oW__sources .home-image-tools-module__rYJ4oW__uploadArea{flex:1}.home-image-tools-module__rYJ4oW__uploadFrame{border:1px dashed var(--ig-line);background:var(--ig-surface);border-radius:16px;flex-direction:column;flex:1;min-width:0;min-height:228px;display:flex;overflow:hidden}.home-image-tools-module__rYJ4oW__uploadFrame>.home-image-tools-module__rYJ4oW__uploadArea{border:0;border-radius:0;width:100%}.home-image-tools-module__rYJ4oW__uploadGallery{box-sizing:border-box;width:100%;max-height:620px;padding:14px;overflow:auto}.home-image-tools-module__rYJ4oW__singleUpload{justify-content:center}.home-image-tools-module__rYJ4oW__continueUpload{text-align:center;flex-shrink:0;align-self:center;justify-items:center;gap:10px;margin:0 14px 14px;display:grid}.home-image-tools-module__rYJ4oW__uploadTile{min-width:0;position:relative}.home-image-tools-module__rYJ4oW__uploadImage{width:100%;height:var(--gallery-image-height,130px);cursor:pointer;background:0 0;border:0;border-radius:5px;padding:0;display:block;overflow:hidden}.home-image-tools-module__rYJ4oW__uploadImage img{object-fit:contain;width:100%;height:100%;display:block}.home-image-tools-module__rYJ4oW__uploadImage[aria-pressed=true]{outline:2px solid var(--ig-focus-ring);outline-offset:-2px}.home-image-tools-module__rYJ4oW__uploadImage:focus-visible{outline:2px solid var(--ig-focus-ring);outline-offset:2px}.home-image-tools-module__rYJ4oW__removeUpload{color:#fff;cursor:pointer;background:#141414bf;border:0;border-radius:50%;place-items:center;width:24px;height:24px;padding:0;display:grid;position:absolute;top:4px;right:4px}.home-image-tools-module__rYJ4oW__removeUpload:focus-visible{outline-offset:2px;outline:2px solid #fff}.home-image-tools-module__rYJ4oW__resultActions{flex-shrink:0;gap:8px;display:flex}.home-image-tools-module__rYJ4oW__resultActions:has(button[data-upscale-cancel]){justify-self:end}.home-image-tools-module__rYJ4oW__resultSection{min-width:0;margin-top:28px}.home-image-tools-module__rYJ4oW__resultSection h3{margin:0 0 16px;font-size:15px;font-weight:600}.home-image-tools-module__rYJ4oW__resultCard{gap:10px;min-width:0;display:grid}.home-image-tools-module__rYJ4oW__resultMedia{min-width:0;position:relative}.home-image-tools-module__rYJ4oW__resultMedia[data-selected] .home-image-tools-module__rYJ4oW__resultImage{outline:2px solid var(--ig-focus-ring);outline-offset:2px}.home-image-tools-module__rYJ4oW__downloadCheckbox{width:20px;height:20px;accent-color:var(--ig-primary-action);cursor:pointer;margin:0;position:absolute;top:10px;left:10px}.home-image-tools-module__rYJ4oW__downloadCheckbox:focus-visible{outline:2px solid var(--ig-focus-ring);outline-offset:3px}.home-image-tools-module__rYJ4oW__resultBadge{box-sizing:border-box;color:#fff;pointer-events:none;background:#141414bf;border-radius:8px;justify-content:center;align-items:center;gap:5px;height:30px;padding:3px 6px;font-size:11px;line-height:20px;display:inline-flex;position:absolute;bottom:8px;left:8px}.home-image-tools-module__rYJ4oW__resultBadge svg{width:14px;height:14px}.home-image-tools-module__rYJ4oW__resultImage{width:100%;height:var(--gallery-image-height,300px);background:var(--ig-surface,#24242b);cursor:zoom-in;border:0;border-radius:5px;padding:0;display:block;position:relative;overflow:hidden}.home-image-tools-module__rYJ4oW__resultImage:disabled{cursor:default}.home-image-tools-module__rYJ4oW__resultImage:focus-visible{outline:2px solid var(--ig-focus-ring);outline-offset:3px}.home-image-tools-module__rYJ4oW__resultImage img{object-fit:contain;width:100%;height:100%;display:block}.home-image-tools-module__rYJ4oW__resultStatus{color:#fff;background:#0009;justify-content:center;align-items:center;gap:8px;padding:12px;font-size:13px;display:flex;position:absolute;inset:0}.home-image-tools-module__rYJ4oW__workspace .home-image-tools-module__rYJ4oW__resultMetadata{color:#fff;justify-self:end}.home-image-tools-module__rYJ4oW__workspace .home-image-tools-module__rYJ4oW__resultMetadata>span+span:before{border-color:#fff}.home-image-tools-module__rYJ4oW__workspace{box-sizing:border-box;min-height:100dvh;color:var(--ig-text);background:#09090b;margin-left:268px;padding-bottom:100px}.home-image-tools-module__rYJ4oW__workspace .home-image-tools-module__rYJ4oW__resultSection{margin:0;padding:16px 30px 30px}.home-image-tools-module__rYJ4oW__workspace h1{margin:0 0 22px;font-size:18px;font-weight:600}.home-image-tools-module__rYJ4oW__workspaceFooter{z-index:5;background:linear-gradient(#0000,#09090b 40%);justify-content:center;align-items:center;gap:12px;padding:24px;display:flex;position:fixed;bottom:0;left:268px;right:0}.home-image-tools-module__rYJ4oW__workspaceFooter button{min-height:40px;padding-inline:20px}@media (max-width:760px){.home-image-tools-module__rYJ4oW__workspace{margin-left:0}.home-image-tools-module__rYJ4oW__workspaceFooter{left:0}.home-image-tools-module__rYJ4oW__workspace .home-image-tools-module__rYJ4oW__resultSection{padding-inline:16px}}@media (min-width:1921px){.home-image-tools-module__rYJ4oW__workspace{margin-left:calc(50vw - 572px)}.home-image-tools-module__rYJ4oW__workspaceFooter{left:calc(50vw - 572px)}}.home-image-tools-module__rYJ4oW__download{color:#e2ceff;align-self:center;font-size:13px;text-decoration:underline}.home-image-tools-module__rYJ4oW__download:hover{color:#d1ff52}.home-image-tools-module__rYJ4oW__download:focus-visible{outline:2px solid var(--ig-focus-ring);outline-offset:3px}.home-image-tools-module__rYJ4oW__error{font-size:13px;color:#ffc0b6!important}.home-image-tools-module__rYJ4oW__comparison{gap:12px;min-width:0;display:grid}.home-image-tools-module__rYJ4oW__compareToolbar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;font-size:12px;display:flex}.home-image-tools-module__rYJ4oW__compareViewport{-webkit-user-select:none;user-select:none;touch-action:none;cursor:grab;background:#17181b;border-radius:5px;height:min(60dvh,620px);min-height:220px;position:relative;overflow:hidden}.home-image-tools-module__rYJ4oW__compareViewport:active{cursor:grabbing}.home-image-tools-module__rYJ4oW__fittedImage{transform-origin:50%;pointer-events:none;will-change:transform;backface-visibility:hidden;position:absolute;top:50%;left:50%}.home-image-tools-module__rYJ4oW__fittedImage img{object-fit:fill;pointer-events:none;width:100%;max-width:none;height:100%;display:block}.home-image-tools-module__rYJ4oW__compareBefore{position:absolute;inset:0}.home-image-tools-module__rYJ4oW__compareDivider{pointer-events:none;background:#fff;width:2px;position:absolute;top:0;bottom:0}.home-image-tools-module__rYJ4oW__dividerHandle{color:#fff;cursor:ew-resize;pointer-events:auto;touch-action:none;background:#242529e6;border:1px solid #fff;border-radius:50%;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.home-image-tools-module__rYJ4oW__dividerHandle:focus-visible{outline:2px solid var(--ig-focus-ring);outline-offset:3px}.home-image-tools-module__rYJ4oW__beforeLabel,.home-image-tools-module__rYJ4oW__afterLabel{color:#fff;pointer-events:none;background:#161719b3;border-radius:5px;padding:5px 9px;font-size:12px;position:absolute;top:12px}.home-image-tools-module__rYJ4oW__beforeLabel{left:12px}.home-image-tools-module__rYJ4oW__comparisonFrame.home-image-tools-module__rYJ4oW__comparisonFrame{box-shadow:none;background:0 0;border:0;margin-right:344px;width:min(calc(94vw - 344px), calc(88dvh * var(--upscale-image-ratio)))!important;height:min(88dvh, calc((94vw - 344px) / var(--upscale-image-ratio)))!important}.home-image-tools-module__rYJ4oW__comparisonFrame>.home-image-tools-module__rYJ4oW__comparison{color:#fff;flex-direction:column;height:100%;display:flex}.home-image-tools-module__rYJ4oW__comparisonFrame .home-image-tools-module__rYJ4oW__compareViewport{background:0 0;flex:1;height:auto;min-height:0}.home-image-tools-module__rYJ4oW__comparisonFrame .home-image-tools-module__rYJ4oW__compareToolbar{padding:8px 52px 8px 0}.home-image-tools-module__rYJ4oW__comparisonFrame .home-image-tools-module__rYJ4oW__compareViewport[data-dragging=true]{cursor:grabbing}.home-image-tools-module__rYJ4oW__comparisonFrame .home-image-tools-module__rYJ4oW__parameterRail{width:320px;height:auto;padding:16px;inset:0 auto 0 calc(100% + 24px);overflow:auto}.home-image-tools-module__rYJ4oW__parameterRail h3{color:var(--ig-muted);margin:0 0 8px;font-size:13px;font-weight:400}.home-image-tools-module__rYJ4oW__parameterRail dl{grid-template-columns:1fr auto;align-content:start;gap:20px 12px;margin:0;font-size:13px;line-height:1.6;display:grid}.home-image-tools-module__rYJ4oW__parameterRail dt{color:#b8b6bf}.home-image-tools-module__rYJ4oW__parameterRail dd{text-align:right;color:#fff;margin:0}@media (max-width:640px){.home-image-tools-module__rYJ4oW__comparisonFrame.home-image-tools-module__rYJ4oW__comparisonFrame{box-sizing:border-box;margin-right:0;padding-bottom:200px;width:94vw!important;height:92dvh!important}.home-image-tools-module__rYJ4oW__comparisonFrame .home-image-tools-module__rYJ4oW__parameterRail{width:auto;height:184px;inset:auto 0 0}.home-image-tools-module__rYJ4oW__parameterRail dl{gap:8px}.home-image-tools-module__rYJ4oW__comparisonFrame>.home-image-tools-module__rYJ4oW__comparison{height:calc(100% - 12px)}}.home-image-tools-module__rYJ4oW__spinning{animation:1s linear infinite home-image-tools-module__rYJ4oW__upscale-spin}@keyframes home-image-tools-module__rYJ4oW__upscale-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.home-image-tools-module__rYJ4oW__spinning{animation:none}}.home-image-tools-module__rYJ4oW__denoise{gap:8px;display:grid}.home-image-tools-module__rYJ4oW__denoiseChoices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}
