* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #04060d;
  color: #eef2ff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.ambient-hud {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 20;
  max-width: 410px;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(7, 11, 22, 0.72);
  border: 1px solid rgba(125, 211, 252, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}

.ambient-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #7dd3fc;
  margin-bottom: 6px;
}

.ambient-hud h1 {
  font-size: 22px;
  margin-bottom: 8px;
}

.ambient-hud p {
  font-size: 13px;
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.ambient-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.ambient-btn {
  appearance: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.5);
  background: rgba(56, 189, 248, 0.18);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.ambient-btn:hover {
  background: rgba(56, 189, 248, 0.3);
}

.ambient-btn.is-active {
  background: #38bdf8;
  color: #04101f;
}

.ambient-btn.is-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.gaze-readout {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #94a3b8;
}

.gaze-readout strong {
  color: #f8fafc;
}
