/* Список подписок/подписчиков — единые стили для всех страниц @username/subscriptions/ и @username/subscribers/ (VK/Instagram) */

.follow-list-page {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.follow-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #e5e7eb);
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, border-color 0.15s;
}

.follow-list-item:hover {
  background: var(--color-hover, #f9fafb);
  border-color: var(--color-border, #e5e7eb);
}

.follow-list-avatar {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: var(--color-hover, #f3f4f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text-primary, #111);
  flex-shrink: 0;
  text-decoration: none;
}

.follow-list-avatar img {
  width: 100% !important;
  height: 100% !important;
  max-width: 56px !important;
  max-height: 56px !important;
  object-fit: cover !important;
  display: block;
}

.follow-list-body {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.follow-list-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-primary, #111);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.follow-list-username {
  font-size: 0.875rem;
  color: var(--color-text-secondary, #6b7280);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.follow-list-btn {
  flex-shrink: 0;
  font-size: 0.875rem;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  font-weight: 500;
}

.follow-list-btn.is-following {
  background: var(--color-accent, #6366f1);
  color: #fff;
  border-color: var(--color-accent);
}

@media (prefers-color-scheme: dark) {
  .follow-list-item {
    background: var(--color-surface, #1f2937);
    border-color: var(--color-border, #374151);
  }
  .follow-list-item:hover {
    background: var(--color-hover, #374151);
  }
  .follow-list-avatar {
    background: var(--color-hover, #374151);
  }
  .follow-list-name {
    color: var(--color-text-primary, #f9fafb);
  }
  .follow-list-username {
    color: var(--color-text-secondary, #9ca3af);
  }
  .follow-list-btn {
    background: var(--color-surface);
    border-color: var(--color-border);
    color: var(--color-text-primary);
  }
}
