Issue with Cookie Consent Multiple Displays for Mobile and Desktop

I am trying to find a way to display two different versions of our cookie consent slider. My current solution has the component duplicated with all classes copied with “-mobile” added to the class name. Mobile elements are hidden on desktop and vice versa.

The issue is that when I publish to our staging, only the mobile version is showing up and the desktop flashes briefly and reverts to the default styling. Please assist!

Here is my read-only link: Webflow - Pearly