/* The game draws everything itself on the canvas. This page only gives it
   the whole window, a loading line and a way back. */

html,
body {
  margin: 0;
  height: 100%;
  background: #0b1530;
  overflow: hidden;
}

#stage {
  width: 100vw;
  height: 100vh;
}

canvas {
  display: block;
  outline: none;
}

#loading,
#no-script {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #f7ecd6;
  font: 1rem system-ui, sans-serif;
  pointer-events: none;
}

.back {
  position: fixed;
  top: 1rem;
  left: 1rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(247, 236, 214, 0.08);
  color: #f7ecd6;
  font: 600 0.9375rem system-ui, sans-serif;
  text-decoration: none;
}

.back:hover {
  background: rgba(247, 236, 214, 0.16);
}

.back:focus-visible {
  outline: 2px solid #f7ecd6;
  outline-offset: 3px;
}
