:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #eaf2ff;
  color: #172033;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  display: grid;
  min-height: 100svh;
  height: 100svh;
  place-items: start center;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.95), transparent 25%),
    linear-gradient(180deg, #f7fbff, #dbe9ff);
  padding: 0;
}

.game-shell {
  display: grid;
  width: 100%;
  height: 100svh;
  place-items: start center;
}

canvas {
  display: block;
  width: min(100vw, calc(100svh * 16 / 9));
  max-height: 100svh;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(51, 78, 120, 0.18);
  border-radius: 8px;
  background: #f7fbff;
  box-shadow: 0 1.2rem 2.8rem rgba(51, 78, 120, 0.16);
  touch-action: none;
}

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

@media (max-width: 760px) {
  canvas {
    width: 100vw;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
}
