/*
 * Shared left-edge D-pad sidebar nav (Home / Build / Nuvio / Updates).
 * Used by app.html, account.html, changelog.html, settings.html — injected
 * by nav.js into a <div id="umNavMount"></div> placeholder on each page.
 */
#umSidebarNav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 99990;
  width: 76px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 6px;

  background: rgba(12, 10, 25, 0.94);
  border: 1px solid rgba(155, 95, 255, 0.28);
  border-radius: 0 20px 20px 0;

  box-shadow:
    14px 0 45px rgba(0, 0, 0, 0.48),
    0 0 30px rgba(123, 47, 255, 0.10);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transform: translateX(-64px);
  transition: transform .18s ease;
}

html.native-app #umSidebarNav {
  display: flex;
}

#umSidebarNav:focus-within,
#umSidebarNav:hover {
  transform: translateX(0);
}

#umSidebarNav a {
  min-width: 64px;
  min-height: 48px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;

  color: #8888aa;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 14px;
}

#umSidebarNav a:active {
  color: #fff;
  background: rgba(123, 47, 255, 0.16);
}

#umSidebarNav a.active {
  color: #9B5FFF;
}

#umSidebarNav svg {
  width: 21px;
  height: 21px;
}
