/*
  26-swipe.css — v41.55 swipe actions.

  Place rows sit on light parchment inside the Maps screen.
*/

/* Tells the browser vertical scrolling is ours to keep and horizontal is ours
   to handle. Without it Chrome may claim the gesture before pointermove fires. */
.place-list .place-row { touch-action: pan-y; }

.place-row.is-swiping {
  position: relative;
  z-index: 2;
  will-change: transform;
}
.place-row.is-armed { border-color: var(--brass); }

/* The hint pill is counter-translated in JS so it appears to sit still at the
   row's right edge while the row slides out from under it. */
.swipe-pill {
  position: absolute;
  top: 50%;
  right: 12px;
  margin-top: -14px;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--brass);
  color: #241a10;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .place-row.is-swiping { will-change: auto; }
}
