*{box-sizing:border-box}
:root{font-family:system-ui,sans-serif;color:#39392d;background:#d4bda5}
body{margin:0;overflow:hidden}
#world,canvas{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}
header{position:fixed;top:max(24px,env(safe-area-inset-top));left:clamp(20px,3vw,52px);pointer-events:none;text-shadow:0 1px 12px #f6e5cf88}
h1{font:normal clamp(25px,2.7vw,46px)/1.08 Georgia,serif;letter-spacing:-.055em;margin:0}
header p{font-size:11px;letter-spacing:.04em;margin:8px 0;color:#514c40}
i{font-style:normal;padding:0 3px}.touch{display:none}
.controls{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));right:clamp(16px,2.5vw,40px);display:flex;align-items:center;gap:16px;padding:7px 16px;background:#faf4e6ee;border:1px solid #fffaeecc;border-radius:14px;box-shadow:0 4px 20px #3c2f201d;backdrop-filter:blur(12px)}
label{display:grid;grid-template-columns:17px auto;column-gap:7px;align-items:center;font-size:12px;font-weight:600}
svg{width:16px;height:16px;stroke:#70674e;stroke-width:1.6;fill:none;stroke-linecap:round}
input[type=range]{--fill:32%;grid-column:1/-1;appearance:none;width:88px;height:23px;margin:0;background:transparent;cursor:pointer}
input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:linear-gradient(90deg,#75775c var(--fill),#d6cfbe var(--fill))}
input[type=range]::-moz-range-track{height:3px;border-radius:3px;background:#d6cfbe}
input[type=range]::-moz-range-progress{height:3px;background:#75775c}
input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border:2px solid #faf5e8;border-radius:50%;background:#515843;box-shadow:0 0 0 1px #7b806a;margin-top:-4.5px}
input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;border:2px solid #faf5e8;background:#515843}
.divider{width:1px;height:28px;background:#d7cfbc}
@media(pointer:coarse){.mouse{display:none}.touch{display:block}}
@media(max-width:600px){header{top:18px}.controls{right:50%;transform:translateX(50%);bottom:max(14px,env(safe-area-inset-bottom))}}
