/* 换脸模版列表 */
.hg-ai-fs-page { max-width: 960px; margin: 0 auto; padding: 16px 16px 48px; }
.hg-ai-fs-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hg-ai-fs-tabs::-webkit-scrollbar { display: none; }
.hg-ai-fs-tab {
  flex-shrink: 0;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 16px;
  background: #f2f2f3;
  color: #555;
  font-size: 13px;
  cursor: pointer;
}
.hg-ai-fs-tab.is-active {
  background: #1a1a1a;
  color: #fff;
}
.hg-ai-fs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.hg-ai-fs-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.hg-ai-fs-card__cover {
  aspect-ratio: 3/4;
  border-radius: 10px;
  overflow: hidden;
  background: #eee;
}
.hg-ai-fs-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hg-ai-fs-card__title {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.3;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hg-ai-fs-empty,
.hg-ai-fs-more {
  text-align: center;
  color: #888;
  font-size: 13px;
  padding: 24px 0;
}
.hg-ai-fs-more.is-muted { color: #bbb; }
.hg-ai-fs-sentinel { height: 1px; }
