@keyframes images-entry-shimmer{to{transform:translate(100%)}}@keyframes images-entry-progress{to{transform:translate(250%)}}@media (prefers-reduced-motion:reduce){:is(.background-remover__processing,.images-entry-processing):after{animation:none;transform:none}:is(.background-remover__progress,.images-entry-progress) span{animation:none;transform:translate(75%)}}@media (width<=600px){:is(.background-remover__processing,.images-entry-processing){min-height:20rem;padding-inline:1rem}}.upscaler-compare-viewport{justify-content:center;align-items:center;width:100%;min-width:0;height:100%;display:flex}.upscaler-compare-frame{touch-action:none;user-select:none;cursor:default;width:100%;height:100%;position:relative}.upscaler-compare-frame[data-comparing=false]{touch-action:auto;cursor:default}.upscaler-compare-frame:focus-visible{outline:2px solid var(--text);outline-offset:4px}.upscaler-compare-layer{isolation:isolate;pointer-events:none;position:absolute;inset:0;overflow:hidden}.upscaler-compare-layer:before{content:"";z-index:-1;background:var(--compare-background,repeating-conic-gradient(#ddd 0% 25%, #fff 0% 50%) 0 0 / 16px 16px);position:absolute;inset:1px}.upscaler-compare-layer img{object-fit:fill;width:100%;height:100%;display:block}.upscaler-compare-label{color:#fff;background:#161616c9;border-radius:.6rem;padding:.35rem .65rem;font-size:.95rem;position:absolute;top:.75rem;left:.75rem}.upscaler-compare-label--after{left:auto;right:.75rem}.upscaler-compare-divider{pointer-events:none;background:#fff;width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%);box-shadow:0 0 3px #0006}.upscaler-compare-divider>span{color:#222;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 8px #0003}.upscaler-compare-frame[data-comparing=true] .upscaler-compare-divider>span{pointer-events:auto;cursor:ew-resize}.upscaler-compare-frame[data-disabled=true] .upscaler-compare-divider>span{cursor:default}.upscaler-compare-frame[data-magnifier]{cursor:none}.upscaler-compare-frame[data-magnifier] .upscaler-compare-divider>span{cursor:ew-resize}.upscaler-loupe{z-index:4;box-sizing:border-box;background:var(--compare-background,#fff);pointer-events:none;border:2px solid #fff;border-radius:50%;position:absolute;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #0004,0 6px 18px #0006}.upscaler-loupe-picture{image-rendering:pixelated;background-repeat:no-repeat;position:absolute;inset:0}.upscaler-loupe-divider{background:#fff;width:2px;margin-left:-1px;position:absolute;top:0;bottom:0;box-shadow:0 0 3px #0006}.upscaler-compare-frame[data-magnify-panel]{cursor:crosshair}.upscaler-compare-frame[data-magnify-panel] .upscaler-compare-divider>span{cursor:ew-resize}.upscaler-compare-viewport .upscaler-compare-frame[data-responsive=true]{touch-action:pan-y;cursor:default;overflow:hidden}.upscaler-compare-frame[data-responsive=true] .upscaler-compare-layer img{transform-origin:50%}.upscaler-compare-frame[data-responsive=true] .upscaler-detail-image{max-width:none}.upscaler-compare-frame[data-responsive=true] .upscaler-compare-divider>span{pointer-events:auto;touch-action:pan-y;cursor:ew-resize}.upscaler-compare-layer .upscaler-detail-image[hidden]{display:none}@media (prefers-reduced-motion:reduce){:is(.background-remover__processing,.images-entry-processing):after{animation:none;transform:none}:is(.background-remover__progress,.images-entry-progress) span{animation:none;transform:translate(75%)}}@media (width<=600px){:is(.background-remover__processing,.images-entry-processing){min-height:20rem;padding-inline:1rem}}.output-format-card{gap:16px;min-width:0;display:grid}.output-format-choices{grid-template-columns:2fr repeat(4,minmax(0,1fr))}.output-format-card[data-layout=mobile] .output-format-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.output-format-card[data-layout=mobile] .output-format-choices>:first-child{grid-column:1/-1}.output-format-card[data-original=false] .output-format-choices,.output-format-card[data-original=false][data-layout=mobile] .output-format-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.output-format-card[data-original=false][data-layout=mobile] .output-format-choices>:first-child{grid-column:auto}.output-format-solid{justify-content:space-between;align-items:center;gap:12px;font-size:15px;display:flex}.output-format-solid fieldset{border:0;flex-shrink:0;margin:0;padding:0}.picture-frame{width:100%;min-width:0;height:auto;min-height:0;max-height:72svh;aspect-ratio:var(--picture-ratio);border:1px solid var(--border);background:var(--surface);border-radius:16px;place-items:center;display:grid;position:relative;overflow:hidden;container-type:size}.picture-frame[data-layout=mobile]{max-height:60svh}.picture-frame-fit{width:min(100cqw, calc(100cqh * var(--picture-ratio)));aspect-ratio:var(--picture-ratio);min-width:0}.picture-frame[data-auto]{aspect-ratio:auto;height:auto;max-height:none;padding:12px;display:block;container-type:normal}.picture-frame[data-drop-active]{outline:2px solid var(--text);outline-offset:3px}:is(.background-remover__processing,.images-entry-processing){isolation:isolate;border:1px solid var(--border);border-radius:var(--radius-lg,1.5rem);background:var(--surface);text-align:center;place-items:center;width:min(100%,44rem);min-height:22rem;padding:2.5rem 1.5rem;display:grid;position:relative;overflow:hidden}[data-background-workspace] .background-remover__processing{width:100%;min-height:var(--background-entry-height);border-style:dashed}.compressor .images-entry-processing{width:100%;min-height:var(--compressor-entry-height);border-style:dashed}:is(.background-remover__processing-image,.images-entry-processing-image){z-index:-3;object-fit:contain;filter:blur(7px);opacity:.65;width:100%;height:100%;position:absolute;inset:0}:is(.background-remover__processing,.images-entry-processing):before{content:"";z-index:-2;background:color-mix(in srgb, var(--surface) 55%, transparent);position:absolute;inset:0}:is(.background-remover__processing,.images-entry-processing):after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(110deg, transparent 25%, color-mix(in srgb, var(--text) 9%, transparent) 50%, transparent 75%);animation:3.2s ease-in-out infinite images-entry-shimmer;position:absolute;inset:0;transform:translate(-100%)}:is(.background-remover__processing-content,.images-entry-processing-content){flex-direction:column;align-items:center;gap:1.5rem;width:min(100%,20rem);display:flex}:is(.background-remover__processing,.images-entry-processing) h2:where(:not(.images-entry-processing-title)){letter-spacing:-.025em;margin:0;font-size:1.5rem;font-weight:650;line-height:1.18}.images-entry-processing-title{color:var(--text);letter-spacing:normal;margin:0;font-size:20px;font-weight:550;line-height:20px}:is(.background-remover__progress,.images-entry-progress){background:color-mix(in srgb, var(--text) 16%, transparent);border-radius:999px;width:100%;height:3px;overflow:hidden}:is(.background-remover__progress,.images-entry-progress) span{border-radius:inherit;background:var(--text);width:40%;height:100%;animation:3.2s ease-in-out infinite images-entry-progress;display:block;transform:translate(-100%)}:is(.background-remover__processing,.images-entry-processing) :is([data-background-cancel],.images-entry-cancel){border:1px solid var(--border);width:auto;min-height:2.75rem;font:inherit;color:var(--text);background:var(--surface);cursor:pointer;border-radius:.65rem;justify-content:center;align-items:center;gap:0;padding:.6rem 1.25rem;display:inline-flex}:is(.background-remover__processing,.images-entry-processing) :is([data-background-cancel],.images-entry-cancel):hover:not(:disabled){color:var(--text);border-color:var(--border);background:var(--surface);filter:none}:is(.background-remover__processing,.images-entry-processing) :is([data-background-cancel],.images-entry-cancel):focus-visible{outline:2px solid var(--text);outline-offset:3px}@media (prefers-reduced-motion:reduce){:is(.background-remover__processing,.images-entry-processing):after{animation:none;transform:none}:is(.background-remover__progress,.images-entry-progress) span{animation:none;transform:translate(75%)}}@media (width<=600px){:is(.background-remover__processing,.images-entry-processing){min-height:20rem;padding-inline:1rem}}:is(.background-remover__segmented span,.background-remover .background-remover__button,.compressor .images-entry-cancel,.compressor .compressor-settings-actions button,.compressor .compressor-clear-actions button,.compressor .compressor-download-slot>:is(button,a)){letter-spacing:normal;font-family:inherit;font-size:1rem;font-style:normal;font-weight:600;line-height:normal}:is(.background-remover .background-remover__popover,.background-remover .background-remover__popover :is(legend,label,input,select,output),.background-remover .background-remover__popover .background-remover__segmented span,.compressor .compressor-settings-panel,.compressor .compressor-settings-panel :is(h2,label,input),.compressor .compressor-settings-panel .compressor-settings-actions button){font-weight:400}.images-workspace-action{display:grid;position:relative}.images-workspace-action.images-workspace-action:before{content:"Download PNG";visibility:hidden;letter-spacing:normal;white-space:nowrap;border:1px solid #0000;grid-area:1/1;min-height:2.75rem;padding:.6rem 1.25rem;font-family:inherit;font-size:1rem;font-style:normal;font-weight:600;line-height:normal}:is(.background-remover,.compressor,.resizer) .images-workspace-action.images-workspace-action>button{letter-spacing:normal;white-space:nowrap;border-radius:.65rem;width:100%;height:100%;min-height:38px;margin:0;padding:8.4px 7px;font-family:inherit;font-size:17px;font-style:normal;font-weight:600;line-height:normal;position:absolute;inset:0}.ui-template .picture-choices-pager{align-items:center;gap:4px;min-width:0;display:flex}.ui-template .picture-choices-arrow{flex:none}.ui-template .picture-choices-arrow[data-hidden]{visibility:hidden}.ui-template .picture-choices-pager[dir=rtl] .picture-choices-arrow svg{transform:scaleX(-1)}.ui-template .picture-choices-pager>.picture-choices{flex:auto;min-width:0}.ui-template .picture-choices{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;gap:10px;padding:0 0 4px;display:flex;position:relative;overflow:auto hidden}.ui-template .picture-choice{border:1px solid var(--border);background:var(--surface);min-width:0;height:auto;color:var(--text);font:inherit;text-align:start;cursor:pointer;scroll-snap-align:start;border-radius:12px;flex:0 0 132px;margin:0;padding:6px;display:block}.ui-template .picture-choices-pager[data-layout=mobile]{gap:0}.ui-template .picture-choices[data-layout=mobile]{gap:8px;container-type:inline-size}.ui-template .picture-choices[data-layout=mobile] .picture-choice{flex-basis:calc(45.4545cqw - 3.63636px)}.ui-template .picture-choice[aria-pressed=true]{border-color:var(--text);box-shadow:inset 0 0 0 1px var(--text)}.ui-template .picture-choice:disabled{opacity:.35;cursor:default}@media (hover:hover){.ui-template .picture-choice:hover:not(:disabled){border-color:var(--text-muted)}}.ui-template .picture-choice-picture{aspect-ratio:1;background:repeating-conic-gradient(#e6e6e6 0 25%, #fff 0 50%) 0 0 / 16px 16px;border-radius:8px;display:block;overflow:hidden}.ui-template .picture-choice-picture img{object-fit:cover;width:100%;height:100%;display:block}.ui-template .picture-choice-name{white-space:nowrap;text-overflow:ellipsis;justify-content:space-between;gap:4px;margin-top:6px;font-size:12px;display:flex;overflow:hidden}.ui-template .picture-choice-name>span{margin-inline-start:auto}.photo-filters{width:100%;min-width:0}.photo-filters .tool-intro{margin-bottom:12px}.pf-filter-card{gap:12px;min-width:0;display:grid}.pf-intensity{gap:3px;min-width:0;display:grid}.pf-intensity[data-off]{opacity:.5}.pf-intensity-heading{align-items:center;gap:6px;display:flex}.pf-intensity-heading label{flex:1;min-width:0;font-weight:400}.pf-number{flex-shrink:0;align-items:center;gap:4px;display:flex}.pf-number input{border:1px solid var(--border);background:var(--surface);width:72px;height:36px;color:var(--text);font:inherit;border-radius:6px;padding:4px}.pf-number span{font-size:12px}.photo-filters[data-layout=mobile] .pf-number input{width:48px;height:32px}.pf-range{width:100%;height:32px;accent-color:var(--text);cursor:pointer;touch-action:none;margin:0;display:block}.pf-range:disabled{cursor:default}.pf-recovery{margin-top:12px}.photo-filters .pf-error{overflow-wrap:anywhere;margin:0 0 12px;font-size:15px;line-height:1.4}.photo-filters .pf-entry>.pf-error{margin:12px 0 0}.pf-sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}
