html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  background: #000;
  cursor: grab;
}
canvas:active { cursor: grabbing; }
.hud, .readout {
  position: fixed;
  z-index: 5;
  display: flex;
  gap: 10px;
  pointer-events: none;
  user-select: none;
}
.hud { top: 18px; left: 18px; }
.readout { right: 18px; bottom: 18px; opacity: .58; }
.pill, .readout span {
  pointer-events: auto;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  color: rgba(238,246,255,.86);
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  box-shadow: inset 0 1px rgba(255,255,255,.09), 0 0 40px rgba(90,140,255,.08);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}
button.pill { cursor: pointer; }
.pill:hover { border-color: rgba(255,255,255,.44); color: white; }
@media (max-width: 760px) {
  .hud { flex-wrap: wrap; top: 10px; left: 10px; right: 10px; }
  .readout { left: 10px; right: auto; bottom: 10px; flex-wrap: wrap; }
  .pill, .readout span { font-size: 9px; padding: 9px 10px; }
}
