/* Keep the native switch rendered: iOS requires a direct tap, not input.click(). */
.fd-haptic-layer {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  pointer-events: none;
}
.fd-haptic-layer > input.fd-haptic-switch {
  all: initial;
  position: absolute !important;
  display: block !important;
  box-sizing: border-box !important;
  appearance: auto !important;
  -webkit-appearance: auto !important;
  opacity: 0 !important;
  margin: 0 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}
.fd-haptic-pressed { --fd-action-press: .985; --fd-action-surface-position: 63%; }
@media (prefers-reduced-motion: reduce) {
  .fd-haptic-pressed { --fd-action-press: 1 !important; }
}
