/* Launch splash (see boot.js). A file, not inline, so the strict CSP needs no exceptions. */
  #nh-splash { display: none; }
  .nh-splash, .nh-splash body { background: #572bb3; }
  .nh-splash body { overflow: hidden; }
  .nh-splash #nh-splash { display: flex; position: fixed; inset: 0; z-index: 2147483000; align-items: center; justify-content: center;
    background: #572bb3; animation: nhs-out 120ms ease-in 380ms forwards; }
  .nhs-logo { display: block; width: 180px; height: auto; aspect-ratio: 800 / 120; opacity: 0; transform: scale(.9);
    animation: nhs-in 260ms cubic-bezier(.2, .8, .2, 1) forwards; }
  @keyframes nhs-in { to { opacity: 1; transform: none; } }
  @keyframes nhs-out { to { opacity: 0; visibility: hidden; } }
  /* Android app: the system launch screen already shows this logo, so it stays put (no second fade-in)
     and only a short fade-out remains, keeping the whole launch to about half a second. */
  .nh-native .nhs-logo { opacity: 1; transform: none; animation: none; }
  .nh-native.nh-splash #nh-splash { animation: nhs-out 120ms ease-in 130ms forwards; }
  @media (prefers-reduced-motion: reduce) {
    .nhs-logo { opacity: 1; transform: none; animation: none; }
    .nh-splash #nh-splash { animation: nhs-out 100ms linear 200ms forwards; }
  }
