@media (max-width: 760px) {
  .mobile-route-swipe {
    position: fixed;
    inset: 0;
    z-index: 240;
    pointer-events: none;
    overflow: hidden;
    visibility: hidden;
  }

  .mobile-route-swipe.is-active,
  .mobile-route-swipe.is-settling {
    visibility: visible;
  }

  .mobile-route-swipe-sheet {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: max(24px, env(safe-area-inset-top)) 26px max(28px, env(safe-area-inset-bottom));
    background: var(--route-swipe-bg, #f4f0e7);
    color: var(--route-swipe-ink, #171612);
    box-shadow: -22px 0 54px rgba(28, 24, 18, .16);
    will-change: transform;
    transform: translate3d(100%, 0, 0);
  }

  .mobile-route-swipe.is-prev .mobile-route-swipe-sheet {
    box-shadow: 22px 0 54px rgba(28, 24, 18, .16);
  }

  .mobile-route-swipe-kicker,
  .mobile-route-swipe-meta,
  .mobile-route-swipe-index {
    font-size: 9px;
    line-height: 1.35;
    letter-spacing: .18em;
    text-transform: uppercase;
  }

  .mobile-route-swipe-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    opacity: .72;
  }

  .mobile-route-swipe-title {
    max-width: 84vw;
    margin: auto 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 15vw, 82px);
    font-weight: 400;
    line-height: .78;
    letter-spacing: -.045em;
  }

  .mobile-route-swipe-title-line {
    display: block;
  }

  .mobile-route-swipe-title-line + .mobile-route-swipe-title-line {
    margin-top: .08em;
  }

  .mobile-route-swipe-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid currentColor;
  }

  .mobile-route-swipe-meta {
    max-width: 62vw;
    opacity: .62;
  }

  .mobile-route-swipe-arrow {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
  }

  /* The full transition sheet already identifies the destination. Keep the
     interaction visually clean by removing the redundant edge capsule. */
  .mobile-route-swipe-tab {
    display: none !important;
  }

  .mobile-route-swipe-loading {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  .mobile-route-swipe-loading::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: .38;
    animation: mobileRoutePulse 950ms ease-in-out infinite;
  }

  @keyframes mobileRoutePulse {
    0%, 100% { opacity: .2; transform: scale(.8); }
    50% { opacity: .8; transform: scale(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-route-swipe-sheet { transition: none !important; }
  .mobile-route-swipe-loading::after { animation: none !important; }
}
