/* ==========================================================
   Scroll reveal — 桌面端下滑入场动画
   仅 >=1025px 且未开启「减少动态效果」时生效
   ========================================================== */

@media (min-width: 1025px) {
  html.rv-on .rv {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition-property: opacity, transform;
    transition-duration: .74s;
    transition-timing-function: cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
  }

  html.rv-on .rv.rv-fade {
    transform: none;
  }

  html.rv-on .rv.rv-zoom {
    transform: translate3d(0, 18px, 0) scale(.972);
  }

  html.rv-on .rv.rv-left {
    transform: translate3d(-28px, 0, 0);
  }

  html.rv-on .rv.rv-right {
    transform: translate3d(28px, 0, 0);
  }

  /* 触发后的最终态 */
  html.rv-on .rv.rv-in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.rv-on .rv {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
