.app-loading-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #eef4fa;
  color: #344a5e;
  font: 500 14px system-ui, sans-serif;
}

.app-loading-shell::before {
  content: '';
  width: 30px;
  height: 30px;
  box-sizing: border-box;
  border: 2px solid #c8dbee;
  border-top-color: #357ec5;
  border-right-color: #008477;
  border-radius: 50%;
  animation: app-loading-spin 1s linear infinite;
}

.app-loading-route {
  inset: 56px 0 0;
  background: rgba(238, 244, 250, .82);
  pointer-events: none;
  animation: app-loading-appear 180ms ease 140ms both;
}

@keyframes app-loading-spin {
  to { transform: rotate(1turn); }
}

@keyframes app-loading-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .app-loading-shell::before { animation: none; }
  .app-loading-route { animation-timing-function: steps(1, end); }
}
