/* Tap-and-hold feedback (js/long-press.js). The shrink lasts as long as the hold
   (HOLD_MS), so the item visibly "charges up"; the pop stands in for a haptic tick. */
.long-press-pressing { transform:scale(.96); filter:brightness(.85); transition:transform .5s cubic-bezier(.2,.8,.2,1), filter .5s ease; }
.long-press-pressed { animation:long-press-pop .26s cubic-bezier(.3,1.6,.5,1); }
@keyframes long-press-pop { 0% { transform:scale(.96); filter:brightness(.85); } 60% { transform:scale(1.03); } 100% { transform:scale(1); filter:none; } }
/* Reduce Motion: dim only, no size change. */
@media (prefers-reduced-motion: reduce) {
  .long-press-pressing { transform:none; transition:filter .5s ease; }
  .long-press-pressed { animation:none; }
}
/* The hidden switch the iOS haptic trick clicks: off-screen, not display:none. */
.long-press-haptic { position:fixed; left:-9999px; top:0; width:1px; height:1px; overflow:hidden; opacity:0; pointer-events:none; }
