.hbp-directory .hbp-hero, .hbc .hbp-hero {
  padding-block: clamp(32px, 5vw, 64px) 24px;
  gap: 12px;
}
.hbp-person-projects { display: flex; flex-wrap: wrap; gap: 5px 14px; }
.hbp-person-projects a { text-decoration: underline; text-underline-offset: 3px; }
.hbp-directory .hbp-ranked__main { gap: 8px; }
.hbp-directory .hbp-handle { font-size: 20px; font-weight: 700; }
.hbp-directory .hbp-ranked__row { padding-block: 18px; }
/* Older contributor responses supply the thumbnail base as an external viewer link. */
.hbc-actions .hbp-links > a[target="_blank"][href^="https://"] { display: none; }
.hbc-plots {
  border: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(min(100%, 260px),1fr));
  gap: 16px;
}
.hbc-plots .hbp-plot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  background: var(--hb-paper);
  border: 1px solid var(--hb-line);
  border-radius: 12px;
  padding: 16px;
  min-width: 0;
}
.hbc-piece-media {
  height: 96px;
  position: relative;
  display: grid;
  place-items: center;
  margin: -16px -16px 8px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: var(--hb-soft);
}
.hbc-piece-media > a { position: absolute; inset: 0; }
.hbc-piece-media img { width: 100%; height: 100%; object-fit: contain; position: absolute; }
.hbc-piece-media .hbp-plot__id {
  position: relative;
  pointer-events: none;
  justify-self: start;
  align-self: end;
  margin: 8px;
  background: var(--hb-paper);
  color: var(--hb-ink-soft);
  border: 1px solid var(--hb-line);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 12px;
}
.hbc-plots .hbp-plot__title { font-size: 18px; line-height: 1.35; }
.hbc-plots .hbp-pr-link { display: block; margin-top: 4px; }
.hbc-plots .hbp-plot__points { margin-top: auto; padding-top: 10px; }
.hbc-piece-credit { overflow-wrap: anywhere; }
.hbc-plots .hbc-plot__date, .hbc-piece-credit { font-size: 14px; color: var(--hb-muted); }
#hbc-projects { padding-bottom: 32px; }
#hbc-projects .hbp-person-projects { margin-top: 12px; }
