/* Upscaler extras. The page shell reuses seoffix-bg-remover.css. */
.sfx-up-loupe {
  position: absolute; width: 140px; height: 140px; border-radius: 12px; border: 2px solid #22d3ee;
  pointer-events: none; z-index: 6; background: #0f172a;
}
.sfx-bgr-stage.is-run .sfx-bgr-laser { display: block; }
.sfx-bgr [hidden] { display: none !important; }
.sfx-bgr-view canvas { max-width: 100%; height: auto; }
.sfx-bgr-actions-main { flex-direction: column; align-items: stretch; }
.sfx-bgr-actions-main button { width: 100%; }
#sfxUpStage { overflow: auto; max-height: 520px; }
.sfx-up-scales, .sfx-up-modes { flex-wrap: nowrap; }
.sfx-up-scales button, .sfx-up-modes button { flex: 1; padding: 8px 0; text-align: center; }
.sfx-bgr .sfx-up-exports { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.sfx-bgr .sfx-up-exports button {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 8px 12px; white-space: nowrap;
  border: 1px solid #0f766e; border-radius: 10px; background: #fff; color: #0f172a;
  font-size: 13px; font-weight: 700; line-height: 1.2; box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
}
html.dark .sfx-bgr .sfx-up-exports button { background: #111827; color: #f8fafc; border-color: #22d3ee; }
.sfx-bgr .sfx-up-exports button.sfx-bgr-cta { background: linear-gradient(135deg, #0f766e, #0891b2); color: #fff; border-color: transparent; }
html.dark .sfx-bgr .sfx-up-exports button.sfx-bgr-cta { background: linear-gradient(135deg, #0f766e, #06b6d4); color: #f8fafc; }
