/* DJGABO Studio DAW immersive side menu — desktop only.
 * Keeps the ORIGINAL React sidebar: no cloned links or route replacements.
 * No changes on other pages or mobile (< 1024px).
 */
@media (min-width: 1024px) {
  body.djgabo-daw-nav-focus #root aside {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    z-index: 31002 !important;
    width: 256px !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    transform: translateX(calc(-100% - 4px)) !important;
    transition: transform 180ms ease-in-out !important;
    box-shadow: 18px 0 45px rgba(0,0,0,.28);
    pointer-events: none;
    will-change: transform;
  }
  body.djgabo-daw-nav-focus.djgabo-daw-nav-open #root aside {
    transform: translateX(0) !important;
    pointer-events: auto;
  }
  body.djgabo-daw-nav-focus #djgabo-daw-menu-button {
    display: inline-flex;
  }
  body.djgabo-daw-nav-focus.djgabo-daw-nav-open #djgabo-daw-menu-button {
    left: 270px;
  }
  body.djgabo-daw-nav-focus.djgabo-daw-nav-open #djgabo-daw-menu-backdrop {
    display: block;
  }
  /* Only the project metadata line gets room for the hamburger. */
  body.djgabo-daw-nav-focus #root main > div:has(.daw-uvr-track) > div:first-child {
    padding-left: 52px;
  }
}
#djgabo-daw-menu-button {
  display: none;
  position: fixed;
  z-index: 31004;
  top: 16px;
  left: 14px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(166,111,239,.48);
  border-radius: 12px;
  background: #1d152c;
  color: #e7d8f9;
  box-shadow: 0 8px 25px rgba(0,0,0,.35);
  cursor: pointer;
  transition: left 180ms ease-in-out, background 150ms ease-in-out;
}
#djgabo-daw-menu-button:hover { background: #37224f; }
#djgabo-daw-menu-button:focus-visible { outline: 2px solid #ad82fa; outline-offset: 3px; }
#djgabo-daw-menu-button svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
#djgabo-daw-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 31001;
  background: rgba(0,0,0,.56);
  backdrop-filter: blur(2px);
}
@media (max-width: 1023px) {
  #djgabo-daw-menu-button, #djgabo-daw-menu-backdrop { display:none !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.djgabo-daw-nav-focus #root aside, #djgabo-daw-menu-button { transition: none !important; }
}
