:root { color-scheme: light; background: #203f36; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; touch-action: none; }
body {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 12%, rgba(246,206,104,.22), transparent 30%),
    radial-gradient(circle at 82% 86%, rgba(116,169,111,.24), transparent 34%),
    #203f36;
  font-family: "Avenir Next Rounded", "Arial Rounded MT Bold", "PingFang SC", sans-serif;
}
#app { width: 100%; height: 100%; display: grid; place-items: center; padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
canvas {
  display: block;
  width: min(100%, calc(100vh * 1.6));
  height: auto;
  max-height: 100%;
  border-radius: clamp(15px, 2vw, 30px);
  box-shadow: 0 28px 75px rgba(4, 20, 15, .45), inset 0 0 0 2px rgba(255,255,255,.35);
  background: #fff9dc;
}
.sr-only { position: fixed; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-aspect-ratio: 4/5) {
  canvas { width: 100%; max-height: none; }
}
@media (prefers-reduced-motion: reduce) { canvas { scroll-behavior: auto; } }
