.actor-breadcrumb { margin: 0 0 17px; color: var(--muted, #6b7280); font-size: 12px; }
.actor-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.actor-breadcrumb li { min-width: 0; overflow-wrap: anywhere; }
.actor-breadcrumb li + li::before { padding-right: 7px; color: #9ca3af; content: "/"; }
.actor-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; }
.actor-breadcrumb [aria-current="page"] { color: var(--text, #1f2937); font-weight: 600; }
.actor-profile {
  --actor-tint: color-mix(in srgb, var(--accent, #e11d48) 6%, #fff);
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 18px;
  background: var(--surface, #fff);
  box-shadow: 0 8px 26px rgb(15 23 42 / 5%);
}
.actor-profile-hero { display: grid; grid-template-columns: clamp(180px, 18vw, 230px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); padding: clamp(22px, 3vw, 36px); background: linear-gradient(110deg, var(--actor-tint, #fff7ed), #fff 74%); }
.actor-profile-photo { position: relative; align-self: start; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 5; min-width: 0; border: 1px solid rgb(15 23 42 / 8%); border-radius: 12px; background: #eef0f4; box-shadow: 0 4px 14px rgb(15 23 42 / 6%); }
.actor-profile-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center top; background: #eef0f4; }
.actor-profile-photo img[data-fallback-used="true"] { display: none; }
.actor-profile-photo--initials { background: linear-gradient(145deg, #f1f3f7, #e6eaf0); }
.actor-profile-initial { display: grid; place-items: center; width: 100%; height: 100%; min-height: inherit; color: #8792a3; font-size: clamp(50px, 7vw, 84px); font-weight: 750; letter-spacing: -.06em; line-height: 1; user-select: none; }
.actor-profile-overview { align-self: center; min-width: 0; padding-block: 5px; }
.actor-profile-kicker { display: block; margin-bottom: 10px; color: var(--accent-dark, #be123c); font-size: 11px; font-weight: 750; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
.actor-profile h1 { margin: 0; color: var(--text, #1f2937); font-size: clamp(30px, 4vw, 48px); font-weight: 750; line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere; }
.actor-profile-subtitle { margin: 12px 0 0; color: var(--muted, #6b7280); font-size: 14px; line-height: 1.5; }
.actor-profile-stats { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0; margin: 24px 0 21px; }
.actor-profile-stat { display: flex; flex-direction: column; justify-content: center; min-width: 115px; padding: 0 25px; border-left: 1px solid var(--border, #e5e7eb); }
.actor-profile-stat:first-child { padding-left: 0; border-left: 0; }
.actor-profile-stat dt { order: 2; margin-top: 5px; color: var(--muted, #6b7280); font-size: 11px; line-height: 1.5; }
.actor-profile-stat dd { order: 1; margin: 0; color: var(--text, #1f2937); font-size: clamp(21px, 2.3vw, 28px); font-weight: 750; line-height: 1.2; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.actor-profile-stat time { font-size: .76em; white-space: nowrap; }
.actor-profile-watch { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 19px; border: 1px solid transparent; border-radius: 9px; background: var(--accent, #e11d48); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.2; }
.actor-profile-watch:hover { background: var(--accent-dark, #be123c); color: #fff; }
.actor-profile-watch svg { width: 17px; height: 17px; fill: currentColor; }
.actor-profile-information { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); padding: 24px clamp(22px, 3vw, 36px) 27px; border-top: 1px solid var(--border, #e5e7eb); }
.actor-profile-information > :only-child { grid-column: 1 / -1; }
.actor-profile .actor-profile-information section { min-width: 0; margin: 0; }
.actor-profile-information h2 { margin: 0 0 16px; color: var(--text, #1f2937); font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.actor-profile-facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 28px; margin: 0; }
.actor-profile-facts dl > div { min-width: 0; }
.actor-profile-facts dt { margin-bottom: 4px; color: var(--muted, #6b7280); font-size: 11px; line-height: 1.4; }
.actor-profile-facts dd { margin: 0; color: var(--text, #1f2937); font-size: 13px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.actor-profile-bio p { margin: 0 0 12px; color: var(--muted, #6b7280); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.actor-profile-bio p:last-child { margin-bottom: 0; }
.actor-profile-bio-more summary, .actor-profile-links-more summary { display: block; width: fit-content; max-width: 100%; cursor: pointer; list-style: none; }
.actor-profile-bio-more summary::-webkit-details-marker, .actor-profile-links-more summary::-webkit-details-marker { display: none; }
.actor-profile-bio-preview { display: block; margin-bottom: 8px; color: var(--muted, #6b7280); font-size: 13px; font-weight: 400; line-height: 1.8; }
.actor-profile-more-closed, .actor-profile-more-open { display: inline-flex; align-items: center; min-height: 34px; color: var(--accent-dark, #be123c); font-size: 12px; font-weight: 700; }
.actor-profile-more-closed::after { margin-left: 6px; content: "↓"; }
.actor-profile-more-open::after { margin-left: 6px; content: "↑"; }
.actor-profile-more-open, .actor-profile-bio-more[open] .actor-profile-more-closed, .actor-profile-bio-more[open] .actor-profile-bio-preview, .actor-profile-links-more[open] .actor-profile-more-closed { display: none; }
.actor-profile-bio-more[open] .actor-profile-more-open, .actor-profile-links-more[open] .actor-profile-more-open { display: inline-flex; }
.actor-profile-bio-full { margin-top: 10px; }
.actor-profile-links-more { margin-top: 9px; }
.actor-profile-links-more[open] summary { margin-bottom: 9px; }
.actor-profile-connections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; padding: 24px clamp(22px, 3vw, 36px); border-top: 1px solid var(--border, #e5e7eb); }
.actor-profile-connections > section { min-width: 0; margin: 0; }
.actor-profile-connections > :only-child { grid-column: 1 / -1; }
.actor-profile-connections h2 { margin: 0 0 14px; color: var(--text, #1f2937); font-size: 16px; font-weight: 700; line-height: 1.3; }
.actor-profile-link-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.actor-profile-link-list li { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.actor-profile-external { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; max-width: 100%; min-height: 58px; padding: 10px 13px; border: 1px solid var(--border, #e5e7eb); border-radius: 9px; background: var(--surface, #fff); color: var(--text, #1f2937); overflow-wrap: anywhere; }
.actor-profile-external:hover { border-color: var(--accent, #e11d48); background: var(--actor-tint, #fff7ed); color: var(--accent-dark, #be123c); }
.actor-profile-external:focus-visible, .actor-profile-watch:focus-visible, .actor-profile-bio-more summary:focus-visible, .actor-profile-links-more summary:focus-visible { outline: 2px solid var(--accent, #e11d48); outline-offset: 3px; }
.actor-profile-external-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: 0; font-size: 12px; font-weight: 700; line-height: 1.4; }
.actor-profile-external-label > [aria-hidden] { flex: 0 0 auto; color: var(--muted, #6b7280); }
.actor-profile-external-domain { min-width: 0; color: var(--muted, #6b7280); font-size: 10px; font-weight: 400; line-height: 1.4; }
.actor-profile-source-note { margin: 0; padding: 12px clamp(22px, 3vw, 36px); border-top: 1px solid var(--border, #e5e7eb); color: var(--muted, #6b7280); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.actor-profile-sources { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px clamp(22px, 3vw, 36px); border-top: 1px solid var(--border, #e5e7eb); color: var(--muted, #6b7280); font-size: 11px; line-height: 1.7; }
.actor-profile-sources a { min-width: 0; max-width: 100%; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.actor-profile-source-date { margin-left: auto; }
#actor-videos { scroll-margin-top: 85px; }

/* Optional directory wrapper; existing card links and pagination remain native. */
.actor-directory .section-heading { margin-bottom: 22px; }
.actor-directory-intro { margin: 0 0 24px; color: var(--muted, #6b7280); font-size: 14px; }
.actor-filter-form { margin: 0 0 22px; padding: 22px; border: 1px solid var(--border, #e5e7eb); border-radius: 16px; background: var(--surface, #fff); box-shadow: 0 8px 24px rgb(15 23 42 / 4%); }
.actor-filter-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; align-items: end; gap: 16px; }
.actor-filter-form label { display: grid; min-width: 0; gap: 8px; color: var(--text, #1f2937); font-size: 12px; font-weight: 650; }
.actor-filter-form input, .actor-filter-form select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; border: 1px solid var(--border, #e5e7eb); border-radius: 9px; background: #f8fafc; color: var(--text, #1f2937); font-size: 14px; font-weight: 400; }
.actor-filter-fields { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.actor-filter-advanced { margin-top: 18px; }
.actor-filter-advanced > summary { display: none; }
.actor-filter-advanced .actor-filter-fields { margin-top: 0; }
.actor-filter-actions { display: flex; align-items: center; gap: 8px; }
.actor-filter-actions button, .actor-filter-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 16px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 700; line-height: 1.4; text-align: center; white-space: nowrap; }
.actor-filter-actions button { background: var(--accent, #e11d48); color: #fff; }
.actor-filter-actions button:hover { background: var(--accent-dark, #be123c); }
.actor-filter-actions a { border-color: var(--border, #e5e7eb); background: #fff; color: var(--muted, #6b7280); }
.actor-filter-actions a:hover { border-color: var(--accent, #e11d48); color: var(--accent-dark, #be123c); }
.actor-filter-help { margin: 15px 0 0; color: var(--muted, #6b7280); font-size: 11px; line-height: 1.7; }
.actor-directory-tools { margin: 0 0 20px; scroll-margin-top: 85px; }
.actor-directory-sorts { gap: 8px; }
.actor-directory-sorts a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 15px; }
.actor-directory-sorts a[aria-current="true"] { border-color: #fecdd3; background: #fff1f2; color: var(--accent-dark, #be123c); }
.actor-directory-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 22px; margin-top: 13px; }
.actor-directory-range, .actor-directory-sort-help { margin: 0; font-size: 12px; line-height: 1.6; }
.actor-directory-range { flex: 0 0 auto; color: var(--text, #1f2937); font-weight: 650; }
.actor-directory-sort-help { color: var(--muted, #6b7280); text-align: right; }
.actor-filter-form :is(input, select, button, a):focus-visible, .actor-directory-sorts a:focus-visible { outline: 2px solid var(--accent, #e11d48); outline-offset: 3px; }
.actor-filter-advanced > summary:focus-visible { outline: 2px solid var(--accent, #e11d48); outline-offset: 3px; }
.actor-directory .actor-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 16px; }
.actor-directory .term-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; box-shadow: 0 3px 12px rgb(15 23 42 / 4%); }
.actor-directory .term-card:hover { border-color: #cbd0d9; box-shadow: 0 8px 20px rgb(15 23 42 / 7%); }
.actor-directory .term-image { flex: 0 0 auto; background: #eef0f4; }
.actor-directory .term-card h2 { padding: 13px 13px 5px; font-size: 14px; }
.actor-directory .term-count { margin-top: auto; padding: 0 13px 14px; color: var(--muted, #6b7280); font-size: 12px; }
.actor-directory .actor-card-initials { display: grid; place-items: center; background: linear-gradient(145deg, #f1f3f7, #e6eaf0); color: #8792a3; }
.actor-card-initials > span { font-size: clamp(34px, 5vw, 54px); font-weight: 750; letter-spacing: -.05em; }
.actor-directory .actor-card-link { display: flex; justify-content: space-between; align-items: center; padding: 10px 13px; border-top: 1px solid var(--border, #e5e7eb); color: var(--accent-dark, #be123c); font-size: 11px; font-weight: 700; }

@media (max-width: 950px) {
  .actor-filter-top { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .actor-filter-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .actor-filter-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .actor-directory .actor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .actor-profile-hero { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; }
  .actor-profile-stat { min-width: 90px; padding-inline: 18px; }
  .actor-profile-information { grid-template-columns: 1fr; gap: 25px; }
  .actor-profile-connections { grid-template-columns: 1fr; }
  .actor-profile-facts dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .actor-filter-form { padding: 17px; }
  .actor-filter-top { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .actor-filter-form input, .actor-filter-form select { font-size: 16px; }
  .actor-filter-actions > * { flex: 1 1 0; }
  .actor-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; }
  .actor-filter-fields > label:last-child { grid-column: 1 / -1; }
  .actor-filter-advanced { padding-top: 5px; border-top: 1px solid var(--border, #e5e7eb); }
  .actor-filter-advanced > summary { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; min-height: 44px; color: var(--text, #1f2937); font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
  .actor-filter-advanced > summary::-webkit-details-marker { display: none; }
  .actor-filter-advanced > summary::after { content: "+"; margin-left: auto; font-size: 21px; line-height: 1; }
  .actor-filter-advanced[open] > summary::after { content: "−"; }
  .actor-filter-active-count { color: var(--muted, #6b7280); font-size: 11px; font-weight: 400; }
  .actor-filter-advanced[open] .actor-filter-fields { margin-top: 12px; }
  .actor-directory-sorts { display: none; }
  .actor-directory-tools { scroll-margin-top: 20px; }
  .actor-directory-summary { display: grid; gap: 5px; margin-top: 0; }
  .actor-directory-sort-help { text-align: left; }
  .actor-profile-hero { grid-template-columns: 120px minmax(0, 1fr); gap: 0 18px; align-items: start; padding: 22px; }
  .actor-profile-photo { grid-column: 1; grid-row: 1 / span 3; }
  .actor-profile-overview { display: contents; }
  .actor-profile-kicker { grid-column: 2; grid-row: 1; margin-bottom: 7px; font-size: 10px; }
  .actor-profile h1 { grid-column: 2; grid-row: 2; font-size: 30px; }
  .actor-profile-subtitle { grid-column: 2; grid-row: 3; margin-top: 8px; font-size: 12px; }
  .actor-profile-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 18px; }
  .actor-profile-stat { min-width: 0; padding: 0; border: 0; }
  .actor-profile-stat dd { font-size: 23px; }
  .actor-profile-stat dt { max-width: 110px; margin-top: 3px; font-size: 10px; }
  .actor-profile-watch { grid-column: 1 / -1; justify-self: start; min-height: 42px; padding: 10px 14px; font-size: 12px; }
  .actor-profile-information { padding: 22px; }
  .actor-profile-connections { padding: 22px; }
  .actor-profile-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #actor-videos { scroll-margin-top: 20px; }
  .actor-directory .actor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
}
@media (max-width: 480px) {
  .actor-breadcrumb { margin-bottom: 12px; font-size: 11px; }
  .actor-profile { border-radius: 13px; }
  .actor-profile-hero { grid-template-columns: 92px minmax(0, 1fr); gap: 0 16px; padding: 20px 17px; }
  .actor-profile-photo { border-radius: 9px; }
  .actor-profile-initial { font-size: 37px; }
  .actor-profile h1 { font-size: 27px; }
  .actor-profile-subtitle { font-size: 11px; }
  .actor-profile-stats { gap: 13px 10px; }
  .actor-profile-stat dd { font-size: 21px; }
  .actor-profile-stat time { font-size: .75em; }
  .actor-profile-information { padding: 21px 17px; }
  .actor-profile-sources { padding-inline: 17px; }
  .actor-profile-source-note, .actor-profile-connections { padding-inline: 17px; }
  .actor-profile-link-list { gap: 8px; }
  .actor-profile-link-list li { flex: 1 1 130px; }
  .actor-profile-source-date { width: 100%; margin-left: 0; }
  .actor-profile-facts dl { gap: 16px 22px; }
  .actor-profile-facts dd { font-size: 12px; }
  .actor-directory .actor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 11px; }
}
@media (max-width: 360px) {
  .actor-profile-hero { grid-template-columns: 75px minmax(0, 1fr); gap: 0 13px; padding-inline: 14px; }
  .actor-profile h1 { font-size: 24px; }
  .actor-profile-information { padding-inline: 14px; }
  .actor-profile-connections { padding-inline: 14px; }
}
