const InstagramDialogsListSkeleton = () => (
  <div className="flex flex-col gap-2 px-2 py-2 bg-[var(--tg-bg-secondary)] min-h-0">
    {[1, 2, 3, 4, 5].map((i) => (
      <div
        key={i}
        className="rounded-2xl bg-[var(--tg-bg)]/90 shadow-sm px-3 py-2.5 flex items-center gap-3"
      >
        <div className="w-14 h-14 rounded-full bg-[var(--tg-bg-secondary)] animate-pulse shrink-0" />
        <div className="flex-1 space-y-2">
          <div className="flex justify-between gap-2">
            <div className="h-3.5 w-2/5 rounded-lg bg-[var(--tg-bg-secondary)] animate-pulse" />
            <div className="h-2.5 w-10 rounded bg-[var(--tg-bg-secondary)] animate-pulse shrink-0" />
          </div>
          <div className="h-2.5 w-4/5 rounded-lg bg-[var(--tg-bg-secondary)] animate-pulse" />
        </div>
      </div>
    ))}
  </div>
);

export default InstagramDialogsListSkeleton;
