:root {
  --ink: #e8e4dc;
  --muted: #8a92a3;
  --line: rgba(224, 215, 198, 0.14);
  --hud: rgba(22, 22, 22, 0.55);
  --font: "Syne", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #181818;
  color: var(--ink);
  font-family: var(--font);
}

.hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 18px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(25, 25, 25, 0.7), transparent);
}

.hud > * { pointer-events: auto; }

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand:hover { color: #d4ff4f; }

.hint {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

#world {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

#world.dragging { cursor: grabbing; }
