/* Shown only while Flutter boots; #boot is removed once runApp() returns. */
#boot {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  z-index: 1;
}

#boot-track {
  width: 120px;
  height: 6px;
  background-color: #e6e8eb;
  border-radius: 999px;
  overflow: hidden;
}

#boot-bar {
  height: 100%;
  width: 0;
  background-color: #ffc50a;
  transition: width 0.4s ease;
}

/* The app follows the OS theme on first open, so the boot screen does too —
   otherwise a dark-mode user gets a white flash before the app paints. */
@media (prefers-color-scheme: dark) {
  #boot {
    background-color: #111315;
  }
  #boot-track {
    background-color: #2a2d31;
  }
}
