/* Start-up screen and the one or two bits of chrome the browser edition adds.
   app.css is untouched from the desktop version. */

#mb-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f4f6f8;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #1d2733;
}

.mb-splash-card {
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  padding: 28px 28px 24px;
  box-shadow: 0 10px 30px rgba(20, 35, 55, .08);
  text-align: left;
}

.mb-splash-card h1 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 650;
}

.mb-splash-step {
  margin: 0 0 10px;
  font-weight: 550;
}

.mb-splash-bar {
  height: 8px;
  border-radius: 999px;
  background: #e6ebf1;
  overflow: hidden;
}

.mb-splash-bar > div {
  height: 100%;
  width: 5%;
  border-radius: 999px;
  background: #2f6fb0;
  transition: width .4s ease;
}

.mb-splash-note {
  margin: 16px 0 0;
  font-size: 14px;
  color: #5a6a7d;
}

.mb-splash-err {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fdecec;
  color: #8c1d1d;
  font-size: 14px;
}

/* Hidden until the board is actually running, so nothing flashes half-built. */
body:not(.mb-running) > header,
body:not(.mb-running) > main,
body:not(.mb-running) > aside,
body:not(.mb-running) > .banner,
body:not(.mb-running) > .warnings-panel {
  visibility: hidden;
}
