html { overflow-x: hidden; } /* #game's 100vw includes the scrollbar now that the page scrolls */

html, body {
  margin: 0;
  background: #07070d;
  color: #8a86a8;
  font-family: Menlo, Consolas, "Courier New", monospace;
}

/* The game fills the first screen, exactly as before; #about sits below the fold. */
#play {
  min-height: 100vh;
  box-sizing: border-box;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#wrap {
  padding: 8px;
  background: #1a1726;
  border: 4px solid #2e2940;
  box-shadow: 0 0 0 4px #0d0b14, 0 12px 40px rgba(0, 0, 0, 0.6);
  line-height: 0;
}

#game {
  display: block;
  /* 16:9, as large as fits with room for the frame and hint text */
  width: min(calc(100vw - 48px), calc((100vh - 110px) * 16 / 9));
  height: auto;
  aspect-ratio: 16 / 9;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #000;
}

#hint, #disclaimer {
  margin: 0;
  font-size: 12px;
  text-align: center;
  padding: 0 12px;
}

#disclaimer {
  font-size: 10px;
  color: #5a5670;
}

#about {
  max-width: 68ch;
  margin: 0 auto;
  padding: 32px 20px 64px;
  font-size: 14px;
  line-height: 1.6;
  color: #b8b4cc;
}

#about h1 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.3;
  color: #ffd86a;
}

#about h2 {
  margin: 28px 0 8px;
  font-size: 16px;
  color: #e8e0f0;
}

#about ul { padding-left: 20px; }
#about li { margin: 4px 0; }
#about strong { color: #e8e0f0; }
#about .small { margin-top: 28px; font-size: 11px; color: #5a5670; }
