/* Esc-toggled in-game menu.
 *
 * Dims the canvas and anchors a Tron-outlined panel in the top-left
 * corner. Scaffold for future entries (settings, inventory, character
 * sheet) — keep vertical stack in `.ingame-menu` with `.btn` variants.
 * Controls are disabled in Rust-land while the overlay is mounted. */

.canvas-dimmed {
  opacity: 0.35;
  transition: opacity 0.15s ease;
}

.ingame-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px;
  pointer-events: auto;
}

.ingame-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: rgba(8, 14, 24, 0.72);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  box-shadow:
    0 0 14px rgba(122, 170, 255, 0.22),
    inset 0 0 18px rgba(122, 170, 255, 0.06);
}
