/* ER-1878: overlay drawers never enter the scene's layout. */
.hud .nav-drawer-trigger { position: fixed; z-index: 12; top: 50%; min-width: 26px; min-height: 84px; padding: 7px 3px;
  border: 1px solid var(--menu-brass); border-radius: 3px; background: color-mix(in srgb, var(--menu-surface-bottom) 76%, transparent); color: var(--menu-title);
  writing-mode: vertical-rl; font: 600 12px var(--font-body); cursor: pointer; }
.nav-drawer-trigger-explore { left: 0; transform: translateY(-50%); }
.nav-drawer-trigger-activity { right: 0; transform: translateY(-50%); }
.nav-drawer-scrim { position: fixed; inset: 0; z-index: 24; width: 100%; height: 100%; border: 0; background: rgba(0,0,0,.28); cursor: default; }
.nav-drawer { position: fixed; z-index: 25; top: 0; bottom: 0; width: min(360px, calc(100vw - 28px)); overflow-y: auto; box-sizing: border-box; padding: 20px 14px;
  border: 1px solid var(--menu-brass); background: linear-gradient(var(--menu-surface-top), var(--menu-surface-bottom)); box-shadow: 0 12px 32px var(--menu-shadow); color: var(--menu-ink); }
.nav-drawer[hidden] { display: none; }
.nav-drawer-explore { left: 0; animation: nav-drawer-left 220ms ease-out; }
.nav-drawer-activity { right: 0; animation: nav-drawer-right 220ms ease-out; }
.nav-drawer h2 { display: inline-block; margin: 0 0 18px; color: var(--menu-focus); font: 700 28px var(--font-display); }
.nav-drawer-close { float: right; min-height: 36px; border: 1px solid var(--menu-brass); border-radius: 3px; background: var(--menu-inset); color: var(--menu-title); cursor: pointer; }
.nav-drawer-list { display: grid; gap: 8px; clear: both; }
.nav-drawer-item { min-height: 44px; padding: 8px 12px; border: 1px solid var(--menu-brass); border-radius: 3px; background: var(--menu-inset); color: var(--menu-title); text-align: left; cursor: pointer; }
.nav-drawer-item:is(:hover,:focus-visible) { border-color: var(--menu-focus); background: var(--menu-hover); }
@keyframes nav-drawer-left { from { transform: translateX(-24px); opacity: 0; } }
@keyframes nav-drawer-right { from { transform: translateX(24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nav-drawer { animation: none !important; } }
/* Mock-up uses the existing Guide control at the right edge; Activity opens from its box. */
.hud .nav-drawer-trigger-explore, .hud .nav-drawer-trigger-activity { display: none; }
.nav-drawer { top: 187px; bottom: 15px; height: auto; width: 375px; background: linear-gradient(var(--lp-glass),var(--menu-surface-bottom)); border-width: 1px; }
.nav-drawer-explore { left: 78px; }
.nav-drawer-activity { right: 16px; }
.nav-drawer-close, .nav-drawer-item { border-width: 1px; }
