:root,
:root[theme-mode="light"] {
  --skeleton-animation-gradient: rgba(0, 0, 0, 0.04);
}
:root[theme-mode="dark"] {
  --skeleton-animation-gradient: rgba(255, 255, 255, 0.06);
}
.l-skeleton {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: var(--td-text-color-primary);
  font-size: var(--td-font-size-body-medium);
  font-family: var(--td-font-family);
  list-style: none;
}
.l-skeleton__row {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
}
.l-skeleton__row:only-child,
.l-skeleton__row:last-child {
  margin-bottom: 0;
}
.l-skeleton__col {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--td-bg-color-secondarycontainer);
  color: var(--td-text-color-disabled);
  margin-right: 15px;
}
.l-skeleton__col:first-child:last-child,
.l-skeleton__col:last-child {
  margin-right: 0;
}
.l-skeleton--type-text {
  width: 100%;
  height: var(--td-font-size-body-large);
  border-radius: var(--td-radius-default);
}
.l-skeleton--type-rect {
  width: 120px;
  height: 88px;
  border-radius: var(--td-radius-default);
}
.l-skeleton--type-circle {
  width: 32px;
  height: 32px;
  border-radius: var(--td-radius-circle);
  flex-shrink: 0;
}
.l-skeleton--animation-gradient {
  position: relative;
  overflow-x: hidden;
}
.l-skeleton--animation-gradient::after {
  content: " ";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--skeleton-animation-gradient), rgba(255, 255, 255, 0));
  animation: t-skeleton--gradient 1.5s linear 2s infinite;
}
.l-skeleton--animation-flashed {
  animation: t-skeleton--flashed 2s linear 2s infinite;
}
@keyframes t-skeleton--gradient {
  0% {
    transform: translateX(-100%) skewX(-15deg);
  }
  100% {
    transform: translateX(100%) skewX(-15deg);
  }
}
@keyframes t-skeleton--flashed {
  0% {
    opacity: 1;
  }
  50% {
    background-color: rgba(230, 230, 230, 0.3);
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}
