/* Touch: a button you press should feel pressed. Loaded by the dashboard,
   builder and feedback review; the client pages carry the same rules in
   _FB_CSS (delivery-template.js).
   :where() keeps the specificity at zero, so every page's own transition and
   transform rules still win; this only fills in where a page says nothing. */
:where(button, .btn, [role="button"]) {
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
}
/* Everything inside :where(), :active included: a button whose own rules set
   a transform (a centered play button, say) keeps it and is not moved. */
:where(button:not(:disabled):active, .btn:not(:disabled):active, [role="button"]:active) {
  transform: scale(.97);
}

/* People who asked their system for less motion get none. Durations go to
   almost zero instead of "none", so anything that fades in still ends up
   visible. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
