:root {
  color-scheme: dark;
  background: #000;
  color: #d9dee2;
  font:
    15px/1.5 system-ui,
    sans-serif;
}

html,
body,
#canvas {
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  overflow: hidden;
  touch-action: none;
}

#canvas {
  display: block;
  /* A held finger belongs to the game, not to the browser's callouts. */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#canvas:focus {
  outline: none;
}

#status {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px;
  background: #000;
  text-align: center;
}

[data-godot="running"] #status {
  display: none;
}

.name {
  margin: 0;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8a959c;
}

#progress {
  width: min(320px, 70vw);
  accent-color: #d9dee2;
}

#notice {
  max-width: 34em;
  margin: 0;
  white-space: pre-line;
}

[data-godot="failed"] #progress {
  display: none;
}
