/* SPDX-License-Identifier: LicenseRef-LiberUnda-Freeware — Copyright (C) 2026 Christophe Nutoni. All rights reserved. */
/* Freeware, not open source: see EULA.md. */
/* Launch screen of the free edition (splash.js). The veil covers the page from the first paint
   until the script has decided; without the script it fades by itself after 4 s. */
html:not(.lu-splash-done) body::after { content: ""; position: fixed; inset: 0; z-index: 9998; background: radial-gradient(120% 90% at 50% 110%, #152740 0%, #0B0D10 60%); animation: ls-veil 0.3s ease 4s forwards; }
@keyframes ls-veil { to { opacity: 0; visibility: hidden; } }
.lu-splash { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 32px; box-sizing: border-box; overflow: hidden; cursor: default;
  background: radial-gradient(120% 90% at 50% 110%, #152740 0%, #0B0D10 60%); color: #E8EAED; font-family: var(--sans); transition: opacity 0.42s ease; }
.lu-splash.out { opacity: 0; pointer-events: none; }
.ls-wave { display: flex; align-items: center; gap: 9px; height: 96px; }
.ls-wave span { width: 14px; border-radius: 7px; transform-origin: center; animation: ls-wave 1.6s ease-in-out infinite; }
@keyframes ls-wave { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
.ls-name { font-family: 'Helvetica Neue', Helvetica, var(--sans); font-size: 64px; font-weight: 500; letter-spacing: -2px; color: #FFFFFF; line-height: 1; }
.ls-tag { margin-top: -10px; font-size: 15px; color: #C9CED6; }
.ls-load { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 8px; }
.ls-bar { height: 6px; border-radius: 3px; background: #1B2027; overflow: hidden; }
.ls-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #4C9EFF, #3DD68C); transition: width 0.3s ease; }
.ls-step { display: flex; justify-content: space-between; gap: 12px; min-height: 18px; font-size: 13px; color: #E8EAED; }
.ls-step span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-step span:last-child { font-family: var(--mono); color: #A7AFBA; }
.ls-foot { position: absolute; left: 24px; right: 24px; bottom: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #A7AFBA; }
.ls-foot b { padding: 2px 6px; border-radius: 4px; background: #3DD68C; color: #0B0D10; }
@media (max-width: 640px) { .ls-name { font-size: 44px; } .ls-wave { transform: scale(0.75); } }
@media (prefers-reduced-motion: reduce) { .ls-wave span { animation: none; } .lu-splash, .ls-bar i { transition: none; } }

/* The version, in plain sight at every start (25/11/2026, Christophe). */
.ls-ver { margin-top: 4px; padding: 3px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font: 600 14px ui-monospace, Menlo, monospace; color: #FFFFFF; letter-spacing: .02em; }
