/* Last-in-chain actor profile reset.
   This file is loaded after actors.css so legacy green surfaces cannot win. */
.sl-actor-page {
  --actor-green: #777b80 !important;
  --actor-accent: #777b80 !important;
  --actor-ink: #242628 !important;
  --actor-muted: #697078 !important;
  --actor-line: #d7d9db !important;
  --actor-milk: #f4f4f2 !important;
  background: #f4f4f2 !important;
  background-image: none !important;
  color: #242628 !important;
}

.sl-actor-page .sl-actor-section,
.sl-actor-page .sl-profile-shell,
.sl-actor-page .sl-profile-showcases,
.sl-actor-page .sl-profile-discovery,
.sl-actor-page .sl-profile-showcase,
.sl-actor-page .sl-profile-career-chart,
.sl-actor-page .sl-profile-statistics,
.sl-actor-page .sl-profile-facts,
.sl-actor-page .sl-profile-faq,
.sl-actor-page .sl-profile-genres,
.sl-actor-page .sl-profile-cast {
  background: #f4f4f2 !important;
  background-image: none !important;
  border-color: #d7d9db !important;
  box-shadow: none !important;
}

.sl-actor-page .sl-profile-showcase-card,
.sl-actor-page .sl-profile-showcase-card--catalog,
.sl-actor-page .sl-profile-year,
.sl-actor-page .sl-profile-statistics__item,
.sl-actor-page .sl-profile-faq__item,
.sl-actor-page .sl-profile-genres__list a,
.sl-actor-page .sl-profile-cast__item {
  background: #ffffff !important;
  background-image: none !important;
  border-color: #d7d9db !important;
  color: #242628 !important;
}

.sl-actor-page .th-info-badge,
.sl-actor-page .th-hover-chip,
.sl-actor-page .th-hover-chip--rate,
.sl-actor-page .th-series {
  background: #eceeef !important;
  background-image: none !important;
  border-color: #cfd3d6 !important;
  box-shadow: none !important;
  color: #3f454a !important;
  text-shadow: none !important;
}

.sl-actor-page a,
.sl-actor-page .sl-profile-work,
.sl-actor-page .sl-profile-genres__list a:hover,
.sl-actor-page .sl-profile-quick-nav__list a:hover {
  color: #4f5961 !important;
}

.sl-actor-page .sl-profile-showcase-card:hover,
.sl-actor-page .sl-profile-year:hover,
.sl-actor-page .sl-profile-cast__item:hover,
.sl-actor-page .sl-profile-quick-nav__list a:hover {
  background: #eef0f1 !important;
  border-color: #aeb4b9 !important;
  box-shadow: none !important;
}

html.sl-admin-dark .sl-actor-page {
  --actor-green: #969696 !important;
  --actor-accent: #969696 !important;
  --actor-ink: #f0f0f0 !important;
  --actor-muted: #a6a6a6 !important;
  --actor-line: #353535 !important;
  --actor-milk: #1d1d1d !important;
  background: #1d1d1d !important;
  background-image: none !important;
  color: #f0f0f0 !important;
}

html.sl-admin-dark .sl-actor-page .sl-actor-section,
html.sl-admin-dark .sl-actor-page .sl-profile-shell,
html.sl-admin-dark .sl-actor-page .sl-profile-showcases,
html.sl-admin-dark .sl-actor-page .sl-profile-discovery {
  background: #1d1d1d !important;
  background-image: none !important;
  box-shadow: none !important;
}

html.sl-admin-dark .sl-actor-page .sl-profile-showcase,
html.sl-admin-dark .sl-actor-page .sl-profile-career-chart,
html.sl-admin-dark .sl-actor-page .sl-profile-statistics,
html.sl-admin-dark .sl-actor-page .sl-profile-facts,
html.sl-admin-dark .sl-actor-page .sl-profile-faq,
html.sl-admin-dark .sl-actor-page .sl-profile-genres,
html.sl-admin-dark .sl-actor-page .sl-profile-cast {
  background: #1d1d1d !important;
  background-image: none !important;
  border-color: #353535 !important;
  box-shadow: none !important;
  color: #f0f0f0 !important;
}

html.sl-admin-dark .sl-actor-page .sl-profile-showcase-card,
html.sl-admin-dark .sl-actor-page .sl-profile-showcase-card--catalog,
html.sl-admin-dark .sl-actor-page .sl-profile-year,
html.sl-admin-dark .sl-actor-page .sl-profile-statistics__item,
html.sl-admin-dark .sl-actor-page .sl-profile-faq__item,
html.sl-admin-dark .sl-actor-page .sl-profile-genres__list a,
html.sl-admin-dark .sl-actor-page .sl-profile-cast__item {
  background: #1e1e1e !important;
  background-image: none !important;
  border-color: #353535 !important;
  color: #f0f0f0 !important;
}

html.sl-admin-dark .sl-actor-page .th-info-badge,
html.sl-admin-dark .sl-actor-page .th-hover-chip,
html.sl-admin-dark .sl-actor-page .th-hover-chip--rate,
html.sl-admin-dark .sl-actor-page .th-series {
  background: #2a2a2a !important;
  background-image: none !important;
  border-color: #4a4a4a !important;
  box-shadow: none !important;
  color: #eeeeee !important;
  text-shadow: none !important;
}

html.sl-admin-dark .sl-actor-page a,
html.sl-admin-dark .sl-actor-page .sl-profile-work,
html.sl-admin-dark .sl-actor-page .sl-profile-genres__list a:hover,
html.sl-admin-dark .sl-actor-page .sl-profile-quick-nav__list a:hover {
  color: #d0d0d0 !important;
}

