:root {
  color-scheme: dark;
  background: #00020a;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #00020a;
  cursor: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

body {
  position: fixed;
  inset: 0;
  font-family: system-ui, sans-serif;
}

#garden {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  background: #00020a;
  cursor: none;
  touch-action: none;
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, transparent 0 46%, rgba(0, 0, 0, 0.14) 72%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.52), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.52));
  mix-blend-mode: multiply;
}

.sr-only {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

noscript {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  color: rgba(225, 232, 255, 0.86);
  font: 500 0.95rem/1.4 system-ui, sans-serif;
  letter-spacing: 0.02em;
}

html.webgl-error body::after {
  content: "Void Garden needs WebGL and network access to load Three.js.";
  position: fixed;
  inset: 1rem;
  display: grid;
  place-items: center;
  color: rgba(225, 232, 255, 0.86);
  font: 500 0.95rem/1.4 system-ui, sans-serif;
  letter-spacing: 0.02em;
  text-align: center;
}
