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

body {
  background: #111;
  color: #eee;
  font-family: system-ui, sans-serif;
  overflow: hidden;
}

#controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #222;
  border-bottom: 1px solid #333;
}

#controls input {
  background: #333;
  color: #eee;
  border: 1px solid #444;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
}

#controls button {
  background: #4a9eff;
  color: #fff;
  border: none;
  padding: 4px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

#controls button:hover { background: #3a8eef; }

#status { font-size: 13px; color: #aaa; }
#stats { font-size: 13px; color: #888; margin-left: auto; }

#viewport {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 41px);
  background: #000;
}

.cursor-overlay {
  position: absolute;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(0, 0, 0, 0.6);
  pointer-events: none;
  display: none;
  z-index: 10;
}

#viewport:fullscreen {
  height: 100vh;
}

#gameCanvas {
  max-width: 100%;
  max-height: 100%;
  cursor: none;
}
