@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}}.large-view-picture{pointer-events:none;place-self:stretch stretch;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid;container-type:size}.large-view-picture>.large-view-image{width:min(100cqw, calc(var(--large-view-ratio) * 100cqh), var(--large-view-width));max-width:none;height:auto;max-height:none;aspect-ratio:var(--large-view-ratio);object-fit:fill;pointer-events:auto;background:linear-gradient(#fff,#fff) 50%/calc(100% - 2px) calc(100% - 2px) no-repeat;display:block;box-shadow:0 2px 12px #00000040}.large-view-picture>.large-view-fallback{object-fit:contain;pointer-events:auto;width:auto;max-width:100cqw;height:auto;max-height:100cqh;display:block}.large-view-picture[data-checker]>:is(.large-view-image,.large-view-fallback){background:repeating-conic-gradient(var(--surface) 0% 25%, var(--bg) 0% 50%) 50% / 16px 16px}.large-view-turning{display:contents}.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}.upscaler-zoom-compare{width:min(100%, calc((var(--zoom-compare-height) - 36px) / (.5 + 1 / var(--zoom-compare-ratio))));gap:12px;margin-inline:auto;display:grid}.upscaler-zoom-compare .upscaler-zoom-views{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;display:grid}.upscaler-zoom-compare[data-layout=mobile] .upscaler-zoom-views{gap:8px}.upscaler-zoom-view{gap:6px;margin:0;display:grid}.upscaler-zoom-view figcaption{color:var(--text-muted);text-align:center;font-size:13px;line-height:18px}.upscaler-zoom-picture{aspect-ratio:1;border:1px solid var(--border);background-color:var(--compare-background,#fff);width:100%;image-rendering:pixelated;background-repeat:no-repeat;border-radius:10px;display:block}.upscaler-zoom-compare-picture{touch-action:none;cursor:crosshair;user-select:none;-webkit-touch-callout:none;width:100%;position:relative}.upscaler-zoom-compare-picture img{background:var(--compare-background,transparent);border-radius:10px;width:100%;height:auto;display:block}.upscaler-zoom-compare-area{pointer-events:none;border:1.5px solid #fff;border-radius:4px;position:absolute;box-shadow:0 0 0 1px #00000073}@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}.on-off-switch{justify-content:space-between;align-items:center;gap:12px;min-width:0;font-size:15px;font-weight:400;display:flex}.on-off-switch>button{min-height:44px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:0 4px 0 12px;display:flex}.on-off-switch>button:disabled{opacity:.35;cursor:default}.on-off-switch-state{text-align:right;min-width:30px;font-size:14px}.on-off-switch-track{background:var(--border);border-radius:999px;align-items:center;width:44px;height:26px;padding:3px;display:flex}.on-off-switch-track>span{background:var(--text);border-radius:50%;width:20px;height:20px}.on-off-switch>button[aria-checked=true] .on-off-switch-track{background:#7c3aed}.on-off-switch>button[aria-checked=true] .on-off-switch-track>span{background:#fff;transform:translate(18px)}.object-remover{width:100%;min-width:0}.object-remover .tool-intro{margin-bottom:12px}.object-remover[data-drop-active] .or-preview-column{outline:2px solid var(--text);outline-offset:3px}.or-fields{gap:16px;display:grid}.object-remover[data-layout=mobile] .or-fields{gap:10px}.or-field{gap:6px;min-width:0;font-size:15px;font-weight:400;display:grid}.or-slider>span{justify-content:space-between;align-items:center;gap:8px;display:flex}.or-slider input{cursor:pointer;width:100%;min-width:0;height:36px;accent-color:var(--text);margin:0}.object-remover[data-layout=mobile] .or-slider input{height:32px}.or-slider output{color:var(--text-muted);font-variant-numeric:tabular-nums}.or-preview-column[hidden]{display:none}.or-preview-column{border:1px solid var(--border);background:var(--surface);border-radius:16px;grid-template-rows:minmax(0,1fr);min-width:0;padding:0;display:grid;position:relative;overflow:hidden}.or-viewport{width:100%;min-width:0;height:auto;min-height:0;max-height:72svh;aspect-ratio:var(--or-image-ratio);background:var(--bg);touch-action:pan-y;padding:0;display:flex;overflow:auto}.object-remover[data-layout=mobile] .or-viewport{max-height:60svh}.or-surface{user-select:none;-webkit-touch-callout:none;background:repeating-conic-gradient(#e0e0e0 0% 25%,#fff 0% 50%) 0 0/16px 16px;flex:none;margin:auto;position:relative}.or-surface[data-brushing]{cursor:none;touch-action:none}.or-viewport[data-draw=off]{touch-action:pan-x pan-y}.or-surface>canvas{pointer-events:none;width:100%;max-width:none;height:100%;position:absolute;inset:0}.or-selection{opacity:.55}.or-compare{z-index:3;position:absolute;inset:0}.or-ring{z-index:2;box-sizing:border-box;pointer-events:none;border:1.5px solid #fff;border-radius:50%;position:absolute;top:0;left:0;box-shadow:0 0 0 1px #000000a6,inset 0 0 0 1px #000000a6}.or-loupe{z-index:4;box-sizing:border-box;pointer-events:none;border:2px solid #fff;border-radius:50%;position:absolute;top:8px;left:8px;box-shadow:0 0 0 1px #0004,0 6px 18px #0006}.or-loupe[data-side=right]{left:auto;right:8px}.or-loupe[hidden]{display:none}.object-remover .or-error{overflow-wrap:anywhere;margin:0 0 12px;font-size:15px;line-height:1.4}.object-remover .or-entry>.or-error{margin:12px 0 0}.or-sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}
