/* Learn Lab — pg-card shaped skeletons (prompt gallery, tutorials, courses, prompts-category).
   Shimmer uses .fo-skel-bone from /tool-grid-skeleton.css (load that file first). */

.pg-card.ll-pg-skel {
  pointer-events: none;
  cursor: default;
}

.pg-card.ll-pg-skel .ll-pg-skel-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  z-index: 0;
}

/* Badge shell: keep layout, inner bone is the shimmer */
.pg-card.ll-pg-skel .pg-card-top .pg-badge {
  min-height: 30px;
  padding: 4px 0;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
}

.pg-card.ll-pg-skel .ll-pg-skel-badge {
  width: 100px;
  height: 20px;
  border-radius: 999px;
  margin: 0;
}

.pg-card.ll-pg-skel .ll-pg-skel-top-pill {
  width: 56px;
  height: 22px;
  border-radius: 999px;
  margin: 0;
}

.pg-card.ll-pg-skel .ll-pg-skel-micro {
  width: 86px;
  height: 24px;
  border-radius: 999px;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  display: inline-block;
  vertical-align: middle;
}

.pg-card.ll-pg-skel .ll-pg-skel-title {
  height: 22px;
  width: 92%;
  max-width: 100%;
  margin: 0 0 8px;
}

.pg-card.ll-pg-skel .ll-pg-skel-line {
  height: 12px;
  width: 100%;
  margin: 0 0 8px;
}

.pg-card.ll-pg-skel .ll-pg-skel-line--short {
  width: 58%;
  margin-bottom: 0;
}

.pg-card.ll-pg-skel .pg-card-models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.pg-card.ll-pg-skel .ll-pg-skel-chip {
  width: 62px;
  height: 24px;
  border-radius: 999px;
  margin: 0;
}

.pg-card.ll-pg-skel .pg-card-footer {
  margin-top: 12px;
}

.pg-card.ll-pg-skel .ll-pg-skel-creator {
  width: 110px;
  height: 14px;
  border-radius: 6px;
  margin: 0;
}

.pg-card.ll-pg-skel .ll-pg-skel-btn {
  min-height: 36px;
  width: 132px;
  height: 36px;
  border-radius: 999px;
  margin: 0;
}

.pg-grid > .pg-card.ll-pg-skel:nth-child(3n + 2) .fo-skel-bone::after {
  animation-delay: 0.12s;
}

.pg-grid > .pg-card.ll-pg-skel:nth-child(3n + 3) .fo-skel-bone::after {
  animation-delay: 0.24s;
}
