@font-face {
  font-family: "UOFont";
  src: url("uofont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font:
    16px / 1.5 system-ui,
    sans-serif;
  background: #000;
  color: #e8dfca;
}
body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #000;
  background-image: url("poster.jpeg");
  background-attachment: fixed;
  background-size: cover;
  background-position: bottom 0 right 0;
}
canvas {
  background: #000;
  display: block;
  max-width: 100vw;
  max-height: 100dvh;
  object-fit: contain;
  outline-offset: -2px;
  touch-action: none;
}
canvas.game-ready {
  /* biome-ignore lint/complexity/noImportantStyles: the game draws its own cursor, and SDL sets the canvas cursor inline, which only !important outranks */
  cursor: none !important;
  user-select: none;
  -webkit-user-select: none;
}
canvas:focus-visible,
button:focus-visible {
  outline: 2px solid #d8b56b;
}
main {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #000;
  text-align: center;
}
main[hidden],
button[hidden] {
  display: none;
}
p {
  max-width: 46rem;
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}
#detail {
  font-size: 14px;
}
progress {
  width: min(360px, 85vw);
  margin-bottom: 24px;
  accent-color: #d8b56b;
}
button {
  color: #e8dfca;
  background: #242017;
  border: 1px solid #d8b56b;
  border-radius: 2px;
  padding: 10px 18px;
  font: inherit;
  cursor: pointer;
}
