.p79-person .p79-portrait {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #d9eae1;
  color: #285c4b;
  text-decoration: none;
}
.p79-person:nth-child(3n + 2) .p79-portrait { background: #e0e8f0; color: #375b78; }
.p79-person:nth-child(3n) .p79-portrait { background: #eee4d5; color: #75502e; }
.p79-portrait > span { font-size: clamp(2.8rem, 8vw, 5.5rem); font-weight: 640; line-height: 1; }
.p79-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.p79-body { flex: 1; min-width: 0; padding: 0.85rem; display: flex; flex-direction: column; gap: 0.7rem; }
.p79-identity { display: flex; align-items: flex-start; gap: 0.35rem; }
.p79-name { flex: 1; min-width: 0; color: var(--heading); text-decoration: none; }
.p79-name h3 { margin: 0; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.p79-handle { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.82rem; line-height: 1.3; overflow-wrap: anywhere; }
.p79-badges { display: flex; flex: none; align-items: center; }
.p79-badge { position: relative; display: grid; place-items: center; width: 26px; height: 26px; padding: 3px; background: transparent; border: 0; cursor: help; }
.p79-badge svg { display: block; width: 20px; height: 20px; }
.p79-verified { color: #1769ad; }
.p79-entrepreneur { color: #9d510c; }
.p79-tip { display: none; position: absolute; z-index: 2; right: 0; bottom: 100%; padding: 0.35rem 0.55rem; border-radius: 5px; background: #142e30; color: #fff; white-space: nowrap; font: 600 0.78rem/1.25 system-ui, sans-serif; box-shadow: 0 2px 8px #0003; pointer-events: none; }
.p79-badge[aria-expanded="true"] .p79-tip { display: block; }
.p79-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }
.p79-actions > * { flex: 1 1 84px; min-width: 0; margin: 0; }
.p79-actions .p79-action { display: flex; justify-content: center; align-items: center; gap: 0.32rem; min-height: 40px; padding: 0.42rem 0.38rem; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; text-align: center; font: inherit; font-size: 0.8rem; font-weight: 650; line-height: 1.2; }
.p79-friend .p79-action { width: 100%; }
.p79-action svg { width: 1rem; height: 1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.p79-actions .p79-add { background: #08735e; border-color: #08735e; color: #fff; cursor: pointer; }
.p79-message { background: var(--surface); color: var(--heading); }
.p79-state, .p79-message:disabled { background: var(--surface-soft); color: var(--muted); }
.p79-action:disabled { cursor: default; }
.p79-feedback { color: var(--text); font-size: 0.8rem; }
.p79-feedback:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.p79-person :is(a, button):focus-visible, .p79-state:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.p79-portrait:focus-visible { outline-offset: -4px; }
html[data-theme="dark"] .p79-person .p79-portrait { background: #264039; color: #d4e8de; }
html[data-theme="dark"] .p79-verified { color: #4a9de0; }
html[data-theme="dark"] .p79-entrepreneur { color: #c47a29; }
html[data-theme="dark"] .p79-tip { background: #e8f2ee; color: #162e28; }
@media (max-width: 600px) {
  .p79-body { padding: 0.65rem; }
  .p79-actions .p79-action { min-height: 44px; }
}
