/*
 * Loading badge shown by index.html until the app's code has loaded; the app then
 * draws the same badge itself (SplashPage in src/pages/NoticePages.tsx). The theme
 * variables are not on the page yet, so the brand colours are written out here:
 * siteNavy #0B0C40, siteGold #E8B43A, and the page / border colours of both schemes.
 */
.boot-splash {
  display: flex;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  background: #fffaf8;
}
.boot-splash__badge {
  position: relative;
  width: 168px;
  height: 168px;
}
.boot-splash__ring {
  position: absolute;
  inset: -12px;
  border: 7px solid #f3dcd6;
  border-top-color: #e8b43a;
  border-radius: 999px;
  animation: boot-splash-spin 1s linear infinite;
}
.boot-splash__face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border-radius: 999px;
  background: #0b0c40;
}
.boot-splash__face img {
  width: 112%;
  max-width: none;
  height: auto;
  margin-bottom: -6%;
}
@keyframes boot-splash-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-color-scheme: dark) {
  .boot-splash {
    background: #1a0f1e;
  }
  .boot-splash__ring {
    border-color: #3a2840;
    border-top-color: #e8b43a;
  }
}
@media (prefers-reduced-motion: reduce) {
  .boot-splash__ring {
    animation: none;
  }
}
