/* MEH V4.3.1 — Navbar Customizer V43 / Entry Sequence V4 compatibility.
   This file deliberately changes ONLY launcher visibility during the entry flow.
   The customizer's icon positions, previews, app grid, and swipe logic stay intact.
   Loaded AFTER /assets/css/meh-mobile-launcher.css?v=43.
*/
@media (max-width: 767px) {
  /* The V43 navbar sets strong !important visibility on the launcher button.
     Override that solely while an earlier step owns the screen. */
  html.meh-seq-pending body #mehOsMount #mehOsButton.meh-os-button,
  html.meh-seq-pwa body #mehOsMount #mehOsButton.meh-os-button,
  html.meh-seq-pending body #mehOsMount #mehOsMenu.meh-os-overlay,
  html.meh-seq-pwa body #mehOsMount #mehOsMenu.meh-os-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Hide the navigation's own bottom-right vignette until the tour.
     The entry controller provides the fullscreen dimmer/spotlight instead. */
  html.meh-seq-pending body #mehOsMount #mehOsCornerShade,
  html.meh-seq-pwa body #mehOsMount #mehOsCornerShade {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* During the last tutorial step: only the actual menu trigger is available.
     Keep the latest navbar's size and bottom-right positioning untouched. */
  html.meh-seq-menu-tour body #mehOsMount #mehOsButton.meh-os-button {
    display: grid !important;
    place-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 2147483530 !important;
  }
  html.meh-seq-menu-tour body #mehOsMount #mehOsMenu.meh-os-overlay {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
/* Desktop/tablet: no modifications; V4 desktop nav protection continues unchanged. */
