html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#gameCanvas { display: block; }

#boot {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-content: center;
  justify-items: center;
  box-sizing: border-box;
  padding: 24px;
  background: #173e5a;
  color: #fff3d8;
  text-align: center;
  font: 15px/1.5 Arial, sans-serif;
}

.boot-compass {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: #dda338;
}

#boot h1 {
  margin: 0 0 30px;
  font: 600 clamp(27px, 5vw, 34px)/1.2 Georgia, serif;
}

#boot-progress {
  display: block;
  width: min(240px, 100%);
  height: 4px;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  appearance: none;
  background: #355970;
  color: #dda338;
}

#boot-progress::-webkit-progress-bar { background: #355970; }
#boot-progress::-webkit-progress-value { background: #dda338; }
#boot-progress::-moz-progress-bar { background: #dda338; }

#boot-progress:indeterminate {
  background: #355970;
}

#boot-progress:indeterminate::-webkit-progress-bar {
  background: linear-gradient(to right, #355970 0% 30%, #dda338 30% 70%, #355970 70% 100%);
}

#boot-status {
  margin: 16px 0 0;
  color: #d2e1e7;
}

#boot.error p {
  max-width: 340px;
  margin: 0 0 24px;
}

#boot button {
  min-height: 46px;
  padding: 10px 26px;
  border: 0;
  border-radius: 6px;
  background: #dda338;
  color: #173e5a;
  font: bold 16px/1.5 Arial, sans-serif;
  cursor: pointer;
}

#boot button:focus-visible {
  outline: 2px solid #fff3d8;
  outline-offset: 5px;
}
