@font-face{font-family:"DM Sans";src:url("/assets/fonts/dm-sans-latin-variable.woff2") format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}
body.upscaler-page{background:#080f1b;color:#eef4fc;font-family:"DM Sans",system-ui,sans-serif}
.upscaler-page>.ah-root .nav{max-width:none;padding-inline:24px;position:relative}
.upscaler-header-title{position:absolute;left:50%;transform:translateX(-50%);font-weight:650;font-size:14px;white-space:nowrap}
#ant-image-upscaler{display:block;max-width:none;margin:0;padding:0;isolation:isolate}
#ant-image-upscaler .studio{height:calc(100svh - 72px);min-height:620px}
#ant-image-upscaler .upscaler-notices{text-align:center;padding:20px;color:var(--muted);font-size:12px}
#ant-image-upscaler .upscaler-notices a{text-decoration:underline;text-underline-offset:3px}
#ant-image-upscaler button{touch-action:manipulation}
#ant-image-upscaler .workspace-toolbar button{min-height:36px}
#ant-image-upscaler .field-note{line-height:1.65}
@media(max-width:900px){.upscaler-header-title{position:static;transform:none;margin-left:auto;font-size:12px}.upscaler-page>.ah-root .nav{padding-inline:16px;gap:12px}#ant-image-upscaler .studio{height:auto;min-height:0}}
@media(max-width:600px){.upscaler-header-title{display:none}.upscaler-page>.ah-root .nav{padding-inline:12px}#ant-image-upscaler .workspace-toolbar button{min-height:40px}#ant-image-upscaler .inspector-tabs button,#ant-image-upscaler .scale-picker button{min-height:44px}}

/* Override the generic settings-range height on the full image comparison surface. */
#ant-image-upscaler #compareSlider{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;margin:0;padding:0;border:0;border-radius:0;appearance:none;touch-action:none;cursor:ew-resize;z-index:3}
