body.feedback-open {
  overflow: hidden;
}

.task-loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  box-sizing: border-box;
  margin: 0;
  padding: 24px;
  border: 0;
  color: #f1f7ff;
  background: #001126;
  overflow: clip;
  isolation: isolate;
  display: none;
}

.task-loader[open] {
  display: grid;
  place-items: center;
}

.task-loader::backdrop {
  background: transparent;
}

.loading-backdrop,
.task-loader::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loading-backdrop {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 55%;
  opacity: .66;
}

.task-loader::before {
  content: "";
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 44%, #06355a72, transparent 53%),
    linear-gradient(180deg, #00112695, #042143bf 52%, #001126eb);
}

.loading-content {
  display: grid;
  justify-items: center;
  text-align: center;
  min-width: 0;
}

.loading-mark {
  position: relative;
  width: clamp(100px, 24vw, 146px);
  aspect-ratio: 512 / 466;
  margin-bottom: 23px;
  isolation: isolate;
}

.loading-mark::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: -1;
  background: radial-gradient(ellipse, #00a0ed22, transparent 65%);
}

.loading-mark img,
.loading-mark svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.loading-mark img {
  opacity: .76;
}

.loading-trace {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loading-trace-base {
  stroke: #58c8ff;
  stroke-width: 5;
  opacity: .39;
}

.loading-trail use {
  stroke-dashoffset: var(--trace-start, 0);
  animation: logo-contour 1.8s linear infinite;
  animation-delay: var(--trace-elapsed, 0ms);
}

.loading-trail-wake {
  stroke: #2bbaff;
  stroke-width: 14;
  stroke-dasharray: 184 816;
  opacity: .43;
  filter: drop-shadow(0 0 13px #38caff);
}

.loading-trail-tip {
  stroke: #dcfdff;
  stroke-width: 10;
  stroke-dasharray: 103 897;
}

.loading-brand {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(30px, 5.8vw, 41px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.loading-brand span {
  color: #31b9ff;
}

.loading-label {
  max-width: 360px;
  margin: 12px 0 0;
  color: #d1e5fc;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.task-loader[data-navigation="departing"][open] {
  animation: loading-appear .12s ease-out both;
}

.task-loader.page-ready {
  animation: loading-reveal .19s ease both;
}

@keyframes logo-contour {
  to { stroke-dashoffset: calc(var(--trace-start, 0) - 1000); }
}

@keyframes loading-appear {
  from { opacity: 0; }
}

@keyframes loading-reveal {
  to { opacity: 0; }
}

.reduced-motion .task-loader[open],
.reduced-motion .loading-trail use {
  animation: none !important;
}

.reduced-motion .loading-trail {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .task-loader[open],
  .loading-trail use {
    animation: none !important;
  }

  .loading-trail {
    display: none;
  }
}
