/* Visible only when the early theme script enables it. Without JS, content stays visible. */
.app-splash { display: none; }
.show-splash .app-splash {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--bg, #F3F4F7); pointer-events: none;
  opacity: 1; visibility: visible; animation: splash-failsafe 1ms 2500ms forwards;
}
.splash-symbol { width: 112px; height: 98px; overflow: visible; }
.splash-symbol path {
  fill: transparent; stroke: #0A84FF; stroke-width: 1.5; stroke-linejoin: round;
  stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: splash-draw 750ms ease-out forwards, splash-fill 240ms 500ms ease-out forwards;
}
.splash-symbol path:nth-of-type(2) { animation-delay: 75ms, 575ms; }
.splash-symbol path:nth-of-type(3) { animation-delay: 150ms, 650ms; }
.show-splash.splash-ready .app-splash {
  opacity: 0; visibility: hidden; animation: none;
  transition: opacity 180ms ease-out, visibility 0s 180ms;
}
@keyframes splash-draw { to { stroke-dashoffset: 0; } }
@keyframes splash-fill { to { fill: #0A84FF; stroke-opacity: 0; } }
@keyframes splash-failsafe { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .show-splash .app-splash { display: none; }
}
