.social-panel {
  margin-top: 12px;
  padding: 10px;
  border-radius: 13px;
}
.social-panel h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.social-panel .social-cover {
  min-height: 114px;
  margin-top: 0;
}
.social-panel .social-cover strong { font-size: 16px }
.social-subpanel {
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--muted-border);
  border-radius: 9px;
  background: #21162e;
}
.social-panel label, .social-panel legend {
  display: block;
  color: var(--light);
  font-size: 11px;
  font-weight: 710;
}
.social-panel label[for] { margin: 8px 0 4px }
.social-panel :is(select, input:not([type]), input[type="text"], input[type="date"]) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #1c1428;
  color: var(--ink);
  color-scheme: dark;
  font: inherit;
  font-size: 16px;
}
.social-panel select { font-size: 12px }
.social-panel input::placeholder { color: var(--muted) }
.social-panel :is(button, input, select, a):focus-visible { outline: 2px solid #e6c7ff; outline-offset: 1px }
.social-view-tabs { margin-top: 8px }
.social-view-tabs button { padding: 4px }
.social-gallery-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)) }
.social-gallery-tabs button { font-size: 10px; padding-inline: 2px }
.social-form-actions, .social-inline-form {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}
.social-form-actions > .demo-action { flex: 1; width: auto; margin: 0 }
.social-form-actions > .after-text-action { flex: none; padding-inline: 6px }
.social-inline-form > .demo-action { flex: 0 0 auto; width: auto; margin: 0; padding-inline: 9px }
.social-panel .social-state {
  margin-top: 8px;
  padding: 7px 8px;
  border: 1px solid #a98bc454;
  border-radius: 7px;
  background: #332344;
  color: #ecd9fc;
  font-size: 11px;
  font-weight: 730;
}
.social-panel .social-state[data-state="active"] {
  border-color: #76d7a86b;
  background: #203d36;
  color: #b8f5d3;
}
.social-pair {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: center;
  justify-items: center;
  gap: 8px;
  max-width: 250px;
  margin: 11px auto 0;
  text-align: center;
}
.social-pair > span:not(.social-pair-link) { display: grid; justify-items: center; gap: 4px; color: var(--ink); font-size: 11px }
.social-pair img, .social-record img {
  width: 42px;
  height: 42px;
  border: 1px solid #ead4ff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #bb83fa55, 0 0 12px #b482ee43;
}
.social-pair-link {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  align-self: start;
  margin-top: 4px;
  border: 1px solid #d2a9f6;
  border-radius: 50%;
  background: radial-gradient(circle at 48% 25%, #8154ac, #3e2558 78%);
  color: #faefff;
  box-shadow: 0 0 13px #bd8bff65;
}
.social-pair-link::before, .social-pair-link::after {
  position: absolute;
  left: 100%;
  width: clamp(21px, 8vw, 35px);
  height: 1px;
  background: linear-gradient(90deg, #d5acf0ab, transparent);
  content: "";
}
.social-pair-link::after { left: auto; right: 100%; transform: scaleX(-1) }
.social-pair-link .icon { width: 18px; height: 18px }
.social-simulate { margin-inline-start: 4px }
.social-feed, .social-people, .social-chat ul {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}
.social-feed li, .social-chat li {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--muted-border);
  border-radius: 7px;
  background: #30203d;
  color: var(--ink);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.social-feed small, .social-chat small, .social-media-credit small,
.social-memory-grid small, .social-record small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.social-chat .social-own-message { border-color: #80cda47d; background: #233b34 }
.social-chat .social-own-message > * { color: #c6f5dd }
.social-record {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 0;
  color: var(--ink);
  font-size: 11px;
}
.social-record > div { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere }
.social-record img { flex: 0 0 34px; width: 34px; height: 34px }
.social-record .detail-icon { flex: 0 0 33px; width: 33px; height: 33px }
.social-panel .social-record + .social-record { border-top: 1px solid var(--muted-border) }
.social-choices {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin: 9px 0 0;
  padding: 3px 7px;
  border: 1px solid var(--muted-border);
  border-radius: 8px;
}
.social-choices legend { padding-inline: 4px }
.social-choices label { display: flex; align-items: center; gap: 7px; min-height: 44px }
.social-choices input { width: 16px; height: 16px; margin: 0; flex: none; accent-color: #a979dd }
.social-radar-plot {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 59px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid #bc9afd51;
  border-radius: 9px;
  background: repeating-radial-gradient(circle at 32px 50%, #ab7ef02c 0 1px, transparent 1px 10px),
    linear-gradient(132deg, #594084, #211831 78%);
  color: #f2ddff;
}
.social-radar-plot > span { display: grid; flex: 0 0 47px; width: 47px; place-items: center }
.social-radar-plot .icon { width: 31px; height: 31px }
.social-radar-plot strong, .social-radar-plot small { display: block }
.social-radar-plot strong { font-size: 12px }
.social-radar-plot small { color: #dfc9f4; font-size: 10px }
.social-memory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}
.social-memory-grid :is(article, figure) {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #241832;
}
.social-memory-grid img { display: block; width: 100%; aspect-ratio: 1.25; object-fit: cover }
.social-memory-grid :is(article > div, figcaption), .social-media-credit { display: grid; gap: 3px; padding: 7px }
.social-memory-grid strong, .social-media-credit strong { color: var(--ink); font-size: 11px; overflow-wrap: anywhere }
.social-memory-grid .after-text-action { justify-self: start }
.social-primary-link {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 5px 6px;
  color: var(--light);
  font-size: 11px;
  font-weight: 740;
  text-decoration: underline;
}
.social-primary-link .icon { width: 13px; height: 13px }
@media (max-width: 360px) {
  .social-panel { padding: 8px }
  .social-panel .social-cover { min-height: 91px }
  .social-panel .social-cover strong { font-size: 14px }
}
