/* ============================================================
   热门文章页 /hot/ 样式
   排版完全复刻 /archives/（.archive-page-shell / .archive-page-item 等），
   本文件仅保留 hot 页特有的加载骨架屏与计数文字样式。
   ============================================================ */

/* 工具栏右侧"共 X 篇"计数 */
.hot-posts-count {
  color: var(--efu-secondtext);
  font-size: 13px;
  font-weight: 600;
}

/* 加载骨架屏容器 */
.hot-page-skeleton {
  display: flex;
  flex-direction: column;
}

/* 骨架行复用 .archive-page-item 的 padding/gap/border，只补动画 */
.hot-page-skeleton-row {
  animation: hot-skeleton-pulse 1.4s ease-in-out infinite;
}

.hot-page-skeleton-thumb {
  flex-shrink: 0;
  width: 151px;
  min-width: 151px;
  height: 80px;
  background: linear-gradient(90deg, var(--efu-secondbg) 0%, var(--efu-card-bg) 50%, var(--efu-secondbg) 100%);
  background-size: 200% 100%;
  border-radius: 12px;
  animation: hot-skeleton-shine 1.6s ease-in-out infinite;
}

.hot-page-skeleton-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hot-page-skeleton-line {
  height: 14px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--efu-secondbg) 0%, var(--efu-card-bg) 50%, var(--efu-secondbg) 100%);
  background-size: 200% 100%;
  border-radius: 6px;
  animation: hot-skeleton-shine 1.6s ease-in-out infinite;
}

.hot-page-skeleton-line.title {
  height: 20px;
  width: 70%;
}

.hot-page-skeleton-line.meta {
  height: 12px;
  width: 35%;
  margin-bottom: 0;
}

@keyframes hot-skeleton-shine {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes hot-skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .hot-page-skeleton-thumb {
    width: 80px;
    min-width: 80px;
    height: 80px;
  }

  .hot-page-skeleton-line.title {
    height: 14px;
  }
}
