html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #05060a;
  overflow: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

#field {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  touch-action: none;
}

#hud {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 10;
  color: rgba(240, 250, 255, 0.88);
  user-select: none;
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  background: rgba(18, 28, 36, 0.82);
  color: rgba(240, 250, 255, 0.9);
  border: 1px solid rgba(120, 180, 200, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  cursor: pointer;
}

.btn:hover {
  border-color: rgba(120, 220, 210, 0.45);
}

.btn.danger {
  border-color: rgba(255, 120, 120, 0.35);
}

.hint {
  margin-top: 10px;
  max-width: 560px;
  line-height: 1.35;
  font-size: 13px;
  opacity: 0.9;
  background: rgba(10, 14, 18, 0.35);
  border: 1px solid rgba(120, 180, 200, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
}
