html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #1d2b3a;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#game {
  display: block;
  position: fixed;
  inset: 0;
  touch-action: none;
  outline: none;
}

#boot {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fae8c2;
  font: 28px 'Lilita One', system-ui, sans-serif;
  letter-spacing: 0.02em;
  background: #1d2b3a;
  transition: opacity 0.5s ease;
}

body.ready #boot {
  opacity: 0;
  pointer-events: none;
}

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

/* Receives the system keyboard for name entry; the canvas draws what is typed. 16px avoids iOS zoom. */
.name-input {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  border: 0;
  padding: 0;
  font-size: 16px;
}
