/* The first-paint screen fades over the initial route after authentication. */
.ludup-boot{
  --boot-time:1800ms;
  position:fixed;inset:0;z-index:900;display:grid;place-items:center;overflow:hidden;isolation:isolate;
  padding:24px;padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom));
  background:radial-gradient(ellipse at 67% 26%,#2c2750,transparent 55%),#0a0b1a;
  color:#ebe6ff;font-family:var(--font-body,system-ui,sans-serif);
}
.ludup-boot::before,.ludup-boot::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none}
.ludup-boot::before{
  background:conic-gradient(from 161deg at 79% -18%,transparent 0deg,#8f6cdb35 19deg,#b5a0fe08 39deg,transparent 48deg);
  opacity:.64;
}
.ludup-boot::after{background:radial-gradient(ellipse at center,transparent 29%,#080910bc 97%)}
.boot-core{display:flex;flex-direction:column;align-items:center;text-align:center;width:min(100%,390px)}
.boot-name{
  position:relative;isolation:isolate;width:100%;aspect-ratio:640 / 214;margin:0 0 24px;
}
.boot-name::before{
  content:"";position:absolute;z-index:-1;inset:-43% -18%;pointer-events:none;
  background:radial-gradient(ellipse,#b8a1ef77,transparent 68%);opacity:.38;
}
.boot-faint,.boot-signature,.boot-sheen{position:absolute;inset:0;display:block;width:100%;height:100%}
.boot-faint{opacity:.14}
.boot-signature{filter:drop-shadow(0 0 12px #cfb2ff73)}
.boot-sheen{
  background:linear-gradient(109deg,transparent 31%,#cfb2ff 48%,#fff2dc 51%,transparent 67%) 100% 0 / 300% 100%;
  -webkit-mask:url('/img/profile/ludup-script-v1.webp') center / contain no-repeat;
  mask:url('/img/profile/ludup-script-v1.webp') center / contain no-repeat;
  opacity:0;pointer-events:none;
}
.boot-track{width:80px;height:2px;background:#ffffff22;border-radius:8px;overflow:hidden}
.boot-track span{display:block;width:34px;height:100%;border-radius:inherit;background:#9e8ac8}
.boot-caption{font-size:12px;color:#c9c2dc;margin:10px 0 0}
.boot-recovery{margin-top:20px;font-size:12px;color:#b9b4cb}.boot-recovery[hidden]{display:none}
.boot-retry{
  display:block;margin:12px auto 0;padding:10px 18px;min-height:44px;border:1px solid #a489ff50;
  border-radius:12px;background:#8870ff16;color:#eee8ff;font:inherit;cursor:pointer;
}
.boot-retry:focus-visible{outline:2px solid #c1aaff;outline-offset:4px}
.boot-footer{
  position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:20px;right:20px;
  text-align:center;color:#85839f;font-size:10px;letter-spacing:.6px;
}
@media(max-height:440px){
  .boot-core{width:min(100%,280px)}
  .boot-name{margin-bottom:14px}
  .boot-footer{bottom:max(10px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:no-preference){
  .ludup-boot.boot-leaving{animation:boot-leave 320ms cubic-bezier(.32,0,.25,1) both}
  .ludup-boot:not(.boot-animating) .boot-signature{visibility:hidden}
  .boot-animating::before{animation:boot-spotlight var(--boot-time) ease-in-out both}
  .boot-animating .boot-name::before{animation:boot-halo var(--boot-time) ease-out both}
  .boot-animating .boot-sheen{animation:boot-sheen 1044ms ease-out 720ms both}
  .boot-animating :is(.boot-strokes path,.boot-flourish){
    stroke-dasharray:100 110;animation:boot-write var(--stroke-time) linear var(--stroke-start) both;
  }
  .boot-strokes path:nth-child(1){--stroke-start:108ms;--stroke-time:203ms}
  .boot-strokes path:nth-child(2){--stroke-start:311ms;--stroke-time:153ms}
  .boot-strokes path:nth-child(3){--stroke-start:464ms;--stroke-time:270ms}
  .boot-strokes path:nth-child(4){--stroke-start:734ms;--stroke-time:158ms}
  .boot-strokes path:nth-child(5){--stroke-start:892ms;--stroke-time:74ms}
  .boot-strokes path:nth-child(6){--stroke-start:966ms;--stroke-time:113ms}
  .boot-flourish{--stroke-start:1062ms;--stroke-time:378ms}
  .boot-animating .boot-finish{animation:boot-finish 72ms linear 1008ms both}
  .boot-track span{animation:boot-progress 1.8s ease-in-out infinite}
}
@media(prefers-reduced-motion:reduce){.boot-track span{margin:auto}}
@keyframes boot-write{from{stroke-dashoffset:103}to{stroke-dashoffset:0}}
@keyframes boot-finish{from{opacity:0}to{opacity:1}}
@keyframes boot-spotlight{
  0%{opacity:.13;transform:translateX(20%) rotate(-9deg)}
  70%{opacity:1}
  100%{opacity:.64;transform:translateX(0) rotate(0)}
}
@keyframes boot-halo{0%,32%{opacity:0}75%{opacity:.8}100%{opacity:.38}}
@keyframes boot-sheen{0%{background-position-x:100%;opacity:0}27%,63%{opacity:.88}100%{background-position-x:0;opacity:0}}
@keyframes boot-progress{from{transform:translateX(-100%)}to{transform:translateX(236%)}}
@keyframes boot-leave{from{opacity:1}to{opacity:0}}
