html.ged-booting .workspace { grid-column: 2 / -1; }

/* The boot illustration is centered in the full browser viewport, not in
   the GED workspace column (which starts after the left sidebar). */
html.ged-booting #gedStartupScreen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  box-sizing: border-box;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.ged-startup-village {
  display: block;
  width: min(100%, 1110px, calc((100dvh - 200px) * 1.79594));
  height: auto;
  aspect-ratio: 1681 / 936;
  object-fit: contain;
  user-select: none;
}

.ged-startup-status {
  width: min(100%, 690px);
  margin-top: 20px;
  color: #07326b;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

.ged-startup-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.ged-startup-caption p { margin: 0 0 10px; font-weight: 600; }
#gedStartupPercent { flex: none; font-variant-numeric: tabular-nums; color: #39716d; }
#gedStartupProgress {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 13.5px;
  overflow: hidden;
  border: 0;
  border-radius: 7.5px;
  background: #dbe6e8;
  color: #137d85;
  box-shadow: inset 0 1px 2px #07326b12;
}
#gedStartupProgress::-webkit-progress-bar { background: #dbe6e8; border-radius: 7.5px; }
#gedStartupProgress::-webkit-progress-value {
  border-radius: 7.5px;
  background: linear-gradient(90deg, #164e83, #168681, #49a18c);
  transition: width 180ms ease-out;
}
#gedStartupProgress::-moz-progress-bar {
  border-radius: 7.5px;
  background: linear-gradient(90deg, #164e83, #168681, #49a18c);
}
#gedStartupRetry {
  margin-top: 18px;
  padding: 8px 16px;
  border: 1px solid #a9c9ce;
  border-radius: 5px;
  background: #fff;
  color: #07326b;
  font: inherit;
  cursor: pointer;
}
#gedStartupRetry:focus-visible { outline: 2px solid #147f88; outline-offset: 3px; }

@media (max-width: 720px) {
  html.ged-booting #gedStartupScreen { position: fixed; z-index: 10000; padding: 20px; }
  .ged-startup-status { margin-top: 14px; }
}
@media (max-height: 480px) {
  .ged-startup-status { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  #gedStartupProgress::-webkit-progress-value { transition: none; }
}
