
    /* Splash-only styling kept near the markup for faster parsing. */
    html.formafx-startup-splashing,
    body.formafx-startup-splashing {
      width: 100%;
      height: 100%;
      min-height: 100%;
      overflow: hidden;
      overscroll-behavior: none;
    }

    #splash-background {
      position: fixed;
      inset: 0;
      overflow: hidden;
      background: #000000;
    }

    #splash-wrapper {
      position: fixed;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      width: 100%;
      height: 100%;
      box-sizing: border-box;
      padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0)
        env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
      text-align: center;
      z-index: 1;
      pointer-events: none;
      contain: layout paint size;
    }

    #splash {
      display: block;
      width: 110px;
      height: 110px;
    }

    #splash img {
      display: block;
      width: 110px;
      height: 110px;
      filter: drop-shadow(0 0 18px rgba(255,255,255,0.18));
    }

    .splash-message {
      color: #e7e7e7;
      font-family: "CenturyGothic", "Noto Sans", "Segoe UI", Arial, sans-serif;
      font-size: 14px;
      letter-spacing: 0.3px;
      line-height: 1.3;
    }

    .splash-dots {
      display: inline-flex;
      gap: 3px;
      margin-top: -2px;
    }

    .splash-dots span {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #c5c5c5;
      opacity: 0.32;
      animation: dotPulse 1.4s infinite;
    }

    .splash-dots span:nth-child(2) { animation-delay: 0.2s; }
    .splash-dots span:nth-child(3) { animation-delay: 0.4s; }

    @keyframes dotPulse {
      0%, 20% { opacity: 0.32; transform: translateY(0); }
      45% { opacity: 0.9; transform: translateY(-2px); }
      100% { opacity: 0.32; transform: translateY(0); }
    }
  