#loading-screen {
  position: absolute;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--safe-inset);
  padding-bottom: 48px;
  background: var(--color-loading-surface);
  color: var(--color-text);
  outline: none;
}
#build-version {
  position: absolute;
  z-index: 31;
  left: 12px;
  bottom: 28px;
  font-size: 14px;
  line-height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}
#loading-screen[hidden], #loading-actions[hidden] { display: none; }
.loading-card { width: 440px; text-align: center; }
.loading-soul { color: var(--color-good); font-size: 76px; }
.loading-card h1 { margin: 14px 0; font-size: 36px; }
.loading-card p { font-size: 18px; line-height: 1.4; }
#loading-progress { width: 100%; height: 24px; accent-color: var(--color-good); }
#loading-count, .loading-card .loading-hint { font-size: 16px; color: var(--color-text-muted); }
#loading-actions { display: grid; gap: 14px; margin: 18px 0; }
#loading-actions button {
  min-height: 64px;
  border: 3px solid var(--color-accent-soft);
  border-radius: var(--radius-md);
  background: var(--surface-control-bottom);
  color: var(--color-text);
  font-size: 20px;
  font-weight: 700;
}
#loading-actions button:focus { outline: 4px solid var(--color-star); outline-offset: 3px; }
