* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; background: #e6c5ae; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

#app { position: fixed; inset: 0; }
#app canvas { display: block; touch-action: none; }

#vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse at 50% 42%, rgba(0,0,0,0) 52%, rgba(84,48,26,0.30) 100%);
}

#caption {
  position: fixed; top: 16px; left: 20px; z-index: 3; pointer-events: none;
  color: #6d452a; font-size: 12px; font-weight: 600; letter-spacing: 0.30em;
  text-transform: uppercase; opacity: 0.8; text-shadow: 0 1px 0 rgba(255,240,220,0.55);
}
#caption small { display: block; font-size: 9px; letter-spacing: 0.22em; opacity: 0.75; margin-top: 3px; font-weight: 500; }

#hud {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 4;
  display: flex; gap: 18px; align-items: center; justify-content: center;
  padding: 10px 18px; max-width: 94vw; flex-wrap: wrap;
  background: rgba(46, 33, 24, 0.46);
  border: 1px solid rgba(255, 232, 200, 0.26);
  border-radius: 16px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(60, 35, 18, 0.28);
  color: #fff1dd;
}
.ctl { display: flex; align-items: center; gap: 10px; }
.ctl label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  min-width: 42px; opacity: 0.95; user-select: none;
  display: flex; align-items: center; gap: 5px;
}
.ctl label svg { display: block; }
.ctl input[type="range"] {
  width: 132px; height: 22px; accent-color: #ffc46b; cursor: pointer; background: transparent;
}
@media (max-width: 560px) {
  .ctl input[type="range"] { width: 92px; }
  #hud { gap: 10px; padding: 9px 12px; bottom: 10px; border-radius: 14px; }
  .ctl { gap: 7px; }
  .ctl label { min-width: 36px; font-size: 10px; letter-spacing: 0.10em; }
  #caption { top: 10px; left: 12px; font-size: 10px; }
}