html.sl-admin-dark .sl-actor-page .sl-profile-showcase-card:hover,
html.sl-admin-dark .sl-actor-page .sl-profile-year:hover,
html.sl-admin-dark .sl-actor-page .sl-profile-cast__item:hover,
html.sl-admin-dark .sl-actor-page .sl-profile-quick-nav__list a:hover {
  background: #242424 !important;
  border-color: #626262 !important;
  box-shadow: none !important;
}

/* Quick navigation exists on every generated actor profile, including legacy
   static pages whose outer wrapper can differ from the current template. */
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-actor-section,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-showcases,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-discovery,
html.sl-admin-dark .sl-profile-quick-nav {
  background: #1d1d1d !important;
  background-color: #1d1d1d !important;
  background-image: none !important;
  border-color: #2d2d2d !important;
  box-shadow: none !important;
  color: #eeeeee !important;
}

html.sl-admin-dark .sl-profile-quick-nav::before,
html.sl-admin-dark .sl-profile-quick-nav::after,
html.sl-admin-dark .sl-profile-quick-nav__list::before,
html.sl-admin-dark .sl-profile-quick-nav__list::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-quick-nav .sl-profile-quick-nav__label {
  background: transparent !important;
  color: #a8a8a8 !important;
}

html.sl-admin-dark .sl-profile-quick-nav__list {
  background: transparent !important;
  background-image: none !important;
}

html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-quick-nav .sl-profile-quick-nav__list a {
  border-color: #3a3a3a !important;
  background: #1d1d1d !important;
  background-color: #1d1d1d !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #eeeeee !important;
}

html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-quick-nav .sl-profile-quick-nav__list a:hover,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-quick-nav .sl-profile-quick-nav__list a:focus-visible {
  border-color: #5a5a5a !important;
  background: #272727 !important;
  background-color: #272727 !important;
  color: #ffffff !important;
}

html.sl-admin-dark body:has(.sl-profile-quick-nav),
html.sl-admin-dark body:has(.sl-profile-quick-nav) .wrap-main,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .content,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .main,
html.sl-admin-dark body:has(.sl-profile-quick-nav) #in-full,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-actor-page,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-shell,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-showcase,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-career-chart,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-statistics,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-facts,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-faq,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-genres,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast {
  background: #1d1d1d !important;
  background-color: #1d1d1d !important;
  background-image: none !important;
}

html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-showcase-card .th-hover-card,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-showcase-card .th-hover-chip,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-showcase-card .th-hover-chip--rate {
  display: none !important;
}

html.sl-admin-dark body:has(#in-full .sl-profile-quick-nav) .wrap-main,
html.sl-admin-dark body:has(#in-full .sl-profile-quick-nav) .content:has(#in-full .sl-profile-quick-nav),
html.sl-admin-dark body:has(#in-full .sl-profile-quick-nav) .main:has(#in-full .sl-profile-quick-nav),
html.sl-admin-dark body:has(#in-full .sl-profile-quick-nav) #in-full:has(.sl-profile-quick-nav),
html.sl-admin-dark body:has(#in-full .sl-profile-quick-nav) #in-full .sl-actor-page {
  background: #1d1d1d !important;
  background-color: #1d1d1d !important;
  background-image: none !important;
}

/* Final neutral treatment for the two profile navigation surfaces. */
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-quick-nav,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-quick-nav__list,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__list {
  background: #1d1d1d !important;
  background-color: #1d1d1d !important;
  background-image: none !important;
  border-color: #353535 !important;
  box-shadow: none !important;
}

html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-quick-nav__label,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__lead,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__copy,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__copy strong,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__copy span,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__copy small {
  background: transparent !important;
  background-image: none !important;
  color: #d8d8d8 !important;
  text-shadow: none !important;
}

html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__item,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__item:hover,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__item:focus-visible {
  background: #1d1d1d !important;
  background-color: #1d1d1d !important;
  background-image: none !important;
  border-color: #353535 !important;
  box-shadow: none !important;
  color: #eeeeee !important;
}

html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__avatar,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__avatar::before,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__avatar::after {
  background-color: #252525 !important;
  background-image: none !important;
  border-color: #4a4a4a !important;
  box-shadow: none !important;
}

html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-quick-nav::before,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-quick-nav::after,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast::before,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast::after,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__list::before,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__list::after,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__item::before,
html.sl-admin-dark body:has(.sl-profile-quick-nav) .sl-profile-cast__item::after {
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Actor showcases contain only the poster, year and title. */
.sl-actor-page .sl-profile-showcase-card .th-rates,
.sl-actor-page .sl-profile-showcase-card .th-rate,
.sl-actor-page .sl-profile-showcase-card .th-rate-kp,
.sl-actor-page .sl-profile-showcase-card .th-rate-imdb,
.sl-actor-page .sl-profile-showcase-card .th-info-badge,
.sl-actor-page .sl-profile-showcase-card .th-hover-card,
.sl-actor-page .sl-profile-showcase-card .th-hover-chip,
.sl-actor-page .sl-profile-showcase-card .th-hover-chip--rate,
.sl-actor-page .sl-profile-showcase-card .th-series {
  display: none !important;
  visibility: hidden !important;
}

.sl-actor-page .sl-profile-showcase-card::after {
  content: attr(data-actor-year);
  position: absolute;
  z-index: 4;
  top: 9px;
  left: 10px;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .92);
}
