#friendsContent {
  display: grid;
  gap: 12px;
}

.social-tabs,
.social-actions,
.social-section-head,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.social-tabs {
  gap: 6px;
}

.social-tabs button[aria-current="page"] {
  background: var(--rose);
  color: var(--acc);
  font-weight: 700;
}

.social-status {
  margin: 0;
}

.social-status:empty {
  display: none;
}

.social-panel,
.social-section,
.social-list {
  display: grid;
  gap: 12px;
}

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-section-head,
.social-row {
  justify-content: space-between;
}

.social-card {
  border: 1px solid var(--line);
  border-radius: var(--card-radius, 20px);
  background: var(--card);
  padding: 16px;
}

.social-card h3,
.social-card h4 {
  overflow-wrap: anywhere;
}

.social-card h4 {
  font: 650 1.08rem/1.3 system-ui, sans-serif;
  margin: 0;
}

.social-card p {
  margin: 6px 0 0;
}

.social-card .social-actions,
.social-card > button {
  margin-top: 10px;
}

.social-card .social-actions button,
.social-card > button,
.social-tabs button,
.social-section-head button {
  min-height: 44px;
  white-space: normal;
}

.social-invite-form,
.social-privacy-form {
  margin-top: 16px;
}

.social-card input:not([type="checkbox"]) {
  min-height: 44px;
  min-width: min(100%, 10rem);
  flex: 1;
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

.social-invite-form .social-actions {
  margin-top: 0;
}

.social-privacy-form fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 0;
  padding: 4px 12px;
}

.social-privacy-form legend {
  padding: 0 4px;
}

.social-check {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  min-height: 44px;
}

.social-check + .social-check {
  border-top: 1px solid var(--line);
}

.social-check .muted {
  display: block;
  font-size: .875rem;
}

.social-check input {
  appearance: auto;
  accent-color: var(--acc);
  inline-size: 1.25rem;
  block-size: 1.25rem;
  flex: none;
}

.social-qr {
  margin-top: 16px;
  width: min(100%, 192px);
  background: #fff;
}

.social-qr svg {
  display: block;
  max-width: 100%;
  height: auto;
}

#friendsContent :is(button, input):focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}
