/* Entry-document skeleton: what the installed application shows in the moment
   between the platform's splash screen and the real shell arriving. Painted
   from the device, so it must not depend on a webfont or a background image. */
.fs-app-shell {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--fs-space-4);
  background: var(--fs-color-canvas);
}

.fs-app-shell__panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 34ch;
  text-align: center;
}

.fs-app-shell__spinner {
  width: 34px;
  height: 34px;
  border: 2px solid color-mix(in srgb, var(--fs-color-primary) 18%, transparent);
  border-top-color: var(--fs-color-primary);
  border-right-color: color-mix(in srgb, var(--fs-color-primary) 58%, transparent);
  border-radius: 50%;
  animation: fs-loader-spin 0.72s linear infinite;
}

.fs-app-shell__note {
  color: var(--fs-color-text-muted);
  font-size: 0.9rem;
}

/* Shown in place of the spinner once loading has actually failed, so the
   application is never a blank screen the user cannot act on. */
.fs-app-shell__title {
  font-size: 1.05rem;
  font-weight: 600;
}

.fs-app-shell__retry {
  padding: 11px 22px;
  border: 0;
  border-radius: var(--fs-radius-md);
  background: var(--fs-color-primary);
  color: #fff;
  font: inherit;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .fs-app-shell__spinner {
    animation-duration: 1.5s;
  }
}
