body{
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}
#app {
    display: flex;
    justify-content: center;
    align-items: center;
}
canvas {
    border: 2px solid #333;
    background-color: #fff;
    border-radius: 8px;
}
.hud {
  margin-top: 16px;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  font-family: system-ui, sans-serif;
  font-size: 14px;
}
.hud button {
  background: #1e3a8a;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
}
.hud button:hover {
  background: #334fc4;
}
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hud {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  background: #ffffffdd;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.playground {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e9ecef;
  border-radius: 10px;
  padding: 10px;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.15);
}

.controls {
  margin-top: 0.5rem;
}

.controls button {
  background: #1e3a8a;
  color: white;
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.controls button:hover {
  background: #274bc1;
}

