body {
  margin: 0;
}

html.skip-boot-splash #loading-bg {
  display: none;
}

#loading-bg {
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  inset: 0;
  z-index: 99999999;
}

#loading-bg.ledger-splash {
  overflow: hidden;
  background: #edeffe;
}

#loading-bg.loading-bg--error {
  display: grid;
  place-items: center;
  background: #edeffe;
}

#loading-bg > .system-status {
  position: absolute;
  width: 1200px;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 auto;
  padding: 1rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  line-height: 1.25rem;
}

.ledger-splash__art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.hide {
  visibility: hidden;
}
