html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 38%, #b9a8a0 0%, #9a8a84 55%, #75685f 100%);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-user-select: none;
  user-select: none;
}
#app, #app canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
#ui {
  position: fixed;
  left: calc(10px + env(safe-area-inset-left));
  bottom: calc(10px + env(safe-area-inset-bottom));
  padding: 6px 10px;
  border-radius: 9px;
  background: rgba(40, 28, 20, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fbeedd;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 2;
}
#ui label {
  display: flex;
  align-items: center;
  gap: 8px;
}
#ui span {
  width: 34px;
  letter-spacing: 0.02em;
}
#ui input[type=range] {
  width: 120px;
  margin: 4px 0;
  accent-color: #f0b21a;
}
#hint {
  position: fixed;
  right: calc(10px + env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
  color: rgba(255, 245, 230, 0.6);
  font-size: 11px;
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 480px) {
  #hint { display: none; }
  #ui input[type=range] { width: 104px; }
}
