*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, sans-serif;
  background: #0a0a0a;
  color: #fafafa;
  overflow: hidden;
}

#canvas {
  position: fixed;
  top: 0;
  left: 0;
  cursor: crosshair;
}

#controls {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  align-items: center;
  z-index: 10;
  background: rgba(0,0,0,0.6);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(0,255,150,0.2);
  backdrop-filter: blur(6px);
}

#controls button,
#controls select {
  background: rgba(0,255,150,0.1);
  color: #0f9;
  border: 1px solid rgba(0,255,150,0.3);
  border-radius: 0.4rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

#controls button:hover,
#controls select:hover {
  background: rgba(0,255,150,0.25);
}

#controls select option {
  background: #111;
  color: #0f9;
}

#gen-counter {
  font-size: 0.75rem;
  color: rgba(0,255,150,0.6);
  letter-spacing: 0.1em;
  min-width: 6rem;
}

#hint {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.35;
  pointer-events: none;
  z-index: 10;
  transition: opacity 1s;
  white-space: nowrap;
}
