@media (prefers-reduced-motion: no-preference) {
  :where(
    button:not(:disabled),
    input:is([type="button"], [type="submit"]):not(:disabled),
    summary,
    [role="button"]:not([aria-disabled="true"]),
    [role="tab"]:not([aria-disabled="true"]),
    a:is(.button, .btn, .primary, .secondary, .tile-button, .view-tool-button, .bundle-teaser)
  ):active {
    scale: .97;
  }

  dialog[open] {
    animation: storefront-dialog-in 220ms cubic-bezier(.2, .75, .25, 1);
  }

  dialog[open]::backdrop {
    animation: storefront-backdrop-in 190ms ease-out;
  }

  details[open] > :not(summary) {
    animation: storefront-details-in 170ms ease-out;
  }

  @keyframes storefront-dialog-in {
    from { opacity: 0; translate: 0 8px; scale: .985; }
    to { opacity: 1; translate: 0 0; scale: 1; }
  }

  @keyframes storefront-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes storefront-details-in {
    from { opacity: 0; translate: 0 -3px; }
    to { opacity: 1; translate: 0 0; }
  }
}
