/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-skeleton {
  line-height: 0;
  font-size: 0px;
}
.nut-skeleton-content {
  position: relative;
  /* #ifdef dynamic*/
  display: flex;
  /* #endif */
  /* #ifndef dynamic*/
  display: inline-flex;
  /* #endif */
  width: var(--nutui-skeleton-line-width, 100%);
  background: var(--nutui-skeleton-background, var(--nutui-color-surface-1));
  border-radius: var(--nutui-skeleton-line-border-radius, 0);
  overflow: hidden;
}
.nut-skeleton-content-normal {
  height: var(--nutui-skeleton-line-normal-height, 24px);
}
.nut-skeleton-content-large {
  height: var(--nutui-skeleton-line-large-height, 32px);
}
.nut-skeleton-content-small {
  height: var(--nutui-skeleton-line-small-height, 16px);
  margin-top: scale-px(8px);
}
.nut-skeleton-content-small-0 {
  margin-top: 0;
}
.nut-skeleton-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.02) 50%, rgba(0, 0, 0, 0) 100%);
  animation-name: nut-skeleton;
  animation-delay: 0s;
  animation-duration: 0.6s;
  animation-direction: normal;
  animation-fill-mode: both;
  animation-play-state: running;
  animation-iteration-count: 1;
  animation-timing-function: linear;
}
@keyframes nut-skeleton {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

[dir=rtl] .nut-skeleton-animation,
.nut-rtl .nut-skeleton-animation {
  left: auto;
  right: 0;
  animation: nut-skeleton-rtl 2s linear 0s infinite;
}
@keyframes nut-skeleton-rtl {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}