/* Loaded before the app (index.html), so the first frame of a page already looks like the app: the chosen theme's
   background (theme-boot.js sets it), the page crossfade between documents, and an empty bar where the real one will
   be on pages that have it. No transition name on either bar: React replacing a named element during the crossfade
   ends it at once (measured: after 25 ms), and the same bar in the same place crossfades into itself anyway. */
@view-transition {
  navigation: auto;
}
/* A crossfade between whole pages: an even curve, so the old page sinks while the new one comes up through it
   (a front-loaded curve drops the old page in the first frames, which reads as a flash). */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 340ms;
  animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
html {
  background: #f3f4f7;
}
html[data-theme="dark"] {
  background: #0e0f11;
}
body {
  margin: 0;
}
.boot-bar {
  display: none;
}
html[data-boot-bar] .boot-bar {
  display: block;
  box-sizing: border-box;
  max-width: 1160px;
  margin: 16px auto 0;
  padding: 0 16px;
}
@media (min-width: 640px) {
  html[data-boot-bar] .boot-bar {
    padding: 0 24px;
  }
}
.boot-bar > div {
  height: 60px;
  border-radius: 9999px;
  background: #0b0d17;
  box-shadow:
    0 2px 4px rgba(11, 13, 23, 0.08),
    0 16px 40px rgba(11, 13, 23, 0.18);
}
.boot-bar > div::before {
  content: "";
  display: block;
  position: relative;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d2ff3a;
}
html[data-theme="dark"] .boot-bar > div {
  background: #141518;
  box-shadow: 0 0 0 1px #2a2c31;
}
