/* Welcome splash (static/splash.js), the same effect as Coco Code's: fade-in with a soft zoom, about 2.6 s on
   screen, then the whole screen fades out in 0.8 s. Every time the home page opens. Light, like the app. */
.splash { position: fixed; inset: 0; z-index: 5000; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #f6f4fd 55%, #ece8fb 100%); color: #1f2328; opacity: 1; transition: opacity .8s ease; cursor: pointer;
  font-family: system-ui, "Segoe UI", sans-serif; }
.splash[hidden] { display: none; }
html.splash-on .splash[hidden] { display: flex; }          /* shown from the first paint: the page never flashes first */
.splash.fade-out { opacity: 0; pointer-events: none; }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; animation: splashZoom 2.5s ease both; }
.splash-mark { position: relative; width: 96px; height: 96px; border-radius: 26px; background: linear-gradient(135deg, #7c5cff, #ff5ca8);
  box-shadow: 0 12px 40px 4px rgba(124, 92, 255, .35), 0 0 90px 24px rgba(255, 92, 168, .16); }
.splash-mark::after { content: ""; position: absolute; left: 38px; top: 27px; border-left: 33px solid #fff;
  border-top: 21px solid transparent; border-bottom: 21px solid transparent; }   /* the play sign of the app's logo */
.splash-word { font-weight: 700; font-size: clamp(26px, 6vw, 40px); letter-spacing: .38em; margin-right: -.38em; margin-top: 8px; }
.splash-by { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .12em; color: #6b7280; }   /* written as given: «by O.A.R.» */
.splash-line { width: 36px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #7c5cff, #ff5ca8); }
.splash-tag { max-width: 34ch; font-size: 15px; line-height: 1.45; color: #4b5563; margin-top: 6px; text-wrap: balance; }
@keyframes splashZoom {
  0% { opacity: 0; transform: scale(.92); }
  18% { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.04); }
}
.splash.reduced { transition-duration: .2s; }
.splash.reduced .splash-inner { animation: none; }
@media (prefers-reduced-motion: reduce) { .splash { transition-duration: .2s; } .splash-inner { animation: none; } }
