/* Keep the Jivo launcher above the mobile contact bar; leave the chat itself intact. */
@media (max-width: 1199.98px) {
  #jvLabelWrap,
  .__jivoMobileButton,
  .__jivoDesktopButton {
    /* Contact bar: 50px controls + 10px padding + 1px border, then a 16px gap. */
    bottom: calc(77px + env(safe-area-inset-bottom, 0px)) !important;
    /* A filter preserves Jivo's own opacity-based show/hide animations. */
    filter: opacity(.7) !important;
    transition: bottom .18s ease-out;
  }

  /* Move compact launchers only; a desktop text label would cover the face. */
  .__jivoMobileButton,
  .__jivoDesktopButton {
    bottom: calc(77px + env(safe-area-inset-bottom, 0px) + var(--rasput-jivo-lift, 0px)) !important;
  }

  #jvLabelWrap:focus-within,
  .__jivoMobileButton:focus-within,
  .__jivoDesktopButton:focus-within {
    filter: opacity(1) !important;
  }
}

@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) {
  #jvLabelWrap,
  .__jivoMobileButton,
  .__jivoDesktopButton {
    transition: none;
  }
}

@media (max-width: 1199.98px) and (hover: hover) {
  #jvLabelWrap:hover,
  .__jivoMobileButton:hover,
  .__jivoDesktopButton:hover {
    filter: opacity(1) !important;
  }
}
