.social-panel {
  margin: 24px 0;
  padding: 24px;
  background: var(--panel, #202624);
  border: 1px solid var(--edge, #3c4440);
  border-radius: 10px;
}
.social-heading,
.social-actions,
.social-comment-actions,
.social-comment-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.social-heading {
  justify-content: space-between;
}
.social-heading h2 {
  margin: 0;
}
.social-actions {
  margin: 18px 0 10px;
}
.social-actions button[aria-pressed="true"] {
  border-color: var(--gold, #f4bb46);
  background: var(--gold, #f4bb46);
  color: #171b18;
}
.social-panel a,
.saved-plugin a,
.card-social {
  color: var(--gold, #f4bb46);
}
.social-count,
.social-save-note,
.social-identity,
.social-comment-actions span,
.social-comment-meta time {
  font-size: 13px;
  color: var(--muted, #aab5af);
}
.social-save-note {
  max-width: 70ch;
}
.social-notice:empty {
  display: none;
}
.social-notice {
  border-left: 2px solid var(--gold, #f4bb46);
  padding: 8px 12px;
  overflow-wrap: anywhere;
}
.social-comment-form label {
  display: grid;
  gap: 8px;
}
.social-comment-form textarea {
  width: 100%;
  min-width: 0;
  background: #151a18;
  color: var(--text, #eee);
  border: 1px solid #59615d;
  border-radius: 6px;
  padding: 12px;
  font: inherit;
  resize: vertical;
}
.social-comment-actions {
  margin: 10px 0 22px;
}
.social-comments {
  display: grid;
  gap: 0;
}
.social-comment {
  border-top: 1px solid var(--edge, #3c4440);
  padding: 18px 0;
  min-width: 0;
}
.social-comment-meta button {
  margin-left: auto;
  font-size: 12px;
  padding: 6px 10px;
}
.social-comment-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.card-social {
  display: inline-block;
  font-size: 13px;
  margin: 12px 0 0;
  text-decoration: none;
}
.saved-plugin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--edge, #3c4440);
  min-width: 0;
}
.saved-plugin > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.saved-plugin p {
  margin: 6px 0 0;
  color: var(--muted, #aab5af);
  font-size: 13px;
}
.saved-plugin button {
  flex-shrink: 0;
}
.collection-note {
  color: var(--muted, #aab5af);
  font-size: 14px;
}
@media (max-width: 600px) {
  .social-panel {
    padding: 18px;
  }
  .social-comment-actions {
    align-items: flex-start;
  }
  .saved-plugin {
    flex-wrap: wrap;
  }
}

.social-actions button { min-height: 46px; padding: 11px 18px; font-weight: 750; border-width: 2px; }
.social-actions button[aria-pressed="true"]:hover { background: #ffd16c; color: #171b18; }
.social-top { margin: 12px 0 20px; }
.social-top .social-actions { margin: 0; }
.social-top a { color: var(--gold, #f4bb46); font-size: 14px; }
.card-social[hidden] { display: none; }
