/* The page around the canvas: the app's page background (docs/design.md), so nothing flashes while it loads; light
   when the browser prefers light, as the app's System appearance does (REQ-020-02). */
html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #1f1f1f;
  color: #f2f2f2;
  font: 15px/1.5 system-ui, sans-serif;
}

#good-gallery {
  display: block;
  width: 100%;
  height: 100%;
}

/* Why the page can't run (REQ-019-01), instead of a blank page. */
#problem,
#noscript {
  display: none;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background: #1f1f1f;
}

#noscript {
  display: flex;
}

@media (prefers-color-scheme: light) {
  html,
  body,
  #problem,
  #noscript {
    background: #f4f4f4;
    color: #1a1a1a;
  }
}
