html, body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #0b0f14;
  color: #e8eef7;
}

.wrap {
  height: 100%;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 16px;
  box-sizing: border-box;
}

.hud, .help {
  width: min(900px, 95vw);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.muted { opacity: 0.75; }

canvas {
  border: 1px solid rgba(232, 238, 247, 0.25);
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
}

/* --- Controls (dropdowns) --- */
.hud label {
  font-size: 14px;
  opacity: 0.95;
}

.hud select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: rgba(255, 255, 255, 0.06);
  color: #e8eef7;
  border: 1px solid rgba(232, 238, 247, 0.25);
  border-radius: 10px;
  padding: 6px 30px 6px 10px;

  font: inherit;
  line-height: 1.2;
  cursor: pointer;

  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.hud select:hover {
  border-color: rgba(232, 238, 247, 0.45);
  background: rgba(255, 255, 255, 0.09);
}

.hud select:focus {
  outline: none;
  border-color: rgba(80, 255, 140, 0.6);
  box-shadow: 0 0 0 3px rgba(80, 255, 140, 0.15);
}

/* little dropdown arrow */
.hud .selectWrap {
  position: relative;
}

.hud .selectWrap::after {
  content: "▾";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.7;
}

/* Make dropdown options readable */
.hud select option {
  background: #0b0f14;  /* dark menu */
  color: #e8eef7;       /* light text */
}