:root { color-scheme: dark; background: #172039; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
main { position: relative; width: 100%; height: 100%; height: 100dvh; }
button, input { -webkit-tap-highlight-color: transparent; }
#scene {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden;
  background: transparent; cursor: pointer; touch-action: manipulation;
}
#world {
  display: block; width: 100%; height: 100%; image-rendering: pixelated;
  background: radial-gradient(circle at 58% 35%, #d8c9df 0 9%, transparent 10%), linear-gradient(#172039, #8c7298 60%, #243e53 61%);
}
#scene:focus-visible { outline: 2px solid #d8eee0; outline-offset: -6px; }
.audio-controls {
  position: absolute; right: max(18px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; color: #deeee3;
}
#play {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 10px;
  border: 1px solid #deeee328; border-radius: 50%; color: inherit; background: #162b3b7a;
  backdrop-filter: blur(8px); cursor: pointer;
}
#play:hover { background: #32495eaa; }
#play svg { width: 22px; height: 22px; fill: currentColor; }
.pause-icon, [data-audio="playing"] .play-icon { display: none; }
[data-audio="playing"] .pause-icon { display: block; }
#volume { width: 72px; height: 44px; margin: 0; appearance: none; background: transparent; cursor: pointer; opacity: .7; }
#volume:hover, #volume:focus-visible { opacity: 1; }
#volume::-webkit-slider-runnable-track { height: 2px; background: #deeee380; }
#volume::-webkit-slider-thumb { appearance: none; width: 7px; height: 12px; margin-top: -5px; background: #deeee3; border-radius: 1px; }
#volume::-moz-range-track { height: 2px; background: #deeee380; }
#volume::-moz-range-thumb { width: 7px; height: 12px; border: 0; background: #deeee3; border-radius: 1px; }
#play:focus-visible, #volume:focus-visible { outline: 2px solid #deeee3; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; pointer-events: none; }
