/* REPPTRADE Admin v4.4.44 — still portrait across header + scrolling actor profiles.
   Shared visual treatment for Library Cast Index and Master Catalogue Cast Members.
   No change to Show, Role, recording detail, or other modal surfaces. */

/* Requested tonal treatment: almost-unblurred photo, top/bottom shadow accents. */
body #rc440Overlay .rc440-window.rc443-actor-stationary::before,
body #repp4433Details .repp4433-dialog.repp4444-catalogue-actor::before{
  background-image:
    linear-gradient(177deg,rgba(9,22,37,.95) 0%,rgba(9,22,37,.70) 48%,rgba(9,22,37,.86) 100%),
    var(--rc443-actor-image,none);
  background-size:cover,cover;
  background-position:center,center 25%;
  background-repeat:no-repeat;
  filter:blur(0px)!important;
  opacity:.85;
  pointer-events:none;
}

/* Make the Include Master Catalogue roles control match its contents. */
#rc440Overlay .rc440-window.rc443-actor-stationary .rc447-catalogue-control{
  display:inline-flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  align-self:flex-start!important;
  width:max-content!important;
  max-width:100%!important;
  margin:14px 0 16px!important;
  padding:12px 17px!important;
  gap:0!important;
  box-sizing:border-box;
  background:#122236!important;
  border:1px solid #3c5874!important;
}
#rc440Overlay .rc440-window.rc443-actor-stationary .rc447-catalogue-control .rc447-master-toggle{
  display:inline-flex!important;align-items:center!important;gap:11px!important;
  white-space:normal;min-width:0;
  color:#f3f8ff!important;-webkit-text-fill-color:#f3f8ff!important;
}
/* Guard legacy data/templates that still supply the now-removed hint. */
#rc440Overlay .rc440-window.rc443-actor-stationary .rc447-catalogue-control>p{display:none!important}

/* The dedicated Master Catalogue's actor overview and Edit Profile use their
   own dialog. Make its portrait stationary behind both fixed header and body. */
body #repp4433Details .repp4433-dialog.repp4444-catalogue-actor{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden;
  background:#010914!important;
  border:1px solid #30ffec!important;
  color:#e9f4ff!important;
}
body #repp4433Details .repp4433-dialog.repp4444-catalogue-actor::before{
  content:"";
  position:absolute;
  inset:-2px;
  z-index:0;
}
body #repp4433Details .repp4433-dialog.repp4444-catalogue-actor>header{
  position:relative;
  z-index:1;
  background:rgba(1,9,20,.42)!important;
  border-bottom-color:#30ffec!important;
}
body #repp4433Details .repp4433-dialog.repp4444-catalogue-actor>.repp4433-detail-body{
  position:relative;
  z-index:1;
  background:transparent!important;
  background-image:none!important;
  color:#e9f4ff!important;
}
body #repp4433Details .repp4433-dialog.repp4444-catalogue-actor .repp4436-profile-heading,
body #repp4433Details .repp4433-dialog.repp4444-catalogue-actor .repp4436-profile-section-title{
  border-color:#39546e!important;
}
@media(max-width:520px){
  #rc440Overlay .rc440-window.rc443-actor-stationary .rc447-catalogue-control{padding:10px 12px!important}
}
