/* Available before the application bundle. No images or JavaScript needed. */
.startupLoader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #e8f3eb;
  background: radial-gradient(ellipse at 50% 50%, #203d41, #17282f 70%);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  transition: opacity 0.24s ease;
}
.startupLoader::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(#c1e9df 1px, transparent 1px),
    linear-gradient(90deg, #c1e9df 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse, #000, transparent 75%);
}
.startupLoader.isLeaving {
  opacity: 0;
  pointer-events: none;
}
.startupScene {
  position: relative;
  width: min(460px, 94vw);
  text-align: center;
  padding: 20px 0;
}
.startupBrand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.startupBrandIcon {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 3px;
}
.cuborgSurf {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.startupCaption {
  margin-top: -5px;
  font-size: 19px;
  font-weight: 600;
}
.startupStatus {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: #a6c9c5;
  font-size: 13px;
}
.startupDots {
  display: flex;
  gap: 4px;
}
.startupDots i {
  width: 4px;
  height: 4px;
  background: #8be6cc;
  border-radius: 50%;
  animation: startup-dot 1.2s ease-in-out infinite;
}
.startupDots i:nth-child(2) {
  animation-delay: 0.15s;
}
.startupDots i:nth-child(3) {
  animation-delay: 0.3s;
}
.startupRecovery {
  margin: 20px 12px 0;
  padding: 16px;
  text-align: left;
  border: 1px solid #6c9997;
  border-radius: 10px;
  background: #20383e;
  font-size: 14px;
  line-height: 1.45;
}
.startupRecovery[hidden] {
  display: none;
}
.startupRecovery p {
  margin: 8px 0 14px;
  color: #c2d9d5;
}
.startupRecovery button {
  border: 1px solid #749d9c;
  border-radius: 5px;
  padding: 8px 12px;
  background: #2d4b52;
  color: #effaf5;
  font: inherit;
  cursor: pointer;
}
.startupRecovery button:hover {
  background: #38606a;
}
.startupRecovery button:focus-visible {
  outline: 2px solid #9ff8dc;
  outline-offset: 3px;
}
.startupRecoveryActions,
.startupRecoveryLanguages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.startupRecoveryLanguages {
  margin-bottom: 12px;
}
.startupRecoveryLanguages button {
  padding: 3px 8px;
  font-size: 12px;
}
.startupRecoveryLanguages [aria-pressed="true"] {
  background: #126c65;
}
.startupLoader.hasRecovery {
  overflow-y: auto;
}
.hasRecovery .startupScene {
  margin: auto;
}
.hasRecovery .cuborgSurf {
  max-height: 180px;
}
.surfCableShadow {
  fill: none;
  stroke: #071c26;
  stroke-width: 13px;
  opacity: 0.5;
}
.surfCable {
  fill: none;
  stroke: url(#surfCable);
  stroke-width: 11px;
  stroke-linecap: round;
}
.surfCableHighlight {
  fill: none;
  stroke: #80e6ca;
  stroke-width: 1.8px;
  opacity: 0.55;
}
.surfCurrent {
  fill: none;
  stroke: #daffe3;
  stroke-width: 2px;
  stroke-dasharray: 2 31;
  stroke-linecap: round;
  animation: surf-current 1.2s linear infinite;
}
.surfSwell {
  /* One transform keeps the board and its spray on the high signal plateau. */
  animation: surf-swell 3.6s ease-in-out infinite;
}
.surfRider {
  transform-origin: 230px 230px;
  animation: surf-rider 3.6s ease-in-out infinite;
}
.surfEyes,
.surfAntenna {
  filter: drop-shadow(0 0 3px #8affd2);
}
.surfSpark {
  animation: surf-spark 1.8s ease-in-out infinite alternate;
}
.surfElectron {
  transform: translate(175px, 232px);
  animation: surf-spray 1.55s ease-out infinite;
  animation-delay: var(--spray-delay);
}
.electronFour,
.electronFive {
  transform: translate(292px, 224px);
  animation-name: surf-spray-front;
}
@keyframes surf-current {
  to {
    stroke-dashoffset: -66;
  }
}
@keyframes surf-swell {
  0%,
  100% {
    transform: translate(-12px, 3px);
  }
  50% {
    transform: translate(12px, -3px);
  }
}
@keyframes surf-rider {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}
@keyframes surf-spray {
  0% {
    transform: translate(175px, 232px) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  75% {
    opacity: 0.8;
  }
  100% {
    transform: translate(calc(175px + var(--spray-x)), calc(232px + var(--spray-y))) scale(0.8);
    opacity: 0;
  }
}
@keyframes surf-spray-front {
  0% {
    transform: translate(292px, 224px) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  75% {
    opacity: 0.8;
  }
  100% {
    transform: translate(calc(292px + var(--spray-x)), calc(224px + var(--spray-y))) scale(0.8);
    opacity: 0;
  }
}
@keyframes surf-spark {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}
@keyframes startup-dot {
  0%,
  80%,
  100% {
    opacity: 0.3;
  }
  40% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .startupLoader *,
  .startupLoader {
    animation: none !important;
    transition: none !important;
  }
  .electronOne {
    transform: translate(126px, 184px);
  }
  .electronTwo {
    transform: translate(107px, 211px);
  }
  .electronThree {
    transform: translate(153px, 157px);
  }
  .electronFour {
    transform: translate(330px, 166px);
  }
  .electronFive {
    transform: translate(355px, 199px);
  }
}
@media (max-height: 520px) {
  .hasRecovery .cuborgSurf {
    display: none;
  }
  .hasRecovery .startupCaption {
    margin-top: 12px;
  }
  .startupScene {
    width: min(350px, 80vw);
    padding: 12px 0;
  }
  .startupBrand {
    font-size: 17px;
  }
  .startupCaption {
    font-size: 15px;
  }
}
