.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  padding-top: var(--statusbar-h);
  background: radial-gradient(130% 95% at 50% 0%, var(--bg-top) 0%, var(--bg) 48%, var(--bg-deep) 100%);
  transition: opacity 200ms var(--ease-out);
}

.splash.is-leaving {
  opacity: 0;
}

.splash__name {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.6px;
  color: var(--muted);
}

.splash__mark {
  position: relative;
  width: 120px;
  height: 22px;
}

.splash__dot,
.splash__line,
.splash__halo {
  position: absolute;
  animation-duration: 4.8s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1);
  will-change: transform, opacity;
}

.splash__dot {
  top: 0;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0;
}

.splash__dot--1 { left: 0; animation-name: splash-d1; }
.splash__dot--2 { left: 49px; animation-name: splash-d2; }
.splash__dot--3 { left: 98px; background: var(--amber); animation-name: splash-d3; }

.splash__line {
  top: 10px;
  width: 27px;
  height: 2px;
  border-radius: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left center;
}

.splash__line--1 { left: 22px; animation-name: splash-l1; }
.splash__line--2 { left: 71px; animation-name: splash-l2; }

.splash__halo {
  left: 98px;
  top: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  opacity: 0;
  animation-name: splash-halo;
  animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1);
}

@keyframes splash-d1 {
  0%, 6% { opacity: 0; transform: scale(0.55); }
  15%, 93% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.55); }
}

@keyframes splash-l1 {
  0%, 14% { transform: scaleX(0); }
  26%, 86% { transform: scaleX(1); }
  95%, 100% { transform: scaleX(0); }
}

@keyframes splash-d2 {
  0%, 25% { opacity: 0; transform: scale(0.55); }
  34%, 80% { opacity: 1; transform: scale(1); }
  87%, 100% { opacity: 0; transform: scale(0.55); }
}

@keyframes splash-l2 {
  0%, 33% { transform: scaleX(0); }
  45%, 74% { transform: scaleX(1); }
  82%, 100% { transform: scaleX(0); }
}

@keyframes splash-d3 {
  0%, 44% { opacity: 0; transform: scale(0.55); }
  54%, 68% { opacity: 1; transform: scale(1); }
  75%, 100% { opacity: 0; transform: scale(0.55); }
}

@keyframes splash-halo {
  0%, 52% { opacity: 0; transform: scale(1); }
  56% { opacity: 0.7; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.9); }
}
