:root {
  --bg: #050506;
  --chrome: #d8dce0;
  --chrome-dim: rgba(216, 220, 224, 0.55);
  --hairline: rgba(216, 220, 224, 0.16);
  --mono: "SF Mono", Menlo, monospace;
}

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

html, body {
  height: 100%;
  background: var(--bg);
  overflow: hidden;
  font-family: Helvetica, Arial, sans-serif;
  color: var(--chrome);
}

.stage {
  position: fixed;
  inset: 0 0 118px 0;
}

.stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.dial {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 118px;
  border-top: 1px solid var(--hairline);
  background: linear-gradient(#08090a, #060607);
  cursor: ew-resize;
}

.dial canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.chrome {
  position: fixed;
  inset: 0 0 118px 0;
  pointer-events: none;
}

.hud-top {
  position: absolute;
  top: 22px;
  left: 28px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--mono);
}

.hud-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--chrome-dim);
}

.hud-work {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--chrome);
}

.hud-hint {
  position: absolute;
  top: 22px;
  right: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-align: right;
  color: var(--chrome-dim);
}

.telemetry {
  position: absolute;
  bottom: 14px;
  right: 28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(216, 220, 224, 0.35);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .stage { inset-bottom: 96px; }
  .dial { height: 96px; }
  .chrome { inset-bottom: 96px; }
  .hud-hint { display: none; }
}
