.mask[data-v-side-drawer] {
  position: fixed;
  inset: 0;
  background: rgba(3, 1, 2, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 70;
}
.drawer[data-v-side-drawer] {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(330px, 88vw);
  background: var(--bg-elev, #1d2029);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 60px rgba(0, 0, 0, 0.6);
  z-index: 71;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 16px calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  /* NavRail scrolls its own menu; the upgrade card stays pinned at the bottom. */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.drawer.open[data-v-side-drawer] {
  transform: none;
}
.x[data-v-side-drawer] {
  position: absolute;
  top: calc(18px + env(safe-area-inset-top, 0px));
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.x[data-v-side-drawer]:hover {
  background: var(--surface-2, #1c1115);
  color: var(--text);
}
