/* V14 settling candidate. The layout and hit area stay still; contents flex. */
.droplet { user-select: none; -webkit-user-select: none; }

.droplet .droplet-surface,
.droplet .droplet-label {
  transform: scale(1, 1);
  transform-origin: 50% 50%;
  transition: none;
  pointer-events: none;
}

.droplet .droplet-surface *,
.droplet .droplet-label * { pointer-events: none; }

/* Replace the old permanent hover enlargement and is-pressing transform. */
.droplet:hover .droplet-surface,
.droplet:active .droplet-surface,
.droplet.is-pressing .droplet-surface { transform: scale(1, 1); }

/* Keep only this small control prepared, including its final still frame.
   Avoid removing the text's rendering hint at the last animation frame. */
.droplet[data-jelly-motion="full"] .droplet-surface,
.droplet[data-jelly-motion="full"] .droplet-label { will-change: transform; }

.droplet[data-jelly-suspended="true"] .droplet-surface,
.droplet[data-jelly-suspended="true"] .droplet-label { will-change: auto; }

/* A nonmoving cue for people who request reduced motion. Existing focus rings stay. */
@media (prefers-reduced-motion: reduce) {
  .droplet .droplet-surface,
  .droplet .droplet-label { transform: none !important; will-change: auto !important; }
  .droplet[data-jelly-pressed="true"] .droplet-surface::after {
    box-shadow: inset 0 0 0 1px rgb(91 82 51 / .34);
  }
}

@media (prefers-reduced-motion: reduce) and (hover: hover) {
  .droplet:hover .droplet-surface::after {
    box-shadow: inset 0 .8px 1px rgb(255 255 255 / .95),
      inset 0 -1px 1px rgb(62 73 48 / .28);
  }
}
