/* Color of Sound — Android API 22 / old WebView compatible CSS
   Intentionally avoids:
   - CSS Grid
   - aspect-ratio
   - min()/max()/clamp()
   - CSS custom properties
   - prefers-reduced-motion
   - modern layout dependencies

   The SVG viewBox handles the square composition and centers it inside
   whatever screen shape the device has.
*/

* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000000;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

  user-select:none;
  -webkit-touch-callout:none;
  touch-action: pan-y;
}

button:focus {
    outline: 0;
}

/* Fill the whole screen.
   The SVG itself preserves its 1:1 viewBox and centers automatically. */
#app {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000000;
}

#wheel {
  display: block;
  width: 100%;
  height: 100%;
}

/* The artwork is visual only. */
#bg-art {
  pointer-events: none;
}

/* Black dimming masks. */
.veil-slice,
.veil-center {
  fill: #000000;
  pointer-events: none;
}

/* Invisible touch targets. */
.note-hit,
.center-hit {
  fill: rgba(255, 255, 255, 0);
  stroke: none;
  cursor: pointer;
}
