/* The page's own chrome: the canvas and nothing else.
 *
 * The stock template's logo bar, footer and fullscreen button are all gone - the boot overlay in
 * boot.css is the entire visual identity of this page, and a Unity-branded strip underneath it
 * would be the fourth screen the whole design exists to avoid.
 *
 * The ground colour is repeated in boot.css, which is GENERATED from BootLayout. This file is
 * hand-written, so it deliberately does not restate any measurement - only the fact that the page
 * fills the window and does not scroll. */

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

#unity-container {
  position: absolute;
  inset: 0;
}

/* Fills the viewport rather than the stock template's fixed WIDTHxHEIGHT pixel box, which would
 * letterbox the game into a corner on every screen that is not exactly the authored size. */
#unity-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #0f0d14;
}

/* Unity's canvas takes keyboard focus; the focus ring around the whole viewport is noise. */
#unity-canvas:focus {
  outline: none;
}
