/* Phones and the iOS app (touch screens): the frosted-glass effects on large scrolling panels made Settings
   laggy on iPhone (each blur re-renders everything behind it on every scroll frame, and the "refraction"
   SVG filters are even heavier). On touch devices large panels become solid; small controls keep a light blur. */
@media (hover: none) {
  .set-dlg .set-wrap,
  html[data-theme="dark"] .set-dlg .set-wrap,
  .lgx-card.lgx-glass,
  html[data-theme="dark"] .lgx-card.lgx-glass,
  .lgx-row.lgx-glass,
  .bx-card,
  .n-dlg,
  .bx-pick .dlg {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: var(--surface) !important;
  }
  html.lg-refract .lgx-drop,
  html.lg-refract .set-save,
  html.lg-refract .lgx-seg.lgx-glass,
  html.lg-refract .lgx-x.lgx-glass {
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
  }
  dialog::backdrop,
  dialog.set-dlg::backdrop,
  .scrim {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .n-skel { animation: none; }
}
