html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #d8c4ac;
  font-family: Georgia, 'Times New Roman', serif;
}
#stage {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 18%, #e9d6bd 0%, #d5c0a7 46%, #bfae90 100%);
}
#stage canvas { display: block; }
#panel {
  position: fixed;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(38, 30, 24, 0.72);
  border: 1px solid rgba(255, 235, 205, 0.18);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 22px rgba(40, 25, 15, 0.35);
  user-select: none;
  -webkit-user-select: none;
  z-index: 10;
}
.ctl {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f6dfbc;
  min-width: 44px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.ctl input[type="range"] {
  width: 138px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 3px;
  background: linear-gradient(90deg, #caa06a, #f7d9a0);
  outline: none;
  cursor: pointer;
}
.ctl input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: #ffd9a0;
  border: 2px solid #6b4a26;
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.ctl input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: #ffd9a0;
  border: 2px solid #6b4a26;
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
@media (max-width: 560px) {
  #panel { padding: 8px 10px; gap: 6px; left: 8px; bottom: 8px; }
  .lbl { font-size: 10px; min-width: 36px; letter-spacing: 0.1em; }
  .ctl input[type="range"] { width: 110px; }
}
