/* Compact public profiles. Other pages and page sections retain their styles. */
/* Keep the existing oversized background word inside its own hero, not the viewport. */
.livers-hero { position:relative; }
.livers-directory.compact-directory {
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:28px 22px;
  max-width:1440px;
  margin:0 auto;
  padding:72px max(5vw,24px);
}
.liver-profile.creator-card {
  display:flex;
  flex-direction:column;
  min-height:0;
  min-width:0;
  border-radius:16px;
  box-shadow:0 12px 32px #1d203008;
  scroll-margin-top:32px;
}
.creator-card .liver-profile-photo {
  width:100%;
  aspect-ratio:1;
  min-height:0;
  padding:0;
  flex:none;
}
.creator-card .liver-profile-photo::before { display:none; }
.creator-card-body {
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
  padding:20px 20px 12px;
}
.creator-card-body h2 {
  color:#151620;
  font-size:22px;
  font-weight:800;
  letter-spacing:-.035em;
  line-height:1.4;
  margin:0;
  overflow-wrap:anywhere;
}
.creator-card-body .creator-reading {
  color:#717480;
  font:600 10px/1.5 var(--font-mono);
  letter-spacing:.08em;
  margin:5px 0 0;
  overflow-wrap:anywhere;
}
.creator-card-body .creator-handle {
  color:#555866;
  font:500 12px/1.5 var(--font-mono);
  margin:12px 0 4px;
  overflow-wrap:anywhere;
}
.creator-socials {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0 8px;
  width:100%;
  margin-top:auto;
  padding-top:4px;
}
.creator-socials a {
  color:#000;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 44px;
  width:44px;
  min-height:44px;
  min-width:44px;
  padding:0;
  border-radius:50%;
  text-decoration:none;
  transition:background-color .18s ease;
}
.creator-socials a:hover { background-color:#f1f0f4; }
.creator-socials a:focus-visible { outline:2px solid #7056aa; outline-offset:2px; }
.creator-socials .creator-social-icon { display:block; width:24px; height:24px; object-fit:contain; flex:none; }
.creator-socials [data-social="youtube"] .creator-social-icon { width:30px; height:30px; }
@media(max-width:1099px) {
  .livers-directory.compact-directory { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px 18px; }
}
@media(max-width:759px) {
  .livers-directory.compact-directory { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 12px; padding:40px 16px; }
  .liver-profile.creator-card { border-radius:12px; }
  .creator-card-body { padding:14px 12px 8px; }
  .creator-card-body h2 { font-size:18px; }
  .creator-card-body .creator-reading { font-size:9px; letter-spacing:.04em; }
  .creator-card-body .creator-handle { font-size:10px; margin-top:10px; }
  .creator-socials { gap:0 4px; }
}
@media(max-width:359px) {
  .livers-directory.compact-directory { padding-inline:12px; gap:16px 10px; }
  .creator-card-body { padding-inline:10px; }
  .creator-card-body h2 { font-size:16px; }
}
@media(prefers-reduced-motion:reduce) {
  .liver-profile.creator-card { animation:none; opacity:1; transform:none; }
  .creator-card .liver-profile-photo::after { display:none; }
  .creator-card .liver-profile-photo>img { transition:none; }
}

/* Keep the JOIN copy on semantic lines at narrow mobile widths. */
@media(max-width:640px) {
  .livers-entry h2 { font-size:clamp(24px,7.6vw,39px); }
  .livers-entry>span { max-width:100%; line-height:1.8; }
  .livers-entry-sentence { display:block; }
}
