* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  width: 100%; height: 100%;
  background: #0a0a12;
  overflow: hidden;
  font-family: monospace;
  user-select: none;
}
#game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
}
canvas#world {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #0e0e1a;
  border: 2px solid #2a2a3a;
}
#hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 768px;
  height: 28px;
  padding: 0 8px;
  background: #0e0e1a;
  border: 2px solid #2a2a3a;
  border-top: none;
  color: #ccc;
  font-size: 14px;
  font-family: monospace;
}
#hud-lives {
  display: flex;
  gap: 3px;
  align-items: center;
}
#hud-lives .life-icon {
  width: 10px; height: 10px;
  background: #e33;
  border-radius: 50%;
  display: inline-block;
}
#hud-hoops {
  color: #5cf;
  font-size: 13px;
  letter-spacing: 1px;
}
#hud-score {
  color: #fd0;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: right;
}
