/* Transforms do not affect document flow; content stays visible without JavaScript. */
@media (prefers-reduced-motion: no-preference) {
  body :is(.idea,.category,.tw-listing,.property-card) {
    transition: translate 280ms cubic-bezier(.2,.65,.3,1), transform 280ms cubic-bezier(.2,.65,.3,1), box-shadow 280ms ease, border-color 280ms ease;
  }
  body :is(.idea>img,.category>img,.tw-listing-photo img,.property-photo img) {
    transition: transform 360ms cubic-bezier(.2,.65,.3,1);
  }
  :where(.btn,.tw-button,.trip-examples button,#assistGo,.account-header button,.catalog-tabs button,.tourism-tabs button,[role="tab"]) {
    transition: translate 160ms ease, filter 160ms ease, background-color 180ms ease, color 180ms ease;
  }
  :where(.btn,.tw-button,.trip-examples button,#assistGo,.catalog-tabs button,.tourism-tabs button,[role="tab"]):active {
    translate: 0 1px;
    filter: brightness(.94);
  }
  @media (hover: hover) and (pointer: fine) {
    :where(.idea,.category):hover { translate: 0 -3px; }
    :where(.idea:hover>img,.category:hover>img,.tw-listing:hover .tw-listing-photo img,.property-card:hover .property-photo img) { transform: scale(1.025); }
    :where(.btn,.tw-button,#assistGo):hover { filter: brightness(1.035); }
  }
}
@media (prefers-reduced-motion: reduce) {
  :where(.idea,.category,.tw-listing,.property-card,.idea>img,.category>img,.tw-listing-photo img,.property-photo img,.btn,.tw-button,.trip-examples button,#assistGo,[role="tab"]) {
    transition: none !important;
    translate: none !important;
  }
}
