/* The first paint, before the app has loaded: the page has its theme colour and never flashes white. On a cold
   open the colour is the one of the stage the badge hangs on, the app mark on it as on the splash of the system.
   Loaded as a blocking file so it holds in development too, where the styles of the app arrive with the script. */
html {
  background: #ffffff;
}

html[data-theme='dark'] {
  background: #14161b;
}

html[data-boot='cold'] {
  background: #a5d2ff;
}

html[data-boot='cold'][data-theme='dark'] {
  background: #213a63;
}

#boot,
#boot-mark {
  display: none;
}

html[data-boot='cold'] #boot {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: block;
  border-top: 2px solid #333333;
  background: #a5d2ff;
}

html[data-boot='cold'][data-theme='dark'] #boot {
  border-top-color: #ecebe8;
  background: #213a63;
}

html[data-boot='cold'] #boot-mark {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 70;
  display: block;
  width: 7rem;
  height: auto;
  margin: -2.07rem 0 0 -3.5rem;
  pointer-events: none;
}
