Hide Shopify chat when Klaviyo popup is open

How do I hide the Shopify Inbox widget when my Klaviyo popup is open?

I successfully implemented some code to hide the Shopify chat bubble when my menu/cart are open using the following pieces of CSS:

cart-drawer.active ~ #shopify-chat {
  display: none;
}
div.menu-open ~ #shopify-chat {
  display: none;
}

I am wondering if I can do something similar to hide the Shopify Inbox when my Klaviyo Popup is active?

Website is https://clubpickleco.com