/* Release 488: phone motion (b488_motion.js adds m-pre / m-in / m-now). Transform and opacity only, once, 0.35-0.6 s. */
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .gxm.m-pre .gxm-bar i { transform: scaleX(0); transform-origin: left center; }
  .gxm.m-pre.m-in .gxm-bar i { transform: none; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
  .gxm.m-pre.m-in .gxm-row + .gxm-row .gxm-bar i { transition-delay: .08s; }
  .gxm.m-now .gxm-bar i { transition: none; }

  .hn-card.m-pre { opacity: 0; transform: translateY(10px); }
  .hn-card.m-pre.m-in { opacity: 1; transform: none; transition: opacity .36s cubic-bezier(.2, .7, .2, 1), transform .36s cubic-bezier(.2, .7, .2, 1); }
  .hn-card.m-in:nth-child(2) { transition-delay: .07s; }
  .hn-card.m-in:not(.m-now) .hn-p b { animation: m-best .6s ease-out .4s 1; border-radius: 6px; }
  .hn-card.m-now { transition: none; }

  .hm-team.m-pre h2, .hm-team.m-pre > p, .hm-team.m-pre li, .hm-team.m-pre > a { opacity: 0; transform: translateY(12px); }
  .hm-team.m-pre.m-in h2, .hm-team.m-pre.m-in > p, .hm-team.m-pre.m-in li, .hm-team.m-pre.m-in > a { opacity: 1; transform: none; transition: opacity .38s cubic-bezier(.2, .7, .2, 1), transform .38s cubic-bezier(.2, .7, .2, 1); }
  .hm-team.m-pre.m-in .hm-faces li:nth-child(2) { transition-delay: .06s; }
  .hm-team.m-pre.m-in .hm-faces li:nth-child(3) { transition-delay: .12s; }
  .hm-team.m-pre.m-in .hm-faces li:nth-child(4) { transition-delay: .18s; }
  .hm-team.m-pre.m-in .hm-trust li, .hm-team.m-pre.m-in > a { transition-delay: .24s; }

  /* tap feedback */
  html body .gxk .lvk-btn { transition: border-color .15s, box-shadow .15s, transform .12s; }
  html body .gxk-save { transition: background .15s, border-color .15s, color .15s, transform .12s; }
  html body .gxk .lvk-btn:active, html body .gxk-save:active { transform: scale(.97); }
}
@keyframes m-best { 0%, 100% { background-color: rgba(86, 99, 240, 0); box-shadow: 0 0 0 4px rgba(86, 99, 240, 0); } 40% { background-color: rgba(86, 99, 240, .14); box-shadow: 0 0 0 4px rgba(86, 99, 240, .14); } }
