.people-directory .person-card__role {
  display: block;
  width: 100%;
  margin-top: -5px;
  overflow: hidden;
  color: var(--text-dim);
  font: 650 .64rem/1.35 var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.people-feature-rail .movie-feature-rail__thumb .img-fallback,
.actor-feature-rail .movie-feature-rail__thumb .img-fallback {
  width: 100%;
  height: 100%;
}

.actor-stage__inner {
  background:
    radial-gradient(34rem 24rem at 4% 2%, rgba(124, 92, 255, .08), transparent 68%),
    color-mix(in srgb, var(--bg-soft) 96%, transparent);
}

.actor-profile-hero {
  position: relative;
  align-items: center;
  margin: 18px 0 20px;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 14%, rgba(212, 255, 63, .08), transparent 28%),
    linear-gradient(130deg, rgba(124, 92, 255, .13), rgba(18, 18, 26, .94) 50%, rgba(18, 18, 26, .98));
}

.actor-profile-hero::after {
  position: absolute;
  right: -60px;
  bottom: -92px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(160, 140, 255, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(124, 92, 255, .028), 0 0 0 78px rgba(124, 92, 255, .018);
  content: "";
  pointer-events: none;
}

.actor-profile-hero > * { position: relative; z-index: 1; }

.actor-profile-hero .detail__art--round {
  width: min(100%, 250px);
  max-width: 250px;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, .09);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .3);
}

.actor-profile-main { min-width: 0; }
.actor-profile-main h1 { margin-bottom: 10px; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; }
.actor-profile-main .meta-row { align-items: center; }

.actor-profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.actor-profile-actions .detail-share {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
}

.actor-profile-copy,
.actor-facts {
  margin: 0 0 20px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.actor-profile-copy .section-head,
.actor-facts .section-head { margin-bottom: 13px; }

.actor-profile-copy p {
  max-width: none;
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: .94rem;
  line-height: 1.75;
  white-space: pre-line;
}

.actor-profile-copy p:last-child { margin-bottom: 0; }

.actor-social,
.actor-music {
  margin: 0 0 20px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.actor-social .section-head,
.actor-music .section-head { margin-bottom: 14px; }
.actor-social .artist-profile-links { gap: 9px; }
.actor-social .artist-profile-link { min-height: 39px; padding: 8px 14px; }
.actor-music .tracklist { border-radius: 10px; }

.actor-facts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.actor-facts__grid > div {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(10, 10, 15, .32);
}

.actor-facts__grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-dim);
  font: 700 .61rem/1.25 var(--font-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.actor-facts__grid strong { display: block; overflow-wrap: anywhere; font-size: .8rem; }
.actor-aliases { margin-top: 10px; padding: 13px; border: 1px solid var(--border); border-radius: 9px; background: rgba(10, 10, 15, .32); }
.actor-aliases h3 { margin: 0 0 6px; font-size: .8rem; }
.actor-aliases p { margin: 0; color: var(--text-muted); font-size: .8rem; line-height: 1.6; }

.actor-credit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.actor-credit-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); color: inherit; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.actor-credit-card:hover,.actor-credit-card:focus-visible { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 14px 34px rgba(0,0,0,.22); outline: none; }
.actor-credit-card__poster { display: block; aspect-ratio: 2/3; overflow: hidden; background: #181820; }
.actor-credit-card__poster img,.actor-credit-card__poster picture,.actor-credit-card__poster .img-fallback { display: block; width: 100%; height: 100%; }
.actor-credit-card__poster img { object-fit: cover; }
.actor-credit-card__body { display: flex; min-width: 0; min-height: 96px; flex-direction: column; gap: 5px; padding: 11px; }
.actor-credit-card__kind { color: var(--accent-text); font: 800 .61rem/1.2 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; }
.actor-credit-card__body strong { display: -webkit-box; overflow: hidden; font-size: .87rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.actor-credit-card__meta { display: -webkit-box; overflow: hidden; color: var(--text-muted); font-size: .72rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.actor-feature-rail__person {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--surface-2);
}
.actor-feature-rail__person img,.actor-feature-rail__person picture,.actor-feature-rail__person .img-fallback { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 640px) { .actor-credit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .actor-credit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-width: 759px) {
  .actor-profile-hero { justify-items: center; gap: 18px; padding: 20px 15px; text-align: center; }
  .actor-profile-hero .detail__art--round { width: min(68vw, 220px); max-width: 220px; margin-inline: auto; }
  .actor-profile-main { width: 100%; }
  .actor-profile-main .detail__kind,.actor-profile-main .meta-row,.actor-profile-actions { justify-content: center; }
  .actor-profile-main .meta-row { display: flex; flex-flow: row wrap; gap: 8px 13px; }
  .actor-profile-main .meta-row > span { width: auto; max-width: 100%; }
  .actor-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actor-social .artist-profile-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actor-social .artist-profile-link { width: 100%; min-width: 0; }
}

@media (max-width: 390px) {
  .actor-profile-main h1 { font-size: 2rem; }
  .actor-profile-main .meta-row > span { font-size: .71rem; }
  .actor-facts__grid { gap: 7px; }
  .actor-facts__grid > div { padding: 10px; }
}
