/* ── Skeleton loading placeholders ─────────────────────────── */
/* Reusable pulse animation shared with mention tooltips       */

@keyframes skel-pulse {
  0%, 100% { opacity: .4; }
  50%      { opacity: .8; }
}

.skel-bone {
  background: color-mix(in srgb, var(--accent) 16%, var(--bg-card));
  border-radius: 4px;
  animation: skel-pulse 1.2s ease-in-out infinite;
}

/* ── Roster-item skeleton ─────────────────────────────────── */

.roster-item-skel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.roster-logo-skel {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 6px;
}

.roster-item-skel--liveset .roster-logo-skel {
  width: 52px;
  height: 52px;
  border-radius: 10px;
}

.roster-info-skel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.roster-name-skel {
  height: .9rem;
  width: 42%;
}

.roster-meta-skel {
  height: .72rem;
  width: 28%;
}

.roster-tags-skel {
  display: flex;
  gap: .35rem;
  margin-top: .1rem;
}

.roster-tag-skel {
  height: .6rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.roster-tag-skel:nth-child(1) { width: 52px; }
.roster-tag-skel:nth-child(2) { width: 40px; }
.roster-tag-skel:nth-child(3) { width: 46px; }

/* ── Stagger pulse for visual variety ─────────────────────── */

.roster-item-skel:nth-child(2n) .skel-bone { animation-delay: .15s; }
.roster-item-skel:nth-child(3n) .skel-bone { animation-delay: .3s; }

/* ── Directory section skeleton ───────────────────────────── */

.listing-section-skel {
  margin-bottom: 1.5rem;
}

.listing-section-skel .listing-section-divider-skel {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .25rem;
  padding: 0 1.15rem;
}

.listing-section-skel .skel-heading {
  height: .85rem;
  width: 80px;
}

.listing-section-skel .skel-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  opacity: .5;
}
