html, body { margin: 0; background: #ffffff; }
      .dark-splash, .dark-splash body { background: #141414; }
      #splash {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        transition: opacity 0.4s ease;
      }
      .dark-splash #splash { background: #141414; }
      #splash img {
        width: 320px;
        height: auto;
        animation: splash-fade-in 0.5s ease both;
      }
      #splash .splash-title {
        margin-top: 24px;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        font-size: 38px;
        font-weight: 600;
        letter-spacing: 1px;
        color: rgba(0, 0, 0, 0.65);
        animation: splash-fade-in 0.5s 0.25s ease both;
      }
      .dark-splash #splash .splash-title { color: rgba(255, 255, 255, 0.65); }
      #splash.hidden { opacity: 0; pointer-events: none; }
      @keyframes splash-fade-in {
        from { opacity: 0; transform: translateY(6px); }
        to   { opacity: 1; transform: translateY(0); }
      }
