* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #0c1f16;
}

main {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

canvas {
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

#fallback,
noscript {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(30rem, 86vw);
  margin: 0;
  padding: 1.25rem 1.5rem;
  font: 16px/1.5 Georgia, 'Times New Roman', serif;
  color: #efe6c8;
  background: #10261b;
  border: 1px solid #efe6c8;
}

#fallback code {
  font: 0.9em ui-monospace, Menlo, Consolas, monospace;
  color: #f5e663;
}
