@keyframes kk-phone-rail-scale {
  from { scale: 1; }
  to { scale: .88; }
}

@media (max-width: 760px) {
  @media (prefers-reduced-motion: reduce) {
    .learning-home { --kk-phone-rail-duration: 0s; }
  }

  /* Match the specificity of the existing learner rail polish. */
  html body .trainer-home.learning-home > header[data-app-header="home"].learning-nav.learner-nav.learner-nav.learner-nav.learner-nav.learner-nav.learner-nav.learner-nav.learner-nav.learner-nav > .learning-nav-center {
    transform-origin: top center !important;
    transition: scale var(--kk-phone-rail-duration, 100ms) linear !important;
    will-change: scale !important;
    animation: none !important;

    @supports (animation-timeline: scroll(root block)) and (animation-range: 0px 96px) {
      animation: kk-phone-rail-scale 1s cubic-bezier(.3333, 0, .6667, 1) both !important;
      animation-timeline: scroll(root block) !important;
      animation-range: 0px 96px !important;
    }
  }
}
