html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(120% 95% at 50% 32%, #ddc7bb 0%, #a08983 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(12px + env(safe-area-inset-left));
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(52, 34, 26, 0.38);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff3e6;
  font-size: 12px;
  letter-spacing: 0.02em;
  z-index: 2;
}

#ui label { cursor: default; }

#ui input[type="range"] {
  width: 118px;
  margin: 0;
  accent-color: #d9572b;
  touch-action: auto;
}

#hint {
  position: fixed;
  right: calc(12px + env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
  color: rgba(255, 245, 235, 0.75);
  font-size: 11px;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 480px) {
  #hint { display: none; }
  #ui input[type="range"] { width: 100px; }
}
