.app-splash,
.app-splash *,
.app-splash *::before,
.app-splash *::after {
  box-sizing: border-box;
}

.app-splash {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition:
    opacity 220ms ease-in-out,
    visibility 220ms ease-in-out;
}

.app-splash--overlay {
  position: fixed;
  z-index: 9999;
}

.app-splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Roboto, Arial, sans-serif;
  color: #29272b;
  gap: 1.25rem;
}

.app-splash-message {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  color: #29272b;
}

@property --app-splash-lap {
  syntax: "<number>";
  initial-value: 0;
  inherits: true;
}

.app-splash-orbit {
  --app-splash-lap: 0;
  --app-splash-lap-duration: 1.6s;
  position: relative;
  width: 196px;
  height: 196px;
  flex-shrink: 0;
  animation: app-splash-lap var(--app-splash-lap-duration) linear 1 forwards;
}

.app-splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 128px;
  height: 128px;
  transform: translate(-50%, -50%);
}

.app-splash-orbit-track {
  position: absolute;
  inset: 0;
  z-index: 2;
  animation: app-splash-orbit var(--app-splash-lap-duration) linear infinite;
}

.app-splash-trail {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.app-splash-trail-mask-stroke {
  fill: none;
  stroke: #fff;
  stroke-width: 197;
  stroke-dasharray: calc(var(--app-splash-lap) * 100) 100;
}

.app-splash-trail-path {
  fill: none;
  stroke: #9ec8d0;
  stroke-width: 3.5;
  stroke-linecap: butt;
  stroke-dasharray: 7 11;
  opacity: 0.5;
  mask: url(#app-splash-trail-mask);
  -webkit-mask: url(#app-splash-trail-mask);
  animation: app-splash-trail-finish var(--app-splash-lap-duration) linear 1
    forwards;
}

.app-splash-boat {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 44px;
  height: auto;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center center;
}

@keyframes app-splash-lap {
  to {
    --app-splash-lap: 1;
  }
}

@keyframes app-splash-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes app-splash-trail-finish {
  from,
  99.99% {
    mask: url(#app-splash-trail-mask);
    -webkit-mask: url(#app-splash-trail-mask);
  }
  to {
    mask: none;
    -webkit-mask: none;
  }
}
