/* Right edge only. The drag transform is applied by script with no transition. */
#bokabuBottleFab,
#bokabuBottleFab .r11b-bob,
#bokabuBottleFab .r11b-widget,
#bokabuBottleFab .r11b-hit,
#bokabuBottleFab .r11b-close {
  touch-action: none;
}

#bokabuBottleFab {
  position: fixed;
  right: 0;
  left: auto;
  margin: 0;
  transition: none;
}

#bokabuBottleFab.is-dragging,
#bokabuBottleFab.is-dragging .r11b-bob,
#bokabuBottleFab.is-dragging .r11b-widget,
#bokabuBottleFab.is-dragging .r11b-hit {
  transition: none;
  animation-play-state: paused;
}

/* The flavour crossfade is on .r11b-flavor. Pause it for the whole press so it cannot swap mid-drag. */
#bokabuBottleFab.is-held .r11b-flavor {
  animation-play-state: paused;
}

#bokabuBottleFab .r11b-hit,
#bokabuBottleFab .r11b-hit:active,
#bokabuBottleFab.is-dragging .r11b-hit,
#bokabuBottleFab.is-dragging .r11b-hit:active,
#bokabuBottleFab.is-dragging .r11b-hit.is-pressed {
  transform: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  #bokabuBottleFab,
  #bokabuBottleFab .r11b-widget,
  #bokabuBottleFab .r11b-hit {
    transition: none;
  }
}
