#splash {
  position: fixed; inset: 0; z-index: 1000; overflow: hidden; cursor: pointer;
  background: radial-gradient(ellipse at 50% 38%, #ffffff 0%, #e6eff9 45%, #bed3ea 100%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.55s ease;
}
#splash.out { opacity: 0; pointer-events: none; }
#splash .splash-snow { position: absolute; inset: 0; width: 100%; height: 100%; }
#splash .splash-center {
  position: relative; display: flex; flex-direction: column; align-items: center;
  animation: splash-in 0.9s cubic-bezier(.2,.9,.3,1.2) both;
}
#splash .splash-drift {
  position: absolute; left: -5%; right: -5%; bottom: -40px; height: 90px;
  background: #ffffff; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -6px 18px rgba(13,32,55,0.06);
}
#splash .splash-hint {
  position: absolute; bottom: 14px; left: 0; right: 0; text-align: center;
  color: #7C8388; font: 500 13px/1 "League Spartan", system-ui, sans-serif; letter-spacing: 0.15em;
  animation: splash-fade 0.6s 1.4s ease both;
}
@font-face {
  font-family: 'Luckiest Guy'; font-style: normal; font-weight: 400; font-display: block;
  src: url(fonts/luckiest-guy.woff2) format('woff2');
}
#splash .splash-title { display: block; width: min(86vw, 104vh, 760px); height: auto; overflow: visible; margin-bottom: 0.6em; }
#splash .splash-credit {
  animation: splash-fade 0.8s 0.7s ease both;
  color: #7C8388; text-align: center;
  font: 500 clamp(15px, 3.2vh, 26px)/1.35 "League Spartan", system-ui, sans-serif; letter-spacing: 0.04em;
}
#splash .splash-collab b { font-family: Spectral, Georgia, serif; font-size: 1.3em; }
#splash .splash-built { margin-top: 0.5em; font-size: 0.8em; animation: splash-fade 0.8s 0.6s ease both; }
#splash .splash-credit b, #splash .splash-reason { color: #0D2037; font-weight: 700; white-space: nowrap; }
#splash .splash-reason img { width: 1.15em; height: 1.15em; vertical-align: -0.2em; margin-right: 0.3em; }
@keyframes splash-in { from { opacity: 0; transform: translateY(-18px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes splash-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  #splash .splash-center, #splash .splash-credit, #splash .splash-built, #splash .splash-hint { animation: none; }
}
