html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f2f0eb;
}

/* p5 default main canvas + our id */
canvas,
#artwork {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100vw, 100vh);
  height: min(100vw, 100vh);
  /* Helps iOS treat the canvas as the gesture target. */
  touch-action: manipulation;
  cursor: pointer;
}

#audio-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  padding: 1.25rem;
  border: 0;
  background: rgba(26, 26, 26, 0.55);
  color: #f7f4ef;
  font: 600 1.05rem/1.35 system-ui, sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

#audio-gate small {
  font-weight: 400;
  font-size: 0.85rem;
  opacity: 0.85;
}
