/* hud.css — full-screen JARVIS radial HUD shell. Consumes tokens.css vars only. */

html, body {
  overflow: hidden;
  height: 100vh;
  line-height: 1.5;
}

#hud-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 1;
}

/* Sub-480px honest degradation (Phase 6 responsive) — shown by hud-canvas.js's
   resize() in place of the canvas below the "narrow" tier's floor; the HUD's
   drag-resize widgets/hover labels/wake-word/gesture control don't survive a
   phone-portrait viewport, so this replaces a silently broken render with an
   honest message instead of pretending to support it. */
.hud-narrow-message {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  text-align: center;
  background: var(--bg);
  color: var(--text-dim);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.5;
}
.hud-narrow-message.visible {
  display: flex;
}

#core-orb {
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(34vmin, 340px);
  height: min(34vmin, 340px);
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
}

#widget-root {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none; /* cards re-enable their own pointer events */
}

#overlay-root {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

#confirm-root {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
