body {
  font-family: system-ui, Arial, sans-serif;
  background: #0d1117;
  color: #e6edf3;
  margin: 20px;
}

h1 {
  font-size: 22px;
}

#app {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

canvas#sim {
  background: #11161d;
  border: 1px solid #30363d;
  border-radius: 8px;
}

#panel {
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.buttons {
  display: flex;
  gap: 8px;
}

button {
  flex: 1;
  padding: 8px;
  font-size: 14px;
  background: #21262d;
  color: #e6edf3;
  border: 1px solid #30363d;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  border-color: #4fc3f7;
}

#selected-label {
  margin: 4px 0;
  font-weight: bold;
  color: #4fc3f7;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 4px;
}

input[type="range"] {
  width: 100%;
  accent-color: #4fc3f7;
}

.hint {
  color: #8b949e;
  font-size: 13px;
  max-width: 820px;
}
