/* Unified profile chips and the X-style media grid. The header uses the existing profile styles. */
.pchips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.pchip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  min-height: 28px;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  font-size: 13px;
  line-height: 16px;
  text-decoration: none;
}
.pchip:hover { background: var(--hover-soft); }
.pchip-net { color: var(--muted); }
.pchip .src { margin: 0; }
.pinfo .counts { flex-wrap: wrap; }

.pmedia {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 2px;
}
.pmedia-cell {
  display: block;
  aspect-ratio: 1;
  background: var(--banner);
  overflow: hidden;
}
.pmedia-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
