.kyl-loading {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 32px 16px;
  color: #41616b;
  text-align: center;
}

.kyl-loading.compact {
  min-height: 92px;
  padding: 18px 12px;
}

.kyl-loading.inline {
  min-height: 0;
  padding: 12px;
}

.kyl-loading-card {
  display: grid;
  gap: 16px;
  place-items: center;
}

.kyl-loading-logo {
  display: block;
  width: min(260px, 54vw);
  height: auto;
}

.kyl-loading.compact .kyl-loading-logo,
.kyl-loading.inline .kyl-loading-logo {
  width: 148px;
}

.kyl-loading-text {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  margin: 0;
  color: #41616b;
  font-size: 14px;
  letter-spacing: 0;
  animation: kylLoadingTextFloat 2.4s ease-in-out infinite;
}

.kyl-loading-text .text-shine {
  color: transparent;
  background: linear-gradient(90deg, #41616b 0%, #0b9aa5 35%, #255fd8 58%, #41616b 100%);
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: kylLoadingTextShimmer 2.4s ease-in-out infinite;
}

.kyl-loading-text .dots {
  display: inline-flex;
  width: 28px;
  justify-content: space-between;
  color: #0b9aa5;
}

.kyl-loading-text .dots span {
  display: inline-block;
  text-shadow: 0 0 10px rgba(11, 154, 165, .28);
  animation: kylLoadingDotLift 1.2s ease-in-out infinite;
}

.kyl-loading-text .dots span:nth-child(2) {
  animation-delay: .12s;
}

.kyl-loading-text .dots span:nth-child(3) {
  animation-delay: .24s;
}

.kyl-loading-text .dots span:nth-child(4) {
  animation-delay: .36s;
}

.kyl-loading-text .dots span:nth-child(5) {
  animation-delay: .48s;
}

.kyl-loading-row td {
  padding: 0 !important;
}

.kyl-loading-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}

.kyl-loading-chip .text-shine {
  color: transparent;
  background: linear-gradient(90deg, #6b7d85 0%, #0b9aa5 38%, #255fd8 62%, #6b7d85 100%);
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: kylLoadingTextShimmer 2.4s ease-in-out infinite;
}

.kyl-loading-chip .dots {
  display: inline-flex;
  width: 22px;
  justify-content: space-between;
  color: #0b9aa5;
}

.kyl-loading-chip .dots span {
  display: inline-block;
  animation: kylLoadingDotLift 1.2s ease-in-out infinite;
}

.kyl-loading-chip .dots span:nth-child(2) {
  animation-delay: .12s;
}

.kyl-loading-chip .dots span:nth-child(3) {
  animation-delay: .24s;
}

.kyl-loading-chip .dots span:nth-child(4) {
  animation-delay: .36s;
}

.kyl-loading-chip .dots span:nth-child(5) {
  animation-delay: .48s;
}

@keyframes kylLoadingTextShimmer {
  0%,
  100% {
    background-position: 120% 0;
  }

  45% {
    background-position: 0 0;
  }
}

@keyframes kylLoadingTextFloat {
  0%,
  100% {
    opacity: .74;
    transform: translateY(0);
  }

  45% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

@keyframes kylLoadingDotLift {
  0%,
  72%,
  100% {
    opacity: .35;
    transform: translateY(0);
  }

  28% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kyl-loading-text,
  .kyl-loading-text .text-shine,
  .kyl-loading-text .dots span,
  .kyl-loading-chip .text-shine,
  .kyl-loading-chip .dots span {
    animation: none;
  }
}
