@charset "UTF-8";
/**
 * YH-UI Sass Variables
 * 原具体的 CSS 变量输出规则 (:root, html.dark 等) 已移至 root.scss，以防止各组件样式编译时产生重复的全局变量 CSS 冗余。
 */
.yh-waterfall {
  display: flex;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}
.yh-waterfall__column {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.yh-waterfall__item {
  width: 100%;
  box-sizing: border-box;
  will-change: transform, opacity;
}
.yh-waterfall__item--animated {
  animation: yh-waterfall-in 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.yh-waterfall__item--skeleton {
  background: var(--yh-bg-color-page);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.yh-waterfall__item--skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--yh-fill-color-light), transparent);
  animation: yh-skeleton-loading 1.5s infinite;
}

.yh-waterfall__empty {
  width: 100%;
  padding: 40px 0;
  text-align: center;
  color: var(--yh-text-color-secondary);
  font-size: 14px;
}

.yh-waterfall {
  position: relative;
  transition: min-height 0.3s ease;
}
.yh-waterfall.is-loading {
  cursor: wait;
}

.yh-waterfall__refresh-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
}
html.dark .yh-waterfall__refresh-overlay {
  background: rgba(20, 20, 20, 0.6);
}
.yh-waterfall__refresh-overlay {
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: inherit;
  animation: yh-fade-in 0.3s ease;
}

.yh-waterfall__loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--yh-color-primary-light-8);
  border-top-color: var(--yh-color-primary);
  border-radius: 50%;
  animation: yh-rotate 0.8s linear infinite;
}

@keyframes yh-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes yh-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes yh-skeleton-loading {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes yh-waterfall-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}