:root {
  color-scheme: dark;
  background: #000;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 36% 28%, rgba(112, 164, 178, 0.14), transparent 28%),
    radial-gradient(circle at 74% 62%, rgba(104, 55, 43, 0.14), transparent 28%),
    #000;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#scene-root {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
}

#pistons-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}

.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;
}

.sr-only button:focus {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  color: #fff;
  background: #000;
  border: 1px solid #70a4b2;
  outline: 2px solid #b8c76f;
  white-space: normal;
}
