.social-block {
  width: 100%;
  max-width: var(--max-width);
  margin-bottom: var(--gap-lg);
}

.social-section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--gap-md);
}

.social-label-text {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.4;
  white-space: nowrap;
  transition: color var(--t);
}

.social-label-line {
  flex: 1;
  height: 1px;
  background: var(--border-soft);
  transition: background var(--t);
}

.social-intro {
  font-size: 0.9rem;
  opacity: 0.55;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  transition: color var(--t);
}


.social-groups { display: flex; flex-direction: column; }

.social-accordion-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: border-color var(--t);
}

[data-theme="light"] .social-accordion-item { border-bottom-color: rgba(0,0,0,0.06); }

.social-accordion-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 12px 0;
  cursor: pointer;
  user-select: none;
  min-height: 44px;
}

.social-chevron {
  font-size: 0.65rem;
  color: var(--text-dim);
  transition: transform 0.25s ease, color var(--t);
  flex-shrink: 0;
  display: inline-block;
}

.social-accordion-item.open .social-chevron { transform: rotate(90deg); }

.social-creator-name {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.5;
  flex: 1;
  transition: color var(--t);
}

.social-profile-count {
  font-size: 0.68rem;
  color: var(--text);
  opacity: 0.3;
  font-family: var(--font-body);
  transition: color var(--t);
  white-space: nowrap;
}

.social-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.social-accordion-item.open .social-accordion-body { max-height: 500px; }

.social-cards {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0 20px 0;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  text-decoration: none;
  min-height: 44px;
  transition: background var(--t);
}

.social-card:hover { background: rgba(255,255,255,0.04); }
[data-theme="light"] .social-card:hover { background: rgba(0,0,0,0.04); }

.card-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--text);
  opacity: 0.45;
  transition: color var(--t);
}

.card-platform {
  font-size: 0.78rem;
  opacity: 0.45;
  color: var(--text);
  font-weight: 400;
  width: 80px;
  flex-shrink: 0;
  transition: color var(--t), opacity var(--t);
}

.card-handle {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  flex: 1;
  transition: color var(--t);
}

.card-arrow {
  color: var(--text);
  opacity: 0.25;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-arrow svg {
  width: 14px;
  height: 14px;
  display: block;
}

.social-card:hover .card-arrow { opacity: 0.6; }


.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 6px 14px;
  min-height: 44px;
  border-radius: 9999px;
  border: 1px solid rgba(126,184,212,0.35);
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  transition: background var(--t), border-color var(--t), color var(--t);
}

[data-theme="light"] .social-link { border-color: rgba(42,127,168,0.3); }

.social-link:hover {
  background: var(--accent-dim);
  border-color: rgba(126,184,212,0.5);
  color: var(--accent);
}

[data-theme="light"] .social-link:hover { border-color: rgba(42,127,168,0.5); }

.social-label { font-weight: 400; }

.social-handle {
  font-size: 0.75rem;
  opacity: 0.45;
}

@media (max-width: 600px) {
  .social-profile-group {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .social-profile-group {
    flex-direction: column;
    gap: 0.625rem;
  }

  .social-creator-name {
    padding-top: 0;
    min-width: unset;
  }

  .social-accounts {
    width: 100%;
  }

  .social-link {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
  }
}
